ChangeLog 1.4 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184
  1. 2009-08-24 Carlos Alberto Cortez <[email protected]>
  2. * DataGridTextBoxColumn.cs:
  3. * DataGrid.cs: Moving the cell to the add row (the last one) should
  4. not immediately add a new row - this should happen until the very
  5. first change happens in that textbox.
  6. Fixes part of #322974.
  7. 2009-08-19 Carlos Alberto Cortez <[email protected]>
  8. * ToolStripDropDown.cs: When assigning the owner item, use its Font as
  9. well.
  10. 2009-08-17 Carlos Alberto Cortez <[email protected]>
  11. * ToolStripItem.cs: When the owner changes its Font, call the
  12. OnFontChanged event, so we let our users know that we likely have a
  13. new font - since Font is an ambient property.
  14. * ToolStripDropDownItem.cs: When our Font changes, propagate that
  15. information to our DropDown control, if any.
  16. Fixes #531515.
  17. 2009-08-17 Carlos Alberto Cortez <[email protected]>
  18. * DataGrid.cs:
  19. * ThemeWin32Classic.cs: When the user clicks on a new cell, we should reset any
  20. previous selection, just like .net does. Also, in the cases where a
  21. cell is being edited and it keeps the selected status, use the normal
  22. colors for it, and use the selected colors for the rest of the columns of
  23. that row.
  24. Fixes the remaining bits of #323051.
  25. 2009-08-16 Carlos Alberto Cortez <[email protected]>
  26. * DataGrid.cs: When getting ProcessKeyPreview fired, call Edit() if we
  27. are not editing already - so the edition is actually active on our
  28. column style textbox. Also, it seems the code handling process the
  29. grid keys is repeated, but instead of removing it, just comment it for
  30. now.
  31. Fixes part of #323051.
  32. 2009-08-13 Carlos Alberto Cortez <[email protected]>
  33. * AsyncMethodResult.cs: Store a exception field in case the called
  34. method actually caused an exception. This way we can throw it later.
  35. * XplatUIDriver.cs: Check if the async method result has an exception
  36. - throw it if needed.
  37. The idea is that Control.Invoke throws the exception from the thread
  38. that called it, not the main MWF thread.
  39. Patch by Tom Spink <[email protected]>. Fixes #497175.
  40. 2009-08-12 Carlos Alberto Cortez <[email protected]>
  41. * DataGrid.cs: In mouse move we need to shift the selection in case
  42. the pointer is on the row headers.
  43. Fixes #323052.
  44. 2009-08-11 Ivan N. Zlatev <[email protected]>
  45. * SplitContainer.cs: Avoid updating the splitter distance if it hasn't
  46. moved. Updating the distance was causing a re-layout which was resetting
  47. the clicks counter and preventing DoubleClick from every firing.
  48. [Fixes bug #521387]
  49. 2009-08-11 Carlos Alberto Cortez <[email protected]>
  50. * DataGrid.cs: When a new TableStyle is added, don't create new
  51. columns for it unless it is empty - this is the correct way to both
  52. respect the columns if they were provided by our user, or create them
  53. for him in case the column collection is empty.
  54. Fixes #323111.
  55. 2009-08-10 Carlos Alberto Cortez <[email protected]>
  56. * DataGrid.cs: Actually call BindColumns in the handler for
  57. ListManager.MetaDataChanged, since the current code is already taking
  58. into account the scenario when a custom table style is used - this was
  59. confusing us before, and that's why we commented the call to
  60. BindColumns. Also call CallAreasAndInvalidate, to properly reflect the
  61. changes as needed.
  62. Fixes #465021.
  63. 2009-08-10 Carlos Alberto Cortez <[email protected]>
  64. * DataGrid.cs: When setting the data source, if we have a user
  65. provided table style available, force a complete bind in case the
  66. column styles for that table style is empty.
  67. 2009-08-09 Ivan N. Zlatev <[email protected]>
  68. * DataGridViewCell.cs: Handle null and DBNull values.
  69. 2009-08-07 Rodrigo Kumpera <[email protected]>
  70. * ListBindingHelper.cs: Fix the 1.0 build by making this type available
  71. under that profile.
  72. 2009-08-07 Ivan N. Zlatev <[email protected]>
  73. * CurrencyManager.cs: Remove duplicate code.
  74. 2009-08-07 Ivan N. Zlatev <[email protected]>
  75. * DataGridView.cs, DataGridViewCell.cs, DataGridViewColumn.cs:
  76. Massive population performance boost. From seconds to ms.
  77. [Fixes bug #528887]
  78. 2009-08-04 Carlos Alberto Cortez <[email protected]>
  79. * DataGrid.cs: When handling mouse down on a column, don't do any sort
  80. even if the list supports it if we are empty. This way we avoid an exc
  81. sorting the empty list, and keep the UI compatible with .net.
  82. 2009-08-04 Carlos Alberto Cortez <[email protected]>
  83. * DataGrid.cs: In Edit () check we have any row before trying to use
  84. the current row. Fixes a IOOR exc with an empty data grid.
  85. 2009-08-03 Carlos Alberto Cortez <[email protected]>
  86. * DataGridColumnStyle.cs: Don't call CheckValidDataSource when setting
  87. the owner DataGrid - even if this seems to be the right thing to do,
  88. .net is not doind this check at this point, but in later operations.
  89. Fixes #465019.
  90. 2009-07-28 Mike Gorse <[email protected]>
  91. * ToolStripMenuItem.cs: Added UIA CheckOnClickChanged event.
  92. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  93. * Application.cs: Make FilterMessage internal for 1.1. Fixes the 1.1 build.
  94. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  95. * XplatUIX11.cs:
  96. * XplatUIWin32.cs: We need to filter the messages using
  97. Application.FilterMessage for our DoEvents implementations. Observe
  98. that I don't like the idea of XplatUI call the upper level Application
  99. class, but at this point is easier and simpler to do this call - based
  100. on the fact it's only one simple call.
  101. Fixes #516735.
  102. 2009-07-28 Carlos Alberto Cortez <[email protected]>
  103. * TreeNodeCollection.cs: When removing the selected node, set the
  104. SelectedNode value of TreeView to null if there aren't more nodes left -
  105. this is better than to clear the selected node in Clear, since we need
  106. to handle the situation in the Remove methods as well.
  107. Fixes #525002.
  108. 2009-07-24 Carlos Alberto Cortez <[email protected]>
  109. * ToolStripItemCollection.cs: Find should do a case insensitive
  110. search, and should throw an ArgumentNullException if the parameter is
  111. an empty string.
  112. 2009-07-23 Carlos Alberto Cortez <[email protected]>
  113. * PropertyGrid.cs: Use click handlers for each ToolStripButton instead
  114. of using a global handler for the ToolStrip. This way the buttons can
  115. be recovered and can have its PerformClick method called properly.
  116. Fixes #522454.
  117. 2009-07-20 Carlos Alberto Cortez <[email protected]>
  118. * X11Dnd.cs: Implement support for XdndActionList, so we can get the
  119. complete list of the supported actions in the drag source, and use the
  120. action passed in the Position message only as a fallback. This will
  121. help us with dnd operations with non winforms apps.
  122. Fixes #402158.
  123. 2009-07-20 Carlos Alberto Cortez <[email protected]>
  124. * ToolStripItemCollection.cs: Use a List<> instead of an ArrayList in
  125. Find. This should fix the exception we were getting when trying to
  126. convert the ArrayList to an array of objects (since we were losing the
  127. type parameter).
  128. Fixes #519944.
  129. 2009-07-17 Carlos Alberto Cortez <[email protected]>
  130. * RadioButton.cs: Setting Checked when none of the sibligs is checked
  131. should happen *not* in GotFocus, but in the Enter event. This is
  132. specially important since we should get that Checked behaviour even if
  133. no handle is created yet - and thus, no actual GotFocus call happens at
  134. the time.
  135. Fixes #520764.
  136. 2009-07-16 Carlos Alberto Cortez <[email protected]>
  137. * ComboBox.cs: Adjust manually the top border for out internal
  138. ComboBox, since removing the border from it leaves it without any
  139. margin. This is not noticeable in a default ComboBox, but it is in an
  140. instance shown on top of ToolStrip.
  141. Fixes the remaining part of #507462.
  142. 2009-07-13 Carlos Alberto Cortez <[email protected]>
  143. * TextBoxBase.cs: Expose the margin top width as a property, to keep
  144. the code clean.
  145. * ToolStripTextBox.cs: Since we are actually using no border in the
  146. default TextBox impl, and we are drawing the border ourselves, we need
  147. to manually set the top margin.
  148. Fixes part of #507462.
  149. 2009-07-06 Carlos Alberto Cortez <[email protected]>
  150. * PrintPreviewDialog.cs: Record when left was pressed, so we can
  151. simulate Tab+Alt when moving the focus throughout our buttons and
  152. controls.
  153. Fixes the remaining bits of #509142.
  154. 2009-07-05 Carlos Alberto Cortez <[email protected]>
  155. * TabControl.cs: When computing the width of each tab page, use the
  156. page's Font instead of the tab control one.
  157. Fixes #514368.
  158. 2009-07-03 Carlos Alberto Cortez <[email protected]>
  159. * MenuAPI.cs: When handling the Keys.Left key, don't close the menu if
  160. the current menu is specifically a ContextMenu (this is what .net does
  161. as well). This way we also avoid a crash caused by MenuTracker trying
  162. to use the menu when it was already hidden.
  163. 2009-07-03 Carlos Alberto Cortez <[email protected]>
  164. * PrintPreviewDialog.cs: Remove the code used to handle the
  165. DropDown menu, since we are now doing it by default in ToolBar, and
  166. just call the base impl as needed.Also, deactivate the dropdown menu
  167. before moving the focus to a different button in our toolbar, as .net
  168. does.
  169. * ContextMenu.cs:
  170. * MenuAPI.cs: Make as internal the needed bits to deactivate a
  171. ContextMenu, and also to keep some beauty in our api.
  172. 2009-07-02 Carlos Alberto Cortez <[email protected]>
  173. * ToolBar.cs: When handling the key down message, if we are on a
  174. drop down button, either show the DropDownMenu or pass the key to its
  175. ProcessCmdKey method as needed.
  176. Fixes the remaining bits of #509985.
  177. 2009-06-29 Carlos Alberto Cortez <[email protected]>
  178. * ToolBar.cs: Isolate the event logic related to OnButtonClick. Also
  179. set current_item when navigating with the keyboard, so we can use it
  180. properly later. Finally, handle both Enter and Space to fire
  181. OnButtonClick *only*, without any other impact, as .net does.
  182. Fixes part of #509985.
  183. 2009-06-29 Carlos Alberto Cortez <[email protected]>
  184. * MenuAPI.cs: Close any active menu when we get a simple Alt.
  185. Fixes #509299.
  186. 2009-06-26 Carlos Alberto Cortez <[email protected]>
  187. * ToolBar.cs: In OnButtonClick only change the Pushed value for
  188. buttons with toogle style. We were previously doing it for
  189. DropDownButton's buttons, but that's not what .net is doing.
  190. Fixes #510030.
  191. 2009-06-26 Atsushi Enomoto <[email protected]>
  192. * XplatUICarbon.cs : support multi-byte text input.
  193. Fixed bug #501276.
  194. 2009-06-22 Carlos Alberto Cortez <[email protected]>
  195. * ListBox.cs: When creating DrawItemEventArgs, pass either
  196. Theme.ColorHighlightText or ForeColor depending on the selected state
  197. of our item, as .net does.
  198. Fixes #512115.
  199. 2009-06-22 Carlos Alberto Cortez <[email protected]>
  200. * ComboBox.cs: When handling WM_CHAR, process the message first, and
  201. send it to the textbox only if it wasn't handled.
  202. Fixes #507459.
  203. 2009-06-18 Jonathan Pobst <[email protected]>
  204. * ComboBox.cs: Only do my big sort at the end of AddRange if
  205. the combobox is actually set to Sorted.
  206. 2009-06-18 Tom Hindle <[email protected]>
  207. * XplatUIX11.cs: Enabled Text to coexist with custom data formats.
  208. Fixes #511849.
  209. 2009-06-18 Carlos Alberto Cortez <[email protected]>
  210. * ListBox.cs: When calculating the scrollbars for non MultiColumn
  211. mode, force the use of the horizontal scrollbar only if
  212. ScrollAlwaysVisible is true as well.
  213. Fixes #513029.
  214. 2009-06-17 Jonathan Pobst <[email protected]>
  215. * ComboBox.cs: When using AddRange on a sorted combobox, don't
  216. try to use our inefficient sorted insert method, just append
  217. it and sort the whole thing at then end.
  218. [Fixes bug #511247]
  219. 2009-06-16 Carlos Alberto Cortez <[email protected]>
  220. * ToolBar.cs: Expose as internal the code used to show a dropdown menu.
  221. * PrintPreviewDialog.cs: Handle the down/up arrow keys for our
  222. DropDown element.
  223. Fixes #509152.
  224. 2009-06-16 Ivan N. Zlatev <[email protected]>
  225. * DataGridView.cs: Scrolling fixes.
  226. [Fixes bug #512816]
  227. 2009-06-16 Ivan N. Zlatev <[email protected]>
  228. * DataGridView.cs, DataGridViewRowCollection.cs: Clean up a bit and
  229. optimize for batch adding rows.
  230. 2009-06-16 Ivan N. Zlatev <[email protected]>
  231. * DataGridView.cs: Avoid calling ReBind twice during the initial data
  232. binding.
  233. [Fixes bug #512807]
  234. 2009-06-16 Ivan N. Zlatev <[email protected]>
  235. * DataGridView.cs: Suppress invalidation during data binding.
  236. [Fixes part of bug #512807]
  237. 2009-06-15 Carlos Alberto Cortez <[email protected]>
  238. * PrintPreviewDialog.cs: Tune the navigation among the buttons and
  239. controls that are part of our ToolBar, so we can mimic the behaviour
  240. observed in .Net, by handling also the arrow keys and doing the
  241. preprocess for them too.
  242. Fixes the remaining bits of #509142.
  243. 2009-06-12 Carlos Alberto Cortez <[email protected]>
  244. * ToolBar.cs: Expose the current item as internal.
  245. * PrintPreviewDialog.cs: Tune the TabStop property for
  246. PrintPreviewControl/ToolBar so we match the .net scenario regarding
  247. Tab navigation. Also implement support to navigate throughout the
  248. items in the ToolBar.
  249. Fixes #509142.
  250. 2009-06-09 Ivan N. Zlatev <[email protected]>
  251. * DataGridViewComboBoxCell.cs, DataGridViewComboBoxColumn.cs:
  252. Implement items syncing in the non-databound scenario.
  253. [Fixes bug #494031]
  254. 2009-06-09 Ivan N. Zlatev <[email protected]>
  255. * DataGridView.cs: Call OnCellValidating and OnCellValidated and
  256. handle the Cancel accordingly.
  257. [Fixes bug #506838]
  258. 2009-06-09 Ivan N. Zlatev <[email protected]>
  259. * DataGridViewBand.cs: Fix a typo in DefaultHeaderCellType.
  260. [Fixes bug #506796]
  261. 2009-06-09 Ivan N. Zlatev <[email protected]>
  262. * DataGridViewColumnCollection.cs, DataGridViewRowCollection.cs,
  263. DataGridView.cs: Fire CollectionChangeAction.Refresh collection
  264. changed when Clearing the collections so that the DataGridView
  265. can know and reset the current cell.
  266. [Fixes bug #492549]
  267. 2009-06-09 Ivan N. Zlatev <[email protected]>
  268. * BindingSource.cs: In ResetBindings use the ListChangedEventArgs ctor
  269. with the PropertyDescriptor parameter instead of index, because the
  270. latter will set some irelevant indices. Fixes a bug uncovered by recent
  271. fix to ListChangedEventArgs.
  272. 2009-06-09 Carlos Alberto Cortez <[email protected]>
  273. * DataObject.cs: When looking for any specific format, do a case
  274. insensitive search, as .net does.
  275. Fixes #509199.
  276. 2009-06-09 Ivan N. Zlatev <[email protected]>
  277. * CurrencyManager.cs: In AllowNew firstly check if the list is a
  278. IBindingList and proxy to AllowNew. IBindingList has slightly differet
  279. logic and eventhough it's an IList IsReadOnly should not be used in this
  280. case as it might be True but AllowNew could be True as well.
  281. Fixes a bug uncovered by a fix to the Array class.
  282. 2009-06-08 Carlos Alberto Cortez <[email protected]>
  283. * ListBindingHelper.cs: In GetListItemType do a null check when
  284. looking for IList.Item, since the impl could be explicit, and thus
  285. private. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
  286. Fixes the remaining part of #507120
  287. 2009-06-07 Carlos Alberto Cortez <[email protected]>
  288. * DataObject.cs: Map StringFormat/Text/UnicodeText formats properly,
  289. to match them in all the cases, as this is exactly what .net does.
  290. Fixes #510728.
  291. 2009-06-06 Carlos Alberto Cortez <[email protected]>
  292. * ListBindingHelper.cs: In GetListItemType handle gracefully the case
  293. where an instance of IEnumerator returns a null value for its Current
  294. property. Fix by Florent Fayolle (p.ricca at odyssee-ingenierie.com).
  295. Fixes #507120.
  296. 2009-06-05 Carlos Alberto Cortez <[email protected]>
  297. * ComboBox.cs: Properly detect whether we need to use our vertical
  298. scrollbar or not, specially for DropDownList/DropDown styles,
  299. depending on the value of DropDownHeight.
  300. Fixes #508541.
  301. 2009-06-01 Carlos Alberto Cortez <[email protected]>
  302. * ToolTip.cs: Call the base implementation in Dispose, but do it
  303. before anything else to avoid a regression. This way we do the default
  304. routines related to any System.ComponentModel.Container.
  305. Fixes #508586.
  306. 2009-06-01 Carlos Alberto Cortez <[email protected]>
  307. * Clipboard.cs:
  308. * XplatUIX11.cs:
  309. * DataFormats.cs: Implement support for serializable types in our
  310. clipboard.
  311. Fixes #357642.
  312. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  313. * ColorDialog.cs: Actually add the help button to the form, so it can
  314. be visible.
  315. Fixes #478555.
  316. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  317. * PrintPreviewDialog.cs: Don't use Dock.Fill for the
  318. PrintPreviewControl, since it will be hidden in the top by our
  319. toolbar. Use manual location and anchoring instead.
  320. Fixes #474889.
  321. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  322. * FileDialog.cs: When saving the size of the dialog, use the
  323. ClientSize instead of Size, so we have always the same size for the
  324. form. Patch by Alex Shulgin.
  325. Fixes #503064.
  326. 2009-05-25 Carlos Alberto Cortez <[email protected]>
  327. * MessageBox.cs: When showing the dialog call XplatUI.AudibleAlert to
  328. show a beep, similar to what .net does.
  329. Fixes #473725.
  330. 2009-05-23 Carlos Alberto Cortez <[email protected]>
  331. * ContainerControl.cs:
  332. * MenuStrip.cs
  333. * ToolStrip.cs: Implicit mnemonic processing should happen for every
  334. ToolStrip child, not only for MenuStrip, so we are going to do that in
  335. ToolStrip.ProcessMnemonic, where we already had that exactly
  336. functionality, but we are only just checking that either this instance
  337. is a ToolStripDropDownMenu instance or Alt has been pressed. Finally
  338. remove the extra code, since we are not going to use it now.
  339. Fixes the remaining bits of #503663.
  340. 2009-05-21 Neville Gao <[email protected]>
  341. * ContextMenu.cs: Cleaned up UIA properties.
  342. 2009-05-20 Dick Porter <[email protected]>
  343. * XplatUICarbon.cs: Add more locking around MessageQueue
  344. manipulations.
  345. 2009-05-18 Carlos Alberto Cortez <[email protected]>
  346. * DateTimePicker.cs: Call Focus in HideMonthCalendar to avoid
  347. duplication of code, as well as actually getting the focus back in
  348. *any* scenario where the drop down is closed.
  349. 2009-05-18 Tom Hindle <[email protected]>
  350. * ScrollableControl.cs: Ignore setting properties HScroll and
  351. VScroll when AutoScroll is true.
  352. [Fixes bug #500213]
  353. 2009-05-18 Jonathan Pobst <[email protected]>
  354. * ToolStripRenderer.cs: Apply patch from Thomas Goldstein to make
  355. disabled graphics look closer to the ones that .Net produces.
  356. [Fixes bug #473660]
  357. 2009-05-18 Carlos Alberto Cortez <[email protected]>
  358. * DateTimePicker.cs: When calculating the max width for the year part,
  359. use the current value, since *all* the possible values are exactly a 4
  360. digits number. This way we avoid a ArgumentOutOfRangeException trying
  361. to check against different values.
  362. Fixes #500917.
  363. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  364. * MessageBox.cs: When handling ProcessDialogChar, check that
  365. CancelButton is not null before trying to use it, to avoid a null ref
  366. exception. We don't need to do that on the ok/yes buttons, since they
  367. always exist.
  368. Fixes #503935.
  369. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  370. * ListBox.cs: Handle the key down event in WndProc instead of doing it
  371. in an event handler, as we need to avoid any operation in case
  372. the user has handled it in its own OnKeyDown handler, and this can't
  373. be achieved since our handler would be the first one always.
  374. * FontDialog.cs: Update the calls since our method handling key down
  375. has been renamed.
  376. Fixes #503469.
  377. 2009-05-15 Carlos Alberto Cortez <[email protected]>
  378. * Application.cs: We should dismiss the active ToolStrip when we
  379. receive a WM_SYSKEYDOWN message, instead of WM_SYSKEYUP, so the next
  380. keyboard short cut can be properly processed by another menu item.
  381. Fixes part of #503663.
  382. 2009-05-13 Andreia Gaita <[email protected]>
  383. * HtmlDocument.cs: If the objects are strings, wrap them in ""
  384. 2009-05-13 Andreia Gaita <[email protected]>
  385. * HtmlDocument.cs: Fix InvokeScript call (duh).
  386. 2009-05-11 Carlos Alberto Cortez <[email protected]>
  387. * TextBox.cs: Expose IsAutoCompleteAvailable as internal.
  388. * ComboBox.cs: If auto complete is being used, it is needed to update
  389. the actual value of the combo box, doing it immediately if the user
  390. presses Enter, or doing it when our combo box loses focus. Finally,
  391. when handling Enter and Escape keys for the combobox, don't try to
  392. hide the listbox if it is not visible in the first place.
  393. Fixes part of #489339.
  394. 2009-05-11 Carlos Alberto Cortez <[email protected]>
  395. * ToolStripDropDownMenu.cs: Use the height returned by
  396. ToolStripItem.GetPreferredHeight to calculate our own height.
  397. 2009-05-10 Carlos Alberto Cortez <[email protected]>
  398. * TreeNode.cs: When setting Checked, do a double null check, since the
  399. current node can still get a null parent handling
  400. TreeView.OnAfterCheck.
  401. Fixes #502567.
  402. 2009-05-10 Carlos Alberto Cortez <[email protected]>
  403. * Control.cs: When assigning ContextMenu, do a null check before
  404. assigning its container field.
  405. 2009-05-08 Brad Taylor <[email protected]>
  406. * DateTimePicker.cs: Add a UIA-specific property to ensure that if
  407. is_checkbox_checked is changed, we won't break.
  408. 2009-05-08 Andrés G. Aragoneses <[email protected]>
  409. * ToolStripItem.cs: Prevent NRE when our holder is a
  410. ToolStripDropDownButton and we get Select()ed.
  411. 2009-05-08 Carlos Alberto Cortez <[email protected]>
  412. * ToolStripControlHost.cs: DefaultSize must return the current size of
  413. the Control, not the value returned by GetPreferredSize. Also connect
  414. a handle to the control Resize event, and use it to fire
  415. OnHostedControlReize.
  416. Fixes the remaining bits of #483146.
  417. 2009-05-08 Carlos Alberto Cortez <[email protected]>
  418. * ToolStripDropDown.cs: When performing the layout, use
  419. ToolStripItem.GetPreferredSize ().Height instead of
  420. ToolStripItem.Height, since we are already using it that way in this
  421. same method.
  422. Fixes part of ##483146.
  423. 2009-05-08 Brad Taylor <[email protected]>
  424. * DateTimePicker.cs: Wrap UIA specific code in NET_2_0 wrappers. Send
  425. OnUIASelectionChanged when ShowCheckbox is true and the checkbox
  426. recieves focus. Part of fix for #502029.
  427. 2009-05-06 Mike Gorse <[email protected]>
  428. * FileDialog.cs: Add UIAFocusedItemChanged to PopupButtonPanel.
  429. Add PerformClick and PerformDoubleClick to PopupButton.
  430. Fixes #499851.
  431. 2009-05-04 Andrés G. Aragoneses <[email protected]>
  432. * TabControl.cs: call Focus() to emit GotFocus event at the
  433. proper time when SelectionIndex changes. Fixes #499887.
  434. 2009-05-03 Carlos Alberto Cortez <[email protected]>
  435. * MonthCalendar.cs: In SetBoundsCore always do the bounds check to
  436. have valid values, even if BoundSpecified is not including
  437. Size/Height/Width - this is useful when we are in a control using Dock
  438. or Anchor.
  439. Fixes part of #483146.
  440. 2009-04-27 Carlos Alberto Cortez <[email protected]>
  441. * ComboBox.cs: When losing the focus, if our textbox is not null,
  442. close its auto complete list, if any.
  443. Fixes part of #489339.
  444. 2009-04-27 Andrés G. Aragoneses <[email protected]>
  445. * ListView.cs: Make OnColumnClick +internal to be used by a11y.
  446. 2009-04-27 Brad Taylor <[email protected]>
  447. * ToolStripButton.cs: Emit an internal event when CheckOnClick is
  448. changed.
  449. 2009-04-26 Carlos Alberto Cortez <[email protected]>
  450. * XplatUIX11.cs: Properly support UTF8 when handling the
  451. SelectionRequest event - this is helpful supporting some window
  452. managers, such KDE, that explictly request the text in utf8, as
  453. opposed to gnome, that supports ascii.
  454. Fixes #489393.
  455. 2009-04-26 Carlos Alberto Cortez <[email protected]>
  456. * ToolStripDropDownItem.cs: When assigning a new
  457. ToolStripDropDownMenu, let it know we are its OwnerItem. This way the
  458. Capture duties performed by Application/ToolStripManager are handled
  459. nicely and we don't end up in an inconsisten stat.
  460. Fixes #492815.
  461. 2009-04-25 Carlos Alberto Cortez <[email protected]>
  462. * ToolStrip.cs: Even if we are not exactly a MenuStrip instance, close
  463. any ToolStripDropDownItem when receiving a mouse down event in an
  464. empty area.
  465. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  466. * ToolBarButton.cs: add UIA events for style and dropdownmenu changes.
  467. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  468. * ToolBarButton.cs: rename a method to include UIA prefix.
  469. 2009-04-24 Andrés G. Aragoneses <[email protected]>
  470. * ToolBarButton.cs: change visibility of some UIA methods from
  471. protected virtual to private.
  472. 2009-04-24 Carlos Alberto Cortez <[email protected]>
  473. * ToolStripDropDown.cs: In OnVisibleChanged, if we have an OwnerItem,
  474. fire OnDropDownOpened/OnDropDownClosed depending on the new
  475. visibility. This also ensures that any direct access to this instance
  476. will fire the mentioned events for the OwnerItem.
  477. * ToolStripDropDownItem.cs: Remove the invocations to
  478. OnDropDownOpened/OnDropDownClosed, since they are handled in
  479. ToolStripDropDown, as well as updating the
  480. OnDropDownHide/OnDropDownShow calls to be in the right order.
  481. Fixes #496193.
  482. 2009-04-21 Carlos Alberto Cortez <[email protected]>
  483. * Control.cs, ContextMenuStrip.cs, ToolStripMenuItem.cs: Only process any
  484. shortchut in ToolStripMenuItem.ProcessCmdKey if the control generating the
  485. event is the same as the owner of the menu item. Also set properly
  486. SourceControl for ContextMenuStrip, as well as add an internal field to
  487. contain the control that owns the ContextMenuStrip (we need to know this
  488. even before the public property is assigned).
  489. Fixes bits of #393775.
  490. 2009-04-20 Carlos Alberto Cortez <[email protected]>
  491. * StatusStrip.cs: Use the same icon as .net when the mouse is over the
  492. size grip.
  493. Fixes #492828.
  494. 2009-04-20 Carlos Alberto Cortez <[email protected]>
  495. * ComboBox.cs: When calculating the height of the ComboListBox,
  496. specially for the 2.0 profile, use MaxDropDownItems if the
  497. DropDownHeight property hasn't been set, and use the later if it has
  498. been set. This way we support both properties.
  499. Fixes #493308.
  500. 2009-04-14 Carlos Alberto Cortez <[email protected]>
  501. * ThreadExceptionDialog.cs: Draw the error icon, previously missing.
  502. Fixes #474253.
  503. 2009-04-14 Carlos Alberto Cortez <[email protected]>
  504. * ContainerControl.cs: Implement support for Control.CausesValidation,
  505. by adding a pending list of controls to be validated in the top
  506. container control, and postpone validation as needed.
  507. Also remove any control in the validation chain in case it gets removed
  508. from its owner before the pending validation actually happens.
  509. Fixes #457170.
  510. 2009-04-09 Carlos Alberto Cortez <[email protected]>
  511. * ListBox.cs: The default instance StringFormat field used to draw our
  512. items should use the StringFormatFlags.NoWrap value, so it doesn't try
  513. to put in a different line the text that doesn't fit our bounds, but
  514. show it partially.
  515. Fixes #475581.
  516. 2009-04-09 Carlos Alberto Cortez <[email protected]>
  517. * CheckedListbox.cs: When executing OnItemClick check that the index
  518. is different to -1 before trying to retrieve an item using that value.
  519. Fixes a ArgumentOutOfRangeException thrown when the horizontal
  520. scrollbar was visible but not needed, and then a clicked was received
  521. on its area.
  522. 2009-04-08 Carlos Alberto Cortez <[email protected]>
  523. * MaskedTextBox.cs: If Insert is pressed, change the internal
  524. overwrite mode for our default value.
  525. Fixes some bits of #477395.
  526. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  527. * ListView.cs: In EnsureVisible avoid any direct access to items if we
  528. are using virtual mode - otherwise use the bounds stored in a specific
  529. item in a given index. This is specially important when using groups
  530. or when items are re-arranged, since the position in the items
  531. collection can be different than that one being displayed.
  532. Fixes the rest of ##491978.
  533. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  534. * ThemeWin32Classic.cs: Include the previous check for ListView in a
  535. 2.0 define as needed.
  536. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  537. * ThemeWin32Classic.cs: Don't draw ListView's gridlines if we are using groups.
  538. Fixes part of #491978.
  539. 2009-04-06 Carlos Alberto Cortez <[email protected]>
  540. * ToolTip.cs: New fields to store the title/icon information.
  541. * ThemeWin32Classic.cs: Implement support for tooltip's title and
  542. icon.
  543. Fixes #491978.
  544. 2009-04-03 Carlos Alberto Cortez <[email protected]>
  545. * TabControl.cs: When removing a tab that was previously selected, set
  546. internally the value of selected_index to -1, to avoid trying to
  547. access the previous one when trying to set the new one (and was
  548. already removed from the collection). This is what .net seems to do
  549. too.
  550. Fixes #490937.
  551. 2009-04-02 Carlos Alberto Cortez <[email protected]>
  552. * XplatUIX11.cs, X11Clipboard.cs: Text and Rtf formats must be
  553. separated, and we cannot fallback on Text if Rtf is requested but not
  554. present.
  555. * Clipboard.cs: Actually use the format specified by our user when
  556. putting data.
  557. 2009-03-31 Carlos Alberto Cortez <[email protected]>
  558. * X11Clipboard.cs: Actually look for the RtfText format when calling
  559. GetRftText in our clipboard formats list, instead of using the
  560. generical Text format.
  561. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  562. * TextBox.cs: Process auto completion properly when we are using the
  563. internal source provided by ComboBox, and also remove some repeated
  564. checks.
  565. Fixes #489339.
  566. 2009-03-30 Tom Hindle <[email protected]>
  567. * DataGridView added Support for Invisible Columns to
  568. AutoFillColumnsInternal method.
  569. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  570. * X11Structs:
  571. * X11Clipboard.cs: Move internal ClipboardStruct from X11Structs to
  572. its own file, since it is adding some functionality and thus is not a
  573. simple struct as before.
  574. * XplatUIX11.cs: Add support to store different formats that could
  575. have been specified by the user when puting data in the Clipboard -
  576. this is important when more than one format is supported (such plain
  577. text and rtf text). Update in the needed places, as well as simplify
  578. the code.
  579. Fixes #489625.
  580. 2009-03-30 Carlos Alberto Cortez <[email protected]>
  581. * XplatUIX11.cs: When handling the SelectionRequest event, use
  582. SelectionRequestEvent instead of SelectionEvent, so we get the right
  583. data for the app asking for clipboard data. Set the member of
  584. SelectioneEvent.property to indicate the place where we are storing
  585. the information as well - this is specially important for gnome/kde
  586. apps using the TARGETS atom to ask for the supported permission before
  587. actually asking for a specific format.
  588. Fixes #489393.
  589. 2009-03-28 Ivan N. Zlatev <[email protected]>
  590. * DataGridViewCell.cs: We don't support drawing all types of cell borders,
  591. so fallback and at least draw something instead of nothing.
  592. 2009-03-27 Ivan N. Zlatev <[email protected]>
  593. * DataGridView.cs: If the column header isn't visible allow resizing
  594. using the cell column border. Also be sure to reset the cursor properly.
  595. [Fixes bug #489929]
  596. 2009-03-26 Carlos Alberto Cortez <[email protected]>
  597. * ToolStrip.cs: When disposing, iterate over the items in reverse
  598. order, since disposing the items modifies the collection.
  599. * ToolStripItem.cs: Remove from the owner when disposing.
  600. Fixes #485769.
  601. 2009-03-26 Ivan N. Zlatev <[email protected]>
  602. * DataGridView.cs: Add an implementation for UpdateRowHeightInfo. No
  603. longer throws a NotImplementedException.
  604. Based on a patch by Tom Hindle <[email protected]>
  605. [Fixes bug #488319]
  606. 2009-03-26 Ivan N. Zlatev <[email protected]>
  607. * DataGridView.cs: Implement IsCurrentRowDirty. No longer throws
  608. NotImplementedException.
  609. 2009-03-26 Ivan N. Zlatev <[email protected]>
  610. * DataGridViewColumn.cs, DataGridViewTextBoxColumn.cs:
  611. Fix SortMode clash handling.
  612. [Fixes bug #488263]
  613. 2009-03-26 Ivan N. Zlatev <[email protected]>
  614. * DataGridView.cs: Do not show the vertical scrollbar if there is only
  615. one row or less. For the sake of MSNET compatibility.
  616. [Fixes bug #487988]
  617. 2009-03-26 Ivan N. Zlatev <[email protected]>
  618. * DataGridView.cs: When the current cell is moved out of the editing row
  619. be sure to reset it back to a place holder row.
  620. 2009-03-19 Ivan N. Zlatev <[email protected]>
  621. * DataGridView.cs: If IsHandleCreated and the very first row is added
  622. to the grid in a non-databound scenario - select the first cell.
  623. [Fixes bug #486881]
  624. 2009-03-19 Ivan N. Zlatev <[email protected]>
  625. * DataGridView.cs: If we are not databound and empty once the first row
  626. gets added select the first cell.
  627. [Fixes bug #486881]
  628. 2009-03-19 Ivan N. Zlatev <[email protected]>
  629. * DataGridView.cs, DataGridViewColumn.cs: Do not set Row/CellTemplate's
  630. DataGridView. They do not belong to a DataGridView.
  631. [Fixes bug #486645]
  632. 2009-03-19 Ivan N. Zlatev <[email protected]>
  633. * DataGridViewCellCollection.cs, DataGridViewColumnCollection.cs:
  634. Set indices and associate with DataGridView only after the item is
  635. add to the internal list.
  636. [Fixes part of bug #486645]
  637. 2009-03-19 Ivan N. Zlatev <[email protected]>
  638. * DataGridView.cs: Do not add any cells to the FullRowTemplate in RowCount.
  639. FullRowTemplate already contains all the cells.
  640. [Fixes part of bug #486645]
  641. 2009-03-19 Ivan N. Zlatev <[email protected]>
  642. * DataGridView.cs, DataGridViewCellCollection.cs: Split the column removal
  643. to perform Pre and Post removal actions to allow the current cell to be
  644. moved and all events fired properly before the column is removed.
  645. 2009-03-19 Ivan N. Zlatev <[email protected]>
  646. * DataGridView.cs, DataGridViewRow.cs: Split the row removal to perform Pre and
  647. Post removal action to allow the current cell to be moved and all events fired
  648. properly before the row is removed.
  649. 2009-03-18 Ivan N. Zlatev <[email protected]>
  650. * DataGridView.cs: Fire CellEnter and CellLeave events for the Cell.
  651. [Fixes bug #486640]
  652. 2009-03-18 Jonathan Pobst <[email protected]>
  653. * XplatUICarbon.cs: Commit patch from Alex Shulgin that fixes window
  654. placement of popup windows on OSX.
  655. 2009-03-18 Matt Guo <[email protected]>
  656. * FontDialog.cs: Override "ToString" for FontDialog.ColorComboBox.ColorComboBoxItem
  657. [Fixes bug #482690]
  658. 2009-03-18 Ivan N. Zlatev <[email protected]>
  659. * DataGridView.cs: Implement the CellMouseDoubleClick event.
  660. [Fixes bug #486262]
  661. 2009-03-18 Ivan N. Zlatev <[email protected]>
  662. * DataGridView.cs: Fix scrolling to take into account that the
  663. scrollbars are actually inside the client area of the datagridview.
  664. 2009-03-18 Ivan N. Zlatev <[email protected]>
  665. * DataGridView.cs: Implement mouse wheel scrolling.
  666. [Fixes bug #486159]
  667. 2009-03-17 Ivan N. Zlatev <[email protected]>
  668. * DataGridView.cs: When DataSource changes the rebinding should happen
  669. not if IsHandleCreated but if BindingContext != null.
  670. [Fixes bug #486013]
  671. 2009-03-17 Ivan N. Zlatev <[email protected]>
  672. * DataGridView.cs: Browsable(false) properties should be skipped when
  673. autogenerating the columns.
  674. [Fixes bug #486021]
  675. 2009-03-16 Carlos Alberto Cortez <[email protected]>
  676. * DomainUpDown.cs: When ReadOnly is true, all the text entered by the
  677. user should use a different handling, trying to use every pressed char
  678. as a unique and only one prefix to compare against the items. Also,
  679. refactor some input check code to avoid duplication.
  680. Fixes #458607.
  681. 2009-03-16 Ivan N. Zlatev <[email protected]>
  682. * DataGridViewCell.cs: In OwningColumng Handle invalid column index
  683. silently.
  684. [Fixes bug #485278]
  685. 2009-03-16 Ivan N. Zlatev <[email protected]>
  686. * DataGridViewBand.cs: Update our State whenever a property changes.
  687. * DataGridView.cs: Don't be so generous in reseting Displayed, because
  688. it will spawn lots and lots of unneeded State changed events.
  689. [Fixes bug #484989]
  690. 2009-03-16 Ivan N. Zlatev <[email protected]>
  691. * DataGridView.cs, DataGridViewRow.cs, DataGridViewColumn.cs:
  692. Add support for invisible rows and columns.
  693. [Fixes bug #484951]
  694. 2009-03-16 Ivan N. Zlatev <[email protected]>
  695. * DataGridViewCell.cs: Escape literal { in ToString.
  696. * DataGridViewTextBoxCell.cs: Fix ToString.
  697. [Fixes bug #484923]
  698. 2009-03-16 Carlos Alberto Cortez <[email protected]>
  699. * MenuAPI.cs: When navigating items using the keyboard properly handle
  700. the case when no item is selected - this way we should try to select
  701. the first or the last item depending on the direction, but no the
  702. second or third one, etc.
  703. 2209-03-15 Carlos Alberto Cortez <[email protected]>
  704. * Form.cs: When calling ProcessCmdKey, just after checking for any
  705. MainMenu, check if there's an active ContextMenu that is *not* owned
  706. by the form - this is needed when a non-focusable control owns a
  707. ContextMenu but its ProcessCmdKey method can't be called since it
  708. can't receive any input.
  709. Fixes #477655.
  710. 2009-03-13 Neville Gao <[email protected]>
  711. * ToolBar.cs: Sent ButtonClick events when button style is DropDown.
  712. * ContextMenu.cs: Add UIA Framework property UIAVisible to detect if
  713. ContextMenu is displayed.
  714. 2009-03-12 Carlos Alberto Cortez <[email protected]>
  715. * XplatUIX11.cs: In GetMessage when F1 gets pressed, besides sending a
  716. WM_HELP message for the associated window, don't call
  717. NativeWindow.WndProc *at all*, since this could send a WM_*
  718. key-related to Control.WndProc. Also, return the keypress message, in
  719. case it needs to be preprocessed for any menu.
  720. Fixes #478476.
  721. 2009-03-08 Ivan N. Zlatev <[email protected]>
  722. * DataGridView.cs: When removing the first displayed row and moving
  723. the current cell up one we must invalidate the first displayed row
  724. index before calculating the row heights, etc.
  725. [Fixes bug #483202]
  726. 2009-03-08 Ivan N. Zlatev <[email protected]>
  727. * DataGridView.cs: Fix three column bugs:
  728. - Rows should be cleared (but not removed) if columns become 0.
  729. - The current cell should get moved
  730. - ColumnCount increase was adding too many columns.
  731. 2009-03-07 Ivan N. Zlatev <[email protected]>
  732. * DataGridView.cs: Fix RowCount decrease which wasn't working well
  733. in both scenarions - with and without editing row.
  734. 2009-03-06 Ivan N. Zlatev <[email protected]>
  735. * DataGridView.cs: Be compatible with MS in that the scroll to
  736. selection has a synchronous effect. The trick here is that in
  737. order to avoid unnecessary calculations each time a row/column
  738. is added/removed we recalculate the whole grid size just before
  739. just before the scroll to selection.
  740. [Fixes bug #482478]
  741. 2009-03-06 Carlos Alberto Cortez <[email protected]>
  742. * RichTextBox.cs: LoadFile(string path) should pass by default
  743. RichTextBoxStreamType.RichText, without caring about the detection or
  744. extension of the file.
  745. 2009-03-06 Carlos Alberto Cortez <[email protected]>
  746. * RichTextBox.cs: When calling LoadFile, remove the extra EOL
  747. introduced by StreamReader, since it will convert the EOF to an EOL.
  748. Fixes #479646.
  749. 2009-03-06 Jonathan Pobst <[email protected]>
  750. * ToolStripDropDownMenu.cs: Use Math.Max instead of calculating
  751. preferred size twice.
  752. 2009-03-06 Jonathan Pobst <[email protected]>
  753. * ToolStripMenuItem.cs: Don't draw the dropdown arrow or shortcut
  754. string if we aren't on a ToolStripDropDownMenu.
  755. 2009-03-06 Jonathan Pobst <[email protected]>
  756. * ToolStripDropDownButton.cs, ToolStripItem.cs: Refactor some Button
  757. code from Item to Button. Patch from Alex Shulgin.
  758. 2009-03-05 Jonathan Pobst <[email protected]>
  759. * ToolStripDrowDown.cs: Remove some hardcoded values and assumptions.
  760. * ToolStripDropDownButton.cs: This should use a ToolStripDropDownMenu,
  761. not a ToolStripDropDown.
  762. * ToolStripItem.cs: Don't use the item margins on a ToolStripDropDown.
  763. 2009-03-04 Ivan N. Zlatev <[email protected]>
  764. * DataGridView.cs: Fix RowCount/ColumnCount decreasing.
  765. Based on a patch by Tom Hindle <[email protected]>
  766. [Fixes bug #482133]
  767. 2009-03-04 Ivan N. Zlatev <[email protected]>
  768. * DataGridView.cs, DataGridViewElement.cs:
  769. - Always calls OnDataGridViewChanged() if the new DGV is
  770. not the same/null as the current one.
  771. - Do not throw NREs when setting TopLeftHeaderCell to null
  772. - Unset the DGV for TopLeftHeaderCell when replacing it
  773. Based on a patch by Tom Hindle <[email protected]>
  774. [Fixes bug #481681]
  775. 2009-03-04 Jonathan Pobst <[email protected]>
  776. * ToolStripDropDown.cs: When dismissing control due to ESC, don't
  777. hit a NRE if we are a ContextMenuStrip and do not have a parent.
  778. [Fixes bug #478616]
  779. 2009-03-01 Carlos Alberto Cortez <[email protected]>
  780. * ListView.cs: When removing items from a ListViewItemCollection
  781. contained in ListView (not in ListViewGroup), before actually removing
  782. the items remove them also from their -if any- associated groups. If
  783. the item is present in ListViewGroup.Items but not in ListView.Items,
  784. then don't remove it - this is *exactly* what .net seems to do.
  785. Fixes the remaining bits of #478689.
  786. 2009-02-28 Carlos Alberto Cortez <[email protected]>
  787. * ListView.cs: In our MouseDown handler in ItemControl use the item in
  788. the very specific *real* position where the mouse was pressed, using
  789. GetItemAtDisplayIndex for that purpose, instead of directly accessing
  790. Items - this is specially useful when groups with Details view is
  791. used. This is what we do in other places when using groups.
  792. Fixes part of #478689.
  793. 2009-02-27 Carlos Alberto Cortez <[email protected]>
  794. * MaskedTextBox.cs: Properly replace selection when a new valid key
  795. is pressed - even when IsOverwriteMode is false. This is what .net
  796. does.
  797. 2009-02-27 Carlos Alberto Cortez <[email protected]>
  798. * MaskedTextBox.cs: When setting Text and RejectOnFirstFailure is
  799. true, use MaskedTextProvider.Set instead of MaskedTextProvider.Replace,
  800. since Set will keep the previous value in case of error (just what we
  801. need), but still call MaskedTextProvider.Clear if
  802. RejectOnFirstFailure is false - match .net.
  803. 2009-02-26 Carlos Alberto Cortez <[email protected]>
  804. * MaskedTextBox.cs: When setting Text use the very precise algorithm
  805. that .net uses: iterate over every char of the new value, trying to
  806. use every char, and use a normal call to MaskedTextProvider.Replace
  807. call if RejectInputOnFirstFailure is true. Fire OnMaskInputRejected
  808. in case of error in both cases, as well.
  809. Fixes #477408.
  810. 2009-02-25 Neville Gao <[email protected]>
  811. * ColorDialog.cs: Added UIA Framwork Property:
  812. UIASelectedSmallColorControl.
  813. 2009-02-25 Carlos Alberto Cortez <[email protected]>
  814. * MaskedTextBox.cs: Forgot to update the call of the new method
  815. introduces in the previous patch.
  816. 2009-02-25 Carlos Alberto Cortez <[email protected]>
  817. * MaskedTextBox.cs: Handle OnKeyDown to properly process the Delete
  818. key. Also create a new method to avoid code duplication between
  819. OnKeyDown and OnKeyPress.
  820. Fixes #477388.
  821. 2009-02-24 Ivan N. Zlatev <[email protected]>
  822. * DataGridViewCell.cs: Invalidate the datagrid when the cell is selected
  823. or deselected.
  824. [Fixes bug #479124]
  825. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  826. * MaskedTextBox.cs: In OnKeyPress the IsOverwriteMode check is
  827. actually inversed, so put it the right way. Also, don't automatically
  828. look for the next editable item after adding a new one, but way for
  829. the next insertion (this is what .net does) - this is not needed when
  830. MaskedTextProvider.InsertAt is called however, since it already looks for the
  831. next editable position.
  832. Fixes the remaining bits of #477383.
  833. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  834. * MaskedTextBox.cs: In OnKeyPress handle backspace by calling
  835. MaskedTextProvider.RemoveAt method. Also for setting the SelectionStart
  836. property after the text was modified, adjust the testPosition value
  837. depending on what method was called.
  838. Fixes part of #477383.
  839. 2009-02-23 Carlos Alberto Cortez <[email protected]>
  840. * ListView.cs: For EnsureVisible, adjust the view port bounds based on
  841. the existence of the column headers, as well as using this information
  842. to adjust the vscrollbar value, so items never get hidden by the
  843. column headers.
  844. Fixes #478498.
  845. 2009-02-23 Ivan N. Zlatev <[email protected]>
  846. * DataGridView.cs: Make the ScrollBars property work properly.
  847. 2009-02-22 Carlos Alberto Cortez <[email protected]>
  848. * TextBox.cs: Some code lifting for AutoComplete's support. First,
  849. when handling non-navigation keys, save the original Text typed by the
  850. user, and don't motify it BEFORE. This was a design mistake, since the
  851. re-assignation happens only when navigating the append/suggest list,
  852. not while creating the matches. Also, process the Delete key just like
  853. the backspace one. Finally, when handling WM_CHAR, ignore both Escape
  854. and Enter keys.
  855. Fixes some missing bits of #469967.
  856. 2009-02-22 Ivan N. Zlatev <[email protected]>
  857. * DataGridView.cs: Fix row removal in the data-bound scenario.
  858. 2009-02-19 Ivan N. Zlatev <[email protected]>
  859. * DataGridViewCell.cs: Use strict equality comparison in order to
  860. prevent superfluous CellValueChanged events.
  861. 2009-02-19 Ivan N. Zlatev <[email protected]>
  862. * DataGridView.cs: Do not reset the columns when the data list changes,
  863. but only the rows. Fixes multiple bugs related to sorting, custom
  864. column styles being reset and more.
  865. 2009-02-19 Jonathan Pobst <[email protected]>
  866. * ThemeWin32Classic.cs: Respect a PictureBox's Padding when
  867. drawing the image.
  868. 2009-02-18 Andrés G. Aragoneses <[email protected]>
  869. * ToolBarButton.cs: Oops, use the correct event (fix r127298).
  870. 2009-02-17 Andrés G. Aragoneses <[email protected]>
  871. * ToolBarButton.cs: Event for Enabled property (needed to fix
  872. UIA #474197).
  873. 2009-02-16 Carlos Alberto Cortez <[email protected]>
  874. * TextBox.cs: When handling WndProc with autocomplete activated,
  875. event if the new text is not causing any change in the look up
  876. algorithm, save it as we normally do when numbers and letters.
  877. Fixes #469967.
  878. 2009-02-16 Carlos Alberto Cortez <[email protected]>
  879. * TreeNode.cs: When Text/StateImageIndex/StateImageKey/NodeFont change
  880. Invalidate the proper bounds in the TreeView, not only resetting the
  881. width.
  882. Fixes #475542.
  883. 2009-02-09 Carlos Alberto Cortez <[email protected]>
  884. * TreeNode.cs: Don't return TreeView.BackColor when retrieving our own
  885. BackColor property. This is what .net does in both 1.1 and 2.0.
  886. * TreeView.cs: When selected_node is not the same as highlighted_node,
  887. we need to handle the back color in a different way, trying to use the
  888. node's BackColor if it's not Color.Empty.
  889. Fixes #464200.
  890. 2009-02-09 Carlos Alberto Cortez <[email protected]>
  891. * TreeView.cs: When canceling selection in our MouseUp handler,
  892. invalidate also the previous selected node bounds.
  893. Fixes #464191.
  894. 2009-02-07 Ivan N. Zlatev <[email protected]>
  895. * DataGridView.cs: End or if end fails then cancel the current edit
  896. operation before clearing the data source.
  897. 2009-02-07 Ivan N. Zlatev <[email protected]>
  898. * DataGridView.cs: Data-bind only after the handle is created.
  899. [Fixes bug #473680]
  900. 2009-02-06 Carlos Alberto Cortez <[email protected]>
  901. * TreeView.cs: When handling the MouseMove event, check if
  902. focused_node and selected_node fields are null - usually they are non
  903. null, since we have always a selected node, but canceling selection by
  904. handling BeforeSelect event leaves the two of them as null.
  905. Fixes #470451.
  906. 2009-02-06 Neville Gao <[email protected]>
  907. * TabControl.cs: Control enabled to support accessibility.
  908. [Fixes Bug #472428]
  909. 2009-02-05 Ivan N. Zlatev <[email protected]>
  910. * DataGridViewRowCollection.cs, DataGridView.cs: Fix row insertation:
  911. - Use ArrayList.Insert instead of the Item property so that the item
  912. is actually inserted and not an existing item replaced.
  913. - Call DataGridView.OnRowsAddedInternal and drop internal from
  914. OnRowsAdded for binary compitability. This also fixes several
  915. redrawing issues.
  916. [Fixes bug #472968]
  917. 2009-02-05 Andrés G. Aragoneses <[email protected]>
  918. * ToolBarButton.cs: Doh, fire OnUIATextChanged *after* setting
  919. the value.
  920. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  921. * ToolBarButton.cs: Add another event (OnUIATextChanged).
  922. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  923. * ToolBarButton: Fix typo in previous commit (r125704).
  924. 2009-02-04 Andrés G. Aragoneses <[email protected]>
  925. * ToolBar.cs, ToolBarButton.cs: Add new UIA events to know
  926. when a button gets focus, firing the events from the ToolBar.
  927. r: jpobst
  928. 2009-02-04 Mario Carrion <[email protected]>
  929. * ColumnHeader.cs: Raising ListView.ColumnWidthChanged when setting
  930. Width.
  931. * ListView.cs: Internal method added: RaiseColumnWidthChanged, used by
  932. ColumnHeader to raise ColumnWidthChanged.
  933. [Fixes Bug #467086]
  934. 2009-02-03 Ivan N. Zlatev <[email protected]>
  935. * DataGridViewRowCollection.cs, DataGridView.cs: Move row completion
  936. code in the row collection code, so that the completion happens before
  937. the CollectionChanged event, also better encapsulation.
  938. [Fixes bug #471987]
  939. 2009-02-02 Ivan N. Zlatev <[email protected]>
  940. * DataGridView.cs: When editing is finished do not remove the editing
  941. row, because it has already become a real one. Instead add a new one.
  942. [Fixes bug #471754]
  943. 2009-02-02 Carlos Alberto Cortez <[email protected]>
  944. * TreeView.cs: When drawing the node's image, check that the index
  945. specified by the node is valid for the ImageList.
  946. Fixes #471094.
  947. 2009-02-02 Andrés G. Aragoneses <[email protected]>
  948. * ToolBar.cs: Add new UIAPerformClick method to be called by
  949. UIAutomationWinforms when someone calls Invoke() on the
  950. ToolBarButtonProvider. r: jpobst
  951. 2009-02-02 Carlos Alberto Cortez <[email protected]>
  952. * XplatUIX11.cs: Don't send a WM_SHOWWINDOW message when receiving
  953. MapNotify/UnmapNotify events - we are already firing those events in
  954. the proper places, so we avoid this way to send the same message two
  955. times. I'm leaving the handling code in case we could break something
  956. in the future, as this change seems dangerous (but needed).
  957. Fixes #467546.
  958. 2009-02-01 Ivan N. Zlatev <[email protected]>
  959. * DataGridView.cs: Complete incomplete rows when they are added to
  960. the grid.
  961. [Fixes bug #471068]
  962. 2009-02-01 Ivan N. Zlatev <[email protected]>
  963. * DataGridView.cs, DataGridViewColumnCollection.cs: Ensure that the
  964. binding is cleared prior to setting it to null. Fixes a regression
  965. causing exceptions when the DataSource is set to null and then set
  966. again to a data source.
  967. 2009-02-01 Ivan N. Zlatev <[email protected]>
  968. * DataGridView.cs, DataGridViewImageColumn.cs, DataGridViewCell.cs:
  969. - Make Image/Bitmap cells work.
  970. - Handle images with size greater than the cell.
  971. - Default to MiddleCenter alignment for image cells.
  972. [Fixes bug #471101]
  973. 2009-01-30 Ivan N. Zlatev <[email protected]>
  974. * UpDownBase.cs: Force Height to PreferredHeight.
  975. 2009-01-29 Carlos Alberto Cortez <[email protected]>
  976. * XplatUIX11.cs: We should use utf8 handling clipboard transference
  977. with other x11 applications, and use utf16 when handling clipboard
  978. data in the class library. Update the related points as well.
  979. Fixes #468683.
  980. 2009-01-28 Ivan N. Zlatev <[email protected]>
  981. * DataGridViewCell.cs: Format strings according to the supplied
  982. CellStyle.Format.
  983. [Fixes bug #470384]
  984. 2009-01-28 Ivan N. Zlatev <[email protected]>
  985. * DataGridView.cs: Reset the hover cell if it gets moved due to row(s)
  986. addition or removal. Fixes multiple crashes in OnMouseMove.
  987. 2009-01-27 Ivan N. Zlatev <[email protected]>
  988. * DataGridView.cs: Fix a NRE when setting the CurrentCell to null.
  989. 2009-01-27 Ivan N. Zlatev <[email protected]>
  990. * XplatUIX11.cs: Fire Timer.Tick even if there is no MainForm for the
  991. current context.
  992. [Fixes bug #469239]
  993. 2009-01-26 Andreia Gaita <[email protected]>
  994. * WebBrowser.cs: fix initial value of ScrollbarsEnabled, so they
  995. won't be disabled by default.
  996. Fixes #468690
  997. 2009-01-26 Ivan N. Zlatev <[email protected]>
  998. * DataGridView.cs: Do not clear the rows if we are not databound.
  999. 2009-01-26 Ivan N. Zlatev <[email protected]>
  1000. * DataGridView.cs: Do not be too smart about selecting the first cell
  1001. when the first row is added as this is not what MS does. Fixes the
  1002. failing unit tests.
  1003. 2009-01-26 Carlos Alberto Cortez <[email protected]>
  1004. * TreeNode.cs: NextVisibleNode and PrevVisibleNode properties don't
  1005. take into account the fact that OpenTreeNodeEnumerator needs to call
  1006. MoveNext/MovePrevious to actually put the passed node as the one
  1007. retrieved in Current. This way this property should work as really
  1008. expected in .net.
  1009. Fixes part of #467225.
  1010. 2000-01-26 Carlos Alberto Cortez <[email protected]>
  1011. * TreeView.cs: When calculating the scrollbars, don't use
  1012. TreeNode.Bounds, since it still can have the values of the previous
  1013. -and now invalid- layout -which depends on TreeView.skipped_nodes, and
  1014. could not have been updated as well-, and use the actual number of
  1015. visible number of nodes to compute the height needed to contain all
  1016. the nodes. Also reset the value of vbar to 0 when disabled - this way
  1017. we make sure that, when re-enabled, it will update the visible area of
  1018. the treeview, even if the previous value before disabling it is the
  1019. same as now. Finally don't do anything for the vbar.ValueChanged
  1020. handler - for the case wheer we manually set the value but don't the
  1021. vbar is disabled already.
  1022. Fixes part of #467225.
  1023. 2009-01-23 Jonathan Pobst <[email protected]>
  1024. * ToolStrip.cs: Switch from foreach to for, in case the collection
  1025. somehow changes while enumerating it.
  1026. 2009-01-23 Ivan N. Zlatev <[email protected]>
  1027. * DataGridView.cs, DataGridViewCell.cs: Fix crashes when there is no
  1028. editing control.
  1029. 2009-01-23 Ivan N. Zlatev <[email protected]>
  1030. * DataGridView.cs: Fix new row adding/editing in the non-databound
  1031. scenario.
  1032. 2009-01-21 Mike Gorse <[email protected]>
  1033. * TrackBar.cs: Make LargeIncrement/Decrement internal so that UIA can
  1034. use them.
  1035. Added UIAValueParamChangedEvent.
  1036. 2009-01-21 Carlos Alberto Cortez <[email protected]>
  1037. * TreeView.cs: In CollapseAll, set vbar to the maximum value, instead
  1038. of trying to set as top node the highest parent of the previous top
  1039. node. Moving to the bottom of the TreeView after a call to CollapseAll
  1040. is exactly what .net does. This should avoid some nasty issue when
  1041. CollapseAll is called and we don't need the vertical scroll bar.
  1042. 2009-01-21 Mario Carrion <[email protected]>
  1043. * Form.cs: UIA Support: Internal events added: UIAWindowStateChanged
  1044. and UIATopMostChanged.
  1045. 2009-01-21 Sandy Armstrong <[email protected]>
  1046. * MenuItem.cs: Add UIACheckChanged, UIARadioCheckChanged,
  1047. UIAEnabledChanged, and UIATextChanged events.
  1048. * Form.cs: Add UIAMenuChanged event.
  1049. * Menu.cs:
  1050. * MenuAPI.cs: Note which internal APIs are being used by UIA.
  1051. 2009-01-21 Neville Gao <[email protected]>
  1052. * ToolBar.cs: Control enabled to support accessibility.
  1053. [Fixes Bug #455950]
  1054. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1055. * TreeView.cs: When handling mouse up event, check whether
  1056. highlighted_node is null or not - usually it should be non-null
  1057. alwaays, since the mouse down handler sets it, but some externa
  1058. operations, such TreeNodeCollection.Clear, could set it to null.
  1059. Fixes #438650.
  1060. 2009-01-19 Ivan N. Zlatev <[email protected]>
  1061. * ThemeWin32Classic.cs: Draw the menu item shortcut even if the menu
  1062. item is disabled.
  1063. 2009-01-19 Ivan N. Zlatev <[email protected]>
  1064. * MenuAPI.cs: Do not handle shortcuts if the menu item is disabled.
  1065. [Fixes bug #467285]
  1066. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1067. * MonthCalendar.cs: When handling the selection changes using the
  1068. mouse, don't set SelectionRange if the selection range didn't actually
  1069. change. This matters because, even if we set the range to the same
  1070. previous range, an extra DateChanged event is fired. Just to be clear:
  1071. SelectionRage property doesn't check whether the new value is
  1072. different to the previous one (by ref equals doesn't work here).
  1073. Fixes other bits of #364914.
  1074. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1075. * MonthCalendar.cs: Remove the extra OnDateChanged call when handling
  1076. selection using the keyboard, since we are already firing this event
  1077. when setting SelectionRange. Also don't set SelectionRange if the
  1078. previous and the new value are the same (the property, just as .net
  1079. does, doesn't check whether the previous value and the new one are the
  1080. same). This saves us from firing OnDateChanged event if the selection
  1081. range didn't change actually.
  1082. Fixes the remaining bits of #364914.
  1083. 2009-01-19 Carlos Alberto Cortez <[email protected]>
  1084. * ListBox.cs: When removing an item and the last item is selected,
  1085. remove it from the selection, and if selection mode is One try to
  1086. select the new last item.
  1087. Fixes #465422.
  1088. 2009-01-16 Mike Gorse <[email protected]>
  1089. * Splitter.cs: Make MaxSize internal so that UIA code can use it.
  1090. 2009-01-16 Mario Carrion <[email protected]>
  1091. * ColumnHeader.cs: UIA Support: raising internal event UIATextChanged
  1092. when changing Text.
  1093. 2009-01-16 Carlos Alberto Cortez <[email protected]>
  1094. * X11Structs.cs:
  1095. * XplatUIX11.cs: Properly encode/decode the unicode strings we
  1096. store/retrieve in the Clipboard. Also, since we try to convert the
  1097. data to different formats, separate the source and the result of
  1098. it, so we can always fallback to the original and don't mix wrong
  1099. conversions.
  1100. 2009-01-16 Mike Gorse <[email protected]>
  1101. * TextControl.cs: Add UIASelectionChanged event.
  1102. 2009-01-16 Ivan N. Zlatev <[email protected]>
  1103. * DataGridView.cs: Forward the first key events to the editing control.
  1104. [Fixes bug #457307]
  1105. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1106. * Application.cs: Oops, launch the copied handler of PreRun instead of
  1107. the global one (gendarme would bark otherwise). (Improving r123375)
  1108. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1109. * XplatUI.cs:
  1110. * Application.cs: Move the PreRun event fire to the end of the XplatUI
  1111. static ctor (we don't move the PreRun event to this class because its
  1112. usage would cause the call to the static ctor). This way we can get
  1113. a11y support for dialogs that run without App.Run.
  1114. 2009-01-14 Andrés G. Aragoneses <[email protected]>
  1115. * ListView.cs: New internal property to know the inner array's length of
  1116. the location of items, in order to avoid a try-catch strategy for the
  1117. case when this array has not been resized yet (for reference, look at
  1118. r123288). r: jpobst
  1119. 2009-01-13 Andrés G. Aragoneses <[email protected]>
  1120. * Application.cs: Simplify UIA initialization, reducing it from 4 to 1
  1121. reflection calls. This requires UIAutomationWinforms r123213.
  1122. 2009-01-12 Carlos Alberto Cortez <[email protected]>
  1123. * MonthCalendar.cs: Detect selection changes in MouseDown/MouseMove
  1124. handlers and fire the DateSelected event until MouseUp is reached,
  1125. like .net does, instead of firing it for each mouse event.
  1126. Fixes part of #364914.
  1127. 2009-01-12 Carlos Alberto Cortez <[email protected]>
  1128. * TreeView.cs: When the selection gets canceled using the BeforeSelect
  1129. event, invalidate the previous highlighted_node bounds, to show the
  1130. user that the item was *not* selected.
  1131. Fixes #464191.
  1132. 2009-01-11 Carlos Alberto Cortez <[email protected]>
  1133. * ComboBox.cs: Separate some scroll logic: setting SelectedIndex, as
  1134. well as -in DropDown and Simple modes- writing in the textbox should
  1135. try to set the requested item as the top one, but navigating with the
  1136. keyboard and handling mouse selection don't need that behaviour. Also,
  1137. when resetting selected_index handling key press events, reset
  1138. ComboListBox.HighlightIndex.
  1139. Fixes the remaining bits of #464188.
  1140. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1141. * DataGridView.cs: Fix crashes when shortcut keys are pressed, but
  1142. there are no cells:
  1143. - CurrentCellAddress should be -1, -1 and not 0, 0.
  1144. - Be tolerant and fall back to clearing the current cell if either
  1145. column or row is -1 in MoveCurrentCell.
  1146. - Misc. more -1 checks.
  1147. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1148. * DataGridView.cs: Preserve the column index. Fixes a regression
  1149. introduced by the data binding position tracking code.
  1150. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1151. * DataGridView.cs: If the bottom of the row matches the client height
  1152. do not regard the row as partially visible. Fixes the weird scrolling
  1153. when there is no scrollbar.
  1154. 2009-01-11 Ivan N. Zlatev <[email protected]>
  1155. * DataGridViewComboBoxCell.cs: Implement/Fix the data binding.
  1156. 2009-01-09 Mario Carrion <[email protected]>
  1157. * MessageBox.cs: Fixed internal UIAIconRectangle property.
  1158. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1159. * DataGridViewCheckBoxCell.cs: Respect the ReadOnly state of the Cell.
  1160. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1161. * DataGridView.cs: Track the Position in the CurrencyManager.
  1162. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1163. * DataGridView.cs: Implement data-bound new item editing/addition.
  1164. * DataGridViewRowCollection.cs: Make it possible for us to internally
  1165. remove the edit row.
  1166. [Fixes bugs #457107, #457308, #325240]
  1167. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1168. * CurrencyManager.cs: Even if Position is set to a greater value than the
  1169. list count reset it to position of the last item.
  1170. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1171. * BindingSource.cs: AddNew doesn't set index/add_pending for IBindingList.
  1172. Fix that in order to make CancelNew to work.
  1173. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1174. * BindingSource.cs: When adding a new item try to delegate to the internal
  1175. list first before throwing an exception.
  1176. 2009-01-09 Carlos Alberto Cortez <[email protected]>
  1177. * ComboBox.cs: When setting the text and adjusting the top_item, do it
  1178. *only* if the current item is *not* visible already.
  1179. Fixes part of #464188.
  1180. 2009-01-09 Ivan N. Zlatev <[email protected]>
  1181. * DataGridView.cs: Requesting the CurrencyManager for the first time can
  1182. lead to unexpected OnBindingContextChanged calls and recursive rebinding.
  1183. Fix that.
  1184. [Fixes bug #464493]
  1185. 2009-01-08 Brad Taylor <[email protected]>
  1186. * ComboBox.cs: Expose a few private fields as internal UIA properties.
  1187. 2009-01-07 Mario Carrion <[email protected]>
  1188. * DataGrid.cs: CWL removed.
  1189. 2009-01-06 Carlos Alberto Cortez <[email protected]>
  1190. * RadioButton.cs: When setting Checked, we should first update the
  1191. check state of the current RadioButton, as well as invalidating it,
  1192. and after that actually update the siblings. This is done to match
  1193. .net.
  1194. Fixes the remaining bits of #463028.
  1195. 2009-01-05 Carlos Alberto Cortez <[email protected]>
  1196. * RadioButton.cs: Setting Checked to false should set TabStop to stop
  1197. as well. Also, when we get the focus and no other RadioButton is
  1198. selected in the parent control, we should mark ourselves as Checked.
  1199. Fixes part of #463028.
  1200. 2009-01-05 Mario Carrion <[email protected]>
  1201. * DataGrid.cs: UIA suppport. internal events:
  1202. UIAGridCellChanged, UIAColumnsHeadersVisibleChanged,
  1203. UIASelectionChanged, UIACollectionChanged. Internal properties:
  1204. UIARowHeight, UIACellsArea, UIACaptionArea,
  1205. UIAColumnHeadersArea, UIASelectedRows, UIACurrentTableStyle,
  1206. UIAVScrollBar and UIAHScrollBar.
  1207. 2009-01-05 Jonathan Pobst <[email protected]>
  1208. * ToolStripSplitStackLayout.cs: Enable the overflow button if any
  1209. of the buttons are set to Overflow = Always.
  1210. [Fixes bug #463013]
  1211. 2009-01-03 Carlos Alberto Cortez <[email protected]>
  1212. * BindingNavigator.cs: Properly enable/disable the toolstrip buttons,
  1213. based on whether the binding source is availble or not. Fixes #463008.
  1214. 2009-01-03 Ivan N. Zlatev <[email protected]>
  1215. * DataGridViewCell.cs: We should return a value even if we are not bound
  1216. to a DataGridView.
  1217. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1218. * CurrencyManager.cs, DataGrid.cs:
  1219. - Rename CanAddRows to AllowNew. The CurrencyManager has no
  1220. concept of "rows".
  1221. - Add two more internal properties AllowRemove and AllowEdit.
  1222. * DataGridView.cs: Refactor in a data-bound situation AllowUserToAddRows,
  1223. AllowUserToDeleteRows and cell ReadOnly state to be also checked against the
  1224. CurrencyManager data source.
  1225. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1226. * DataGridView.cs: Fix crashes caused by assigning negative values to
  1227. ScrollBar.LargeIncrement when the ClientSize.Width/Height is less than
  1228. the column/row heights/widths.
  1229. [Fixes bug #462684]
  1230. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1231. * DataGridView.cs: Non-autogenerated columns that have a data property
  1232. set that exists in the current datasource should be set to be data-bound.
  1233. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1234. * DataGridView.cs: Fix column sorting for columns containing null
  1235. values. A "null" value is not always "null" (e.g could be String.Empty)
  1236. and thus parsing numeric types throwed an exception for "null" values.
  1237. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1238. * DataGridView.cs: Detach the editing control when the edit is
  1239. finished.
  1240. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1241. * DataGridView.cs: Multiple fixes to handle last column/row removal
  1242. and cell movement after that instead of throwing exceptions.
  1243. 2009-01-02 Ivan N. Zlatev <[email protected]>
  1244. * DataGridViewCellCollection.cs: When cells are removed the column
  1245. indices become invalid if the cell is not the last one and have to
  1246. be refreshed.
  1247. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1248. * DataGridView.cs: Return false in CommitEdit if there was an error.
  1249. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1250. * DataGridView.cs: Remove a leftover Console.WriteLine.
  1251. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1252. * DataGridViewRow.cs: Access the indexer of the data manager directly
  1253. instead of the internal list.
  1254. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1255. * DataGridViewCell.cs, DataGridView.cs, DataGridViewCheckBoxCell.cs:
  1256. Rewrite the value getting, setting, parsing, formatting logic:
  1257. - If data-bound value get/set should actually get and set from the
  1258. data source.
  1259. - Make proper usage of TypeConverters for value parsing/formatting.
  1260. - Raise DataError if setting the new value fails.
  1261. - Get rid off the internal valueType field and get/set the ValueType
  1262. property instead.
  1263. [Fixes bug #462051]
  1264. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1265. * DataGridView.cs: Rewrite the DataBinding layer:
  1266. - Get rid off all BindingSource/IBindingList/DataSet/DataTable
  1267. specific code.
  1268. - Get rid off the per DataSource type column autogeneration code.
  1269. - Use the CurrencyManager for everything that is DataBinding related.
  1270. 2009-01-01 Ivan N. Zlatev <[email protected]>
  1271. * CurrencyManager.cs: Do not fire duplicate ListChanged events.
  1272. 2008-12-31 Ivan N. Zlatev <[email protected]>
  1273. * DataGridView.cs, DataGridViewRow.cs: Add a new internal property
  1274. DataManager to fetch the CurrencyManager for the DataGridView and to
  1275. spare this logic for the other components to follow.
  1276. 2008-12-31 Mario Carrion <[email protected]>
  1277. * MessageBox.cs: UIA support: new properties: UIAMessage,
  1278. UIAMessageRectangle and UIAIconRectangle.
  1279. 2008-12-31 Sandy Armstrong <[email protected]>
  1280. * FileDialog.cs: Add PopupButtonPanel.PopupButton.PerformClick method
  1281. and DirComboBox.DirComboBoxItem.ToString override for UIA support.
  1282. 2008-12-31 Ivan N. Zlatev <[email protected]>
  1283. * DataGridView.cs: Do not autogenerate duplicate column for a
  1284. data member that has already problematically been assigned one.
  1285. [Fixes bug #457305]
  1286. 2008-12-30 Jonathan Pobst <[email protected]>
  1287. * ProfessionalColorTable.cs: Better detection of user's theme.
  1288. [Fixes bug #462766]
  1289. 2008-12-30 Ivan N. Zlatev <[email protected]>
  1290. * DataGridView.cs: In the case where there are no autogenerated
  1291. columns and the user adds columns problematically we must generate
  1292. the rows after the very first column is added.
  1293. 2008-12-30 Carlos Alberto Cortez <[email protected]>
  1294. * DateTimePicker.cs: When increasing/decreasing the value of month
  1295. with ShowUpDown set to true, moving from december to january, and
  1296. moving from january to december should adjust the year to the next and
  1297. the previous year, respectively.
  1298. Fixes the remaining bits of #459674.
  1299. 2008-12-30 Ivan N. Zlatev <[email protected]>
  1300. * DataGridView.cs: If a new cell is selected edit mode should be
  1301. immediately enabled only if EditOnEnter is set. Whether the mouse
  1302. or not was used to select the cell is irrelevant.
  1303. 2008-12-29 Ivan N. Zlatev <[email protected]>
  1304. * DataGridView.cs: Remove a bogus ReBind call, which was causing
  1305. recursive rebinding.
  1306. 2008-12-24 Carlos Alberto Cortez <[email protected]>
  1307. * DateTimePicker.cs: Handle the "MMMM" month format.
  1308. Fixes #459674.
  1309. 2008-12-23 Ivan N. Zlatev <[email protected]>
  1310. * DataGridView.cs:
  1311. - Make ReBind private and refactor various calls to call ReBind
  1312. instead of ClearBinding/DoBinding
  1313. - Rebind when the column collection changes
  1314. * DataGridViewColumnCollection.cs:
  1315. - Leave the rebinding on change to be handled by the DataGridView.
  1316. 2008-12-23 Jonathan Pobst <[email protected]>
  1317. * DataGridView.cs: Add a ReBind convenience method.
  1318. * DataGridViewColumnCollection.cs: Rebind when a column is added.
  1319. [Fixes bug #462019]
  1320. 2008-12-23 Neville Gao <[email protected]>
  1321. * StatusBar.cs: Modified argument variable.
  1322. * SplitContainer.cs: Control enabled to support accessibility.
  1323. [Fixes Bug #455950]
  1324. 2008-12-22 Jonathan Pobst <[email protected]>
  1325. * ToolStripMenuItem.cs: Guard against an NRE.
  1326. [Fixes bug #457110]
  1327. 2008-12-22 Mario Carrion <[email protected]>
  1328. * Control.cs: AccessibleXXXX properties don't return
  1329. AccessibleObject.XXXX, instead a local referece is returned.
  1330. 2008-12-22 Neville Gao <[email protected]>
  1331. * PrintPreviewControl.cs: Added internal properties to support
  1332. accessibility.
  1333. [Fixes Bug #459699]
  1334. 2008-12-19 Mario Carrion <[email protected]>
  1335. * Control.cs: Reverted r121561.
  1336. 2008-12-19 Andrés G. Aragoneses <[email protected]>
  1337. * X11DesktopColors.cs: Since r121873 we don't need gtk a11y checks here,
  1338. it has been moved to the bridge.
  1339. 2008-12-18 Brad Taylor <[email protected]>
  1340. * DateTimePicker.cs: Add a few UIA specific events, and a couple
  1341. internal methods useful for UIA.
  1342. 2008-12-18 Mario Carrion <[email protected]>
  1343. * ListBox.cs: Fixed GetItemRectangle when MultiColumn is true.
  1344. [Fixes Bug #455752]
  1345. 2008-12-17 Mike Gorse <[email protected]>
  1346. * ListView.cs, ListViewItem.cs: Send OnUIAFocusedItemChanged if an
  1347. item's Focused property is set.
  1348. 2008-12-17 Sandy Armstrong <[email protected]>
  1349. * TreeView.cs:
  1350. * TreeNode.cs:
  1351. * TreeNodeCollection.cs: Add events for UIA support:
  1352. UIACheckBoxesChanged, UIALabelEditChanged, UIANodeTextChanged, and
  1353. UIACollectionChanged.
  1354. 2008-12-17 Bill Holmes <[email protected]>
  1355. * ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
  1356. SubItemStyle member field.
  1357. Contributed under MIT/X11 license.
  1358. 2008-12-16 Carlos Alberto Cortez <[email protected]>
  1359. * ListBox.cs: In MultiColumn mode don't use top_index to calculate the
  1360. y coord, since it's useless in this case, and we need to rely only on
  1361. the number of rows and ItemHeight to compute this value.
  1362. Fixes part of #257471.
  1363. 2008-12-15 Mike Gorse <[email protected]>
  1364. * StatusBar.cs: Send OnUIACollectionChanged in Remove().
  1365. 2008-12-15 Mario Carrion <[email protected]>
  1366. * Control.cs: Accessibility properties instantiate AccessibilityObject when
  1367. needed.
  1368. [Fixes Bug #459223]
  1369. 2008-12-15 Brad Taylor <[email protected]>
  1370. * ToolStripItem.cs: Add a UIA specific event for listening for when a
  1371. ToolStripItem becomes selected or deselected.
  1372. 2008-12-15 Carlos Alberto Cortez <[email protected]>
  1373. * MonthCalendar.cs: Select the date in MouseDown, not in MouseUp, as
  1374. .net does. Use the date in the point of the mouse move coords as the
  1375. new range as well, if the left button of the mouse is being pressed.
  1376. Fixes #364914.
  1377. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  1378. * MonthCalendar.cs: When modifying either AnnuallyBoldedDates,
  1379. MonthlyBoldedDates or BoldedDates call UpdateBoldedDates, to
  1380. effectively repaint the control.
  1381. Fixes the remaining bits of #417961.
  1382. 2008-12-12 Carlos Alberto Cortez <[email protected]>
  1383. * MonthCalendar.cs: When setting MaxDate/MinDate, adjust the selected
  1384. range to contain only dates within the new possible range.
  1385. Fixes part of #417961.
  1386. 2008-12-11 Carlos Alberto Cortez <[email protected]>
  1387. * MaskedTextBox.cs: MaskedTextService.Replace doesn't expect the
  1388. length of the text, but the end position, so we need to substract 1 to
  1389. have a valid value. Also, in the same InputText method, don't use
  1390. SelectionLength as the length of the text, since the selected text
  1391. could actually be empty, but we need to set the value anyway.
  1392. Fixes #457370.
  1393. 2008-12-10 Carlos Alberto Cortez <[email protected]>
  1394. * TextBox.cs: Don't do any auto complete task if the custom source is
  1395. null or empty. Also avoid duplication of code.
  1396. Fixes #457743.
  1397. 2008-12-09 Ivan N. Zlatev <[email protected]>
  1398. * DataGridView.cs: Refresh column sizes when new rows are added.
  1399. [Fixes bug #457050]
  1400. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  1401. * RichTextBox.cs: When parsing the contents of a rtf file, don't call
  1402. Split to create a line - we are already doing this, by _adding_ a new
  1403. one when rtf_cursor_x is 0 (this field gets this value just after we
  1404. receive the newline param as true). This avoids having a proportional number
  1405. of empty lines in the end of the rich text box.
  1406. Fixes #396664.
  1407. 2008-12-09 Carlos Alberto Cortez <[email protected]>
  1408. * RichTextBox.cs: When saving the contents as a plain text, don't add
  1409. a new line for every Line structure, since the data in Document
  1410. already contains the new line characters. This avoids duplicated new
  1411. lines using the Save methods.
  1412. Fixes #445618.
  1413. 2008-12-09 Sandy Armstrong <[email protected]>
  1414. * TreeView.cs: Expose ScrollBars as internal properties, for use by UIA
  1415. framework. Fixes bug #457678.
  1416. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1417. * DataGridViewRow.cs: Prevent an exception on a not yet databound grid,
  1418. where datasource is null.
  1419. [Fixes exception reported in bug 441240]
  1420. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1421. * DataGridView.cs: EndEdit validation fixes.
  1422. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1423. * DataGridView.cs: This is the cool patch that adds support for
  1424. actually updating the data in the databinding backend after editing.
  1425. With bonus firing and handling the DataError event.
  1426. 2008-12-08 Carlos Alberto Cortez <[email protected]>
  1427. * Line.cs: When calculating the text tags's Shift value, store it as
  1428. pixels instead of points. This way we can actually handle different
  1429. fonts in the same RichTextBox, as well as the right size of the caret.
  1430. Fixes part of #351938.
  1431. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1432. * DataGridViewCheckBoxCell.cs: Fix to make it work. Wrong value was
  1433. casted to CheckState causing InvalidCastExceptions.
  1434. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1435. * DataGridView.cs: Fix the DataGridViewEditMode.EditOnEnter behavior
  1436. to not depend on the item being clicked.
  1437. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1438. * DataGridView.cs: Implement NotifyCurrentCellDirty, so that it no
  1439. longer throws a NotImplementedException.
  1440. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1441. * DataGridView.cs: Set EditingControlFormattedValue when preparing an
  1442. IDataGridViewEditingControl for editing.
  1443. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1444. * DataGridViewComboBoxCell.cs: Implement data binding support.
  1445. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1446. * DataGridView.cs: Use the CurrencyManager to update the data source
  1447. binding position instead of casting the data sourcde to BindingSource.
  1448. This enables position updating for other type of data sources.
  1449. 2008-12-08 Ivan N. Zlatev <[email protected]>
  1450. * ComboBox.cs: Update the SelectedIndex before updating the Text
  1451. in OnDisplayMemberChanged.
  1452. 2008-12-07 Ivan N. Zlatev <[email protected]>
  1453. * DataGridView.cs: Fix our support for IDataGridViewEditingControl.
  1454. [Fixes bug #457112]
  1455. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1456. * DataGridView.cs: Sorting fixes:
  1457. - Be strict when sorting is enabled.
  1458. - If there is a data source delegate the sorting request.
  1459. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1460. * Binding.cs: When converting the data also try with the destination
  1461. type typeconverter. This indirectly adds support for Nullable types
  1462. in our databinding layer.
  1463. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1464. * DataGridView.cs: When cell editing is finished focus back the
  1465. DataGridView. Fixes keyboard navigation post-editing.
  1466. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1467. * DataGridView.cs: Fix the cell editing by delaying the currentCell
  1468. setting to after EndEdit is called for the old cell.
  1469. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1470. * BindingSource.cs: Reset the bindings. Fixes a NotWorking test.
  1471. 2008-12-06 Ivan N. Zlatev <[email protected]>
  1472. * XplatUIX11.cs: Send WM_HELP only to the focused window.
  1473. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1474. * CurrencyManager.cs: Fix exceptions when resetting the data source
  1475. for the same time (e.g. in ComboBox):
  1476. - Do not set the list position if we are still transferring data
  1477. - When resetting the list firstly push the data then update the
  1478. binding.
  1479. * Binding.cs: Check BindingManager.Position == -1 instead of
  1480. BindingManager.Current == null in order to avoid unexpected
  1481. exceptions.
  1482. 2008-12-05 Brad Taylor <[email protected]>
  1483. * MonthCalendar.cs: Add UIA specific events so that we can know when
  1484. the selection changes, and when MaxSelectedCount changes.
  1485. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1486. * DataGridView.cs: Cleanup rows_displayed out of OnPaint. It's not
  1487. used for anything.
  1488. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1489. * DataGridView.cs: Fix scrolling and selection of cells/rows prior
  1490. to the control being drawn for the first time by:
  1491. - Implement DisplayedRowsCount to not rely on the control being
  1492. already painted. Also added support for the partial row flag.
  1493. - Fix scrolling to take into account partial rows and scroll to
  1494. them.
  1495. [Fixes bug #456527]
  1496. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1497. * DataGridView.cs: Do not reset the CurrentCell when the handle is
  1498. created if the user has already set it.
  1499. 2008-12-05 Ivan N. Zlatev <[email protected]>
  1500. * DataGridView.cs: Fix CurrentCell to actually select the cell.
  1501. 2008-12-01 Carlos Alberto Cortez <[email protected]>
  1502. * XplatUIX11.cs: Add support to RichTextFormat by reading it as ascii
  1503. text and then let the underneath users of IDataObject interpret and
  1504. parse by themselves.
  1505. Fixes #439251.
  1506. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1507. * DataGridView.cs: Fix my previous commit to actually update what it
  1508. was supposed to.
  1509. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1510. * DataGridView.cs: Ensure that when a row is removed the all the
  1511. current row/column/cell get updated. Fixes multiple exceptions.
  1512. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1513. * DataGridView.cs: Fix scrolling to the current cell when key navigation
  1514. is used.
  1515. [Fixes bug #443560]
  1516. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1517. * DataGridView.cs, DataGridViewCell.cs: Fire CellStateChanged events.
  1518. * DataGridViewCell.cs: Set the cell as selected prior to setting the
  1519. new state.
  1520. [Fixes issue 1 in bug #443560]
  1521. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1522. * DataGridView.cs: Invalidate after the current row/column seletion
  1523. chagnes.
  1524. [Fixes bug #438434]
  1525. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1526. * DataGridView.cs: Refresh the data if the data list is reset, etc.
  1527. 2008-12-01 Ivan N. Zlatev <[email protected]>
  1528. * DataGridView.cs: Handle datasource state changes:
  1529. - IBindingList - list changes
  1530. - BindingSource - list changed and datasource changes
  1531. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1532. * DataGridView.cs: Select the first cell when databound.
  1533. Visually select when CurrentCell is set.
  1534. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1535. * DataGridView.cs: Set the current cell before raising CellClick.
  1536. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1537. * DataGridView.cs: Cleanup MoveCurrentCell to not fire any CellEnter,
  1538. CellLeave events as this is already done in SetCurrentCellAddressCore.
  1539. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1540. * DataGridView.cs: Set the minimum size for the columns to be the
  1541. width of their header, so that the columns don't get squashed
  1542. all together.
  1543. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1544. * DataGridView.cs: After the data is bound PerformLayout, so that
  1545. the columns get autosized.
  1546. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1547. * DataGridView.cs: Move all currentCell setting code into
  1548. one central place - SetCurrentCellAddressCore. That way the
  1549. current cell is properly updated when programatically set.
  1550. Fire RowEnter/Leave events.
  1551. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1552. * DataGridView.cs: Update the CurrencyManager.Position, so that
  1553. when a BindingSource is used BindingSource.Current will be correct.
  1554. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1555. * GroupBoxRenderer.cs: Fix when VisualStyles disabled:
  1556. - No caption text is drawn because Color.Empty is used.
  1557. - Fix top and height off by 1.
  1558. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1559. * DataGridViewRow.cs: Implement DataBoundItem.
  1560. 2008-11-30 Ivan N. Zlatev <[email protected]>
  1561. * BindingSource.cs: Return null for Current if there is no data present.
  1562. 2008-11-29 Carlos Alberto Cortez <[email protected]>
  1563. * MenuAPI.cs: Add a Menu.SelectedItem null check when navigating the
  1564. menus using the arrow keys. Also when handling the left arrow key, don't
  1565. assign the current menu to the parent one, if the parent is null.
  1566. Fixes #446392.
  1567. 2008-11-24 Everaldo Canuto <[email protected]>
  1568. * PrintPreviewDialog.cs: Fix toolbar size, height must be 26. Fixes bug
  1569. #413501.
  1570. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  1571. * Scrollbar.cs:
  1572. * ScrollableControl.cs: Simplify the code to manually set the size of
  1573. the thum area, avoiding duplication of code, and also preserving the
  1574. right value for different code paths - this can happen when size
  1575. changes are made to the scrollbar after setting LargeChange, Maximum
  1576. or related properties for the ScrollBar.
  1577. 2008-11-24 Carlos Alberto Cortez <[email protected]>
  1578. * ScrollableControl.cs: When scrolling, don't invalidate the entire
  1579. area, and call to XplatUIX11.ScrollWindow instead. This is exactly
  1580. what .Net does: copy the visible area, and only invalidate the part of
  1581. the area that wasn't visible before scrolling.
  1582. Fixes #441738.
  1583. 2008-11-24 Jonathan Pobst <[email protected]>
  1584. * DataGridView.cs: Listen for a DataTable's TableCleared event so we
  1585. can clear ourselves when it is raised, we don't have a newrowindex
  1586. if we don't have any columns.
  1587. * DataGridViewRowCollection.cs: Ensure we always delete all the rows,
  1588. re-index after each delete so the NewRow will have the correct index.
  1589. [Fixes bug #448005]
  1590. 2008-11-24 Jonathan Pobst <[email protected]>
  1591. * Form.cs: Don't change min/max size if it is empty.
  1592. [Fixes bug #447873]
  1593. 2008-11-23 Carlos Alberto Cortez <[email protected]>
  1594. * ScrollBar.cs:
  1595. * ScrollableControl.cs: When the manual thumb size is used, the
  1596. maximum allowed value should depend on that thumb size, instead of
  1597. LargeChange (using the maximum - LargeChange + 1 value). But
  1598. LargeChange should be used normally when incrementing/decrementing.
  1599. Fixes the remaining part of #441546.
  1600. 2008-11-23 Andreia Gaita <[email protected]>
  1601. * WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
  1602. until an about:blank has been loaded (according to spec). Fix
  1603. ScrollbarsEnabled to set when a document is loaded (since we use js
  1604. for it). Fix url so it reflects the current loading document and not
  1605. the previous one. Send StatusChanged events.
  1606. 2008-11-23 Andreia Gaita <[email protected]>
  1607. * Application.cs: If a message comes in for an embedded control
  1608. (like webbrowser) when we're capturing the keyboard, release the
  1609. capture and continue.
  1610. [fixes #429462]
  1611. 2008-11-22 Andreia Gaita <[email protected]>
  1612. * XplatUI.cs: Only use PlatformID.MacOSX enum when not building on VS
  1613. 2008-11-21 Andreia Gaita <[email protected]>
  1614. * WebBrowser.cs, HtmlDocument.cs: Fixes for #428172
  1615. 2008-11-21 Carlos Alberto Cortez <[email protected]>
  1616. * ScrollBar.cs:
  1617. * ScrollableControl.cs: Set manually the thumb size for the
  1618. ScrollableControl scrollbars, so any further changes to the underneath
  1619. scrollbars respect the original size.
  1620. Fixes part of #441546.
  1621. 2008-11-21 Geoff Norton <[email protected]>
  1622. * XplatUI.cs: Ensure that we can run on .net 2.0 with mono 2.2 where
  1623. PlatformID.MacOSX now exists.
  1624. 2008-11-20 Jonathan Pobst <[email protected]>
  1625. * TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
  1626. Having something internal abstract isn't very nice for people who want
  1627. to inherit from this class.
  1628. 2008-11-20 Jonathan Pobst <[email protected]>
  1629. * ToolStripItem.cs: Don't crash if ImageIndex or ImageKey is set to an
  1630. invalid value. Just return null for the Image, and use the ImageList's
  1631. ImageSize for calculations.
  1632. 2008-11-20 Jonathan Pobst <[email protected]>
  1633. * ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
  1634. through DroppedDown so the proper events get called and state gets reset.
  1635. [Fixes bug #446805]
  1636. 2008-11-18 Jonathan Pobst <[email protected]>
  1637. * DataGridViewColumnCollection.cs: Make sure we re-index the columns after
  1638. the collection is modified.
  1639. 2008-11-17 Jonathan Pobst <[email protected]>
  1640. * DomainUpDown.cs: Remove string cache and reflection optimizations. They
  1641. aren't always correct, and fixing them for every case is not worth the
  1642. negligible benefit they provide.
  1643. [Fixes bug #445713]
  1644. 2008-11-17 Jonathan Pobst <[email protected]>
  1645. * DataGridView.cs: We should never add actual cells to the RowTemplate.
  1646. Internally, use RowTemplateFull to give us a new row with cells.
  1647. * DataGridViewColumnCollection.cs: Clear Rows when we clear Columns.
  1648. * DataGridViewRowCollection.cs: Use RowTemplateFull.
  1649. 2008-11-17 Carlos Alberto Cortez <[email protected]>
  1650. * XplatUIX11.cs: Forms without borders should be able to change its
  1651. size - specially they should be able to be maximized, adding the
  1652. respective MotifFunctions.Resize bit when setting window properties as
  1653. well as *not* marking the Hwnd as size fixed.
  1654. Fixes #444347.
  1655. 2008-11-12 Jonathan Pobst <[email protected]>
  1656. * DataGridViewCellStyle.cs: Allow SelectionBackColor to have
  1657. an alpha value.
  1658. [Fixes bug #444348]
  1659. 2008-11-11 Jonathan Pobst <[email protected]>
  1660. * DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
  1661. * DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes. Raise
  1662. AutoSizeColumnModeChanged.
  1663. [Fixes bug #443609]
  1664. 2008-11-11 Jonathan Pobst <[email protected]>
  1665. * DataGridViewRowCollection.cs: Guard against the user deleting the
  1666. NewRow. Add an internal delete so we can still delete it.
  1667. * DataGridView.cs: Use the new internal delete when deleting the NewRow.
  1668. [Fixes bug #442181]
  1669. 2008-11-10 Jonathan Pobst <[email protected]>
  1670. * TextControl.cs: Add some order of operation to our math so
  1671. we don't end up with a negative height for our invalidate rect.
  1672. [Fixes bug #381889]
  1673. 2008-11-10 Jonathan Pobst <[email protected]>
  1674. * Control.cs: When our enabled changes, notify our implicit children
  1675. controls as well as our regular controls.
  1676. [Fixes bug #441523]
  1677. 2008-11-08 Andreia Gaita <[email protected]>
  1678. * HtmlElement.cs: Small code cleanup
  1679. 2008-11-06 Carlos Alberto Cortez <[email protected]>
  1680. * BindingNavigator.cs: MoveFirstItem should be enabled only if
  1681. position is larger than 0, not only different than 0. Also Position
  1682. and Count items should be enabled if the BindingSource is non null and
  1683. non empty.
  1684. Fixes #439961.
  1685. 2008-11-05 Jonathan Pobst <[email protected]>
  1686. * TabControl.cs: Don't raise SelectedIndexChanged until we have
  1687. actually modified the tab collection, so TabCount will be correct.
  1688. [Fixes bug #441896]
  1689. 2008-11-05 Sandy Armstrong <[email protected]>
  1690. * ListViewItem.cs: Mark ListViewSubItem.UIATextChanged event as
  1691. NonSerialized to fix serialization of ListViewItem.
  1692. 2008-11-04 Mike Gorse <[email protected]>
  1693. * ListView.cs: Call OnUIAFocusedItemChanged after completing the
  1694. focus change, and always call in SetFocusedItem.
  1695. * ListBox.cs: Add UIAFocusedItemChanged as in ListView.
  1696. 2008-11-04 Jonathan Pobst <[email protected]>
  1697. * ComboBox.cs: Only call OnDrawItem when we are using an OwnerDraw
  1698. mode. Based on a patch by John Mortlock.
  1699. [Fixes bug #436790]
  1700. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  1701. * ListView.cs: Use the UsingGroups property where needed, instead of
  1702. duplicating the check in other places.
  1703. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  1704. * ListView.cs: When calculating layout, refresh the count of items
  1705. belonging to the default item, insteas of doing it only one time. This
  1706. was already working fine for icon views, not not for details.
  1707. Fixes #438948.
  1708. 2008-11-03 Carlos Alberto Cortez <[email protected]>
  1709. * ListView.cs:
  1710. * ListViewItem.cs:
  1711. * ThemeWin32Classic.cs: Don't render Tile view if there wasn't a call
  1712. to Applicatin.EnableVisualStyles, and use LargeIcon view, as .net
  1713. does.
  1714. Fixes #437933.
  1715. 2008-11-03 Sandy Armstrong <[email protected]>
  1716. * ListView.cs: Wrap call to OnUIAFocusedItemChanged with #if NET_2_0.
  1717. 2008-11-03 Sandy Armstrong <[email protected]>
  1718. * ListView.cs: Add internal UIAFocusedItemChanged event. Fixes bug
  1719. #441280, patch by Mike Gorse <[email protected]>.
  1720. 2008-11-03 Jonathan Pobst <[email protected]>
  1721. * TreeView.cs: When doing ExpandAll, don't scroll to the bottom
  1722. if there is no scrollbar.
  1723. [Fixes bug #440885]
  1724. 2008-11-03 Jonathan Pobst <[email protected]>
  1725. * ProgressBar.cs, ThemeWin32Classic.cs, ThemeVisualStyles.cs: Commit
  1726. patch from Andy Hume that fixes many issues with ProgressBar.
  1727. [See bug #440220]
  1728. 2008-11-03 Jonathan Pobst <[email protected]>
  1729. * Form.cs: Don't allow MinimumSize and MaximumSize to conflict.
  1730. [Fixes bug #438866]
  1731. 2008-11-03 Sandy Armstrong <[email protected]>
  1732. * UpDownBase.cs:
  1733. * DomainUpDown.cs:
  1734. * NumericUpDown.cs: Internal events added to UpDownBase:
  1735. UIAUpButtonClick and UIADownButtonClick. Patch by Neville Gao
  1736. <[email protected]>.
  1737. 2008-11-03 Sandy Armstrong <[email protected]>
  1738. * ToolStripLabel.cs: Internal event added: UIAIsLinkChanged.
  1739. 2008-11-02 Carlos Alberto Cortez <[email protected]>
  1740. * ListView.cs:
  1741. * ThemeWin32Classic.cs: Don't use groups nor insertion mark in
  1742. Application.EnableVisualStyles hasn't been called.
  1743. Fixes part of #437933.
  1744. 2008-10-31 Andreia Gaita <[email protected]>
  1745. * Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
  1746. if the container is not focused already, we need to specifically set
  1747. focus to the first available control, or to the form itself if there
  1748. are no controls.
  1749. 2008-10-31 Andreia Gaita <[email protected]>
  1750. activate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
  1751. WM_ACTIVATE have been processed before returning, so it is guaranteed that
  1752. once it returns and the form is visible, it is actually on the screen on X11
  1753. * ContainerControl.cs: Only send focus to the control if the top container
  1754. is already focused. This is so that, when a form is first shown, all
  1755. the enter/leave events are done first before any focus stuff comes in.
  1756. If a control has no top container, there's an extra check on Control.Focus
  1757. to make sure it gets focused in this particular case.
  1758. * Control.cs: Force focus if the control is active but did not receive
  1759. focus after being set as active.
  1760. * MdiClient.cs: Dispose the form when closing
  1761. * XplatUIX11.cs: When mapping and unmapping windows, make sure the call
  1762. doesn't return until both WM_SHOWWINDOW and WM_ACTIVATE have come in
  1763. if the window is a top Form.
  1764. Reset all hwnd properties when the window has been destroyed so that
  1765. we don't land in any codepaths that might try to do something with it.
  1766. Added a bunch of debugging messages. If TRACE is defined, all X calls
  1767. are logged through DebugHelper. Set a few missing EntryPoint attributes.
  1768. 2008-10-29 Mario Carrion <[email protected]>
  1769. * ListViewItem.cs: Control enabled to support Accessibility:
  1770. - Internal events: UIATextChanged, UIASubItemTextChanged.
  1771. - Internal event UIATextChanged in ListViewSubItem that triggers
  1772. UIASubItemTextChanged.
  1773. * ListView.cs: Control enabled to support Accessibility:
  1774. - Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
  1775. UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
  1776. - Internal event UIACollectionChanged in ColumnHeaderCollection.
  1777. - Internal event UIACollectionChanged in ListViewItemCollection.
  1778. - Internal properties: UIAHeaderControl, UIAColumns, UIARows,
  1779. UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
  1780. - Internal methods: UIAGetHeaderBounds.
  1781. 2008-10-25 Carlos Alberto Cortez <[email protected]>
  1782. * ScrollableControl.cs: Actually fire the 2.0 Scroll event when we get
  1783. the event from the respective scrollbars.
  1784. Fixes #436709.
  1785. 2008-10-24 Carlos Alberto Cortez <[email protected]>
  1786. * ComboBox.cs: Use the new CanNavigateAutoCompleteList property of the
  1787. textbox to know whether any navigation key will be handled or not. If
  1788. not, don't pass the message to the textbox, and use it here instead.
  1789. * TextBox.cs: Define a new CanNavigateAutoCompleteList property -which
  1790. is more precise- than the previous AutoCompleteMatches one.
  1791. This should the keyboard navigation in ComboBox when using auto
  1792. complete modes.
  1793. 2008-10-24 Jonathan Pobst <[email protected]>
  1794. * ComboBox.cs: Fix item height calculation based off Font to match .Net.
  1795. [Fixes bug #436730]
  1796. 2008-10-24 Jonathan Pobst <[email protected]>
  1797. * ToolStripDropDownItem.cs: Call OnClick instead of base.OnClick so
  1798. overridden methods will get called.
  1799. * ToolStripItem.cs: Raise Click before MouseUp.
  1800. * ToolStripSplitButton.cs: Fix up some bounding rectangles to take
  1801. the item's location into account.
  1802. [Fixes bug #437683]
  1803. 2008-10-24 Neville Gao <[email protected]>
  1804. * NumericUpDown.cs: Control enabled to support accessibility.
  1805. [Fiexes bug #438135]
  1806. 2008-10-23 Carlos Alberto Cortez <[email protected]>
  1807. * TextBox.cs: Check that we actually have items no navigate, select
  1808. text when pressing enter, as well as handle direction keys only if
  1809. mode is different to Suggest or the suggest listbox is visible.
  1810. 2008-10-23 Andreia Gaita <[email protected]>
  1811. * WebBrowser.cs: Use the new ContentStream property to retrieve
  1812. a stream encoded from the document content
  1813. 2008-10-23 Andreia Gaita <[email protected]>
  1814. * HtmlDocument.cs,
  1815. HtmlElement.cs,
  1816. HtmlWindow.cs: Fix GetHashcode for null objects
  1817. 2008-10-22 Andreia Gaita <[email protected]>
  1818. * HtmlDocument.cs,
  1819. HtmlElement.cs,
  1820. HtmlWindow.cs: Fix equality operators (fixes #428173)
  1821. 2008-10-21 Jonathan Pobst <[email protected]>
  1822. * XplatUIWin32.cs: Apply patch from John Mortlock that ensures
  1823. mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
  1824. [Fixes bug #436772]
  1825. 2008-10-21 Jonathan Pobst <[email protected]>
  1826. * ComboBox.cs: Fire SelectedIndexChanged when the user selects the
  1827. same item with the mouse as was already selected.
  1828. [Fixes bug #436789]
  1829. 2008-10-21 Brad Taylor <[email protected]>
  1830. * TextControl.cs: Break out code to get the visible range into
  1831. GetVisibleLineIndexes to be used in UIA code.
  1832. * Line.cs:
  1833. * TextControl.cs:
  1834. * TextBoxBase.cs: Add comments indicating that the method or property
  1835. is used via reflection from UIA code.
  1836. 2008-10-20 Carlos Alberto Cortez <[email protected]>
  1837. * ListViewItem.cs: Match .net serialization.
  1838. Fixes remaining part of #417520.
  1839. 2008-10-20 Jonathan Pobst <[email protected]>
  1840. * ToolStripProfessionalRenderer.cs: Don't paint over a set BackgroundImage.
  1841. 2008-10-20 Mario Carrion <[email protected]>
  1842. * ErrorProvider.cs, ToolTip.cs, HelpProvider.cs: UIA internal property
  1843. added: UIAToolTipRectangle.
  1844. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  1845. * ListViewItem.cs: When deserializing enumerate over the data, instead
  1846. of accessing the data directly. This way we handle much better the
  1847. cases were we lack information.
  1848. Fixes #417520.
  1849. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  1850. * ListView.cs: When removing an item from a main ListView.Items
  1851. collection (and not a ListViewGroupCollection.Items one), remove it
  1852. also from the group, as .net does. Patch by Mario Carrion (mario at
  1853. novell dot com).
  1854. Fixes #436653.
  1855. 2008-10-19 Andreia Gaita <[email protected]>
  1856. * Form.cs: Forms that get closed without a handle being created are
  1857. disposed in 2.0. Fixes failing FormTest.FormClose and
  1858. FormTest.FormClose2 on windows.
  1859. 2008-10-18 Carlos Alberto Cortez <[email protected]>
  1860. * ListView.cs: If both scrollbars are visible, the vertical one
  1861. shouldn't extend too far down.
  1862. Fixes #435771.
  1863. 2008-10-17 Jonathan Pobst <[email protected]>
  1864. * DataGridView.cs: Add the ability to resize columns and rows with
  1865. the mouse. Also support double-clicking to autoresize.
  1866. * DataGridViewColumn.cs: Invalidate the grid if a column's width changes.
  1867. * DataGridViewRow.cs: Invalidate the grid if a row's height changes.
  1868. * DataGridViewTextBoxCell.cs: Add 1 to preferred width so ellipsis
  1869. isn't shown on autoresize.
  1870. [Fixes bug #420193]
  1871. 2008-10-17 Mario Carrion <[email protected]>
  1872. * ComboBox.cs: Remove UIAListbox.
  1873. 2008-10-17 Mario Carrion <[email protected]>
  1874. * ComboBox.cs, ListBox.cs: Using added/removed item in
  1875. OnUIACollectionChangedEvent instead of index.
  1876. 2008-10-17 Jonathan Pobst <[email protected]>
  1877. * ComboBox.cs: When we are sorting the items, if the item's type
  1878. doesn't support IComparer, use a default one that compares based
  1879. off the item's visible text.
  1880. [Fixes bug #436328]
  1881. 2008-10-17 Carlos Alberto Cortez <[email protected]>
  1882. * ColumnHeader.cs: Invalidate ListView.header_control when setting
  1883. ImageIndex/ImageKey.
  1884. * ThemeWin32Classic.cs: When drawing the column header, draw a image
  1885. for the column if available, and make the required adjustments to the
  1886. text location.
  1887. Fixes #435105.
  1888. 2008-10-17 Neville Gao <[email protected]>
  1889. * StatusBarPanel.cs: Control enabled to support accessibility.
  1890. [Fixes bug #435988]
  1891. 2008-10-16 Jonathan Pobst <[email protected]>
  1892. * DataGridView.cs: When a user begins an edit in the 'new row',
  1893. make that a real row, and add a new 'new row'. If the user
  1894. cancels the edit, remove the new 'new row' and reset everything.
  1895. Also, ensure UserAddedRow and UserRemovedRow events are raised.
  1896. [Fixes bug #430954]
  1897. 2008-10-16 Ivan N. Zlatev <[email protected]>
  1898. * TableLayoutSettings.cs: Fix NREs when deserializing and
  1899. panel is not yet set.
  1900. [Fixes bug #436199]
  1901. 2008-10-16 Jonathan Pobst <[email protected]>
  1902. * DataGridView.cs: Invalidate after deleting a row.
  1903. 2008-10-16 Jonathan Pobst <[email protected]>
  1904. * DataGridView.cs: Handle Enter and Escape keys.
  1905. - Move call to EndEdit to MoveCurrentCell.
  1906. - Remove call to EndEdit from navigation key routines.
  1907. - Fire CellLeave and CellEnter.
  1908. 2008-10-16 Jonathan Pobst <[email protected]>
  1909. * DataGridViewCell.cs: Some fixes to the new cell border
  1910. painting code.
  1911. 2008-10-16 Jonathan Pobst <[email protected]>
  1912. * ThemeEngine.cs: Enable visualstyles rendering by default
  1913. (on platforms that support it).
  1914. 2008-10-15 Ivan N. Zlatev <[email protected]>
  1915. * XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before
  1916. MainForm.OnLoad has completed unless DoEvents is forced.
  1917. [Fixes bug #412536]
  1918. 2008-10-15 Jonathan Pobst <[email protected]>
  1919. * ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.
  1920. 2008-10-15 Jonathan Pobst <[email protected]>
  1921. * Control.cs: Make our implementation of DrawToBitmap better
  1922. match WmPaint. [Fixes bug #435579]
  1923. 2008-10-14 Andreia Gaita <[email protected]>
  1924. * WebBrowser.cs: Use DocumentElement as the document's root for the
  1925. whole content. Should fix DocumentText and DocumentStream problems.
  1926. 2008-10-14 Jonathan Pobst <[email protected]>
  1927. * DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
  1928. these will get called in DGV.OnCollectionChanged. Make sure
  1929. OnCollectionChanged always gets called.
  1930. * DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
  1931. from every row. Call this in OnCollectionChanged.
  1932. [Fixes bug #433669]
  1933. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  1934. * ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
  1935. textbox if auto complete is used, since we need to navigate over it.
  1936. And in this case don't pass this messages to the base impl. Also hide
  1937. the auto complete list box when displaying the drop down listbox.
  1938. * TextBox.cs: new internal members to expose some of the auto complete
  1939. functionality to combobox.
  1940. 2008-10-13 Ivan N. Zlatev <[email protected]>
  1941. * XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
  1942. MainForm.OnLoad has completed.
  1943. [Fixes bug #412536]
  1944. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  1945. * TextBox.cs: Apply an old-approved patch that adds autocomplete's
  1946. Append support to this controls. We need it to apply new patches.
  1947. 2008-10-12 Carlos Alberto Cortez <[email protected]>
  1948. * Control.cs: When updating z order in child controls, send to back
  1949. the implicit controls. Also, do it explicitly, instead of making
  1950. GetAllControls return the implicit controls in a specific order, and
  1951. thus avoid depending on that, which could change in the future.
  1952. Fixes #434304.
  1953. 2008-10-11 Carlos Alberto Cortez <[email protected]>
  1954. * X11Dnd.cs: Try to call Application.DoEvents before returning in a
  1955. call to StartDrag, since we must fire DragDrop/DragLeave *before*
  1956. that, as .net does - instead of firing DragDrop/DragLeave *after* the
  1957. call to Control.DoDragDrop has completed. This is needed since at the
  1958. point of returning, we have sent related dnd ClientMessages, but we
  1959. need to wait for them to fire the wmf respective ones.
  1960. Fixes #325076.
  1961. 2008-10-09 Everaldo Canuto <[email protected]>
  1962. * LinkLabel.cs: Recreate link pieces when change Padding.
  1963. 2008-10-09 Everaldo Canuto <[email protected]>
  1964. * LinkLabel.cs: Take Padding into account when recreate link pieces.
  1965. [Fixes bug #412530]
  1966. 2008-10-08 Everaldo Canuto <[email protected]>
  1967. * Control.cs: Implement internal property PaddingClientRectangle, it will be
  1968. useful for drawing controls that must take care about Padding property.
  1969. 2008-10-08 Jonathan Pobst <[email protected]>
  1970. * BindingSource.cs: Make item_type internal so we can access it in DGV.
  1971. * DataGridView.cs: Add support for autogenerating columns from a
  1972. BindingSource.
  1973. 2008-10-07 Jonathan Pobst <[email protected]>
  1974. * DataGridView.cs: Comment out an exception that is getting thrown
  1975. too often currently.
  1976. 2008-10-07 Jonathan Pobst <[email protected]>
  1977. * DataGridView.cs: Always rebind to the datasource, as things may
  1978. have changed in it that we aren't capturing yet.
  1979. 2008-10-07 Jonathan Pobst <[email protected]>
  1980. * DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
  1981. drawing mode. If we are top aligned, give ourselves some top padding.
  1982. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  1983. * X11Dnd.cs: When firing the default dnd enter/leave events, fire the
  1984. events on the control under the mouse pointer, instead of firing them
  1985. on the window generating the dnd operation. To achieve this re-use the
  1986. code used to get the window under the pointer when getting MouseMove
  1987. events.
  1988. Fixes #381876.
  1989. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  1990. * X11Dnd.cs: Don't check that that the window sending the dnd events
  1991. is the owner of the selection. Although Gtk+ sets it that way, it's
  1992. not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
  1993. So, just as Gtk+ does, we set our window sending the dnd events as the
  1994. owner of the selection, but don't check it when receiving them. This
  1995. should fix interoperability with Qt/Kde.
  1996. Fixes #324251.
  1997. 2008-10-06 Jonathan Pobst <[email protected]>
  1998. * DataGridView.cs: Make sure we take the vertical scrollbar into
  1999. account when autosizing columns.
  2000. 2008-10-06 Jonathan Pobst <[email protected]>
  2001. * DataGridView.cs: Handle sorting datetimes.
  2002. 2008-10-04 Ivan N. Zlatev <[email protected]>
  2003. * ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs,
  2004. TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup
  2005. compilation warnings.
  2006. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2007. * RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs,
  2008. ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs,
  2009. ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs,
  2010. ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup
  2011. compilation warnings.
  2012. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2013. * DataGridView.cs, DataGridViewCell.cs,
  2014. DataGridViewCellValidatingEventArgs.cs,
  2015. DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs,
  2016. DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  2017. DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.
  2018. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2019. * HtmlElementEventArgs.cs, HtmlWindowCollection.cs:
  2020. Cleanup compilation warnings.
  2021. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2022. * XplatUIWin32.cs: Cleanup compilation warnings.
  2023. 2008-10-03 Ivan N. Zlatev <[email protected]>
  2024. * PropertyGrid.cs: Cleanup compilation warnings.
  2025. 2008-10-02 Jonathan Pobst <[email protected]>
  2026. * DataGridViewRow.cs: Only clear the row background if we
  2027. are going to paint a new background.
  2028. 2008-10-02 Jonathan Pobst <[email protected]>
  2029. * DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
  2030. DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
  2031. use PaintBorder instead.
  2032. 2008-10-02 Jonathan Pobst <[email protected]>
  2033. * DataGridView.cs: When CellBorderStyle is set, update the
  2034. AdvancedCellBorderStyle to match.
  2035. 2008-10-02 Jonathan Pobst <[email protected]>
  2036. * DataGridViewCell.cs: Add helper methods to convert Alignment
  2037. to TextFormatFlags and align rectangles.
  2038. * DataGridViewTextBoxCell.cs: Use Alignment when painting text.
  2039. * DataGridViewImageCell.cs: Use Alignment when painting the image.
  2040. 2008-10-02 Ivan N. Zlatev <[email protected]>
  2041. * ToolTip.cs: Display tooltips only for controls on the active form.
  2042. [Fixes bug #428115]
  2043. 2008-10-02 Jonathan Pobst <[email protected]>
  2044. * DataGridView.cs: Make OnCellValueNeeded internal.
  2045. * DataGridViewCell.cs: Raise the CellValueNeeded event so the
  2046. user can supply their own value if they choose.
  2047. 2008-10-02 Jonathan Pobst <[email protected]>
  2048. * DataGridViewColumnHeaderCell.cs: Create a new style object
  2049. so the DefaultCellStyle doesn't get changed.
  2050. 2008-10-02 Jonathan Pobst <[email protected]>
  2051. * ToolStripItem.cs: Check to make sure the owner is actually
  2052. changing in InternalOwner before doing any work. Fixes some
  2053. failing tests.
  2054. 2008-10-01 Jonathan Pobst <[email protected]>
  2055. * DataGridViewColumnHeaderCell.cs: Correctly calculate style.
  2056. * DataGridView.cs: Use a column header's inherited style instead
  2057. of just using the default.
  2058. 2008-10-01 Jonathan Pobst <[email protected]>
  2059. * SplitContainer.cs: Raise SplitterMoved when the splitter is
  2060. moved through code.
  2061. 2008-10-01 Mario Carrion <[email protected]>
  2062. * ScrollBar.cs: Internal property added: UIAThumbPosition.
  2063. 2008-10-01 Jonathan Pobst <[email protected]>
  2064. * ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
  2065. 2008-10-01 Jonathan Pobst <[email protected]>
  2066. * ToolStripItem.cs: When the user sets Owner, we need to remove
  2067. it from its previous owner and then add it to the new owner's
  2068. item collection. Also, create InternalOwner, so we can set the owner
  2069. that doesn't do this new stuff.
  2070. * ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
  2071. 2008-10-01 Jonathan Pobst <[email protected]>
  2072. * ToolStripItem.cs: When our parent changes, recalculate our text
  2073. size, since we may be getting our Font from our parent. When our
  2074. owner's Font changes, recalculate ourselves as we may be using
  2075. that font.
  2076. 2008-10-01 Everaldo Canuto <[email protected]>
  2077. * MenuAPI.cs: Select the first option of a popup when opening the popup via
  2078. return key. [Fixes bug #413792].
  2079. 2008-10-01 Jonathan Pobst <[email protected]>
  2080. * ToolStripItem.cs: Make Font, BackColor, and ForeColor be
  2081. ambient properties. (Get their value from their parents if
  2082. values haven't been set.)
  2083. 2008-10-01 Jonathan Pobst <[email protected]>
  2084. * ToolStripSystemRenderer.cs: Call overridden methods' bases
  2085. after our logic, so users can do painting by handling the events.
  2086. Currently, we draw over any user painting.
  2087. 2008-10-01 Jonathan Pobst <[email protected]>
  2088. * ToolStripProfessionalRenderer.cs: Call overridden methods' bases
  2089. after our logic, so users can do painting by handling the events.
  2090. Currently, we draw over any user painting.
  2091. 2008-09-30 Everaldo Canuto <[email protected]>
  2092. * MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.
  2093. 2008-09-30 Jonathan Pobst <[email protected]>
  2094. * TreeNode.cs, TreeView.cs: Move logic that determines the node
  2095. image to draw to TreeNode. Give Index/Keys put on the node
  2096. precedence over the global one for the TreeView.
  2097. 2008-09-30 Jonathan Pobst <[email protected]>
  2098. * TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
  2099. 2008-09-29 Mario Carrion <[email protected]>
  2100. * ListBox.cs: Index fixed.
  2101. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  2102. * TabControl.cs: When expanding the tab -because it's selected now-,
  2103. using Right alignment, instead of adding some selected delta value to
  2104. the X origin, substract it, so it gets a location adjacent to the panel,
  2105. instead of be more separated.
  2106. Fixes #409170.
  2107. 2008-09-29 Jonathan Pobst <[email protected]>
  2108. * MessageBox.cs: Use SystemIcons for graphics instead of keeping our
  2109. own copies of them.
  2110. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  2111. * X11Dnd.cs: source and related fields should be set to IntPtr.Zero,
  2112. as well as the other static fields, to avoid using their previous
  2113. values my mistake when handling the dnd events. This should avoid
  2114. handling any status event after the drop has been finalized/cancelled.
  2115. 2008-09-28 Carlos Alberto Cortez <[email protected]>
  2116. * X11Dnd.cs: We have to send a dnd enter event as soon as we start the
  2117. operation, instead of waiting until we get any movement - this will
  2118. help us to have the data available in case no movement was detected
  2119. and _still_ we have to fire DragEnter and DragLeave/DragDrop events.
  2120. Finally add a windows.forms-only fallback to fire the mentioned events
  2121. if no movement at all was detected, just like .net does.
  2122. Fixes #381876.
  2123. 2008-09-27 Jonathan Pobst <[email protected]>
  2124. * ThemeWin32Classic.cs: When drawing a status bar panel, don't
  2125. return early if the text is empty because the icon doesn't get
  2126. drawn then. [Fixes bug #428113]
  2127. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  2128. * FileDialog.cs: Implement basic support for sorting by columns in
  2129. Details view. Patch by Eric Petit.
  2130. Fixes #428006.
  2131. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  2132. * ThemeWin32Classis.cs: When drawing gridlines take into account the
  2133. case where ListView.ItemSize hasn't been computed, and provide a
  2134. fallback as well. This prevents a division by 0.
  2135. 2008-09-24 Jonathan Pobst <[email protected]>
  2136. * ThemeVisualStyles.cs: Use ClientRectangle instead of Bounds to
  2137. correctly draw tooltip backgrounds.
  2138. 2008-09-24 Jonathan Pobst <[email protected]>
  2139. * ImageList.cs: Change CopyTo implementation to ensure clones are
  2140. created of our images.
  2141. [Fixes bug #409169]
  2142. 2008-09-24 Jonathan Pobst <[email protected]>
  2143. * Control.cs: When setting fonts, we need to ensure we change our
  2144. reference to the new font object, even if it represents the same
  2145. font as before. If we don't, the original font can get disposed
  2146. and we will still try to use it.
  2147. [Fixes bug #386450]
  2148. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  2149. * FileDialog.cs: Take into account Tile view when selecting the view
  2150. (2.0 profile).
  2151. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  2152. * ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
  2153. the item bounds, since we can't iterate over them in virtual mode.
  2154. Also fix wrong calculation of the gridlines when using scrolling.
  2155. Fixes #400390.
  2156. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  2157. * XplatUIX11.cs: When handling EnterNotify events, take into account
  2158. both the public and implicit controls when trying to detect the
  2159. grab/ungrab process. This should fix ListView selection in Details
  2160. view.
  2161. 2008-09-23 Jonathan Pobst <[email protected]>
  2162. * TreeView.cs: Redraw the whole node area when the selected node changes.
  2163. Things like state images were not getting redrawn because the invalid
  2164. rectangle was too small.
  2165. [Fixes bug #428211]
  2166. 2008-09-23 Mario Carrion <[email protected]>
  2167. * ListBox.cs: UIA Selection Pattern fully supported in ListBox control.
  2168. [Fixes bug #428993]
  2169. 2008-09-23 Jonathan Pobst <[email protected]>
  2170. * Form.cs: Do not set the Form's icon in the backend if showicon = false.
  2171. [Fixes bug #428114]
  2172. 2008-09-23 Jonathan Pobst <[email protected]>
  2173. * ThemeWin32Classic.cs: Allow tooltips to be multiline.
  2174. [Fixes bug #427884]
  2175. 2008-09-23 Jonathan Pobst <[email protected]>
  2176. * StatusBar.cs: Add tooltip support.
  2177. [Fixes bug #428113]
  2178. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  2179. * ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
  2180. alignments of sub items in Details view. Patch by John Mortlock (johnm at
  2181. hlaustralia.com.au).
  2182. Fixes #425360.
  2183. 2008-09-23 Neville Gao <[email protected]>
  2184. * StatusBar.cs: Add UIA event in AddInternal () to support accessibility.
  2185. [Fixes bug #419079]
  2186. 2008-09-22 Jonathan Pobst <[email protected]>
  2187. * TextBoxBase.cs: Set Text to "" instead of null in Clear().
  2188. [Fixes bug #428107]
  2189. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  2190. * ListView.cs: Don't do anything when EnsureVisible is called inside a
  2191. BeginUpdate/EndUpdate block.
  2192. Fixes #425049.
  2193. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  2194. * ListViewItem.cs: The semantics for the public .ctor of
  2195. ListViewSubItemCollection need us to already have a Text value for the
  2196. item, which in our implementation have as available *after* adding the
  2197. first sub item. So create an internal .ctor that satisfies our needs
  2198. and let the public .ctor have the same semantics as .net.
  2199. Fixes #427561.
  2200. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  2201. * ListControl.cs: Changes in Formatting related values should call
  2202. RefreshItems, as .net does.
  2203. * ComboBox.cs:
  2204. * ListBox.cs: In the respective overrides of RefreshItems calculate
  2205. layout as well as refreshing - again, this is what .net does.
  2206. Fixes #426168.
  2207. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  2208. * ListBox.cs: In UpdateTopItem, don' call to XplatUI.ScrollWindow,
  2209. since we are already doing that when we change the value of the
  2210. scrollbar or force the call to ScrollWindow in the same method. This
  2211. way we don't cause a Invalidate call for all the listbox bounds for
  2212. methods calling UpdateTopItem with an already updated top item. This
  2213. was happening specially calling EnsureVisible with already visible
  2214. items.
  2215. 2008-09-18 Mike Gorse <[email protected]>
  2216. * Application.cs, IKeyFilter.cs, X11Keyboard.cs, XplatUI.cs,
  2217. XplatUIStructs.cs: Added KeyFilter
  2218. [Fixes bug #427039]
  2219. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  2220. * RelatedPropertyManager.cs: The properties returned by
  2221. GetItemProperties should be that ones of the *actual* object returned
  2222. by the property, not the property type - this is very special when the
  2223. property exposes a type, but the returned object actually is a child
  2224. class and implements more functionality and properties.
  2225. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  2226. * Binding.cs: Don't look for the property in the data source if the
  2227. passed string is empty.
  2228. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2229. * XplatUIX11.cs: Comment out _NET_WM_WINDOW_TYPE_DIALOG in order to
  2230. fix unused variable warnings.
  2231. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2232. * XplatUIX11.cs: Send WM_HELP when F1 is pressed.
  2233. [Fixes bug #427073]
  2234. 2008-09-18 Ivan N. Zlatev <[email protected]>
  2235. * XplatUIX11.cs:
  2236. - Do not set _NET_WM_WINDOW_TYPE_DIALOG for modal forms, because this
  2237. leads to the window manager overriding our border style and zorder.
  2238. - Allow the activation of non-modal forms, which are children of a
  2239. modal form.
  2240. [Fixes bug #423417]
  2241. 2008-09-17 Ivan N. Zlatev <[email protected]>
  2242. * XplatUIX11.cs, X11Structs.cs: For mapped windows SetTopMost should
  2243. ask the window manager to do the work instead of changing the property
  2244. directly.
  2245. [Fixes bug #423417]
  2246. 2008-09-17 Everaldo Canuto <[email protected]>
  2247. * CurrencyManager.cs: Check for positon before call ChangeRecordState in
  2248. AddNew to fix some navigation for empty datasets. [Fixes #323053]
  2249. 2008-09-17 Everaldo Canuto <[email protected]>
  2250. * FileDialog.cs: Remove OnPaint method on PopupButtonPanel and set
  2251. InternalBorderStyle to BorderStyle.Fixed3D. It is the best way to get 3d
  2252. border and fixes some drawing issues when resize form.
  2253. 2008-09-17 Everaldo Canuto <[email protected]>
  2254. * FileDialog.cs: Lots of layout fixes to mimic Win32. [Fixes #408752]
  2255. * ThemeWin32Classic.cs: We don't need to reduce button size when it is
  2256. AcceptButton.
  2257. 2008-09-17 Ivan N. Zlatev <[email protected]>
  2258. * TextBoxBase.cs: For standard textbox the scrollbars are always
  2259. visible if Multiline is true.
  2260. [Fixes bug #426896]
  2261. 2008-05-12 Everaldo Canuto <[email protected]>
  2262. * DataGridTextBoxColumn.cs: Uncomment code accidentally commited in last
  2263. patch.
  2264. 2008-05-12 Everaldo Canuto <[email protected]>
  2265. [Fixes most od DBNull and HeadersVisible problems]
  2266. * DataGrid.cs:
  2267. - ShowingColumnHeaders removed because we dont need it, ColumnHeadersVisible
  2268. returns the value that we need.
  2269. - Fixed FromPixelToColumn method that return zero for first column and for
  2270. row header cell, now it returns -1 for row header cell.
  2271. - Fixed HitTest to check row header cell in column header area, it now
  2272. returns HitTestType.None. [Fixes #322864]
  2273. - Fixed the calculation of visible columns in UpdateVisibleColumn, now it
  2274. checks for RowHeadersVisible and other things.
  2275. - If an exception occurs when setting CurrentCell and user type 'yes' in
  2276. message dialog, invalidade current and new cell and set setting_current_cell
  2277. to false to prevent future errors. [Partially fixes #323050]
  2278. * DataGridColumnStyle.cs: Don't call EndEdit after set property_descriptor
  2279. value (SetColumnValueAtRow), it must be done by grid to properly show
  2280. messages. [Fixes #323050]
  2281. * ThemeWin32Classic.cs: Lots of fixes in DataGridPaintColumnHeaders to
  2282. better draw column and row header. Also dont draw anything when column
  2283. headers is not visible.
  2284. 2008-09-16 Jonathan Pobst <[email protected]>
  2285. * ThemeWin32Classic.cs: Hook ListViewItems into the ShowFocusCues
  2286. logic.
  2287. 2008-09-16 Jonathan Pobst <[email protected]>
  2288. * TreeView.cs: Don't start editing a node on right click, only
  2289. left click.
  2290. 2008-09-16 Jonathan Pobst <[email protected]>
  2291. * NativeWindow.cs: Reenable the ThreadExceptionDialog I accidentally
  2292. disabled over a year ago.
  2293. * Form.cs: Wrap calling Load in a try/catch because it can happen
  2294. before the catch-all one in NativeWindow.
  2295. [Fixes bug #425414]
  2296. 2008-09-16 Jonathan Pobst <[email protected]>
  2297. * ToolStripDropDownMenu.cs: Calculate the connected area better
  2298. to take into account when the drop down is not directly under the
  2299. owner item.
  2300. * ToolStripProfessionalRenderer.cs: Draw the whole unconnected area.
  2301. 2008-09-16 Mario Carrion <[email protected]>
  2302. * ScrollBar.cs: New event added: UIAValueChanged, generated when
  2303. LargeChange, SmallChange, Maximum or Minimum values are changed.
  2304. [Fixes bug #426464]
  2305. 2008-09-16 Mario Carrion <[email protected]>
  2306. * ErrorProvider.cs: Component enabled to support accessibility.
  2307. * Application.cs: Updated to Initialize UIA in ErrorProvider.
  2308. [Fixes bug #426459]
  2309. 2008-09-16 Jonathan Pobst <[email protected]>
  2310. * TextBoxBase.cs: Flag has_been_focused when SelectionStart is set
  2311. so we don't highlight on first focus.
  2312. [Fixes bug #360869]
  2313. 2008-09-16 Jonathan Pobst <[email protected]>
  2314. * TextControl.cs: Correctly calculate the height of the area we
  2315. need to invalidate when we have started scrolling and viewport_y
  2316. is used. [Fixes bug #387608]
  2317. 2008-09-16 Jonathan Pobst <[email protected]>
  2318. * TextControl.cs: When getting the SelectedText, don't add in
  2319. NewLine characters, as they are already contained in the lines.
  2320. [Fixes bug #388115]
  2321. 2008-09-16 Jonathan Pobst <[email protected]>
  2322. * TextBoxBase.cs: Replace the buggy Lines setter with one that
  2323. simply concats the lines and send it to the Text setter.
  2324. [Fixes issue #2 and #3 of 388115]
  2325. 2008-09-16 Carlos Alberto Cortez <[email protected]>
  2326. * Binding.cs: The default value of DataSourceNullValue should be
  2327. Convert.DBNull actually. Also, the NullValue should only be used *if*
  2328. itself is not null, and use the null/Convert.DBNull value instead.
  2329. 2008-09-15 Jonathan Pobst <[email protected]>
  2330. * TextControl.cs: Add a method to convert a string newline to the
  2331. newline enum.
  2332. * TextBoxBase.cs: When the user hits enter, insert a native newline.
  2333. [Fixes part 1 of bug #388115]
  2334. 2008-09-15 Mario Carrion <[email protected]>
  2335. * ToolTip.cs: UnPopup event set to internal to match public API.
  2336. 2008-09-15 Jonathan Pobst <[email protected]>
  2337. * TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
  2338. have to remove the Ctrl in order for the focus moving code to kick in.
  2339. [Fixes bug #426170]
  2340. 2008-09-15 Jonathan Pobst <[email protected]>
  2341. * CheckedListBox.cs: Return the real item index from Add. It may not be
  2342. the last item if the list is sorted. The user can change the NewValue in
  2343. the ItemCheck event, we need to use that value if so.
  2344. * ListBox.cs: Return the real item index from a sorted Add.
  2345. [Fixes bug #426166]
  2346. 2008-09-15 Ivan N. Zlatev <[email protected]>
  2347. * MimeIcon.cs: Add null checks in the GnomeHandler, because it might
  2348. happen that the icons from the theme is missing or the particular size
  2349. unavailable.
  2350. [Fixes bug #424981]
  2351. 2008-09-15 Carlos Alberto Cortez <[email protected]>
  2352. * Binding.cs: When assigning null or DBNull depending on value/ref type,
  2353. use IsValueType instead to get the precise desired value.
  2354. Fixes #424276.
  2355. 2008-09-12 Jonathan Pobst <[email protected]>
  2356. * TreeNodeCollection.cs: When adding a new node to an opened node,
  2357. we have to invalidate everything below the parent node because
  2358. every node scoots down and we have to repaint them.
  2359. [Fixes bug #411386]
  2360. 2008-09-12 Jonathan Pobst <[email protected]>
  2361. * ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
  2362. property into account when drawing.
  2363. [Fixes bug #416064]
  2364. 2008-09-12 Carlos Alberto Cortez <[email protected]>
  2365. * ListBox.cs: When calling Items.Clear(), call
  2366. SelectedIndexCollection.ClearCore instead of normal Clear method, to
  2367. not fire any Selected*Changed event - this is done to match .net and
  2368. don't have invalid values when changing the DataSourceProperty.
  2369. Fixes #424273.
  2370. 2008-09-12 Mario Carrion <[email protected]>
  2371. * HelpProvider.cs: Control enabled to support accessibility.
  2372. * Application.cs: Updated to Initialize UIA in HelpProvider.
  2373. [Fixes bug #425988]
  2374. 2008-09-12 Jonathan Pobst <[email protected]>
  2375. * Form.cs: When we are showing a dialog box, if its owner is TopMost,
  2376. make the dialog TopMost as well.
  2377. [Fixes bug #425984]
  2378. 2008-09-12 Jonathan Pobst <[email protected]>
  2379. * Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
  2380. clipboard data better.
  2381. [Fixes bug #414446]
  2382. 2008-09-12 Jonathan Pobst <[email protected]>
  2383. * TextBoxBase.cs: Applied patch from John Mortlock that ensures
  2384. TextChanged and SelectionChanged events fire in the same order as .Net.
  2385. [Fixes bug #425725]
  2386. 2008-09-12 Jonathan Pobst <[email protected]>
  2387. * DataGridView.cs: When sorting a column, if it only contains numbers,
  2388. do a numeric sort instead of a string sort.
  2389. [Fixes bug #425849]
  2390. 2008-09-12 Jonathan Pobst <[email protected]>
  2391. * TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
  2392. against NRE's when the settings have a null panel.
  2393. * TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
  2394. the panel gets set.
  2395. [Fixes bug #425647]
  2396. 2008-09-11 Mario Carrion <[email protected]>
  2397. * ToolTip.cs: Control enabled to support accessibility.
  2398. * Application.cs: Updated to Initialize UIA in ToolTip.
  2399. [Fixes bug #425277]
  2400. 2008-09-11 Jonathan Pobst <[email protected]>
  2401. * Control.cs: Make the custom Enumerator internal to fix build.
  2402. 2008-09-11 Jonathan Pobst <[email protected]>
  2403. * DataGridViewCheckBoxCell.cs: If our content is clicked and we aren't
  2404. already in edit mode, begin edit mode. Generally edit mode isn't
  2405. started until the second click, but CheckBoxes are special.
  2406. 2008-09-11 Jonathan Pobst <[email protected]>
  2407. * ErrorProvider.cs: Never try to add our icons to ContainerControl,
  2408. since that can be set to anything. Always add them to the Control's
  2409. parent. [Fixes bug #416058]
  2410. 2008-09-11 Jonathan Pobst <[email protected]>
  2411. * ListView.cs: Use a custom enumerator for ListViewItemCollection
  2412. so items can be deleted in a foreach.
  2413. [Fixes bug #425342]
  2414. 2008-09-11 Jonathan Pobst <[email protected]>
  2415. * DataGridViewRow.cs: Better implementation of GetPreferredHeight.
  2416. Store the user set explicit height so that the row can be AutoSized
  2417. and then when AutoSize is turned off, it can get its original size back.
  2418. * DataGridView.cs: Use the Row's GetPreferredHeight instead of
  2419. duplicating the logic. When setting AutoSizeRowsMode to None, reset
  2420. rows' heights back to their explicit values.
  2421. [Fixes bug #415780]
  2422. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  2423. * DateTimePicker.cs: When getting focus, select the checkbox if we are
  2424. already showing it. Also, don't change its value when pressing space
  2425. if the checkbox is not visible (ShowCheckBox as false). Finally, the
  2426. checkbox should remain selected as long as Checked is false, and the
  2427. other parts are disabled.
  2428. Fixes #424267.
  2429. 2008-09-11 Jonathan Pobst <[email protected]>
  2430. * MessageBox.cs: Handle shortcut keys to dialog buttons.
  2431. [Fixes bug #425425]
  2432. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  2433. * Binding.cs: When the value retrieved from the control property is
  2434. null, don't return Convert.DBNull for Nullable instances, since they
  2435. can *actually* get a null value.
  2436. Fixes #424265.
  2437. 2008-09-10 Jonathan Pobst <[email protected]>
  2438. * Control.cs: Add an internal field to force doublebuffering regardless
  2439. of what the public mechanisms are set to. This is because MS's native
  2440. controls are doublebuffered even though their .Net bits are set to false.
  2441. * ProgressBar.cs: Set force_double_buffer to true.
  2442. [Fixes bug #406595]
  2443. 2008-09-10 Jonathan Pobst <[email protected]>
  2444. * DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
  2445. the cell template.
  2446. * DataGridViewCheckBoxCell.cs: Add proper support for threestate.
  2447. * DataGridViewCell.cs: Implement GetEditedFormattedValue for types
  2448. without EditingControls, paint background selection for types without
  2449. EditingControls, reset the EditingCellValueChanged flag when the
  2450. cell's value is committed.
  2451. * DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
  2452. have EditingControls, remove a double call to a cell's OnContentClickInternal,
  2453. don't do cell changing logic in OnMouseDown if the cell didn't change.
  2454. [Fixes bug #420351]
  2455. 2008-09-10 Carlos Alberto Cortez <[email protected]>
  2456. * DateTimePicker.cs: Fix the edition of am/pm specifier.
  2457. 2008-09-09 Jonathan Pobst <[email protected]>
  2458. * TextControl.cs: Add "&" to the list of valid characters in a URL.
  2459. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  2460. * DateTimePicker.cs: Before incrementing or decrementing any part in
  2461. the textbox, end any current edit. Also when ending the current edit
  2462. use the editing_part_index field instead of the current selected
  2463. value, since they can be out of synch, and we really need to work on
  2464. the *real* current edit part. Finally when PartData.Selected changes,
  2465. always try to end any ongoing edit.
  2466. This should fix some small errors handling mouse navigation and
  2467. increase/decrease operations.
  2468. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  2469. * DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
  2470. respectively) should handled different, since the 12 hours format
  2471. needs the value typed by the user to be adjusted depending on the
  2472. a.m/p.m value, so it is preserved, and only changed when the value
  2473. reaches the 12 value (when it changes from a.m to p.m).
  2474. Fixes part of #416555.
  2475. 2008-09-08 Jonathan Pobst <[email protected]>
  2476. * ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
  2477. * ToolStripDropDownItem.cs: Don't fire events and such again if
  2478. ShowDropDown is called on an already dropped down item.
  2479. * ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
  2480. subitems, the user may add some in the DropDownOpening event.
  2481. [Fixes bug #417877]
  2482. 2008-09-08 Jonathan Pobst <[email protected]>
  2483. * ComboBox.cs: Fix IOORE when setting SelectedItem to null.
  2484. [Fixes bug #424270]
  2485. 2008-09-08 Jonathan Pobst <[email protected]>
  2486. * MdiClient.cs: When looking for menustrips on a child form to merge,
  2487. look inside ToolStripContainers.
  2488. [Fixes bug #424264]
  2489. 2008-09-08 Ivan N. Zlatev <[email protected]>
  2490. * ErrorProvider.cs: Unbreak my previous commit.
  2491. 2008-09-08 Ivan N. Zlatev <[email protected]>
  2492. * ErrorProvider.cs: Icon should always be 16x16.
  2493. [Fixes bug #424380]
  2494. 2008-09-07 Ivan N. Zlatev <[email protected]>
  2495. * GridEntry.cs: Invalidate the child items cache when the property
  2496. value changes.
  2497. 2008-09-07 Ivan N. Zlatev <[email protected]>
  2498. * GridEntry.cs, PropertyGridView.cs:
  2499. - Update the ReadOnly detection and rendering to finally hopefully
  2500. match the one of MSFT.
  2501. - Niceify and move the debug CWLS.
  2502. [Fixes bug #409028]
  2503. 2008-09-05 Carlos Alberto Cortez <[email protected]>
  2504. * ListView.cs: Don't call Invalidate at all from SetItemLocation,
  2505. since we are already calling Invalidate for the entire control when
  2506. needed - and call Redraw() when size changes, since we need to paint
  2507. there by ourselved and not anymore from the mentioned method.
  2508. This should improve the layout process. Also clean some not needed calls
  2509. here and there.
  2510. 2008-09-05 Jonathan Pobst <[email protected]>
  2511. * MenuAPI.cs: Add a null check to the Alt-F4 code.
  2512. [Fixes bug #420309]
  2513. 2008-09-05 Jonathan Pobst <[email protected]>
  2514. * ThreadExceptionDialog.cs: Disable AutoScaling for this dialog.
  2515. [Fixes bug #423040]
  2516. 2008-09-04 Ivan N. Zlatev <[email protected]>
  2517. * GridEntry.cs, CategoryGridEntry.cs, RootGridEntry.cs, PropertyGrid.cs,
  2518. PropertyGridView.sc: Implement lazy/delayed propertygrid population
  2519. on item expansion. Improves performance and fixes bug #417955.
  2520. [Fixes bug #417955]
  2521. 2008-09-05 Stephane Delcroix <[email protected]>
  2522. * Control.cs: only check for OptimizedDoubleBuffer in NET_2_0.
  2523. fix the build.
  2524. 2008-09-04 Jonathan Pobst <[email protected]>
  2525. * TextControl.cs: Add "_" to the list of valid characters in a URL.
  2526. [Fixes bug #423408]
  2527. 2008-09-04 Jonathan Pobst <[email protected]>
  2528. * Control.cs: If using OptimizedDoubleBuffer, ensure the clip
  2529. region gets set.
  2530. [Fixes bug #414166]
  2531. 2008-09-04 Jonathan Pobst <[email protected]>
  2532. * FontDialog.cs: When storing our font size from the starting font,
  2533. use SizeInPoints instead of Size in case Size is a different unit
  2534. from Points.
  2535. [Fixes bug #416489]
  2536. 2008-09-04 Jonathan Pobst <[email protected]>
  2537. * FileDialog.cs: When enter is pressed on a SaveFileDialog and we
  2538. don't use it for anything else, check if a directory is highlighted.
  2539. If it is, navigate into it.
  2540. [Fixes bug #422087]
  2541. 2008-09-04 Carlos Alberto Cortez <[email protected]>
  2542. * Binding.cs: When acquiring a BindingManagerBase for the first time,
  2543. check that the specified property actually exists in the data source,
  2544. and throw an ArgumentException if that's not the case - this is only
  2545. done for this scenario, since for later cases (such Position changes)
  2546. we throw different exceptions (match .Net).
  2547. 2008-09-03 Ivan N. Zlatev <[email protected]>
  2548. * ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
  2549. FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
  2550. PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
  2551. TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
  2552. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
  2553. ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
  2554. properties.
  2555. [Fixes bug #418684]
  2556. 2008-09-03 Neville Gao <[email protected]>
  2557. * StatusBar.cs: Control enabled to support accessibility.
  2558. [Fixes bug #419079]
  2559. 2008-09-02 Carlos Alberto Cortez <[email protected]>
  2560. * Binding.cs: When connecting the event handler for the "Changed"
  2561. event for the property, only do it for PropertyManager, and not for
  2562. CurrencyManager - this is exactly what does .Net, totally ignoring any
  2563. change in the property of the elements of a list.
  2564. Fixes the tests.
  2565. 2008-09-02 Jonathan Pobst <[email protected]>
  2566. * XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
  2567. to Windows when creating a window, as we fake MDI stuffs.
  2568. [Fixes bug #421858]
  2569. 2008-09-01 Ivan N. Zlatev <[email protected]>
  2570. * TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
  2571. change takes effect.
  2572. 2008-08-24 Ivan N. Zlatev <[email protected]>
  2573. * XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
  2574. [Fixes bug #419001]
  2575. 2008-08-27 Jonathan Pobst <[email protected]>
  2576. * DataGridView.cs: Raise CellContentClick event.
  2577. [Fixes part of bug #420351]
  2578. 2008-08-27 Mario Carrion <[email protected]>
  2579. * ScrollBar.cs: Control enabled to support accessibility.
  2580. [Fixes bug #416759]
  2581. 2008-08-27 Mario Carrion <[email protected]>
  2582. * ComboBox.cs: Control enabled to support accessibility.
  2583. [Fixes bug #416663]
  2584. 2008-08-27 Mario Carrion <[email protected]>
  2585. * ListBox.cs: Control enabled to support accessibility.
  2586. [Fixes bug #416640]
  2587. 2008-08-27 Jonathan Pobst <[email protected]>
  2588. * ComboBox.cs: Don't suppress the TextChanged event when changing
  2589. the SelectedIndex.
  2590. * ToolStripComboBox.cs: Listen to the ComboBox's TextChanged event
  2591. and re-raise it.
  2592. [Fixes bug #420673]
  2593. 2008-08-26 Jonathan Pobst <[email protected]>
  2594. * ErrorProvider.cs: Fix a regression NRE when setting properties
  2595. for a control before it has a parent.
  2596. [Fixes bug #420305]
  2597. 2008-08-25 Carlos Alberto Cortez <[email protected]>
  2598. * Binding.cs: Use the BindingManagerBase.Current value to obtain
  2599. connect the property "Changed" event, instead of using the data
  2600. sources - this is useful when the property specifies actually a
  2601. multiple objects path.
  2602. Fixes part of #417973.
  2603. 2008-08-24 Carlos Alberto Cortez <[email protected]>
  2604. * RelatedPropertyManager.cs: PropertyManager instances associated to a
  2605. nested properties should return not the properties of the data source
  2606. itself, but the properties of the type of a specific property in the
  2607. data source - match .net.
  2608. 2008-08-24 Gert Driesen <[email protected]>
  2609. * ListBox.cs (IntegerCollection): To avoid duplication, moved code for
  2610. AddRange overloads into AddItems method, and added missing NULL check.
  2611. Added extra argument check to RemoveAt for compatibility with MS.
  2612. Modified IList implementation of Add, Contains, IndexOf and Remove to
  2613. throw an ArgumentException if item is not an int. Modified IList.Insert
  2614. to throw a NotSupportException instead of an Exception. Implemented
  2615. ICollection.
  2616. (ObjectCollection): To avoid duplication, use AddItems method from
  2617. AddRange overloads. On 1.0 profile, first perform NULL check on items
  2618. in AddItems.
  2619. 2008-08-23 Gert Driesen <[email protected]>
  2620. * Control.cs: Do not modify bounds directly in .ctor's. Fixes bug
  2621. #419087.
  2622. 2008-08-22 Atsushi Enomoto <[email protected]>
  2623. * X11Keyboard.cs : comment out some Console.WriteLine().
  2624. 2008-08-22 Atsushi Enomoto <[email protected]>
  2625. * X11Keyboard.cs : fixed wrong call to XOpenIM() which happened
  2626. even if premises are not filled. Also XLookupString() was not
  2627. receiving correct input, which blocked precise input handling
  2628. on non-XIM mode.
  2629. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  2630. * ListView.cs: When calling OnCacheVirtualItems, cast to the right
  2631. type of delegate, instead of EventHandler - this was causing a type
  2632. cast exception in all apps handling this event.
  2633. Fixes #417876.
  2634. 2008-08-20 Jonathan Pobst <[email protected]>
  2635. * ToolStripDropDownItem.cs: Always raise DropDownOpening in
  2636. ShowDropDown to give the user a chance to dynamically add
  2637. drop down items. [Step 1 of fixing bug #417877]
  2638. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  2639. * X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
  2640. had any mouse motion since the call to StartDrag, to match the dnd
  2641. behaviour of .net.
  2642. Fixes part of #381876.
  2643. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  2644. * XplatUIX11.cs: Only do the children control bounds check for EnterNotify
  2645. if mode is NotifyUngrab, and let it flow if mode is NotifyNormal.
  2646. Also, if we are actually moving into a different window after
  2647. grabbing, generate a LeaveNotify event for the previous window, since
  2648. we need to fire the leave events until the grab ends, not when
  2649. actually moving outside of the control.
  2650. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  2651. * XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
  2652. events only for client windows was wrong - we need to compare the
  2653. client window against the window receiving the EnterNotify event, not
  2654. against zero (since client window is never Zero, btw).
  2655. This prevents having unnecessary handling of EnterNotify events for
  2656. non-client windows when a gran begins.
  2657. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  2658. * XplatUIX11.cs: Handling X ButtonPress events, we must *not* generate
  2659. MouseMove/MotionNotify events at all (which should only happen after
  2660. MouseUp/ButtonRelease, as .Net does).
  2661. This avoids firing an extra and unnecessary MouseMove event just after
  2662. every MouseDown event.
  2663. 2008-08-19 Jonathan Pobst <[email protected]>
  2664. * LinkLabel.cs: Always clear any previous links when LinkArea
  2665. is set. [Fixes bug #410709]
  2666. 2008-08-19 Jonathan Pobst <[email protected]>
  2667. * ToolStripProfessionalRenderer.cs: Revert last change.
  2668. * ProfessionalColorTable.cs: For Classic, use SystemColors.Window
  2669. for ToolStripDropDownBackground.
  2670. 2008-08-19 Jonathan Pobst <[email protected]>
  2671. * ToolStripProfessionalRenderer.cs: Use Window color for the
  2672. background of dropdowns to match .Net when the user is not
  2673. using the default white. [Fixes bug #418108]
  2674. 2008-08-19 Atsushi Enomoto <[email protected]>
  2675. * XplatUIWin32.cs : SetTimer() used to set wrong window handle and
  2676. it caused timer registration twice. Fixed bug #418107.
  2677. 2008-08-18 Carlos Alberto Cortez <[email protected]>
  2678. [Correction: This is the actual change to X11Dnd issue, not the
  2679. previous one, which was actually a different issue.]
  2680. * X11Dnd.cs: Increase the interval for the Timer, to not fire our
  2681. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  2682. when the pointer is actually in motion, but only when the pointer
  2683. seems to stop (as .net does).
  2684. Fixes part of #381876.
  2685. 2008-08-18 Jonathan Pobst <[email protected]>
  2686. * ListBox.cs: Fix CopyTo implementation.
  2687. [Fixes bug #409169]
  2688. 2008-08-18 Jonathan Pobst <[email protected]>
  2689. * ThemeWin32Classic.cs: Use ClientRectangle instead of Bounds when
  2690. drawing a ComboBox's background. Fixes bad disabled rendering when
  2691. the control is not at 0,0.
  2692. [Fixes bug #416063]
  2693. 2008-08-16 Ivan N. Zlatev <[email protected]>
  2694. * GridEntry.cs: Leave the ICustomTypeDescriptor handling up to the
  2695. ComponentModel layer, which will properly prioritize the attributes.
  2696. Avoids wrong prioritization of duplicate attributes when retrieving
  2697. the converter and editor.
  2698. [Fixes bug #417729]
  2699. 2008-08-15 Carlos Alberto Cortez <[email protected]>
  2700. * XplatUIX11.cs: Increase the interval for the Timer, to not fire our
  2701. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  2702. when the pointer is actually in motion, but only when the pointer
  2703. seems to stop (as .net does).
  2704. Fixes part of #381876.
  2705. 2008-08-15 Ivan N. Zlatev <[email protected]>
  2706. * GridEntry.cs: Perform stricter check for the ParentEntry's
  2707. PropertyDescriptor/PropertyOwner for the ICustomTypeDescriptor
  2708. implementation.
  2709. [Fixes bug #417567]
  2710. 2008-08-14 Geoff Norton <[email protected]>
  2711. * XplatUICarbon.cs: Properly implement PeekMessage and DoEvents.
  2712. Fixes #396983. Properly fix ActiveWindow trackin and do not
  2713. prematurely show POPUP windows.
  2714. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  2715. * XplatUIX11.cs: Handle the obscured regions while scrolling using
  2716. GraphicsExpose event, processing it just after we copy the scrolled
  2717. area. This ensures that the next calls to ScrollWindow will copy
  2718. regions already updated, and the scrolling will be smooth. Also remove
  2719. the code that was trying to detect the obscured regions, since we are
  2720. not using it anymore (too slow).
  2721. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  2722. * ListBox.cs: Fix the -temporary- broken selection in ListBox for
  2723. MultiExtended mode, by separating some logic between the ctrl/shift
  2724. handling. Also ignore any MouseMove events generated together with
  2725. MouseDown events - we are only interested in the real motion event.
  2726. Fixes part of #414963.
  2727. 2008-08-08 Jonathan Pobst <[email protected]>
  2728. * DataGridViewCell.cs: Guard against an AOORE when checking if a cell
  2729. is selected. [Fixes bug #414143]
  2730. 2008-08-07 Ivan N. Zlatev <[email protected]>
  2731. * GridEntry.cs: Check if current property is a ICustomTypeDescriptor
  2732. and not the parent one (the propertyowner). Fixes the behavior of
  2733. GetConverter/GetEditor.
  2734. [Fixes bug #415452]
  2735. 2008-08-07 Ivan N. Zlatev <[email protected]>
  2736. * PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
  2737. [Fixes part of bug #415452]
  2738. 2008-08-05 Ivan N. Zlatev <[email protected]>
  2739. * GridEntry.cs: ITypeDescriptorContext should be relative to the parent
  2740. GridEntry, not the current.
  2741. [Fixes bug #413896]
  2742. 2008-08-04 Ivan N. Zlatev <[email protected]>
  2743. * TextBoxBase.cs: De-internalize max_length field.
  2744. * RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox
  2745. share the same logic.
  2746. [Fixes bug #414454]
  2747. 2008-08-03 Carlos Alberto Cortez <[email protected]>
  2748. * ListBox.cs: Selection changes made in the MouseDown handler should
  2749. use the *Core versions of selection in SelectedIndices collection,
  2750. since the SelectedIndexChanged/SelectedValueChanged events are fired
  2751. until we get a MouseUp event, and thus we need to separate the logic
  2752. from the events, as done in the keyboard navigation. Also, fire those
  2753. selection events from keyboard navigation in SelectionMode.None, even
  2754. if we don't have a selection, as .Net does.
  2755. 2008-08-01 Jonathan Pobst <[email protected]>
  2756. * ToolStripButton.cs, ToolStripMenuItem.cs: Guard against a NRE my
  2757. last change introduced when an item is clicked but isn't on a toolstrip.
  2758. 2008-07-31 Carlos Alberto Cortez <[email protected]>
  2759. * ListBindingHelper.cs: When looking for an object's properties, check
  2760. if it implements ICustomTypeDescriptor, in which case we should
  2761. resolve the propertu based on its GetProperties method, not in its
  2762. actual properties. This is what .Net seems to do.
  2763. Fixes a UsingWebBrowser problem during initialization.
  2764. 2008-07-31 Jonathan Pobst <[email protected]>
  2765. * ToolStrip.cs: Fix an NRE caused by clicking on a ToolStripButton
  2766. sitting on a MenuStrip.
  2767. 2008-07-31 Jonathan Pobst <[email protected]>
  2768. * ToolStripButton.cs: If we "click" a top button on a menustrip that has
  2769. no children with the keyboard, we need to release the keyboard capture.
  2770. [Fixes bug #413567]
  2771. 2008-07-31 Jonathan Pobst <[email protected]>
  2772. * ToolStripMenuItem.cs: If we "click" a top level menu item that has
  2773. no children with the keyboard, we need to release the keyboard capture.
  2774. [Fixes bug #413567]
  2775. 2008-07-31 George Giolfan <[email protected]>
  2776. * ThemeVisualStyles.cs: Made ScrollBar rendering less strict so it supports
  2777. the GTK+-based implementation of VisualStyles.
  2778. * ThemeWin32Classic.cs: Exposed various layout values for use in the
  2779. GTK+-based implementation of VisualStyles: ListViewGetHeaderHeight(Font),
  2780. ListViewGetHeaderHeight(), ProgressBarChunkSpacing, ProgressBarGetChunkSize(),
  2781. ProgressBarGetChunkSize(int), ProgressBarDefaultHeight,
  2782. TrackBarGetThumbSize(), TrackBarVerticalTrackWidth,
  2783. TrackBarHorizontalTrackHeight.
  2784. 2008-07-31 George Giolfan <[email protected]>
  2785. * TabControl.cs: Added hot style handling for the scroll buttons.
  2786. right_slider_state, left_slider_state are now of type PushButtonState to
  2787. allow for a hot state. Added tracking of the mouse button being held down
  2788. on a tab page. Extracted HasHotElementStyles, RightScrollButtonArea,
  2789. LeftScrollButtonArea.
  2790. * Theme.cs, ThemeWin32Classic.cs: Removed TabControlGetLeftScrollRect,
  2791. TabControlGetRightScrollRect.
  2792. 2008-07-30 Everaldo Canuto <[email protected]>
  2793. * MenuAPI.cs: Check for null GrabControl on ProcessMnemonic to prevent
  2794. runtime errors.
  2795. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2796. * Form.cs: Ensure that we reset the shown_raised flag after
  2797. the form is closed, so that we raise the show events the next
  2798. time the form is shown.
  2799. [Fixes bug #413141]
  2800. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2801. * Form.cs: Ensure closing events are raised only once.
  2802. [Fixes bug #413143]
  2803. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2804. * X11Keyboard.cs: Refactor SendKeyboardInput to accept the keycode,
  2805. so that we can successfully generate the LParam in-place instead of
  2806. in KeyEvent, which isn't called for e.g. MainMenu. Fixes keyboard
  2807. navigation for menus.
  2808. 2008-07-30 Everaldo Canuto <[email protected]>
  2809. * MenuAPI.cs: When montion don't set the keyboard navigation state to
  2810. 'navigating'. Fixes bug #411356.
  2811. 2008-07-30 Everaldo Canuto <[email protected]>
  2812. [Fixed remaining issues of #406773 (#1)]
  2813. * MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
  2814. * MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
  2815. MainMenu (already done) and ContextMenu creation.
  2816. * ContextMenu.cs: Create tracker on construction.
  2817. 2008-07-30 Everaldo Canuto <[email protected]>
  2818. * MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
  2819. possible to instantiate MenuTracker without GrabControl.
  2820. 2008-07-30 Everaldo Canuto <[email protected]>
  2821. * MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
  2822. * MainMenu.cs: Set GrabControl on SetForm using current form.
  2823. 2008-07-30 Everaldo Canuto <[email protected]>
  2824. * MenuAPI.cs: Chage grab_control to GrabControl and make it public.
  2825. 2008-07-30 Everaldo Canuto <[email protected]>
  2826. * MenuAPI.cs: Check if menu is activated before deactivate it in
  2827. ProcessShortcut.
  2828. 2008-07-30 Ivan N. Zlatev <[email protected]>
  2829. * TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs,
  2830. ColumnStyle.cs:
  2831. Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
  2832. - One style instance can only participate in a single style collection.
  2833. - Styles can request their owner to layout whenever their properties
  2834. change.
  2835. [Fixes bugs #412583 and #412582]
  2836. 2008-07-29 Ivan N. Zlatev <[email protected]>
  2837. * X11Keyboard.cs: Implement the generation of the LParam for
  2838. all keyboard messages.
  2839. [Fixes bug #378728]
  2840. 2008-07-29 Jonathan Pobst <[email protected]>
  2841. * ListBox.cs: Don't let the user set TopIndex so high that it
  2842. scrolls up far enough to show empty items.
  2843. [Fixes bug #412728]
  2844. 2008-07-29 Carlos Alberto Cortez <[email protected]>
  2845. * ThemeWin32Classic.cs: Actually commit the changes to fix #410880
  2846. (I'm an idiot and forgot to commit the actual changes, as well as
  2847. specify the right file, which is this one, not ListView.cs).
  2848. 2008-07-28 Carlos Alberto Cortez <[email protected]>
  2849. * ListView.cs: Don't draw ListViewSubItem instances from
  2850. DrawListViewItem - we need to reuse the main item's drawing for the
  2851. first sub item in case owner draw is true, but wants the system to
  2852. do the default draw for the first sub item, without incurring in a
  2853. recursion problem.
  2854. Fixes #410880.
  2855. 2008-07-28 Jonathan Pobst <[email protected]>
  2856. * ToolStripButton.cs: Update Checked for CheckOnClick before
  2857. raising the Click event. [Fixes bug #412505]
  2858. 2008-07-28 Ivan N. Zlatev <[email protected]>
  2859. * Form.cs: Remove some seems leftover code for non-TopLevel's
  2860. CreateParams, which is breaking ClientSize sizing, because it
  2861. removes the border window styles.
  2862. 2008-07-27 Ivan N. Zlatev <[email protected]>
  2863. * PropertyGrid.cs: Invalidate the View when the PropertyTab
  2864. changes.
  2865. 2008-07-25 Gert Driesen <[email protected]>
  2866. * WebBrowser.cs: Removed debug output.
  2867. 2008-07-25 Jonathan Pobst <[email protected]>
  2868. * FileDialog.cs: Apply patch from Ernesto to clean up some
  2869. dialog messages.
  2870. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2871. * TableLayoutPanel.cs: Perform layout on GrowStyle change, so
  2872. that the change has an immediate effect.
  2873. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2874. * ScrollableControl.cs: Update PerformLayout calls to include
  2875. provide the name of the property that changed.
  2876. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2877. * TableLayoutPanel.cs: Draw relative to the DisplayRectangle
  2878. location. Fixes drawing of border and cell borders if scrollable.
  2879. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2880. * ScrollableControl.cs: Perform layouting after the AutoScroll
  2881. properties have changed, so that the changes have immediate
  2882. effect.
  2883. [Fixes bug #409090]
  2884. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2885. * XplatUIX11.cs: Non Client area is actually Client such in the
  2886. case of NotifyIcon, so double check WholeWindow == ClientWindow
  2887. when adding an expose.
  2888. [Fixes bugs #324237 and #357022]
  2889. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2890. * TableLayoutPanel.cs: Invalidate after layouting, so that we
  2891. repaint the cell borders.
  2892. 2008-07-25 Ivan N. Zlatev <[email protected]>
  2893. * PropertyGridTextBox.cs: Stop filtering messages prior to our
  2894. disposal to avoid unexpected ObjectDisposedExceptions.
  2895. 2008-07-24 Ivan N. Zlatev <[email protected]>
  2896. * TableLayoutPanel.cs: Layout on Row/Column count change.
  2897. 2008-07-22 Gert Driesen <[email protected]>
  2898. * ListViewItem.cs: Changed binary serialization to match MS. Fixes
  2899. bug #409351.
  2900. * PictureBox.cs: When ImageLocation is set to null or an empty string,
  2901. only set image to null if it was previously initialized from an url
  2902. (or using ImageLocation). In ImageLocation, load specified image
  2903. asynchronously if WaitOnLoad is false. Added support for local file
  2904. paths to LoadAsync, and added missing argument check.
  2905. 2008-07-22 Carlos Alberto Cortez <[email protected]>
  2906. * DateTimePicker.cs:
  2907. * ThemeWin32Classic.cs: Add a editing capability to DateTimePicker, in
  2908. order to set the value as required (which means: when selection
  2909. changes for a part being edited, and not before that if not needed).
  2910. Also use an enum to describe which part are we using, and use the
  2911. selection as a property in PartData, in order to notify the
  2912. DateTimePicker owner that we need to end the current edit.
  2913. Fixes #383462.
  2914. 2008-07-17 Ivan N. Zlatev <[email protected]>
  2915. * PropertyGridTextBox.cs: Validation should be performed only if we
  2916. are focused. We can lose focus for example if the Return key is used
  2917. to set the entry and there is an error. When the message box is
  2918. displayed we would have validate on click in the message box.
  2919. 2008-07-16 Ivan N. Zlatev <[email protected]>
  2920. * GridEntry.cs: Checking for DesignerSerializaitonVisibility.Content
  2921. in order to determine that we are expandable is wrong. There was a bug,
  2922. now fixed, in TypeDescriptor that was causing the wrong converter to be
  2923. returned which caused GetPropertiesSupported == false in most cases.
  2924. [Fixes bug #409027]
  2925. 2008-07-15 Jonathan Pobst <[email protected]>
  2926. * ImageList.cs: Fix ICollection.CopyTo implementation for
  2927. ImageListCollection. [Fixes bug #409169]
  2928. 2008-07-14 Jonathan Pobst <[email protected]>
  2929. * MenuAPI.cs, ToolStripDropDown.cs: Use VirtualScreen instead of
  2930. WorkingArea so that menus can appear on the second monitor
  2931. when one has dual monitors.
  2932. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2933. * TextBox.cs: Auto complete stuff in WndProc should be 2.0 only.
  2934. Fixes build.
  2935. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2936. * TextBox.cs: Implement navigation support for auto complete in
  2937. TextBox, as well as refactor the code to show the auto complete window
  2938. when receiving a WM_CHAR message, instead of TextChanged, since
  2939. autocomplete itself should be able to set the Text a lot of times and
  2940. finally only typing should show it, not changes from code.
  2941. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2942. * TabControl.cs: When expanding the selected tab, don't adjust the
  2943. width if alignment is Right, since it has a different offset than 0,
  2944. as opposed to the other alignments.
  2945. Fixes the selected tab not being painted at all with alignment = Right
  2946. and using FillToRight size mode.
  2947. 2008-07-14 Jonathan Pobst <[email protected]>
  2948. * TreeView.cs: Fix ToString to match MS. [Fixes bug #409029]
  2949. 2008-07-14 Jonathan Pobst <[email protected]>
  2950. * NumericUpDown.cs: Apply patch from Andy Hume to clamp out of range
  2951. values from the textbox to the boundary values. [Fixes bug #409026]
  2952. 2008-07-14 Jonathan Pobst <[email protected]>
  2953. * TreeNodeCollection.cs: We were copying one too many elements when
  2954. doing our array copy. Fixes a crash when RemoveAt is called.
  2955. [Fixes bug #408999]
  2956. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  2957. * TabControl.cs: When doing the layout and need to call FillRow -using
  2958. FillToRight size mode-, use the overload receiving a bool param
  2959. indicating whether we need to do a vertical or horizontal calculation.
  2960. Fixes part of #399583.
  2961. 2008-07-13 Carlos Alberto Cortez <[email protected]>
  2962. * TextBox.cs: When painting, use the value returned by
  2963. GetLastVisibleItem instead of using the cached last_item field, since
  2964. there could be a desynchronization between the layout and the
  2965. painting. Fixes a AOOR exception in auto complete mode.
  2966. 2008-07-12 George Giolfan <[email protected]>
  2967. * ThemeVisualStyles.cs: Disabled when Application.VisualStyleState is
  2968. NonClientAreaEnabled until our VisualStyles is modified to allow it.
  2969. 2008-07-12 Gert Driesen <[email protected]>
  2970. * TextBox.cs: Fixed NRE in LostFocus. Avoid unnecessary initialization.
  2971. 2008-07-11 Carlos Alberto Cortez <[email protected]>
  2972. * TextBox.cs: When focus is lost, if the auto complete listbox is
  2973. visible, hide it.
  2974. 2008-07-11 George Giolfan <[email protected]>
  2975. * InternalWindowManager.cs: HandleSizing: Implemented a better minimum
  2976. tracking size for tool windows.
  2977. * Theme.cs, ThemeWin32Classic.cs : Extracted
  2978. ManagedWindowSpacingAfterLastTitleButton.
  2979. 2008-07-11 Jonathan Pobst <[email protected]>
  2980. * ThemeEngine.cs: Remove the clearlooks, nice, and old gtk themes.
  2981. They are bit-rotted and have always been listed as "unsupported".
  2982. 2008-07-11 Jonathan Pobst <[email protected]>
  2983. * PictureBox.cs: Don't crash if ImageLocation is set to "" or null.
  2984. 2008-07-11 George Giolfan <[email protected]>
  2985. * ThemeVisualStyles.cs: Fixed minimized window height adjustment.
  2986. 2008-07-10 Jonathan Pobst <[email protected]>
  2987. * ListBox.cs: Make sure last_item_visible gets reset before we try
  2988. to do a layout due to scrollbars appearing or disappearing.
  2989. [Fixes bug #408139]
  2990. 2008-07-10 Jonathan Pobst <[email protected]>
  2991. * XPlatUIWin32.cs: Change GetMenuOrigin to calculate borders better
  2992. for different window themes. [Fixes bug #339140]
  2993. 2008-07-10 George Giolfan <[email protected]>
  2994. * ThemeWin32Classic.cs: Implemented minimized window border width properly,
  2995. in ManagedWindowBorderWidth.
  2996. 2008-07-10 Jonathan Pobst <[email protected]>
  2997. * InternalWindowManager.cs: Change MouseMove to take a point, so
  2998. we can use the same point later on.
  2999. * MdiWindowManager.cs: Store point sent to MouseMove so we can
  3000. later reset to it. On Windows, the Cursor.Position had already
  3001. changed by the time we were resetting to it.
  3002. [Fixes bug #363239]
  3003. 2008-07-10 Jonathan Pobst <[email protected]>
  3004. * InternalWindowManager.cs: Ignore mouse actions on TitleButtons that
  3005. are inactive.
  3006. * ThemeWin32Classic.cs: Disable or hide MinimizeBox/MaximizeBox if
  3007. user requested it.
  3008. [Fixes bug #398686]
  3009. 2008-07-10 Jonathan Pobst <[email protected]>
  3010. * MdiWindowManager.cs: Double-clicking on the title bar should not
  3011. maximize a MDI form if MaximizeBox = false.
  3012. 2008-07-10 George Giolfan <[email protected]>
  3013. * ThemeVisualStyles.cs: Fixed a warning.
  3014. 2008-07-10 George Giolfan <[email protected]>
  3015. * ThemeVisualStyles.cs: Fixed warnings and formatted.
  3016. 2008-07-10 George Giolfan <[email protected]>
  3017. * ThemeVisualStyles.cs: Removed ManagedWindowGetMenuButtonSize. The base
  3018. implementation produces a better result.
  3019. 2008-07-10 George Giolfan <[email protected]>
  3020. * ThemeVisualStyles.cs: Adjusted height and border rendering for minimized
  3021. windows.
  3022. 2008-07-10 George Giolfan <[email protected]>
  3023. * Application.cs: Added VisualStylesEnabled because XplatUI.ThemesEnabled
  3024. cannot be used from the ThemeEngine constructor.
  3025. * ThemeEngine.cs: Changed the XplatUI.ThemesEnabled check to
  3026. Application.VisualStylesEnabled because it does not work on X11.
  3027. 2008-07-09 Jonathan Pobst <[email protected]>
  3028. * StatusBar.cs: Apply patch from Andy Hume to remove lazy instantiation
  3029. that we did not always check for, as well as fixes to the IList
  3030. implementations. [Fixes bug #402703]
  3031. 2008-07-09 George Giolfan <[email protected]>
  3032. * IDeviceContext.cs: Added Dispose.
  3033. 2008-07-09 George Giolfan <[email protected]>
  3034. * Control.cs: Added OnSizeInitializedOrChanged.
  3035. * Form.cs: OnLoadInternal: Added a call to
  3036. Control.OnSizeInitializedOrChanged.
  3037. * InternalWindowManager.cs:
  3038. * HandleTitleBarMouseMove: No longer invalidates the parent window.
  3039. * DrawTitleButton: Extracted Theme.ManagedWindowDrawMenuButton.
  3040. * TitleButton: Added Entered.
  3041. * TitleButtons.MouseMove: Added handling of TitleButton.Entered.
  3042. * MdiWindowManager.cs:
  3043. * HandleTitleBarMouseMove: Now invalidates the parent window when a mouse
  3044. move over the maximized title buttons causes a change.
  3045. * IsActive: Can now be called before the window is added to a MDI parent.
  3046. * Theme.cs: Added ManagedWindowTitleButtonHasHotElementStyle,
  3047. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  3048. * ThemeVisualStyles.cs: Implemented proper managed window rendering.
  3049. * ThemeWin32Classic.cs:
  3050. * Extracted ManagedWindowDrawTitleBarAndBorders, ManagedWindowDrawTitleButton.
  3051. * DrawTitleButton takes a new form parameter.
  3052. * Added ManagedWindowTitleButtonHasHotElementStyle,
  3053. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  3054. 2008-07-09 George Giolfan <[email protected]>
  3055. * ThemeEngine.cs: ThemeVisualStyles is now selected if
  3056. Application.EnableVisualStyles has been called, even if the current system
  3057. configuration does not support rendering with Visual Styles.
  3058. * ThemeVisualStyles.cs: Now falls back to ThemeWin32Classic when Visual
  3059. Styles should not be used.
  3060. 2008-07-08 Jonathan Pobst <[email protected]>
  3061. * ComboBox.cs: PreferredHeight is not tied to ItemHeight. Fixes 3rd
  3062. ComboBox in FormsTest.
  3063. 2008-07-08 Ivan N. Zlatev <[email protected]>
  3064. * ThemeWin32Classic.cs: (ManagedWindowBorderWidth): width 3 is only
  3065. for fixed toolwindows.
  3066. 2008-07-08 George Giolfan <[email protected]>
  3067. * Form.cs: SetBoundsCore: Added minimum size for minimized windows.
  3068. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3069. * Control.cs: CreateControl just returns if the Control is diposed
  3070. and doesn't throw ObjectDisposedException.
  3071. [Fixes bug #406566]
  3072. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3073. * Control.cs: Do not create the control if the parent isn't created
  3074. yet, e.g in the case of a parented form on which .Show is called.
  3075. It will be created when the parent is made visible/created.
  3076. Improves #402446.
  3077. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3078. * Form.cs: Avoid recursively calling OnSizeChanged due to recursive
  3079. WM_WINDOWPOSCHANGED caused by the layouting code on win32.
  3080. [Fixes bug #406786]
  3081. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3082. * Form.cs: When disposed set owner to null. Improves #402446.
  3083. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3084. * Form.cs, FlowLayoutPanel.cs: When calculating the PreferredSize
  3085. use children's PreferredSize if in AutoSize mode and ExplicitBounds
  3086. if not.
  3087. * Form.cs: Take the Padding into account for the PreferredSize.
  3088. [Fixes bug #402849]
  3089. 2008-07-07 Carlos Alberto Cortez <[email protected]>
  3090. * TabControl.cs: Since we don't support more than one direction in
  3091. TabControl rows alignment (this is, the row becomes the
  3092. bottom row when selected), make Direction return always 1. This way
  3093. the layout doesn't get confused about a bad calculation.
  3094. Fixes #399582.
  3095. 2008-07-07 Ivan N. Zlatev <[email protected]>
  3096. * XplatUIX11.cs: Implement NC hit-testing for mouse down/up messages,
  3097. so that the wparam is properly set.
  3098. Fixes form moving in the test case in bug 402446.
  3099. 2008-07-07 Jonathan Pobst <[email protected]>
  3100. * FolderBrowserDialog.cs: If we can't find the SelectedPath, display
  3101. the full tree instead of nothing. [Improves bug #406584]
  3102. 2008-07-07 George Giolfan <[email protected]>
  3103. * ThemeWin32Classic.cs: Adjusted minimized window painting.
  3104. 2008-07-07 George Giolfan <[email protected]>
  3105. * InternalWindowManager.cs: No longer draws decorations for maximized MDI
  3106. children.
  3107. 2008-07-04 Jonathan Pobst <[email protected]>
  3108. * TreeView.cs: Add a null check when using CollapseAll on an
  3109. empty tree. [Fixes bug #406449]
  3110. 2008-07-03 Jonathan Pobst <[email protected]>
  3111. * Form.cs: Make OnMenuComplete internal so we can call it.
  3112. * MenuAPI.cs: Raise Form.MenuComplete when a menu item is clicked.
  3113. [Fixes bug #399321]
  3114. 2008-07-03 Jonathan Pobst <[email protected]>
  3115. * TabControl.cs: Handle Up and Down keys when TabControl is in
  3116. vertical alignment.
  3117. [Fixes bug #399585]
  3118. 2008-07-03 Jonathan Pobst <[email protected]>
  3119. * TabControl.cs: Invalidate when we remove a tab. Guard against
  3120. an AOORE when trying to remove a tabpage that is not owned by the
  3121. parent control.
  3122. [Fixes bug #399927]
  3123. 2008-07-03 Jonathan Pobst <[email protected]>
  3124. * ScrollBar.cs: Change the LargeChange calculation to be correct.
  3125. Ensure we are using LargeChange instead of large_change so we our
  3126. calculations are correct.
  3127. [Fixes bug #403122]
  3128. 2008-07-03 Jonathan Pobst <[email protected]>
  3129. * TableLayoutPanel.cs: When we change to a serialized TableLayoutSettings,
  3130. we need to ensure the ColumnCount/RowCount gets set.
  3131. [Fixes bug #404851]
  3132. 2008-07-02 Carlos Alberto Cortez <[email protected]>
  3133. * ListBox.cs: When handling item navigation, if selection mode is
  3134. None, call EnsureVisible, since scrolling is normally handled by
  3135. selection, that we are not calling in this case.
  3136. Fixes #398345.
  3137. 2008-07-02 Jonathan Pobst <[email protected]>
  3138. * ContainerControl.cs: Apply a patch from Ernesto Carrea that adds
  3139. a null check to our focus walking code. [Fixes bug #394332]
  3140. 2008-07-02 Andy Hume <andyhume32 at yahoo dot co dot uk>
  3141. * ComboBox.cs: Case missed in bug 379596 "Support item
  3142. navigation by entering text": On _close_ drop-down select
  3143. the first item matching the text in the textbox. [Fixes bug #397265]
  3144. 2008-07-02 Jonathan Pobst <[email protected]>
  3145. * DataGridView.cs: Fix a crash when sorting by column headers,
  3146. mentioned in bug #404841. Remove some dead switch cases.
  3147. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  3148. * ComboBox.cs:
  3149. * TextBox.cs: Implement AutoComplete support for ComboBox, which just
  3150. uses the AutoComplete support in the internal TextBox. Also TextBox
  3151. can store a reference to ComboBox, in case AutoCompleteSource is set
  3152. to ListItems (this is, ComboBox's items, and we don't want to pass an
  3153. additional collection).
  3154. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  3155. * ListViewItem.cs: Restore the initial value of bounds rect to
  3156. Rectangle.Empty, and is this value for Layout detection in virtual
  3157. mode. Fixes the tests.
  3158. 2008-06-30 Jonathan Pobst <[email protected]>
  3159. * XPlatUI.cs: Remove references to "new" X11 backend.
  3160. 2008-06-28 Ivan N. Zlatev <[email protected]>
  3161. * Control.cs: Add an internal virtual OnDragDropEnd method
  3162. to allow controls such as ListBox, which depend on a sequence
  3163. of MouseDown+Move+End events, to handle the lack of a MouseUp
  3164. when a DnD operation is started in MouseDown.
  3165. * ListBox.cs: If a DnD operation is started in MouseDown we won't
  3166. get a MouseUp, so reset our state whenever a DnD operation ends.
  3167. 2008-06-28 Ivan N. Zlatev <[email protected]>
  3168. * PropertyGrid.cs: Clear the root griditem first thing when
  3169. new object/s is/are selected. Fixes some rare cases where
  3170. the View will get a paint request and won't know that the
  3171. grid is in the process of repopulating.
  3172. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3173. * XplatUIX11.cs, InternalWindowManager.cs:
  3174. If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
  3175. doesn't automagically update the FormBorderStyle, so we must
  3176. double check the CreateParams explicitly to determine if the
  3177. window is a toolwindow.
  3178. * ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
  3179. instead of doing custom checks.
  3180. Fixes toolwindows for the test case in bug #402446
  3181. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3182. * Control.cs: Visibility of the control should be false
  3183. when the handle is destroyed in WmDestroy and not immediately
  3184. in Dispose(). This is effectively where the disposing process
  3185. ends even though the control is marked as Disposed immediately
  3186. after calling Dispose().
  3187. [Fixes bug #402446]
  3188. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3189. * PropertyGridTextBox.cs: Start monitoring the mouse clicks
  3190. when the textbox gets focus.
  3191. [Fixes bug #402704]
  3192. 2008-06-27 Ivan N. Zlatev <[email protected]>
  3193. * PropertyGridTextBox.cs, PropertyGridView.cs:
  3194. - Alt + Down should show the drop down editor.
  3195. - Focus the editor when showing it
  3196. [Fixes bug #402710]
  3197. 2008-06-25 Jonathan Pobst <[email protected]>
  3198. * ThemeWin32Classic.cs: Fix from Andy for panel text for panels
  3199. that are not the first panel.
  3200. * StatusBar.cs: Ensure that the X coordinate of panels is always
  3201. stored. Fix IList implementation of StatusBarPanelCollection to
  3202. call the regular methods.
  3203. [Fixes bug #403599, #402165]
  3204. 2008-06-23 Jonathan Pobst <[email protected]>
  3205. * ThemeWin32Classic.cs: Fix position calculation for centered
  3206. text on status bar panels. [Fixes bug #402165]
  3207. 2008-06-22 Ivan N. Zlatev <[email protected]>
  3208. * Splitter.cs: Fix Splitter to:
  3209. - Work for arbitrary splitter size
  3210. - Handle MinSize and MinExtra properly
  3211. - Get rid of absolute positioning during drag and use relative
  3212. - Multiple other fixes
  3213. [Fixes bug #338966]
  3214. 2008-06-22 Ivan N. Zlatev <[email protected]>
  3215. * Cursor.cs: Show shouldn't hide the cursor.
  3216. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  3217. * ListViewItem.cs: When invalidating, add some extra space to bounds,
  3218. since focus rectangle and selection can add some space and need to
  3219. take into account those small offsets - specially in Details view.
  3220. * ListView.cs: Instead of invalidate using item Bounds directly, call
  3221. item.Invalidate, to have the code centralized.
  3222. Fixes focused/selection garbage when selecting and deselecting items
  3223. that are close.
  3224. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  3225. * ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
  3226. mode we can check whether we have to force a Layout or not, and can
  3227. cache based on this, instead of avoiding caching all the the time. Do
  3228. this check in GetBounds and TextBounds.
  3229. Fixes selection in Details view.
  3230. 2008-06-20 Carlos Alberto Cortez <[email protected]>
  3231. * ListView.cs: Make HeaderControl internal, thus the theme engine can
  3232. get its *real* height instead of trying to infere it.
  3233. * ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
  3234. get the position of them, since it's in general a bad idea in general,
  3235. and because we can't do that in virtual mode. Instead get the first
  3236. visible item as well as item height, and draw them.
  3237. Fixes #400390.
  3238. 2008-06-20 Jonathan Pobst <[email protected]>
  3239. * ToolStripSplitButton.cs: We can't add in extra width if
  3240. the button is not AutoSize. [Fixes bug #401279]
  3241. 2008-06-20 Ivan N. Zlatev <[email protected]>
  3242. * PaddingConverter.cs:
  3243. - Implement conversion to InstanceDescriptor
  3244. - Handle "All" in CreateInstance by using the supplied
  3245. ITypeDescriptorContext.
  3246. [Fixes bugs #396076 and #396078]
  3247. Patch by Andy Hume <[email protected]>
  3248. Code contributed under MIT/X11 license.
  3249. 2008-06-19 Andy Hume <andyhume32 at yahoo dot co dot uk>
  3250. * ComboBox.cs, ListControl.cs, Control.cs, Button.cs,
  3251. ButtonBase.cs:
  3252. Add Category attributes.
  3253. Code is contributed under the MIT/X11 license.
  3254. 2008-06-18 Ivan N. Zlatev <[email protected]>
  3255. * Form.cs:
  3256. - Fix a NRE when unparenting a form.
  3257. - Do not recreate or destroy a parented form when
  3258. unparenting.
  3259. 2008-06-18 Carlos Alberto Cortez <[email protected]>
  3260. * TextBox.cs: Implement basic support for AutComplete with custom
  3261. sources.
  3262. 2008-06-18 Jonathan Pobst <[email protected]>
  3263. * ToolStripSplitButton.cs: Left and Top of ButtonBounds, SplitterBounds,
  3264. DropDownButtonBounds should be from the origin of the button, not the
  3265. ToolStrip. [Fixes bug #401279]
  3266. 2008-06-16 Sandy Armstrong <[email protected]>
  3267. * X11DesktopColors.cs: Clear GTK_MODULES environment variable before
  3268. running gtk_init_check. This prevents GAIL from loading
  3269. unnecessarily, which was breaking UIA support. Initial fix for bug
  3270. #375987.
  3271. * Application.cs: Add UIA support to Winforms. New static constructor
  3272. uses reflection to initialize UIAutomationWinforms assembly. Added
  3273. PreRun event so UIA can initialize before the mainloop starts, and
  3274. FormAdded event so UIA can provide a11y support for new Forms in an
  3275. Application.
  3276. 2008-06-16 Jonathan Pobst <[email protected]>
  3277. * DataGridView.cs: When binding to a dataset, subscribe to table
  3278. and column change events. Unsubscribe to these when we clear bindings.
  3279. [Fixes bug #399601]
  3280. 2008-06-14 Everaldo Canuto <[email protected]>
  3281. [DataGrid drawing refactory]
  3282. * DataGrid.cs: Fix the caption size, we need one pixel more for divider.
  3283. * DataGridColumnStyle.cs: Removing PaintHeader code, the draw operations
  3284. must be handle by Theme, now it call DataGridPaintColumnHeader.
  3285. * DataGridTextBoxColumn.cs: Fix the textbox size. It must be one pixel less,
  3286. test cases must be also fixed because it checks for wrong size.
  3287. * ThemeWin32Classic.cs:
  3288. - Draw the bottom line of grid caption.
  3289. - Prevent to draw caption text when it is empty.
  3290. - Use CPDrawBorder3D for 3D efects to simplify code.
  3291. - Uses 3D (when not flat) to paint corner shared between row and column
  3292. header.
  3293. - Fix header drawing issues on win32, now borders are drawing.
  3294. - Fix column header paint issues to mimic win32.
  3295. - Adjust header drawing for last column, like first one it must be draw
  3296. different.
  3297. - Added DataGridPaintRowHeaderStar to draw star like .net does, it is
  3298. not an character.
  3299. - DataGridPaintColumnHeader created to draw column headers, it also
  3300. paint stuff right on Win32.
  3301. - Use DataGridPaintColumnHeader method instead of DataGridColumnStyle
  3302. class.
  3303. * Theme.cs:
  3304. - DataGridPaintRowHeaderStar method added.
  3305. - DataGridPaintColumnHeader method added.
  3306. 2008-06-13 Jonathan Pobst <[email protected]>
  3307. * Control.cs: Don't reset to Dock style layout if DockStyle is
  3308. set to none. [Fixes bug #399316]
  3309. 2008-06-12 Everaldo Canuto <[email protected]>
  3310. * Win32DnD.cs: Fix the check for control not equal null.
  3311. Fixes bug #341420 and #381886.
  3312. 2008-06-12 Jonathan Pobst <[email protected]>
  3313. * DataGridViewRowCollection.cs: Update the indexes of rows after
  3314. one has been removed.
  3315. * DataGridViewSelectedRowCollection.cs: Add internal clear method.
  3316. * DataGridViewSelectedColumnCollection.cs: Add internal clear method.
  3317. * DataGridView.cs: Add support for deleting rows via Delete key, deleting
  3318. rows for the Rows collection, or deleting rows from the bound DataSet.
  3319. 2008-06-12 Jonathan Pobst <[email protected]>
  3320. * DataGridView.cs: Listen to a DataSet's changed event even
  3321. when autogeneratecolumns is false. Refactor the changed event's
  3322. add row code to use the same as the existing add row code.
  3323. [Fixes bug #399601]
  3324. 2008-06-11 Jonathan Pobst <[email protected]>
  3325. * TextBoxBase.cs: We need to call RaiseSelectionChanged pretty
  3326. much any time the caret moves and there is text, not just when
  3327. the selection changes as one would think.
  3328. * RichTextBox.cs: Override RaiseSelectionChanged and fire
  3329. SelectionChanged.
  3330. [Fixes bug #397271]
  3331. 2008-06-11 Jonathan Pobst <[email protected]>
  3332. * FontDialog.cs: Forward ListBox keyboard events to the ListBox
  3333. instead of trying to duplicate the code.
  3334. * ListBox.cs: Make method internal so we can send keyboard events.
  3335. [Fixes bug #398344]
  3336. 2008-06-11 Jonathan Pobst <[email protected]>
  3337. * TextBoxBase.cs: When pasting and checking the max length,
  3338. subtract the selected text length (the text we will be replacing) from
  3339. the document length.
  3340. * TextControl.cs: Ensure every character insertion is reflected in
  3341. charcount, so max length will work properly.
  3342. [Fixes bug #398605]
  3343. 2008-06-11 Jonathan Pobst <[email protected]>
  3344. * ListBox.cs: Ensure scrollbars are updated when a single
  3345. column listbox with an already set top-index is created.
  3346. [Fixes bug #398342]
  3347. 2008-06-11 Jonathan Pobst <[email protected]>
  3348. * FontDialog.cs: Typing in the font/style textboxes should search
  3349. the list boxes case-insensitively. [Fixes bug #398343]
  3350. 2008-06-11 George Giolfan <[email protected]>
  3351. * ThemeWin32Classic.cs: Managed window title bar layout now uses actual
  3352. widths of icon and buttons instead of hard coded values.
  3353. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3354. * ListBox.cs: When SelectionMode is None, clicking an item should move focus
  3355. as well as generating a SelectedIndexChanged event, just like .Net does
  3356. -surprise-.
  3357. Fixes #398345.
  3358. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3359. * ListBox.cs: When navigating items visually, use FocusedItem as the
  3360. reference point instead of SelectedIndex, since even in
  3361. SelectionMode.None we need to support navigation, and in that case we
  3362. just can't use SelectedIndex.
  3363. Fixes part of #398345.
  3364. 2008-06-10 Jonathan Pobst <[email protected]>
  3365. * Control.cs: Make a SetBoundsInternal that avoids the new
  3366. SetBounds code.
  3367. * ComboBox.cs, Form.cs, ListBox.cs, ScrollableControl.cs: Use
  3368. SetBoundsInternal instead of SetBoundsCoreInternal.
  3369. 2008-06-10 Ivan N. Zlatev <[email protected]>
  3370. * ScrollableControl.cs: Use SetBoundsCoreInternal instead of
  3371. SetBounds for the scrollbars.
  3372. 2008-06-10 Andreia Gaita <[email protected]>
  3373. * HtmlDocument.cs: Implement RightToLeft, ContextMenuShowing,
  3374. FocusingEvent, LosingFocusEvent, OnMouseDown, OnMouseLeave,
  3375. OnMouseMove, OnMouseOver, OnMouseUp
  3376. * HtmlElement.cs: Optimize InsertBefore. Implement RemoveFocus,
  3377. ScrollIntoView, Focusing, GotFocus, LosingFocus, LostFocus.
  3378. * HtmlElementCollection.cs, HtmlWindowCollection.cs: Keep a reference
  3379. to the WebControl object to pass to new collection objects
  3380. * HtmlHistory.cs: Implement support for individual window histories.
  3381. * HtmlWindow.cs: Implement History, Position, Size, WindowFrameElement,
  3382. AttachEventHandler, DetachEventHandler, RemoveFocus, Error,
  3383. GotFocus, LostFocus, OnLoad, OnUnload
  3384. * WebBrowser.cs: Implement EncryptionLevel, ScrollBarsEnabled,
  3385. ContextMenu
  3386. * WebBrowserBase.cs: Implement Cursor, Enabled, UseWaitCursor, Add
  3387. security level changes and context menu event support.
  3388. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  3389. * ComboBox.cs: Pressing Enter should close the dropdown listbox, just
  3390. as happens with Esc, patch my Andy Hume.
  3391. Fixes #396294.
  3392. 2008-06-10 George Giolfan <[email protected]>
  3393. * MdiWindowManager.cs: DrawMaximizedButtons now uses
  3394. ManagedWindowGetMenuButtonSize instead of ManagedWindowButtonSize.
  3395. * Theme.cs: Made MenuButtonSize platform dependent. Added
  3396. ManagedWindowButtonSize.
  3397. * ThemeWin32Classic.cs: Added ManagedWindowGetMenuButtonSize.
  3398. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added MenuButtonSize.
  3399. 2008-06-10 George Giolfan <[email protected]>
  3400. * DateTimePicker.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs:
  3401. Added support for rendering with VisualStyles.
  3402. 2008-06-10 George Giolfan <[email protected]>
  3403. * ComboBox.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  3404. support for rendering the border with VisualStyles.
  3405. 2008-06-10 George Giolfan <[email protected]>
  3406. * InternalWindowManager.cs: Added ShowIcon. Fixed IconRectangleContains when
  3407. the icon is not shown.
  3408. * ThemeWin32Classic.cs: Now uses InternalWindowManager.ShowIcon instead of
  3409. its own logic.
  3410. 2008-06-10 George Giolfan <[email protected]>
  3411. * InternalWindowManager.cs: Draw minimized windows even if they don't have
  3412. borders.
  3413. 2008-06-09 Jonathan Pobst <[email protected]>
  3414. * ComboBox.cs, ListBox.cs: Use SetBoundsInternalCore instead of SetBounds.
  3415. 2008-06-09 Jonathan Pobst <[email protected]>
  3416. * Control.cs: Fill in the defaults for unspecified bounds in SetBounds.
  3417. [Fixes bug #397943]
  3418. 2008-06-06 Carlos Alberto Cortez <[email protected]>
  3419. * ComboBox.cs: When snaping height -because of IntegralHeight set to
  3420. true- with ComboBoxStyle.Simple, set the height to PreferredHeight
  3421. if the requested height leaves the listbox area with *less* than the
  3422. required are to see one item. We were setting it to PreferredHeight
  3423. even for values matching the height for a single item.
  3424. Fixes #396297.
  3425. 2008-06-06 Jonathan Pobst <[email protected]>
  3426. * DataGridViewCell.cs: Simplify GetInheritedStyle by using ApplyStyle.
  3427. 2008-06-06 Jonathan Pobst <[email protected]>
  3428. * DataGridViewCell.cs: Use property instead of field.
  3429. 2008-06-06 George Giolfan <[email protected]>
  3430. * InternalWindowManager.cs, ThemeWin32Classic.cs: Removed useless Form.Icon
  3431. null checks.
  3432. 2008-06-06 George Giolfan <[email protected]>
  3433. * Theme.cs: Added #region around the managed window code. Made the managed
  3434. window methods abstract.
  3435. * ThemeWin32Classic.cs: Added #region around the managed window code.
  3436. 2008-06-06 George Giolfan <[email protected]>
  3437. * InternalWindowManager.cs: Now only calls Theme.DrawManagedWindowDecorations
  3438. if it has borders.
  3439. * ThemeWin32Classic.cs: Removed HasBorders checks in
  3440. DrawManagedWindowDecorations.
  3441. 2008-06-06 George Giolfan <[email protected]>
  3442. * InternalWindowManager.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  3443. Extracted ManagedWindowGetTitleBarIconArea.
  3444. 2008-06-05 Jonathan Pobst <[email protected]>
  3445. * DataGridViewCellStyle.cs: Don't clone the font.
  3446. 2008-06-05 Jonathan Pobst <[email protected]>
  3447. * DataGridViewCell.cs: Ensure we don't pass null to GetConverter.
  3448. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  3449. * XplatUIX1..cs: Use IntPtr size instead of int, as wee need to work
  3450. also on 64 bit machinges. Fixes the BadWindow errors while scrolling
  3451. in 64 bit machines.
  3452. 2008-06-05 Jonathan Pobst <[email protected]>
  3453. * DataGridViewCell.cs: Correctly get converters for FormattedValue.
  3454. Use Format/FormatProvider before trying converters.
  3455. * DataGridViewCellStyle.cs: ApplyStyle should only apply things that
  3456. are 'set'. Change constructor to not use ApplyStyle since it wants
  3457. everything applied. Clone the Font.
  3458. * DataGridViewRowHeaderCell.cs: Start with DefaultCellStyle and
  3459. ApplyStyle the rest.
  3460. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  3461. * ListView.cs: We need to calculate the scrollbars even if the handle
  3462. hasn't been created - this is needed when methods using scrollbars
  3463. info, such EnsureVisible, are called before control has been created.
  3464. Fixes #397272.
  3465. 2008-06-05 George Giolfan <[email protected]>
  3466. * ThemeVisualStyles.cs: ScrollBar is now rendered with the VisualStyles API
  3467. only if the elements are defined.
  3468. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  3469. * ComboBox.cs: I'm an idiiot - forgot to commit the last ComboBox
  3470. section. Also, when setting bounds, snap height as well as save the
  3471. requested height if Dock has any value affecting the height: Left,
  3472. Right and Bottom - important if using IntegralHeight as true.
  3473. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  3474. * ComboBox.cs: When calling UpdateComboBoxBounds, adjust the height
  3475. passed to SetBounds to reflect the new adjusted height (Integral-wise),
  3476. instead of doing that only in our SetBoundsCore override, since the
  3477. bounds cached can be the same as saved one and we could not get the
  3478. new height applied.
  3479. Fixes #396297.
  3480. 2008-06-04 George Giolfan <[email protected]>
  3481. * Theme.cs: Made ToolWindowCaptionButtonSize platform dependent.
  3482. * XplatUI.cs: Added ToolWindowCaptionButtonSize.
  3483. * XplatUIDriver.cs: Changed SmallCaptionButtonSize to 15,15. Added
  3484. ToolWindowCaptionButtonSize.
  3485. * XplatUIWin32.cs: Added ToolWindowCaptionButtonSize.
  3486. 2008-06-04 George Giolfan <[email protected]>
  3487. * MdiWindowManager.cs: Now uses SystemInformation.DoubleClickTime instead of
  3488. hard coded values.
  3489. * Theme.cs: Made DoubleClickTime plaform dependent.
  3490. 2008-06-04 George Giolfan <[email protected]>
  3491. * Theme.cs: Made ToolWindowCaptionHeight platform dependent.
  3492. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  3493. ToolWindowCaptionHeight.
  3494. 2008-06-04 George Giolfan <[email protected]>
  3495. * InternalWindowManager.cs: The adjustment to ensure positive client area
  3496. sizes is now platform dependent (disabled on Windows).
  3497. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  3498. RequiresPositiveClientAreaSize.
  3499. 2008-06-04 George Giolfan <[email protected]>
  3500. * Form.cs: Fixed null handling in Icon (see SettingIconToNull in the tests).
  3501. 2008-06-04 George Giolfan <[email protected]>
  3502. * InternalWindowManager.cs: Changed IconicSize to use
  3503. SystemInformation.MinimizedWindowSize.
  3504. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinimizedWindowSize.
  3505. * XplatUIDriver.cs: Changed MinimizedWindowSize to provide a default value.
  3506. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  3507. * ComboBox.cs: If the combobox is anchored both on top and bottom,
  3508. adjust height if IntegralHeight is true when calling SetBoundsCore (as
  3509. likely the height was modified even if Height wasn't specified in
  3510. BoundsSpecified parameter).
  3511. Fixes part of #396297.
  3512. 2008-06-04 George Giolfan <[email protected]>
  3513. * InternalWindowsManager.cs: Changed minimum window size while resizing to
  3514. SystemInformation.MinWindowTrackSize.
  3515. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinWindowTrackSize.
  3516. * XplatUIDriver.cs: Changed MinWindowTrackSize to provide a default value.
  3517. 2008-06-03 George Giolfan <[email protected]>
  3518. * MenuItem.cs: Fixed Dispose.
  3519. 2008-06-03 George Giolfan <[email protected]>
  3520. * ColumnHeader.cs: CalcColumnHeader now uses the theme to get the height.
  3521. * DataGridView.cs: * EnableHeadersVisualStyles: Fixed default value.
  3522. EnteredHeaderCell, PressedHeaderCell: Added.
  3523. * DataGridViewCell.cs: Refactored: Extracted GetBorderPen.
  3524. * DataGridViewColumnHeaderCell.cs, DataGridViewRowHeaderCell.cs: Gave the
  3525. theme a chance to override default painting.
  3526. * ListView.cs: Added EnteredColumnHeader. Refactored: Extracted
  3527. GetColumnHeaderInvalidateArea, Invalidate(ColumnHeader).
  3528. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added members for
  3529. ListView and DataGridView header rendering.
  3530. 2008-06-03 Ivan N. Zlatev <[email protected]>
  3531. * RichTextBox.cs: GetPositionFromCharIndex should return the
  3532. visual position of the character relative to the viewport.
  3533. [Fixes part of bug #396664]
  3534. 2008-06-03 Ivan N. Zlatev <[email protected]>
  3535. * GridEntry.cs: Make HasCustomEditor check for EditStyle != None
  3536. and not just for the existance of an UITypeEditor. In some cases
  3537. there is an editor associated just to do PaintValue, but which
  3538. doesn't actually support editing.
  3539. [Fixes bug #396632]
  3540. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  3541. * ComboBox.cs: page_size as well as vscrollbar.LargeChange should be 1
  3542. if needed, instead of 0 - this should help us in the corner case where
  3543. we have more than one item but we are only partially showing 1 item.
  3544. Fixes part of #374713.
  3545. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  3546. * XplatUiX11.cs: When scrolling and detecting the obscured areas in a
  3547. control, return immediately if the any parent control's handle hasn't
  3548. been created or isn't visible, as well as avoiding creating the parent
  3549. Form if the handle hasn't been previously created.
  3550. Fixes tests.
  3551. 2008-06-02 Jonathan Pobst <[email protected]>
  3552. * TableLayoutPanel.cs: Use border sizes when calculating the
  3553. panel's preferred size. [Fixes part of bug #396433]
  3554. 2008-06-02 Ivan N. Zlatev <[email protected]>
  3555. * SplitContainer.cs:
  3556. - Fix SplitterDistance to update only if needed.
  3557. - Make it force min and max validation.
  3558. - Handle properly mouse moves outside the resizeable area.
  3559. [Fixes bug #396232]
  3560. 2008-06-02 Andreia Gaita <[email protected]>
  3561. * WebBrowserBase.cs: Implement support for ScriptErrorsSuppressed
  3562. (which also suppresses all popup dialogs). Throw NotSupported
  3563. exceptions for activex getters/setters.
  3564. * WebBrowser.cs: Implement DocumentStream, DocumentType, IsBusy,
  3565. IsOffline, ReadyState, ScriptErrorsSuppressed, ScrollbarsEnabled,
  3566. StatusText, Version, GoSearch
  3567. * HtmlDocument.cs: Add DocType support
  3568. 2008-06-02 Andy Hume <[email protected]>
  3569. * TextBox.cs: Implement TextBoxAutoCompleteSourceConverter.
  3570. [Fixes bug 396124]
  3571. 2008-06-02 Ivan N. Zlatev <[email protected]>
  3572. * GridEntry.cs: Pass the ITypeDescriptorContext everywhere.
  3573. 2008-06-02 Jonathan Pobst <[email protected]>
  3574. * TableLayoutPanel.cs: When calculating preferred size, use the
  3575. actual number of columns and rows, not what the user set them to.
  3576. [Fixes bug #396141]
  3577. 2008-06-02 George Giolfan <[email protected]>
  3578. * Form.cs: Enabled managed handling of tool window MDI children. Fixes bug
  3579. 394311.
  3580. 2008-06-01 Carlos Alberto Cortez <[email protected]>
  3581. * XplatUIX11.cs: When detecting areas obscured in a control by other
  3582. toplevel windows while scrolling, return if the control hasn't a
  3583. container form.
  3584. Fixes some tests.
  3585. 2008-05-01 Carlos Alberto Cortez <[email protected]>
  3586. * XplatUIX11.cs: Properly detect the visible area of a control being
  3587. scrolled (obscured by other winforms controls and any X toplevel
  3588. windows), to mark as invalid the requested area to be scrolled that
  3589. isn't visible and thus can't be copied.
  3590. Fixes #324513.
  3591. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  3592. * ListBox.cs: Compute the precise amount to vertically scroll when
  3593. using DrawMode.OwnerDrawVariable.
  3594. Patch by jkeymer ([email protected]).
  3595. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  3596. * ComboBox.cs: Use ListBox-like scrollbar values In ComboListBox
  3597. to avoid setting an invalid value for the verticall scrollbar
  3598. when navigating items. And, duh, also remove my silly debug messages
  3599. from previous commits.
  3600. Fixes #374713.
  3601. 2008-05-30 Ivan N. Zlatev <[email protected]>
  3602. * FlatButtonAppearance.cs: Make FlatButtonAppearanceConverter exandable and
  3603. make it MS compatible.
  3604. 2008-05-30 Ivan N. Zlatev <[email protected]>
  3605. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs:
  3606. - Allow the editing of entries even if their parent is read-only.
  3607. - Do not render expandable properties read-only.
  3608. - Refactor expansion checks form PropertyGrid into PropertyGrid.
  3609. 2008-05-30 George Giolfan <[email protected]>
  3610. * ScrollBar.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  3611. support for the hover style.
  3612. 2008-05-29 Andreia Gaita <[email protected]>
  3613. * ContainerControl.cs: Check for null dead-end when traversing the tree
  3614. of parent controls.
  3615. [Fixes #394332, patch by Ernesto Carrea]
  3616. 2008-05-29 Geoff Norton <[email protected]>
  3617. * XplatUICarbon.cs: Fix a culture-dependent conversion to be the
  3618. constant that it is. Fixes #393981
  3619. 2008-05-29 Jonathan Pobst <[email protected]>
  3620. * Form.cs: Add a MonoTODO to the AutoScaleBaseSize setter explaining
  3621. that the user probably doesn't want to set this.
  3622. 2008-05-29 Jonathan Pobst <[email protected]>
  3623. * ThemeWin32Classic.cs: Don't let the text size be bigger than
  3624. the control size for CheckBox/RadioBox.
  3625. [Fixes part of bug #394645]
  3626. 2008-05-29 Ivan N. Zlatev <[email protected]>
  3627. * PropertyGrid.cs: Update the state of the sorting buttons in
  3628. the toolbar if PropertySort is set programatically.
  3629. 2008-05-29 Ivan N. Zlatev <[email protected]>
  3630. * GridItemCollection.cs: Add multiple items with conflicting names
  3631. support and also preserve name ordering.
  3632. [Fixes #395345]
  3633. 2008-05-29 Ivan N. Zlatev <[email protected]>
  3634. * GridItemCollection.cs: Revert my multiple items with same
  3635. name patch.
  3636. 2008-05-28 Carlos Alberto Cortez <[email protected]>
  3637. * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
  3638. or middle ones.
  3639. Fixes part of #393908.
  3640. 2008-05-28 Jonathan Pobst <[email protected]>
  3641. * ToolStripDrowDown.cs: When using the Show () methods that have a
  3642. Control parameter, set the menu owner to that Control.
  3643. [Fixes bug #394345]
  3644. 2008-05-28 Ivan N. Zlatev <[email protected]>
  3645. * PropertyGridTextBox.cs, PropertyGridView.cs: Implement validation.
  3646. [Fixes bug #362756]
  3647. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3648. * GridItemCollection.cs: Refactor to support multiple items with the
  3649. same name.
  3650. [Fixes bug #394314]
  3651. 2008-05-27 Jonathan Pobst <[email protected]>
  3652. * Control.cs: The 2.0 check for illegal cross thread calls in
  3653. Control.Handle were throwing an exception when we were getting
  3654. the Handle in order to invoke correctly. Created a private
  3655. version that does not contain this check.
  3656. [Fixes bug #394531]
  3657. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3658. * PropertyGrid.cs: Respect DefaultTabType.
  3659. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3660. * ListView.cs: SPACE selects an item.
  3661. [Fixes bug #393023]
  3662. 2008-05-27 Ivan N. Zlatev <[email protected]>
  3663. * ListView.cs: Reset the search string whenever the items are
  3664. modified.
  3665. [Fixes bug #393020]
  3666. 2008-05-25 Carlos Alberto Cortez <[email protected]>
  3667. * ListControl.cs: For the first added item PositionChanged is fired
  3668. _before_ ItemChanged, which leave us in a temporary invalid state - so
  3669. we need to set the selected index from ItemChanged handler *if* we
  3670. know that the first item has just been added *and* the items have been
  3671. actually added to the ListControl.
  3672. Fixes #369048.
  3673. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  3674. * TabControl.cs: Only clicks with the left button should be
  3675. handled.
  3676. Fixes #393908.
  3677. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  3678. * ComboBox.cs:
  3679. * FIleDialog.cs:
  3680. * TextBox.cs: Expose an internal method in TextBox to restore the
  3681. original context menu, and call it from ComboBox to re-use it in the
  3682. combobox containing the file name in FileDialog.cs.
  3683. Fixes part of #393775.
  3684. 2008-05-24 George Giolfan <[email protected]>
  3685. * ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
  3686. style.
  3687. 2008-05-24 George Giolfan <[email protected]>
  3688. * ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
  3689. down button style.
  3690. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  3691. * ComboBox.cs: Minor correction to previous patch: PageDown should
  3692. also *try* to move by one item if the computed offset is negative,
  3693. just like the PageUp case.
  3694. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  3695. * ComboBox.cs: When navigating using PageDown/PageUp the navigation
  3696. should be done for at least 1 item, and not stay at the same item.
  3697. Fixes part of #374713.
  3698. 2008-05-23 Jonathan Pobst <[email protected]>
  3699. * FileDialog.cs: Add a FSEntryComparer, and use it to sort the
  3700. directories. [Fixes bug #393931]
  3701. 2008-05-22 Andreia Gaita <[email protected]>
  3702. * WebBrowser.cs: Implement DocumentText. Implement AllowNavigation.
  3703. Don't fire events until the initial about:blank page has finished
  3704. loading. Clean up events.
  3705. 2008-05-22 Atsushi Enomoto <[email protected]>
  3706. * XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
  3707. FocusIn() too. This should fix the issue on switching
  3708. scim keyboards.
  3709. 2008-05-22 Atsushi Enomoto <[email protected]>
  3710. * X11Keyboard.cs : set XIM font size to somewhat reasonable
  3711. number (ideally the input textbox size, but that could be
  3712. too messy).
  3713. 2008-05-22 Jonathan Pobst <[email protected]>
  3714. * ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
  3715. the ToolStripItem's TextChanged. [Fixes bug #393597]
  3716. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  3717. * TabControl.cs: When invalidating in SelectedIndex and we need to
  3718. inflate to take into account the border of the tabs, make sure that
  3719. the invalidated rect doesn't overflow the control bounds, since that
  3720. would avoid updating at all.
  3721. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  3722. * TabControl.cs: Don't substract scroller width from the row width,
  3723. since we need to take into account the total width of the control when
  3724. calculating the position of the tabs. This avoids showing scroller
  3725. when it is actually not needed.
  3726. Fixes part of #322325.
  3727. 2008-05-21 George Giolfan <[email protected]>
  3728. * ThemeVisualStyles.cs: Added support for TextBoxBase.
  3729. 2008-05-21 George Giolfan <[email protected]>
  3730. * RichTextBox.cs, TextBoxBase.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  3731. Extracted TextBoxBase.Draw and Theme.TextBoxBase*.
  3732. 2008-05-21 Jonathan Pobst <[email protected]>
  3733. * DataGridView.cs: Only paint the top left header cell if there
  3734. are columns.
  3735. 2008-05-21 Jonathan Pobst <[email protected]>
  3736. * DataGridView.cs: When binding to a BindingSource, get the underlying
  3737. list to bind to. [Fixes bug #345483]
  3738. 2008-05-21 Jonathan Pobst <[email protected]>
  3739. * DataGridView.cs: Do not bind to collection properties.
  3740. [Fixes bug #337470]
  3741. 2008-05-21 George Giolfan <[email protected]>
  3742. * ThemeVisualStyles.cs: Added support for the hot TrackBar thumb style.
  3743. 2008-05-21 George Giolfan <[email protected]>
  3744. * Theme.cs, ThemeWin32Classic.cs, TrackBar.cs: Added support for the hot
  3745. thumb style.
  3746. 2008-05-21 George Giolfan <[email protected]>
  3747. * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
  3748. 2008-05-21 George Giolfan <[email protected]>
  3749. * Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
  3750. background.
  3751. 2008-05-21 George Giolfan <[email protected]>
  3752. * ThemeVisualStyles.cs: Added support for ToolBar hot and hot checked styles.
  3753. 2008-05-21 George Giolfan <[email protected]>
  3754. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs: Added support for hot and hot
  3755. checked styles.
  3756. 2008-05-21 George Giolfan <[email protected]>
  3757. * TabControl.cs: Extended to handle the hot style.
  3758. 2008-05-21 George Giolfan <[email protected]>
  3759. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs, UpDownBase.cs:
  3760. Extended UpDownBase code to handle hot and disabled styles.
  3761. 2008-05-20 Jonathan Pobst <[email protected]>
  3762. * DataGridView.cs: Handle databinding to generic list type things.
  3763. [Fixes bug #325239]
  3764. 2008-05-20 Jonathan Pobst <[email protected]>
  3765. * DataGridViewCellCollection.cs: Add a method to find the cell
  3766. with the given DataPropertyName.
  3767. * DataGridViewColumn.cs: Track if the column was autogenerated or not.
  3768. * DataGridViewColumnCollection.cs: Add a method to clear all
  3769. autogenerated columns.
  3770. * DataGridView.cs: If AutoGenerateColumns is false, don't autogenerate
  3771. columns.
  3772. [Fixes bug #348082]
  3773. 2008-05-20 Jonathan Pobst <[email protected]>
  3774. * DataGridView.cs: Don't try to update the RowTemplate with
  3775. a null CellTemplate.
  3776. 2008-05-20 Jonathan Pobst <[email protected]>
  3777. * DataGridViewColumn.cs: Allow IsDataBound to be set internally.
  3778. * DataGridViewColumnCollection.cs: Ensure OnColumnAdded is called.
  3779. * DataGridView.cs: Lots of fixes/enhancements to databinding to
  3780. a DataSet.
  3781. 2008-05-20 Jonathan Pobst <[email protected]>
  3782. * Control.cs: Remove invalidating implicit child controls when
  3783. control is invalidated. It was causing too many redraws on
  3784. controls with implicit scrollbars.
  3785. * ListView.cs: Listen to the Invalidated event and invalidate
  3786. child controls.
  3787. 2008-05-20 Andreia Gaita <[email protected]>
  3788. * WebBrowserBase.cs, WebBrowser.cs: Hook up page loading events
  3789. * HtmlDocument.cs: Check for nulls
  3790. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  3791. * Control.cs: In ControlCollection.RemoveInternal, remove the
  3792. internal control before calling PerformLayout and OnControlRemoved,
  3793. which was leaving us in an invalid state and causing a X error (bad
  3794. match). Observe that Remove () call has the same order.
  3795. Fixes an X error changing ComboBoxStyle.DropDownStyle.
  3796. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  3797. * TabControl.cs: Don't paint by ourselved and instead let OnPaint
  3798. being fired if ControlStyles.UserPaint style is activated.
  3799. Fixes #371905.
  3800. 2008-05-19 Ivan N. Zlatev <[email protected]>
  3801. * GridEntry.cs: Don't be so strict when setting the value -
  3802. do not check if what we set is what we get.
  3803. [Fixes bug #389245]
  3804. 2008-05-19 Ivan N. Zlatev <[email protected]>
  3805. * XplatUIX11.cs: If there are no timers timeout should be 0
  3806. [Fixes bug #363522]
  3807. 2008-05-19 Jonathan Pobst <[email protected]>
  3808. * Control.cs: As a followup to invalidating implicit children when
  3809. a control is invalidated, only invalidate them if they are in the
  3810. clip rectangle.
  3811. 2008-05-19 George Giolfan <[email protected]>
  3812. * ThemeVisualStyles.cs: Implemented partial support for ToolTip.
  3813. 2008-05-19 George Giolfan <[email protected]>
  3814. * ThemeWin32Classic.cs: Refactored: Extracted ToolTipDrawBackground.
  3815. 2008-05-19 George Giolfan <[email protected]>
  3816. * GroupBoxRenderer.cs: Fixed text area clipping in the Visual Styles case.
  3817. * XplatUIWin32.cs: Made Win32DeleteObject public.
  3818. 2008-05-19 Ivan N. Zlatev <[email protected]>
  3819. * GridEntry.cs: Determine HasDefaultValue more strictly by using
  3820. PropertyDescriptor.ShouldSerializeValue.
  3821. [Fixes bug #391924]
  3822. 2008-05-19 George Giolfan <[email protected]>
  3823. * ThemeVisualStyles.cs: Enabled support for ScrollBar element styles not present
  3824. in the classic theme.
  3825. 2008-05-19 George Giolfan <[email protected]>
  3826. * ScrollBar.cs: Added FirstButtonEntered, SecondButtonEntered, ThumbEntered,
  3827. ThumbPressed.
  3828. * Theme.cs, ThemeWin32Classic.cs: Added ScrollBarHasHotElementStyles,
  3829. ScrollBarHasPressedThumbStyle.
  3830. 2008-05-19 George Giolfan <[email protected]>
  3831. * TextRenderer.cs: Included some methods in the 1.1 profile.
  3832. 2008-05-19 Jonathan Pobst <[email protected]>
  3833. * Control.cs: When we make a control visible, it may have been
  3834. previously visible and while it wasn't visible, the z-order of
  3835. things may have been shuffled, so the control needs to have its
  3836. z-order updated just in case. [Fixes bug #391518]
  3837. 2008-05-19 George Giolfan <[email protected]>
  3838. * ThemeVisualStyles.cs: Added support for GroupBox.
  3839. 2008-05-19 George Giolfan <[email protected]>
  3840. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  3841. 2008-05-16 Atsushi Enomoto <[email protected]>
  3842. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  3843. bug #389996; XSelectInput() behaved as mouse handler robber,
  3844. so remove extra call to it.
  3845. 2008-05-15 Jonathan Pobst <[email protected]>
  3846. * Control.cs: Simplify ControlCollection.Contains method.
  3847. 2008-05-15 Jonathan Pobst <[email protected]>
  3848. * DataGridViewRow.cs: Implement GetPreferredSize.
  3849. 2008-05-15 Jonathan Pobst <[email protected]>
  3850. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  3851. 2008-05-15 Jonathan Pobst <[email protected]>
  3852. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  3853. painting and edit control fixes.
  3854. 2008-05-14 Jonathan Pobst <[email protected]>
  3855. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  3856. checks to make sure we are in an actual row/col for top left header cell.
  3857. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  3858. 2008-05-14 Jonathan Pobst <[email protected]>
  3859. * Control.cs: Use long instead of int when handling WParam from
  3860. mousewheel scrolling. Int was overflowing on Win64.
  3861. 2008-05-14 Jonathan Pobst <[email protected]>
  3862. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  3863. flow panel without scrolling first, and then calculate the
  3864. scrolling based on the new layout. [Fixes bug #390149]
  3865. 2008-05-14 Jonathan Pobst <[email protected]>
  3866. * ListBox.cs: Invalidate after scrolling up when selected index
  3867. changes. [Fixes bug #390151]
  3868. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  3869. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  3870. set, default height to 150. I tried first with DefaultSize, but this
  3871. is not generating a SetBoundsCore call before handle creation time, so
  3872. we can take it into account. This is just what .net does.
  3873. 2008-05-13 Jonathan Pobst <[email protected]>
  3874. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  3875. as it broke some stuff. Calberto is filing a bug for eno to
  3876. work with.
  3877. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  3878. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  3879. to 0 is the current value is -1, and if style is not Simple, just
  3880. return, like .net does.
  3881. Fixes part of #374713.
  3882. 2008-05-13 Jonathan Pobst <[email protected]>
  3883. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  3884. progress bar stuffs, use doubles instead of ints to prevent
  3885. overflow. [Fixes bug #389798]
  3886. 2008-05-13 Atsushi Enomoto <[email protected]>
  3887. * XplatUIX11.cs, X11Keyboard.cs :
  3888. Significant refactoring on XIM support. Now IM engine UI
  3889. should show up, at mostly-correct preedit position.
  3890. - Eliminated use of FocusWindow, as it is never mapped
  3891. and hence blocks correct preedit position. XIC is now
  3892. created per window, and it must be destroyed too when
  3893. the window is destroyed.
  3894. - WM_QUIT messages should not be filtered even when hwnd
  3895. is zombie. Filtering it could cause endless loop.
  3896. - Preedit position must move only when the window is alive.
  3897. - Make it IDisposable and make sure to release XIM/XICs.
  3898. 2008-05-13 Atsushi Enomoto <[email protected]>
  3899. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  3900. XplatUIX11.cs, XplatUIWin32.cs :
  3901. fix for bug #325033 and #387693;
  3902. - WM_QUIT should not be sent when no running application
  3903. exists.
  3904. - SetTimer/KillTimer (especially on win32) should be
  3905. invoked for the window that the timer is/will_be attached.
  3906. - There could be unattached timers to a window when it's
  3907. started. For those timers, hold pending timers and when
  3908. a window is mapped, attach them to it.
  3909. - WaitForHwndMessage() could run into loop when
  3910. WM_SHOWWINDOW is handled before this method is called.
  3911. So, strictly check wm_showwindow state.
  3912. - Tick handler should not be invoked while one Tick handler
  3913. call is still running (introduced Busy state).
  3914. 2008-05-13 Andreia Gaita <[email protected]>
  3915. * WebBrowserBase.cs: Override Internal alternative methods for
  3916. SetBoundsCore and OnResize instead of the protected ones.
  3917. * Control.cs: Move SetBoundsCore and OnResize implementations to
  3918. SetBoundsCoreInternal and OnResizeInternal, so they can be
  3919. overriden internally (WebBrowserBase needs to catch them but can't
  3920. override the protected methods without api compat problems)
  3921. 2008-05-13 Andreia Gaita <[email protected]>
  3922. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  3923. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  3924. * Binding.cs:
  3925. * ListView.cs: Remove debug messages.
  3926. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  3927. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  3928. area is empty. Also calculate scrollbars in Simple mode based in area
  3929. height and total number of items, not in MaxDropDownItems.
  3930. Fixes part of #371991.
  3931. 2008-05-12 Jonathan Pobst <[email protected]>
  3932. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  3933. 2008-05-12 Jonathan Pobst <[email protected]>
  3934. * BindingSource.cs: GetListSortDescription is not public.
  3935. 2008-05-12 Jonathan Pobst <[email protected]>
  3936. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  3937. 2008-05-12 Jonathan Pobst <[email protected]>
  3938. * HtmlElement.cs: Fix parameter names to match MS.
  3939. * HtmlWindowCollection.cs: Should not be sealed.
  3940. 2008-05-12 Jonathan Pobst <[email protected]>
  3941. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  3942. button, because the thumb button will not get drawn if the scrollbar
  3943. is disabled. [Fixes bug #389262]
  3944. 2008-05-12 Jonathan Pobst <[email protected]>
  3945. * ListBox.cs: Handle End key for multi-column listboxen.
  3946. [Fixes bug #389266]
  3947. 2008-05-12 Jonathan Pobst <[email protected]>
  3948. * ListBox.cs: Fix algorithm to determine which column our item is in.
  3949. [Fixes bug #389265]
  3950. 2008-05-12 Jonathan Pobst <[email protected]>
  3951. * ListBox.cs: Invalidate when the listbox is resized.
  3952. [Fixes bug #389256]
  3953. 2008-05-12 Jonathan Pobst <[email protected]>
  3954. * ListBox.cs: There is always at least one row in the ListBox (if
  3955. we are doing these calculations.) [Fixes bug #389253]
  3956. 2008-05-12 Jonathan Pobst <[email protected]>
  3957. * ListBox.cs: There is always at least one column in the ListBox.
  3958. [Fixes bug #389250]
  3959. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  3960. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  3961. ensure in Simple mode that the height is exactly the requested one.
  3962. Also add the ComboBoxListControl to the controls collection in Simple
  3963. mode even if handle hasn't been created.
  3964. Fixes part of #371991.
  3965. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  3966. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  3967. our ComboBox owner instead of giving it back to the previous control (
  3968. as done in other controls). Also remove the empty override of Select
  3969. method, since we want to be selected *and* give focus to our owner.
  3970. This should let the user do keys-navigation in Simple mode.
  3971. 2008-05-10 Geoff Norton <[email protected]>
  3972. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  3973. problems with rapid scrolling of treeviews. Fixes #381084
  3974. 2008-05-10 Geoff Norton <[email protected]>
  3975. * XplatUICarbon.cs: Deactivate the active window before
  3976. activating the desired window. Completes fixing #386504
  3977. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  3978. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  3979. SmallChange to the item size width plus the padding, to match .net.
  3980. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  3981. * FileDialog.cs: Apply the custom filter typed by the user in the file
  3982. name combobox as much as possible while navigating in the file dialog.
  3983. Fixes #385261.
  3984. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  3985. * Binding.cs: Actually use NullValue if the retrieved value of
  3986. data source is null or DBNull. Makes a test pass.
  3987. 2008-05-09 Jonathan Pobst <[email protected]>
  3988. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  3989. * MimeIcon.cs: Provide a way to get icons from resources.
  3990. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  3991. * Binding.cs: When the value retrieved from the control to be assigned
  3992. to the data source is null, actually use the 2.0 DataSourceNullValue
  3993. value. Make pass a data binding test.
  3994. 2008-05-08 Jonathan Pobst <[email protected]>
  3995. * Control.cs: We need to invalidate implicit children even when
  3996. invalidate is called with invalidatechildren = false. (Implicit
  3997. children are really part of the parent.)
  3998. * ListView.cs: Double-buffer internal child controls for less
  3999. flicker.
  4000. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  4001. owner ListView subitems for greatly increased performance.
  4002. [Fixes bug #388477]
  4003. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  4004. * FileDialog.cs: When the user types a wildcard character in the
  4005. filename combobox, update the contents of the folder using the text as
  4006. a filter.
  4007. Fixes part of #385261.
  4008. 2008-05-08 Jonathan Pobst <[email protected]>
  4009. * ListBox.cs: Various fixes for MultiColumn listboxen.
  4010. [Fixes bug #388114]
  4011. 2008-05-08 Andreia Gaita <[email protected]>
  4012. * HtmlElement.cs: Implement Style property
  4013. 2008-05-08 Jonathan Pobst <[email protected]>
  4014. * ListBox.cs: Respect checkboxes when measuring item size.
  4015. * ThemeWin32Classis.cs: When drawing list items, don't draw
  4016. text outside of the item's bounds to prevent overlapping.
  4017. (.Net actually overlaps, but that's just silly.)
  4018. [Fixes bug #388117]
  4019. 2008-05-08 Everaldo Canuto <[email protected]>
  4020. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  4021. Gert Driesen. Fixes bug #324830.
  4022. 2008-05-07 Everaldo Canuto <[email protected]>
  4023. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  4024. method implemented.
  4025. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  4026. * BindingSource.cs: When calling IsSynchronized, return the value of
  4027. the related IList list.
  4028. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  4029. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  4030. make a test pass.
  4031. 2008-05-07 Jonathan Pobst <[email protected]>
  4032. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  4033. navigation to scroll the grid if the current cell is not visible.
  4034. 2008-05-07 Andreia Gaita <[email protected]>
  4035. * HtmlElement.cs: Implement TabIndex
  4036. 2008-05-07 Jonathan Pobst <[email protected]>
  4037. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  4038. properties, even when there are no items.
  4039. [Fixes bug #387611]
  4040. 2008-05-07 Ivan N. Zlatev <[email protected]>
  4041. * NativeWindow.cs: Add support for multiple handles per window.
  4042. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  4043. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  4044. directly - use FromHandle instead.
  4045. [Fixes bug #374660]
  4046. 2008-05-07 Andreia Gaita <[email protected]>
  4047. * HtmlElement.cs: Implement InnerHTML setter
  4048. 2008-05-07 Andreia Gaita <[email protected]>
  4049. * HtmlDocument.cs: Implement Focused
  4050. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4051. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  4052. methods, as well as add messages to the exceptions.
  4053. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4054. * BindingSource.cs: Setting DataSource should only reset DataMember if
  4055. the previous value was null (make pass a not working test).
  4056. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  4057. * BindingSource.cs: When EndInit call is postponed and is called until
  4058. DataSource.EndInit is called, remove the handler for data source.
  4059. 2008-05-06 Jonathan Pobst <[email protected]>
  4060. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  4061. 2008-05-06 Jonathan Pobst <[email protected]>
  4062. * ToolStripManager.cs: Store references to toolstrips as
  4063. weak references so they do not prevent forms from getting collected.
  4064. [Fixes bug #386483]
  4065. 2008-05-06 Jonathan Pobst <[email protected]>
  4066. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  4067. on .Net. So do the same thing in WndProc.
  4068. 2008-05-06 Jonathan Pobst <[email protected]>
  4069. * TrackBar.cs: Commit patch from Andy Hume that corrects
  4070. the clickable areas to better match .Net.
  4071. [Fixes bug #387074]
  4072. 2008-05-06 Jonathan Pobst <[email protected]>
  4073. * TrackBar.cs: Commit patch from Andy Hume that adds the
  4074. ResizeRedraw control flag so the track bar repaints itself
  4075. when it is resized. [Fixes bug #387072]
  4076. 2008-05-06 Jonathan Pobst <[email protected]>
  4077. * TrackBar.cs: Commit patch from Andy Hume that adds better
  4078. support for keyboard navigation when the TrackBar is vertical.
  4079. [Fixes bug #387071]
  4080. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  4081. * BindingSource.cs: Implement ISupportInitializeNotification support.
  4082. 2008-05-06 George Giolfan <[email protected]>
  4083. * ThemeVisualStyles.cs: Added support for ToolBar.
  4084. 2008-05-06 George Giolfan <[email protected]>
  4085. * ToolBar.cs: Made the Vertical property internal.
  4086. 2008-05-05 George Giolfan <[email protected]>
  4087. * ThemeVisualStyles.cs: Added support for TrackBar.
  4088. 2008-05-05 George Giolfan <[email protected]>
  4089. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  4090. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  4091. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  4092. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  4093. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  4094. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  4095. 2008-05-05 George Giolfan <[email protected]>
  4096. * ThemeVisualStyles.cs: Added support for UpDownBase.
  4097. 2008-05-05 George Giolfan <[email protected]>
  4098. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  4099. Extracted Theme.UpDownBaseDrawButton.
  4100. 2008-05-05 Jonathan Pobst <[email protected]>
  4101. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  4102. removed from the static toolstrips collection in ToolStripManager
  4103. when they are disposed. Provides a workaround for bug #386483.
  4104. 2008-05-05 Ivan N. Zlatev <[email protected]>
  4105. * GridEntry.cs: Read-only properties with Editor with
  4106. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  4107. [Fixes bug #384184]
  4108. 2008-05-05 Jonathan Pobst <[email protected]>
  4109. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  4110. the menu key and there are no items on the menu.
  4111. [Fixes bug #386644]
  4112. 2008-05-05 Sebastien Pouliot <[email protected]>
  4113. * Control.cs: Avoid calling ToString on a string.
  4114. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  4115. * GroupBox.cs: In FlatStyle property throw, not just create, the
  4116. exception. Avoid calling ToString on a string.
  4117. * ProgressBar.cs: Avoid calling ToString on a string.
  4118. * ScrollBar.cs: Avoid calling ToString on a string.
  4119. [All issues were found using Gendarme]
  4120. 2008-05-05 Everaldo Canuto <[email protected]>
  4121. * NotifyIcon.cs: Prevent click events to be trigger after double click
  4122. events. Fixes remaining issues of bug #324832.
  4123. 2008-05-05 Everaldo Canuto <[email protected]>
  4124. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  4125. to mimic win32 behavior. Partially fixes bug #324832.
  4126. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4127. * BindingSource.cs: Implement Find methods.
  4128. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4129. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  4130. RemoveSort methods.
  4131. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  4132. * ListBindingHelper.cs: When calling GetListItemProperties and the
  4133. passed object is ITypedList, return the result of
  4134. ITypedList.GetItemProperties instead.
  4135. 2008-05-04 Everaldo Canuto <[email protected]>
  4136. * LinkLabel.cs: Set default value of name on constructor of Link class
  4137. only for 2.0 profile.
  4138. 2008-05-04 Everaldo Canuto <[email protected]>
  4139. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  4140. Fixes remaining issues of bug #346154.
  4141. 2008-05-04 Everaldo Canuto <[email protected]>
  4142. * LinkLabel.cs: Set a default value for name on internal contructor of
  4143. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  4144. 2008-05-04 Everaldo Canuto <[email protected]>
  4145. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  4146. and refer all instances to owner.links. Partially fixes #346154.
  4147. 2008-05-03 Everaldo Canuto <[email protected]>
  4148. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  4149. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  4150. the LinkLabel test 'TestLinkArea'.
  4151. 2008-05-03 Everaldo Canuto <[email protected]>
  4152. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  4153. [Fixes #386460]
  4154. 2008-05-03 Everaldo Canuto <[email protected]>
  4155. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  4156. [Fixes #386463]
  4157. 2008-05-03 Everaldo Canuto <[email protected]>
  4158. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  4159. [Fixed bug #357004]
  4160. 2008-05-03 Everaldo Canuto <[email protected]>
  4161. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  4162. 2008-05-03 Everaldo Canuto <[email protected]>
  4163. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  4164. [Fixes bug #375398]
  4165. 2008-05-03 Everaldo Canuto <[email protected]>
  4166. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  4167. of bug #367492.
  4168. 2008-05-03 Everaldo Canuto <[email protected]>
  4169. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  4170. sometimes we open a conext menu on mouse down of some controls and the mouse
  4171. up is dispatched to menu and dont need to. It fix remaining issues of
  4172. #363711 and other problems related to menu mouse click events.
  4173. 2008-05-02 Everaldo Canuto <[email protected]>
  4174. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  4175. some var names to better fit changes, now we have month_menu and today_menu
  4176. vars. Fixes bug #363711.
  4177. 2008-05-02 Everaldo Canuto <[email protected]>
  4178. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  4179. right now the default month menu but it will be change to have "Go to today"
  4180. menu.
  4181. 2008-05-02 Jonathan Pobst <[email protected]>
  4182. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  4183. 2008-05-02 Everaldo Canuto <[email protected]>
  4184. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  4185. 2008-05-02 George Giolfan <[email protected]>
  4186. * ThemeVisualStyles.cs: Added support for TreeView.
  4187. 2008-05-02 George Giolfan <[email protected]>
  4188. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  4189. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  4190. 2008-05-02 Jonathan Pobst <[email protected]>
  4191. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  4192. 2008-05-02 Jonathan Pobst <[email protected]>
  4193. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  4194. Implement 2.0 SP1 stuffs.
  4195. 2008-05-02 Jonathan Pobst <[email protected]>
  4196. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  4197. 2008-05-02 Jonathan Pobst <[email protected]>
  4198. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  4199. Implement CanEnableIme property. (2.0 SP1)
  4200. 2008-05-02 Jonathan Pobst <[email protected]>
  4201. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  4202. from the 2.0 API.
  4203. 2008-05-02 Jonathan Pobst <[email protected]>
  4204. * Control.cs: Provide an internal way for a control to override
  4205. the setting of Height.
  4206. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  4207. set height using new method.
  4208. 2008-05-02 George Giolfan <[email protected]>
  4209. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  4210. 2008-05-02 George Giolfan <[email protected]>
  4211. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  4212. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  4213. 2008-05-02 George Giolfan <[email protected]>
  4214. * ThemeVisualStyles.cs: Added support for StatusBar.
  4215. 2008-05-02 Jonathan Pobst <[email protected]>
  4216. * DataObject.cs: Add the other IDataObject interface.
  4217. 2008-05-02 George Giolfan <[email protected]>
  4218. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  4219. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  4220. 2008-05-02 Jonathan Pobst <[email protected]>
  4221. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  4222. * ListView.cs: Hide non-public API.
  4223. * MaskedTextBox.cs: Remove extra attribute.
  4224. 2008-05-02 Jonathan Pobst <[email protected]>
  4225. * DataGridViewImageCell.cs: Use formatted value instead of value
  4226. to calculate preferred size.
  4227. 2008-05-01 Jonathan Pobst <[email protected]>
  4228. * ListBox.cs: Move some initialization around so that selected_indices
  4229. is not accessed before it is created.
  4230. 2008-05-01 Jonathan Pobst <[email protected]>
  4231. * InputLanguageCollection.cs: Implement the collection better.
  4232. [Fixes bug #385506]
  4233. 2008-05-01 Jonathan Pobst <[email protected]>
  4234. * ToolStripDropDownItem.cs: Get the correct event object for
  4235. DropDownItemClicked.
  4236. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  4237. [Fixes bug #385475]
  4238. 2008-05-01 Jonathan Pobst <[email protected]>
  4239. * DataGridViewRowCollection.cs: We don't currently support shared
  4240. rows. Should fix test failures caused by previous commit.
  4241. 2008-04-30 Jonathan Pobst <[email protected]>
  4242. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  4243. datagridview gets set. Only paint cells in visible columns.
  4244. * DataGridViewCell.cs: Draw border after cell content.
  4245. * DataGridView.cs: Invalidate after setting some properties. Only
  4246. use visible columns. Fit hit test bug with areas in the col/row header
  4247. area but not in a row or col. Implement UpdateCell/Row methods.
  4248. 2008-04-30 Jonathan Pobst <[email protected]>
  4249. * DataGridViewElement.cs: Don't throw NIEX.
  4250. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  4251. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  4252. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  4253. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  4254. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  4255. if the user filled in the formatting Value, use it.
  4256. 2008-04-30 Jonathan Pobst <[email protected]>
  4257. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  4258. to a string.
  4259. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  4260. * BindingSource.cs: Some corrections to Filter property, as well as
  4261. setting it for our list when resetting it.
  4262. 2008-04-29 Jonathan Pobst <[email protected]>
  4263. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  4264. than the maximum. Fixes reopened bug #384182.
  4265. 2008-04-28 Everaldo Canuto <[email protected]>
  4266. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  4267. Fixes remaining issues of #367490.
  4268. 2008-04-28 Everaldo Canuto <[email protected]>
  4269. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  4270. SystemInformation.WorkingArea to get max_screen value.
  4271. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  4272. * BindingSource.cs: Implement Filter and RemoveFilter.
  4273. 2008-04-28 Everaldo Canuto <[email protected]>
  4274. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  4275. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  4276. * X11Dnd.cs: When trying to convert data and we know we started the
  4277. dnd loop, don't try to use the cached data if the loop is not running,
  4278. which means that the data has been resetted.
  4279. Fixes #378191.
  4280. 2008-04-28 Everaldo Canuto <[email protected]>
  4281. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  4282. win32 behavior.
  4283. 2008-04-28 Everaldo Canuto <[email protected]>
  4284. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  4285. it to drawn off screen edge. Fixes bug #367490.
  4286. 2008-04-28 Everaldo Canuto <[email protected]>
  4287. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  4288. menu position to have only one assignment of Location var.
  4289. 2008-04-28 Everaldo Canuto <[email protected]>
  4290. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  4291. for this patch. Fixes bug #384115.
  4292. 2008-04-28 Jonathan Pobst <[email protected]>
  4293. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  4294. the same. If LargeChange is zero, set a minimum size for the scroll
  4295. thumb grip. [Fixes bug #384182]
  4296. 2008-04-28 Jonathan Pobst <[email protected]>
  4297. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  4298. [Fixes bug #384181]
  4299. 2008-04-28 Jonathan Pobst <[email protected]>
  4300. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  4301. 2008-04-28 George Giolfan <[email protected]>
  4302. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  4303. patch from Ernesto).
  4304. 2008-04-28 George Giolfan <[email protected]>
  4305. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  4306. 2008-04-28 George Giolfan <[email protected]>
  4307. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  4308. 2008-04-28 George Giolfan <[email protected]>
  4309. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  4310. 2008-04-28 George Giolfan <[email protected]>
  4311. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  4312. 2008-04-27 George Giolfan <[email protected]>
  4313. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  4314. 2008-04-27 Andreia Gaita <[email protected]>
  4315. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  4316. supposed to return a reference to an mshtml interface, which we
  4317. don't support).
  4318. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  4319. reference to an mshtml interface, which we don't support). Code
  4320. formatting cleanup.
  4321. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  4322. DomDocument getter (it's supposed to return a reference to an
  4323. mshtml interface, which we don't support). Code formatting cleanup.
  4324. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4325. * ListView.cs: Ouch, forgot to commit.
  4326. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4327. * ListView.cs:
  4328. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  4329. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  4330. * ListView.cs: When calculating box selection for virtual mode, don't
  4331. look for intersection with item's text, but item bounds, since that
  4332. would mean read ListViewItem's text for _every_ item, and that's
  4333. something we just can't do in virtual mode (items are only requested
  4334. when drawn).
  4335. 2008-04-26 George Giolfan <[email protected]>
  4336. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  4337. partial support for managed windows (based on the patch from Ernesto).
  4338. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  4339. * ListView.cs: When doing a key search use FindItemWithText method
  4340. instead of doing the search by ourselves, this way we avoid
  4341. duplicating the code and also we handle the special case for virtual
  4342. mode. To achieve that make our private overload of FindItemWithText
  4343. internal and also have a 'roundtrip' parameter.
  4344. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  4345. * ListView.cs: When doing the layout don't request the
  4346. ListViewItem instance if we are in virtual mode (since we can't request it
  4347. until the item is actully drawn).
  4348. 2008-04-25 George Giolfan <[email protected]>
  4349. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  4350. from Ernesto).
  4351. 2008-04-25 George Giolfan <[email protected]>
  4352. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  4353. the patch from Ernesto).
  4354. 2008-04-25 George Giolfan <[email protected]>
  4355. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  4356. * ThemeVisualStyles.cs: Added.
  4357. 2008-04-25 George Giolfan <[email protected]>
  4358. * IDeviceContext.cs: Added a missing using.
  4359. 2008-04-25 George Giolfan <[email protected]>
  4360. * ButtonBase.cs: Made IsDefault protected internal.
  4361. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  4362. 2008-04-25 George Giolfan <[email protected]>
  4363. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  4364. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  4365. RadioButtonRenderer.cs: Included in the 1.1 profile.
  4366. * IDeviceContext.cs: Added.
  4367. * TextRenderer.cs: Included a member in the 1.1 profile.
  4368. 2008-04-25 George Giolfan <[email protected]>
  4369. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  4370. 2008-04-24 Jonathan Pobst <[email protected]>
  4371. * ErrorProvider.cs: Make the error icons come after the control
  4372. they refer to. It isn't the way the MS does it, but its better
  4373. than what we were doing. See bug #368587.
  4374. 2008-04-24 Jonathan Pobst <[email protected]>
  4375. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  4376. from Eric Albright that lazy loads the input language as ensures
  4377. everything gets properly initialized. Fixes bug #373871.
  4378. 2008-04-24 Jonathan Pobst <[email protected]>
  4379. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  4380. implicit mnemonics. [Fixes bug #383000]
  4381. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4382. * X11Dnd.cs: When canceling the operation, automatically restore the
  4383. default cursor - normally the default cursor is restored when the
  4384. mouse buttons are released, but we should be able to restore it even
  4385. if the buttons are still pressed (for example, when pressing ESC to
  4386. cancel).
  4387. Fixes #381894.
  4388. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4389. * X11Dnd.cs: When starting a new drad and drop operation, set control
  4390. field to null, just as the other fields, to avoid calling any
  4391. operation on a previous control. Also, when calling DndLeave on a
  4392. control, set it to null, thus we don't fire that event multiple times
  4393. for that control.
  4394. Fixes #209264.
  4395. 2008-04-23 Geoff Norton <[email protected]>
  4396. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  4397. the whole_window object. Fixes #377084.
  4398. 2008-04-23 Andreia Gaita <[email protected]>
  4399. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  4400. embedded browser)
  4401. 2008-04-23 Jonathan Pobst <[email protected]>
  4402. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  4403. 2008-04-23 Andreia Gaita <[email protected]>
  4404. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  4405. invocation
  4406. 2008-04-23 Andreia Gaita <[email protected]>
  4407. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  4408. attaching/detaching
  4409. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  4410. * X11Dnd.cs: When the drop was cancelled, or could just not be
  4411. performed, return DragDropEffect.None always (match .net).
  4412. 2008-04-22 Jonathan Pobst <[email protected]>
  4413. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  4414. 2008-04-22 Jonathan Pobst <[email protected]>
  4415. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  4416. 2008-04-22 Jonathan Pobst <[email protected]>
  4417. * DataGridView.cs: Add support for error icon tool tips.
  4418. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  4419. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  4420. 2008-04-22 Ivan N. Zlatev <[email protected]>
  4421. * X11Structs.cs: Add mouse button masks enum.
  4422. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  4423. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  4424. form resize/move operation instead of for each step of it.
  4425. [Fixes bug #346529 for the x11 backend]
  4426. 2008-04-21 Jonathan Pobst <[email protected]>
  4427. * DataGridView*: Implement support for drawing error icons.
  4428. 2008-04-21 Jonathan Pobst <[email protected]>
  4429. * TreeView.cs: Make vbar and hbar internal.
  4430. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  4431. scrollbars, invalidate the whole thing.
  4432. [Fixes bug #382001]
  4433. 2008-04-21 Jonathan Pobst <[email protected]>
  4434. * TreeView.cs: Calling Sort() sets Sorted = true.
  4435. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  4436. if the nodes need to be sorted.
  4437. [Fixes bug #382028]
  4438. 2008-04-21 Ivan N. Zlatev <[email protected]>
  4439. * Form.cs: Fire SizeChanged for both when the form is minimized and
  4440. restored.
  4441. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  4442. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  4443. 2008-04-21 Jonathan Pobst <[email protected]>
  4444. * ComboBox.cs: If the combobox is disabled, draw a disabled
  4445. background before painting anything else.
  4446. [Fixes bug #381729]
  4447. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  4448. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  4449. forget to send a Leave event to the target window - just as .net does
  4450. when cancelling dnd operations.
  4451. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  4452. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  4453. soon as possible - this happens when we send the drop message to the
  4454. target window. This way we avoid firing any DragOver _after_ drop finished.
  4455. Fixes #378179.
  4456. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4457. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  4458. * Form.cs: Handle form minimization as a special state, where size doesn't
  4459. change, but we have to fire SizeChanged.
  4460. [Fixes bug #325122 for the win32 and x11 backends]
  4461. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4462. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  4463. if the handle is disabled.
  4464. [Fixes bug #371751]
  4465. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4466. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  4467. for forms with FormBorderStyle.None.
  4468. [Fixes bug #349571]
  4469. 2008-04-20 Ivan N. Zlatev <[email protected]>
  4470. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  4471. WM_EXITSIZEMOVE.
  4472. [Fixes bug #346529 for the X11 backend]
  4473. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4474. * XplatUIX11.cs:
  4475. - Send a mouse Enter message after say dragging the mouse with a
  4476. button down and then release it in another client.
  4477. - Reset the cursor to prevent X11 from remembering it and setting it
  4478. before the control gets WM_SETCURSOR.
  4479. - Qeueue a mouse move after a mouse enter like win32.
  4480. [Fixes bug #323234]
  4481. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4482. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  4483. It's sent when the form gets moved, resized, closed.
  4484. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  4485. [Fixes bug #359193 for X11]
  4486. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4487. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  4488. the build.
  4489. 2008-04-19 Ivan N. Zlatev <[email protected]>
  4490. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  4491. group. Fixes the 1.1 build.
  4492. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4493. * ListView.cs: Use display indexes for selection in Details view, as
  4494. well as do the proper layout based on display indexes for that view
  4495. too.
  4496. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4497. * ListView.cs: Focused item information is now stored as a display
  4498. index, and display indexes are used all over the place for selection,
  4499. instead of ListViewItem.Index values, which doesn't give us enough
  4500. information to modify the selection in groups mode, and was broken.
  4501. 2008-04-18 Ivan N. Zlatev <[email protected]>
  4502. * Control.cs: Do not fire MouseDown if validation of the control has
  4503. failed.
  4504. * Form.cs: Validate the form before closing.
  4505. [Fixes bugs #330501 and #353310]
  4506. 2008-04-18 Andreia Gaita <[email protected]>
  4507. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  4508. CreateWebBrowserSiteBase implementations
  4509. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  4510. Style and TabIndex setters
  4511. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4512. * ListViewGroup.cs: When returning the actual item count, return the
  4513. proper count for default group.
  4514. Fix the tests.
  4515. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4516. * ListView.cs:
  4517. * ListViewGroup.cs: When calculating groups layout, get the actual
  4518. number of items per group, since groups added to the group BUT not
  4519. added to the ListView are just ignored, and can cause some nasty
  4520. exceptions because of the lack of synchronization. Also for
  4521. ListViewGroup don't use lazy initialization for items, since we
  4522. the common scenario is to use it always - and it helps us to refactor
  4523. and clean the .ctor overloads.
  4524. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  4525. * ListView.cs: When adding an item to a ListViewItemCollection
  4526. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  4527. the added item hasn't beeen previously added to the ListView instance
  4528. refered by the group, since it will be ignored. This should avoid some
  4529. really nasty flickering.
  4530. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  4531. * ListView.cs: When accessing an item in a specific display
  4532. position, use the helper method GetItemAtDisplayIndex, instead of
  4533. direct access to the reordered_items_indices array. When doing layout
  4534. for groups set the correct Items index for the display position (since
  4535. in groups mode items don't have the same position as in Items
  4536. collection).
  4537. * ListViewGroup.cs: Add a field to store the starting item number,
  4538. which is later used when calculating the layout.
  4539. Fixes #360805.
  4540. 2008-04-17 Gert Driesen <[email protected]>
  4541. * Application.cs: Fixed ProductVersion to fallback to the assembly
  4542. version. Fixes regression for bug #325413.
  4543. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  4544. * ListView.cs: New helper method to retrieve an item in a _specific
  4545. display_ position (the items can be displayed in a different order
  4546. than one of Items collection).
  4547. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  4548. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  4549. specific display position (again remember that items can be sorted
  4550. different than Items).
  4551. 2008-04-16 Jonathan Pobst <[email protected]>
  4552. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  4553. list and update it when the collection changes. We were recreating
  4554. this several times per row paint and for every pixel the mouse moved
  4555. across the grid.
  4556. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  4557. changes.
  4558. 2008-04-16 Jonathan Pobst <[email protected]>
  4559. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  4560. list to use generics.
  4561. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  4562. and remove unneccessay casts.
  4563. 2008-04-16 Jonathan Pobst <[email protected]>
  4564. * DataGridViewBand.cs: Add internal way to set displayed variable.
  4565. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  4566. * DataGridView.cs: Make sure we always keep track of Displayed
  4567. rows and columns, and only draw things that are displayed.
  4568. 2008-04-16 Atsushi Enomoto <[email protected]>
  4569. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  4570. whether the key events are filtered or not. Introduced
  4571. PreFilter() process for this purpose. This fixes atokx3/iiimx
  4572. shift state issue.
  4573. 2008-04-16 Andreia Gaita <[email protected]>
  4574. * HtmlHistory.cs: Implement Length property
  4575. 2008-04-15 Jonathan Pobst <[email protected]>
  4576. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  4577. away the edit textbox. Refactor to reuse column sort code.
  4578. 2008-04-12 Everaldo Canuto <[email protected]>
  4579. * MenuAPI.cs: Remove the code that save and restore capture status of
  4580. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  4581. cause some others, I cant figure the possible problems of this patch but
  4582. right now remove the code looks to be better than keep it. This patch fixes
  4583. bugs #357638, #378721 and #379570.
  4584. 2008-04-12 Andreia Gaita <[email protected]>
  4585. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  4586. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  4587. add missing properties and event handlers.
  4588. 2008-04-14 Jonathan Pobst <[email protected]>
  4589. * ListBox.cs: Make sure the LargeChange we are setting is at least
  4590. zero, to prevent an IOORE. [Fixes bug #379531]
  4591. 2008-04-13 Andy Hume <[email protected]>
  4592. * ComboBox.cs: Support item navigation by entering text. Firstly,
  4593. in DropDownList mode, for each key-press select the next item
  4594. starting with that letter.
  4595. For other modes, when no item selected, on arrow-up/-down and open
  4596. drop-down select the first item matching the text in the textbox.
  4597. 2008-04-14 Atsushi Enomoto <[email protected]>
  4598. * X11Keyboard.cs : Control.FromHandle() could return null
  4599. in MoveCurrentCaretPos().
  4600. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  4601. * ListView.cs: When changing the size in VirtualMode, also Reset the
  4602. selection.
  4603. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  4604. changing selection info for VirtualMode.
  4605. Fixes #372618.
  4606. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  4607. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  4608. view, don't use LineLimit for the first item - use NoWrap *always*
  4609. instead, since ListView.LabelWrap is not used for this view.
  4610. Fixes #378054.
  4611. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  4612. * Binding.cs: Call UpdateIsBinding when setting control - probably
  4613. Binding is already usable and we don't need to wait to check the
  4614. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  4615. Created, just like 2.0 does.
  4616. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  4617. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  4618. * Binding.cs: Just realized we don't need to have a handler for
  4619. BindingContextChanged, since this info should be now consumed directly
  4620. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  4621. state info is checked directly, instead of caching it.
  4622. * CurrencyManager.cs: IsSuspended should return always false if Count
  4623. == 0.
  4624. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  4625. * Binding.cs: When calling PushData, return if manager.Count == 0,
  4626. since we just don't have data to be read. Also, when setting the
  4627. Control for binding, hook up some events to refresh the IsBinding
  4628. state when BindingContext change or control gets created; use
  4629. Control.IsHandleCreated instead of Control.Created check to set
  4630. IsBinding state - we *actually* need to modify IsBinding when control
  4631. is created, but we don't have any Created event, only HandleCreated.
  4632. Fixes part of #349364.
  4633. 2008-04-11 Geoff Norton <[email protected]>
  4634. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  4635. warping a null Caret.
  4636. 2008-04-11 Jonathan Pobst <[email protected]>
  4637. * DataGridView.cs: Implement row/column autosizing methods. Implement
  4638. autosorting.
  4639. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  4640. * DataGridViewRowCollection.cs: Add an internal sorting method.
  4641. 2008-04-11 Jonathan Pobst <[email protected]>
  4642. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  4643. value in ListView drawing code.
  4644. 2008-04-11 Jonathan Pobst <[email protected]>
  4645. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  4646. is clicked. Respect the user setting Cancel in FileOk.
  4647. 2008-04-11 Geoff Norton <[email protected]>
  4648. * ListView.cs: Avoid setting and resetting control Width/Heights and
  4649. calculate the final value and set it once. Prevents a feedback loop
  4650. on the mac.
  4651. 2008-04-10 Jonathan Pobst <[email protected]>
  4652. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  4653. [Fixes bug #378869]
  4654. 2008-04-10 Atsushi Enomoto <[email protected]>
  4655. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  4656. Add some on-the-spot code, but it seems we don't need it.
  4657. 2008-04-10 Jonathan Pobst <[email protected]>
  4658. * Form.cs: Add method for DataGridView to trigger focus cues
  4659. even when it handles the tab keypress.
  4660. 2008-04-10 Jonathan Pobst <[email protected]>
  4661. * DataGridView.cs: More keyboard handling, tab, esc.
  4662. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  4663. when at the beginning or end of the text in the text box.
  4664. 2008-04-09 Jonathan Pobst <[email protected]>
  4665. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  4666. 2008-04-09 Jonathan Pobst <[email protected]>
  4667. * DataGridView.cs: Some fixups for showing and adding the edit control.
  4668. * DataGridViewButtonColumn.cs: Implement ToString.
  4669. * DataGridViewCell.cs: Size and position the control simultaneously.
  4670. * DataGridViewTextBoxCell.cs: Use base to position control.
  4671. 2008-04-09 Jonathan Pobst <[email protected]>
  4672. * DataGridViewCell.cs: Fix up some formatting and painting code.
  4673. * DataGridViewImageCell.cs: Implement some NIEX methods.
  4674. 2008-04-09 Jonathan Pobst <[email protected]>
  4675. * ToolStripItemCollection.cs: What moving an item from one owner
  4676. to another, remove from source owner before adding to destination.
  4677. [Fixes bug #378109]
  4678. 2008-04-09 Jonathan Pobst <[email protected]>
  4679. * PictureBox.cs: Call Load when ImageLocation is set.
  4680. [Fixes bug #378308]
  4681. 2008-04-09 Atsushi Enomoto <[email protected]>
  4682. * X11Keyboard.cs, XplatUIX11.cs :
  4683. Implement over-the-spot mode (with some odd offsets).
  4684. - set preedit position when caret is set.
  4685. - Wrap XMoveResizeWindow() to move preedit position.
  4686. 2008-04-08 Everaldo Canuto <[email protected]>
  4687. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  4688. array lenght.
  4689. 2008-04-08 Everaldo Canuto <[email protected]>
  4690. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  4691. and ScanTableIndex public, it fix compilations errors when compiling
  4692. WinForms to generate keyboard layout resources.
  4693. 2008-04-08 Everaldo Canuto <[email protected]>
  4694. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  4695. different element count than scan table. It prevents some errors in non
  4696. standard keyboards.
  4697. 2008-04-08 Jonathan Pobst <[email protected]>
  4698. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  4699. 2008-04-08 Jonathan Pobst <[email protected]>
  4700. * DataGridView.cs: Call OnContentClick.
  4701. * DataGridViewCell.cs: Do a null check on ValueType instead
  4702. of valueType.
  4703. * DataGridViewCheckBoxCell.cs: Implement.
  4704. 2008-04-08 Atsushi Enomoto <[email protected]>
  4705. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  4706. 2008-04-08 Atsushi Enomoto <[email protected]>
  4707. * X11Keyboard.cs : Check XGetIMValues() return value in
  4708. case it does not return input styles in some environment.
  4709. 2008-04-08 Atsushi Enomoto <[email protected]>
  4710. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  4711. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  4712. * BindingContext.cs: Stub UpdateBinding method.
  4713. 2008-04-07 Atsushi Enomoto <[email protected]>
  4714. * X11Structs.cs : added couple of structs for XIM support.
  4715. * X11Keyboard.cs :
  4716. Release XIM in case it failed to create XIC.
  4717. Use consts for XNblah string.
  4718. Add support for IM style customization and XIC creation
  4719. for preedit-position and preedit-callback.
  4720. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  4721. (list of: over-the-spot | on-the-spot | root). Only root
  4722. mode works so far.
  4723. (redoing r99172 with fix.)
  4724. 2008-04-07 Jonathan Pobst <[email protected]>
  4725. * TreeView.cs: Center the checkbox a little better.
  4726. 2008-04-07 Jonathan Pobst <[email protected]>
  4727. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  4728. Apply very nice patch from Ernesto Carrea that simplifies our
  4729. scrollbar drawing. [From bug #376146]
  4730. 2008-04-07 Jonathan Pobst <[email protected]>
  4731. * TreeView.cs: Correct the location of the root node checkbox when
  4732. ShowRootLines = false. Don't draw the root lines for the root node
  4733. when ShowRootLines = false. [Fixes bug #377535]
  4734. 2008-04-06 Gert Driesen <[email protected]>
  4735. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  4736. Fixed line endings.
  4737. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  4738. line endings.
  4739. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  4740. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  4741. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  4742. * ImeMode.cs: Added missing field.
  4743. * HtmlWindow.cs: Code formatting. Fixed line endings.
  4744. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  4745. warnings.
  4746. * HtmlHistory.cs: Code formatting. Fixed line endings.
  4747. * HtmlDocument.cs: Code formatting. Fixed line endings.
  4748. * ToolStripPanel.cs: Added missing IList implementation.
  4749. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  4750. 2008-04-06 Gert Driesen <[email protected]>
  4751. * BindingContext.cs: Changed argument names to fix corcompare errors.
  4752. * DataGridView.cs: Removed extra explicit interface implementation
  4753. of IDropTarget. Code formatting.
  4754. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  4755. * ComboBox.cs: Changed argument names to fix corcompare errors.
  4756. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  4757. errors.
  4758. * GridColumnStylesCollection.cs: Changed argument names to fix
  4759. corcompare errors. Removed extra tabs.
  4760. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  4761. errors.
  4762. * Control.cs: Changed argument names to fix corcompare errors. Code
  4763. formatting. Removed extra explicit IList implementation.
  4764. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  4765. formatting. Use string.Empty instead of "".
  4766. * GridItemCollection.cs: Changed argument names to fix corcompare
  4767. errors. Code formatting.
  4768. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  4769. corcompare errors. Code formatting.
  4770. * ImageList.cs: Changed argument names to fix corcompare errors.
  4771. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  4772. * DataGridViewRowCollection.cs: Changed argument names to fix
  4773. corcompare errors. Code formatting.
  4774. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  4775. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  4776. fix corcompare errors. Code formatting.
  4777. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  4778. corcompare errors. Code formatting.
  4779. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  4780. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  4781. formatting.
  4782. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  4783. Code formatting.
  4784. * BindingSource.cs: Changed argument names to fix corcompare errors.
  4785. Removed extra explicit interface implementations.
  4786. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  4787. fix corcompare errors. Code formatting.
  4788. * ToolStripItemCollection.cs: Removed extra explicit interface
  4789. implementation of IList.ReadOnly.
  4790. * DataGridViewColumnCollection.cs: Changed argument names to fix
  4791. corcompare errors. Code formatting.
  4792. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  4793. * ListView.cs: Changed argument names to fix corcompare errors.
  4794. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  4795. errors.
  4796. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  4797. errors.
  4798. * ListBindingHelper.cs: Changed argument names to fix corcompare
  4799. errors.
  4800. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  4801. fix corcompare errors. Code formatting.
  4802. * ToolStripPanel.cs: Removed extra explicit implementation of
  4803. IDropTarget interface.
  4804. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  4805. formatting. Removed extra tabs and spaces.
  4806. * DataGridViewCellCollection.cs: Changed argument names to fix
  4807. corcompare errors.
  4808. * Help.cs: Changed argument names to fix corcompare errors. Code
  4809. formatting.
  4810. * TabControl.cs: Changed argument names to fix corcompare errors.
  4811. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  4812. errors.
  4813. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  4814. errors.
  4815. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  4816. * ListBindingHelper.cs: When returning properties, only return those
  4817. that are browsable. Also, don't do a linear search of the properties,
  4818. but use the indexer of the PropertyDescriptorCollection class.
  4819. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  4820. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  4821. Dictionary containing the related (child) currency managers. Also,
  4822. when setting DataSource, add datasource to our List if it is not a list.
  4823. 2008-04-05 Ivan N. Zlatev <[email protected]>
  4824. * PropertyGridTextBox.cs: Fix background color of the buttons.
  4825. * PropertyGridView.cs: Make the entry less jumpy.
  4826. 2008-04-05 Ivan N. Zlatev <[email protected]>
  4827. * PropertyGrid.cs: Fix unused variable warnings.
  4828. 2008-04-05 Ivan N. Zlatev <[email protected]>
  4829. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  4830. double-click. It expanded it once in the mouse down and then
  4831. again in the double-click handler.
  4832. 2008-04-04 Ivan N. Zlatev <[email protected]>
  4833. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  4834. TypeConverter and UITypeEditors.
  4835. 2008-04-04 Ivan N. Zlatev <[email protected]>
  4836. * Control.cs: Visibility should be set synchronously,
  4837. so we must also redraw once it is and not rely on layouting or
  4838. other code to repaint.
  4839. [Fixes bug #339898]
  4840. 2008-04-04 Jonathan Pobst <[email protected]>
  4841. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  4842. 2008-04-03 Jonathan Pobst <[email protected]>
  4843. * Control.cs: Invalidate when the alpha channel is less than 255,
  4844. not only when control is transparent.
  4845. 2008-04-03 Jonathan Pobst <[email protected]>
  4846. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  4847. Implement some painting convenience methods that threw NIEX.
  4848. 2008-04-03 Jonathan Pobst <[email protected]>
  4849. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  4850. * DataGridViewLinkCell.cs: Implement.
  4851. 2008-04-03 Ivan N. Zlatev <[email protected]>
  4852. * GridEntry.cs: Report the conversion exception error description.
  4853. [Fixes bug #375792]
  4854. 2008-04-03 Ivan N. Zlatev <[email protected]>
  4855. * PropertyGridView.cs: Do not scroll to item on resize.
  4856. [Fixes bug #375789]
  4857. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  4858. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  4859. dataSource parameter is ICurrencyManagerProvider, then return
  4860. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  4861. instead of creating a new one.
  4862. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  4863. * BindingSource.cs: Implement support for Type instances as
  4864. DataSource.
  4865. 2008-04-02 Jonathan Pobst <[email protected]>
  4866. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  4867. * DataGridViewCell.cs: Make some painting routines internally virtual.
  4868. * DataGridViewButtonCell.cs: Implement.
  4869. 2008-04-02 Jonathan Pobst <[email protected]>
  4870. * Control.cs: We always need to invalidate our children with
  4871. transparent backgrounds when we are invalidated.
  4872. [Fixes bug #376081]
  4873. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  4874. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  4875. and CancelCurrentEdit on CurrencyManager respectively. Implement
  4876. support for ICancelAddNew too.
  4877. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  4878. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  4879. call EndNew/CancelNew if list is ICancelAddNew.
  4880. 2008-04-01 Jonathan Pobst <[email protected]>
  4881. * DataGridView.cs: Guard against an exception while painting
  4882. if there are no rows.
  4883. 2008-04-01 Jonathan Pobst <[email protected]>
  4884. * DataGridView.cs: Implement a bunch of keyboard commands.
  4885. 2008-03-31 Jonathan Pobst <[email protected]>
  4886. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  4887. isn't set, don't call OnPaint. [Fixes bug #375300]
  4888. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  4889. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  4890. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  4891. hookup the remaining events related to CurrencyManager, and fire
  4892. OnListChanged also for the Clear () method.
  4893. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  4894. * BindingSource.cs: Use Current and Position implementations in
  4895. CurrencyManager instead of using our own routines, since we need
  4896. to be in synch with it. Count should NEVER return a -1 value, and
  4897. also report ListChanged events for both simple IList data
  4898. sources (manually) as well for IBindingList ones (by hooking up an
  4899. event handler for it).
  4900. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  4901. * BindingSource.cs: Make one .ctor call the another, to avoid
  4902. duplicate code. Add the CurrencyManager property, and also for AddNew
  4903. throw the proper exceptions and show better error messages.
  4904. 2008-03-28 Jonathan Pobst <[email protected]>
  4905. * ComboBox.cs: Only adjust selectedindex if Handle has been
  4906. created. Fixes failing test.
  4907. 2008-03-28 Jonathan Pobst <[email protected]>
  4908. * ComboBox.cs: Adjust selectedindex if we insert a new item
  4909. above the current selectedindex in a sorted ComboBox.
  4910. [Fixes bug #374654]
  4911. 2008-03-28 Jonathan Pobst <[email protected]>
  4912. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  4913. [Fixes bug #374712]
  4914. 2008-03-28 Jonathan Pobst <[email protected]>
  4915. * DataGridViewTextBoxCell.cs: Implement stuffs.
  4916. 2008-03-27 Jonathan Pobst <[email protected]>
  4917. * TreeView.cs: Create the scrollbars even earlier to be
  4918. double dog certain they are created before they are accessed.
  4919. 2008-03-27 Jonathan Pobst <[email protected]>
  4920. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  4921. 2008-03-27 Jonathan Pobst <[email protected]>
  4922. * ScrollBar.cs: Create an internal safe Value setter so we
  4923. won't crash if we try to set a value outside the min and max.
  4924. * TextBoxBase.cs: Use safe value setter to guard against a
  4925. potential NRE that is being reported by Reflector.
  4926. 2008-03-27 Jonathan Pobst <[email protected]>
  4927. * TreeView.cs: Create the scrollbars earlier in the constructor
  4928. to attempt to guard against an NRE in SetTop in Reflector.
  4929. 2008-03-27 Jonathan Pobst <[email protected]>
  4930. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  4931. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  4932. show messagebox on data format error, use column display index
  4933. correctly, make sure HitTest supports new layout stuff,
  4934. make sure scrollbars support new layout stuff.
  4935. 2008-03-27 Atsushi Enomoto <[email protected]>
  4936. * XplatUIX11.cs : Patch by Doug Rintoul.
  4937. For some IM engines, keypress events need to delay call
  4938. to XPending() and XNextEvent() in the loop so that it
  4939. does not mess the orders in XIM commit callback.
  4940. Some KeyRelease events such as shift keys need to be
  4941. processed both in the IM engine and winforms driver
  4942. itself since winforms holds its own state check.
  4943. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  4944. 2008-03-27 Atsushi Enomoto <[email protected]>
  4945. * X11Keyboard.cs, XplatUIX11.cs :
  4946. add primitive support for XIM input support (preedit-
  4947. nothing and status-nothing). It requires precise event
  4948. capturing (XSelectInput/"filterEvents") and different
  4949. call to XFilterEvent against root window.
  4950. Get composed string and send dummy WM_IME_COMPOSITION.
  4951. Free XIM and XIC instances in finalizer.
  4952. (This first patch does not include suggested changes
  4953. by Doug Rintoul. It will follow.)
  4954. 2008-03-26 Jonathan Pobst <[email protected]>
  4955. * DataGridView.cs: When binding to a property, if the property
  4956. doesn't have a setter, set the column to readonly.
  4957. [Fixes bug #343965]
  4958. 2008-03-26 Jonathan Pobst <[email protected]>
  4959. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  4960. we aren't dropped down. Support Home/End in DropDownList mode.
  4961. [Fixes bug #371990]
  4962. 2008-03-26 Jonathan Pobst <[email protected]>
  4963. * TreeNodeCollection.cs: Don't increment count until we've
  4964. saved our index to return.
  4965. [Fixes bug #373603]
  4966. 2008-03-25 Jonathan Pobst <[email protected]>
  4967. * Label.cs: Add padding to the label's AutoSize calculation.
  4968. [Fixes bug #373792]
  4969. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  4970. * ListBindingHelper.cs: Actually implement GetListName method.
  4971. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  4972. * BindingSource.cs: Throw the propert expceptions for some methods, as
  4973. well as detect the list item type for Add method if DataSource is null.
  4974. 2008-03-25 Jonathan Pobst <[email protected]>
  4975. * DataGridViewCell.cs: I don't know why I commented this out,
  4976. putting it back for now.
  4977. 2008-03-25 Jonathan Pobst <[email protected]>
  4978. * DataGridViewCell.cs: Remove storage for owning column, just
  4979. use column index.
  4980. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  4981. * DataGridViewColumnHeaderCell.cs: If the header text has been
  4982. explicitly set, return it.
  4983. [Fixes bug #325979]
  4984. 2008-03-25 Jonathan Pobst <[email protected]>
  4985. * DataGridViewRowCollection.cs: Disable row sharing when
  4986. using data binding. Its a great feature, but lets work on
  4987. getting DGV usable first before we worry about optimizations.
  4988. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  4989. * BindingSource.cs: When resetting our internal list, compute list
  4990. item type information to be used for indirect list access. Also
  4991. implement/tune some properties and methods related to the list access
  4992. too.
  4993. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  4994. BindingSource.
  4995. 2008-03-24 Jonathan Pobst <[email protected]>
  4996. * DataGridView.cs: If RowCount is increased while ColumnCount
  4997. is zero, add a column. [Fixes bug #331649]
  4998. 2008-03-24 Jonathan Pobst <[email protected]>
  4999. * DataGridViewRowCollection.cs: When adding new rows for
  5000. databinding, make sure they are place before the add row.
  5001. [Fixes bug #343961]
  5002. 2008-03-24 Jonathan Pobst <[email protected]>
  5003. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  5004. instead of Index order.
  5005. 2008-03-24 Jonathan Pobst <[email protected]>
  5006. * DataGridView.cs: If columns are added by increasing ColumnCount,
  5007. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  5008. [Fixes bug #325588]
  5009. 2008-03-24 Jonathan Pobst <[email protected]>
  5010. * DataGridView.cs: Turn off and on the "new row" when
  5011. AllowUserToAddRows is toggled. When the handle is created,
  5012. set current cell and selected cell/row/col.
  5013. 2008-03-24 Jonathan Pobst <[email protected]>
  5014. * ComboBox.cs: When navigating the drop down by keyboard, we
  5015. need to scroll the list box if our selection moves out of the
  5016. currently shown items. [Fixes bug #371990]
  5017. 2008-03-24 Luke Page <[email protected]>
  5018. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  5019. on the control. Also now handles unicode compatibility characters and
  5020. stores the unicode compatibility length on the stack. Fixes Bugs
  5021. #355198 and #366436.
  5022. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  5023. * BindingSource..cs: Take into account DataMember when re-creating the
  5024. List property, and also create a specific kind of list as needed.
  5025. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  5026. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  5027. get an empty IEnumerable, try to detect whether the datamember is
  5028. valid or not for that type, if true, return null, and throw exception
  5029. otherwise.
  5030. 2008-03-22 Jonathan Pobst <[email protected]>
  5031. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  5032. retract it. [Fixes bug #371989]
  5033. 2008-03-22 Ivan N. Zlatev <[email protected]>
  5034. * PropertyGrid.cs: Initialize the sorting button as pushed.
  5035. 2008-03-22 Ivan N. Zlatev <[email protected]>
  5036. * PropertyGrid.cs:
  5037. - Visually select the PropertyTab.
  5038. - Filter Properties by Attributes properly.
  5039. 2008-03-21 Jonathan Pobst <[email protected]>
  5040. * MenuItem.cs: Remove menu item from parent when disposed.
  5041. [Fixes bug #372845]
  5042. 2008-03-21 Jonathan Pobst <[email protected]>
  5043. * ToolBar.cs: Don't reset layout_type if Dock = None.
  5044. 2008-03-21 Andreia Gaita <[email protected]>
  5045. * UserControl.cs: Select the first available control when we get focus.
  5046. Fixes #372616
  5047. 2008-03-21 Jonathan Pobst <[email protected]>
  5048. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  5049. the content if we are in edit mode. [Fixes bug #343964]
  5050. 2008-03-21 Jonathan Pobst <[email protected]>
  5051. * DataGridViewCell.cs: Fix border painting for column headers.
  5052. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  5053. * BindingSource.cs: When setting or resetting data source,
  5054. use ListBindingHelper.GetList () method, since it will get the list in
  5055. case datasource is IListSource.
  5056. 2008-03-20 Jonathan Pobst <[email protected]>
  5057. * DataGridViewCell.cs: Implement lots more stuffs.
  5058. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5059. * PropertyGridView.cs, GridEntry.cs: Implement support for
  5060. UITypeEditor.IsDropDownResizable.
  5061. 2008-03-20 Jonathan Pobst <[email protected]>
  5062. * DataGridViewCell.cs: Remove unused variables, improve how
  5063. several of the property getters work.
  5064. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  5065. get its size from the parent row/col.
  5066. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5067. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  5068. user alters manually the PropertyTabs collection via the
  5069. PropertyTabs property.
  5070. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  5071. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  5072. new tests for them to be sure to be compatible with .net.
  5073. 2008-03-20 Andreia Gaita <[email protected]>
  5074. * WebBrowserBase.cs: Fix attributes, add events
  5075. * WebBrowser.cs: Fix Padding signature
  5076. 2008-03-20 Ivan N. Zlatev <[email protected]>
  5077. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  5078. 2008-03-19 Jonathan Pobst <[email protected]>
  5079. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  5080. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  5081. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  5082. passes the new suite of tests for it.
  5083. 2008-03-18 Andreia Gaita <[email protected]>
  5084. * WebBrowser.cs: Add missing attributes, missing Padding and
  5085. DefaultSize properties, remove extraneous getters
  5086. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  5087. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  5088. method overloads.
  5089. 2008-03-16 Jonathan Pobst <[email protected]>
  5090. * ComboBox.cs: Move resetting the selected index to keypress
  5091. instead of textchanged. Changing the text programmatically
  5092. should not trigger resetting the selected index. Fixes test.
  5093. 2008-03-16 Jonathan Pobst <[email protected]>
  5094. * ComboBox.cs: When the user types into the textbox, reset
  5095. the selected index to -1. [Fixes bug #371672]
  5096. 2008-03-16 Jonathan Pobst <[email protected]>
  5097. * FileDialog.cs: Support Control-A for selecting everything
  5098. in an OpenFileDialog. [Fixes bug #371564]
  5099. 2008-03-15 Jonathan Pobst <[email protected]>
  5100. * DataGridView.cs: When row/column visible/height properties
  5101. change, invalidate. Take the NIEX out of InvalidateRow/Column
  5102. etc. We don't support them yet, but we can just invalidate
  5103. everything until we do support them. (Added MonoTODO). Set
  5104. proper control styles.
  5105. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  5106. are turned off.
  5107. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  5108. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  5109. 2008-03-14 Jonathan Pobst <[email protected]>
  5110. * DataGridViewRow.cs: Only paint the white background in
  5111. cell bounds, the row bounds extends past the cells if the
  5112. grid width isn't as wide as the DGV.
  5113. 2008-03-14 Jonathan Pobst <[email protected]>
  5114. * DataGridView*: Completely revamp the drawing to match the
  5115. public API. Our grids now look better, and call all the
  5116. appropriate methods and event to allow users to override
  5117. the painting and do their own.
  5118. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  5119. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  5120. 2008-03-13 Jonathan Pobst <[email protected]>
  5121. * DataGridView.cs: Implement BorderStyle.
  5122. 2008-03-13 Jonathan Pobst <[email protected]>
  5123. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  5124. are comparing attributes, make sure we only look at the
  5125. one we are interested. These calls were failing if there
  5126. were more than one attribute.
  5127. [Fixes bug #370385]
  5128. 2008-03-13 Jonathan Pobst <[email protected]>
  5129. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  5130. 2008-03-12 Jonathan Pobst <[email protected]>
  5131. * PageSetupDialog.cs: Stub EnableMetric.
  5132. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  5133. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  5134. ProcessTabKey.
  5135. 2008-03-12 Jonathan Pobst <[email protected]>
  5136. * MonthCalendar.cs: Remove unused variable.
  5137. 2008-03-12 Jonathan Pobst <[email protected]>
  5138. * DataGridView*.cs: corcompare stuffs.
  5139. 2008-03-11 Jonathan Pobst <[email protected]>
  5140. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  5141. The savings aren't worth the extra code to fix the optimization.
  5142. [Fixes bug #368585]
  5143. 2008-03-11 Jonathan Pobst <[email protected]>
  5144. * ToolBar.cs: Always call base.Dock in the Dock override so that
  5145. Control's layout_type gets reset correctly.
  5146. [Fixes bug #368882]
  5147. 2008-03-11 Ivan N. Zlatev <[email protected]>
  5148. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  5149. 2008-03-11 Jonathan Pobst <[email protected]>
  5150. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  5151. at the same time we do explicit ones, because we have to give all
  5152. other controls on the container a chance to handle explicit ones
  5153. first. If no one has an explicit mnemonic, then we can let the
  5154. MenuStrip have a shot at implicit mnemonics.
  5155. * MenuStrip.cs: Create an implicit mnemonic function.
  5156. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  5157. mnemonics for MenuStrips.
  5158. [Fixes bug #368493]
  5159. 2008-03-11 Jonathan Pobst <[email protected]>
  5160. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  5161. DataGridColumnStyle.cs: corcompare stuffs.
  5162. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  5163. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  5164. Details - This is needed after we added the bits to use any available
  5165. column also for List and SmallIcon view.
  5166. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  5167. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  5168. at the proper place, not only when changing SelectedIndex and changing
  5169. the selection using keys/mouse, as .net does.
  5170. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  5171. * ControlBindingsCollection.cs: Implement last 2.0
  5172. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  5173. in the new 2.0 Add methods.
  5174. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  5175. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  5176. return if no items are previously selected - this is done to avoid
  5177. firing OnSelectedIndexChanged without need to do so. Also,
  5178. when creating handle ensure that the focused item is visible (as
  5179. .net does).
  5180. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  5181. * ListBox.cs: Rewrote/refactored most of selection code. We require
  5182. the following things in selection: a) keep selection sorted (both
  5183. indices and items), b) SelectedIndices automatically detect the
  5184. selection mode, c) SelectedIndex should be the first selected item
  5185. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  5186. not only for SelectedIndex, which is specially important in Multi*
  5187. selection modes. To achieve this we are moving the selection core to
  5188. SelectedIndexCollection and make depend all selection modifications on
  5189. it.
  5190. Fixes #366438.
  5191. 2008-03-06 Jonathan Pobst <[email protected]>
  5192. * ToolStrip.cs: Enable implicit mnemonics for drop down
  5193. menu strips. [Fixes part of bug #367692]
  5194. 2008-03-06 Jonathan Pobst <[email protected]>
  5195. corcompare - fix parameter names [stragglers].
  5196. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  5197. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  5198. TabControl.cs.
  5199. 2008-03-06 Jonathan Pobst <[email protected]>
  5200. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  5201. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  5202. mnemonic, let the ToolStripManager have it even if it doesn't
  5203. have a matching mnemonic.
  5204. [Fixes bug #367499]
  5205. 2008-03-06 Jonathan Pobst <[email protected]>
  5206. corcompare - fix warning about implicit implementation
  5207. * ToolStrip.cs: Add IToolStripData interface.
  5208. * IToolStripData.cs: Add.
  5209. 2008-03-06 Jonathan Pobst <[email protected]>
  5210. corcompare - fix warning about implicit implementation
  5211. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  5212. * IBounds.cs: Add.
  5213. 2008-03-05 Jonathan Pobst <[email protected]>
  5214. corcompare - fix parameter names [N-Z].
  5215. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  5216. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  5217. PropertyManager.cs, RichTextBox.cs,
  5218. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  5219. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  5220. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  5221. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  5222. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  5223. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  5224. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  5225. ToolStripPanel.cs, ToolStripSeparator.cs,
  5226. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  5227. UICuesEventHandler.cs, UpDownBase.cs.
  5228. 2008-03-05 Jonathan Pobst <[email protected]>
  5229. corcompare - fix parameter names [G-M].
  5230. GridColumnStylesCollection.cs, GridItemCollection.cs,
  5231. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  5232. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  5233. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  5234. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  5235. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  5236. 2008-03-05 Jonathan Pobst <[email protected]>
  5237. corcompare - fix parameter names [A-F].
  5238. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  5239. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  5240. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  5241. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  5242. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  5243. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  5244. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  5245. 2008-03-03 Ivan N. Zlatev <[email protected]>
  5246. * GridEntry.cs: Do not convert not only if the types match,
  5247. but also if the property type is assigneable from the value's
  5248. type.
  5249. [Fixes bug #366566]
  5250. 2008-03-03 Ivan N. Zlatev <[email protected]>
  5251. * PropertyGridView.cs:
  5252. - Subscribe to the listbox only once and not everytime.
  5253. - Update the textbox even if SetValue fails.
  5254. - Close the listbox before calling TrySetValue just in case.
  5255. [Fixes bug #366569]
  5256. 2008-03-03 Jonathan Pobst <[email protected]>
  5257. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  5258. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  5259. * ListView.cs: Implement support for custom column width based on
  5260. Columns collection (we were previously using this collection only
  5261. with Details view).
  5262. Fixes #364484.
  5263. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  5264. * ListViewItem.cs: For Tile view, always set bounds for the first
  5265. subitem (which is the main one), and also don't let Width be larger
  5266. than ListView.TileSize.Width. Improve code readibility also.
  5267. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  5268. in Tile view, _always_ use the NoWrap flag.
  5269. Fixes #360798.
  5270. 2008-02-29 Ivan N. Zlatev <[email protected]>
  5271. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  5272. in case.
  5273. * GridEntry.cs: For MS compitability make all child properties
  5274. readonly if the parent is readonly. Ugh.
  5275. [Fixes bug #365945 and #365944]
  5276. 2008-02-29 Andreia Gaita <[email protected]>
  5277. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  5278. relative to the history
  5279. 2008-02-29 Andreia Gaita <[email protected]>
  5280. * HtmlElement.cs: More handlers for mouse and key events
  5281. 2008-02-28 Andreia Gaita <[email protected]>
  5282. * WebBrowserBase.cs: MouseClick sig changed.
  5283. * HtmlHistory.cs: Implement history navigation
  5284. * HtmlElement.cs: Add event handlers, and connect them.
  5285. 2008-02-28 Ivan N. Zlatev <[email protected]>
  5286. * GridEntry.cs:
  5287. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  5288. so that DisplayNameAttribute doesn't get ignored.
  5289. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  5290. - Add support for PasswordPropertyTextAttribute
  5291. * PropertyGridView.cs: Check if an entry is a password.
  5292. [Fixes bugs #365589, #365586, #365588]
  5293. 2008-02-28 Andreia Gaita <[email protected]>
  5294. * PropertyGridView.cs: Revert the message filtering change, as we
  5295. need it to block after all. Remove block parameter, unnecessary.
  5296. 2008-02-27 Jonathan Pobst <[email protected]>
  5297. * UserControl.cs: Better implementation of GetPreferredSize.
  5298. First step to fixing bug #361441.
  5299. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  5300. * Binding.cs: Actually implement data binding support for
  5301. classes implementing IBindableComponent.
  5302. * ControlBindingsCollection.cs: Likewise.
  5303. 2008-02-26 Andreia Gaita <[email protected]>
  5304. * PropertyGridView.cs: Use a message filter to check when to
  5305. close the dropdown
  5306. 2008-02-26 Andreia Gaita <[email protected]>
  5307. * Application.cs: Change the message_filters loop so a filter
  5308. can be removed while looping.
  5309. 2008-02-26 Ivan N. Zlatev <[email protected]>
  5310. * GridEntry.cs: Optimization in ToggleValue so that it caches
  5311. the current value.
  5312. * PropertyGridView.cs: An optimization so that the property isn't
  5313. re-read twice for each StandardValue added to the drop-down menu.
  5314. Patch by Andy Hume <[email protected]> under the MIT/X11
  5315. license.
  5316. [Fixes bug #362755]
  5317. 2008-02-26 Jonathan Pobst <[email protected]>
  5318. * Application.cs: Apply patch from Justin Cherniak to match
  5319. MS better for ProductName, ProductVersion, and CompanyName.
  5320. [Fixes bug #361709]
  5321. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  5322. * Binding.cs: Actually implement 2.0 NullValue property. Also
  5323. when changing the formatting related properties, only update the state
  5324. if formatting_enabled is true (we don't mind otherwise).
  5325. 2008-02-25 Jonathan Pobst <[email protected]>
  5326. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  5327. [Fixes bug #364486]
  5328. 2008-02-25 Ivan N. Zlatev <[email protected]>
  5329. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  5330. of GetType on the current value as it uses reflection to
  5331. determine the type. This fixes the case where the new value is
  5332. null.
  5333. 2008-02-25 Ivan N. Zlatev <[email protected]>
  5334. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  5335. past the view.
  5336. 2008-02-24 Luke Page <[email protected]>
  5337. * Line.cs, TextControl.cs: Implement offset x and y so that a
  5338. document doesn't have to begin at (0,0) on the viewpoint.
  5339. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  5340. bars and switches the text alignment (and therefore is now
  5341. implemented for textbox). Fixes #321383.
  5342. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  5343. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  5344. properties. Also when changing FormattingEnabled update the control
  5345. property -as .Net does-.
  5346. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  5347. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  5348. * Binding.cs: Add stubs for the overloads of the Add method in
  5349. CBCollection.
  5350. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  5351. * Binding.cs: PullData () returns a false value if we got an exception.
  5352. Also when validating the control and we get an error, instead of
  5353. setting the value of the previous one, cancel the event (tested in 1.1
  5354. and 2.0).
  5355. 2008-02-22 Jonathan Pobst <[email protected]>
  5356. * TreeView.cs: Make selected_node and highlighted_node internal.
  5357. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  5358. to null when Nodes.Clear is called.
  5359. [Fixes bug #363884]
  5360. 2008-02-21 Jonathan Pobst <[email protected]>
  5361. * FontDialog.cs: Ensure that when the Font is set in code,
  5362. all the gui pieces are updated accordingly.
  5363. [Fixes bug #361020]
  5364. 2008-02-21 Jonathan Pobst <[email protected]>
  5365. * TextRenderer.cs: Respect proposed size for MeasureString.
  5366. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  5367. autosize, use a proposed width to force wrapping for long text.
  5368. [Fixes bug #360981]
  5369. 2008-02-21 Jonathan Pobst <[email protected]>
  5370. * TreeView.cs: Factor in checkboxes = false and state images in
  5371. to HitTest. [Fixes bug #363360]
  5372. 2008-02-21 Jonathan Pobst <[email protected]>
  5373. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  5374. when drawing the selected range.
  5375. [Fixes bug #363648]
  5376. 2008-02-21 Jonathan Pobst <[email protected]>
  5377. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  5378. ResizeRedraw control styles.
  5379. [Fixes bug #363555]
  5380. 2008-02-20 Jonathan Pobst <[email protected]>
  5381. * TreeView.cs: StateImages are basically custom checkboxes, so
  5382. factor their size the same as real checkboxes when determining
  5383. what got clicked.
  5384. [Fixes bug #363367]
  5385. 2008-02-20 Jonathan Pobst <[email protected]>
  5386. * MessageBox.cs: Make the message box wider if the form caption
  5387. is longer than the text in the form.
  5388. [Fixes bug #361137]
  5389. 2008-02-20 Ivan N. Zlatev <[email protected]>
  5390. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  5391. 2008-02-20 Jonathan Pobst <[email protected]>
  5392. * TreeNode.cs: Guard against an NRE when the parent's
  5393. StateImageList hasn't been set.
  5394. [Fixes bug #363353]
  5395. 2008-02-20 Jonathan Pobst <[email protected]>
  5396. * SplitContainer.cs: Add SupportsTransparentBackColor and
  5397. OptimizedDoubleBuffering control styles.
  5398. [Fixes bug #363303]
  5399. 2008-02-20 Jonathan Pobst <[email protected]>
  5400. * Application.cs: For the app data paths and the registry key paths,
  5401. ensure they are created before returning them to the user.
  5402. [Fixes bug #361709]
  5403. 2008-02-20 Jonathan Pobst <[email protected]>
  5404. * Application.cs: Guard against an NRE in CompanyName and
  5405. ProductName.
  5406. 2008-02-20 Jonathan Pobst <[email protected]>
  5407. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  5408. make sure we handle all three cases correctly: attribute is present,
  5409. attribute is present but is an empty string, and attribute is not
  5410. present.
  5411. 2008-02-20 Ivan N. Zlatev <[email protected]>
  5412. * PropertyGridView.cs:
  5413. - Fix a NRE that caused a test failure
  5414. - Another performance improvement - cache the standard values
  5415. listbox.
  5416. 2008-02-19 Jonathan Pobst <[email protected]>
  5417. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  5418. code paths.
  5419. 2008-02-19 Ivan N. Zlatev <[email protected]>
  5420. * PropertyGridView.cs: Fix a big performance bug.
  5421. 2008-02-19 Jonathan Pobst <[email protected]>
  5422. * SelectionRange.cs: Apply patch from Andy Hume to make
  5423. constructor behavior more accurate. [Fixes bug #362117]
  5424. 2008-02-19 Andreia Gaita <[email protected]>
  5425. * Control.cs: Added a new flag is_disposing to track if the
  5426. window is currently in the process of being disposed of.
  5427. This is used so that, when firing visibility changes triggered
  5428. by unparenting controls during Dispose, the control doesn't
  5429. get created again.
  5430. 2008-02-19 Jonathan Pobst <[email protected]>
  5431. * ComboBox.cs: Set height to preferred height when the handle
  5432. is created. [Fixes bug #360862]
  5433. 2008-02-18 Andreia Gaita <[email protected]>
  5434. * XplatUIX11.cs: Create FosterParent with border width at 0.
  5435. With the previous value of 4, everytime a control got reparented
  5436. from parent = null, it's location would be shifted right and
  5437. down by 4, since these coordinates would be offset by the
  5438. FosterParent's border width.
  5439. 2008-02-18 Ivan N. Zlatev <[email protected]>
  5440. * Control.cs: During diposing firstly remove ourselfes from
  5441. the parent and *then* destroy our handle, because removing
  5442. ourselfes from the parent controls collection causes
  5443. VisibilityChange, etc events, which require a handle and end
  5444. up recreating the control.
  5445. 2008-02-17 Ivan N. Zlatev <[email protected]>
  5446. * GridEntry.cs: Set expanded state before notifying that the
  5447. expansion has taken place.
  5448. * PropertyGridView.cs:
  5449. - Set the propertygridtextbox text to the selected
  5450. StandardValue before proceeding to setting it.
  5451. - Scrolling bugfixes.
  5452. 2008-02-16 Ivan N. Zlatev <[email protected]>
  5453. * GridEntry.cs:
  5454. - Fix ValueText to not return null.
  5455. - Fix conversion error reporting to actually happen.
  5456. * PropertyGridView.cs: Set entry only if the text has changed.
  5457. [Fixes bug #362116]
  5458. 2008-02-16 Ivan N. Zlatev <[email protected]>
  5459. * GridEntry.cs:
  5460. - Fix handling of a null current value.
  5461. - Swallow editor exceptions.
  5462. [Fixes bug #362114]
  5463. 2008-02-16 Ivan N. Zlatev <[email protected]>
  5464. * PropertyGrid.cs: Clear current items first thing before
  5465. repopulating subitems.
  5466. * GridEntry.cs:
  5467. - Handle null StandardValuesCollection.
  5468. - Mark as not editable if there is no PropertyDescriptor and
  5469. if the Converter cannot convert from string.
  5470. [Part of fix for bugs #360666 and #358332]
  5471. 2008-02-15 Luke Page <[email protected]>
  5472. * MaskedTextBox.cs: Now skips non editable characters after a
  5473. character has been entered and we are progressing to the next
  5474. position in the MaskedTextBox.
  5475. 2008-02-15 Luke Page <[email protected]>
  5476. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  5477. that it changes the selection rather than just repositioning the
  5478. cursor. Fixes Bug #360873.
  5479. 2008-02-15 Luke Page <[email protected]>
  5480. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  5481. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  5482. correctly. See #359330
  5483. 2008-02-15 Andreia Gaita <[email protected]>
  5484. * XplatUIX11.cs: If the handle is null when posting a message, use the
  5485. current thread queue to post instead. Fixes #332409
  5486. * SendKeys.cs: Slight optimization
  5487. 2008-02-14 Ivan N. Zlatev <[email protected]>
  5488. * PropertyGrid.cs, PropertyGridView.cs:
  5489. Fix multiple scrolling and sizing issues.
  5490. [Fixes bug #359199]
  5491. 2008-02-12 Ivan N. Zlatev <[email protected]>
  5492. * PropertyGridView.cs: Ensure that drop down editors are shown
  5493. in the WorkingArea of the screen.
  5494. [Fixes bug #359807]
  5495. 2008-02-12 Ivan N. Zlatev <[email protected]>
  5496. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  5497. [Fixes bug #360666]
  5498. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  5499. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  5500. 2008-02-11 Ivan N. Zlatev <[email protected]>
  5501. * PropertyGridView.cs:
  5502. - Clear the controls in the drop down form after it is hidden.
  5503. - Fix Width sizing of the dropdown editors to match MSFT.
  5504. 2008-02-11 Ivan N. Zlatev <[email protected]>
  5505. * PropertyGridView.cs:
  5506. - Fix height for drawing the grid entry
  5507. text value, so that it clips multiline text properly.
  5508. - Fix unfocusing to match MSFT.
  5509. 2008-02-11 Ivan N. Zlatev <[email protected]>
  5510. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  5511. Fixes a bug where on repopulation after value changed items become
  5512. expandable.
  5513. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  5514. * Binding.cs: For the 2.0 profile, look for a
  5515. 'PropertyChanged' event in the target control, and add checks for
  5516. DataSourceUpdateMode property to change -or not- the data source
  5517. from validation/control property change.
  5518. 2008-02-10 Atsushi Enomoto <[email protected]>
  5519. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  5520. not compare struct with null in 2.0).
  5521. 2008-02-10 Luke Page <[email protected]>
  5522. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  5523. updates the provider and if not using a provider, uses the internal document
  5524. class implementation of password char. Also when showing text, uses display string
  5525. from the provider, instead of the actual text.
  5526. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  5527. * Binding.cs: Ooooops, forgot to take into account the data_source
  5528. and binding_member_info null case (it was breaking the Binding tests).
  5529. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  5530. * Binding.cs: Implement support for data source changes exposed by
  5531. 'PropertyNameChanged' events, and update the control property as
  5532. needed.
  5533. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  5534. * Binding.cs: Implement 2.0 WriteValue method.
  5535. 2008-02-08 Jonathan Pobst <[email protected]>
  5536. Commit patch from James Purcell for better AutoScale implementation:
  5537. * ScaleControl should call GetScaledBounds with the control's total size rather
  5538. than client size. GetScaledBounds should handle ignoring the borders in its
  5539. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  5540. (for the most part they just call the base code now since that is fixed).
  5541. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  5542. without having to override ScaleChildren (since none of .NET's controls do).
  5543. This is required for most controls in Mono that have scrollbars to prevent the
  5544. scrollbars from being moved/resized.
  5545. * Nested ContainerControls can have a different scale mode than their parent.
  5546. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  5547. designer produce different results both of which look incorrect).
  5548. * Default AutoScaleMode for ContainerControl should be Inherit.
  5549. * Simplified workaround for ComboBox scaling issue.
  5550. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  5551. 1.0 style auto scaling should scale the whole control's size instead of
  5552. ignoring the borders (except for Form) and the rounding is done differently to
  5553. preserve control alignment.
  5554. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  5555. GetAutoScaleSize.
  5556. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  5557. * CurrentAutoScaleDimensions should round the estimated character width instead
  5558. of truncating.
  5559. * ListBox's GetScaledBounds should always use the height it was set to instead
  5560. of the height that was passed in. This prevents rounding errors from
  5561. accumulating quickly with IntegralHeight.
  5562. [Bug #359098]
  5563. 2008-02-08 Andreia Gaita <[email protected]>
  5564. * Form.cs: Add a null check (darn it).
  5565. 2008-02-08 Jonathan Pobst <[email protected]>
  5566. * MdiClient.cs: Make sure the requesting form actually owns the
  5567. control menu items before removing them. Also, use
  5568. Suspend/ResumeLayout when adding or removing items so we only
  5569. layout once.
  5570. [Fixes bug #359887]
  5571. 2008-02-08 Jonathan Pobst <[email protected]>
  5572. * Control.cs: Guard against an NRE in ShowFocusCues.
  5573. [Fixes bug #359830]
  5574. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  5575. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  5576. property, as well as stubbing DataSourceUpdateMode.
  5577. 2008-02-08 Andreia Gaita <[email protected]>
  5578. * Form.cs: When closing forms, get focus back to the active control of the
  5579. active form. [Fixes #341314, corner case]
  5580. 2008-02-07 Jonathan Pobst <[email protected]>
  5581. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  5582. area, so any old scrollbar artifacts are cleaned up.
  5583. [Fixes bug #336305]
  5584. 2008-02-07 Jonathan Pobst <[email protected]>
  5585. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  5586. for our menus, display that control box menu instead of the 1.1
  5587. menu one.
  5588. 2008-02-07 Jonathan Pobst <[email protected]>
  5589. * MdiControlStrip.cs: Add property to access the mdi form tied to
  5590. each toolstripitem.
  5591. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  5592. to the implicitly merged menu. Every time we clicked the form, items
  5593. were getting removed and the re-added, causing the form to jump around
  5594. as the menu resized.
  5595. 2008-02-07 Jonathan Pobst <[email protected]>
  5596. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  5597. was being reset by the implicit menu merge for menustrips.
  5598. [Fixes bug #336296]
  5599. 2008-02-07 Jonathan Pobst <[email protected]>
  5600. * Form.cs: Don't do the previous change when WindowState = Normal,
  5601. or it messes up where the window is placed. Fixes test failure.
  5602. 2008-02-07 Jonathan Pobst <[email protected]>
  5603. * Form.cs: When becoming visible, if we are an MDI child, call
  5604. SetWindowState with a dummy old_state so that changes will actually
  5605. be made.
  5606. [Fixes the 2nd part of bug #325473]
  5607. 2008-02-07 Andreia Gaita <[email protected]>
  5608. * Control.cs: Reset properties to their pre parent-change values in case
  5609. the new parent == null (in which case we're basically removing the control,
  5610. and don't want any events fired due to fake property changes)
  5611. [Fixes #355850]
  5612. 2008-02-06 Ivan N. Zlatev <[email protected]>
  5613. * PropertyGridView.cs:
  5614. - Refactor SetValue to allow setting the value
  5615. when a custom editor is used, but the entry is not editable.
  5616. - Remove the custom editor control on CloseDropDown.
  5617. [Fixes #359196]
  5618. 2008-02-06 Andreia Gaita <[email protected]>
  5619. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  5620. reflection only on 1.1, this property is public on system.drawing on 2.0.
  5621. Fixed #359247
  5622. 2008-02-06 Andreia Gaita <[email protected]>
  5623. * WebBrowser.cs: Do a normal page refresh by default.
  5624. 2008-02-05 Andreia Gaita <[email protected]>
  5625. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  5626. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  5627. platforms. Fixes #359036
  5628. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  5629. platform-specific flags.
  5630. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  5631. * Binding.cs: Add 2.0 BindableComponent property - just return control
  5632. by now.
  5633. 2008-02-05 Everaldo Canuto <[email protected]>
  5634. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  5635. Jonathan for this patch. Fixes #358442.
  5636. 2008-02-05 Jonathan Pobst <[email protected]>
  5637. * Form.cs: If we change the active MDI child form, let the others
  5638. know they need to repaint their title bar so it will appear inactive.
  5639. [Fixes part 1 of bug #325473]
  5640. 2008-02-05 Ivan N. Zlatev <[email protected]>
  5641. * PropertyGridView.cs: Do not trucate custom editors' width
  5642. and align them to the left.
  5643. [Fixes #358353 and #358349]
  5644. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  5645. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  5646. Also fix the arguments passed to CollectionChangeEventArgs in the
  5647. related methods.
  5648. 2008-02-04 Geoff Norton <[email protected]>
  5649. * Hwnd.cs: The conversion to Quartz coordinates happens in
  5650. System.Drawing. Removing this translation from here.
  5651. 2008-02-04 Ivan N. Zlatev <[email protected]>
  5652. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  5653. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  5654. GridItemCollection.cs:
  5655. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  5656. 2008-02-04 Geoff Norton <[email protected]>
  5657. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  5658. SYSKEYUP if any other key has been pressed in the mean time.
  5659. Fixes #324404
  5660. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  5661. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  5662. when the item in current position is different than 0. Also, save the
  5663. item index in the beginning of the operation, instead of getting the
  5664. index of the item when the event is actually performed. Lastly clean
  5665. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  5666. triggered.
  5667. [Fixes #357873]
  5668. 2008-02-03 Jonathan Pobst <[email protected]>
  5669. * Form.cs: Alt-Minus for MDI children system menu should work
  5670. with both the minus keys on the keyboard.
  5671. [Fixes bug #336295]
  5672. 2008-02-03 Jonathan Pobst <[email protected]>
  5673. * Control.cs: Don't invalidate on region change. The WM should
  5674. take care of this automagically. Keeps us out of an infinite
  5675. paint loop if someone changes the Region in the OnPaint.
  5676. [Fixes bug #358327]
  5677. 2008-02-04 Ivan N. Zlatev <[email protected]>
  5678. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  5679. 2008-02-03 Jonathan Pobst <[email protected]>
  5680. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  5681. down the MonthCalendar only on F4, not Alt+F4.
  5682. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  5683. [Fixes bug #358340]
  5684. 2008-02-03 Jonathan Pobst <[email protected]>
  5685. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  5686. if its part of a DateTimePicker, else, use the back color.
  5687. [Fixes bug #358339]
  5688. 2008-02-03 Jonathan Pobst <[email protected]>
  5689. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  5690. [Fixes bug #358342]
  5691. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  5692. * CurrencyManager.cs: When we get a ListChanged event from our source,
  5693. always fire our own ListChanged event, as .Net does.
  5694. 2008-02-03 Luke Page <[email protected]>
  5695. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  5696. #358379.
  5697. 2008-02-03 Luke Page <[email protected]>
  5698. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  5699. property. Removed if for richtext property that was always true.
  5700. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  5701. 2008-02-03 Luke Page <[email protected]>
  5702. * TextBoxBase.cs - commited patch from James Purcell that
  5703. correctly sets the FixedHeight control style when the MultiLine
  5704. property is changed on a TextBox control. Fixes bug 358229.
  5705. 2008-02-02 Luke Page <[email protected]>
  5706. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  5707. Fixes bug 351938 - caret is positioned correctly when drawn
  5708. and when calculating textual position of caret, no longer
  5709. has a NRE in certain situations.
  5710. 2008-02-01 Geoff Norton <[email protected]>
  5711. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  5712. get that region removed from the paint event.
  5713. * XplatUICarbon.cs: Remove the window mapping after disposing of
  5714. window. Prevents a crash with handle reuse. Optimize exposes
  5715. only onto visible windows (rare; but possible).
  5716. 2008-02-01 Jonathan Pobst <[email protected]>
  5717. * UpDownBase.cs: Make sure the internal textbox calls the base's
  5718. OnMouseDown and OnMouseUp so the textbox will function correctly.
  5719. There were notes saying it doesn't chain up, but its an internal
  5720. class, so our implementation may differ.
  5721. [Fixes bug #357482]
  5722. 2008-02-01 Jonathan Pobst <[email protected]>
  5723. * ListBox.cs: Fix a logic error and don't process MouseDown
  5724. for mouse buttons other than Left.
  5725. 2008-02-01 Jonathan Pobst <[email protected]>
  5726. * Control.cs: Remove HeightInternal.
  5727. * ListBox.cs: Commit patch from James Purcell that correctly
  5728. calculates heights for ListBoxen.
  5729. [Fixes bug #357152]
  5730. 2008-02-01 Jonathan Pobst <[email protected]>
  5731. * Label.cs: Apply patch from James Purcell that corrects the
  5732. signature of the AutoSize property.
  5733. [Fixes bug #357605]
  5734. 2008-02-01 Jonathan Pobst <[email protected]>
  5735. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  5736. other than the left mouse button.
  5737. 2008-01-31 Jonathan Pobst <[email protected]>
  5738. * Control.cs: Remove my awesome optimization as it caused some
  5739. regressions with control ordering. :(
  5740. [Fixes bug #357467]
  5741. 2008-01-31 Ivan N. Zlatev <[email protected]>
  5742. * PropertyGridView.cs: Fix a NRE on double click when there is no
  5743. selected object.
  5744. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  5745. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  5746. 2008-01-30 Jonathan Pobst <[email protected]>
  5747. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  5748. [Fixes bug #357146]
  5749. 2008-01-29 Jonathan Pobst <[email protected]>
  5750. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  5751. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  5752. instead of Hwnd.bmp_g.
  5753. 2008-01-29 Jonathan Pobst <[email protected]>
  5754. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  5755. Use the Hwnd one instead.
  5756. 2008-01-29 Jonathan Pobst <[email protected]>
  5757. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  5758. 2008-01-29 Jonathan Pobst <[email protected]>
  5759. * Form.cs: corcompare for RestoreBounds.
  5760. 2008-01-29 Jonathan Pobst <[email protected]>
  5761. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  5762. 2008-01-29 Jonathan Pobst <[email protected]>
  5763. * Form.cs: Handle Alt-Minus for MDI children forms.
  5764. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  5765. Add mnemonics to the control menu.
  5766. [Fixes bug #336295]
  5767. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  5768. * Binding.cs: Initial implementation bits of FormattingEnabled
  5769. property and BindingComplete event (2.0).
  5770. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  5771. and exception.
  5772. 2008-01-28 Jonathan Pobst <[email protected]>
  5773. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  5774. table.Location. [Fixes bug #354672]
  5775. 2008-01-28 Jonathan Pobst <[email protected]>
  5776. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  5777. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  5778. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  5779. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  5780. of doing all the re-bound work, just invalidate and call SetControlText
  5781. to set the updated text of selected item to our textbox.
  5782. Fixes #333750.
  5783. 2008-01-28 Andreia Gaita <[email protected]>
  5784. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  5785. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  5786. missing properties and methods. Add Load, Unload, Error, GotFocus,
  5787. LostFocus, Resize, Scroll events (only load and unload are connected)
  5788. 2008-01-27 Gert Driesen <[email protected]>
  5789. * AccessibleObject.cs: Modified argument names to match MS.
  5790. * Button.cs: Modified argument names to match MS.
  5791. * BindingContext.cs: Modified argument names to match MS.
  5792. * BindingMemberInfo.cs: Modified argument names to match MS.
  5793. * ButtonBase.cs: Modified argument names to match MS.
  5794. * ComboBox.cs: Modified argument names to match MS.
  5795. * Control.cs: Modified argument names to match MS.
  5796. * CheckedListBox.cs: Modified argument names to match MS.
  5797. * CommonDialog.cs: Modified argument names to match MS.
  5798. * DataGrid.cs: Modified argument names to match MS.
  5799. * CursorConverter.cs: Modified argument names to match MS.
  5800. * ControlPaint.cs: Modified argument names to match MS.
  5801. * CheckBox.cs: Modified argument names to match MS.
  5802. * ControlBindingsCollection.cs: Modified argument names to match MS.
  5803. * BindingSource.cs: Modified argument names to match MS.
  5804. * DataFormats.cs: Modified argument names to match MS.
  5805. * ContainerControl.cs: Modified argument names to match MS.
  5806. * CurrencyManager.cs: Modified argument names to match MS.
  5807. * Application.cs: Modified argument names to match MS.
  5808. * ContextMenuStrip.cs: Modified argument names to match MS.
  5809. * ContextMenu.cs: Modified argument names to match MS.
  5810. * BindingManagerBase.cs: Modified argument names to match MS.
  5811. * WindowsFormsSection.cs: Fixed line ending.
  5812. 2008-01-27 Andreia Gaita <[email protected]>
  5813. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  5814. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  5815. while.
  5816. 2008-01-26 Gert Driesen <[email protected]>
  5817. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  5818. MS. Code formatting.
  5819. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  5820. * Binding.cs: Don't avoid the Format event if the control
  5821. property type is object. Also, if the value retrieved by
  5822. the data source is null _and_ the control proeprty type
  5823. is object, return Convert.DBNull (match .Net).
  5824. Fixes part of #324286.
  5825. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  5826. * ListControl.cs: Since we are getting two BinginContextChanged events
  5827. for the same binding context instance (when the control is added to
  5828. form, and when the form is actually shown), take it into account only the
  5829. first time for a given binding context instance.
  5830. Fixes part of #324286.
  5831. 2008-01-26 Ivan N. Zlatev <[email protected]>
  5832. * PropertryGridView.cs: Ops.
  5833. 2008-01-26 Ivan N. Zlatev <[email protected]>
  5834. * PropertyGridView.cs: Close dropdown form if the owner form is
  5835. moved or minimized.
  5836. [Fixes bug #322446]
  5837. 2008-01-25 Ivan N. Zlatev <[email protected]>
  5838. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  5839. RootGridEntry.cs, CategoryGridEntry.cs:
  5840. PropertyGrid rewrite.
  5841. - Rewrite all of the control logic in PropertyGrid.
  5842. - Rewrite all of the ComponentModel logic in GridEntry.
  5843. - Rewrite all UI work in PropertyGridView.
  5844. - Many bugfixes, etc.
  5845. 2008-01-24 Jonathan Pobst <[email protected]>
  5846. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  5847. when all contained controls are autosize or dock-fill. Also take into
  5848. account when the total percentage of column/row sizes is not 100%.
  5849. [Fixes bug #354672]
  5850. 2008-01-24 Andreia Gaita <[email protected]>
  5851. * HtmlDocument.cs:
  5852. - Save a reference to the IDocument in the instance and
  5853. use that one instead of going to WebHost.Document; the document that the
  5854. WebHost returns might not be the right one (in case of frames).
  5855. - Use the hashcode returned from the IDocument interface.
  5856. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  5857. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  5858. LinkColor, Url, VisitedColor, Window
  5859. * HtmlElement.cs:
  5860. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  5861. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  5862. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  5863. SetAttribute, Equals, equality operators.
  5864. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  5865. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  5866. * HtmlElementCollection.cs: Change implementation to use a generic
  5867. collection. Implemented Enumerator and CopyTo
  5868. * HtmlHistory.cs: Add constructor, no implementation yet.
  5869. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  5870. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  5871. Equals, equality operators.
  5872. * HtmlWindowCollection.cs: Implemented.
  5873. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  5874. has been deprecated).
  5875. * WebBrowserBase.cs: Use Completed event to track document loading
  5876. (Navigated has been deprecated)
  5877. 2008-01-24 Jonatham Pobst <[email protected]>
  5878. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  5879. level MenuItems do not respect tabs.
  5880. [Fixes bug #355196]
  5881. 2008-01-23 Geoff Norton <[email protected]>
  5882. * XplatUICarbon.cs: Ensure that windows are created in their initial
  5883. FormWindowState. Finished fixing Fullscreen windows on Carbon
  5884. 2008-01-23 Everaldo Canuto <[email protected]>
  5885. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  5886. be used as grab_control. Also save status of capture before show ContextMenu
  5887. and restore it after close.
  5888. 2008-01-23 Everaldo Canuto <[email protected]>
  5889. * Control.cs: Internal FindRootParent method added to return high control
  5890. in parent tree.
  5891. 2008-01-23 Geoff Norton <[email protected]>
  5892. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  5893. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  5894. it work again. Handle HITTEST events.
  5895. 2008-01-23 Geoff Norton <[email protected]>
  5896. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  5897. a crash in certain cases. Support for fullscreen windows in certain cases.
  5898. 2008-01-23 Jonathan Pobst <[email protected]>
  5899. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  5900. [Fixes bug #355703]
  5901. 2008-01-23 Geoff Norton <[email protected]>
  5902. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  5903. 2008-01-23 Geoff Norton <[email protected]>
  5904. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  5905. 2008-01-23 Everaldo Canuto <[email protected]>
  5906. * SplitContainer.cs: Remove unused declarations.
  5907. * Binding.cs: Remove unused declarations.
  5908. 2008-01-23 Everaldo Canuto <[email protected]>
  5909. * Form.cs: Remove unused declaration of 'active' in Activate method.
  5910. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  5911. prevent compilation warnings.
  5912. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  5913. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  5914. * Bindings.cs: Remove unused formatting_enabled declaration.
  5915. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  5916. warnings.
  5917. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  5918. warnings.
  5919. * PropertyGridView.cs: Remove usused 'ex' declaration.
  5920. * DataGridView.cs: Remove unused declarations.
  5921. 2008-01-23 Everaldo Canuto <[email protected]>
  5922. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  5923. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  5924. to Control class, it makes possible to grab menu to controls that can't
  5925. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  5926. WmMouseMove removed since it was used only to track menu events.
  5927. * Control.cs:
  5928. - Moved all active_tracker stuff from Form.
  5929. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  5930. can call this method instead of reimplement all necessary code handle for
  5931. menu tracker.
  5932. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  5933. and WmMouseMove).
  5934. * MenuAPI.cs:
  5935. - Remove special handle to ToolStripOverflow, now we can grab menu to
  5936. controls that can't reach Form using parent tree.
  5937. - Change type of grab_control from Form to Control.
  5938. 2008-01-22 Geoff Norton <[email protected]>
  5939. * TextBoxBase.cs: Split up the sizing of controls and placing of
  5940. controls. Fixes a bug where scrollbars in Reflector could be sized
  5941. wrong and have non-working thumbers.
  5942. 2008-01-23 Geoff Norton <[email protected]>
  5943. * XplatUI.cs: Refactor environment variables to default support to the
  5944. Carbon driver on the Mac.
  5945. 2008-01-23 Everaldo Canuto <[email protected]>
  5946. * Label.cs: Uses new LabelPainter for drawing operations.
  5947. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  5948. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  5949. 2008-01-22 Geoff Norton <[email protected]>
  5950. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  5951. 2008-01-22 Jonathan Pobst <[email protected]>
  5952. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  5953. through the normal flat button code and don't draw the checkbox glyph.
  5954. * Theme.cs: Button->ButtonBase signature change.
  5955. [Fixes bug #324755]
  5956. 2008-01-22 Everaldo Canuto <[email protected]>
  5957. * LinkLabel.cs: Uses new class LinkLabelPainter.
  5958. 2008-01-22 Everaldo Canuto <[email protected]>
  5959. * MessageBox.cs: Adjust right border space, we don't need to add
  5960. "space_border*2" two times.
  5961. 2008-01-22 Jonathan Pobst <[email protected]>
  5962. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  5963. becomes a wrapper around Padding.
  5964. [Fixes a part of bug #354676]
  5965. 2008-01-22 Geoff Norton <[email protected]>
  5966. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  5967. acquired. Also ensure the buffer is large enough to grab the header
  5968. we need on linux boxes.
  5969. 2008-01-22 Jonathan Pobst <[email protected]>
  5970. * Control.cs: Implement a custom enumerator so people can delete
  5971. from the Controls collection while in a foreach.
  5972. [Fixes bug #355074]
  5973. 2008-01-22 Ivan N. Zlatev <[email protected]>
  5974. * PropertyGridView.cs: Fix focusing behavior:
  5975. - Tab should focus the grid text box.
  5976. - Clicking on the labels shouldn't focus the grid text box.
  5977. 2008-01-22 Ivan N. Zlatev <[email protected]>
  5978. * PropertyGridView.cs: IsValueTypeGridItem should return true
  5979. for Arrays as well.
  5980. 2008-01-22 Ivan N. Zlatev <[email protected]>
  5981. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  5982. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  5983. reflect the property name role.
  5984. - PropertyGrid.GetTarget is not required as the target is known
  5985. (TargetObjects).
  5986. - Setting values will handle value types as a special case now and
  5987. populate them up in the chain.
  5988. [Fixes #354990]
  5989. 2008-01-21 Jonathan Pobst <[email protected]>
  5990. * Hwnd.cs: Create a public property for the Graphics we keep around.
  5991. 2008-01-21 Ivan N. Zlatev <[email protected]>
  5992. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  5993. when the current object selection changes.
  5994. Fixes failing test SelectedObject_Null2.B5.
  5995. 2008-01-21 Ivan N. Zlatev <[email protected]>
  5996. * PropertyGrid.cs: Process Browsable properties with
  5997. DesignerSerializationVisibilityAttribute.Content as being expandable.
  5998. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  5999. will not be expandable. We should be nested components-friendly now.
  6000. 2008-01-21 Andreia Gaita <[email protected]>
  6001. * WebBrowserBase.cs: Check if control was loaded properly,
  6002. don't bind if it wasn't.
  6003. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  6004. GetElementFromPoint, equality operators, OpenNew, Write.
  6005. Remove extra set_Body
  6006. 2008-01-18 Jonathan Pobst <[email protected]>
  6007. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  6008. that makes our AutoScale* stuff more tolerant to different orders
  6009. of being set. [Fixes bug #354669]
  6010. 2008-01-18 Ivan N. Zlatev <[email protected]>
  6011. * PropertyGridView.cs, PropertyGridTextBox.cs:
  6012. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  6013. [Fixes #339005 and #348209]
  6014. 2008-01-18 Ivan N. Zlatev <[email protected]>
  6015. * PropertyGridView.cs: Hide the grid text box before adjusting it
  6016. for the newly selected GridItem.
  6017. [Fixes #338999]
  6018. 2008-01-18 Jonathan Pobst <[email protected]>
  6019. * Form.cs: Give MDI children the opportunity to cancel the parent form
  6020. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  6021. properly for both the parent and child.
  6022. * Application.cs: Signature of internal method changed, pass the previous
  6023. default of false.
  6024. [Fixes bug #354286]
  6025. 2008-01-17 Ivan N. Zlatev <[email protected]>
  6026. * PropertyGridView.cs: Set the property value only if it has changed.
  6027. [Fixes bug #338997]
  6028. 2008-01-17 Jonathan Pobst <[email protected]>
  6029. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  6030. If the mouse hasn't actually moved, ignore these messages so the currently
  6031. highlighted menuitem isn't reset to the one under the mouse.
  6032. [Fixes bug #333668]
  6033. 2008-01-17 Ivan N. Zlatev <[email protected]>
  6034. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  6035. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  6036. to reflect the change visually.
  6037. [Fixes bug #338998]
  6038. 2008-01-17 Jonathan Pobst <[email protected]>
  6039. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  6040. to 2.0 button drawing.
  6041. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  6042. the button text is tall enough for one line. LineLimit says it will
  6043. always draw at least one line, but it is a lie.
  6044. [Fixes bug #324941]
  6045. 2008-01-17 Atsushi Enomoto <[email protected]>
  6046. * XplatUIStructs.cs, X11Keyboard.cs :
  6047. added some more VK_* keys to be handled.
  6048. 2008-01-16 Andreia Gaita <[email protected]>
  6049. * Control.cs: Check if there is a container before setting or getting
  6050. the validation flag.
  6051. 2008-01-16 Andreia Gaita <[email protected]>
  6052. * ContainerControl.cs: Add flag to track if a control cancels validation,
  6053. so we don't fire click events.
  6054. * Control.cs:
  6055. - (HandleClick) Check if validation was cancelled before firing the click
  6056. events (doubleclicks are fired, but not clicks)
  6057. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  6058. ContainerControl.set_ActiveControl, but in the case of non-selectable
  6059. controls, like a Label, activecontrol is not set.
  6060. * ButtonBase.cs: Only fire clicks if validation passes.
  6061. Fixes #353310
  6062. 2008-01-16 Geoff Norton <[email protected]>
  6063. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  6064. trunk
  6065. 2008-01-16 Jonathan Pobst <[email protected]>
  6066. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  6067. SelectedPath, just display the default dialog instead of crashing.
  6068. [Fixes bug #348989]
  6069. 2008-01-16 Geoff Norton <[email protected]>
  6070. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  6071. AddExpose instead of trusting apples compositing manager which doesn't
  6072. work for our use case. Remove some dead code causing warnings and
  6073. redecorate some other code to prevent warnings.
  6074. 2008-01-16 Geoff Norton <[email protected]>
  6075. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  6076. carbon signals us to redraw. Fixes another portion of the flickering bug
  6077. 2008-01-16 Everaldo Canuto <[email protected]>
  6078. * Form.cs: Prevent the MdiParent property to be set when value is the same
  6079. as value already set. Fixes bug #328019.
  6080. 2008-01-16 Everaldo Canuto <[email protected]>
  6081. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  6082. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  6083. 2008-01-16 Everaldo Canuto <[email protected]>
  6084. * InternalWindowManager.cs: Invalidade close button after mouse up when
  6085. mdi form is prevented to close.
  6086. 2008-01-16 Everaldo Canuto <[email protected]>
  6087. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  6088. thanks to Andy Hume. Fixes bug #325433.
  6089. 2008-01-16 Andreia Gaita <[email protected]>
  6090. * LinkLabel.cs: Reset focused_index when resellecting the control.
  6091. Fixes #323190
  6092. 2008-01-15 Geoff Norton <[email protected]>
  6093. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  6094. messages.
  6095. 2008-01-15 Jonathan Pobst <[email protected]>
  6096. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  6097. of truncate.
  6098. 2008-01-15 Jonathan Pobst <[email protected]>
  6099. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  6100. Form.AutoScale to false.
  6101. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  6102. AutoScaleBaseSize should be changed on Font change unless it has been
  6103. explicitly set.
  6104. [Fixes bug #353827]
  6105. 2008-01-15 Everaldo Canuto <[email protected]>
  6106. * MenuAPI.cs: On instance of MenuTracker check if source control is
  6107. ToolStripOverflow and use properly method to find form.
  6108. [Fixes bug #338511]
  6109. 2008-01-15 Everaldo Canuto <[email protected]>
  6110. [Fixes bug #323241 Transparent toolbar support]
  6111. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  6112. is flat.
  6113. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  6114. defined in control style to mimic win32 behavior.
  6115. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  6116. it will be transparent.
  6117. 2008-01-14 Everaldo Canuto <[email protected]>
  6118. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  6119. CreateParams for ToolBar controls.
  6120. 2008-01-14 Jonathan Pobst <[email protected]>
  6121. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  6122. FixedToolWindow, SizeableToolWindow, or None for border styles have
  6123. different minimum sizes than regular forms. Implemented to fix
  6124. regression in PDN with toolbox being too wide.
  6125. 2008-01-14 Andreia Gaita <[email protected]>
  6126. * HtmlElementCollection.cs: Implemented
  6127. * HtmlElement.cs: Implemented:
  6128. - All
  6129. - InnerHtml
  6130. - InnerText
  6131. - Id
  6132. - Name
  6133. - FirstChild
  6134. * HtmlDocument.cs: Implemented GetElementsByTagName.
  6135. 2008-01-14 Jonathan Pobst <[email protected]>
  6136. * Screen.cs: Stub BitsPerPixel to always return 32.
  6137. 2008-01-14 Jonathan Pobst <[email protected]>
  6138. * Form.cs: Implement RestoreBounds.
  6139. 2008-01-14 Jonathan Pobst <[email protected]>
  6140. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  6141. Sebastien and his fabulous magical problem-finding machine:
  6142. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  6143. respect the value set.
  6144. 2008-01-14 Everaldo Canuto <[email protected]>
  6145. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  6146. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  6147. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  6148. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  6149. messages (to match .Net), we need to remove the capture ourselves.
  6150. 2008-01-11 Jonathan Pobst <[email protected]>
  6151. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  6152. will process the message and close our window.
  6153. [Fixes bug #324328]
  6154. 2008-01-10 Geoff Norton <[email protected]>
  6155. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  6156. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  6157. window manager.
  6158. 2008-01-10 Jonathan Pobst <[email protected]>
  6159. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  6160. failing test.
  6161. 2008-01-10 Jonathan Pobst <[email protected]>
  6162. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  6163. Linux doesn't care, having a minimum matches MS and keeps the window
  6164. from becoming too small to use window decorations.
  6165. [Fixes bug #338996]
  6166. 2008-01-10 Jonathan Pobst <[email protected]>
  6167. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  6168. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  6169. control. [Fixes bug #325419]
  6170. 2008-01-10 Jonathan Pobst <[email protected]>
  6171. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  6172. SelectedIndexChanged event. This closes the combobox dropdown, and we
  6173. were trying to dispose it. [Fixes bug #352830]
  6174. 2008-01-09 Jonathan Pobst <[email protected]>
  6175. * Control.cs, Form.cs: Implement the necessary semantics for
  6176. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  6177. to determine if a focus rectangle should be drawn.
  6178. * PropertyGrid.cs: Fix property visibility to match override.
  6179. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  6180. 2008-01-09 Jonathan Pobst <[email protected]>
  6181. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  6182. [Fixes bug #323552]
  6183. 2008-01-09 Geoff Norton <[email protected]>
  6184. * XplatUICarbon.cs: Scroll windows in the correct direction.
  6185. 2008-01-09 Geoff Norton <[email protected]>
  6186. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  6187. when the app is deactivated or spaces is enabled.
  6188. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  6189. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  6190. extra separation pixel for the label rect origin if SmallImageList is
  6191. null, and thus we don't need that separation between icon and label
  6192. rects.
  6193. Patch by Ernesto Carrea.
  6194. Fixes # 340195.
  6195. 2008-01-08 Jonathan Pobst <[email protected]>
  6196. * StatusStrip.cs: Invalidate after completing a layout. The base
  6197. OnLayout does this, but we don't call the base.
  6198. * ToolStripItem.cs: Revert the previous change to invalidate after
  6199. the item moves.
  6200. [Fixes bug #351341 better.]
  6201. 2008-01-07 Geoff Norton <[email protected]>
  6202. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  6203. not a notification to exit the application. Listen for WM_QUIT
  6204. instead.
  6205. 2008-01-07 Andreia Gaita <[email protected]>
  6206. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  6207. 2008-01-07 Jonathan Pobst <[email protected]>
  6208. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  6209. so it can repaint at the correct location.
  6210. [Fixes bug #351341]
  6211. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  6212. * ListControl.cs: SelectedValue should return a null value if
  6213. SelectedIndex is -1. Also, when setting it, it should throw an
  6214. ArgumentNullException if the value is null, as well as taking
  6215. into account the String.Empty value, instead of ignoring it (we have
  6216. tests for that now).
  6217. Fixes part of #324286.
  6218. 2008-01-06 Jonathan Pobst <[email protected]>
  6219. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  6220. SelectionStart is updated after pressing enter. Fixes bug #351918.
  6221. 2008-01-05 Jonathan Pobst <[email protected]>
  6222. * TextControl.cs: Revert a piece r92316 that prevented the fix
  6223. from working when there were multiple tags in the text box.
  6224. Fixes bug #351881.
  6225. 2008-01-05 Jonathan Pobst <[email protected]>
  6226. * TextControl.cs: Apply patch from Luke Page that prevents an
  6227. NRE when determining the beginning of a paragraph.
  6228. Fixes bug #351886.
  6229. 2008-01-05 Jonathan Pobst <[email protected]>
  6230. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  6231. caret gets moved with clicking away from a selected block of
  6232. text. Fixes bug #351885.
  6233. 2008-01-05 Jonathan Pobst <[email protected]>
  6234. * TextControl.cs: Apply patch from Luke Page that takes line
  6235. alignment into account for mouse selection, so that center and
  6236. right aligned text can be selected.
  6237. Fixes bug #351881.
  6238. 2008-01-05 Jonathan Pobst <[email protected]>
  6239. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  6240. issues after loading an RTF file by using the correct line feeds.
  6241. Fixes bug #351841.
  6242. 2008-01-05 Jonathan Pobst <[email protected]>
  6243. * TextControl.cs: When deleting multiple line selections, we need
  6244. to invalidate every line beginning at the first line of the selection.
  6245. Patch from Luke Page fixes bug #351791.
  6246. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  6247. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  6248. event, don't set SelectedIndex if the number of items is 1. This is
  6249. because, for the first item, PositionChanged is fired _before_
  6250. ItemChanged (the place where we actually populate the items), and
  6251. leave us in a temporary invalid state (since items collection is
  6252. empty).
  6253. Fixes #349655.
  6254. 2008-01-04 Geoff Norton <[email protected]>
  6255. * XplatUICarbon.cs: Create native toolwindows instead of
  6256. the managed drawing ones.
  6257. 2008-01-03 Jonathan Pobst <[email protected]>
  6258. * LineTag.cs: If the line doesn't have any characters, return
  6259. 0 for GetCharIndex. Fixes an AOORE exception after certain
  6260. caret movements. Fixes bug #351683. Patch by Luke Page.
  6261. 2008-01-03 Jonathan Pobst <[email protected]>
  6262. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  6263. is hit when there is selected text, only the selected text gets
  6264. deleted, not the character in front of the selection as well.
  6265. Fixes bug #351578.
  6266. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  6267. * ComboBox.cs: When the values are displayed, calculate the
  6268. ComboListBox scrollbar's LargeChange based on the visible area's
  6269. height and the actuall ItemHeight, instead of calculating it
  6270. based on MaxDropItems value, since it's not used by our _current_
  6271. 2.0 profile.
  6272. Fixes #332366.
  6273. 2008-01-03 Jonathan Pobst <[email protected]>
  6274. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  6275. Patch from Luke Page that fixes issues with font colors and styles
  6276. not showing up in a readonly RichTextBox. Fixes bug #324354.
  6277. 2008-01-03 Jonathan Pobst <[email protected]>
  6278. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  6279. from Luke Page. This one fixes bug #349926.
  6280. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  6281. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  6282. an item in the IBindingList source changes with
  6283. ListChangedType.ItemAdded. Ignore for now firing the event for other
  6284. changes, since we want to have tests for those cases as well.
  6285. 2007-12-28 Jonathan Pobst <[email protected]>
  6286. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  6287. created.
  6288. 2007-12-28 Jonathan Pobst <[email protected]>
  6289. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  6290. character. This is effective because the typical usage of a
  6291. TextBox is with a limited amount of fonts and characters, and
  6292. the current implementation of TextBox measures everything one
  6293. character at a time. Another second or two speedup for bug #347238.
  6294. 2007-12-28 Jonathan Pobst <[email protected]>
  6295. * Control.cs: Rewrite the Font getter to only query the parent's
  6296. Font property once instead of twice. Since this operation is
  6297. recursive, the queries were growing exponentially as the control
  6298. tree got deeper. Another second or two speedup for bug #347238.
  6299. 2007-12-28 Jonathan Pobst <[email protected]>
  6300. * Control.cs: Avoid setting a parent (and more importantly, updating
  6301. the zorder of all its children) if the parent is already correct in
  6302. WmShowWindow. Decreases the startup time of the test case on bug
  6303. #347238 from 35 seconds to 11 seconds.
  6304. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  6305. * X11Dnd.cs: When the dnd operation has started and we are
  6306. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  6307. This is done to match .Net, which doesn't send those messages after
  6308. dnd operation was completed/cancelled.
  6309. Fixes #349922.
  6310. 2007-12-27 Jonathan Pobst <[email protected]>
  6311. * ToolStrip.cs: Previous change should be != null, not == null.
  6312. Thanks Gert!
  6313. 2007-12-27 Jonathan Pobst <[email protected]>
  6314. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  6315. user may have moved the mouse off the current item during the event.
  6316. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  6317. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  6318. calling GetItemAt for every MouseMove event by also taking into
  6319. account whether any mouse button is pressed (probably dragging);
  6320. if so, we can call GetItemAt, and if not, try to not call it
  6321. (GetItemAt can be quite expensive when used with a large number of items).
  6322. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  6323. * ListView.cs: Implement -finally- support for dnd, by calling
  6324. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  6325. authors list ;-).
  6326. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  6327. simple calculation of distances for all the items in the owner
  6328. listview.
  6329. 2007-12-21 Geoff Norton <[email protected]>
  6330. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  6331. for windows that are originally created as invisible. Fixes missing
  6332. main window in paint-mono.
  6333. 2007-12-21 Geoff Norton <[email protected]>
  6334. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  6335. subclass handler for com.novell.mwfview subclassing HIView. Implement
  6336. Pasteboard and Dnd methods.
  6337. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  6338. * ListBox.cs: When we got focus, give focus to first item if there
  6339. wasn't any pervious focused item. Also update navigation to depend on
  6340. SelectedIndex rather than FocusedItem, just as .Net does.
  6341. Fixes #349174.
  6342. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  6343. * ListBox.cs: Both FindString and FindStringExact methods must do an
  6344. case insensitive search, should allow the last valid index to be
  6345. passed in the overload taking an initial index, and should also
  6346. continue searching from the top back to the specified index when it
  6347. reaches the bottom.
  6348. 2007-12-19 Jonathan Pobst <[email protected]>
  6349. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  6350. redraw issue, and allows RichTextBox to draw colored text even while
  6351. disabled or readonly.
  6352. 2007-12-19 Jonathan Pobst <[email protected]>
  6353. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  6354. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  6355. and doesn't grey text in a disabled RichTextBox.
  6356. 2007-12-19 Jonathan Pobst <[email protected]>
  6357. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  6358. for many RTF commands: quad alignment, separate formatting for blocks
  6359. inside groups, and ParDef support. Makes the test case from bug #324589
  6360. look much better.
  6361. 2007-12-19 Jonathan Pobst <[email protected]>
  6362. * LineTag.cs: Fix an error in the new Draw method that caused
  6363. a crash when rendering the document on bug #324589.
  6364. 2007-12-19 Jonathan Pobst <[email protected]>
  6365. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  6366. TextControl.cs: Apply patch from Luke Page that adds support
  6367. for URL links in RichTextBox.
  6368. [Fixes enhancement #342516]
  6369. 2007-12-18 Everaldo Canuto <[email protected]>
  6370. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  6371. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  6372. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  6373. * ListBox.cs: When a key gets pressed, try to find a string
  6374. if the key is a character or a digit.
  6375. Fixes #343971.
  6376. 2007-12-17 Jonathan Pobst <[email protected]>
  6377. * TableLayoutPanel.cs: Remove some unused variables.
  6378. 2007-12-17 Jonathan Pobst <[email protected]>
  6379. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  6380. we don't end up at an invalid date when we click the up/down
  6381. spinner to change the month or year. Fixes bug #348682.
  6382. 2007-12-17 Jonathan Pobst <[email protected]>
  6383. * Application.cs: Calling Exit in 2.0 should chain to the
  6384. Exit (CancelEventArgs) version so it can be cancelled.
  6385. * Form.cs: Create a flag to allow raising the Closing
  6386. events to be skipped. We raise them once in Application.Exit
  6387. and don't want to raise them again when the Form is actually
  6388. closed. [Fixes bug #349073]
  6389. 2007-12-16 Jonathan Pobst <[email protected]>
  6390. * ToolStripDropDown.cs: Guard against an NRE when there
  6391. hasn't been a mainform set in the application context.
  6392. [Fixes bug #349108]
  6393. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  6394. * ListBox.cs: When SetBoundsCore gets called, besides
  6395. calling UpdateScrollBars, update the value of
  6396. last_visible_index, since we could need to show more items
  6397. than before, and we need to let the paint routines know that.
  6398. Fixes #344445.
  6399. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  6400. * ListView.cs: Add DesignerSerializationVisibility attribute to
  6401. InsertionMark property.
  6402. * ListViewItem.cs: Add same attribute to Position property.
  6403. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  6404. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  6405. is 2.0 only.
  6406. 2007-12-14 Jonathan Pobst <[email protected]>
  6407. * ThemeWin32Classic.cs: Don't draw the background on a
  6408. flat button if there is a background image.
  6409. [Fixes bug #348649]
  6410. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  6411. * ListBox.cs: If we remove the item currently selected,
  6412. remove it not only from SelectedItems, but also
  6413. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  6414. the items count decreased and focused_item has bigger value than that.
  6415. 2007-12-13 Jonathan Pobst <[email protected]>
  6416. * Control.cs: Perform our layout after we resize ourselves
  6417. if we had to adjust our AutoSize. Missed commit for bug
  6418. #346246.
  6419. 2007-12-13 Jonathan Pobst <[email protected]>
  6420. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  6421. we can provide an implementation of AutoSize.
  6422. [Fixes bug #346246]
  6423. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  6424. * ListBox.cs: Add the internal overload Sort (bool paint),
  6425. to indicate whether we actually need a paint or we will
  6426. call Refresh ourselves. This way we don't request a paint
  6427. _before_ having an updated and valid layout.
  6428. Fixes #347233.
  6429. 2007-12-12 Andreia Gaita <[email protected]>
  6430. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  6431. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  6432. properly invalidated.
  6433. Fixes #324237
  6434. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  6435. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  6436. don't simply assign it to our internal group field, but instead
  6437. use our Group property, which should do all the neccessary work
  6438. required to support groups. Fixes an issue reported to me (mail) by a
  6439. guy using this new feature.
  6440. 2007-12-11 Jonathan Pobst <[email protected]>
  6441. * Control.cs: Use Scale instead of ScaleControl to ensure the
  6442. whole hierarchy gets scaled.
  6443. [Fixes bug #347282]
  6444. 2007-12-10 Jonathan Pobst <[email protected]>
  6445. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  6446. Parent property. Doing this causes the control to be hosted by
  6447. the Form instead of being a popup window.
  6448. [Fixes bug #347665]
  6449. 2007-12-10 Jonathan Pobst <[email protected]>
  6450. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  6451. at an index higher than Count, just use Add instead of Insert.
  6452. [Fixes bug #347669]
  6453. 2007-12-10 Jonathan Pobst <[email protected]>
  6454. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  6455. DrawPictureBox, this is handled by Control.PaintBackground.
  6456. [Fixes bug #347276]
  6457. 2007-12-10 Everaldo Canuto <[email protected]>
  6458. * MenuAPI.cs: When process menu keys return true by default only if menu is
  6459. active. Fixes bug #342892.
  6460. 2007-12-09 Andreia Gaita <[email protected]>
  6461. * Control.cs: check if windows are actually mapped before
  6462. trying to zorder. Fixes #342509, #346955
  6463. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  6464. * ListView.cs:
  6465. * ListViewInsertionMark.cs:
  6466. * ThemeWin32Classic.cs: Implement the drawing side of the
  6467. new 2.0 ListView.InsertionMark property.
  6468. 2007-12-07 Jonathan Pobst <[email protected]>
  6469. * CurrencyManager.cs: Silence some debug spew.
  6470. 2007-12-07 Geoff Norton <[email protected]>
  6471. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  6472. masks for our children as well as siblings to avoid having to query
  6473. Quartz for this information.
  6474. * XplatUICarbon.cs: Implement a delegate based system to pass
  6475. information to System.Drawing. Implement Async methods. Remove
  6476. the hack for the resize thumb and imlpement a transparent Grow Box.
  6477. Rework the messaging system to proplery create window's and messages,
  6478. fixes TabControl.
  6479. 2007-12-06 Andreia Gaita <[email protected]>
  6480. * X11Keyboard.cs: Use Xutf8LookupString to support international
  6481. characters under alternate codepages. Patch from #340878
  6482. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  6483. * ListView.cs: When doing layout computations, set position in the
  6484. ListView instances (we cache the position just as .Net does).
  6485. * ListViewItem.cs: New internal setter method for Position. Also set
  6486. position field as also available in 1.1, since we are going to use it
  6487. now in the common case.
  6488. 2007-12-06 Andreia Gaita <[email protected]>
  6489. * Control.cs: When removing controls, get the actual container
  6490. to notify about active control changes. Fixes 341314.
  6491. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  6492. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  6493. 2007-12-05 Andreia Gaita <[email protected]>
  6494. * Control.cs: When updating the zorder, ignore windows that are not
  6495. mapped. Fixes #342509
  6496. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  6497. * ListViewItem.cs: Actually implement serialization on this class.
  6498. 2007-12-05 Gert Driesen <[email protected]>
  6499. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  6500. LinkCollection. Spaces to tabs, and removed extra tabs.
  6501. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  6502. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  6503. tests to fail (hopefully).
  6504. 2007-12-03 Jonathan Pobst <[email protected]>
  6505. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  6506. the image margin so custom renderers can correctly place it.
  6507. 2007-12-03 Jonathan Pobst <[email protected]>
  6508. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  6509. so custom renderers can correctly place it.
  6510. 2007-12-03 Jonathan Pobst <[email protected]>
  6511. * Application.cs: Let WM_CHAR messages flow through to controls
  6512. hosted in Strips. [Fixes bug #343972]
  6513. 2007-12-02 Jonathan Pobst <[email protected]>
  6514. * ToolStripManager.cs: Guard against an NRE I ran into.
  6515. 2007-12-02 Jonathan Pobst <[email protected]>
  6516. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  6517. a Link is manually added to the Links collection, we need to set
  6518. its owner, so it can invalidate properly.
  6519. [Fixes bug #344012]
  6520. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  6521. * ListView.cs: When changing ListViewItem.Position (which calls
  6522. ListView.ChangeItemLocation), invalidate not only the area
  6523. corresponding to the main item, but also to the area occupied
  6524. by the items being moved.
  6525. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  6526. * ListView.cs: When changing the position of a given item,
  6527. don't use item bounds, but item areas (which includes the item spacing
  6528. between them). Also, use first/last position if the requested
  6529. position is outside bounds (as .Net does). Invalidate the previous and
  6530. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  6531. in a specific position, instead of directly accessing Items collection
  6532. (this is done to get the right item - remember an Item can have a
  6533. different position in the grid than in the Items collection).
  6534. 2007-11-23 Everaldo Canuto <[email protected]>
  6535. * MessageBox.cs: Calculate text area instead of just top left, this rect
  6536. area will be used in DrawString. Fixes bug #343364.
  6537. 2007-11-23 Everaldo Canuto <[email protected]>
  6538. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  6539. screen width. Partially fixes bug #343364.
  6540. 2007-11-23 Everaldo Canuto <[email protected]>
  6541. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  6542. code inside recalculate, it makes code more simple.
  6543. 2007-11-22 Everaldo Canuto <[email protected]>
  6544. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  6545. between update or add icon. Fixes bug #324344.
  6546. 2007-11-21 Andreia Gaita <[email protected]>
  6547. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  6548. window manager, since that stretches the drawing area to include
  6549. the window decorations, and they get hidden. Reverts r84444 and fixes
  6550. #335849 and #342790 (mdi and pdn3 regression)
  6551. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  6552. * ListView.cs: When setting focused item, try to give focus to the
  6553. previous one _only_ if the previous one remains valid.
  6554. Fixes #342504.
  6555. 2007-11-20 Jonathan Pobst <[email protected]>
  6556. * Application.cs: Revert r89650, as it broke a common case to fix
  6557. an obscure case. Fixes bug #342606.
  6558. 2007-11-20 Everaldo Canuto <[email protected]>
  6559. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  6560. 2007-11-20 Everaldo Canuto <[email protected]>
  6561. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  6562. alignment. [Fixes #324228]
  6563. 2007-11-19 Jonathan Pobst <[email protected]>
  6564. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  6565. [Fixes bug #342123]
  6566. 2007-11-19 Everaldo Canuto <[email protected]>
  6567. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  6568. it prevent problems when empty captions. [Fixes #342141]
  6569. 2007-11-19 Jonathan Pobst <[email protected]>
  6570. * Label.cs: Use Size instead of None. Fixes bug #342077.
  6571. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  6572. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  6573. 2007-11-17 Jonathan Pobst <[email protected]>
  6574. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  6575. but there isn't a MdiContainer.
  6576. [Fixes bug #342358]
  6577. 2007-11-17 Jonathan Pobst <[email protected]>
  6578. * TextControl.cs: Don't recalculate document if the recalc_start and
  6579. recalc_end hasn't changed.
  6580. [Fixes bug #342505]
  6581. 2007-11-17 Gert Driesen <[email protected]>
  6582. * DataGridViewTextBoxCell.cs: Removed CWL.
  6583. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  6584. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  6585. 2007-11-16 Jonathan Pobst <[email protected]>
  6586. * TextControl.cs: Missed some code for bug 341534 to trigger a
  6587. recalculation when the font changes.
  6588. 2007-11-16 Andreia Gaita <[email protected]>
  6589. * Control.cs: When updating the zorder, check if the child to update is
  6590. the same control that is set to always be on top (i.e., scrollbars), and
  6591. just put it on top directly. Fixes BadMatch error on pdn3
  6592. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  6593. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  6594. 2007-11-16 Jonathan Pobst <[email protected]>
  6595. * Control.cs: Don't perform a new layout when a label changes its text,
  6596. cause label handles its own autosizing.
  6597. [Fixes bug #342077]
  6598. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  6599. * ListView.cs: Implement 2.0 FindNearestItem methods.
  6600. 2007-11-15 Jonathan Pobst <[email protected]>
  6601. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  6602. even if the rest of what Join does isn't supported. Add some more
  6603. support for vertical toolbars.
  6604. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  6605. [Fixes the application breaking parts of bug #341998]
  6606. 2007-11-15 Jonathan Pobst <[email protected]>
  6607. * ToolStripItem.cs: When determining if we have a check/image margin,
  6608. we need to look at ShowCheckMargin as well as ShowImageMargin.
  6609. 2007-11-15 Geoff Norton <[email protected]>
  6610. * XplatUIOSX.cs: Rename to...
  6611. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  6612. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  6613. 2007-11-15 Jonathan Pobst <[email protected]>
  6614. * KeysConverter.cs: The default values should be an array of Keys, not
  6615. strings. Also, the array has more values for 2.0.
  6616. [Fixes bug #341851]
  6617. 2007-11-14 Jonathan Pobst <[email protected]>
  6618. * Application.cs: Change ExecutablePath to use
  6619. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  6620. [Fixes bug #323552]
  6621. 2007-11-14 Jonathan Pobst <[email protected]>
  6622. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  6623. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  6624. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  6625. be ignored. Create a new GetLineEnding that can specify which types of
  6626. line endings to look for. On Insert, only create new lines for \n and \r\n.
  6627. [Fixes bug #324274]
  6628. 2007-11-14 Jonathan Pobst <[email protected]>
  6629. * TextBoxBase.cs: As we loop through each line changing the font, tell
  6630. the document that the line needs to be recalculated. Fixes bug #341534.
  6631. 2007-11-13 Jonathan Pobst <[email protected]>
  6632. [Another round of refactoring]
  6633. * Line.cs: Add DeleteCharacters.
  6634. * LineTag.cs: Add Delete.
  6635. * TextBoxBase.cs: Update to use new methods.
  6636. * TextControl.cs: Refactor the Delete* methods.
  6637. 2007-11-13 Everaldo Canuto <[email protected]>
  6638. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  6639. the patch. [Fixes #324856]
  6640. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  6641. * ListView.cs:
  6642. * ListViewItem.cs: Add an initial implementation of
  6643. 2.0 ListViewItem.Position getter.
  6644. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  6645. * ListView.cs: Add a reordered_items_indices array, to allow us
  6646. to have a different sorting than that of Items (the sorting in Items
  6647. could not match the actual sorting in screen). This is needed to
  6648. implement a pair of 2.0 features.
  6649. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  6650. actual position in the ListView grid, since it could have a position
  6651. different than its Index (position in ListViewItemCollection).
  6652. 2007-11-09 Jonathan Pobst <[email protected]>
  6653. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  6654. not draw partial lines.
  6655. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  6656. LineLimit flag from the base is preserved.
  6657. Fixes the windows part of bug #338965.
  6658. 2007-11-09 Jonathan Pobst <[email protected]>
  6659. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  6660. so that it can be canceled in KeyPress.
  6661. Fixes bug #340078.
  6662. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  6663. * ListView.cs: In ItemControl, reset mouse-handling related
  6664. fields even if we dont' have items (we still should reset them when
  6665. we had items but then called Items.Clear). Partially based in a patch
  6666. by George Giolfan.
  6667. Fixes #338399.
  6668. 2007-11-08 Gert Driesen <[email protected]>
  6669. * Application.cs: In ProductVersion first try AssemblyFileVersion
  6670. before falling back to assembly version. Fixes bug #339787.
  6671. 2007-11-08 Andreia Gaita <[email protected]>
  6672. * HtmlElement.cs: Implement InnerText setter.
  6673. * WebBrowserBase.cs: Implement Navigated event support.
  6674. Add flag to track when the browser "document" is ready to be retrieved.
  6675. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  6676. Make sure browser document is ready before retrieving it.
  6677. Clean up cached objects (document) when moving to a new page through
  6678. any of the navigation methods.
  6679. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  6680. Implement OnNavigated event.
  6681. 2007-11-07 Jonathan Pobst <[email protected]>
  6682. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  6683. DrawLinkLabel, this is handled by OnPaintBackground.
  6684. Fixes bug #339565, part II.
  6685. 2007-11-07 Andreia Gaita <[email protected]>
  6686. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  6687. getting a Select call on click, so this call needs to be here for now.
  6688. Unfixes #325809
  6689. 2007-11-07 Geoff Norton <[email protected]>
  6690. * OSXStructs.cs: Add the kEventClassApplication constants.
  6691. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  6692. application is deactivated otherwise Menu overlays linger on top of
  6693. other application windows.
  6694. 2007-11-07 Geoff Norton <[email protected]>
  6695. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  6696. dont support cursors yet anyways. This allows Reflector to run.
  6697. 2007-11-07 Geoff Norton <[email protected]>
  6698. * XplatUIOSX.cs: Implement DragSize.
  6699. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  6700. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  6701. ItemControl, request the focus, as .Net does. This is needed after
  6702. Control does not request focus anymore when it receives a
  6703. WM_LBUTTONDOWN.
  6704. 2007-11-06 Jonathan Pobst <[email protected]>
  6705. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  6706. Remove the DrawImage call from OnPaint.
  6707. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  6708. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  6709. but before we draw the text for DrawLabel and DrawLinkLabel.
  6710. Fixes bug #339565.
  6711. 2007-11-05 Andreia Gaita <[email protected]>
  6712. * Control.cs: Remove select call on click. Fixes #325809
  6713. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  6714. * ListViewItem.cs: Add 2.0 Position property getter.
  6715. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6716. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  6717. Also, to make it work properly, change item's BackColor and
  6718. BackgroundImageLayout as needed.
  6719. * ThemeWin32Classic.cs: Don't fill any background rectangle
  6720. in ListView.ItemControl when drawing items; just let the Control
  6721. base implementation fill it.
  6722. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6723. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  6724. as well as adding a custom 'dummy' Converter, as .net does.
  6725. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6726. * PropertyGridView.cs: When clicking drop-down button,
  6727. select an index in the listbox only if our standard values collection
  6728. has one or more items.
  6729. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  6730. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  6731. property.
  6732. 2007-11-04 Gert Driesen <[email protected]>
  6733. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  6734. the value is not changed. This ensure a pushed button remains in that
  6735. state when clicked again. When switching the value of PropertySort
  6736. between Categorized and CategorizedAlphabetical, do not update the
  6737. grid items and do not fire a PropertyChangedEvent. When clicking the
  6738. sorting buttons, do not modify the PropertySort value when switching
  6739. between Categorized and CategorizedAlphabetical but only update the
  6740. button state.
  6741. 2007-11-04 Gert Driesen <[email protected]>
  6742. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  6743. formatting.
  6744. * PropertyGrid.cs: Also put Categorized button in pushed state when
  6745. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  6746. for help description label.
  6747. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  6748. * ListView.cs: When calculating the biggest item for a given column,
  6749. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  6750. the item's width.
  6751. 2007-11-03 Gert Driesen <[email protected]>
  6752. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  6753. value for PropertySort on 1.0 profile. PropertySortChanged event
  6754. should only be fired on 2.0 profile. Fixed NullReferenceException
  6755. in UpdateSortLayout when PropertyGrid contains no items.
  6756. 2007-11-02 Jonathan Pobst <[email protected]>
  6757. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  6758. [Fixes bug #338554]
  6759. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  6760. * ListViewItem.cs: Implement 2.0 IndentCount property.
  6761. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  6762. * X11Dnd.cs: When sending status in a dnd operation, compare current
  6763. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  6764. the later is only created when a Winforms application is both the
  6765. source and the target, but not when we are the target only.
  6766. Fixes part of #324251.
  6767. 2007-11-01 Geoff Norton <[email protected]>
  6768. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  6769. order of Z-Order.
  6770. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  6771. children out of the drawing view on mac.
  6772. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  6773. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  6774. 2007-11-01 Jonathan Pobst <[email protected]>
  6775. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  6776. on the non-hosted-control part of it shouldn't do anything.
  6777. Fixes part of bug #327498.
  6778. 2007-11-01 Andreia Gaita <[email protected]>
  6779. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  6780. 2007-11-01 Jonathan Pobst <[email protected]>
  6781. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  6782. it does not use flow through to controls that are hosted in menus.
  6783. Same with mouse clicks.
  6784. * Form.cs: Don't close all menus on click if the click is on a
  6785. control hosted in a menu.
  6786. Fixes part of bug #327498, and part of bug #325969.
  6787. 2007-10-31 Andreia Gaita <[email protected]>
  6788. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  6789. 2007-10-31 Jonathan Pobst <[email protected]>
  6790. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  6791. Addresses an issue raised in bug #336218.
  6792. 2007-10-30 Jonathan Pobst <[email protected]>
  6793. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  6794. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  6795. 2007-10-30 Andreia Gaita <[email protected]>
  6796. * ContainerControl.cs: Check if the active control is a
  6797. child of a removed control and update active_control accordingly.
  6798. Fixes #329718
  6799. 2007-10-29 Jonathan Pobst <[email protected]>
  6800. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  6801. or the MaxDate. Fixed bug #337693.
  6802. 2007-10-29 Jonathan Pobst <[email protected]>
  6803. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  6804. after calling SetWindowLong for a form, to force an immediate NC refresh.
  6805. Fixes first part of bug #325150.
  6806. 2007-10-29 Jonathan Pobst <[email protected]>
  6807. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  6808. simple. Fixes the last part of bug #322668.
  6809. 2007-10-29 Jonathan Pobst <[email protected]>
  6810. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  6811. needs to be TopMost as well, or else the MessageBox is under the form.
  6812. Patch by George fixes bug #325300.
  6813. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  6814. * X11Dnd.cs: When starting a new drag operation, reset the static
  6815. 'dropped' field to false (previously the implementation didn't reset
  6816. it and got confused after the first drag).
  6817. Fixes #325071.
  6818. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  6819. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  6820. items instead of re-creating them all. For this purpose we now cache
  6821. both CategoryGridEntry items and the GridEntries for the main object's
  6822. properties.
  6823. * GridItem.cs: Make SetParent method abstract.
  6824. * GridEntry.cs: Override the SetParent method (already there, but now
  6825. we override it).
  6826. Fixes #324866.
  6827. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  6828. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  6829. depending on its depth (as .Net does). Update the needed values in
  6830. MouseDown handler. Also draw the plus/minus rect after the label,
  6831. so we don't draw on top of it.
  6832. 2007-10-24 Everaldo Canuto <[email protected]>
  6833. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  6834. processed by forms or controls when menu is active. [Fixes #333548]
  6835. 2007-10-24 Jonathan Pobst <[email protected]>
  6836. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  6837. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  6838. focus on mouse over.
  6839. 2007-10-24 Jonathan Pobst <[email protected]>
  6840. * TextControl.cs: Code cleaning, simplifying.
  6841. 2007-10-24 Geoff Norton <[email protected]>
  6842. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  6843. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  6844. 2007-10-24 Jonathan Pobst <[email protected]>
  6845. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  6846. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  6847. 2007-10-24 Andreia Gaita <[email protected]>
  6848. * SendKeys.cs: apply jpobst's patch to bug #332409
  6849. 2007-10-23 Andreia Gaita <[email protected]>
  6850. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  6851. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  6852. for some reason
  6853. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  6854. * PropertyGridView.cs: If a property has an UIEditor available,
  6855. make the drop-down/editor button available only if the property
  6856. is _not_ read only.
  6857. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  6858. * PropertyGridView.cs: Don't make the grid item textbox
  6859. editable when a drop-down control is available, but
  6860. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  6861. true. The same bur the color of the grid item value's label.
  6862. 2007-10-22 Geoff Norton <[email protected]>
  6863. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  6864. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  6865. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  6866. driver. Padd the bottom of all real windows so the resize thumb doesn't
  6867. obscure scroll/status bars.
  6868. 2007-10-22 Jonathan Pobst <[email protected]>
  6869. * WindowsFormsSection.cs: Implement.
  6870. 2007-10-22 Everaldo Canuto <[email protected]>
  6871. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  6872. closed see #325434 patch.
  6873. 2007-10-22 Everaldo Canuto <[email protected]>
  6874. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  6875. see #325434 patch.
  6876. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  6877. * PropertyGridView.cs: When showing the textbox for a grid item,
  6878. have two local variables to store the read-only and non-editable
  6879. status of a grid item (we were previously using just one variable
  6880. to do this, when actually they are slightly different).
  6881. Fixes part of #325023.
  6882. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  6883. * PropertyGridView.cs: When showing a drop-down list, try to get the
  6884. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  6885. part of #325023.
  6886. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  6887. * PropertyGrid.cs: When updating a property and populating sub grid
  6888. items, remove the previous ones, and invalidate the specific area.
  6889. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  6890. area behind a grid item.
  6891. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  6892. clean the items if needed (specially for controls implementing
  6893. ICustomTypeDescriptor and returning a variable number of properties).
  6894. Fixes #324865.
  6895. 2007-10-19 Jonathan Pobst <[email protected]>
  6896. * TextControl.cs: Clean up and document the Insert function.
  6897. 2007-10-17 Jonathan Pobst <[email protected]>
  6898. * TextControl.cs: Make sure we know our start point for updating the view
  6899. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  6900. update the view.
  6901. 2007-10-17 Jonathan Pobst <[email protected]>
  6902. * ListView: Couple of corcompare fixes.
  6903. 2007-10-17 Geoff Norton <[email protected]>
  6904. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  6905. the title caption of real window.
  6906. 2007-10-17 Jonathan Pobst <[email protected]>
  6907. * ErrorProvider.cs: Add the error provider's internal window to a
  6908. containercontrol when the parent changes. [Fixes bug #329714]
  6909. 2007-10-17 Geoff Norton <[email protected]>
  6910. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  6911. When we make a new window; restore the old active window - fixes dialogs.
  6912. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  6913. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  6914. when modifying a property, and if found then invalidate as
  6915. requested.
  6916. Fixes part of #324865.
  6917. 2007-10-17 Geoff Norton <[email protected]>
  6918. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  6919. highly experimental. Fixed coordinate translation. Fixed window locations.
  6920. Initial support for clipping. Implemented NC areas and menus. Support for
  6921. launching from command line from Will Johansson ([email protected]).
  6922. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  6923. [email protected])
  6924. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  6925. Hwnds now track the existence of all of their children for Mac clipping.
  6926. * XplatUI.cs: Re-enabled the native driver on the Mac.
  6927. 2007-10-17 Jonathan Pobst <[email protected]>
  6928. * Line.cs: Move the InsertString function to here.
  6929. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  6930. functionality to Line.
  6931. 2007-10-17 Geoff Norton <[email protected]>
  6932. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  6933. 2007-10-16 Gert Driesen <[email protected]>
  6934. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  6935. always setting value to true.
  6936. * Form.cs: When changing AcceptButton, notify new and original button.
  6937. 2007-10-16 Jonathan Pobst <[email protected]>
  6938. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  6939. a custom control that implements IButtonControl instead of an actual
  6940. button. [Fixes bug #334244]
  6941. 2007-10-15 Everaldo Canuto <[email protected]>
  6942. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  6943. MdiWindowManager.
  6944. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  6945. active control when activate a new mdi window.
  6946. [Fixes bug #330495]
  6947. 2007-10-15 Everaldo Canuto <[email protected]>
  6948. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  6949. is already added.
  6950. [Fixes bug #333617]
  6951. 2007-10-15 Jonathan Pobst <[email protected]>
  6952. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  6953. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  6954. so we always recalculate the whole document instead of just the new part.
  6955. [Fixes bug #325082]
  6956. 2007-10-15 Jonathan Pobst <[email protected]>
  6957. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  6958. when the mouse was to the left of the first character in the line.
  6959. 2007-10-15 Jonathan Pobst <[email protected]>
  6960. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  6961. character, use the property instead of the variable so that the
  6962. UseSystemPasswordChar property is taken into account.
  6963. [Fixes bug #333748]
  6964. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  6965. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  6966. folder" contex menu appears, actually add the new folder to it, even
  6967. if the node is not currently selected. Still use SelectedNode in case
  6968. there wasn't found a node under the pointer.
  6969. Fixes #325452.
  6970. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  6971. * ListViewItem.cs: When retrieving the focused state, the index check
  6972. should be done only when ListView is in virtualmode, as it is an
  6973. expensive check for normal mode.
  6974. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  6975. * ListViewItem.cs: Make the focus state information be stored
  6976. in the ListView, not in the items. This is done to match the MS
  6977. behaviour for items that are not yet part of a ListView control;
  6978. besides that, since just one item can be focused at the same time,
  6979. we save a little space in our items.
  6980. Fixes part of #331643.
  6981. 2007-10-13 Gert Driesen <[email protected]>
  6982. * ComboBox.cs: When focus is lost, deselect the text. When setting
  6983. text of control, select all text. Do not hide selection when control
  6984. does not have focus. Fixes bug #333663.
  6985. 2007-10-13 Gert Driesen <[email protected]>
  6986. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  6987. instead of ArgumentException when SelectionLength is set to negative
  6988. value. Added same check to SelectionStart. Code formatting.
  6989. 2007-10-13 Gert Driesen <[email protected]>
  6990. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  6991. or SelectionStart. Code formatting.
  6992. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  6993. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  6994. indicating that there was not a previous drag-and-drop operation going
  6995. on.
  6996. Fixes part of #325071.
  6997. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  6998. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  6999. AllowedEffect, don't let the drop operation happen.
  7000. Fixes #32580.
  7001. 2007-10-12 Jonathan Pobst <[email protected]>
  7002. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  7003. 2007-10-12 Jonathan Pobst <[email protected]>
  7004. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  7005. is called.
  7006. 2007-10-12 Jonathan Pobst <[email protected]>
  7007. * Line.cs: Add a method that finds the tag that contains an x-coord.
  7008. * LineTag.cs: Add a method that finds the character at an x-coord using
  7009. a binary search, the old way was a linear search.
  7010. * TextControl.cs: Change FindCursor to use the above new methods.
  7011. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  7012. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  7013. value different than AllowedEffect). This should be possible to
  7014. indicate that dragging is not possible in some control/area.
  7015. 2007-10-11 Jonathan Pobst <[email protected]>
  7016. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  7017. descent internally when font changes instead of outside code being responsible
  7018. for setting it.
  7019. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  7020. instead of accessing internal variables.
  7021. 2007-10-09 Everaldo Canuto <[email protected]>
  7022. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  7023. remove special treatment for ArrangeIcons since it is already arranged.
  7024. 2007-10-09 Jonathan Pobst <[email protected]>
  7025. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  7026. the Win32 backend uses Color.
  7027. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  7028. Refactor to store a Color instead of a Brush for Color.
  7029. 2007-10-09 Jonathan Pobst <[email protected]>
  7030. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  7031. away. I didn't realize I needed this when I refactored these earlier.
  7032. 2007-10-09 Jonathan Pobst <[email protected]>
  7033. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  7034. store a Color structure and use the ResPool for back color instead of
  7035. holding onto brushes.
  7036. 2007-10-09 Jonathan Pobst <[email protected]>
  7037. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  7038. [Fixes bug #325592]
  7039. 2007-10-08 Jonathan Pobst <[email protected]>
  7040. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  7041. to recalculate its size. Fixes a part of bug #331052.
  7042. 2007-10-08 Jonathan Pobst <[email protected]>
  7043. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  7044. button. Fixes a part of bug #331052.
  7045. 2007-10-08 Jonathan Pobst <[email protected]>
  7046. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  7047. the CreateParams.
  7048. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  7049. decorations.
  7050. [Fixes bug #330986]
  7051. 2007-10-08 Jonathan Pobst <[email protected]>
  7052. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  7053. doesn't exist in 1.1. (Thanks jb!)
  7054. 2007-10-08 Jonathan Pobst <[email protected]>
  7055. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  7056. class to allow us to use different backends on different platforms.
  7057. Linux uses the current [Draw|Measure]String backend. Windows uses
  7058. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  7059. of GDI+. This leads to better looking text and more accurate measurements
  7060. on Windows, fixing many of the reported issues.
  7061. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  7062. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  7063. * FolderBrowserDialog.cs: When running on Windows,
  7064. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  7065. since we must match both "C:" and "C:\" forms. A little hackish, but
  7066. works.
  7067. Fixes #325247.
  7068. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  7069. * ListView.cs: When calling EndEdit (after editing an item),
  7070. create a new instance of LabelEditEventArgs to keep clean the fields
  7071. in case we get a new call to BeginEdit; also do Application.DoEvents
  7072. to have focus in synch. This is a fix similar to TreeView's #325244.
  7073. 2007-10-07 Andreia Gaita <[email protected]>
  7074. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  7075. * WebBrowserBase.cs: Added dialog support, calling the
  7076. WebBrowserDialogs classes for each specific dialog type.
  7077. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  7078. * ListView.cs: When the last item is focused and is removed,
  7079. move the focus to the previous item (in Items order). This is what MS
  7080. does.
  7081. Fixes #330415.
  7082. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  7083. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  7084. instead of the opposite (RemoveAt call Remove). This is a better
  7085. approach since we don't need to to a pair of traversals when using
  7086. RemoveAt.
  7087. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  7088. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  7089. check that the node actually has nodes, and if not, move to the
  7090. parent node instead.
  7091. Fixes #325265.
  7092. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  7093. * TreeView.cs: Move the previous change to the general case (to
  7094. call Application.DoEvents in cases where the method was called by
  7095. different places).
  7096. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  7097. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  7098. call Application.DoEvents. This is neccessary when we get a call to
  7099. BeginEdit from an AfterLabelEdit handler, because the focus always
  7100. goes to the TreeView, even if we try to give it to our
  7101. LabelEditTextBox. The call do Application.DoEvents seems to
  7102. synchronize the focus, basically.
  7103. Fixes #325244.
  7104. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  7105. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  7106. should be false. This also removes some nasty recursive paths. Fixes
  7107. part of #325244.
  7108. 2007-10-04 Everaldo Canuto <[email protected]>
  7109. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  7110. state to normal. Also resize window when cascading. Fixes #325433.
  7111. 2007-10-04 Jonathan Pobst <[email protected]>
  7112. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  7113. DefaultForeColor, as drawing empty colored lines isn't very useful.
  7114. [Fixes the not drawn lines part of bug #324358]
  7115. 2007-10-04 Jonathan Pobst <[email protected]>
  7116. * TextControl.cs: Move Line and LineTag classes into separate files to
  7117. make things easier to find.
  7118. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  7119. * RichTextBox.cs: Capitalize LineTag.Length property access.
  7120. - This is purely an organizational/formatting change, no logic changed. -
  7121. 2007-10-03 Everaldo Canuto <[email protected]>
  7122. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  7123. text is empty.
  7124. 2007-10-03 Everaldo Canuto <[email protected]>
  7125. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  7126. text is empty.
  7127. 2007-10-03 Everaldo Canuto <[email protected]>
  7128. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  7129. prevent calling of OnBackColorChanged. Fixes #325321.
  7130. 2007-10-03 Everaldo Canuto <[email protected]>
  7131. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  7132. because control can be disabled because owner is disabled.
  7133. 2007-10-02 Jonathan Pobst <[email protected]>
  7134. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  7135. string.Empty, test failed from previous change.
  7136. 2007-10-02 Jonathan Pobst <[email protected]>
  7137. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  7138. is null, not String.Empty. See bug #323038.
  7139. 2007-10-01 Jonathan Pobst <[email protected]>
  7140. * TextControl.cs: Change the margins to match MS a little better.
  7141. Still not perfect for X11 due to some DrawString differences, but
  7142. is still an improvement over the old stuff.
  7143. Partially fixes #324467.
  7144. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  7145. * FolderBrowserDialog.cs: When using MyComputer as
  7146. RootFolder, let absolute paths be considered as valid ones. Also, use
  7147. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  7148. for Windows compatibility.
  7149. Partially fixes #325247.
  7150. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  7151. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  7152. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  7153. method, since it causes the dialog to not select folders directly
  7154. under the root path (when setting SelectedPath property).
  7155. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  7156. * TreeNode.cs: When calling Expand/Collapse and need to call
  7157. ExpandBelow/CollapseBelow respectively, take into account
  7158. partially visible nodes (previously Expanding/Collapsing
  7159. a partially visible node in the bottom was not updating its +- sign).
  7160. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7161. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  7162. expand nodes below (ExpandBelow), scroll the entire Viewport
  7163. area if the node is above it and not visible (instead of scrolling
  7164. the area from node's Bottom, which applies only when the node is
  7165. visible).
  7166. Fixes #325266.
  7167. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7168. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  7169. node in the bottom area (as .Net does). This is done to preserve the
  7170. scroll position when ExpandAll is called before handle is created for
  7171. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  7172. Fixes #324103.
  7173. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  7174. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  7175. bottom area if we are in fact not using the vertical scroll bar.
  7176. Fixes #324824.
  7177. 2007-09-27 Jonathan Pobst <[email protected]>
  7178. * Control.cs: Comment out a double buffering optimization that doesn't
  7179. take into account invalidates created in OnPaint, causing the control
  7180. to never be redrawn. It would take quite a bit of work to work around
  7181. this, but I left it commented with an explanation for later possible
  7182. optimization.
  7183. [Fixes bug #328681]
  7184. 2007-09-27 Jonathan Pobst <[email protected]>
  7185. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  7186. the text changes.
  7187. * RadioButton.cs: Implement GetPreferredSizeCore.
  7188. [Fixes bug #328672]
  7189. 2007-09-26 Jonathan Pobst <[email protected]>
  7190. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  7191. corcompare stuffs.
  7192. 2007-09-26 Jonathan Pobst <[email protected]>
  7193. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  7194. so that it doesn't get uninstalled on modal forms.
  7195. * Control.cs: Install a sync context when a control is created.
  7196. * WindowsFormsSyncronizationContext.cs: Create a private static control
  7197. to invoke on. This is easier than trying to find a created control we
  7198. can use.
  7199. [Fixes bug #327608]
  7200. 2007-09-25 Jonathan Pobst <[email protected]>
  7201. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  7202. run loop, and uninstall it when done.
  7203. * WindowsFormsSynchronizationContext.cs: Implement.
  7204. [Fixes the common case in bug #327608]
  7205. 2007-09-23 Gert Driesen <[email protected]>
  7206. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  7207. Use case-insensitive lookup of column name in indexer. Code
  7208. formatting.
  7209. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  7210. * TreeNode.cs: When collapsing or expanding a node, check whether its
  7211. change will affect the visible area (we were previously doing a
  7212. IsVisible check, but that check is not enough since children nodes
  7213. could be still visible). Fixes part of #325266.
  7214. 2007-09-21 Jonathan Pobst <[email protected]>
  7215. * TreeView.cs: Always select the first node when the TreeView gets
  7216. focus if there is no currently selected node.
  7217. [Fixes bug #324279]
  7218. 2007-09-21 Jonathan Pobst <[email protected]>
  7219. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  7220. node being selected is null.
  7221. [Patch from Yves Bastide fixes bug #326858]
  7222. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  7223. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  7224. whether all the parent nodes are expanded.
  7225. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  7226. call RecalculateVisibleOrder if all previous nodes are expanded.
  7227. Before that we were doing a IsVisible check, but sometimes the node
  7228. is not in the visible area, but _should_already be ready, because of
  7229. all previous nodes are expanded. Fixes #325259.
  7230. 2007-09-20 Jonathan Pobst <[email protected]>
  7231. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  7232. portion of the item is clicked.
  7233. 2007-09-20 Jonathan Pobst <[email protected]>
  7234. * TextControl.cs: Do not tell the system to move the cursor if the
  7235. textbox isn't focused. Fixes part of bug #322668.
  7236. 2007-09-20 Jonathan Pobst <[email protected]>
  7237. * ComboBox.cs: When there are no items, do not show the dropdown if
  7238. the down arrow is clicked. Fixes part of bug #322668.
  7239. 2007-09-20 Jonathan Pobst <[email protected]>
  7240. * ToolStripComboBox.cs: Manually set the size of this control in the
  7241. constructor, as it doesn't seem to be the same as DefaultSize.
  7242. Fixes a failing monobuild test.
  7243. 2007-09-19 Jonathan Pobst <[email protected]>
  7244. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  7245. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  7246. 2007-09-19 Jonathan Pobst <[email protected]>
  7247. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  7248. Desktop. This lets it work for people who have moved their desktops
  7249. from the default location on windows. For people who have not, both
  7250. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  7251. 2007-09-18 Jonathan Pobst <[email protected]>
  7252. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  7253. but when the base constructor sets this, the control is null. Set it
  7254. again in the constructor. Fixes a failing monobuild test.
  7255. 2007-09-18 Jonathan Pobst <[email protected]>
  7256. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  7257. get called.
  7258. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  7259. called.
  7260. 2007-09-18 Jonathan Pobst <[email protected]>
  7261. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  7262. will handle it themselves.
  7263. * ToolStripItem.cs: When deciding what the text of a tooltip should
  7264. be, use the Text property instead of the text field.
  7265. * ToolStripTextBox.cs: Handle tooltips.
  7266. [Fixes bugs #325417 and #325973]
  7267. 2007-09-18 Jonathan Pobst <[email protected]>
  7268. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  7269. left click. Fixes the easy part of bug #325969.
  7270. 2007-09-18 Jonathan Pobst <[email protected]>
  7271. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  7272. bug #325406, but set a minimum for StatusStrip to 22 to keep
  7273. bug #325390 fixed. I think this minimum would have been figured
  7274. up automatically if the grip was actually a ToolStripItem, but it
  7275. currently is not.
  7276. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  7277. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  7278. as this is apparently the actual value used by .Net. Also apply
  7279. ItemPadding in Details view only, and decrease the general width padding,
  7280. to have only the needed. This should fix #324340 in Windows too.
  7281. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  7282. * ListViewItem.cs: Don't Invalidate item if parent is inside
  7283. a BeginUpdate/EndUpdate block. This prevents to have differences
  7284. between the ListView and items state, as well as avoid some exceptions
  7285. there.
  7286. * ListView.cs: Make 'updating' field internal.
  7287. 2007-09-17 Jonathan Pobst <[email protected]>
  7288. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  7289. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  7290. size if appropriate.
  7291. Fixes reopened bug #325414.
  7292. 2007-09-17 Jonathan Pobst <[email protected]>
  7293. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  7294. * ToolStripItem.cs: Invalidate before and after our new autosize when
  7295. text changes.
  7296. Fixes reopened bug #325390.
  7297. 2007-09-17 Jonathan Pobst <[email protected]>
  7298. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  7299. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  7300. #325044.
  7301. 2007-09-17 Jonathan Pobst <[email protected]>
  7302. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  7303. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  7304. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  7305. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  7306. #82734.
  7307. 2007-09-14 Jonathan Pobst <[email protected]>
  7308. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  7309. item to select when the ToolStrip is selected.
  7310. * ToolStripControlHost: Realign the control when the bounds or visibility
  7311. change.
  7312. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  7313. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  7314. preferred height.
  7315. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  7316. base.OnPaint. Was causing text not to be drawn.
  7317. 2007-09-14 Jonathan Pobst <[email protected]>
  7318. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  7319. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  7320. * TreeView.cs: When creating the label edit text box,
  7321. set is initially to Visible = false. This is done to
  7322. prevent a confusion in the layout which makes it to lose
  7323. focus when shown the first time. Fixes part of #82592.
  7324. 2007-09-13 Andreia Gaita <[email protected]>
  7325. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  7326. 2007-09-13 Jonathan Pobst <[email protected]>
  7327. * ToolStrip.cs: Take Margin into account when calculating preferred
  7328. size. Also, allow preferred size to get smaller than the explicit
  7329. size.
  7330. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  7331. First step towards fixing bug #82747.
  7332. 2007-09-13 Jonathan Pobst <[email protected]>
  7333. * TreeView.cs: Applied patch from [email protected] to not paint the
  7334. full row select background over the plus/minus glyph. Also, turn
  7335. off the focus rectangle for full row select since MS doesn't seem
  7336. to ever paint it. [Fixes bug #81839]
  7337. 2007-09-13 Jonathan Pobst <[email protected]>
  7338. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  7339. This was causing keyboard opened dropdowns to lose focus.
  7340. [Fixes bug #82803]
  7341. 2007-09-13 Jonathan Pobst <[email protected]>
  7342. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  7343. ClientRectangle instead. [Fixes bug #82838]
  7344. 2007-09-13 Jonathan Pobst <[email protected]>
  7345. * SplitContainer.cs: We can't reset Visible on every layout because
  7346. someone may have set Visible = false explicitly on a SplitterPanel.
  7347. Make sure when we switch orientation the SplitterDistance does not
  7348. change. Fixes two failing tests.
  7349. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7350. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  7351. TextRenderer, since the latter is only available in 2.0.
  7352. 2007-09-13 Ivan N. Zlatev <[email protected]>
  7353. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  7354. * SplitContainer.cs: Implement FixedPanel layouting.
  7355. 2007-09-12 Andreia Gaita <[email protected]>
  7356. * WebBrowserBase.cs: setup shutdown routine
  7357. 2007-09-12 Andreia Gaita <[email protected]>
  7358. * Application.cs: Let keyboard events that are targetted
  7359. to non-mwf windows hosted inside mwf (as in, webbrowser),
  7360. propagate properly. Fixes keyboard handling on the webbrowser.
  7361. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7362. * ListView.cs: When handling MouseUp event and we are
  7363. highligting a node with the mouse right button, don't trigger
  7364. Before/AfterSelecting event, since we are not actually selecting
  7365. the node.
  7366. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  7367. * TreeView.cs: When editing a node, modify the edit text box
  7368. depending on the text length (as you are typing), like MS does.
  7369. 2007-09-12 Jonathan Pobst <[email protected]>
  7370. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  7371. Override GetPreferredSizeCore to perform calculations. Remove custom
  7372. autosize logic. [Fixes bug #82739]
  7373. 2007-09-12 Jonathan Pobst <[email protected]>
  7374. * TextBoxBase.cs: Modified should default to false.
  7375. 2007-09-11 Jonathan Pobst <[email protected]>
  7376. * Control.cs: Update the anchoring distances even when layout is supspended.
  7377. Patch provided by George fixes bug #82805.
  7378. 2007-09-11 Jonathan Pobst <[email protected]>
  7379. * Control.cs: Provide a setter for ExplicitHeight.
  7380. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  7381. remove the hacks in here for requested_height.
  7382. [Fixes bug #82749]
  7383. 2007-09-11 Jonathan Pobst <[email protected]>
  7384. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  7385. Maximum to lower that its current Value caused an ArgumentException by setting
  7386. the Value to the new Maximum.
  7387. 2007-09-11 Jonathan Pobst <[email protected]>
  7388. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  7389. handle moves to the closest tick when it is being dragged.
  7390. [Fixes bug #82751]
  7391. 2007-09-11 Jonathan Pobst <[email protected]>
  7392. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  7393. can't let them count as real items when calculating where to merge in the
  7394. user's items. [Fixed bug #82786]
  7395. 2007-09-10 Jonathan Pobst <[email protected]>
  7396. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  7397. who want to add a menu item directly onto a toolstrip.
  7398. [Fixes bug #82775, part II]
  7399. 2007-09-10 Jonathan Pobst <[email protected]>
  7400. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  7401. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  7402. don't set it to available.
  7403. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  7404. [Fixes bug #82727, part II]
  7405. 2007-09-10 Jonathan Pobst <[email protected]>
  7406. * StatusStrip.cs: Change item placement to None if not visible.
  7407. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  7408. These should have been committed to fix 82723, but I missed them.
  7409. 2007-09-10 Jonathan Pobst <[email protected]>
  7410. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  7411. Click, and that it is only called once.
  7412. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  7413. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  7414. dropped down.
  7415. [Fixes bug #82775]
  7416. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  7417. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  7418. to match .Net.
  7419. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  7420. instead of 8, just like above. Partially fixes #82734.
  7421. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  7422. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  7423. fixes #82734.
  7424. * ListView.cs: Remove extra space between rows in Details view (match
  7425. .Net).
  7426. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  7427. the DefaultFont.
  7428. 2007-09-08 Gert Driesen <[email protected]>
  7429. * Application.cs: Modified ProductVersion to return value of
  7430. AssemblyInformationVersion if available, and fallback to assembly
  7431. version. Fixes bug #82746. Code formatting.
  7432. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  7433. instead.
  7434. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  7435. * Control.cs: When updating ZOrder for a child control,
  7436. take into account the implicit ones (we need it in our controls
  7437. using them). Fixes #82642.
  7438. 2007-09-07 Jonathan Pobst <[email protected]>
  7439. * ToolStripItem.cs: Add support for animated images.
  7440. [Fixes bug #82726]
  7441. 2007-09-07 Jonathan Pobst <[email protected]>
  7442. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  7443. visible. [Fixes bug #82727]
  7444. 2007-09-06 Jonathan Pobst <[email protected]>
  7445. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  7446. so we repaint using the new size. [Fixes bug #82723]
  7447. 2007-09-06 Jonathan Pobst <[email protected]>
  7448. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  7449. option. [Fixes bug #81779]
  7450. 2007-09-06 Jonathan Pobst <[email protected]>
  7451. * TreeView.cs: Override HandleClick because the StandardClick style is
  7452. set to false. According to MSDN (and testing), the click events should
  7453. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  7454. 2007-09-06 Jonathan Pobst <[email protected]>
  7455. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  7456. the border will disappear. Fixes reopened #82653.
  7457. 2007-09-06 Jonathan Pobst <[email protected]>
  7458. * Control.cs: If the control is autosize, and its preferred size changes
  7459. when it lays out its children, tell its parent so it can be re-layed out.
  7460. Fixing some of the fallout from r85433.
  7461. 2007-09-06 Jonathan Pobst <[email protected]>
  7462. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  7463. and CheckBox share some code.
  7464. 2007-09-06 Jonathan Pobst <[email protected]>
  7465. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  7466. the TrackBar, not every mouse move. [Fixed bug #82718]
  7467. 2007-09-06 Jonathan Pobst <[email protected]>
  7468. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  7469. under 2.0 rendering. [Fixes bug #82657]
  7470. 2007-09-06 Jonathan Pobst <[email protected]>
  7471. * TreeView.cs: If we found a TreeNode to display a context menu, but
  7472. it doesn't have one to show, let the TreeView display its menu
  7473. instead. [Fixes bug #82680]
  7474. 2007-09-06 Jonathan Pobst <[email protected]>
  7475. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  7476. OnPaintInternal instead. Give the internal TextBox a Border property
  7477. so it can draw itself more correctly. [Fixes bug #82653]
  7478. 2007-09-06 Zoltan Varga <[email protected]>
  7479. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  7480. 2007-09-05 Everaldo Canuto <[email protected]>
  7481. * ComboBox.cs: Adjust combobox button state to reflect current state when
  7482. back to enabled = true. Fixes first issue of #82654.
  7483. 2007-09-05 Everaldo Canuto <[email protected]>
  7484. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  7485. setting visible property.
  7486. 2007-09-05 Everaldo Canuto <[email protected]>
  7487. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  7488. fix zorder for controls initially created as non visible. Fixes #82667.
  7489. 2007-09-04 Everaldo Canuto <[email protected]>
  7490. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  7491. mimic win32 look. Fixes #82656.
  7492. 2007-09-01 Zoltan Varga <[email protected]>
  7493. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  7494. Stubs for new net 3.5 classes.
  7495. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  7496. * ListViewItem.cs: In ListViewItemCollection operations calculate
  7497. Layout for owner as well as invalidate it. Fixes part of #82642.
  7498. 2007-08-31 Jonathan Pobst <[email protected]>
  7499. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  7500. when returning Enabled. [Fixes bug #82651]
  7501. 2007-08-30 Everaldo Canuto <[email protected]>
  7502. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  7503. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  7504. * ListView.cs: Put item padding info in a single place
  7505. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  7506. columns again.
  7507. * ThemeWin32Classic.cs:
  7508. * Theme.cs: Likewise.
  7509. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  7510. * ListView.cs: When a ListViewSubItem instance is invalidated,
  7511. invoke Invalidate on parent ListViewItem, not parent ListView.
  7512. Fixes #81570.
  7513. 2007-08-30 Jonathan Pobst <[email protected]>
  7514. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  7515. 2007-08-30 Jonathan Pobst <[email protected]>
  7516. * BindingMemberInfo.cs: Implement == and != operators.
  7517. 2007-08-30 Jonathan Pobst <[email protected]>
  7518. * HtmlElementEventArgs.cs: Implement properties.
  7519. 2007-08-29 Jonathan Pobst <[email protected]>
  7520. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  7521. 2007-08-29 Jonathan Pobst <[email protected]>
  7522. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  7523. Add (string,string,string) to implement the imagekey. It turns out, we
  7524. use the requested imagekey whereas .Net does not. So I broke ours to match
  7525. theirs. :(
  7526. 2007-08-29 Jonathan Pobst <[email protected]>
  7527. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  7528. 2007-08-29 Jonathan Pobst <[email protected]>
  7529. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  7530. 2007-08-29 Gert Driesen <[email protected]>
  7531. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  7532. up-to-date. Fixes bug #82618.
  7533. 2007-08-29 Everaldo Canuto <[email protected]>
  7534. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  7535. reflect document changes. Fixes #82367.
  7536. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  7537. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  7538. as well as add new ones. This should make work the BackgroundImage
  7539. property for ListView again.
  7540. 2007-08-28 Jonathan Pobst <[email protected]>
  7541. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  7542. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  7543. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  7544. 2007-08-28 Jonathan Pobst <[email protected]>
  7545. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  7546. IsKeyLocked.
  7547. 2007-08-28 Jonathan Pobst <[email protected]>
  7548. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  7549. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  7550. 2007-08-28 Jonathan Pobst <[email protected]>
  7551. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  7552. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  7553. 2007-08-27 Ivan N. Zlatev <[email protected]>
  7554. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  7555. 2007-08-27 Ivan N. Zlatev <[email protected]>
  7556. * GridEntry.cs: Implement GetService.
  7557. 2007-08-27 Jonathan Pobst <[email protected]>
  7558. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  7559. for label editting, make sure we focus back on the TreeView.
  7560. [Fixes bug #82590]
  7561. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  7562. * ListView.cs: Add some 2.0 overrides.
  7563. 2007-08-27 Everaldo Canuto <[email protected]>
  7564. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  7565. because getter dont returns right value before handle creation. Thanks
  7566. to George. Fixes #82569.
  7567. 2007-08-27 Everaldo Canuto <[email protected]>
  7568. * Theme.cs: Revert last patch, it causes error under win32.
  7569. 2007-08-27 Everaldo Canuto <[email protected]>
  7570. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  7571. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  7572. logical Desktop rather than the physical file system location. Fixes #82603.
  7573. 2007-08-26 Everaldo Canuto <[email protected]>
  7574. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  7575. for the patch. Fixes #82568.
  7576. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  7577. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  7578. methods.
  7579. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  7580. * ListViewInsertionMark.cs: New stubbed class.
  7581. 2007-08-25 Gert Driesen <[email protected]>
  7582. * FolderBrowserDialog.cs: When adding folder, immediately create the
  7583. directory with temporary name and rename the directory when editing
  7584. finishes. This matches MS. Ensure the node for the new folder is
  7585. selected and LabelEdit is disabled, when editing is either finished
  7586. or cancelled.
  7587. 2007-08-25 Gert Driesen <[email protected]>
  7588. * TreeView.cs: When editing label of node, ensure node is visible.
  7589. 2007-08-25 Ivan N. Zlatev <[email protected]>
  7590. * PropertyGridView.cs: Set the value only if it has changed.
  7591. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  7592. * ListView.cs: Some more code refactoring to add support sorting
  7593. with groups (now for Details view). Remove unused code also.
  7594. 2007-08-24 Jonathan Pobst <[email protected]>
  7595. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  7596. Not a big fan of reacting immediately to a field in an EventArg, but that's
  7597. the way it's done. (This is part of the previous commit that got left out.)
  7598. 2007-08-25 Gert Driesen <[email protected]>
  7599. * FolderBrowserDialog.cs: Removed need for separate description field.
  7600. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  7601. has focus when dialog box is displayed again, regardless of what
  7602. button was pressed the previous time. Set RootFolder and SelectedPath
  7603. each time dialog box is displayed. This ensures the treeview is
  7604. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  7605. when it does not have focus. Added support for more special folders.
  7606. 2007-08-24 Jonathan Pobst <[email protected]>
  7607. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  7608. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  7609. it resets the edit_args.
  7610. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  7611. [Fixes bug #82577]
  7612. 2007-08-24 Gert Driesen <[email protected]>
  7613. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  7614. button to match MS. Provide more meaningful exception message for
  7615. invalid RootFolder value. Use zero-length string when SelectedPath
  7616. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  7617. them in FolderBrowserTreeView. Allow folders to be created in
  7618. RootFolder. Fixes bug #82576.
  7619. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  7620. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  7621. since we need to take into account the group headers and the margin
  7622. between them.
  7623. * ListViewGroup.cs: Add a rows field to store the number of rows per
  7624. group.
  7625. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  7626. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  7627. Anyways, let's just follow the lead.
  7628. 2007-08-24 Jonathan Pobst <[email protected]>
  7629. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  7630. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  7631. controls in GetPreferredSizeCore.
  7632. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  7633. [Fixes bug #82488]
  7634. 2007-08-24 Jonathan Pobst <[email protected]>
  7635. * PrintDialog.cs: Need to instantiate the form variable here too.
  7636. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  7637. * ListView.cs: Do some reorganization to support sorting in groups,
  7638. by doing the layout sequentially in ListView.Items. Also add support
  7639. for the Default Group, which should be available for items with no
  7640. group assigned.
  7641. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  7642. for storing layout info also.
  7643. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  7644. collection, as well as providing internal members to do a traversal
  7645. including the default group (needed when doing layout/drawing).
  7646. * ThemeWin32Classic.cs: When drawing group headers use internal
  7647. ListViewGroupCollection members to take into account the default
  7648. group.
  7649. 2007-08-23 George Giolfan <[email protected]>
  7650. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  7651. 2007-08-23 Jonathan Pobst <[email protected]>
  7652. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  7653. been created. If handle is created, we want arror keys. If we are editing
  7654. a node, we want things like enter, esc, home, end, page up, page down.
  7655. Allows Esc to work for FolderBrowserDialog.
  7656. 2007-08-23 Jonathan Pobst <[email protected]>
  7657. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  7658. they close when ESC is pressed. Thanks Andy!
  7659. 2007-08-23 Jonathan Pobst <[email protected]>
  7660. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  7661. This way we can tell if this is a CommonDialog provided with mono, or one
  7662. that is being implemented outside by a developer. If it is an external one,
  7663. the developer is responsible for showing their own form. We were showing
  7664. our blank form after the developer showed his.
  7665. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  7666. PageSetupDialog.cs: Instantiate form variable in our constructor.
  7667. [Fixes bug #82531]
  7668. 2007-08-23 Jonathan Pobst <[email protected]>
  7669. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  7670. and always return true. [Fixes bug #81616]
  7671. 2007-08-23 Jonathan Pobst <[email protected]>
  7672. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  7673. TextBox. [Fixes bug #82549]
  7674. 2007-08-23 Gert Driesen <[email protected]>
  7675. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  7676. or entered then do not close the dialog. Fixes bug #82539. Removed
  7677. CWLs.
  7678. 2007-08-22 Everaldo Canuto <[email protected]>
  7679. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  7680. code to this method. It is calling every time filter changes. This method
  7681. will help to fix the bug #80887.
  7682. 2007-08-22 Jonathan Pobst <[email protected]>
  7683. * CheckBox.cs: Implement AutoSize calculation.
  7684. 2007-08-22 Jonathan Pobst <[email protected]>
  7685. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  7686. * Theme.cs: Method declarations for 2.0 rendering path.
  7687. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  7688. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  7689. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  7690. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  7691. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  7692. only call Redraw on the parent one time.
  7693. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  7694. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  7695. GetClipboardContent.
  7696. * DataGridViewCell.cs: Implemented GetClipboardContent,
  7697. GetEditedFormattedValue, GetFormattedValue.
  7698. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  7699. 2007-08-21 Jonathan Pobst <[email protected]>
  7700. * TableLayoutStyleCollection.cs: corcompare fix.
  7701. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  7702. * DataObject.cs: Implemented retrieval of convertible / not convertible
  7703. objects.
  7704. 2007-08-21 Jonathan Pobst <[email protected]>
  7705. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  7706. ourselves. This ensures the entire old bounds are repainted, in case our new
  7707. size is smaller. [Fixes bug #82518]
  7708. 2007-08-20 Everaldo Canuto <[email protected]>
  7709. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  7710. flag to make fast handle of mouse events, without this the mouse move is
  7711. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  7712. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  7713. * ListView.cs: When doing layout calculations don't use a ref
  7714. param to keep the current item; instead use its Index value (this
  7715. is specially important when doing the layout with Groups
  7716. and Items being sparse). Also don't take into account items added to
  7717. the Group but not yet added to the main ListView.Items collection.
  7718. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  7719. * ListViewGroupCollection.cs: Forgot to mimic an issue
  7720. in the indexer (don't assign the ListView owner for new values).
  7721. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  7722. * ListViewGroupCollection.cs: Make the string indexer use
  7723. the int based indexer to re-use code, instead of duplicate the code.
  7724. Also Redraw as needed and take into account null values.
  7725. 2007-08-20 Jonathan Pobst <[email protected]>
  7726. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  7727. [Fixes bug #82481]
  7728. 2007-08-20 Jonathan Pobst <[email protected]>
  7729. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  7730. when other buttons are clicked or navigated to.
  7731. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7732. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  7733. it's XplatUIX11 that attaches them.
  7734. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7735. * DataGridView.cs: If a column has been added, recreate the editing row.
  7736. Fixes #82226.
  7737. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7738. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  7739. of the tag to draw. Makes disappearing text show up again.
  7740. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  7741. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  7742. Contents. Fixes #82487.
  7743. 2007-08-19 Andreia Gaita <[email protected]>
  7744. * Added HtmlElement.cs, HtmlElementCollection.cs,
  7745. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  7746. 2007-08-19 Andreia Gaita <[email protected]>
  7747. * BindingSource.cs: Implement this, dispose and getenumerator.
  7748. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  7749. out of AddInternal, throw it only on public Add calls. The
  7750. UsingWebBrowser sample was blowing up with this when setting the
  7751. DataSource after adding DataBindings, so it's likely that .net
  7752. only throws this exception when Add is called directly.
  7753. * ToolStripControlHost.cs: Return the hosted control's text
  7754. property, and not the ToolStripItem one (it would always return
  7755. the initial value).
  7756. * HtmlDocument.cs: Implement GetElementById and All
  7757. * WebBrowser.cs: Remove exception on set_DocumentStream.
  7758. 2007-08-19 Everaldo Canuto <[email protected]>
  7759. * Form.cs: Fix the max and min value for opacity (0~1).
  7760. 2007-08-19 Everaldo Canuto <[email protected]>
  7761. [Fixes #80118]
  7762. * DataGridTableStyle.cs: Default header font is now null, on getter it
  7763. returns datagrid font when is null. On setter permits null.
  7764. * DataGrid.cs:
  7765. - When ResetHeaderFont set header font to null.
  7766. - On EndInit set grid_style.DataGrid.
  7767. 2007-08-19 Everaldo Canuto <[email protected]>
  7768. * TabControl.cs: Fix regression in default padding x.
  7769. 2007-08-19 Everaldo Canuto <[email protected]>
  7770. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  7771. 2007-08-19 Everaldo Canuto <[email protected]>
  7772. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  7773. not 2. Fixes #82229.
  7774. 2007-08-18 Everaldo Canuto <[email protected]>
  7775. * TabControl.cs: Fix tab size when image height is less than text height.
  7776. Partially fixes #81837.
  7777. 2007-08-18 Everaldo Canuto <[email protected]>
  7778. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  7779. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  7780. from taskbar and keep it on "alt_tab". Fixes #81722.
  7781. 2007-08-18 Everaldo Canuto <[email protected]>
  7782. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  7783. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  7784. Fixes #80877 and #79418.
  7785. 2007-08-18 Everaldo Canuto <[email protected]>
  7786. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  7787. between position and one of the screen borders. Fixes #82349.
  7788. 2007-08-18 Everaldo Canuto <[email protected]>
  7789. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  7790. the MessageBox in the taskbar. Fixes #82457.
  7791. 2007-08-18 Everaldo Canuto <[email protected]>
  7792. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  7793. than icon. Fixes #82468.
  7794. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  7795. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  7796. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  7797. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  7798. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  7799. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  7800. FormBorderStyle to decide if we're calculating a new size from the
  7801. client size or not. CreateParams: Don't fake tool windows, only the X11
  7802. backend manages toolwindows manually.
  7803. 2007-08-17 Jonathan Pobst <[email protected]>
  7804. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  7805. ObjectDisposedException.
  7806. 2007-08-17 Jonathan Pobst <[email protected]>
  7807. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  7808. in OnLoad should not have any effect. [Fixes bug #82470]
  7809. 2007-08-17 Jonathan Pobst <[email protected]>
  7810. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  7811. paint for controls that create their own ToolTipWindow instead of
  7812. going through ToolTip.
  7813. 2007-08-17 Jonathan Pobst <[email protected]>
  7814. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  7815. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  7816. * ListViewGroupCollection.cs: Use generic List instead of an
  7817. ArrayList, since this collection is 2.0 only.
  7818. 2007-08-17 Jeffrey Stedfast <[email protected]>
  7819. * ToolTip.cs (Hide): Made public to make the build work (should
  7820. this not be public?).
  7821. 2007-08-17 Jonathan Pobst <[email protected]>
  7822. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  7823. ToolTipWindow.
  7824. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  7825. 2007-08-17 Jonathan Pobst <[email protected]>
  7826. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  7827. PopupEventHandler.cs: Make these internal for 1.1.
  7828. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  7829. use ToolTipWindow internals.
  7830. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  7831. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  7832. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7833. * X11Dnd.cs: Add a null check.
  7834. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7835. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  7836. nothing else succeeds. Fixes #82453.
  7837. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7838. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  7839. rectangle if we're painting to another window than the one the paint
  7840. message was generated on. Simplify the code somewhat, which makes
  7841. PaintEventEnd also simpler.
  7842. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7843. * Control.cs: When changing parent of a form, let the form decide whether
  7844. XplatUI.SetParent should be called or not.
  7845. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  7846. recreating the handle. If the new parent's handle isn't created, don't
  7847. recreate our handle, just destroy it. CreateParams: Check if the
  7848. parent's handle is created before fetching it.
  7849. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7850. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  7851. Update calls to PaintEventStart/End to take a Message argument.
  7852. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  7853. take a Message argument.
  7854. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  7855. Message argument, and handle the case where we don't paint to the window
  7856. for which the paint message was generated.
  7857. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  7858. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  7859. Marshal.GetLastWin32Error. Plug nasty memory leak in
  7860. PaintEventStart/End, we were creating a DC we weren't releasing.
  7861. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  7862. * ListView.cs: Add Groups support in Details view. Also have a small
  7863. method to do the layout of the group header. Don't use a separate
  7864. method to do the groups calculation in Icons view, since our methods
  7865. are now a little simpler.
  7866. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  7867. `Bounds'.
  7868. * ThemeWin32Classic.cs: Likewise.
  7869. 2007-08-16 Jonathan Pobst <[email protected]>
  7870. * Application.cs: Add FilterMessage method and rework our message loop
  7871. logic to use it.
  7872. 2007-08-16 Jonathan Pobst <[email protected]>
  7873. * Application.cs: Add some methods and stub a few methods that are
  7874. pretty much never used.
  7875. 2007-08-15 Jonathan Pobst <[email protected]>
  7876. * TreeNode.cs: Add some serialization methods.
  7877. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  7878. * ListView.cs: In ListViewItemCollection have a
  7879. 'is_main_collection' field to not modify ListViewItem.ListView
  7880. when using it as ListViewGroup.Items (and not ListView.Items)
  7881. and also don't modify selection state (.Net behaviour).
  7882. Instead, set group for items contained in a ListViewGroup.Items collection.
  7883. * ListViewItem.cs: Simplify some code in Group setter.
  7884. * ListViewGroup.cs: use the new .ctor to pass the current instance
  7885. to the ItemsCollection.
  7886. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  7887. instances when adding/removing. Also make Remove use RemoveAt, which
  7888. should perform better.
  7889. 2007-08-14 Jonathan Pobst <[email protected]>
  7890. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  7891. that crept into the 1.1 profile.
  7892. 2007-08-14 Jonathan Pobst <[email protected]>
  7893. * ToolBarButton.cs: Implement ImageKey.
  7894. 2007-08-14 Jonathan Pobst <[email protected]>
  7895. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  7896. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  7897. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  7898. created, it might have gotten destroyed since we last checked. Fixes
  7899. #82405.
  7900. 2007-08-11 Jonathan Pobst <[email protected]>
  7901. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  7902. tooltip will hide when mouse is moved off the control.
  7903. [Fixes bug #82407]
  7904. 2007-08-11 Andreia Gaita <[email protected]>
  7905. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  7906. using Mono.Mozilla for loading and navigating webcontrol
  7907. with xulrunner.
  7908. The initial implementation was done on
  7909. /trunk/mozembed/tests/browser , and copied here.
  7910. 2007-08-11 Gert Driesen <[email protected]>
  7911. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  7912. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  7913. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  7914. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  7915. RowTemplateFull: throw an exception if a column doesn't have a template.
  7916. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  7917. add the row just before it.
  7918. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  7919. selected.
  7920. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  7921. DataGridView field to be able to reach the grid's editing row.
  7922. 2007-08-10 Jonathan Pobst <[email protected]>
  7923. * ToolTip.cs: If the control's handle hasn't been created when it has a
  7924. tooltip set on it, don't check to see if we need to show the tooltip. This
  7925. check was causing the control's handle to be created.
  7926. [Fixes bug #82399]
  7927. 2007-08-10 Jonathan Pobst <[email protected]>
  7928. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  7929. 1.1 2.0
  7930. Handle Not Created -1 0
  7931. Handle Created 0 0
  7932. [Fixes bug #82371]
  7933. 2007-08-10 Jonathan Pobst <[email protected]>
  7934. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  7935. [Fixes bug #82348]
  7936. 2007-08-09 Jonathan Pobst <[email protected]>
  7937. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  7938. * ToolTip.cs: Implement some properties and owner draw.
  7939. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7940. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  7941. show them again, since setting visibility causes a paint, causing an
  7942. endless loop (instead use a temporary and set it all when it's known if
  7943. they should be shown or not). Fixes #79265.
  7944. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7945. * DataGridView.cs: Only do a full column/row selection if a header was
  7946. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  7947. isn't pressed, deselect everything before selecting something.
  7948. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7949. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  7950. behaviour according to bug #81075 - they are returned in the order they
  7951. are selected. Fix HitTest to check if the point is within any of the
  7952. headers. Allow for row/column selection when in ColumnHeader or
  7953. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  7954. the row and column to call when their selected state changes, and
  7955. updated selected_[rows|columns] whenever SetSelected* is called.
  7956. * DataGridViewBand.cs: Initialize isRow correctly. Call
  7957. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  7958. add a SelectedInternal to avoid StackOverflows.
  7959. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  7960. ReadOnly no matter what.
  7961. * DataGridViewSelectedColumnCollection.cs,
  7962. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  7963. the items in reverse order (just as MS does...)
  7964. 2007-08-09 Jonathan Pobst <[email protected]>
  7965. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  7966. itself, not part of a mnemonic. [Fixes bug #82378]
  7967. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7968. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  7969. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  7970. the DGV, the column, the row, or the cell itself is readonly.
  7971. 2007-08-09 Gert Driesen <[email protected]>
  7972. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  7973. OSVersion.Platform.
  7974. * FileDialog.cs: Same.
  7975. * TextRendered.cs: Same.
  7976. * FolderBrowserDialog.cs: Same.
  7977. * TextBoxBase.cs: Same.
  7978. * Application.cs: Same.
  7979. * Cursors.cs: Same.
  7980. * ThemeClearLooks.cs: Same.
  7981. 2007-08-09 Gert Driesen <[email protected]>
  7982. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  7983. instead of duplicating these checks everywhere.
  7984. * FileDialog.cs: Use case-insensitive comparison for populating the
  7985. DirComboBox when not running on unix. Fixes bug #82385.
  7986. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  7987. "Look in".
  7988. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  7989. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  7990. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  7991. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  7992. cell and column selection with ctrl and shift pressed. Call the correct
  7993. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  7994. the corresponding virtual method (PaintBackground to paint background,
  7995. etc).
  7996. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  7997. either the column, row or the cell itself is selected.
  7998. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  7999. OnRowsAdded.
  8000. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  8001. here. When the row is selected, don't select all cells. Each cell now
  8002. queries the row to see if the row is selected.
  8003. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  8004. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  8005. SelectionMode.
  8006. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  8007. * ListView.cs: In ListViewItemsCollection check that owner is
  8008. not null before trying to access it (this happens quite often
  8009. using Groups). Also don't duplicate calls by calling CollectionChanged
  8010. method.
  8011. 2007-08-08 Jonathan Pobst <[email protected]>
  8012. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  8013. when we are dismissed to clear keyboard mnemonics.
  8014. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  8015. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  8016. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  8017. was activated by keyboard or the OS tells us to always draw them.
  8018. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  8019. [Fixes bugs #82376, #82377]
  8020. 2007-08-08 Jonathan Pobst <[email protected]>
  8021. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  8022. shot at having it because Alt was pressed.
  8023. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  8024. the first real menu item.
  8025. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  8026. a mnemonic if Text is null.
  8027. [Fixes bug #82374]
  8028. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  8029. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  8030. search do check whether the item is already contained in the
  8031. collection or not; instead check if the owner of the item is the same
  8032. as ours. Also, remove a redundant check in the same method.
  8033. 2007-08-08 Jonathan Pobst <[email protected]>
  8034. * Control.cs: Allow the clip region to be set back to null.
  8035. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  8036. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  8037. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  8038. * GridEntry.cs: Add a null check.
  8039. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  8040. entries. Fixes #82297.
  8041. 2007-08-07 Jonathan Pobst <[email protected]>
  8042. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  8043. for 2.0.
  8044. 2007-08-07 Jonathan Pobst <[email protected]>
  8045. * ListBox.cs: Implement ScaleControl.
  8046. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8047. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  8048. have a menu strip.
  8049. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  8050. parent has a menu strip. Fixes #81689.
  8051. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8052. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  8053. moments, so apply some fuzzy logic to determine if the mouse is still
  8054. inside a control or not. Fixes #82288 (for the third time).
  8055. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8056. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  8057. Don't create the child if it has been disposed already (may happen if
  8058. the user closes the form the Load event).
  8059. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8060. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  8061. #82288.
  8062. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  8063. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  8064. might call us after we've been destroyed, in which case our own private
  8065. parent field is null. Fixes #82326.
  8066. 2007-08-06 Jonathan Pobst <[email protected]>
  8067. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  8068. check for setting the dropdown's owner.
  8069. 2007-08-06 Jonathan Pobst <[email protected]>
  8070. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  8071. before removing system menu items.
  8072. 2007-08-02 Jonathan Pobst <[email protected]>
  8073. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  8074. folding.
  8075. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  8076. folding.
  8077. * ToolStrip.cs: Add a null check to mnemonics.
  8078. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  8079. no ConnectedArea.
  8080. [Fixes most of bug #81689]
  8081. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  8082. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  8083. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  8084. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  8085. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  8086. * DataGridViewCell.cs: EditType: returns
  8087. DataGridViewTextBoxEditingControl always.
  8088. 2007-08-01 Jonathan Pobst <[email protected]>
  8089. * TextRenderer.cs: Remove the LineLimit string format flag from the
  8090. DrawString fallback method so that things like buttons that aren't
  8091. tall enough to draw a full line will still draw part of the text.
  8092. [Fixes part of bug #82272]
  8093. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  8094. * DataGridView.cs: Implemented AutoResizeColumn(s).
  8095. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  8096. according to the Alignment.
  8097. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  8098. Implement alignment and padding when painting.
  8099. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  8100. exists.
  8101. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  8102. way.
  8103. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  8104. a column is added.
  8105. 2007-07-31 Jonathan Pobst <[email protected]>
  8106. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  8107. which is internal.
  8108. 2007-07-31 Jonathan Pobst <[email protected]>
  8109. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  8110. hide GetPreferredSize from public API.
  8111. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  8112. * ToolStripItem.cs: Stub out drag and drop methods and events.
  8113. * ToolStripManager.cs: Stub out Save/LoadSettings.
  8114. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  8115. * ToolStripPanel.cs: Fix corcompare error.
  8116. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  8117. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  8118. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  8119. 2007-07-31 Jonathan Pobst <[email protected]>
  8120. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  8121. bounds height instead of PreferredHeight. Puts things back the way
  8122. they were for height while still fixing the width. Fixes broken unit
  8123. tests.
  8124. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8125. * Binding.cs: Implement 2.0 constructors and add a null check.
  8126. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8127. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  8128. and fix row index (off by one).
  8129. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8130. * PropertyGridView.cs: Remove debug output.
  8131. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  8132. * Control.cs: We need to reset the is_created flags when the handle is
  8133. destroyed. Fixes #82187.
  8134. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  8135. client coordinates if the window doesn't have a parent.
  8136. Win32GetParent returns the parent or the owner, and for top-level
  8137. windows with no parent (but with an owner) we were calculating the
  8138. location from the location of the owner.
  8139. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  8140. form has been disposed.
  8141. * MdiClient.cs: Add a null-check.
  8142. 2007-07-30 Jonathan Pobst <[email protected]>
  8143. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  8144. actually do auto-sizing. Override the internal GetPreferredSizeCore
  8145. so we can provide an implementation that returns the current width
  8146. and preferred height. Allows anchor = right to work with TextBox 2.0.
  8147. [Fixes bug #82233]
  8148. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  8149. * ListView.cs: Add support for navigating items in Groups mode, by
  8150. creating a big matrix containing all rows and cols of all groups. When
  8151. are in other mode than Details, pressing Up should have a similar
  8152. behaviour as that one of Down (moving to the next available column if
  8153. current one doesn't have an item in the requested row). Also, don't
  8154. proceed to use groups if ShowGroups is false.
  8155. * ListViewGroup.cs: Add an internal int field to store the starting
  8156. row of the group (used by the big matrix used for navigating the
  8157. ListView).
  8158. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  8159. false.
  8160. 2007-07-30 Jonathan Pobst <[email protected]>
  8161. * ToolStripDropDown.cs: When we do Show, start with the
  8162. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  8163. modify the direction to keep it on screen. [Fixes bug #82210]
  8164. 2007-07-29 Gert Driesen <[email protected]>
  8165. * FileDialog.cs: Accept any FilterIndex value, and store it
  8166. unmodified. When FilterIndex is less than 1, or greater than number
  8167. of filters, then default to first filter. Only add filter extension to
  8168. file if user did not specifiy an extension. When type of dialog is
  8169. OpenFileDialog and DefaultExt is set, then only use filter extension
  8170. if: CheckFileExists is true and no file wih the default extension
  8171. exists, or CheckFileExists is false, and user specified file does not
  8172. exist. When CheckFileExists is true, then add first extension of
  8173. selected filter that matches existing file. Perform checks for
  8174. existing file, overwrite and create after extension has been added to
  8175. file name. When CheckFileExists is true and type is SaveFileDialog,
  8176. then only consider first filter extension if DefaultExt is set.
  8177. When CheckFileExists is true, then ignore DefaultExt if file with that
  8178. extension does not exist. Also perform check for existing file when
  8179. type is SaveFileDialog. Changed some field to constants.
  8180. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  8181. * ListView.cs: Take into account the region used by header
  8182. control when doing the vertical scroll (this way we invalidate
  8183. the precise area, and don't get any dirty one).
  8184. 2007-07-27 Everaldo Canuto <[email protected]>
  8185. * FileDialog.cs: Check for valid filterIndex on button open/save.
  8186. Fixes #82184.
  8187. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  8188. * ListView.cs: Update some layout calculations in details view
  8189. and clean the code in a pair of assignations.
  8190. 2007-07-26 Jonathan Pobst <[email protected]>
  8191. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  8192. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  8193. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  8194. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  8195. 2007-07-26 Jonathan Pobst <[email protected]>
  8196. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  8197. performance of thread-safe Graphic methods. (Thanks rolf!)
  8198. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  8199. * ListView.cs: When doing the layout calculations, don't calculate
  8200. scroll bars before handle is created. This is unnecessary and also
  8201. calculating them before handle creation item causes a number of random
  8202. bugs (which begin to appear after Chris' big patch for handle creation
  8203. fixes).
  8204. 2007-07-26 Jonathan Pobst <[email protected]>
  8205. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  8206. for things that don't have a Graphics object. Currently, things just use
  8207. the static Hwnd.bmp_g which is not thread safe.
  8208. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  8209. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  8210. dialog. Fixes #82187.
  8211. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  8212. * DataGridViewElement.cs: Initialize state.
  8213. * DataGridView.cs: Forward a few Mouse events to cells. Add
  8214. GetRowInternal and GetCellInternal that doesn't unshare rows.
  8215. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  8216. don't use the index, but look it up. Add
  8217. DataGridViewControlCollection.RemoveInternal to remove controls
  8218. that Remove won't remove (scrollbars, edit control).
  8219. * DataGridViewColumn.cs: Initialize State correctly.
  8220. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  8221. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  8222. implementing this.
  8223. * DataGridViewRowCollection.cs: Implemented shared rows.
  8224. * DataGridViewRow.cs: Throw exceptions as MS do.
  8225. * DataGridViewCell.cs: A few properties are implemented by a
  8226. Get<Property> method, so move implementation there and remove the
  8227. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  8228. calls when necessary.
  8229. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  8230. complicates matters.
  8231. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  8232. unshare any rows.
  8233. 2007-07-25 Jonathan Pobst <[email protected]>
  8234. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  8235. the children controls. Instead, we will just set up the proper docking for the
  8236. children controls so we don't have to worry about it. [Fixes bug #82188]
  8237. 2007-07-25 Jonathan Pobst <[email protected]>
  8238. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  8239. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  8240. 81847. [Fixes bug #81847]
  8241. 2007-07-25 Jonathan Pobst <[email protected]>
  8242. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  8243. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  8244. an explicit size based on the design-time size of the text. Since our fonts
  8245. may not match this explicit size, we tend to cut off the ends of people's labels.
  8246. 2007-07-24 Jonathan Pobst <[email protected]>
  8247. * Menu.cs: Add some missing methods to MenuItemCollection.
  8248. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  8249. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  8250. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  8251. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  8252. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  8253. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  8254. * DataGridViewElement.cs: State defaults to Visible.
  8255. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  8256. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  8257. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  8258. * Control.cs: Minor 1.1 corcompare fix.
  8259. 2007-07-23 Jonathan Pobst <[email protected]>
  8260. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  8261. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  8262. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8263. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  8264. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  8265. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  8266. DataGridViewSelectedColumnCollection.cs,
  8267. DataGridViewSelectedRowCollection.cs: Corcompare work.
  8268. 2007-07-23 Jonathan Pobst <[email protected]>
  8269. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  8270. it is autoset by VS2005 designer and the effect is barely noticeable.
  8271. 2007-07-23 Jonathan Pobst <[email protected]>
  8272. * TreeView.cs: Implement HitTest.
  8273. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8274. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  8275. manually adding and removing the control from the Controls
  8276. collecftion.
  8277. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  8278. EditingControlInternal property that tracks the editing control.
  8279. Always keeping the scrollbars in the Controls collection, as MS
  8280. testing confirms is the right behaviour.
  8281. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  8282. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  8283. according to MSDN and new test.
  8284. 2007-07-20 Jonathan Pobst <[email protected]>
  8285. * TreeNode.cs: Implement ToolTipText.
  8286. * TreeView.cs: Implement tooltips, NodeMouse* events.
  8287. 2007-07-20 Jonathan Pobst <[email protected]>
  8288. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  8289. 2007-07-20 Jonathan Pobst <[email protected]>
  8290. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  8291. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  8292. 2007-07-20 Ivan N. Zlatev <[email protected]>
  8293. * Control.cs, Form.cs, ContainerControl.cs,
  8294. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  8295. for misc properties.
  8296. 2007-07-20 Jonathan Pobst <[email protected]>
  8297. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  8298. * TreeView.cs: Implement StateImageList.
  8299. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8300. * Form.cs: Don't check if the current form is the active form before
  8301. activating it. Fixes #81904.
  8302. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8303. * Form.cs: Don't check if the current form is the active form before
  8304. activating it. Fixes #81904.
  8305. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8306. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  8307. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8308. * Form.cs: Don't try to position the form after loading if the form was
  8309. disposed. Fixes #81969.
  8310. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8311. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  8312. properties. Had to change ToolBar into ToolStrip, which required a
  8313. few #ifs.
  8314. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  8315. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  8316. resized, fixes part of #79829 (vertical lines in toolbar).
  8317. PropertyGrid: Refactored Populate* to something that's easier to
  8318. follow at least for me, as well as splitting it up into several new
  8319. methods, required to update only subitems when something has
  8320. changed by a popup editor or listbox. Don't use events to check
  8321. when any values are changed, since the events are unreliable (we're
  8322. changing the objects the events are registered with, and if the
  8323. event handling requires the objects to be immutable (objects stored
  8324. in hashtables for instance), the events will never be raised).
  8325. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  8326. everytime we change a value, since events are unreliable.
  8327. DropDownButtonClicked: For the same reason don't compare objects to
  8328. check if it has changed or not, it would require all objects to
  8329. derive Equals. Fix dialog location on windows, MS is doing weird
  8330. things when creating parented forms.
  8331. * GridEntry.cs: Add a SelectedObject setter.
  8332. 2007-07-19 Jonathan Pobst <[email protected]>
  8333. * TreeNode.cs: Add some corcompare attributes.
  8334. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  8335. * TreeView.cs: Implement some 2.0 stuffs.
  8336. 2007-07-18 Andreia Gaita <[email protected]>
  8337. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  8338. for moma.
  8339. 2007-07-19 Jonathan Pobst <[email protected]>
  8340. * ListBox.cs: Implement custom tab offsets.
  8341. 2007-07-18 Jonathan Pobst <[email protected]>
  8342. * ToolStripContentPanel.cs: Support System renderer.
  8343. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  8344. 2007-07-18 Jonathan Pobst <[email protected]>
  8345. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  8346. 2007-07-18 Jonathan Pobst <[email protected]>
  8347. * CheckBox.cs: Chain TextAlign to base implementation instead of
  8348. maintaining another one.
  8349. 2007-07-18 Jonathan Pobst <[email protected]>
  8350. * ButtonBase.cs: Fix an incorrect string constant.
  8351. 2007-07-18 Jonathan Pobst <[email protected]>
  8352. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  8353. of creating one for measuring strings.
  8354. 2007-07-18 Jonathan Pobst <[email protected]>
  8355. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  8356. Implement MaxItemSize.
  8357. 2007-07-17 Jonathan Pobst <[email protected]>
  8358. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  8359. for DeviceContext. Instead, use the static one available in Hwnd.
  8360. Informal tests show this saves about 500k on formtest.exe.
  8361. 2007-07-17 Jonathan Pobst <[email protected]>
  8362. * ContainerControl.cs: Implement 2.0 AutoScaling.
  8363. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  8364. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  8365. 2007-07-16 Jonathan Pobst <[email protected]>
  8366. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  8367. Darken the focus color.
  8368. 2007-07-16 Jonathan Pobst <[email protected]>
  8369. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  8370. for the checkbox.
  8371. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  8372. X, Y instead of a rect for drawing text.
  8373. - For ControlPaint.DrawCheckBox, center the check a little better when the
  8374. checkbox is odd width. When drawing a flat checkbox, use a white background
  8375. when state != inactive.
  8376. [Fixes bugs #82097, 82100]
  8377. 2007-07-16 Gert Driesen <[email protected]>
  8378. * ListControl.cs: When changing CurrencyManager, disconnect event
  8379. handlers from previous one. Fixes bug #81771. Code formatting.
  8380. 2007-07-15 Andreia Gaita <[email protected]>
  8381. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  8382. full preview invalidation from layout invalidation, and only invalidate
  8383. the layout when setting zoom or other properties. Invalidation should
  8384. always be done even when resetting properties with the same values as
  8385. what is there. Fixes #81744 and #79830.
  8386. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  8387. * ListView.cs: Implement initial support for Groups. Split some of the
  8388. LayoutIcons code to render a partial list of the items (needed by
  8389. items contained in ListViewGroup instances). Let the
  8390. ListViewItemsCollection.ListView property be modifiable (needed when
  8391. using Groups, too).
  8392. * ListViewGroup.cs: Use a Bounds property rather than a Location
  8393. one. Also invalidate the bounds when they get changed.
  8394. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  8395. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  8396. method as well.
  8397. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  8398. * ListView.cs: When space gets pressed and CheckBoxes is true,
  8399. don't invoke the Begin and EndUpdate methods. We are generating
  8400. a redraw of the entire control without need to do so.
  8401. 2007-07-13 William Holmes <[email protected]>
  8402. * Control.cs: Changing logic in FindFlatForward and
  8403. FindFlatBackward to handle multiple Controls with
  8404. the same TabIndex.
  8405. This fixes bug 81687.
  8406. 2007-07-13 Jonathan Pobst <[email protected]>
  8407. * OSFeature.cs: Enable IsPresent.
  8408. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  8409. * Control.cs: Don't do anything in WmShowWindow if the control has been
  8410. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  8411. control is created, put on a form, the control is disposed (the
  8412. form is never shown), and then we get a MapNotify, triggering a
  8413. WM_SHOWWINDOW.
  8414. * Form.cs: Exclude the current form when sending Deactivate to all
  8415. MdiChildren.
  8416. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  8417. there was a race condition because assigning the handle raises
  8418. events, we can get more messages, therefore trying to assign the
  8419. handle again, which would fail if any of those event handlers
  8420. closed/disposed the control.
  8421. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  8422. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  8423. 2007-07-12 Jonathan Pobst <[email protected]>
  8424. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  8425. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  8426. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  8427. * DateTimePicker.cs: If there's no part format specifier, return an
  8428. empty string.
  8429. 2007-07-12 Jonathan Pobst <[email protected]>
  8430. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  8431. Transparent BorderColor.
  8432. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  8433. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  8434. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  8435. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  8436. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  8437. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  8438. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  8439. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  8440. Remove warnings.
  8441. * X11Structs.cs: Remove warnings, add ToString implementations.
  8442. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8443. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  8444. size, and not the current size. Fixes #81798.
  8445. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8446. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  8447. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  8448. to the control yet).
  8449. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8450. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  8451. mousedowns to the contained textbox.
  8452. * X11Structs.cs: More ToString implementation.
  8453. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  8454. #81791.
  8455. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  8456. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  8457. 2007-07-10 Jonathan Pobst <[email protected]>
  8458. * TableLayoutPanelCellPosition.cs: TypeConverter.
  8459. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  8460. [ Fixes #79761]
  8461. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  8462. controls.
  8463. * PropertyGridView.cs: A few color fixes.
  8464. 2007-07-10 Jackson Harper <[email protected]>
  8465. * TextControl.cs: Remove some old unused text formatting stuff.
  8466. 2007-07-10 Jackson Harper <[email protected]>
  8467. * TreeView.cs: Update full row select invalidation to match the
  8468. newer DrawSelection... method.
  8469. - Make sure to invalidate the entire width when selecting a new
  8470. node, if we have full row selection enabled.
  8471. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  8472. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  8473. display of properties again.
  8474. 2007-07-10 Jonathan Pobst <[email protected]>
  8475. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  8476. to existing collections.
  8477. 2007-07-09 Jonathan Pobst <[email protected]>
  8478. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  8479. that changed between 1.1 and 2.0.
  8480. 2007-07-09 Jonathan Pobst <[email protected]>
  8481. * PowerStatus.cs: Added. This is just a data class, it is filled
  8482. in by SystemInformation.
  8483. 2007-07-09 Jonathan Pobst <[email protected]>
  8484. * Message.cs: Add op_Equality and op_Inequality.
  8485. 2007-07-09 Jonathan Pobst <[email protected]>
  8486. * MenuStrip.cs: Finish corcompare work.
  8487. 2007-07-09 Jonathan Pobst <[email protected]>
  8488. * LinkArea.cs: Add op_Equality and op_Inequality.
  8489. 2007-07-09 Jonathan Pobst <[email protected]>
  8490. * Application.cs: Add MessageLoopCallback delegate.
  8491. 2007-07-09 Jonathan Pobst <[email protected]>
  8492. * ListBox.cs: First set of 2.0 stuffs.
  8493. 2007-07-09 Jonathan Pobst <[email protected]>
  8494. * Control.cs: Make an internal Height property we can override
  8495. without messing up the public API.
  8496. * ListBox.cs: Override HeightInternal to always return the size
  8497. the user set. [Fixes bug #80466]
  8498. 2007-07-08 Jonathan Pobst <[email protected]>
  8499. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  8500. paint cell borders if we haven't calculated where they go yet.
  8501. [Fixes bugs #82040 and #82041]
  8502. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  8503. * ListView.cs: In Details view, set the location of item_control
  8504. in the (0,0) position (and the header_control is thus on the
  8505. item_control). This way the Bounds of the Items are relative to the
  8506. ListView control (before this, they had a Bounds value without the
  8507. header_control offset, which wasn't matching .Net). Fixes #82004.
  8508. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  8509. * ListControl.cs: When DataSource is set to null, pass an empty
  8510. array of object to SetItemsCore. This is done to clean the items
  8511. in the ListContol children. Fixes #81788.
  8512. 2007-07-06 Jonathan Pobst <[email protected]>
  8513. * ListControl.cs: Add 2.0 stuffs.
  8514. 2007-07-06 Jonathan Pobst <[email protected]>
  8515. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  8516. Refresh is overkill for just about every repaint request.
  8517. 2007-07-06 Jonathan Pobst <[email protected]>
  8518. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  8519. so remove my custom Get method and fix the property getter.
  8520. 2007-07-06 Jonathan Pobst <[email protected]>
  8521. * Label.cs: DefaultMargin for 2.0.
  8522. 2007-07-06 Jonathan Pobst <[email protected]>
  8523. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  8524. reported issue where other controls with mnemonics would steal strokes
  8525. from a selected ComboBox.
  8526. 2007-07-06 Jonathan Pobst <[email protected]>
  8527. * ScrollOrientation.cs: Make internal for 1.1.
  8528. * ScrollEventArgs.cs: Add 2.0 stuffs.
  8529. 2007-07-05 Jonathan Pobst <[email protected]>
  8530. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  8531. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  8532. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  8533. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8534. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  8535. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8536. * ListView.cs: Implement the so-incredibly broken 2.0
  8537. VirtualItemsSelectionRangeChanged event.
  8538. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8539. * ListView.cs: When enter is pressed and selection is non empty,
  8540. an OnItemActivate event must be fired.
  8541. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  8542. * ListView.cs: Store the FocusedItem information as an
  8543. int instead of a ListViewItem (needed by VirtualMode).
  8544. Update the calls to SetFocusedItem to pass an index instead of
  8545. an item.
  8546. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  8547. the Focused state from the owner ListView.
  8548. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  8549. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  8550. property. Also, invalidate previous focused item in the mentioned
  8551. property (match .Net).
  8552. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  8553. * ListView.cs: Implement 2.0 FocusedItem property setter.
  8554. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  8555. * ListView.cs: Implement 2.0 TopItem property setter.
  8556. 2007-07-03 Jonathan Pobst <[email protected]>
  8557. * StatusStrip.cs: The default renderer is System.
  8558. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  8559. if the user specifies it.
  8560. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  8561. if we are ManagerRenderMode.
  8562. * ToolStripMenuItem.cs: Calculate our text color better.
  8563. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  8564. from Professional to the base class based off working with the System renderer.
  8565. * ToolStripSystemRenderer.cs: Added.
  8566. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  8567. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  8568. 2007-07-02 Jonathan Pobst <[email protected]>
  8569. * ToolTip.cs: Implement 2.0 Tag property.
  8570. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  8571. * ListView.cs: Implement 2.0 HitTest methods.
  8572. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  8573. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  8574. item is under the pointer or not (sugar). Also remove the TODO
  8575. regarding to the cursor changes in OneClick activation.
  8576. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  8577. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  8578. true; otherwise don't show the underline style.
  8579. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  8580. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  8581. the code to retrieve the item at position only one time. Also
  8582. change cursor when Activation is ItemActivation.OneClick as well
  8583. as invalidate the item if HotTracking is true (to show/hide the
  8584. underline style). Add an internal HotItemIndex property to retrieve
  8585. the current hot item's index.
  8586. * ListViewItem.cs: Add an internal HotFont property to cache the
  8587. font used when HotTracking is true and the pointer moves within the
  8588. item's borders.
  8589. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  8590. HotFont depending on the hot state of the item.
  8591. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  8592. * ListView.cs: Implement 2.0 HotTracking property.
  8593. 2007-06-21 Jonathan Pobst <[email protected]>
  8594. * ToolStripControlHost.cs: If our hosted control never got created,
  8595. don't try to dispose it. [Fixes bug #81909]
  8596. 2007-06-21 Jonathan Pobst <[email protected]>
  8597. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  8598. 2007-06-21 Jonathan Pobst <[email protected]>
  8599. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  8600. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  8601. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  8602. Details view.
  8603. * DrawListViewColumnHeaderEventArgs.cs:
  8604. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  8605. using the DrawText () methods.
  8606. 2007-06-19 Jonathan Pobst <[email protected]>
  8607. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  8608. background which got erased in my changes yesterday.
  8609. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  8610. * ListViewItem.cs: Actually set bounds for subitems in Details view
  8611. (2.0 feature).
  8612. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  8613. can invoke from the owner draw routines if we need it. Also, add
  8614. support for Owner draw in Details view.
  8615. 2007-06-18 Jonathan Pobst <[email protected]>
  8616. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  8617. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  8618. ShowImageMargin setting, properly align text in a ToolStripLabel
  8619. hosted on a ToolStripDropDown.
  8620. 2007-06-18 Jonathan Pobst <[email protected]>
  8621. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  8622. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  8623. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  8624. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  8625. 2007-06-18 Jonathan Pobst <[email protected]>
  8626. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  8627. location to match ToolStripMenuItems.
  8628. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  8629. * DrawListViewColumnHeaderEventArgs.cs:
  8630. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  8631. column headers in ListView.
  8632. 2007-06-15 Jonathan Pobst <[email protected]>
  8633. * UserControl.cs: Implement AutoSize.
  8634. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  8635. * DrawListViewItemEventArgs.cs:
  8636. * ListView.cs:
  8637. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  8638. ListView.
  8639. 2007-06-15 Jonathan Pobst <[email protected]>
  8640. * ToolStripDropDownItemAccessibleObject.cs: Added.
  8641. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  8642. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  8643. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  8644. ToolStripTextBox.cs: corcompare work.
  8645. 2007-06-14 Jonathan Pobst <[email protected]>
  8646. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  8647. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  8648. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  8649. corcompare.
  8650. 2007-06-14 Jonathan Pobst <[email protected]>
  8651. * OSFeature.cs: Add IsPresent.
  8652. * PrintPreviewControl.cs: Add RightToLeft.
  8653. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  8654. * SplitterPanel.cs: Add AutoSizeMode.
  8655. 2007-06-13 Jonathan Pobst <[email protected]>
  8656. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  8657. * MdiClient.cs: Add 2.0 ScaleControl.
  8658. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  8659. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  8660. 2007-06-13 Jonathan Pobst <[email protected]>
  8661. * Form.cs: Implement some scaling methods, stub some RTL methods,
  8662. corcompare work.
  8663. 2007-06-13 Jonathan Pobst <[email protected]>
  8664. * Control.cs: corcompare work.
  8665. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  8666. 2007-06-13 Jonathan Pobst <[email protected]>
  8667. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  8668. ControlPaint 2.0 stuffs.
  8669. 2007-06-12 Jonathan Pobst <[email protected]>
  8670. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  8671. 2007-06-12 Jonathan Pobst <[email protected]>
  8672. * UpDownBase.cs: Add 2.0 stuffs.
  8673. 2007-06-12 Jonathan Pobst <[email protected]>
  8674. * NumericUpDown.cs: Add 2.0 stuffs.
  8675. 2007-06-12 Jonathan Pobst <[email protected]>
  8676. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  8677. 2007-06-12 Jonathan Pobst <[email protected]>
  8678. * ErrorProvider.cs: Implement 2.0 stuffs.
  8679. 2007-06-12 Jonathan Pobst <[email protected]>
  8680. * DomainUpDown.cs: Implement 2.0 stuffs.
  8681. 2007-06-12 Jonathan Pobst <[email protected]>
  8682. * CheckedListBox.cs: Fix RefreshItems signature.
  8683. 2007-06-12 Jonathan Pobst <[email protected]>
  8684. * PictureBox.cs: Implement 2.0 stuffs.
  8685. 2007-06-12 Andreia Gaita <[email protected]>
  8686. * TabControl.cs: Check if there are tabpages before checking
  8687. the selected index - fix #81802 (font changes raise a ResizeTabs
  8688. call on controls.add, which blew up nicely with no tabpages)
  8689. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  8690. * ListView.cs:
  8691. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  8692. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  8693. * ListView.cs:
  8694. * ListViewItem.cs: In VirtualMode the selection information
  8695. resides in the ListView, rather than in the Items. Also, throw
  8696. InvalidOperationExceptions when VirtualMode is being used and
  8697. CheckedItemCollection is accessed.
  8698. 2007-06-08 Jonathan Pobst <[email protected]>
  8699. * ComboBox.cs: Add ScaleControl.
  8700. 2007-06-08 Jonathan Pobst <[email protected]>
  8701. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  8702. 2007-06-08 Jonathan Pobst <[email protected]>
  8703. * GroupBox.cs: Add 2.0 stuffs.
  8704. 2007-06-08 Jonathan Pobst <[email protected]>
  8705. * Panel.cs: Add autosize properties/event.
  8706. 2007-06-07 Jonathan Pobst <[email protected]>
  8707. * Control.cs:
  8708. - When we remove a control, remove it from the collection before performing the layout.
  8709. - Setup an internal property for explicit_bounds.
  8710. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  8711. - Perform a layout when we set a new AutoSizeMode.
  8712. 2007-06-07 Jonathan Pobst <[email protected]>
  8713. * ScrollableControl.cs: Add 2.0 stuffs.
  8714. 2007-06-06 Jonathan Pobst <[email protected]>
  8715. * ScrollBar.cs: Add 2.0 stuffs.
  8716. 2007-06-06 Jonathan Pobst <[email protected]>
  8717. * Splitter.cs: Add 2.0 stuffs.
  8718. 2007-06-06 Jonathan Pobst <[email protected]>
  8719. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  8720. to have BindingContext simply use base implementation.
  8721. 2007-06-06 Jonathan Pobst <[email protected]>
  8722. * ColumnHeader.cs: corcompare fix.
  8723. 2007-06-06 Jonathan Pobst <[email protected]>
  8724. * Button.cs: corcompare fixes.
  8725. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  8726. 2007-06-06 Jonathan Pobst <[email protected]>
  8727. * Button.cs: Override GetPreferredSizeCore.
  8728. * ButtonBase.cs: PerformLayout after changing properties that can affect
  8729. AutoSize. Simplify some mouse/keyboard code.
  8730. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  8731. * MouseEventArgs.cs: Make Location internal for 1.1.
  8732. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  8733. * Theme.cs: Add CalculateButtonAutoSize.
  8734. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  8735. 2007-06-05 Miguel de Icaza <[email protected]>
  8736. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  8737. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  8738. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  8739. since we can get different item instances every time we retrieve it.
  8740. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  8741. * ListView.cs: Work around for #81602, since an unkown an pretty
  8742. infrequent condition appears only in some systems (old linux boxes, it
  8743. seems).
  8744. 2007-06-04 Jonathan Pobst <[email protected]>
  8745. * Button.cs: Completely reformat and a little refactor to bring
  8746. this closer to Mono circa 2007.
  8747. 2007-06-04 Jonathan Pobst <[email protected]>
  8748. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  8749. to be ButtonBase.Invalidate.
  8750. 2007-06-04 Jonathan Pobst <[email protected]>
  8751. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  8752. 2007-06-04 Jonathan Pobst <[email protected]>
  8753. * ButtonBase.cs: Completely reformat and a little refactor to bring
  8754. this closer to Mono circa 2007.
  8755. 2007-06-01 Everaldo Canuto <[email protected]>
  8756. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  8757. values for autosize. Fixes #80137.
  8758. 2007-06-01 Jonathan Pobst <[email protected]>
  8759. * Control.cs: Don't perform layout when AutoSize changes.
  8760. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  8761. directly when autosizing, use SetBounds with BoundsSpecified.None.
  8762. Fixes unit tests my last commit broke.
  8763. 2007-06-01 Jonathan Pobst <[email protected]>
  8764. * Control.cs: Perform layout when AutoSize changes.
  8765. * Form.cs: Implement AutoSizing.
  8766. 2007-06-01 Chris Toshok <[email protected]>
  8767. * DataGrid.cs: remove the XXX'ed check at the top of
  8768. ProcessGridKey. fixes #80464.
  8769. 2007-06-01 Chris Toshok <[email protected]>
  8770. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  8771. adding idempotent (add/remove in Edit()), and also make sure we
  8772. don't add it until after we set the text, so it's not tripped in
  8773. Edit(). Fixes unit test regression.
  8774. 2007-06-01 Jonathan Pobst <[email protected]>
  8775. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  8776. change is user explicit, not when the layout engine moves stuff. Fixes
  8777. anchoring to bottom and right. [Fixes bug #81790]
  8778. 2007-06-01 Andreia Gaita <[email protected]>
  8779. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  8780. 2007-06-01 Andreia Gaita <[email protected]>
  8781. * ContainerControl.cs:
  8782. Fire enter event for common ancestor if it is not a ContainerControl.
  8783. Send focus to the active_control and not the 'value', the active
  8784. control might have been changed in one of the events fired.
  8785. Definitely fixes #80159.
  8786. 2007-06-01 Andreia Gaita <[email protected]>
  8787. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  8788. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  8789. * PropertyGrid.cs: Anchor the help description to the bottom of the
  8790. help panel and refactor SelectGridItem into a
  8791. SelectGridItemInternal that can be set to null (and update it to
  8792. clear the help texts when it is set to null). Set root item to null
  8793. when there's no SelectedObject. Fixes #80438.
  8794. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  8795. when we're recalculating after a resize (only).
  8796. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  8797. * ListView.cs: Implement 2.0 RedrawItems method.
  8798. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  8799. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  8800. handlers from previous data manager when DataSource is set to
  8801. null. Fixes #81771.
  8802. 2007-05-31 Jackson Harper <[email protected]>
  8803. * TextBoxBase.cs: These seem to be the correct values.
  8804. 2007-05-31 Everaldo Canuto <[email protected]>
  8805. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  8806. value. Fixes #81784.
  8807. 2007-05-31 Jonathan Pobst <[email protected]>
  8808. * Control.cs: Implement 2.0 scaling methods.
  8809. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8810. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  8811. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  8812. corcompare issues.
  8813. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8814. * ProgressBar.cs: Implemented missing 2.0 members.
  8815. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8816. * Control.cs: Corcompare issues.
  8817. * MessageBox.cs: Implemented missing 2.0 functions.
  8818. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8819. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  8820. Implemented more 2.0 members.
  8821. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  8822. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  8823. null (strange, but it seems to happen when running unit tests).
  8824. 2007-05-30 Andreia Gaita <[email protected]>
  8825. * ContainerControl.cs: Set active_control even earlier, before
  8826. firing any events, and undo it if validation returns false.
  8827. 2007-05-30 Andreia Gaita <[email protected]>
  8828. * ContainerControl.cs: Raise Validation and Enter/Leave events
  8829. even if there is no Form and set active_control earlier, just
  8830. before firing Enter events (toshok's patches). Fixes #80647.
  8831. 2007-05-30 Jackson Harper <[email protected]>
  8832. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  8833. things and fix bug #81311.
  8834. 2007-05-30 Jackson Harper <[email protected]>
  8835. * X11Dnd.cs: Now that we have our own event loop, we need to
  8836. cancel when we get a mouseup but it won't be accepted.
  8837. 2007-05-30 Chris Toshok <[email protected]>
  8838. * DataGrid.cs (set_CurrentCell): guard against negative
  8839. column/row.
  8840. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  8841. array index syntax instead of looping over the property names.
  8842. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  8843. and set IsInEditOrNavigateMode to false there.
  8844. 2007-05-30 Jackson Harper <[email protected]>
  8845. * TreeView.cs: Make sure we don't get a bad visible order when
  8846. setting to the top node. Fixes some misc crashing in
  8847. ControlInspector.
  8848. 2007-05-30 Andreia Gaita <[email protected]>
  8849. * UserControl.cs: Add 2.0 AutoSizeMode
  8850. 2007-05-29 Everaldo Canuto <[email protected]>
  8851. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  8852. 2007-05-29 Everaldo Canuto <[email protected]>
  8853. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  8854. lines. Fixes #80285.
  8855. 2007-05-29 Everaldo Canuto <[email protected]>
  8856. * DataGridColumnStyle.cs: Add char trimming column header text format.
  8857. 2007-05-29 Everaldo Canuto <[email protected]>
  8858. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  8859. Fixes #80147.
  8860. 2007-05-29 Jackson Harper <[email protected]>
  8861. * TreeNode.cs: Fix off by one on calculating whether or not a node
  8862. is visible.
  8863. 2007-05-29 Jonathan Pobst <[email protected]>
  8864. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  8865. * ScrollableControl.cs: Force an UpdateDistances when we move the
  8866. scrollbars.
  8867. [Fixes bug #80605]
  8868. 2007-05-29 Andreia Gaita <[email protected]>
  8869. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  8870. update the page setup screen.
  8871. 2007-05-29 Andreia Gaita <[email protected]>
  8872. * PageSetupDialog.cs: Fix landscape mode.
  8873. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  8874. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  8875. IconSizeHorizontalSpacing.
  8876. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  8877. * ListView.cs: The declaration of prev_tooltip_item should be inside
  8878. a NET_2_0 conditional (avoid a warning).
  8879. 2007-05-28 Andreia Gaita <[email protected]>
  8880. * PageSetupDialog.cs: Implement PrintPreview control to display
  8881. the preview thumbnail. Change unit conversion to use
  8882. PrinterUnitConvert methods.
  8883. Note: there is a huge bug in ms.net where the default margins are
  8884. interpreted as centimeters (?), when in fact they are set in inches. When
  8885. loading the page setup dialog initially (ms.net), the default margins
  8886. are set to 1 inch, and the dialog shows them with value 10, when in fact
  8887. it should be 25 (properly converted). Our dialog doesn't have this bug.
  8888. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  8889. RectangleF.
  8890. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  8891. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  8892. * ListView.cs:
  8893. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  8894. items.
  8895. 2007-05-28 Andreia Gaita <[email protected]>
  8896. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  8897. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  8898. bug?), convert the ptr to Int32 first.
  8899. 2007-05-28 Jackson Harper <[email protected]>
  8900. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  8901. recieved, we will exit the dnd tracking loop.
  8902. 2007-05-28 Jackson Harper <[email protected]>
  8903. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  8904. recieved. TODO: I should probably stick a timer on the dropped
  8905. event, and finish the drag if the XDND Finished event never shows
  8906. (because some apps don't seem to send it).
  8907. 2007-05-28 Everaldo Canuto <[email protected]>
  8908. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  8909. #81733.
  8910. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  8911. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  8912. handled.
  8913. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  8914. * MonthCalendar.cs: Set the size after initializing all the relevant
  8915. variables. Fixes #81742.
  8916. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  8917. * KeyEventArgs.cs: Fix typo.
  8918. 2007-05-28 Gert Driesen <[email protected]>
  8919. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  8920. to match MS. Fixed MinDate to only accept value less than or equal
  8921. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  8922. Removed TODO's that are now verified by unit tests.
  8923. 2007-05-27 Gert Driesen <[email protected]>
  8924. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  8925. MS.
  8926. 2007-05-25 Jackson Harper <[email protected]>
  8927. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  8928. it's own message loop.
  8929. * XplatUIX11.cs: Remove some of the dnd hooks
  8930. 2007-05-25 Gert Driesen <[email protected]>
  8931. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  8932. instead of MinimizedWindowSize.
  8933. 2007-05-25 Jackson Harper <[email protected]>
  8934. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  8935. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  8936. * KeyEventArgs.cs: Added SuppressKeyPress.
  8937. * Control.cs: Added support for SuppressKeyPress.
  8938. 2007-05-24 Andreia Gaita <[email protected]>
  8939. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  8940. problems with PieChart. suppress_validation should not be a counter,
  8941. if there are several BeginInit calls, the first EndInit will
  8942. activate validation. Fix exceptions thrown by set_Value.
  8943. * UpDownBase.cs: ValidateText only if it's the user editing it.
  8944. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  8945. * ListControl.cs: FilterItemOnProperty should return the filtered
  8946. item proeprty even if DataSource is null. The same applies for
  8947. GetItemText. Fixes #80427.
  8948. 2007-05-24 Jonathan Pobst <[email protected]>
  8949. * Control.cs: If a control doesn't have a parent when it's Dock is
  8950. set, but it has children, it needs to do a layout. Fixes some nested
  8951. controls issues. [Fixes bug #81199]
  8952. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  8953. * ComboBox.cs: If there are few items in the drop down list, make it
  8954. the exact size the items need, no bigger. Fixes #81612.
  8955. 2007-05-24 Jonathan Pobst <[email protected]>
  8956. * Application.cs: When we have captured the keyboard for a menu,
  8957. check for mouse down events in case we need to close the menu.
  8958. * Control.cs, Form.cs: Remove mouse down checks for menus.
  8959. 2007-05-24 Jackson Harper <[email protected]>
  8960. * TextControl.cs: Handle tabs in non multiline mode a little
  8961. differently.
  8962. 2007-05-24 Jackson Harper <[email protected]>
  8963. * TextControl.cs: We need to manually break apart tabbed text and
  8964. move the tabs, since the system.drawing tabbing mechanism relies
  8965. on tab stops.
  8966. * TextBoxBase.cs: Move the caret properly when the user enters a
  8967. tab.
  8968. 2007-05-24 Jonathan Pobst <[email protected]>
  8969. * ContainerControl.cs: Don't check CanSelect before calling
  8970. ProcessMnemonic.
  8971. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  8972. release a KeyboardActive on click if it's not ours.
  8973. 2007-05-23 Andreia Gaita <[email protected]>
  8974. * ColumnHeader.cs: Add TypeConverter
  8975. 2007-05-23 Everaldo Canuto <[email protected]>
  8976. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  8977. 2007-05-23 Everaldo Canuto <[email protected]>
  8978. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  8979. 2007-05-23 Everaldo Canuto <[email protected]>
  8980. * LinkLabel.cs: Implement public Padding property.
  8981. 2007-05-23 Everaldo Canuto <[email protected]>
  8982. * LinkLabel.cs: Implement public FlatStyle.
  8983. 2007-05-23 Jonathan Pobst <[email protected]>
  8984. * Control.cs: Apply patch from George to call parent.PerformLayout
  8985. when Visible is changed. [Fixes bugs #81118, 81718]
  8986. 2007-05-23 Everaldo Canuto <[email protected]>
  8987. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  8988. 2007-05-23 Everaldo Canuto <[email protected]>
  8989. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  8990. 2007-05-23 Everaldo Canuto <[email protected]>
  8991. * ContextMenu.cs: Implement Collapse.
  8992. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  8993. * ToolBarButton.cs: Implement Name.
  8994. 2007-05-22 Everaldo Canuto <[email protected]>
  8995. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  8996. use current_item, it prevents some NRE. Fixes #81675.
  8997. 2007-05-22 Andreia Gaita <[email protected]>
  8998. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  8999. without updating the text.
  9000. 2007-05-22 Jonathan Pobst <[email protected]>
  9001. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  9002. without calling DeleteObject. [Should fix bug #81709]
  9003. 2007-05-22 Jackson Harper <[email protected]>
  9004. * RichTextBox.cs: Set the line endings correctly, when flushing
  9005. RTF text.
  9006. 2007-05-22 Gert Driesen <[email protected]>
  9007. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  9008. {Width=0,Height=0}.
  9009. 2007-05-22 Jackson Harper <[email protected]>
  9010. * TreeView.cs: Setting top with a null node should set to the very
  9011. top.
  9012. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9013. * Form.cs: ShowDialog: destroy the handle when message loop is
  9014. finished, matches MS behaviour. Refactor parts of WmClose into
  9015. RaiseCloseEvents, that only raises events if they haven't already
  9016. been raised. Fixes #81688 and #81521.
  9017. * Application.cs: Don't call close on the form when exiting a modal
  9018. loop, it will raise all the (Form)Closed/Closing events again if
  9019. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  9020. which doesn'r raise any events it they have been raised before.
  9021. 2007-05-22 Jonathan Pobst <[email protected]>
  9022. * Control.cs: Add OnPrint.
  9023. * ToolStrip.cs: Add GetChildAtPoint.
  9024. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  9025. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  9026. 2007-05-22 Everaldo Canuto <[email protected]>
  9027. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  9028. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9029. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  9030. isn't visible anymore. Fixes #81651.
  9031. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9032. * Control.cs: WmShowWindow: Update children's z-order after setting
  9033. their parent. SetParent may show the window, thereby corrupting
  9034. z-order, since the window will be shown on top.
  9035. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  9036. multiple (and redundant) WM_SHOWWINDOW messages.
  9037. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  9038. event has already been raised.
  9039. * Form.cs: Change is_changing_visible_state to a counter, since
  9040. SetVisibleCore can be called recursively. CreateHandle: when
  9041. creating mdi children, send (De)Activated events.
  9042. * MdiClient.cs: Update use of is_changing_visible_state.
  9043. * Application.cs: OnThreadException: Surround exception handling with
  9044. try/finally to ensure we always reset the error-handling state
  9045. before leaving.
  9046. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  9047. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  9048. (#81704).
  9049. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  9050. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  9051. SmallIcon views, now that we have a standarized horizontal spacing.
  9052. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  9053. 4, just like the other views (Match .Net).
  9054. 2007-05-21 Jonathan Pobst <[email protected]>
  9055. * Control.cs: Delay calculating anchor distances until we actually layout.
  9056. Always query the WM for the actual size and location it put us at instead of
  9057. only when we send negative values.
  9058. [Fixes bugs #81694, 81695]
  9059. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  9060. * Application.cs: Avoid a possible stack overflow when trying to exit
  9061. the application.
  9062. 2007-05-19 Marek Safar <[email protected]>
  9063. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  9064. enum value.
  9065. 2007-05-19 Andreia Gaita <[email protected]>
  9066. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  9067. * NumericUpDownAcceleration.cs,
  9068. NumericUpDownAccelerationCollection.cs: Added 2.0
  9069. implementation.
  9070. 2007-05-19 Gert Driesen <[email protected]>
  9071. * RichTextBox.cs: Recalculate the document after the ScrollBars
  9072. property is changed. Fixes bug #81681.
  9073. 2007-05-18 Jonathan Pobst <[email protected]>
  9074. * DataObject.cs: Implement 2.0 methods.
  9075. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  9076. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  9077. in the center of the checkbox, not in the left-top corner.
  9078. Fixes #80037.
  9079. 2007-05-18 Jackson Harper <[email protected]>
  9080. * RichTextBox.cs: Recalculate the document after the scrollbars
  9081. property is changed.
  9082. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  9083. 81486.
  9084. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  9085. * CreateParams.cs: Make HasWindowManager marginally faster.
  9086. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  9087. into Hwnd so that other drivers can use it as well.
  9088. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  9089. the default location from Hwnd. Fixes MDI client windows always
  9090. showing up at (0,0) in Windows (Win32 won't set the default
  9091. location since the window styles aren't correct).
  9092. 2007-05-18 Gert Driesen <[email protected]>
  9093. * TreeView.cs: Modified DoubleBuffered to just use the base
  9094. implementation.
  9095. 2007-05-18 Jackson Harper <[email protected]>
  9096. * TreeView.cs: Set the top node to the last child node when
  9097. expanding all
  9098. - When we get focus, if there is no selected node, use the top
  9099. node.
  9100. 2007-05-18 Jonathan Pobst <[email protected]>
  9101. * KeysConverter.cs: Add CanConvertTo.
  9102. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  9103. * LinkConverter.cs: Added.
  9104. 2007-05-18 Everaldo Canuto <[email protected]>
  9105. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  9106. it prevents error when file dont have write access. Fixes #81669 and #81667.
  9107. 2007-05-18 Everaldo Canuto <[email protected]>
  9108. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  9109. button text. Fixes #79640.
  9110. 2007-05-18 Everaldo Canuto <[email protected]>
  9111. * Control.cs: According to MSDN controls created in the designer theres
  9112. keyboard accelerators visible by default. So included check for design
  9113. in ShowKeyboardCuesInternal.
  9114. 2007-05-18 Everaldo Canuto <[email protected]>
  9115. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  9116. text. Fixes #81621.
  9117. 2007-05-18 Everaldo Canuto <[email protected]>
  9118. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  9119. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  9120. 2007-05-17 Everaldo Canuto <[email protected]>
  9121. * Control.cs: Finish implementation of UI State using WmChangeUIState
  9122. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  9123. in some controls to check for show_keyboard_cues to draw accell keys "_".
  9124. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  9125. * ListBox.cs: When calculating the horizontal scrollbar
  9126. in single column mode, don't use values less than 0 for
  9127. Maximum. Fixes #81474.
  9128. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  9129. * ListBox.cs: Throw the some missing exceptions in
  9130. ListBox.ObjectCollection methods.
  9131. 2007-05-17 Jackson Harper <[email protected]>
  9132. * TextBoxBase.cs: Recalculate the document when the word wrap
  9133. value has changed. This fixes 81488.
  9134. 2007-05-17 Jonathan Pobst <[email protected]>
  9135. * Clipboard.cs: Implement missing GetText overload.
  9136. 2007-05-17 Chris Toshok <[email protected]>
  9137. * Control.cs (CheckDataBindings): remove the binding_context arg
  9138. to binding.Check.
  9139. * CurrencyManager.cs (OnItemChanged): fix this now that
  9140. BindingManagerBase is fixed. also remove the comment telling where
  9141. the fix should go. We set transfering_data to true/false around
  9142. the call to PushData to keep UpdateIsBinding from being called.
  9143. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  9144. PropertyDescriptorAdded in the 1.1 case. The extra call is
  9145. actually generated by System.Data generating 2 metadata changed
  9146. events of its own per column add. The fix should go there. Add a
  9147. comment to that affect in our test's Assert.Ignore.
  9148. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  9149. we keep a boolean flag (transfering_data) that keeps us from
  9150. calling UpdateIsBinding multiple times if we re-enter either of
  9151. them.
  9152. * ControlBindingsCollection.cs (AddCore): remove the
  9153. binding_context arg to binding.Check.
  9154. * Binding.cs (IsBinding): don't check if we're binding here, just
  9155. return our cached value. we update it in UpdateIsBinding.
  9156. (Check): don't take the binding_context arg, we'll just use our
  9157. control's. Also, for some reason MS doesn't use the data member
  9158. field when getting the bindingmanager for this binding. it just
  9159. uses the datasource. Make this method callable multiple times,
  9160. and only do the is_null_desc stuff if manager.Position != -1 (so
  9161. we don't get an exception accessing manager.Current).
  9162. (UpdateIsBinding): move the code from IsBinding here.
  9163. (PositionChangedHandler): call Check here to we can initialize
  9164. things that require a non- -1 position.
  9165. 2007-05-17 Everaldo Canuto <[email protected]>
  9166. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  9167. control.
  9168. 2007-05-17 Andreia Gaita <[email protected]>
  9169. * TabControl.cs: Add 2.0 methods and events, including
  9170. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  9171. * TabPage.cs: Add 2.0 methods
  9172. 2007-05-17 Everaldo Canuto <[email protected]>
  9173. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  9174. keyboard_cues is properly handled by message method.
  9175. 2007-05-17 Jonathan Pobst <[email protected]>
  9176. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  9177. 2007-05-17 Jonathan Pobst <[email protected]>
  9178. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  9179. 2007-05-16 Everaldo Canuto <[email protected]>
  9180. * Control.cs:
  9181. - WmUpdateUIState added to handle state changes, it make call to
  9182. OnChangeUICues event.
  9183. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  9184. SystemInformation.
  9185. 2007-05-16 Jonathan Pobst <[email protected]>
  9186. * ImageKeyConverter.cs: Added.
  9187. * TreeViewImageKeyConverter.cs: Added.
  9188. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  9189. * ToolTips.cs: Update Text if SetToolTip is called for a control
  9190. already showing the tooltip, as well as restarting its timer; show
  9191. tooltip if we are inside the control bounds by the time of calling
  9192. SetToolTip. Inside ShowTooltip remove the check to not show the
  9193. tooltip again for the active control (it is allowed by .Net to
  9194. show the tooltip on the same control multiple times).
  9195. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  9196. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  9197. 2007-05-16 Andreia Gaita <[email protected]>
  9198. * ContainerControl.cs: only process tab key if there are no
  9199. modifier keys present, otherwise the control does the
  9200. tab processing, if it needs to. Fixes #81622
  9201. * TabControl.cs: Fixes calculation for which tab to select on
  9202. shift+ctrl+tab.
  9203. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  9204. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  9205. 2007-05-15 Jonathan Pobst <[email protected]>
  9206. * Control.cs: Make IsInputCharInternal to allow controls to
  9207. override it and still match MS API.
  9208. * TextBoxBase.cs: Override IsInputCharInternal and always
  9209. return true.
  9210. [Fixes bug #81616]
  9211. 2007-05-15 Jackson Harper <[email protected]>
  9212. * TextBox.cs: Disable some of the menu options when using a
  9213. readonly textbox.
  9214. 2007-05-15 Jackson Harper <[email protected]>
  9215. * TextBox.cs:
  9216. * TextBoxBase.cs:
  9217. * RichTextBox.cs: Some new 2.0 methods
  9218. 2007-05-15 Gert Driesen <[email protected]>
  9219. * FileDialog.cs: On 1.0 profile, do not support multidotted
  9220. extensions.
  9221. 2007-05-14 Jackson Harper <[email protected]>
  9222. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  9223. * RichTextBox.cs: We need to override these methods on 2.0.
  9224. * MaskedTextBox.cs: These are implemented now
  9225. * TextControl.cs: This was off by one.
  9226. 2007-05-14 Jackson Harper <[email protected]>
  9227. * TextControl.cs: Because the line endings are including in the
  9228. text, we don't need to add them in anymore.
  9229. 2007-05-11 Everaldo Canuto <[email protected]>
  9230. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  9231. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  9232. 2007-05-11 Everaldo Canuto <[email protected]>
  9233. * ToolBar.cs: Adjust size to default size when button theres no text and
  9234. image, it fixes remaining issues from #81524.
  9235. 2007-05-11 Everaldo Canuto <[email protected]>
  9236. * ToolBar.cs:
  9237. - When not flat call redraw to recalculate sizes on creare handle to match
  9238. win32 behavior.
  9239. - Revert 77220 because it causes some regressions in toobar
  9240. button.
  9241. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  9242. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  9243. now actually enters a usable state.
  9244. 2007-05-11 Everaldo Canuto <[email protected]>
  9245. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  9246. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  9247. 3 buttons.
  9248. 2007-05-11 Everaldo Canuto <[email protected]>
  9249. * ToolBar.cs: Save default_size on create handle to use later for buttons
  9250. without text, needed to mimic win32 behavior.
  9251. 2007-05-11 Everaldo Canuto <[email protected]>
  9252. * ToolBar.cs: Fix button layour to best fit width or height according to
  9253. vertical or not. Fixes #81524.
  9254. 2007-05-10 Everaldo Canuto <[email protected]>
  9255. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  9256. toolbar size info because different styles theres different sizes.
  9257. Fixes #81522.
  9258. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  9259. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  9260. if we are using checkboxes, checked is true, and we have less
  9261. than two images in StateImageList; for the 1.1 in the same scenario
  9262. draw the first image if we have at least one image in StateImageList.
  9263. Fixes part of #81191.
  9264. 2007-05-10 Jonathan Pobst <[email protected]>
  9265. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  9266. the owner's Items collection on merge.
  9267. 2007-05-10 Jonathan Pobst <[email protected]>
  9268. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  9269. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  9270. and parent/owner gets changed based on gert's unit tests.
  9271. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  9272. * MaskedTextBox.cs: Started implementing parts of it.
  9273. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  9274. * ListView.cs: When clicking the checkbox on the items
  9275. take into account the double clicks even if we have only
  9276. one image in StateImageList (only for 1.0/1.1). Also
  9277. generate an extra change of checked state when we receive
  9278. the second click on checkbox (match .Net behaviour).
  9279. Fixes part of #81191.
  9280. 2007-05-10 Everaldo Canuto <[email protected]>
  9281. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  9282. 2007-05-10 Jonathan Pobst <[email protected]>
  9283. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  9284. even if OnLoad is overriden and base.OnLoad is not called.
  9285. [Fixes bug #81582]
  9286. 2007-05-10 Andreia Gaita <[email protected]>
  9287. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  9288. shame. (I blame my ever-persisting and annoying cold)
  9289. 2007-05-09 Jonathan Pobst <[email protected]>
  9290. * ListView.cs: Don't eat navigation keys. Let them flow through to
  9291. KeyDown/KeyPress routines. [Fixes bug #81569]
  9292. 2007-05-09 Jonathan Pobst <[email protected]>
  9293. * ListView.cs: When handling keys for selecting the item based off
  9294. keyboard input, do not consider keys pressed with Alt or Control. Also,
  9295. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  9296. 2007-05-09 Jonathan Pobst <[email protected]>
  9297. * Control.cs: When using UseWaitCursor, we have to store the requested
  9298. Cursor to use when UseWaitCursor is turned off.
  9299. 2007-05-09 Jonathan Pobst <[email protected]>
  9300. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  9301. to false.
  9302. * Application.cs: Use PreProcessControlMessage instead of
  9303. PreProcessMessage.
  9304. * PreProcessControlMessage.cs: Make internal for 1.1.
  9305. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  9306. * Control.cs: Add InternalContains focus property, which hast the same
  9307. functionality of ContainsFocus, but also including implicit controls.
  9308. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  9309. since we need to know if the focus is contained in our implicit
  9310. ItemControl when calculating Layout. Fixes part of #80888.
  9311. 2007-05-08 Everaldo Canuto <[email protected]>
  9312. * ToolTip.cs: Remove center form string alignment as it must be align to
  9313. left.
  9314. 2007-05-08 Jonathan Pobst <[email protected]>
  9315. * ToolStripItemCollection.cs: Set the new item's parent and owner
  9316. in Insert like we do in Add. [Fixes bug #81568]
  9317. 2007-05-08 Jackson Harper <[email protected]>
  9318. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  9319. - Off by one error in SetTop
  9320. - Disable DoubeBuffering
  9321. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  9322. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  9323. control as much as necessary in order to make it entirely visible,
  9324. instead of centering the control in the container (matches MS
  9325. behaviour). CalculateCanvasSize: we need to take the current scroll
  9326. position into account when calculating the maximum canvas,
  9327. otherwise the following scenario will fail: resize so that the
  9328. scrollbars appear, use the scrollbars to scroll, resize again
  9329. smaller, and now the canvas size is too small. Recalculate: when
  9330. showing scrollbars make sure they start off at 0, and try to scroll
  9331. the active control into view. Fixes #79540. HandleScrollBar: don't
  9332. scroll anywhere if the scrollbar isn't visible.
  9333. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  9334. * ListView.cs: When focus changed, call Layout/Invalidate
  9335. in the focused item to update the selected state (should show
  9336. entire label when ListView is focused, and a part of it if is not).
  9337. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  9338. for displaying the entire label not only the Focused state of the
  9339. item, but also the Focused state of the ListView (match .Net
  9340. behaviour).
  9341. 2007-05-07 Jonathan Pobst <[email protected]>
  9342. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  9343. Implement UseWaitCursor.
  9344. 2007-05-07 Jonathan Pobst <[email protected]>
  9345. Applying contributed patch from Sergey Volk.
  9346. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  9347. of SetDataObject.
  9348. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  9349. 2007-05-07 Jonathan Pobst <[email protected]>
  9350. * Control.cs: Implement DrawToBitmap.
  9351. 2007-05-07 Jonathan Pobst <[email protected]>
  9352. Applying contributed patch from Stefan Noack.
  9353. * Control.cs: Add [Get|Set]AutoSizeMode.
  9354. 2007-05-07 Jonathan Pobst <[email protected]>
  9355. * MdiClient.cs: Unmerge menus when the last child is closed.
  9356. 2007-05-07 Jonathan Pobst <[email protected]>
  9357. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  9358. * ToolStripManager.cs: Call Merge on DropDowns.
  9359. [Fixes bug #81477]
  9360. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  9361. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  9362. uints.
  9363. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  9364. visibility. We can't create forms visible, since we have to set the
  9365. owner before making the form visible (otherwise Win32 will do
  9366. strange things with task bar icons). The problem is that we set the
  9367. internal is_visible to true before creating the control, so
  9368. is_changing_visible_state is the only way of determining if we're
  9369. in the process of creating the form due to setting Visible=true -
  9370. this works because SetVisibleCore explicitly makes the form
  9371. visibile afterwards anyways. Fixes #80775.
  9372. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  9373. * ThemeWin32Classic.cs: When drawing ListViewItems,
  9374. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  9375. or LargeIcon _and_ item is not focused (match .Net behaviour).
  9376. 2007-05-04 Jonathan Pobst <[email protected]>
  9377. * Control.cs, Form.cs: Fix some obsolete method warnings.
  9378. 2007-05-04 Jonathan Pobst <[email protected]>
  9379. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  9380. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  9381. 2007-05-04 Andreia Gaita <[email protected]>
  9382. * ContainerControl.cs: Fix active_control attribution when going
  9383. up the parent chain so that the first parent container gets the control
  9384. and the rest of the parent containers get the child containers (skips
  9385. non-containers). Fixes #80729
  9386. 2007-05-04 Randolph Chung <[email protected]>
  9387. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  9388. [Fixes bug #81499]
  9389. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9390. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  9391. takes a size parameter, since the CreateParam's size isn't true for
  9392. minimized forms. Fixes #81518,
  9393. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9394. * Form.cs: Add OnDeactivateInternal.
  9395. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  9396. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  9397. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  9398. accessing the parent. Fixes #81508.
  9399. 2007-05-03 Chris Toshok <[email protected]>
  9400. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  9401. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  9402. was added before the current listposition. Fixes the
  9403. TestInsertRowBeforeCurrent unit test.
  9404. 2007-05-03 Jonathan Pobst <[email protected]>
  9405. * Application.cs: Add RaiseIdle.
  9406. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9407. XplatUIX11.cs: Implement RaiseIdle.
  9408. 2007-05-02 Jonathan Pobst <[email protected]>
  9409. corcompare work: N - Z
  9410. * NotifyIcon.cs
  9411. * ProgressBar.cs
  9412. * RadionButton.cs
  9413. * ScrollableControl.cs
  9414. * SplitContainer.cs
  9415. * SplitterPanel.cs
  9416. * StatusBar.cs
  9417. * SystemInformation.cs
  9418. * TabControl.cs
  9419. * TableLayoutControlCollection.cs
  9420. * TableLayoutPanel.cs
  9421. * TabPage.cs
  9422. * ToolBar.cs
  9423. * ToolBarButton.cs
  9424. * ToolStrip.cs
  9425. * ToolStripComboBox.cs
  9426. * ToolStripContainer.cs
  9427. * ToolStripContentPanel.cs
  9428. * ToolStripDropDown.cs
  9429. * ToolStripDropDownItem.cs
  9430. * ToolStripDropDownMenu.cs
  9431. * ToolStripItem.cs
  9432. * ToolStripItemCollection.cs
  9433. * ToolStripMenuItem.cs
  9434. * ToolStripPanel.cs
  9435. * ToolStripSplitButton.cs
  9436. * ToolTip.cs
  9437. * TreeNode.cs
  9438. * TreeNodeCollection.cs
  9439. * TreeNodeMouseHoverEventArgs.cs
  9440. * TreeView.cs
  9441. 2007-05-01 Everaldo Canuto <[email protected]>
  9442. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  9443. stuff. Thanks aatdark for the patch.
  9444. 2007-05-01 Jonathan Pobst <[email protected]>
  9445. * GridItem.cs: Implement 2.0 Tag property.
  9446. 2007-05-01 Frederik Carlier <[email protected]>
  9447. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  9448. count instead of Nodes.Length. [Fixes bug #81448]
  9449. 2007-05-01 Jonathan Pobst <[email protected]>
  9450. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  9451. [Fixes bug #81506]
  9452. 2007-05-01 Jonathan Pobst <[email protected]>
  9453. corcompare work: A - M
  9454. * BindingNavigator.cs
  9455. * Button.cs
  9456. * ButtonBase.cs
  9457. * CheckBox.cs
  9458. * Control.cs
  9459. * FlowLayoutPanel.cs
  9460. * Form.cs
  9461. * Label.cs
  9462. * LinkLabel.cs
  9463. * ListView.cs
  9464. 2007-05-01 Jonathan Pobst <[email protected]>
  9465. * Application.cs: Give toolstrips a chance to process mnemonics.
  9466. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  9467. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  9468. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  9469. 2007-05-01 Jackson Harper <[email protected]>
  9470. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  9471. wider area too.
  9472. - Don't set the BoundsSpecified
  9473. 2007-04-30 Jonathan Pobst <[email protected]>
  9474. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  9475. message to pass through to a regular control if it hosted by a toolstrip.
  9476. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  9477. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  9478. 2007-04-30 Jonathan Pobst <[email protected]>
  9479. * TextRenderer.cs: Use the flags argument when using the MeasureString
  9480. fallback algorithm.
  9481. 2007-04-30 Jonathan Pobst <[email protected]>
  9482. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  9483. the MDI menu item. [Fixes bug #81483]
  9484. 2007-04-30 Gert Driesen <[email protected]>
  9485. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  9486. string. When setting Name to null, use zero-length string instead.
  9487. 2007-04-29 Andreia Gaita <[email protected]>
  9488. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  9489. DeselectTab). Implement missing 2.0 TabPageCollection methods
  9490. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  9491. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  9492. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  9493. 2007-04-29 Gert Driesen <[email protected]>
  9494. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  9495. Fixes bug #81479. Include details of exception when LoadFile fails.
  9496. 2007-04-28 Alan McGovern <[email protected]>
  9497. * DrawListViewSubItemEventArgs.cs: Added missing setter
  9498. 2007-04-27 Andreia Gaita <[email protected]>
  9499. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  9500. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  9501. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  9502. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  9503. removed in ly last commit (it was breaking the Label edit feature).
  9504. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  9505. StringAlignment.Near for LineAlignment (match .Net).
  9506. 2007-04-27 Andreia Gaita <[email protected]>
  9507. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  9508. of controls if it isn't already there - was blowing up when doing
  9509. tabcontrol.TabPages[i]=new TabPage().
  9510. SetTab now does a replace by removing the page at the index.
  9511. Add a new InsertTab method that inserts a page in a given index
  9512. instead of replacing.
  9513. Implements TabPageCollection.Insert(int, TabPage).
  9514. 2007-04-27 Chris Toshok <[email protected]>
  9515. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  9516. internal handler that can be invoked from our subclasses.) Also,
  9517. add a comment to PushData about how we need to fix it.
  9518. * CurrencyManager.cs: tons of changes here. trying to get things
  9519. matching the behavior of .net wrt event orders (ItemChanged,
  9520. CurrentChanged, PositionChanged.) I've implemented a private .net
  9521. symbol (ChangeRecordState) that appears in stack traces because
  9522. it's actually easier to do this than to effective inline all its
  9523. various behaviors at every call site.
  9524. * RelatedPropertyManager.cs: guard against an exception here by
  9525. not using parent.Current if the position is set to -1 (if the
  9526. parent datasource is cleared, for instance).
  9527. * Binding.cs: don't parse data in PushData (this might be wrong,
  9528. but it jives with MS's behavior.) Also, don't call PushData when
  9529. we get a CurrentChanged event.
  9530. 2007-04-27 Andreia Gaita <[email protected]>
  9531. * WebBrowser.cs,
  9532. WebBrowserBase.cs,
  9533. WebBrowserSiteBase.cs,
  9534. HtmlDocument.cs: Added stubbed out classes, no real implementations
  9535. yet.
  9536. 2007-04-27 Everaldo Canuto <[email protected]>
  9537. * MainMenu.cs: In draw method without parameters call draw method with
  9538. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  9539. as Rect property is already adjusted. Fixes #80694.
  9540. 2007-04-27 Jonathan Pobst <[email protected]>
  9541. * Application.cs: Need to handle keyboard menu deselection here.
  9542. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  9543. navigation, allowing keyboard to work on X11.
  9544. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  9545. 2007-04-27 Everaldo Canuto <[email protected]>
  9546. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  9547. menu bar. It fixes some drawing issues in menu bar.
  9548. 2007-04-27 Everaldo Canuto <[email protected]>
  9549. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  9550. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  9551. when <alt> key is pressed.
  9552. 2007-04-26 Everaldo Canuto <[email protected]>
  9553. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  9554. example just set visible to false and make this prevent from other problems.
  9555. In SystrayAdd always remove pending expose. Fixes #81072.
  9556. 2007-04-26 Marek Safar <[email protected]>
  9557. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  9558. value is set.
  9559. 2007-04-26 Alan McGovern <[email protected]>
  9560. * ListView.cs: Added three missing 2.0 events and corresponding
  9561. EventHandlers. Added the OwnerDraw property.
  9562. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  9563. 2007-04-26 Alan McGovern <[email protected]>
  9564. * DrawListViewItemEventArgs.cs
  9565. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  9566. 2007-04-26 Alan McGovern <[email protected]>
  9567. * TextControl.cs: Fixed typo in constructor
  9568. 2007-04-26 Jonathan Pobst <[email protected]>
  9569. * Application.cs: Create a shortcut path so that currently selected
  9570. MenuStrips can intercept keyboard events without having focus.
  9571. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  9572. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  9573. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  9574. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  9575. generate WM_SYSCOMMAND message in X11 for other platforms.
  9576. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  9577. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  9578. * ToolStripSplitButton.cs: Add DefaultItem property.
  9579. 2007-04-26 Everaldo Canuto <[email protected]>
  9580. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  9581. fixes some menu draw problem on Windows with border diferent from default
  9582. it also fixes #81403.
  9583. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  9584. * Form.cs: Refactor WndProc into separate methods, just like Control is
  9585. doing it.
  9586. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  9587. * Control.cs: set_Text: move the call to the driver into a seperate
  9588. virtual method so that Form can override it.
  9589. * MaskedTextBox.cs: Corcompare fixes.
  9590. * Form.cs: Override UpdateWindowText and only update the styles if the
  9591. form has been shown (fixes #81405).
  9592. 2007-04-25 Jonathan Pobst <[email protected]>
  9593. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  9594. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  9595. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  9596. the form lost focus or another control was clicked.
  9597. 2007-04-25 Gert Driesen <[email protected]>
  9598. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  9599. fixed.
  9600. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  9601. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  9602. DrawListViewItemEventHandler.cs,
  9603. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  9604. Added.
  9605. * X11Structs.cs: More ToString implementation.
  9606. 2007-04-25 Jonathan Pobst <[email protected]>
  9607. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  9608. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  9609. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  9610. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  9611. handle.
  9612. * FormCollection.cs: Don't add a form if it's already in the
  9613. collection.
  9614. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  9615. according to behaviour and MSDN. The ownerWin32 is the active
  9616. window at the moment when we call ShowDialog, not the context's
  9617. main form (the context's main form may open another form that opens
  9618. a form with ShowDialog, the win32 owner is the second form). Add
  9619. and remove forms to the Application.OpenForms in other places to
  9620. better match MS behaviour. Add an IsActive property that raises
  9621. On(de)Activated only if the active state has changed (we were
  9622. raising OnDeactivated before OnActivated while creating forms).
  9623. * Application.cs: Refactor Enabling/Disabling of windows for modal
  9624. dialog loops out to separate methods, and restore the thread
  9625. context when we quit the method. Fixes #81407.
  9626. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  9627. * ListView.cs: In ItemControl.HandleClicks, also fire
  9628. 2.0 MouseClick or MouseDoubleClick events on the parent,
  9629. not only the Click/DoubleClick events.
  9630. 2007-04-24 Andreia Gaita <[email protected]>
  9631. * TableLayoutSettings.cs:
  9632. - Added a GetControls method and a support structure to help the
  9633. TypeConverter to enumerate the controls for serialization.
  9634. - Added a new serialization constructor.
  9635. - Added a isSerialized flag initialized to true on the
  9636. serialization constructor so that the TableLayoutPanel.LayoutSettings
  9637. setter does not throw the designed NotSupportedOperation exception
  9638. when the object is built through deserialization.
  9639. - Implemented GetObjectData
  9640. * TableLayoutPanel.cs: Added check on LayoutSettings.
  9641. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  9642. * ListView.cs: Report Click and DoubleClick events to the parent
  9643. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  9644. from breaking the click count state when using dialog forms (Control
  9645. reports the clicks in a similar fashion). In the previous behaviour
  9646. the last WM_LBUTTONUP message in a double click was sent to the
  9647. ListView's form, instead of the ListView, which was breaking the click
  9648. count for it. Fixes #80387.
  9649. 2007-04-24 Alan McGovern <[email protected]>
  9650. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  9651. 2007-04-24 Jonathan Pobst <[email protected]>
  9652. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  9653. us from created dropdowns for menu items that do not have subitems.
  9654. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  9655. Check HasDropDownItems before calling DropDown so a dropdown will not be
  9656. created if it isn't needed.
  9657. 2007-04-24 Jackson Harper <[email protected]>
  9658. * TreeView.cs: Set the first node to the selected node when we get
  9659. focus if there is no selected node.
  9660. 2007-04-24 Andreia Gaita <[email protected]>
  9661. * MimeIcon.cs: remove using blocks so that image streams are
  9662. not disposed of. Fixes #80151
  9663. 2007-04-24 Jackson Harper <[email protected]>
  9664. * TextBoxBase.cs: Fixup the height of textboxes when the control
  9665. is created.
  9666. 2007-04-24 Jonathan Pobst <[email protected]>
  9667. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  9668. for each ToolStripItem when the parent's RightToLeftChanged is called.
  9669. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9670. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  9671. Fixes #80163.
  9672. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  9673. property, so that the setter can be overriden too.
  9674. * TextBox.cs: Change GetContextMenuInternal() to use
  9675. ContextMenuInternal.
  9676. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9677. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  9678. #81406.
  9679. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9680. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  9681. #81406.
  9682. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  9683. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  9684. avoid duplicate work. Mostily skeleton code, it's not working at
  9685. all yet.
  9686. 2007-04-20 Leszek Ciesielski <[email protected]>
  9687. * NotifyIcon.cs : stub for MouseClick event
  9688. * Application.cs: stub for SetUnhandledExceptionMode
  9689. 2007-04-24 Alan McGovern <[email protected]>
  9690. * BindingNavigator.cs : Initial (partial) implementation
  9691. 2007-04-23 Jackson Harper <[email protected]>
  9692. * TreeView.cs: Do not create the treeview's handle when setting
  9693. the scroll position.
  9694. - ExpandAll needs to compute the scrollbars so it knows which
  9695. position to set the bar too.
  9696. * TreeNode.cs:
  9697. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  9698. 2007-04-23 Jackson Harper <[email protected]>
  9699. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  9700. key. Fixes #81408.
  9701. 2007-04-23 Jonathan Pobst <[email protected]>
  9702. * ToolStripItem.cs: Make GetImageSize internal.
  9703. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  9704. need to draw an item. Fixes a reported issue where images on menus
  9705. that were not 16x16 were drawing incorrectly.
  9706. 2007-04-21 Miguel de Icaza <[email protected]>
  9707. * Padding.cs: Use the converter, fixes the resgen2 issue with
  9708. XMLNotePad.
  9709. 2007-04-21 Jackson Harper <[email protected]>
  9710. * TreeView.cs: Dont try to unhighlight the selected node if there
  9711. isn't a selected node.
  9712. 2007-04-21 Jackson Harper <[email protected]>
  9713. * UpDownBase.cs:
  9714. * TextBoxBase.cs:
  9715. * ListView.cs:
  9716. * ListBox.cs:
  9717. * TreeView.cs: Use the InternalBorderStyle property to set the
  9718. initial border style, this forces the client rectangle to be sized
  9719. correctly.
  9720. 2007-04-20 Jackson Harper <[email protected]>
  9721. * TreeView.cs: Simplify scrolling to the last node after expanding
  9722. all.
  9723. - Fix some off by ones with setting the bottom.
  9724. 2007-04-20 Jonathan Pobst <[email protected]>
  9725. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  9726. that. We were incorrectly doing it the other way around. Also,
  9727. update ClientSize if we change the BorderStyle before the control
  9728. is created.
  9729. 2007-04-20 Gert Driesen <[email protected]>
  9730. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  9731. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  9732. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  9733. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  9734. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  9735. Caption to CaptionHeight.
  9736. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  9737. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  9738. and FixedFrameBorderSize to return value from current XplatUI driver.
  9739. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  9740. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  9741. and FixedFrameBorderSize using win32 API. Renamed Caption to
  9742. CaptionHeight.
  9743. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  9744. * SystemInformation.cs: Fixed typo in BorderSize.
  9745. 2007-04-20 Gert Driesen <[email protected]>
  9746. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  9747. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  9748. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  9749. returning false.
  9750. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  9751. value from XplatUI driver.
  9752. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  9753. SystemParametersInfo.
  9754. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  9755. override.
  9756. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  9757. returning false.
  9758. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  9759. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  9760. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  9761. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  9762. 2007-04-20 Jonathan Pobst <[email protected]>
  9763. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  9764. MenuStrips that contain ToolStripSeparators.
  9765. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  9766. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  9767. DefineStdCursorBitmap.
  9768. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  9769. has been created off a standard cursor. This is used to get a
  9770. bitmap of the standard cursor when Draw or DrawStretched is called
  9771. in order to draw the cursor.
  9772. * X11Structs.cs: Added XcursorImage and XcursorImages.
  9773. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  9774. DefineStdCursorBitmap.
  9775. * Cursors.cs: Update all relevant creations of Cursor to use the new
  9776. internal constructor.
  9777. 2007-04-19 Jackson Harper <[email protected]>
  9778. * TextBox.cs: Move the has_been_focused into the base control, so
  9779. some of the text adding methods can manipulate it (probably time
  9780. for a better name for this flag too).
  9781. - Call a new version of selectall that doesn't scroll
  9782. * TextBoxBase.cs: When we append text, if the document is empty,
  9783. don't scroll. If the document has text already, we scroll to the
  9784. end of the appended text.
  9785. - When the text is changed, we reset the has_been_focused, so the
  9786. next time the control gets focused, all the text is selected.
  9787. 2007-04-19 Jackson Harper <[email protected]>
  9788. * TextControl.cs: Move the margins to the document, add a method
  9789. so the margin sizes can be updated.
  9790. * TextBoxBase.cs: When the border style is changed, update the
  9791. border sizes.
  9792. 2007-04-19 Jonathan Pobst <[email protected]>
  9793. * Control.cs: Respect DefaultPadding.
  9794. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  9795. padding into account.
  9796. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  9797. 2007-04-19 Jackson Harper <[email protected]>
  9798. * TextControl.cs: Oops, we need to use the ClientRect not the
  9799. bounds here.
  9800. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  9801. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  9802. account the double clicks when CheckBoxes are used and
  9803. the pointer is inside the checkbox. Fixes part of #81191.
  9804. 2007-04-18 Jackson Harper <[email protected]>
  9805. * TextControl.cs: Pressing the end key shouldn't move the caret
  9806. past the line ending.
  9807. * TextBoxBase.cs: We can still delete if we are in the line
  9808. ending and the combine will just kill the existing line ending.
  9809. 2007-04-18 Jackson Harper <[email protected]>
  9810. * TextControl.cs: We can't move lines, then invalidate their
  9811. bounds, we need to get the old bounds and combine that with the
  9812. new bounds.
  9813. * TextBoxBase.cs: Before combining two lines for a delete, we need
  9814. to invalidate the area of the old line, since that will be moved
  9815. in the combine operation.
  9816. 2007-04-18 Everaldo Canuto <[email protected]>
  9817. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  9818. with transparent background. Fixes #80482.
  9819. 2007-04-18 Jonathan Pobst <[email protected]>
  9820. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  9821. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  9822. [Fixes bug #81391]
  9823. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  9824. * CreateParams.cs: Add a couple of helper methods and do a less string
  9825. concatenation in ToString.
  9826. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  9827. overload that takes a Control parameter, since this method may be
  9828. called before a control is assigned to the hwnd (from
  9829. CreateWindow), and update CreateWindow to use the new overload. In
  9830. GetMenuOrigin subtract the title bar from the y position if the
  9831. form has a window manager (since we're painting it and not X).
  9832. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  9833. CreateParams to calculate the origin (since border sizes may vary).
  9834. In ScreenToMenu only subtract the title height if we actually have
  9835. a title.
  9836. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  9837. mdi children never have menus of themselves.
  9838. * InternalWindowManager.cs: Implement menu handling like form does.
  9839. Added GetMenuOrigin to calculate the menu origin, can't use the
  9840. CreateParams from the form like normally since it's lying.
  9841. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  9842. windows-like) and add Inflate and comparison operators to the
  9843. Borders type. When calculating MenuOrigin and it's a form with a
  9844. window manager, use the window manager to calculate it.
  9845. 2007-04-17 Chris Toshok <[email protected]>
  9846. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  9847. OnBindingContextChanged thing here. It's only generated from
  9848. ContainerControl.OnCreateControl. Fixes a newly written unit test
  9849. - BindingTest.BindingContextChangedTest4.
  9850. 2007-04-17 Jackson Harper <[email protected]>
  9851. * ScrollBar.cs: When setting values, make sure the current
  9852. position stays within the new values range.
  9853. 2007-04-17 Chris Toshok <[email protected]>
  9854. * Control.cs (CreateControl): talk about a bizarre corner case.
  9855. Don't emit OnBindingContextChanged here if we're a parentless
  9856. control (i.e. if we're a form.). Fixes
  9857. BindingTest.BindingContextChangedTest2.
  9858. 2007-04-17 Everaldo Canuto <[email protected]>
  9859. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  9860. from win32. Fixes #81255.
  9861. 2007-04-17 Everaldo Canuto <[email protected]>
  9862. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  9863. already present in CalculateButtonTextAndImageLayout.
  9864. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  9865. * XplatUIX11.cs: When setting min/max size for a window we need to
  9866. translate the coordinates to x coordinates. Create an overload of
  9867. SetWindowMinMax that takes a CreateParams handling this, and change
  9868. SetWMStyles to call this function (can't use Control.FromHandle in
  9869. the SetWindowMinMax to get the control/CreateParams from the handle
  9870. because the handle might not have been assigned to the control
  9871. yet). Fixes #81371.
  9872. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  9873. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  9874. if StateImageList is non-null and it has less than two items (match MS
  9875. behaviour). Also, in HandleNavKeys handle the Space key, calling
  9876. the new ToggleItemsCheckState method, which tries to change the
  9877. checked state of the selected items. Fixes part of #81191.
  9878. 2007-04-16 Jackson Harper <[email protected]>
  9879. * RichTextBox.cs: namespace cleanup.
  9880. 2007-04-16 Everaldo Canuto <[email protected]>
  9881. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  9882. 2007-04-16 Everaldo Canuto <[email protected]>
  9883. [Fixes #79447]
  9884. * Control.cs: Call invalidate in set_Region.
  9885. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  9886. it dont works here.
  9887. 2007-04-16 Jackson Harper <[email protected]>
  9888. * TextBoxBase.cs: When enter is pressed, we need to update all
  9889. lines below the current.
  9890. 2007-04-16 Jonathan Pobst <[email protected]>
  9891. * MdiClient.cs: Implement implicit menu merging for MDI
  9892. children. When a child form is active, if it has a menustrip
  9893. and the parent form has a MainMenuStrip, automatically merge
  9894. the menus.
  9895. 2007-04-15 Andreia Gaita <[email protected]>
  9896. * TabControl.cs: Refactored sizing methods to not repeat
  9897. code all over the place. Tab bounds are now calculated
  9898. as if alignment is top and single line, and only when
  9899. setting the bounds are the positions adjusted according
  9900. to alignment. Replaced hardcoded positions, spacings and
  9901. paddings by getting the values the ThemeEngine.
  9902. Fixes #79619.
  9903. * Theme.cs: Change TabControl properties and methods so
  9904. that all start with TabControl*. Added more properties
  9905. to help remove hardcoded values on tabcontrol.
  9906. Add CPDrawBorder3D declaration so the Theming classes
  9907. can access it.
  9908. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  9909. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  9910. on the Theming namespace, and call the appropriate methods here.
  9911. Change CPDrawBorder3D to public.
  9912. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  9913. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  9914. the control after firing the OnMouseUp event, instead of sending
  9915. the message before the mentioned event. This is so we can match the
  9916. MS behaviour. Fixes part of #80385.
  9917. 2007-04-13 Jonathan Pobst <[email protected]>
  9918. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  9919. RightToLeft property.
  9920. 2007-04-13 Jonathan Pobst <[email protected]>
  9921. * ToolStrip.cs: Add properties and internal methods to support merging.
  9922. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  9923. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  9924. not trigger reparenting or layouts.
  9925. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  9926. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  9927. is hosting the overflow menu.
  9928. 2007-04-13 Jackson Harper <[email protected]>
  9929. * TextControl.cs: Set the line ending correctly for the first
  9930. inserted line.
  9931. 2007-04-13 Sebastien Pouliot <[email protected]>
  9932. * Theme.cs: Update GetMethod to get the new definition for
  9933. KnownColors.Update (and fix theme color updates).
  9934. 2007-04-12 Everaldo Canuto <[email protected]>
  9935. * MessageBox.cs: Fix some test and button position.
  9936. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  9937. * Form.cs: Consider the implicit controls in
  9938. GetRealChildAtPoint. We need it since this method
  9939. is called on Form when handling the some messages in
  9940. WndProc, and need to consider those implicit ones too.
  9941. Fixes #80385.
  9942. 2007-04-12 Jonathan Pobst <[email protected]>
  9943. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  9944. if there are no ShortcutKeys set.
  9945. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  9946. set, use it when painting.
  9947. 2007-04-12 Jackson Harper <[email protected]>
  9948. * TextControl.cs: Fix some off-by-one issues in line duplication
  9949. and insertion in the undo manager. Also, overwrite the first tag
  9950. of a line on insert, if it is just a zero lengthed tag. This
  9951. prevents us from getting an extra stranded tag at the beginning of
  9952. the first line.
  9953. 2007-04-11 Everaldo Canuto <[email protected]>
  9954. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  9955. to calculated proper size including when handle was not created yet.
  9956. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  9957. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  9958. when the mouse is outside of it's parent's client rectangle. Fixes
  9959. #79982 (take 3, part 2).
  9960. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  9961. * X11Structs.cs: Add a few ToString() overrides.
  9962. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  9963. the window location in a window-manager independent way. Reworked
  9964. FrameExtents, it now actually works. Reworked AddConfigureNotify
  9965. and ReparentNotify handling to use GetTopLevelWindowLocation
  9966. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  9967. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  9968. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  9969. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  9970. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  9971. and generally refactored to do as few calculations as possible
  9972. inside the lock.
  9973. 2007-04-09 Sebastien Pouliot <[email protected]>
  9974. * Theme.cs: Change "reflective-contract" between MWF and SD to
  9975. minimize # of calls, avoid Color serialization and avoid updating
  9976. every "known colors" each time a single one is updated.
  9977. 2007-04-09 Gert Driesen <[email protected]>
  9978. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  9979. when not readonly and the text is explicitly set. Code style updates.
  9980. * DataGridTableStyle.cs: Removed extra line.
  9981. * DataGrid.cs: Code style updates. Removed extra whitespace.
  9982. * DataGridColumnStyle.cs: Code style updates. Removed extra
  9983. whitespace.
  9984. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  9985. * XplatUIX11.cs: Added comment that "fixes" #80021.
  9986. 2007-04-09 Jackson Harper <[email protected]>
  9987. * TextControl.cs: We don't need this -1 on the line count anymore.
  9988. 2007-04-09 Gert Driesen <[email protected]>
  9989. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  9990. entered value to underlying type, and convert it back to a string to
  9991. apply formatting. Modified GetFormattedValue to use TypeConverter
  9992. if available.
  9993. 2007-04-08 Gert Driesen <[email protected]>
  9994. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  9995. Use SubItems property when we want to ensure there's at least one
  9996. subitem. Modified SubItems property to ensure there's always at least
  9997. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  9998. the NRE's reported by MS.
  9999. 2007-04-07 Gert Driesen <[email protected]>
  10000. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  10001. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  10002. Spaces to tabs. Removed extra tabs.
  10003. 2007-04-06 Jonathan Pobst <[email protected]>
  10004. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  10005. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  10006. 2007-04-06 Jackson Harper <[email protected]>
  10007. * TextBoxBase.cs: When a delete removes a line, recalculate all
  10008. lines below that line (they need to get offsets setup correctly)
  10009. and invalidate.
  10010. 2007-04-05 Jackson Harper <[email protected]>
  10011. * TextControl.cs: We need to invalidate across the width of the
  10012. document when we are invalidating multiple lines.
  10013. * TextBoxBase.cs: Don't delete into the line ending.
  10014. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  10015. * ListView.cs: Restore the check for the MouseHover event
  10016. in ListView. It looks like the ListView fires more than one MouseHover
  10017. event when HoverSelection is true _only_ in weird-corner scenarios, but
  10018. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  10019. event.
  10020. 2007-04-05 Mike Kestner <[email protected]>
  10021. * ListView.cs : raise MouseDown before updating selection.
  10022. [Fixes #80373 tab 1&3]
  10023. 2007-04-05 Jonathan Pobst <[email protected]>
  10024. * ToolStripRenderer.cs: Add static method to mirror image.
  10025. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  10026. and RightToLeftAutoMirrorImage.
  10027. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  10028. 2007-04-05 Jonathan Pobst <[email protected]>
  10029. * ToolStripSplitStackLayout.cs: Support Alignment property.
  10030. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  10031. 2007-04-05 Jackson Harper <[email protected]>
  10032. * TextControl.cs: Move around the line endings when crossing line
  10033. boundaries.
  10034. - When combining lines, strip the ending text off the first line.
  10035. 2007-04-05 Jackson Harper <[email protected]>
  10036. * TextControl.cs:
  10037. * TextBoxBase.cs: Try to never move the cursor into the line
  10038. ending.
  10039. 2007-04-04 Jonathan Pobst <[email protected]>
  10040. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  10041. the item is disabled. Also add a few missing methods.
  10042. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  10043. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  10044. to fire just one MouseHover event when HoverSelection is true, since
  10045. .Net does fire more than one MouseHover event in that scenario. Also,
  10046. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  10047. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  10048. Finally, we need to reset the Hover logic in MouseMove, even when we
  10049. don't have a selected item.
  10050. 2007-04-04 Jonathan Pobst <[email protected]>
  10051. * ToolStrip.cs: Add several missing methods, properties, and events.
  10052. 2007-04-04 Chris Toshok <[email protected]>
  10053. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  10054. (0,0,0,0) in Commit, as MS does.
  10055. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  10056. make sure we set CurrentRow on a row header click *before* calling
  10057. Select. This moves the current cell (and the textbox) to the new
  10058. row. The call to Select then hides the textbox, giving us the
  10059. correct behavior. Fixes #80362.
  10060. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  10061. (ListChangedHandler): reorder the position/current changed events,
  10062. and call UpdateIsBinding in the ItemAdded case.
  10063. * GridColumnStylesCollection.cs: add some columns events, one of
  10064. which raises the CollectionChanged event.
  10065. 2007-04-04 Jackson Harper <[email protected]>
  10066. * TextControl.cs: When we delete multiple selection lines
  10067. invalidate the selection area, don't need to do that for single
  10068. lines because the final update view will handle it.
  10069. 2007-04-04 Jonathan Pobst <[email protected]>
  10070. * Control.cs: When we CreateControl, we need to also create all of the
  10071. control's children. The child's OnLoad must also fire before the parent's
  10072. OnLoad. Fixes the toolbox size in PDN.
  10073. 2007-04-04 Jackson Harper <[email protected]>
  10074. * TextBoxBase.cs: When the user presses enter, insert a line
  10075. ending into the text. (Maybe this would be a good spot for
  10076. Environment.NewLine).
  10077. * TextControl.cs: Remove undo manager hack, line endings get
  10078. inserted properly now.
  10079. 2007-04-04 Everaldo Canuto <[email protected]>
  10080. * MenuAPI.cs:
  10081. - Remove unneeded parameters in UpdateCursor.
  10082. - Fix UpdateCursor to check if menu is active.
  10083. - Call UpdateCursor when menu deactivate my click.
  10084. [Fixes remaining issues from #80410]
  10085. 2007-04-04 Everaldo Canuto <[email protected]>
  10086. * Control.cs: GetRealChildAtPoint method added, it make an
  10087. recursive child control search for the point.
  10088. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  10089. menu.
  10090. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  10091. 2007-04-03 Everaldo Canuto <[email protected]>
  10092. * Form.cs: Fix mouse position when send back mouse event after closes
  10093. menu.
  10094. 2007-04-03 Everaldo Canuto <[email protected]>
  10095. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  10096. 2007-04-03 Jonathan Pobst <[email protected]>
  10097. * Control.cs: Fix an issue where if a user resized a control inside
  10098. a sizing method like OnResize, we would overwrite their explicit
  10099. value. Also, only call DefaultSize once in the constructor instead
  10100. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  10101. nothing actually changed.
  10102. 2007-04-03 Jackson Harper <[email protected]>
  10103. * TextControl.cs: Don't attempt to copy text for lines with no
  10104. text in them (technically this shouldn't happen, but we aren't
  10105. always inserting line endings when we should be).
  10106. 2007-04-03 Jackson Harper <[email protected]>
  10107. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  10108. document, because this sets some of the document size properties
  10109. that are needed.
  10110. 2007-04-03 Jackson Harper <[email protected]>
  10111. * TextBoxBase.cs: We need to calculate maximums even if this is
  10112. not a multiline control, because the maxs are used for scrolling.
  10113. - Display the caret after doing a page up/down, we need to
  10114. manually display it because a proper CaretMoved event isn't
  10115. triggered (this is because of the way the math is done to
  10116. determine how far to scroll).
  10117. 2007-04-03 Jonathan Pobst <[email protected]>
  10118. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  10119. (ToolBar was relying on SetBoundsCore to default the values sent
  10120. base off of BoundsSpecified.)
  10121. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10122. * DateTimePicker.cs: Change Text so that when a null value or empty
  10123. string is assigned to the test we always raise ValueChanged and
  10124. TextChanged (earlier implementation would only raise ValueChanged
  10125. if the current date value was different from DateTime.Now).
  10126. 2007-04-03 Andreia Gaita <[email protected]>
  10127. * ButtonBase: Call update after invalidation, fixes #80194
  10128. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10129. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  10130. #79335.
  10131. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10132. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  10133. FormBorderStyle = None, don't give the window any decorations.
  10134. Fixes #81276.
  10135. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  10136. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  10137. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  10138. to check for is a mix of several styles (such as WS_CAPTION for
  10139. instance).
  10140. * Control.cs: Don't paint an area bigger than the client area when
  10141. painting the background colour. Add an internal GetCreateParams.
  10142. Update calls to XplatUI.CalculateWindowRect due to API change.
  10143. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  10144. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  10145. the size if it hasn't been handled by any windows. When creating
  10146. and moving windows, X wants the location of the entire window, but
  10147. the size of the client window, so add
  10148. TranslateClientRectangleToXClientRectangle,
  10149. TranslateWindowSizeToXWindowSIze and
  10150. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  10151. before every window creation and move. Update CalculateWIndowRect
  10152. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  10153. In AddConfigureNotify don't do anything if the hwnd is a zombie
  10154. (fixes the BadWindow we were getting while running the tests),
  10155. always calculate the offsets when it's a parentless window, not
  10156. only when reparented, and translate the window size, since we're
  10157. getting the client size of the whole window, excluding entire
  10158. window.
  10159. * Theme.cs: Added BorderSizableSize.
  10160. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  10161. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  10162. chang
  10163. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  10164. change. Fake the window styles here instead of in XplatUIWin32 so
  10165. that all back-ends get the same window styles (and it's Form that's
  10166. deciding when to use wm, not the Win32 backend anyways)
  10167. * Hwnd.cs: Completely reworked GetWindowRectangle and
  10168. GetClientRectangle - they are now passed a CreateParams and they
  10169. only use Style and ExStyle to determine the rectangles (they should
  10170. now work just like Win32AdjustWindowRectEx - though quite a few
  10171. special cases are probably missing). They should also be 100%
  10172. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  10173. == rect), and all numbers (borders, menu sizes) are taken from the
  10174. current theme. Added a GetBorders helper function that will return
  10175. the borders for any given CreateParams (including captions and
  10176. menus), and GetBorderSize that returns the given border size only.
  10177. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  10178. Hwnd.GetClientRectangle.
  10179. 2007-04-02 Chris Toshok <[email protected]>
  10180. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  10181. logic between the values we present to the user and the values
  10182. which are stored in the column's property. Also, don't call
  10183. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  10184. 2007-04-02 Jackson Harper <[email protected]>
  10185. * TextBoxBase.cs: Scroll faster!
  10186. 2007-04-02 Jonathan Pobst <[email protected]>
  10187. * StatusStrip.cs: Layout fixes for PDN.
  10188. * ToolStrip.cs: Set item's available to true, and placement to main when
  10189. added.
  10190. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  10191. changing in setter before doing any work, add InternalVisible.
  10192. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  10193. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  10194. infinite loop.
  10195. 2007-04-02 Jackson Harper <[email protected]>
  10196. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  10197. text on focus.
  10198. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  10199. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  10200. Makes ToolStripComboBoxes show up again.
  10201. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  10202. * ListView.cs: Add a hover_pending field in ListView
  10203. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  10204. cycle (we are resetting the MouseHover logic in XplatUI
  10205. to handle HoverSelection). Fixes #80429.
  10206. 2007-04-02 Jackson Harper <[email protected]>
  10207. * TextControl.cs: Make sure the attributes get set on the last
  10208. tag.
  10209. - Still have to do the end tag if we have stepped all the ways to
  10210. the end.
  10211. 2007-04-02 Sebastien Pouliot <[email protected]>
  10212. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  10213. on an internal libgdiplus call when the information is already
  10214. available via the public API.
  10215. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  10216. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  10217. control is removed from a control collecftion.
  10218. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  10219. Fixes FormPropertyTest (failed on rare occasions).
  10220. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  10221. of Win32SetParent (when changing from no parent to a parent it
  10222. might add the new parent's location in screen coordinates to this
  10223. window's location).
  10224. * Form.cs: Rework ChangingParent once again, now the handle is
  10225. recreated whenever a FormWindowManager is added or removed (that is
  10226. whenever a normal form is parented or abandoned). Also change
  10227. CreateParams so that all non-toplevel windows always get the
  10228. specified sice (StartupPosition is never considered for
  10229. non-TopLevel forms).
  10230. * ContainerControl.cs: Add ChildControlRemoved, the container control
  10231. needs to be notified when a control is removed from it's
  10232. collection, in the case the removed control is the active control.
  10233. 2007-04-02 Jackson Harper <[email protected]>
  10234. * RichTextBox.cs: Use the new methods for setting the font and
  10235. color, these methods set the specified attribute without
  10236. overriding the other attributes.
  10237. 2007-04-02 Jonathan Pobst <[email protected]>
  10238. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  10239. 2007-03-31 Gert Driesen <[email protected]>
  10240. * TextBox.cs: Added internal ChangeBackColor method to special-case
  10241. Color.Empty. Added check for invalid ScrollBars value.
  10242. * TextBoxBase.cs: Added internal ChangeBackColor method.
  10243. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  10244. internal ChangeBackColor method to special-case Color.Empty. Added
  10245. check for invalid ScrollBars value.
  10246. 2007-03-30 Everaldo Canuto <[email protected]>
  10247. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  10248. 2007-03-30 Jonathan Pobst <[email protected]>
  10249. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  10250. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  10251. [Based on submitted patch from Olivier Duff.]
  10252. 2007-03-30 Jackson Harper <[email protected]>
  10253. * TextBox.cs: Only select all on initial focus if the user has not
  10254. specified a selection area.
  10255. 2007-03-30 Jonathan Pobst <[email protected]>
  10256. * UserControl.cs: Override CreateParams.
  10257. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  10258. [ Fixes #80995 ]
  10259. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  10260. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  10261. check for is a mix of several styles (such as WS_CAPTION for instance).
  10262. * Control.cs: Don't paint an area bigger than the client area when painting
  10263. the background colour. Add an internal GetCreateParams. Update calls to
  10264. XplatUI.CalculateWindowRect due to API change.
  10265. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  10266. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  10267. hasn't been handled by any windows. When creating and moving windows, X
  10268. wants the location of the entire window, but the size of the client
  10269. window, so add TranslateClientRectangleToXClientRectangle,
  10270. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  10271. to cope with this, and call them before every window creation and move.
  10272. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  10273. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  10274. hwnd is a zombie (fixes the BadWindow we were getting while running the
  10275. tests), always calculate the offsets when it's a parentless window, not
  10276. only when reparented, and translate the window size, since we're getting
  10277. the client size of the whole window, excluding entire window.
  10278. * Theme.cs: Added BorderSizableSize.
  10279. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  10280. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  10281. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  10282. Fake the window styles here instead of in XplatUIWin32 so that all
  10283. back-ends get the same window styles (and it's Form that's deciding when
  10284. to use wm, not the Win32 backend anyways)
  10285. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  10286. they are now passed a CreateParams and they only use Style and ExStyle
  10287. to determine the rectangles (they should now work just like
  10288. Win32AdjustWindowRectEx - though quite a few special cases are probably
  10289. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  10290. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  10291. sizes) are taken from the current theme. Added a GetBorders helper
  10292. function that will return the borders for any given CreateParams
  10293. (including captions and menus), and GetBorderSize that returns the given
  10294. border size only.
  10295. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  10296. Hwnd.GetClientRectangle.
  10297. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  10298. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  10299. layout of the mdi children is handled by CreateParams. Fixes
  10300. #79964,
  10301. 2007-03-29 Everaldo Canuto <[email protected]>
  10302. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  10303. processed.
  10304. * Form.cs: When active tracker mouse down is not processed, send event
  10305. back to control inside mouse position. [Fixes #81227]
  10306. 2007-03-29 Jonathan Pobst <[email protected]>
  10307. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  10308. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  10309. stealing focus from the active form on Windows. (Control will be made
  10310. visible in ShowWindow.)
  10311. 2007-03-29 Mike Kestner <[email protected]>
  10312. * ImageList.cs : add internal Changed event.
  10313. * ListView.cs : hook up to StateImageList.Changed to perform
  10314. invalidations when the the state icon list changes. [Fixes #81191]
  10315. 2007-03-29 Jonathan Pobst <[email protected]>
  10316. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  10317. to prevent tooltips from stealing focus from the active form on Windows.
  10318. 2007-03-29 Everaldo Canuto <[email protected]>
  10319. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  10320. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  10321. 2007-03-29 Everaldo Canuto <[email protected]>
  10322. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  10323. balloons.
  10324. 2007-03-29 Jackson Harper <[email protected]>
  10325. * TextControl.cs: When deleting text from non multiline textboxes,
  10326. we need to update the entire document, because line offsets will
  10327. be shifting.
  10328. 2007-03-29 Everaldo Canuto <[email protected]>
  10329. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  10330. added to theme, now we can create themes that uses diferent notify engines
  10331. like notification-daemon from galago project or growl for Mac OS.
  10332. 2007-03-28 Everaldo Canuto <[email protected]>
  10333. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  10334. 2007-03-28 Everaldo Canuto <[email protected]>
  10335. * XplatUIX11.cs: Prevent system to open more than one balloon.
  10336. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  10337. some compiler warning messages.
  10338. 2007-03-28 Everaldo Canuto <[email protected]>
  10339. [Fixes #79149]
  10340. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  10341. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  10342. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  10343. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  10344. systems.
  10345. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  10346. * ListViewItem.cs: Forgot to make Invalidate internal.
  10347. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  10348. * ListView.cs: Add a InvalidateSelection method to
  10349. invalidate methods which are currently selected, and call
  10350. it when setting FullRowSelect and HideSelection, instead of
  10351. calling Redraw.
  10352. 2007-03-28 Chris Toshok <[email protected]>
  10353. * XplatUIX11.cs (UnmapWindow): reindent this block.
  10354. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  10355. the selection_start if we're moving the selection (that is, not
  10356. extending it). Fixes bug #80461.
  10357. 2007-03-28 Jonathan Pobst <[email protected]>
  10358. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  10359. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  10360. create private ControlCollection.
  10361. 2007-03-28 Jonathan Pobst <[email protected]>
  10362. * Control.cs: We need to call OnVisibleChanged for our implicit
  10363. children as well as our normal children. Fixes scrollbars in
  10364. comboboxes not showing up.
  10365. 2007-03-28 Jonathan Pobst <[email protected]>
  10366. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  10367. the check for IsHandleCreated first. The check in CreateHandle is not
  10368. good enough because CreateHandle can be overriden, and the override
  10369. should not be called if the handle is already created.
  10370. 2007-03-28 Jonathan Pobst <[email protected]>
  10371. * ToolStrip.cs: Remove MonoTODO for tooltips.
  10372. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  10373. * ToolStripContainer.cs: Add custom ControlCollection class.
  10374. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  10375. * ToolStripDropDown.cs: Add some missing properties/methods.
  10376. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  10377. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  10378. * ToolStripManager.cs: Add IsShortcutDefined.
  10379. * ToolStripOverflow.cs: Override LayoutEngine.
  10380. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  10381. * ToolStripSeparator.cs: Add ImageKey.
  10382. 2007-03-28 Jackson Harper <[email protected]>
  10383. * TextControl.cs: If a char delete removes a line ending, we need
  10384. to update the ending style.
  10385. - Make sure the line ending calcs get called.
  10386. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  10387. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  10388. it was making the new code not work. Fixed a typo in the new code
  10389. as well. Fixes #79826.
  10390. 2007-03-27 Everaldo Canuto <[email protected]>
  10391. * XplatUIWin32.cs:
  10392. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  10393. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  10394. - SystrayBalloon method implemented.
  10395. [Add support for notifyicon balloon on win32, #79149]
  10396. 2007-03-27 Mike Kestner <[email protected]>
  10397. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  10398. the ms behavior when only one image is added to the list.
  10399. [Fixes #81191]
  10400. 2007-03-27 Jackson Harper <[email protected]>
  10401. * TextControl.cs: Improvements to non multiline line ending
  10402. drawing/measuing.
  10403. 2007-03-27 Everaldo Canuto <[email protected]>
  10404. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  10405. 2007-03-27 Everaldo Canuto <[email protected]>
  10406. * NotifyIcon.cs:
  10407. - Balloon message handling added.
  10408. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  10409. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10410. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  10411. to SystrayBalloon to me like other Systray method, also a
  10412. handle parameter added.
  10413. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  10414. * ListView.cs: Show scrollbars even when items.Count == 0
  10415. but the columns Width is bigger than the ListView.Width.
  10416. Also, when columns.Count == 0 set layout_wd and layout_ht
  10417. to the ClientRectangle values, so we don't show any scrollbar
  10418. in that case.
  10419. 2007-03-27 Everaldo Canuto <[email protected]>
  10420. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  10421. 2007-03-27 Jackson Harper <[email protected]>
  10422. * RichTextBox.cs: The RTF library decodes the text properly for us
  10423. now.
  10424. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  10425. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  10426. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  10427. ListView header (HeaderControl), instead of Control.BackColor.
  10428. 2007-03-27 Jonathan Pobst <[email protected]>
  10429. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  10430. Fixes tab control issues where controls would not show up because they
  10431. never received their OnVisibleChanged call.
  10432. 2007-03-27 Everaldo Canuto <[email protected]>
  10433. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  10434. BalloonTipShown).
  10435. 2007-03-27 Jonathan Pobst <[email protected]>
  10436. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  10437. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  10438. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  10439. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  10440. the handle. Fix WindowState by using the internal variable until we are
  10441. sure that we've been shown.
  10442. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  10443. max or min.
  10444. [Fixes bug #81198]
  10445. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  10446. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  10447. (at least borders). Fixes #79386 on Linux (with a small difference
  10448. in behaviour: when trying to resize a caption-less window metacity
  10449. shows the sysmenu. Resizing is still possible though).
  10450. * XplatUIWin32.cs: When setting window styles send request an extra
  10451. WM_NCCALCSIZE when it's a form without title (due to no text and no
  10452. caption), since Win32 seems to calculate it wrong the first time we
  10453. get the message, though the second time things work as they should.
  10454. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  10455. newly reparented window might show up unparented. Update
  10456. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  10457. there's no title text. Fixes #79386.
  10458. 2007-03-27 Mike Kestner <[email protected]>
  10459. * ListBox.cs : don't perform invalidations if the handle hasn't been
  10460. created. [Fixes #80753]
  10461. 2007-03-27 Mike Kestner <[email protected]>
  10462. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  10463. [Fixes #80428]
  10464. 2007-03-26 Everaldo Canuto <[email protected]>
  10465. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  10466. needed to implement Balloon.
  10467. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  10468. * ListViewItem.cs: In the constructors that take
  10469. an array of strings, don't use ListViewSubItemCollection.AddRange
  10470. method to add items, since we need to have a different behaviour (in
  10471. the constructors we add an item for each null string, opposed to
  10472. the behaviour of AddRange, which adds nothing).
  10473. 2007-03-26 Andreia Gaita <[email protected]>
  10474. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  10475. 2007-03-26 Jackson Harper <[email protected]>
  10476. * TextControl.cs: Draw and measure line endings when in non
  10477. multiline mode.
  10478. - When searching the text, count the end of the last line as a
  10479. word boundary.
  10480. 2007-03-26 Jackson Harper <[email protected]>
  10481. * RichTextBox.cs: The selection_start and selection_end don't
  10482. really track the correct tags for the selection. So we'll manually
  10483. compute the correct tag here.
  10484. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  10485. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  10486. and Continuous styles. Fixes #79469.
  10487. 2007-03-26 Jonathan Pobst <[email protected]>
  10488. * ToolStrip.cs: Implement Tooltips.
  10489. * ToolStripItem.cs: Create internal method for determining tooltip.
  10490. 2007-03-26 Jonathan Pobst <[email protected]>
  10491. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  10492. 2007-03-26 Everaldo Canuto <[email protected]>
  10493. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  10494. it prevents a problem thak keeps icon visible after application
  10495. closes on win32.
  10496. 2007-03-26 Everaldo Canuto <[email protected]>
  10497. * NotifyIcon.cs: Balloon properties and methods created.
  10498. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10499. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  10500. 2007-03-25 Jonathan Pobst <[email protected]>
  10501. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  10502. 2007-03-24 Jonathan Pobst <[email protected]>
  10503. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  10504. parameter indicates which aspects were explicit/user-set.
  10505. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  10506. 2007-03-24 Jonathan Pobst <[email protected]>
  10507. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  10508. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  10509. SmallChange, and Value (2.0).
  10510. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  10511. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  10512. * ListView.cs: Always set item_control.Width in LayoutDetails
  10513. if View is Details. Setting it later in CalculateScrollBars
  10514. in a not-so-corner scenario (the sum of columns width is
  10515. not bigger than the ListView width when handle is created, and then
  10516. that sum gets bigger by increasing the width of the columns)
  10517. causes a very weird recursion path (which shouldn't be happening,
  10518. since header_control sets it in CalculateScrollBars too). This bug
  10519. appeared after Chris' fixes for handle created issues, so probably
  10520. it's related to some handle-creation time.
  10521. 2007-03-23 Chris Toshok <[email protected]>
  10522. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  10523. case where there's an add row, just so we don't end up in a case
  10524. where it's not displayed (this happens when the row is partially
  10525. obscured). Fixes bug #79574.
  10526. 2007-03-23 Jackson Harper <[email protected]>
  10527. * TextControl.cs:
  10528. * TextBoxBase.cs:
  10529. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  10530. also added an enum that represents the line ending type.
  10531. 2007-03-23 Andreia Gaita <[email protected]>
  10532. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  10533. messed with in every method call, but only from DownButton,
  10534. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  10535. 2007-03-23 Chris Toshok <[email protected]>
  10536. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  10537. format objects if the format spec is "". Fixes bug #80889.
  10538. 2007-03-22 Miguel de Icaza <[email protected]>
  10539. * ToolStripPanel.cs (Join): added stubs to build PDN3
  10540. * Control.cs (AutoScrollOffset): Add.
  10541. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  10542. property, its only implemented for Win32, on X11 it defaults to
  10543. some hardcoded value.
  10544. * ToolStripItem.cs (AllowDrop): Add property
  10545. 2007-03-22 Mike Kestner <[email protected]>
  10546. * ListView.cs : in FullRowSelect Details mode, only enable box
  10547. selection if the user clicks over the "item" column outside of the
  10548. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  10549. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  10550. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  10551. handle is not created yet.
  10552. * Form.cs: Select: Don't call CreateHandle if the handle is already
  10553. created, avoids a stack overflow on Windows when we are recreating
  10554. controls.
  10555. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  10556. they are made visible, and override AfterTopMostControl to keep
  10557. them on top when other controls are brought to front.
  10558. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  10559. or force_*scroll_visible is true (old implementation always shows
  10560. scrollbars when needed, no matter what auto_scroll was set to).
  10561. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  10562. IsHandleCreated check.
  10563. 2007-03-22 Andreia Gaita <[email protected]>
  10564. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  10565. row or col separator.
  10566. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  10567. 2007-03-22 Everaldo Canuto <[email protected]>
  10568. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  10569. 2007-03-22 Everaldo Canuto <[email protected]>
  10570. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  10571. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  10572. every time. Fixes #80410.
  10573. 2007-03-22 Chris Toshok <[email protected]>
  10574. * BindingSource.cs (AddNew): partially implement.
  10575. remove a couple of NotImplementedException's
  10576. to get bug #81148 closed.
  10577. 2007-03-22 Everaldo Canuto <[email protected]>
  10578. [Fixes #80380]
  10579. * Control.cs:
  10580. - UpdateCursor method added to update the screen cursor.
  10581. - GetAvailableCursor method added to return cursor for enabled tree,
  10582. it searches for cursor on control and it's parent's for enabled control.
  10583. - Call UpdateCursor method on setter of Cursor property.
  10584. - On setter of Enabled call UpdateCursor when it is false, we need to
  10585. change cursor to normal (or to this parent cursor) because cursor
  10586. setting theres no effect to disabled controls.
  10587. - Some minor source changes to follow the coding style guidelines.
  10588. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  10589. controls.
  10590. 2007-03-22 Chris Toshok <[email protected]>
  10591. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  10592. generates.
  10593. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  10594. * XplatUIX11.cs: Implement default locations for forms.
  10595. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  10596. * Hwnd.cs: Add previous_child_startup_location (to track the current
  10597. startup location for any child forms of the current form) and
  10598. previous_main_startup_location (to track the startup location for
  10599. the current toplevel form).
  10600. 2007-03-21 Jonathan Pobst <[email protected]>
  10601. * Control.cs: Don't trigger a layout if an implicit control is added
  10602. that isn't visible. Also, don't notify the owner when an implicit control
  10603. is added. (Owners shouldn't even know about their implicit controls.)
  10604. 2007-03-21 Jonathan Pobst <[email protected]>
  10605. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  10606. to save some re-layouts.
  10607. 2007-03-21 Everaldo Canuto <[email protected]>
  10608. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  10609. [Fixes #81203]
  10610. 2007-03-21 Jonathan Pobst <[email protected]>
  10611. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  10612. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  10613. 2007-03-21 Mike Kestner <[email protected]>
  10614. * ListView.cs : disable selection update for non-left button clicks
  10615. with mods and over selected items. [Fixes #80524]
  10616. 2007-03-20 Jackson Harper <[email protected]>
  10617. * TextControl.cs:
  10618. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  10619. \r\r\n, \n.
  10620. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10621. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  10622. very probably a more complicated calculation there. Update the
  10623. textbox' ForeColor and BackColor when the ComboBox' colors are
  10624. changed. Change the border change in LayoutComboBox to only affect
  10625. the textbox, not all the calculations there. Seems to fix most of
  10626. #79436.
  10627. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10628. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  10629. modifiers + navigation keys as input keys, enables advanced text
  10630. selection in the combobox (like Shift+Left Arrow for instance).
  10631. ComboTextBox now overrides Focused and returns whatever
  10632. ComboBox.Focused returns, since it really should be focused
  10633. whenever the ComboBox is. Fixes #80795. Also make the border around
  10634. the text box one pixel bigger, as mentioned in #79436.
  10635. 2007-03-20 Jackson Harper <[email protected]>
  10636. * TreeView.cs: Don't offset the images, this was causing some
  10637. artifacts when expanding/collapsing with images that were the
  10638. exact height of the treenode.
  10639. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10640. * TrackBar.cs: Query the theme for the correct value when the mouse
  10641. moves and the thumb is pressed.
  10642. * Theme.cs: Added TrackBarValueFromMousePosition
  10643. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  10644. implementation was updating the trackbar value when drawing, now
  10645. the drawing methods only draw. Fixes #80900. Refactored the
  10646. calculations out to TrackBarValueFromMousePosition and
  10647. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  10648. according to the mouse position whenever it wants to. Changed the
  10649. light coloured pen when drawing the thumb from ControlLight to
  10650. ControlLightLight, because the ControlLight is the same colour as
  10651. the background so the 3D effect is lost.
  10652. 2007-03-20 Everaldo Canuto <[email protected]>
  10653. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  10654. defined. Fixes #80784.
  10655. 2007-03-20 Marek Habersack <[email protected]>
  10656. * ContextMenuStrip.cs: align with the change introduced in
  10657. revision 74664.
  10658. 2007-03-20 Everaldo Canuto <[email protected]>
  10659. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  10660. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  10661. in SetTopmost.
  10662. 2007-03-19 Chris Toshok <[email protected]>
  10663. * Control.cs (WmPaint): don't make use of the Handle property
  10664. after an event is emitted, as the user could have closed the
  10665. form/destroyed the control. Store the Handle in a local variable
  10666. and make use of that. Fixes bug #80768.
  10667. 2007-03-20 Everaldo Canuto <[email protected]>
  10668. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  10669. behavior in X11 environments.
  10670. 2007-03-20 Everaldo Canuto <[email protected]>
  10671. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  10672. because on setter of topmost we dont call SetTopmost when handle is not
  10673. created.
  10674. 2007-03-20 Jackson Harper <[email protected]>
  10675. * TextControl.cs: Need to use SelectionLength () not
  10676. selection_length, since that var is reset to -1.
  10677. - Draw the caret when we don't have focus.
  10678. * TextBox.cs: The selectall actually doesn't occur until the first
  10679. focus.
  10680. * TextBoxBase.cs: Need to update the caret position after a
  10681. selectall.
  10682. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  10683. * ListView.cs: Enable scrolling when using Tile view.
  10684. 2007-03-20 Everaldo Canuto <[email protected]>
  10685. [Fixes #80902]
  10686. * XplatUIDriver.cs: Abstract SetOwner method created.
  10687. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  10688. must be implemented and was masked as todo.
  10689. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  10690. GWL_HWNDPARENT.
  10691. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  10692. cheking for null owner to remove transient. The SetTopmost will be change
  10693. on a decond step.
  10694. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  10695. SetTopmost. Now owned forms will work properly in win32 and X11.
  10696. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  10697. * MdiWindowManager.cs: Update function name.
  10698. * Form.cs: After closing a form MdiParent is always null.
  10699. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  10700. better what it should do: necessary book-keeping when the form is
  10701. closed, it should not close the form itself.
  10702. 2007-03-19 Andreia Gaita <[email protected]>
  10703. * ListViewItem.cs: Fix back and fore color. The subitems only
  10704. use their own colors if they are set, otherwise use the listview's
  10705. colors. Don't set default colors on constructor for subitem.
  10706. Fixes #79315.
  10707. 2007-03-19 Mike Kestner <[email protected]>
  10708. * ListView.cs : make box selection for Details views with
  10709. FullRowSelect conform to MS behavior when clicking in the "item"
  10710. column and clicking outside the defined columns.
  10711. [Fixes case 5-6 of #80374]
  10712. 2007-03-19 Chris Toshok <[email protected]>
  10713. * ScrollableControl.cs: create the controls from within the ctor,
  10714. but don't actually add them until our handle is created. this
  10715. fixes a NRE possibility jpobst found (if you override OnLayout in
  10716. a subclass, it's called before your ctor). Also, add a
  10717. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  10718. 2007-03-19 Jackson Harper <[email protected]>
  10719. * TextBox.cs: Reduce the amount of invalidation we do.
  10720. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  10721. some of them are true by default on MS.
  10722. - Add some functions to reduce the amount of invalidates we do.
  10723. * TextControl.cs: Less invalidation.
  10724. 2007-03-19 Chris Toshok <[email protected]>
  10725. [ Fixes #81773, and *seems* to fix #81553 as well ]
  10726. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  10727. AccumulateDestroyedHandles. We need to do it *after* we send
  10728. WM_DESTROY, as the user's code can access Control.Handle in
  10729. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  10730. move the WM_DESTROY/zombie handling to before the call to
  10731. XDestroyWindow. For some reason without this ordering
  10732. FormTest.RecreateHandle hangs. This ordering is semantically
  10733. equivalent, however, as XDestroyWindow is async anyway.
  10734. 2007-03-19 Gert Driesen <[email protected]>
  10735. * RichTextBox.cs: Reset backcolor_set after setting default.
  10736. 2007-03-19 Chris Toshok <[email protected]>
  10737. * ScrollableControl.cs: the scroll position should not effect the
  10738. canvas size. commit patch from [email protected], which
  10739. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  10740. 2007-03-19 Chris Toshok <[email protected]>
  10741. * ScrollableControl.cs: clean this up a bit. create the
  10742. scrollbars in the ctor and just show/hide them as needed. Also,
  10743. make hscroll_visible/vscroll_visible internal to Recalculate, and
  10744. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  10745. everywhere else. This seems to fix the scrollbars appearing
  10746. beneath the content for me (i have *no* idea why that is,
  10747. however.)
  10748. 2007-03-19 Jonathan Pobst <[email protected]>
  10749. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  10750. some redundacy for stuff in Anchor and Dock that base will take care of.
  10751. [Fixes #80762]
  10752. 2007-03-19 Mike Kestner <[email protected]>
  10753. * ListView.cs : make box selection for Details views without
  10754. FullRowSelect dependent on the text bounds, not item bounds.
  10755. * ListViewItem.cs : add an internal property to obtain the TextBounds
  10756. in Details view. [Fixes case 1-4 of #80374]
  10757. 2007-03-19 Andreia Gaita <[email protected]>
  10758. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  10759. we're < 2.0. #78448 && #80316
  10760. 2007-03-19 Jonathan Pobst <[email protected]>
  10761. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  10762. have the same style available as the previously selected one. Also,
  10763. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  10764. 2007-03-19 Jackson Harper <[email protected]>
  10765. * TextControl.cs: Add an alignment property that all new lines
  10766. will be given.
  10767. - Make sure to use the align shift when calculating the line's X
  10768. position.
  10769. * TextBox.cs: Set the alignment on the document as well as on all
  10770. the document lines.
  10771. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  10772. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  10773. throw if setting the parent of an mdichild that already has an
  10774. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  10775. AssemblyProductAttribute in the assembly, use the type's namespace (as
  10776. MS seems to do). CreateControl: don't create the handle if the control
  10777. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  10778. create handle if the control is not a form. Change FocusInternal to
  10779. virtual so that it can be overriden by Form.
  10780. * TextBox.cs: Update call to FocusInternal.
  10781. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  10782. form is not a toplevel form when it's a mdi child, so update is_toplevel
  10783. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  10784. hasn't been created. Show (IWin32Window): Don't allow this overload for
  10785. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  10786. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  10787. parent isn't visible yet, save the visibility and restore it when the
  10788. parent is made visible.
  10789. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  10790. methods, since the visibility of the scrollbars can be changed from
  10791. several places, not only from AutoScroll.
  10792. [Fixes #81179]
  10793. 2007-03-19 Jackson Harper <[email protected]>
  10794. * RichTextBox.cs: Enable shortcuts by default.
  10795. * TextBoxBase.cs: Add conditional shortcuts.
  10796. 2007-03-19 Everaldo Canuto <[email protected]>
  10797. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  10798. 2007-03-19 Chris Toshok <[email protected]>
  10799. [ Fixes bug #80604]
  10800. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  10801. swallow the message we're waiting on, instead of delivering it, as
  10802. this is only used for the WM_SHOWWINDOW raised from
  10803. MapWindow/UnmapWindow, and the message needs to be generated
  10804. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  10805. before doing the Map/Unmap. Also make sure that the Hwnd is still
  10806. alive after the message has been handled.
  10807. *before* the window is shown.
  10808. * Control.cs (CreateControl): guard a few more things inside the
  10809. if (!is_created) block, as we might end up being called again -
  10810. yay .net.
  10811. (WmShowWindow): call CreateControl if we're showing the control.
  10812. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  10813. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  10814. controls without a handle if they have any parent with a handle. In
  10815. Dispose add a check whether the handle is created or not before
  10816. calling BeginInvoke, this removes the need of the extra disposing
  10817. parameter (which was bogus anyway since it didn't prevent the
  10818. invoke from happening, it only skipped the check for an existing
  10819. handle, meaning that the invoke would call on an inexistent
  10820. handle).
  10821. 2007-03-19 Everaldo Canuto <[email protected]>
  10822. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  10823. appears in taskbar.
  10824. 2007-03-18 Everaldo Canuto <[email protected]>
  10825. * MessageBox.cs:
  10826. - Fixed a problem that dont show help button for messages with 3 buttons.
  10827. - Refactory button size and position calculations, now dont use fixed
  10828. values, also fixed button sizes (#80043) and form's border space.
  10829. - AddButton method created, now all other AddButton methods call this one.
  10830. - Some other source code cosmetic changes.
  10831. 2007-03-18 Jackson Harper <[email protected]>
  10832. * RichTextBox.cs: Don't do this all fonts must match check if
  10833. there is only one char selected.
  10834. 2007-03-18 Jackson Harper <[email protected]>
  10835. * TreeView.cs: ScrollWindow works properly now, so we don't need
  10836. to screw around with the scroll area. This fixes some artifacts
  10837. when expanding and collapsing.
  10838. 2007-03-18 Jackson Harper <[email protected]>
  10839. * TextBoxBase.cs: Allow updating the selection position when the
  10840. cursor is outside the textarea, but we have a capture.
  10841. * TextControl.cs: A special case for when the cursor is outside
  10842. the bounds of the TB.
  10843. 2007-03-18 Jackson Harper <[email protected]>
  10844. * TextBoxBase.cs: Remove image pasting code for now. There is no
  10845. way to get an image on the clipboard right now anyways.
  10846. * TextControl.cs:
  10847. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  10848. 2007-03-18 Everaldo Canuto <[email protected]>
  10849. * MessageBox.cs:
  10850. - Set window properties in constructor intead of on CreateParams.
  10851. - Remove topmost from Window ExStyle.
  10852. - Set ShowInTaskbar to false.
  10853. - Set form border to FixedDialog.
  10854. - Some cosmetic changes and remove unneeded comments.
  10855. - It fixes itens 2,3 and 4 of bug #80043.
  10856. 2007-03-18 Gert Driesen <[email protected]>
  10857. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  10858. none was explicitly set. Fixes part of bug #79949.
  10859. 2007-03-16 George Giolfan <[email protected]>
  10860. * ToolStripComboBox.cs: Add AutoComplete*.
  10861. 2007-03-16 George Giolfan <[email protected]>
  10862. * ToolStripComboBox.cs: Add FlatStyle.
  10863. 2007-03-16 Jonathan Pobst <[email protected]>
  10864. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  10865. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  10866. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  10867. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  10868. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  10869. DataGridColumnStyle.cs: Remove warnings.
  10870. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  10871. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  10872. it.
  10873. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  10874. visibility of mdi child forms. FormSizeChangedHandler: update the
  10875. maximized size if size has changed while maximized.
  10876. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  10877. creating the handle.
  10878. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  10879. avoid creating the handle if not created.
  10880. * XplatUI.cs: Update debug output.
  10881. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  10882. 2007-03-16 Jonathan Pobst <[email protected]>
  10883. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  10884. ProcessCmdKey().
  10885. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  10886. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  10887. Implement keyboard shortcuts.
  10888. 2007-03-15 Everaldo Canuto <[email protected]>
  10889. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  10890. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  10891. ColorDialog and all derived classes.
  10892. 2007-03-15 Everaldo Canuto <[email protected]>
  10893. [ Fixes bug #79828 ]
  10894. * ToolBar.cs:
  10895. - Rename ToolBarButtonInfor to ToolBarItem.
  10896. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  10897. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  10898. collection to be able add same button more than one time on a toolbar.
  10899. - Refactory all properties and methods to use ToolBarItem.
  10900. * ToolBarButton.cs:
  10901. - Remove all propeties and methods that is now in ToolBarItem.
  10902. - Rectangle propery now gets the rectangle from first ToolBarItem to
  10903. mimic win32 behavior.
  10904. - Size calculation and layout methods also removed.
  10905. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  10906. ToolBarItem instead of ToolBarButton to right drawing buttons when
  10907. same button/separator was added more than one time to ToolBar.
  10908. * ThemeNice.cs: Same as above.
  10909. 2007-03-15 Andreia Gaita <[email protected]>
  10910. * XplatUIX11.cs: Fire extra MouseMove events right after
  10911. MouseDown and MouseUp, emulating win32's <censored> behaviour
  10912. for apps that rely on it.
  10913. 2007-03-15 Jackson Harper <[email protected]>
  10914. * TextControl.cs:
  10915. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  10916. it is drawn on the controls client window and there is no NC
  10917. area.
  10918. - Set the background color to gray on 2.0 when we are readonly.
  10919. 2007-03-15 Chris Toshok <[email protected]>
  10920. [ Fixes bug #81144 ]
  10921. * XplatUIX11.cs: implement VirtualScreen independently of
  10922. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  10923. property.
  10924. 2007-03-15 Chris Toshok <[email protected]>
  10925. * Hwnd.cs: add an internal field for the cached_window_state.
  10926. * XplatUIX11.cs: cache the window state, invalidating the cache
  10927. (and thus re-querying the X server) only when we see an update to
  10928. the _NET_WM_STATE property.
  10929. 2007-03-15 Chris Toshok <[email protected]>
  10930. * BindingSource.cs: get a lot of the unit tests working.
  10931. 2007-03-15 Jonathan Pobst <[email protected]>
  10932. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  10933. 0 instead of just bounds > 0. [Fixes bug #80912]
  10934. 2007-03-15 Jonathan Pobst <[email protected]>
  10935. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  10936. and methods.
  10937. 2007-03-15 Ivan N. Zlatev <[email protected]>
  10938. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  10939. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  10940. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  10941. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  10942. 2007-03-15 Chris Toshok <[email protected]>
  10943. [ Fixes #81101 ]
  10944. * Control.cs: add Ivan's fix for 81101, with a slight modification
  10945. - you can set control.Target to null.
  10946. 2007-03-14 Jonathan Pobst <[email protected]>
  10947. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  10948. HideDropDown, use Hide instead to prevent an NRE.
  10949. [Fixes bug #81147]
  10950. 2007-03-14 Jackson Harper <[email protected]>
  10951. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  10952. to calculate the document before the handle is created, in some
  10953. cases. (Actually just one case).
  10954. 2007-03-14 Jackson Harper <[email protected]>
  10955. * TextBoxBase.cs: Need to display the caret after letting the base
  10956. wndproc handle the focus methods, because the caret display
  10957. methods check the focus state.
  10958. - Try to display the caret after updating it's position with SelectWord.
  10959. - Don't need to do an immediate update on this recalc, since there
  10960. will be an invalidate anyways.
  10961. 2007-03-14 Jackson Harper <[email protected]>
  10962. * TreeView.cs: Some workarounds so that we can match event order a
  10963. little better.
  10964. 2007-03-14 Gert Driesen <[email protected]>
  10965. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  10966. #80803. Avoid NullReferenceException when Control does not have
  10967. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  10968. event a single time. Only draw error icon when control is created and
  10969. visible. Fixes failing unit tests.
  10970. 2007-03-14 Andreia Gaita <[email protected]>
  10971. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  10972. Selecting events. Fire Leave and Enter events when changing tabs.
  10973. 2007-03-14 George Giolfan <[email protected]>
  10974. * TreeView.cs: Add TreeViewNodeSorter.
  10975. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  10976. 2007-03-14 Chris Toshok <[email protected]>
  10977. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  10978. removed earlier and I had him add back it. It turns out metacity
  10979. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  10980. just doesn't redraw the window titlebar until you resize the
  10981. window. This also means we aren't recreating the entire window
  10982. hierarchy on X when you change this property. And it looks better
  10983. on windows, too.
  10984. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  10985. * ListViewItem.cs:
  10986. * ListView.cs: Collecting selection information
  10987. is now done in SelectedIndexCollection rather than in
  10988. SelectedListViewItemCollection. This is done so we can
  10989. have the selection information code in one single place
  10990. (virtual mode selection information entirely depends on
  10991. SelectedIndexCollection).
  10992. 2007-03-13 Miguel de Icaza <[email protected]>
  10993. * ErrorProvider.cs: Add stubs for ISupportInitialize
  10994. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  10995. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  10996. in the right order with the right values, from the Checked property,
  10997. just as MS does (instead of triggering them from ListView).
  10998. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  10999. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  11000. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  11001. the correct handler in OnItemCheck method (ItemCheckEventHandler
  11002. instead of EventHandler). This used to throw an InvalidCastException.
  11003. 2007-03-13 Jackson Harper <[email protected]>
  11004. * TextBoxBase.cs: Calculate the document before the handle is
  11005. created, so there isn't an extra invalidate called.
  11006. 2007-03-13 Jonathan Pobst <[email protected]>
  11007. * Form.cs: Don't set owner in ShowDialog until we are sure
  11008. that we aren't going to throw an exception. [Fixes bug #80773]
  11009. 2007-03-12 George Giolfan <[email protected]>
  11010. * TreeView.cs: Make it compile.
  11011. 2007-03-12 Jonathan Pobst <[email protected]>
  11012. * Control.cs: Another place we don't call SizeFromClientSize.
  11013. * Form.cs: Another place we don't call SizeFromClientSize.
  11014. [Fixes bug #81125]
  11015. 2007-03-12 Jackson Harper <[email protected]>
  11016. * TreeView.cs: Basically emulating some strangness here with
  11017. exanding nodes and setting node positions when windows aren't
  11018. created.
  11019. - Also attempting to walk the node tree less than previously, and
  11020. just use visible order calculations for determining offsets.
  11021. - oops made scrolling backwards.
  11022. * TreeNode.cs: We need to start nodes with a zero visible order,
  11023. because the order calcs are based on the first nodes order.
  11024. 2007-03-12 Jonathan Pobst <[email protected]>
  11025. * Form.cs: Don't exit the program if RecreateHandle is called on
  11026. the main form.
  11027. 2007-03-12 Chris Toshok <[email protected]>
  11028. * XEventQueue.cs: remove the use of PostQuitState.
  11029. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  11030. WM_QUIT message in GetMessage, return false (and if we're in the
  11031. nested WaitForHwndMessage, repost the WM_QUIT message).
  11032. 2007-03-12 Jonathan Pobst <[email protected]>
  11033. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  11034. or the MaximizeBox properties. [Part of bug #80640]
  11035. 2007-03-12 Everaldo Canuto <[email protected]>
  11036. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  11037. no links.
  11038. 2007-03-12 Jonathan Pobst <[email protected]>
  11039. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  11040. instead of visible.
  11041. 2007-03-12 Gert Driesen <[email protected]>
  11042. * FileDialog.cs: Use text of File name combobox to determine what
  11043. files the user selected. Added tokenizer to parse the file names.
  11044. Fixes bug #81123.
  11045. 2007-03-12 Jonathan Pobst <[email protected]>
  11046. * Control.cs: We can't call SizeFromClientSize in the constructor,
  11047. but we still need to do the same work, so make an internal version.
  11048. [Fixes bug #80621]
  11049. 2007-03-12 Jackson Harper <[email protected]>
  11050. * TreeView.cs:
  11051. * TreeNode.cs:
  11052. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  11053. IsExpanded.
  11054. 2007-03-12 Jackson Harper <[email protected]>
  11055. * TextBoxBase.cs: Now that the handles are being created a little
  11056. later, we need to make sure that the document is recalculated when
  11057. the handle is created.
  11058. 2007-03-11 Everaldo Canuto <[email protected]>
  11059. * Theme.cs: GetLinkFont abstract method added.
  11060. * LinkLabel.cs:
  11061. - Remove CalcTrimRectangle, no longer needed.
  11062. - Factor also remove, position issues must be fixed in libgdiplus.
  11063. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  11064. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  11065. care about font used to draw links.
  11066. - Set TabStop to true when control is "Selectable", control is selectable
  11067. when have one or more links. Fixes #80501 (test case is also added).
  11068. - Set the LinkArea values after links change, LinkArea values must be
  11069. based in first link position and size, a test case was created.
  11070. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  11071. the attribute must be true LinkArea.Length > 0. The same was applied to
  11072. TabStop.
  11073. * ThemeWin32Classic.cs:
  11074. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  11075. in draw method.
  11076. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  11077. color change.
  11078. - Draw focus rectangle for every parts focused, including parts that
  11079. is on another line, its because regions returns various rectangles
  11080. and not only one. Needed to mimic W32 look.
  11081. - Uses Graphics.Clip to delimite region painted, it mean that now
  11082. complete text is passed to DrawString, with this we solve layout
  11083. issues without create another text renderer.
  11084. - Uses Region.Intersect to fix some flickers problems, now only needed
  11085. parts will redrawed.
  11086. - This changes fixes #79614 and some other unreported issues, on Linux
  11087. some layout problems still remain, the problem is under
  11088. MeasureCharacterRanges but it is an libgdiplus bug.
  11089. 2007-03-10 Gert Driesen <[email protected]>
  11090. * TextBox.cs: Set for foreground color.
  11091. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  11092. this is already done in Control.
  11093. 2007-03-10 Jackson Harper <[email protected]>
  11094. * TextBox.cs: Set the background color, but reset the
  11095. backcolor_set flag which is just for the user setting the
  11096. background color.
  11097. 2007-03-09 Chris Toshok <[email protected]>
  11098. * Control.cs: really remove the call to XplatUI.SetVisible from
  11099. CreateHandle(), like I said I did when I merged the branch.
  11100. * BindingSource.cs: implement some more of this stuff.
  11101. 2007-03-09 Jackson Harper <[email protected]>
  11102. * TextBox.cs: Don't explicitly set our background colors.
  11103. * TextControl.cs:
  11104. * TextBoxBase.cs: Draw readonly text.
  11105. - Need to invalidate when backcolor or readonly are changed.
  11106. 2007-03-09 Jackson Harper <[email protected]>
  11107. * TextBoxBase.cs: Don't set the forecolor until the handle is
  11108. created.
  11109. - Do not raise OnPaint, and removed some old debug code.
  11110. 2007-03-09 George Giolfan <[email protected]>
  11111. * ScrollableControl.cs: Fix mouse wheel scrolling.
  11112. 2007-03-09 Jonathan Pobst <[email protected]>
  11113. * Control.cs: Wire up MouseDoubleClick event.
  11114. 2007-03-09 Jonathan Pobst <[email protected]>
  11115. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  11116. top or bottom.
  11117. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  11118. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  11119. item is added. This logic was moved to ToolStrip.OnItemAdded.
  11120. [Fixes bug #81090]
  11121. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  11122. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  11123. 2007-03-08 Jackson Harper <[email protected]>
  11124. * TreeView.cs: Show the correct image for selected node (this used
  11125. to work, not sure how the code got deleted). Also implemented 2.0 feature
  11126. SelectedImageKey.
  11127. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  11128. * ListView.cs:
  11129. * ListViewItem.cs: Cache index in items when retrieving them
  11130. in VirtualMode.
  11131. 2007-03-08 Jonathan Pobst <[email protected]>
  11132. * ToolStripItem.cs: Don't return the explicit_size if we are using
  11133. AutoSize. Fixes invalidation issue when user has explicitly set a
  11134. size and has AutoSize = true.
  11135. 2007-03-08 Jonathan Pobst <[email protected]>
  11136. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  11137. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11138. * DataGridView.cs: Remove event handler from DataView when a
  11139. DataTable is used as DataSource.
  11140. 2007-03-08 Jonathan Pobst <[email protected]>
  11141. * Control.cs: Create internal setter for client_size to allow it to be
  11142. set without triggering resizing code.
  11143. * Form.cs: Calculate client_size in constructor, only change client_size
  11144. in FormBorderStyle property if Handle has been created.
  11145. [Fixes #80574, #80791]
  11146. 2007-03-08 George Giolfan <[email protected]>
  11147. * SystemInformation.cs: Add TerminalServerSession.
  11148. 2007-03-07 Jonathan Pobst <[email protected]>
  11149. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  11150. TreeView code.
  11151. 2007-03-07 Jonathan Pobst <[email protected]>
  11152. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  11153. Handle before we were supposed to. Now checks ActivateOnShow property
  11154. in Control.
  11155. * Control.cs: Add internal ActivateOnShow property.
  11156. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  11157. for ActivateOnShow.
  11158. * Hwnd.cs Remove no longer needed no_activate field.
  11159. 2007-03-07 Jackson Harper <[email protected]>
  11160. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  11161. 2.0 properties
  11162. * DrawTreeNodeEventHandler.cs: Add
  11163. * DrawTreeNodeEventArgs.cs: Correct default value.
  11164. 2007-03-07 Chris Toshok <[email protected]>
  11165. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  11166. to be called before NativeWindow.WndProc. Put the HwndCreating
  11167. magic there to hook up our Hwnd's to handles.
  11168. 2007-03-07 Gert Driesen <[email protected]>
  11169. * DataGridView.cs: Comment out debug code.
  11170. 2007-03-07 Chris Toshok <[email protected]>
  11171. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  11172. to make the rest of the world happy]
  11173. * Control.cs (CreateHandle): there's no need to call
  11174. XplatUI.SetVisible here, it's effectively done by
  11175. XplatUI.CreateWindow on X now, and always was on windows.
  11176. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  11177. shortcircuit out of the loop if we have a message loop running on
  11178. this thread.
  11179. [Changelog from merge]
  11180. 2007-03-05 Chris Toshok <[email protected]>
  11181. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  11182. causes handle creation.
  11183. 2007-02-28 Chris Toshok <[email protected]>
  11184. * ApplicationContext.cs: Add a flag to make sure we only raise the
  11185. ThreadExit event once (ExitThreadCore can be indirectly called
  11186. from a few places.) I don't like the additional flag, but it
  11187. makes the event ordering/count correct.
  11188. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  11189. without locking the collection. An enumerator doesn't give us any
  11190. protection from modification anyway. Lock the thread hash and
  11191. replace the complicated enumerator loop with a foreach.
  11192. (Application.CloseForms): make internal so it can be called from
  11193. ApplicationContext. This should probably be moved to MWFThread.
  11194. (Application.ExitThread): don't call MWFThread.Current.Exit()
  11195. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  11196. when the runloop exits (in response to WM_QUIT.)
  11197. (Application.RunLoop): add a comment (and check) for
  11198. context.MainForm being null after setting context.MainForm.Visible
  11199. = true. This is because you're perfectly free to dispose of a
  11200. form in VisibilityChanged. Chalk this up to another case where we
  11201. need to synchronously generate WM_ACTIVATE from Control.Show.
  11202. Also, add handling for WM_QUIT here so we'll exit the loop.
  11203. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  11204. fact that we don't wait if we're only unmapping the whole_window
  11205. makes me a bit nervous, but it doesn't seem to cause any problems
  11206. yet.
  11207. also, add a comment about the stupid, broken and wrong resetting
  11208. of PostQuitState to false in GetMessage().
  11209. In PostQuitMessage, we need to add a WM_QUIT message to the
  11210. thread's queue. We use the FosterParent to get the right
  11211. handle/hwnd/queue.
  11212. Lastly, in SetVisible, we need to unmap both windows, since the
  11213. waiting only happens when we're unmapping the client window. So
  11214. now, the *only* time we unmap just the whole_window is in the hack
  11215. for resizing a control to 0,0.
  11216. 2007-02-21 Chris Toshok <[email protected]>
  11217. * Application.cs (CloseForms): rewrite this so that we don't
  11218. modify the list while we're traversing it.
  11219. 2007-02-20 Chris Toshok <[email protected]>
  11220. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  11221. of OnHandleCreated.
  11222. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  11223. handle is created. otherwise we'll create it here.
  11224. (VerticalScrollEvent): same here.
  11225. * Application.cs (CloseForms): call Form.Dispose, don't post
  11226. WM_CLOSE_INTERNAL.
  11227. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  11228. here. Application should Dispose() of the Form's.
  11229. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  11230. WM_DESTROY as well.
  11231. (MapWindow,UnmapWindow): only actually do the waiting for
  11232. SHOWWINDOW if the control we're dealing with is a Form.
  11233. (CreateWindow): if the control isn't a form, SendMessage
  11234. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  11235. * Control.cs (SetVisibleCore): always use is_visible here, not
  11236. value. If we use value, we can end up re-setting something
  11237. visible if, for instance, you do Control.Hide() in a delegate
  11238. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  11239. 2007-02-20 Chris Toshok <[email protected]>
  11240. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  11241. the message we need. PeekMessage returning false should not be a
  11242. condition under which we exit the loop.
  11243. 2007-02-15 Chris Toshok <[email protected]>
  11244. * Control.cs (Refresh): only refresh if we've got a handle and are
  11245. visible.
  11246. (CreateAccessibilityInstance): CreateControl() here.
  11247. (UpdateChildrenZOrder): complicate the code loop even more by
  11248. taking into account controls that haven't had their handle
  11249. created, and those that aren't visible. But on the flip side,
  11250. simplify the code by splitting it into two loops. one which
  11251. builds up the list of child controls we're interested in, and the
  11252. other that sets the z order of those children.
  11253. 2007-02-14 Chris Toshok <[email protected]>
  11254. * Control.cs: Control.AccessibilityObject causes the control to be
  11255. created, not just the handle.
  11256. 2007-02-14 Chris Toshok <[email protected]>
  11257. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  11258. problem on X where a window might have its handle created (and be
  11259. visible) while the window is unmapped. calling XConfigureWindow
  11260. on an unmapped window is bad, and generates X errors.
  11261. 2007-02-13 Chris Toshok <[email protected]>
  11262. * Control.cs (CreateHandle): don't loop over our children setting
  11263. their parent here. do it when in WndProc when we're shown.
  11264. (UpdateChildrenZOrder): make this internal so we can call it from
  11265. ScrollableControl.
  11266. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  11267. creating its handle. Also, remove the calls to PerformLayout from
  11268. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  11269. OnVisibleChanged only seems to be called directly here for the
  11270. toplevel control. It's propagated down the window hierarchy by
  11271. calls to child.OnParentVisibleChanged.
  11272. (OnVisibleChanged): don't do layout here - it's done (oddly
  11273. enough, according to a glance at stack traces on ms.net..) in
  11274. ScrollableControl.
  11275. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  11276. z order of our children before calling PerformLayout.
  11277. 2007-02-12 Chris Toshok <[email protected]>
  11278. [big change, fixes #80020]
  11279. * AccessibleObject.cs: we need to make owner internal again to fix
  11280. some of ControlAccessibleObject.
  11281. * Control.cs: lots of changes here. add support for WM_CREATE,
  11282. for which we generate OnHandleCreated. Remove the OnHandleCreated
  11283. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  11284. we create child controls. leave the MonoTODO's for the
  11285. accessibility calls, but fix the exceptions so the tests pass.
  11286. Add the InvalidOperationExceptions to Invoke methods, and remove a
  11287. couple of InvokeInternal methods we aren't using.
  11288. Also, add a couple of CreateHandle calls in places where we know
  11289. the handles are being created but our code doesn't reference
  11290. .Handle.
  11291. Make SetVisibleCore call OnVisibleChange if the handle isn't
  11292. created. If the handle is created, we rely on XplatUI.SetVisible
  11293. generating the event synchronously.
  11294. Lastly, make sure we don't use this.Handle inside CreateHandle,
  11295. because we can call back into client (and that code can dispose of
  11296. the control).
  11297. * XplatUIStructs.cs: misc/cleanup.
  11298. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  11299. although we don't populate the wParam properly.
  11300. (CreateWindow): generate WM_CREATE.
  11301. (MapWindow,UnmapWindow): make these calls synchronous, at great
  11302. performance expense (particularly in the unmap case), to match
  11303. win32 behavior.
  11304. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  11305. to call it.
  11306. (set_MdiParent): don't recreate the handle unless it's been
  11307. created already.
  11308. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  11309. it's created.
  11310. * NativeWindow.cs: this is probably the weirdest part of the
  11311. patch. We need a way to link up the window being created to the
  11312. WM_CREATE message. Since we can only be creating one window at a
  11313. time on a given thread, we keep track of a per-thread reference so
  11314. we can dispatch it properly. We also need to keep track of the
  11315. Hwnd currently being created so that the win32 backend doesn't
  11316. have problems.
  11317. * XplatUIWin32.cs: a similar change to the one we made in
  11318. NativeWindow.cs.
  11319. 2007-03-07 Jonathan Pobst <[email protected]>
  11320. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  11321. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  11322. to draw the menu shortcut string.
  11323. 2007-03-07 Jackson Harper <[email protected]>
  11324. * TreeNode.cs: Add the 2.0 collapse method.
  11325. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11326. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  11327. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11328. * DataGridView.cs: Change DataSource will clear column and row
  11329. lists. Call Invalidate() to reflect DataSource change.
  11330. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11331. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  11332. and a new row is added to it.
  11333. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  11334. * DataGridView.cs: Add columns when DataSource is en empty list but
  11335. is a System.Data.DataView (from a System.Data.DataTable).
  11336. 2007-03-06 Andreia Gaita <[email protected]>
  11337. * Label.cs: Implement AutoEllipsis (2.0)
  11338. 2007-03-06 Jackson Harper <[email protected]>
  11339. * TreeView.cs: Implement 2.0 TopNode setter property.
  11340. - Use a local var instead of the skipped_nodes field for computing
  11341. how many nodes to skip. Otherwise we won't scroll because the
  11342. valuechanged handler checks if skipped_nodes is equal to the new
  11343. value.
  11344. - Implement 2.0 Sort method.
  11345. - Add useless 2.0 DoubleBuffer property
  11346. - Implement 2.0 LineColors property. Lets you change the color of
  11347. the lines in the tree. Terribly useful for creating non cohesive
  11348. desktops.
  11349. - Implement 2.0 image key feature.
  11350. 2007-03-06 Jackson Harper <[email protected]>
  11351. * TreeView.cs: We can't get the bounds of the nodes before raising
  11352. the AfterSelect event, because that event could change the node's
  11353. bounds (scrolling, font change, etc).
  11354. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  11355. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  11356. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  11357. update window styles. In CreateParams us VisibleInternal instead of
  11358. VIsible to get the actual visible flag set for this form.
  11359. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  11360. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  11361. handle the case when the form is already maximized, in which case
  11362. it should be restored. Fixes #81043.
  11363. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  11364. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  11365. 2007-03-05 Jackson Harper <[email protected]>
  11366. * TreeViewHitTestInfo.cs: implement.
  11367. 2007-03-05 Jackson Harper <[email protected]>
  11368. * InternalWindowManager.cs: class status fix.
  11369. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  11370. * InternalWindowManager.cs: All windows that have a parent
  11371. are confined to their parent when they're being moved.
  11372. Fixes #80822.
  11373. 2007-03-04 Gert Driesen <[email protected]>
  11374. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  11375. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  11376. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11377. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  11378. buttons invisible before deciding which ones should be visible
  11379. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  11380. an unused variable.
  11381. * InternalWindowManager.cs: Remove warning.
  11382. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  11383. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  11384. to throw an InvalidOperationException is virtual mode is being used.
  11385. 2007-03-02 Jonathan Pobst <[email protected]>
  11386. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  11387. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  11388. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  11389. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  11390. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  11391. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  11392. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11393. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  11394. driver.KeyboardDelay from XplatUI.KeyboardDelay
  11395. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  11396. (patch by Sergey Volk)
  11397. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  11398. * ToolWindowManager.cs: Added, contains logic for
  11399. tool windows.
  11400. * CreateParams.cs: Add a few helper methods and an
  11401. internal variable to know which control the CreateParams belongs
  11402. to.
  11403. * Control.cs: Call Form.ChangingParent when the
  11404. parent is about to be changed.
  11405. * XplatUIX11.cs: DeriveStyles (): Set
  11406. caption_height for all windows that have captions and are children.
  11407. Update to use ToolWindowManager instead of InternalWindowManager
  11408. for ToolWindows.
  11409. * XplatUIWin32.cs: Set fake window styles for all
  11410. windows that have window managers.
  11411. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  11412. now duplicated for mdi windows when they are
  11413. maximized, first for the buttons the window itself has, then for
  11414. the buttons that appear in the menu bar. Makes things a little
  11415. easier). Updated UpdateWindowDecorations, SetWindowState and the
  11416. mouse eventhandlers accordingly.
  11417. * Form.cs: Add ChangingParent (), contains the
  11418. logic of what should happen when the parent changes. In MdiParent
  11419. don't set things that ChangingParent () is doing. When handling
  11420. WM_CLOSE, we can close the form if there are any other modal forms
  11421. and the current form is a descendent of the modal form.
  11422. * InternalWindowManager.cs: A lot of refactoring,
  11423. the title buttons are now extracted to a separate container class
  11424. that takes care of all button code (clicks, tooltips, etc). Moved
  11425. Iconic|Maximized|Normal Bounds properties to this class from
  11426. MdiWindowManager, so that the window state logic can succeed for
  11427. other than mdi wm's. Implemented general window state change logic.
  11428. Moved CreateButtons to ThemeWin32Classic, since the theme might
  11429. override which buttons are available when as well as the exact
  11430. location.
  11431. * FormWindowManager.cs: Added, contains logic for
  11432. normal forms.
  11433. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  11434. which buttons go where (and if they are at all visible).
  11435. Removed special handling of maximized windows, since they aren't special.
  11436. In DrawManagedWindowDecorations don't try to draw the text if it is
  11437. empty.
  11438. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  11439. use whatever the wm gives us.
  11440. 2007-03-02 Jonathan Pobst <[email protected]>
  11441. * ButtonBase.cs: Add 2.0 properties.
  11442. * Button.cs: Override Draw for 2.0.
  11443. * Control.cs: Add Entered and Selected properties.
  11444. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  11445. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  11446. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  11447. buttons.
  11448. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  11449. 2007-03-01 Jonathan Pobst <[email protected]>
  11450. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  11451. 2007-03-01 Jonathan Pobst <[email protected]>
  11452. * XplatUIWin32.cs: Register a new class with Windows each time we get
  11453. a new ClassStyle. [Fixes bugs #79432, #80817]
  11454. * Controls.cs: Set the correct ClassStyle in CreateParams.
  11455. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  11456. 2007-03-01 Gert Driesen <[email protected]>
  11457. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  11458. ColumnReordered event must not be signaled when modifying DisplayIndex
  11459. of a ColumnHeader. Added internal ReorderColumns method which takes
  11460. care of drawing, and updating the internal DisplayIndex of the
  11461. ColumnHeader. Added AddColumn method which is invoked from
  11462. ColumnHeaderCollection when adding or inserting columns, and which
  11463. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  11464. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  11465. Recalculated dispay indices after removing a ColumnHeader.
  11466. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  11467. match MS. Allows last display index to be returned after ListView
  11468. is disposed. Update actual location of ColumnHeader when DisplayIndex
  11469. is modified.
  11470. 2007-03-01 Everaldo Canuto <[email protected]>
  11471. * LinkLabel.cs: Improve CalcTrimRectangle.
  11472. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  11473. 2007-02-28 Everaldo Canuto <[email protected]>
  11474. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  11475. get rectangle as a result value.
  11476. 2007-02-28 Everaldo Canuto <[email protected]>
  11477. * LinkLabel.cs: Theres some diferences between rectangle return from
  11478. MeasureCharacterRanges and the area used for DrawString to fix this
  11479. CalcMeasurementFactor method was created, it calcules the diferences
  11480. to be use later to adjust rectangle in draw operations. Fixes #80473.
  11481. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  11482. to adjust draw rectangle.
  11483. 2007-02-27 Everaldo Canuto <[email protected]>
  11484. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  11485. text and some other changes to reduce and optimize source code.
  11486. 2007-02-27 Jonathan Pobst <[email protected]>
  11487. * RadioButton.cs: Implement 2.0 event.
  11488. * RelatedImageListAttribute.cs: Implement new class.
  11489. 2007-02-27 Everaldo Canuto <[email protected]>
  11490. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  11491. 2007-02-27 Jonathan Pobst <[email protected]>
  11492. * CheckBox.cs: Implement 2.0 functionality.
  11493. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  11494. * ListView.cs: Refactor Add and AddRange methods of
  11495. ListViewItemCollection, to not update the ListView
  11496. everytime an item is added in AddRange. Also move the update
  11497. code to a new CollectionChanged method, and call it
  11498. from other methods that need it as well (this should also fix some
  11499. bugs when Sorting is used).
  11500. 2007-02-27 Jackson Harper <[email protected]>
  11501. * TextControl.cs: Try to never let the caret stay in a non-text
  11502. tag.
  11503. * TextBoxBase.cs: Update the caret.
  11504. 2007-02-26 Jonathan Pobst <[email protected]>
  11505. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  11506. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  11507. delete POINT structure, duplicate of one in XplatUIStructs.
  11508. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  11509. 2007-02-26 Gert Driesen <[email protected]>
  11510. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  11511. edit box since otherwise the Label would immediately be set (even if
  11512. the user did not modify the label). In OnKeyDown set Handled to true
  11513. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  11514. columns that are to be removed. In ListViewItemCollection unlink items
  11515. that are to be removed.
  11516. 2007-02-24 Jonathan Pobst <[email protected]>
  11517. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  11518. it when we are done. [Fixes bug #80949]
  11519. 2007-02-23 Jonathan Pobst <[email protected]>
  11520. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  11521. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  11522. * ListView.cs: I forgot to commit the changes for ListView
  11523. in my previous patch.
  11524. 2007-02-23 Jonathan Pobst <[email protected]>
  11525. * Clipboard.cs: Partially implement an overload of SetDataObject.
  11526. * Form.cs: Implement ShowWithoutActivation.
  11527. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  11528. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  11529. This is a first set of changes to make the Virtual mode works,
  11530. by avoiding the retrieval of ListViewItem instances until
  11531. draw time.
  11532. * ListView.cs: Store item position in the ListView instead of the
  11533. ListViewItem, this way we don't request the Bounds property of
  11534. ListViewItem inside the ListView calculations, as well as cache the item
  11535. size in item_size field. Store indexes instead of ListViewItem
  11536. instances in the matrix used by icon view. Add a ItemMatrixLocation
  11537. struct to hold the row and col info of the matrix info.
  11538. * ListViewItem.cs: Don't store the location anymore, and only cache
  11539. the rectangles for GetBounds. Use the ListView.GetItemLocation
  11540. method to retrieve the actual location.
  11541. 2007-02-23 Jonathan Pobst <[email protected]>
  11542. * TextRenderer.cs: Add clipping support, thanks to George.
  11543. [Fixes bug #80949]
  11544. 2007-02-23 Gert Driesen <[email protected]>
  11545. * ListViewItem.cs: Cancel label edit when item is removed from
  11546. ListView.
  11547. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  11548. event before the edit textbox is displayed. Added CancelEdit method
  11549. which is used end to editing while ignoring the value set by the
  11550. user. In EndEdit, set focus to ListView to avoid losing focus to
  11551. other controls. In ListViewItemCollection.Clear, cancel editing of
  11552. any of the items. In Remove, cancel editing of item being removed.
  11553. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  11554. 2007-02-23 Gert Driesen <[email protected]>
  11555. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  11556. bug #80948.
  11557. 2007-02-23 Everaldo Canuto <[email protected]>
  11558. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  11559. compatible with non X11 systems. Fixes #80901.
  11560. 2007-02-23 Gert Driesen <[email protected]>
  11561. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  11562. whether the item should be unselected and reselect. We do no want this
  11563. when we're starting to edit the label. Do not fire the
  11564. SelectedIndexChanged event from ListView when its already been fired
  11565. by modifying ListViewItem.Selected. Fixes bug #80943.
  11566. 2007-02-23 Jonathan Pobst <[email protected]>
  11567. * TextRenderer.cs: Previos commit logic was backwards.
  11568. 2007-02-23 Jonathan Pobst <[email protected]>
  11569. * TextRenderer.cs: Don't add padding on MeasureText if we were
  11570. sent the NoPadding flag.
  11571. 2007-02-23 Everaldo Canuto <[email protected]>
  11572. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  11573. after DrawButton. To prevent image overlaps button borders SetClip and
  11574. ResetClip added before and after draw image. Fixes #79129.
  11575. 2007-02-23 Everaldo Canuto <[email protected]>
  11576. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  11577. window size, it fix problem when you run under win32 that theres
  11578. Size diferent than ClientSize. Also fix controls size and positions
  11579. to mimic Win32. Fixes #80837.
  11580. 2007-02-22 Everaldo Canuto <[email protected]>
  11581. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  11582. menu area to fix some problems for non X11 systems. Fixes #80613.
  11583. 2007-02-22 Jackson Harper <[email protected]>
  11584. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  11585. even if it doesn't have any children.
  11586. 2007-02-22 Jackson Harper <[email protected]>
  11587. * TreeView.cs: Calculate the top node 'on the fly', this
  11588. eliminates issues where you need to click on the tree before
  11589. scrolling it to get the top node computed correctly.
  11590. * TreeNodeCollection.cs: We don't need to mess with the top node
  11591. anymore.
  11592. 2007-02-22 Jackson Harper <[email protected]>
  11593. * DataGridViewRow.cs: Fix typo so height can actually be set.
  11594. Patch by Peter Grimm.
  11595. 2007-02-22 Gert Driesen <[email protected]>
  11596. * FileDialog.cs: Fixed support for renaming files and directories.
  11597. * ListView.cs: Do not lose focus when edit is canceled. Process
  11598. Escape as regular key (to prevent closing of dialogs).
  11599. 2007-02-22 Gert Driesen <[email protected]>
  11600. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  11601. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  11602. 2007-02-22 Gert Driesen <[email protected]>
  11603. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  11604. did not modify label.
  11605. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  11606. modified the text. Reset Label when user presses Escape in edit mode.
  11607. Move focus to ListView after having cancelled or finished editing the
  11608. label.
  11609. 2007-02-21 Gert Driesen <[email protected]>
  11610. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  11611. private. Clear textbox when Text is set to null and SelectedIndex is
  11612. already -1.
  11613. * FileDialog.cs: Removed unnecessary initializations. Removed
  11614. workarounds for ComboBox bugs that are now fixed. Modified
  11615. DefaultExt, InitialDirectory and Title property to change null to
  11616. zero-length string in getters. Avoid directly accessing fields.
  11617. 2007-02-20 Jackson Harper <[email protected]>
  11618. * TextControl.cs: Remove RecalAlignments call, that was some
  11619. debugging leftovers.
  11620. - Don't use the line indent when we shouldn't.
  11621. * RichTextBox.cs: Add support for paragraph left indents.
  11622. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  11623. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  11624. Seems like the class status pages doesn't catch params differences.
  11625. 2007-02-19 Gert Driesen <[email protected]>
  11626. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  11627. 2007-02-19 Gert Driesen <[email protected]>
  11628. * ComboBox.cs: Setting Text should have no effect if item text of
  11629. selected item exactly matches value. First lookup text using
  11630. case-sensitive comparison, and fallback to case-insensitive comparison.
  11631. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  11632. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  11633. paramname to match MS. Restart from first item if string is not found
  11634. after startIndex. Fixed paramname of ArgumentNullException that is
  11635. thrown for null value in ObjectCollection.Contains.
  11636. 2007-02-19 Everaldo Canuto <[email protected]>
  11637. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  11638. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  11639. * ListControl.cs: In SelectedValue use value.Equals to compare for
  11640. equality instead of ==, otherwise it will fail for strings.
  11641. Fixes #80794.
  11642. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  11643. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  11644. since the caret won't show up unless ShowSelection is true.
  11645. Fixes #80795.
  11646. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  11647. * Application.cs: When disabling all forms but the main form, do not
  11648. disable any descendants of the main form (such as mdi children or
  11649. other parented forms). Fixes #80822 on Windows.
  11650. * Form.cs: If we have a parent, set the WS_CHILD style.
  11651. * Control.cs: Update the window styles if the control whose parent has
  11652. changed is a form (the WS_CHILD style has to be switched).
  11653. 2007-02-19 Everaldo Canuto <[email protected]>
  11654. * XplatUIStructs.cs: MsgUIState structure added.
  11655. 2007-02-18 Gert Driesen <[email protected]>
  11656. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  11657. profile, do not check filename(s) for illegal character if filename(s)
  11658. were set non-interactively but always check on 1.0 profile. Fixed NRE
  11659. in DefaultExt and only strip off first leading dot. Improve exception
  11660. message when invalid Filter is set. Do not ignore InitialDirectory if
  11661. it does no exist. Store specified Title, and if empty use default
  11662. title (depending on type of dialog). Added an internal DialogTitle
  11663. property for retrieving dialog title. Fixed logic of displayed dir to
  11664. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  11665. string as its buggy.
  11666. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  11667. FileName is a zero-length string (it can never be null). Override
  11668. DialogTitle property to set default title of dialog box.
  11669. * SaveFileDialog.cs: Override DialogTitle property to set default
  11670. title of dialog box.
  11671. 2007-02-18 Gert Driesen <[email protected]>
  11672. * FileDialog.cs: Modify default text of filename and filetype labels
  11673. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  11674. after we've updated the SelectedIndex. Fixes part of bug #80887.
  11675. * SaveFileDialog.cs: Set text of filetype label.
  11676. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  11677. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  11678. label field. Needed by latest Jackson's fixes for ListView.
  11679. 2007-02-16 Andreia Gaita <[email protected]>
  11680. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  11681. print preview images.
  11682. 2007-02-16 Jackson Harper <[email protected]>
  11683. * ListView.cs: Make AfterLabelEdit work correctly.
  11684. * FileDialog.cs: After changing the name of the folder, we have to
  11685. make sure that it is created, or that we pop up an error because
  11686. it already exists.
  11687. 2007-02-16 Jackson Harper <[email protected]>
  11688. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  11689. System.String are mapped to text.
  11690. - Handle dataobjects, getting all the possible formats out of them
  11691. - We dont need the drag event args before we give feedback. This
  11692. allows feedback cursors to be immediate before selections have
  11693. been converted.
  11694. 2007-02-16 Jackson Harper <[email protected]>
  11695. * TextBoxBase.cs: Modified the method for inserting images to
  11696. taking a line and position instead of tag and position.
  11697. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  11698. into the RTF file.
  11699. * TextControl.cs: Allow images to be inserted as the first tag of
  11700. a line.
  11701. - Fix some off by one issues when we assume the first tag is a
  11702. text tag, not an image tag.
  11703. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  11704. * ListView.cs: Set focus to ListView when ItemControl gets a
  11705. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  11706. Fixes part of #80467.
  11707. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  11708. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  11709. validate Text input (if null or empty string reset Value to default
  11710. value). Fixes #80830.
  11711. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  11712. * ListView.cs: Set owner as null for columns and items when
  11713. Dispose is invoked. Fixes #80607.
  11714. 2007-02-14 Jonathan Pobst <[email protected]>
  11715. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  11716. showing DropDowns, don't show a Grip when doing Flow layout.
  11717. [This fixes the toolbox in PDN 2.72.]
  11718. * ToolStripItem.cs: Add Anchor property and some internal properties to
  11719. reduces needed changes to FlowLayout.
  11720. * ToolStripOverflow.cs: Remove unused variable.
  11721. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  11722. use it in the layout calculations.
  11723. 2007-02-13 Everaldo Canuto <[email protected]>
  11724. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  11725. reported in #79640.
  11726. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  11727. size calculation.
  11728. 2007-02-13 Everaldo Canuto <[email protected]>
  11729. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  11730. MeasureString format, it can make button very large in some cases, it is
  11731. strange but is what win32 do.
  11732. 2007-02-13 Everaldo Canuto <[email protected]>
  11733. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  11734. size calculation.
  11735. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  11736. rendering, the value is based on MenuAccessKeysUnderlined.
  11737. 2007-02-13 Everaldo Canuto <[email protected]>
  11738. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  11739. for most themes.
  11740. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  11741. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  11742. and use MenuAccessKeysUnderlined instead.
  11743. 2007-02-13 Andreia Gaita <[email protected]>
  11744. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  11745. A selected control would not get a Focus call if:
  11746. - the default active control of the container is the same as
  11747. the one that was selected
  11748. - we are switching from one container to another
  11749. Under these conditions, the container being selected already has
  11750. an active_control, which is the same as the one being activated,
  11751. so set_ActiveControl would always return and not send the Focus
  11752. call. Fix to check if the currently active control of the container
  11753. is actually focused.
  11754. 2007-02-13 Jonathan Pobst <[email protected]>
  11755. * StatusStrip.cs: Implement the spring layout.
  11756. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  11757. always matches the host.
  11758. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  11759. and TextAfterImage.
  11760. 2007-02-13 Andreia Gaita <[email protected]>
  11761. * Control.cs: Code reorganization only.
  11762. - Reorganize the WndProc cases so that each case has it's own handling method,
  11763. to help with the no-line-numbering stack traces.
  11764. - Formatting changes (it's vstudio's fault, really :p)
  11765. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  11766. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  11767. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  11768. behaviour.
  11769. 2007-02-12 Jackson Harper <[email protected]>
  11770. * RichTextBox.cs:
  11771. * TextBox.cs: By default we have a non multiline document
  11772. - use the multiline property instead of the internal variable
  11773. * TextBoxBase.cs: Treat multiline and non multiline the same in
  11774. most places.
  11775. - Use the documents multiline flag instead of tracking it ourself
  11776. * TextControl.cs: Attempt at getting multiline to match MS
  11777. behavior. Lines now track an offset, which is either their X or Y
  11778. offset depending on whether or not we are in multiline mode.
  11779. - Update all the methods to understand that lines have an X value.
  11780. - Fix crash in Undo::Duplicate when empty lines are deleted.
  11781. 2007-02-12 Everaldo Canuto <[email protected]>
  11782. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  11783. code moved to properties PreferredHeight and PreferredWidth. It solve the
  11784. all problems when preferred sizes must be recalculated. Fixes #80801.
  11785. 2007-02-12 Everaldo Canuto <[email protected]>
  11786. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  11787. font height when compatible_text_rendering is false. Partially fix #80801.
  11788. 2007-02-09 Gert Driesen <[email protected]>
  11789. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  11790. 2007-02-09 Gert Driesen <[email protected]>
  11791. * Form.cs: Improved exception messages in ShowDialog.
  11792. 2007-02-09 Gert Driesen <[email protected]>
  11793. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  11794. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  11795. if not set. Fixes bug #80764. Avoid accessing current_settings field
  11796. directly.
  11797. 2007-02-08 Everaldo Canuto <[email protected]>
  11798. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  11799. false.
  11800. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  11801. public in 2.0 and for easy maintenance and dont break compatibility it is
  11802. internal in 1.1.
  11803. 2007-02-08 Jonathan Pobst <[email protected]>
  11804. * ToolStripItem.cs: Implement using images from ImageList.
  11805. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11806. * DateTimePicker.cs: Change default date-formatting culture from
  11807. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  11808. seems to be the way MS does it.
  11809. 2007-02-08 Andreia Gaita <[email protected]>
  11810. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  11811. (the 6 was cut off on the right side)
  11812. 2007-02-08 Jonathan Pobst <[email protected]>
  11813. * Form.cs: Tell MenuStrips to close when the form is clicked.
  11814. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  11815. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  11816. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  11817. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  11818. support for Overflow, where items that do not fit are automatically
  11819. reparented to a drop down menu.
  11820. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  11821. Also: fixes bug #80747.
  11822. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11823. * ComboBox.cs: Remove warning (unused code).
  11824. * ScrollableControl.cs: Remove warning for 1.1 profile.
  11825. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11826. * Form.cs: Remove a warning.
  11827. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  11828. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  11829. 'g' specifier, not documented anywhere, but seems to always show up
  11830. as a single space (might have something to do with the DateTime 'g'
  11831. specifier, which is the era format, but since DateTimePicker can't
  11832. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  11833. won't crash if the format has an unmatched quote. Now shows
  11834. single-character formats correctly. Fixes #80744.
  11835. 2007-02-08 Jonathan Pobst <[email protected]>
  11836. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  11837. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  11838. 2007-02-07 Chris Toshok <[email protected]>
  11839. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  11840. background color. it overwrites the background image we've
  11841. already painted. Fixes #80599.
  11842. 2007-02-07 Chris Toshok <[email protected]>
  11843. * DataGrid.cs: return immediately from Edit() when there are no
  11844. columns. Fixes #80662.
  11845. 2007-02-07 Chris Toshok <[email protected]>
  11846. * MessageBox.cs: fix #80625. don't always show the Help button in
  11847. 2.0. use the displayHelpButton parameter to determine if we
  11848. should show it. Also, make the internal show_help field private.
  11849. 2007-02-07 Chris Toshok <[email protected]>
  11850. * Control.cs (SetVisibleCore): check in the proposed patch for
  11851. 80604, and set is_visible before calling CreateControl.
  11852. 2007-02-07 Jonathan Pobst <[email protected]>
  11853. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  11854. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  11855. on it.
  11856. 2007-02-06 Everaldo Canuto <[email protected]>
  11857. * MenuAPI.cs: hotkey_active internal field added, it is required because
  11858. we need to know when hotkeys must be draw, before this change a keystate
  11859. Navigating was used but we can have menu in navigating state without
  11860. hotkeys. Fixes #80694.
  11861. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  11862. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  11863. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  11864. corresponding events and methods to be internal for 1.1 profile and
  11865. public for 2.0 profile (required by SizeGrip).
  11866. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  11867. implicit control list). Don't set the size nor the location of the
  11868. SizeGrip anymore as it's not needed.
  11869. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  11870. draw directly on the captured control (fixes #80656). Removed
  11871. ShowGrip (it wasn't used anywhere), redraw (always true), added
  11872. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  11873. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  11874. be called from SizeGrip.
  11875. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  11876. * Timer.cs: Throw ArgumentException if Interval <= 0.
  11877. 2007-02-05 Jackson Harper <[email protected]>
  11878. * TreeView.cs: We need to check scrollbar visibility when window
  11879. visibility is updated, because non visible trees don't ever add
  11880. scrollbars.
  11881. * Cursor.cs: We want the override cursor to be reset to NULL when
  11882. we set current cursor to the default cursor.
  11883. 2007-02-05 Jackson Harper <[email protected]>
  11884. * TextControl.cs: Don't have crlfs when we are non multiline.
  11885. - Consolidate the line position.
  11886. 2007-02-05 Jackson Harper <[email protected]>
  11887. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  11888. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  11889. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  11890. handling LeaveNotify->NotifyUngrab in order to send
  11891. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  11892. after calling XUngrabPointer, so we call WindowUngrabbed directly
  11893. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  11894. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  11895. MouseCaptureChanged correctly. Also create handles if changing
  11896. Capture (matches MS behaviour).
  11897. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11898. * SizeGrip.cs: Make the last change 2.0 only.
  11899. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11900. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  11901. changes to initial size (fixes #80597).
  11902. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11903. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  11904. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  11905. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  11906. background) and only allow dragging if enabled. This way the
  11907. sizegrip can be used to fill the open square that otherwise would
  11908. have been shown in the bottom right corner of ScrollableControl
  11909. when ScrollableControl is not suppose to support sizing.
  11910. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  11911. sizegrip is shown and enabled, and hook up with necessary events.
  11912. 2007-02-01 Chris Toshok <[email protected]>
  11913. * DataGridTextBoxColumn.cs: clean up the
  11914. GetFormattedString/GetColumnValueAtRow combination of functions.
  11915. Also fix UpdateUI, and the initial state of
  11916. IsInEditOrNavigateMode.
  11917. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  11918. aren't supposed to scroll the textbox here, we're supposed to
  11919. scroll the datagrid.
  11920. 2007-02-01 Chris Toshok <[email protected]>
  11921. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  11922. setting the position.
  11923. 2007-02-01 Chris Toshok <[email protected]>
  11924. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  11925. here, since the most recent focus fixes keep us from generating
  11926. the Leave event when our textbox gets focus.
  11927. (Edit): we should be passing null for the column style's
  11928. instantText parameter.
  11929. 2007-02-01 Jonathan Pobst <[email protected]>
  11930. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  11931. raised. Fixes menu text/icons not showing up in PDN.
  11932. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  11933. * Control.cs: Remove code in constructor that makes every
  11934. control with WS_CHILD set have initial location -1, -1.
  11935. 2007-01-31 Jackson Harper <[email protected]>
  11936. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  11937. XplatUIX11.
  11938. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  11939. 2007-01-31 Jackson Harper <[email protected]>
  11940. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  11941. - Remove some debug code.
  11942. 2007-01-31 Jackson Harper <[email protected]>
  11943. * XplatUIX11.cs: If you set the override cursor during a grab, it
  11944. should actually override the grab cursor. This comes into play
  11945. when you are setting custom cursors in a DND feedback method.
  11946. 2007-01-31 Jackson Harper <[email protected]>
  11947. * X11Dnd.cs: Add support for handling the QueryContinue and
  11948. GiveFeedback events.
  11949. - Cancel drag and drop actions when the escape key is clicked.
  11950. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  11951. can handle the ESCAPE key.
  11952. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  11953. done when dnd events are continued after the button is released.
  11954. - Add a new helper method so that dnd can translate key events.
  11955. 2007-01-31 Alexander Olk <[email protected]>
  11956. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  11957. make it more obvious what is happening.
  11958. 2007-01-30 Jackson Harper <[email protected]>
  11959. * XplatUIX11.cs: Don't break when handling button release in drag
  11960. and drop operations. We need that BUTTONUP message to get through
  11961. so capture is released.
  11962. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  11963. this is handled automatically when the mouse is down.
  11964. 2007-01-30 Jackson Harper <[email protected]>
  11965. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  11966. is closed, so we need to make sure that we aren't changing the
  11967. dialog result when the OK (Open or Save) button has been clicked
  11968. and we are closing the window ourselves. Note we don't need to
  11969. worry about the cache being written in this case, because it was
  11970. already done in the previous FilOk call.
  11971. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  11972. * DateTimePicker.cs: Remove a warning.
  11973. * ComboBox.cs: Remove a couple of warnings.
  11974. 2007-01-29 Chris Toshok <[email protected]>
  11975. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  11976. set one, if SetIcon is passed a null icon.
  11977. 2007-01-29 Andreia Gaita <[email protected]>
  11978. * TextBox.cs: Redraw when the password characters changes
  11979. * TextControl.cs: Check if textbox has a password char and draw
  11980. a line of password chars instead of the text in the line. LineTag gets
  11981. an extra Draw() method which allows document.Draw to override the text
  11982. that will be drawn. Removes 1024 char limitation on length of passworded
  11983. lines.
  11984. 2007-01-29 Jackson Harper <[email protected]>
  11985. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  11986. single chars is not.
  11987. 2007-01-28 Jonathan Pobst <[email protected]>
  11988. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  11989. one pixel. Fix a StackOverflowException caused by an overload wrongly
  11990. calling itself.
  11991. 2007-01-26 Everaldo Canuto <[email protected]>
  11992. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  11993. also remove ProcessArrowKey and put the code inside ProcessKeys.
  11994. 2007-01-26 Jonathan Pobst <[email protected]>
  11995. * PaddingConverter.cs: Added.
  11996. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  11997. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  11998. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  11999. of text (fixes #80601). For panels clip the text to draw to the
  12000. panel (fixes #80603).
  12001. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  12002. * ComboBox.cs: Fixed implementation of ResetText.
  12003. 2007-01-25 Jackson Harper <[email protected]>
  12004. * TextControl.cs: For the last char of a line we need to use the
  12005. line size, not that chars width, since it won't actually be
  12006. computed since the right side of a char is based on the start of
  12007. the left side of the next char, and the next char does not exist.
  12008. 2007-01-25 Chris Toshok <[email protected]>
  12009. * Splitter.cs: fix the new unit tests, and reindent some switch
  12010. statements.
  12011. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12012. * ComboBox.cs: Implemented 2.0 methods and events.
  12013. * TextBoxBase.cs: Added OnTextUpdate, so that
  12014. ComboBox.ComboTextBox can inform ComboBox of it.
  12015. 2007-01-25 Jackson Harper <[email protected]>
  12016. * TextControl.cs: Respect ShowSelection when deciding whether or
  12017. not to display the caret, this allows comboboxes to have carets
  12018. when the combotextbox does not have focus.
  12019. 2007-01-25 Jackson Harper <[email protected]>
  12020. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  12021. same as the Suspend/Resume for recalc, except this will do actual
  12022. Invalidates.
  12023. - New Undo manager, works much like the MS version.
  12024. - Implemented Redo
  12025. * TextBoxBase.cs: The Cut operation is undoable.
  12026. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12027. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  12028. on Windows (no difference on Linux).
  12029. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12030. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  12031. we don't want to activate any windows. Fixes #79433.
  12032. 2007-01-25 Jonathan Pobst <[email protected]>
  12033. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  12034. [Fixes bug #80609]
  12035. 2007-01-25 Alexander Olk <[email protected]>
  12036. * FileDialog.cs:
  12037. - Move to using System.ComponentModel.EventHandlerList
  12038. - Replace Refresh with Invalidate
  12039. - Clear the mime filecache on closing
  12040. - Some other memory reducing work. After beeing closed FD now uses
  12041. only about 300 KB for the fdo mime stuff plus the memory of the
  12042. cached icons.
  12043. * Mime.cs: Changed coding style and removed unnecessary commented
  12044. code. Some more memory memory reducing work.
  12045. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  12046. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  12047. a few other missing 2.0 properties.
  12048. * Theme.cs: Added DrawFlatStyleComboBox.
  12049. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  12050. 2007-01-24 Chris Toshok <[email protected]>
  12051. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  12052. wake_waiting flag, not just when there's data to be read. if we
  12053. don't, then future wakeup's won't reach us and we'll be doomed to
  12054. wait for the entire 1 second timeout forever (unless there are X
  12055. events to be had).
  12056. 2007-01-24 Jonathan Pobst <[email protected]>
  12057. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  12058. until you pass Items.Count, not Items.Count - 1 like 1.1.
  12059. 2007-01-24 Gert Driesen <[email protected]>
  12060. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  12061. 2007-01-24 Jonathan Pobst <[email protected]>
  12062. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  12063. adding the panels in the wrong order.
  12064. 2007-01-24 Jackson Harper <[email protected]>
  12065. * TextBoxBase.cs: When we move the caret we also need to move the
  12066. selection, this fixes some random crashing after doing select
  12067. text, unselect, delete a char, paste.
  12068. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  12069. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  12070. 2007-01-23 Everaldo Canuto <[email protected]>
  12071. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  12072. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  12073. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  12074. 2007-01-23 Everaldo Canuto <[email protected]>
  12075. * ToolBar.cs:
  12076. - Implement support for vertical toolbars. Fixes #80539;
  12077. - Call LayoutToolBar when resize, it fix some other problems in layout.
  12078. - Rename requested_height to requested_size, as we can have width on it
  12079. when toolbar is vertical.
  12080. - Create a private property "Vertical" that uses Dock to verify when
  12081. toolbar is vertical or not.
  12082. - Set ControlStyles when change Dock property.
  12083. - Refactory in LayoutToolBar to have better variables names and to support
  12084. vertical toolbars.
  12085. - Fixes default value for ButtonSize when button count is equal zero, size
  12086. must be (39, 36) test case writed.
  12087. 2007-01-23 Chris Toshok <[email protected]>
  12088. * Control.cs: fix the checks so that they work correctly for mdi
  12089. parents/children.
  12090. 2007-01-23 Chris Toshok <[email protected]>
  12091. * Control.cs: ControlCollection seems to have super-secret
  12092. abstraction breaking knowledge of Mdi containers. allow MdiClient
  12093. to add toplevel controls.
  12094. 2007-01-23 Chris Toshok <[email protected]>
  12095. * Control.cs: throw an ArgumentException if a toplevel control is
  12096. added to our control collection from ControlCollection.Add, as
  12097. well as from ControlCollection.IList.Add. This fixes the
  12098. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  12099. Also, in ControlCollection.IList.Add, don't through an
  12100. ArgumentNullException, throw an ArgumentException, when value ==
  12101. null. This matches MS.
  12102. 2007-01-23 Chris Toshok <[email protected]>
  12103. * BindingSource.cs: initial, incomplete, implementation of
  12104. BindingSource.
  12105. 2007-01-23 Jackson Harper <[email protected]>
  12106. * TextControl.cs:
  12107. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  12108. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  12109. 2007-01-23 Everaldo Canuto <[email protected]>
  12110. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  12111. 2007-01-23 Andreia Gaita <[email protected]>
  12112. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  12113. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  12114. IndexOfKey() for 2.0
  12115. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  12116. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  12117. to prevent it from changing z-order.
  12118. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  12119. leave UI updates in MdiWindowManager.
  12120. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  12121. 1 sized (NC handling goes weird on Linux otherwise).
  12122. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  12123. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  12124. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  12125. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  12126. and SetWindowState(s) to allow for changing the size of an activated child
  12127. before activating it (reduces a lot of flicker).
  12128. 2007-01-22 Jonathan Pobst <[email protected]>
  12129. * Form.cs: Changing FormBorderStyle has different semantics based
  12130. on whether the Form is visible or not. If not visible, don't change
  12131. the Size. But InvalidateNC needs to be called to force the window
  12132. to pick up the changes and redraw itself. [Fixes bug #80574]
  12133. 2007-01-22 Jonathan Pobst <[email protected]>
  12134. [Moma work]
  12135. * ContainerControl.cs: ProcessCmdKey.
  12136. * ErrorProvider.cs: new constructor.
  12137. * Form.cs: fix AutoValidateEvent compiler warning.
  12138. * Label.cs: fix OnAutoSizeChanged compiler warning.
  12139. * MenuStrip.cs: fix CanOverflow compiler warning.
  12140. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  12141. * TextBox.cs: Dispose.
  12142. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  12143. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  12144. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  12145. * ToolStripItem.cs: Overflow, RightToLeft properties.
  12146. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  12147. * Form.cs: Move the layout of the main form to MdiWindowManager.
  12148. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  12149. do a layout of the main window to update MdiClient's client area to
  12150. the right area. Fixes #80533. Remove the calculation of nc size,
  12151. it was just wrong and the correct one is the same as for
  12152. InternalWindowManager.
  12153. 2007-01-20 Jonathan Pobst <[email protected]>
  12154. * Control.cs: Setting Anchor or Dock needs to reset the other
  12155. to its default. [Fixes bug #80556]
  12156. 2007-01-20 Chris Toshok <[email protected]>
  12157. * CheckedListBox.cs: class status changes.
  12158. * ScrollableControl.cs: same.
  12159. * RichTextBox.cs: same.
  12160. * ContainerControl.cs: same.
  12161. * ListView.cs: same.
  12162. * NotifyIcon.cs: same.
  12163. * MenuStrip.cs: same.
  12164. * RadioButton.cs: same.
  12165. * CheckBox.cs: same.
  12166. * PrintPreviewDialog.cs: same.
  12167. * Form.cs: same.
  12168. 2007-01-19 Jonathan Pobst <[email protected]>
  12169. * TreeNode.cs: Apply Alan's patch for Name property.
  12170. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  12171. * Form.cs: Implemented SizeGripStyle.
  12172. * SizeGrip.cs: Check for minimum and maximum size for the
  12173. control being resized and only resize if size has actually
  12174. changed.
  12175. 2007-01-19 Chris Toshok <[email protected]>
  12176. * DataGridColumnStyle.cs: stop setting _readonly in the
  12177. PropertyDescriptor setter. fixes a unit test failure.
  12178. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  12179. just consult our table style (if we have one). We don't need to
  12180. consult the datagrid readonly attribute because that's passed in
  12181. as the _ro arg to Edit. this simplifies things a little.
  12182. * DataGrid.cs: use CurrentColumn instead of
  12183. current_cell.ColumnNumber just to simplify some of the code.
  12184. switch the order of some things in the CurrentCell setter to keep
  12185. the previous cell from getting a textbox again -
  12186. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  12187. So we need to set the new cell before calling it.
  12188. call Edit in OnEnter, as does Microsoft.
  12189. also, make sure the current table style isn't the one we create
  12190. initially when checking to see if it's different than the one
  12191. we're setting it to in BindColumns (this fixes #80421).
  12192. * GridTableStylesCollection.cs: table styles can have "" for a
  12193. mapping name. part of the fix for #80421.
  12194. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  12195. Edit significantly.
  12196. 2007-01-18 Jonathan Pobst <[email protected]>
  12197. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  12198. and less GDI object leaky-er.
  12199. 2007-01-18 Andreia Gaita <[email protected]>
  12200. * LinkLabel.cs: Add opaque control style
  12201. 2007-01-18 Jackson Harper <[email protected]>
  12202. * TextControl.cs: Calculate width properly.
  12203. - Don't store the tag's X offset, this can be figured out very
  12204. easily.
  12205. - When getting the caret tag make sure to get the last empty tag.
  12206. 2007-01-18 Jonathan Pobst <[email protected]>
  12207. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  12208. [Fixes bug #79959]
  12209. * Control.cs: Color.Empty shouldn't count for previous transparent
  12210. redraw changes.
  12211. 2007-01-18 Jackson Harper <[email protected]>
  12212. * TextBox.cs:
  12213. * RichTextBox.cs:
  12214. * TextControl.cs: Starting to merge in some pieces of my older
  12215. undo work. Basically just some slight cleanup of the undo API.
  12216. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  12217. * TrackBar.cs: Fix signature of RightToLeftLayout.
  12218. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  12219. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  12220. * Application.cs: Implemented UseWaitCursor.
  12221. 2007-01-18 Jackson Harper <[email protected]>
  12222. * TextControl.cs: We can't skip tags if any part of the tag is
  12223. visible.
  12224. 2007-01-18 Jonathan Pobst <[email protected]>
  12225. * ContainerControl.cs: Override OnLayout.
  12226. 2007-01-18 Jonathan Pobst <[email protected]>
  12227. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  12228. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  12229. everything else.
  12230. 2007-01-18 Chris Toshok <[email protected]>
  12231. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  12232. (leftover from the container_selected days, I'd wager). fixes bug
  12233. #80546.
  12234. 2007-01-18 Jonathan Pobst <[email protected]>
  12235. * Control.cs: Apply patch from George to fix the new testcase on
  12236. bug #80451. We can't just check for Color.Transparent, we need
  12237. to check if the back color's alpha channel is < 255.
  12238. 2007-01-18 Jonathan Pobst <[email protected]>
  12239. * Form.cs: Move setting show_icon = true to before the constructor
  12240. so that the base constructor has that information when it calculates
  12241. the form's size. Was causing forms to be (6, 6) bigger than they
  12242. were supposed to be. Thanks for catching this Rolf!
  12243. 2007-01-18 Jackson Harper <[email protected]>
  12244. * TextControl.cs: When replacing a selection we need to invalidate
  12245. from the initial selection start, because selection start is moved
  12246. to the end of the replacement.
  12247. 2007-01-18 Andreia Gaita <[email protected]>
  12248. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  12249. 2007-01-18 Chris Toshok <[email protected]>
  12250. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  12251. I just added.
  12252. 2007-01-17 Everaldo Canuto <[email protected]>
  12253. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  12254. layout methods and properties from ToolBarButton must be available
  12255. into ToolBarButtonInfo.
  12256. 2007-01-17 Jonathan Pobst <[email protected]>
  12257. * Control.cs: If the control has a transparent background, we
  12258. need to refresh it when it moves and when it's parent's background
  12259. image changes. [Fixes bug #80451]
  12260. 2007-01-17 Jonathan Pobst <[email protected]>
  12261. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  12262. 2007-01-17 Jonathan Pobst <[email protected]>
  12263. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  12264. [Fixes bug #80447, and probably speeds up things as well]
  12265. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12266. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  12267. * XplatUIWin32.cs: We need to recalculate NC size after changing
  12268. window style to toolwindow (otherwise the client rectangle will be
  12269. 3 pixels to small for some reason).
  12270. * MdiWindowManager.cs: Revert NC size calculations to match how
  12271. they are calculated only based on window styles (to match
  12272. Win32AdjustWindowRectEx, since otherwise when setting size or
  12273. location, Control will call Win32AdjustWindowRectEx to update client
  12274. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  12275. calculate a different value of client size causing another paint
  12276. (and flickering))
  12277. * InternalWindowManager.cs: When moving or resizing a window only
  12278. update size or location if they actually changed.
  12279. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  12280. (seems to match Windows behaviour better). Cleaned up
  12281. ManagedWindowDecorations to draw what's needed and nothing else
  12282. (was drawing borders and lines where they shouldn't be)
  12283. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  12284. (style = 0xFFFF) and takes into account caption height when
  12285. calculating window rectangle.
  12286. 2007-01-16 Everaldo Canuto <[email protected]>
  12287. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  12288. can be added to toolbar multiple times, we need to maintain a list of
  12289. button information for each positions.
  12290. 2007-01-16 Everaldo Canuto <[email protected]>
  12291. * ToolBar.cs: Some small stetic changes.
  12292. 2007-01-16 Jackson Harper <[email protected]>
  12293. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  12294. that allow us to have nested recalc = false blocks.
  12295. - Add paste support for images in the RichTextBox
  12296. * RichTextBox.cs: flush the text after the color is changed, so
  12297. the change takes effect.
  12298. - Use SuspendRecalc
  12299. - Some extra debugging info
  12300. * TextControl.cs: Tags no longer track their length, it is just
  12301. computed from the next tags length, this makes things a little
  12302. simpler and reduces places that we have to track length changes.
  12303. - Refactored the linetag class a little so we could make it
  12304. a base class for different kinds of tags
  12305. - Created a image tag, a tag that can have a single image inserted
  12306. into it
  12307. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  12308. that we can call suspend multiple times.
  12309. - Add some debugging methods
  12310. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12311. * MdiClient.cs: Add ActivatePreviousChild for
  12312. mdi child window navigation.
  12313. * Form.cs: Use MdiClient.ActivateNextChild/
  12314. ActivatePreviousChild instead of Form.SelectNextControl
  12315. to select the next/previous child since
  12316. SelectNextControl doesn't do it in the same order
  12317. as mdi children should do it.
  12318. 2007-01-16 Chris Toshok <[email protected]>
  12319. * Control.cs: remove container_selected field.
  12320. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12321. * MdiClient.cs: Update main form's ActiveChild when
  12322. updating keyboard focus for the mdi child.
  12323. 2007-01-16 Jonathan Pobst <[email protected]>
  12324. * Control.cs: PreferredSize fix.
  12325. * Form.cs: Add several 2.0 events, properties, and methods.
  12326. 2007-01-16 Gert Driesen <[email protected]>
  12327. * Form.cs: Provide meaningful message when MdiParent is assigned a
  12328. Form that is not an MdiContainer.
  12329. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12330. * MdiClient.cs: Update main form's ActiveChild when
  12331. activating a mdi child.
  12332. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  12333. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  12334. doesn't have a menu.
  12335. * Form.cs: Request NCRecalc after creating a mdi child window.
  12336. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  12337. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  12338. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  12339. sends keyboard focus to the active child, or to the MdiClient
  12340. if there are no child forms.
  12341. 2007-01-15 Chris Toshok <[email protected]>
  12342. * ListView.cs: drop the *Internal overrides, just do our work in
  12343. ItemControl's WndProc instead.
  12344. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  12345. of the various controls, and forward the events properly (in the
  12346. same manner as MS) from the textbox to the UpDown. Also the
  12347. ActiveControl of the UpDownBase gets set properly now. Finally,
  12348. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  12349. * NumericUpDown.cs: set Text in the ctor.
  12350. * DomainUpDown.cs: call UpdateEditText in the ctor.
  12351. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  12352. so even a Selectable = false textbox can be focused if you click
  12353. in it. Go figure.
  12354. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  12355. just add their handling in their respective WndProc's. Also add
  12356. an explicit FocusInternal method that doesn't consult CanFocus
  12357. before calling Select(this).
  12358. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  12359. do our work in WndProc instead.
  12360. * TabControl.cs: same.
  12361. * ComboBox.cs: same.
  12362. 2007-01-15 Everaldo Canuto <[email protected]>
  12363. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  12364. Fixes #80006.
  12365. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  12366. * ListViewItem.cs:
  12367. * ThemeWin32Classic.cs: Don't draw the item text outside
  12368. item bounds in Details view, as well as use trimming.
  12369. Fixes bug #80376.
  12370. 2007-01-15 Jonathan Pobst <[email protected]>
  12371. * Form.cs: Implement Form.ShowIcon.
  12372. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  12373. null, which when combined with the DlgModalFrame window style removes
  12374. the icon from the title bar.
  12375. 2007-01-15 Jonathan Pobst <[email protected]>
  12376. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  12377. 2007-01-15 Everaldo Canuto <[email protected]>
  12378. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  12379. menu when mdi child windows theres a menu, uses insert to get icon
  12380. at first position. Partially fix #80006.
  12381. 2007-01-15 Jonathan Pobst <[email protected]>
  12382. * Clipboard.cs: Implement 2.0 methods.
  12383. 2007-01-15 Everaldo Canuto <[email protected]>
  12384. * Menu.cs: Implement Insert method of MenuItemCollection class
  12385. to fix MenuMerge.
  12386. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  12387. * ListView.cs: Implement 2.0 FindItemWithText method.
  12388. 2007-01-11 Everaldo Canuto <[email protected]>
  12389. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  12390. to calculate menu bar size. Fixes #80290.
  12391. 2007-01-11 Everaldo Canuto <[email protected]>
  12392. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  12393. 2007-01-11 Chris Toshok <[email protected]>
  12394. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  12395. initial form.
  12396. 2007-01-11 Chris Toshok <[email protected]>
  12397. * LinkLabel.cs: make sure to call base.Select in our Select method
  12398. if it turns out we're going to be selected (i.e. if we have a link
  12399. that is going to receive focus). That way our container's
  12400. ActiveControl is updated properly.
  12401. 2007-01-11 Chris Toshok <[email protected]>
  12402. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  12403. they have 1 or more links. this fixes the crash gert reported.
  12404. 2007-01-11 Andreia Gaita <[email protected]>
  12405. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  12406. anymore.
  12407. * Control.cs (Controls.Add): Check if control to be added to the collection
  12408. is a top level control, and throw an ArgumentException if it is.
  12409. Remove ContainerSelectedFlag, not needed anymore.
  12410. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  12411. top most control doesn't activate the form. This fixes a problem in the
  12412. MessageBox, where the default button wouldn't get focus because the form
  12413. was activated before being Loaded - when the Owner is set, SetTopMost is
  12414. called, and it would activate it.
  12415. 2007-01-11 Jonathan Pobst <[email protected]>
  12416. * Button.cs: When clicked and setting the parent form's DialogResult,
  12417. use FindForm instead of Parent, since parent could be a container
  12418. control and not the Form. Fixes bug #80495.
  12419. 2007-01-10 Chris Toshok <[email protected]>
  12420. * Form.cs: move the call to SendControlFocus into the same
  12421. is_loaded check.
  12422. 2007-01-10 Chris Toshok <[email protected]>
  12423. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  12424. It breaks in the face of the new ActiveControl stuff, and should
  12425. be unnecessary.
  12426. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  12427. activecontrol's focus if it's not already set, after we set
  12428. ActiveControl, but before we call OnActivated. Re-fixes #79667
  12429. after the previous focus/active control fixes regressed it.
  12430. * Control.cs: reindent some code.
  12431. 2007-01-10 Chris Toshok <[email protected]>
  12432. * Splitter.cs: clearing some outstanding changes from my tree.
  12433. Replace all accesses (not writes) to the internal dock_style field
  12434. with the Dock property.
  12435. 2007-01-10 Chris Toshok <[email protected]>
  12436. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  12437. FireValidated virtual.
  12438. * Form.cs: override and don't chain up calls to FireEnter and
  12439. FireLeave.
  12440. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  12441. * ListView.cs: Add more text padding space when using
  12442. auto resize for columns (the previous value didn't work fine).
  12443. * ThemeWin32Classic.cs: Update text position inside columns,
  12444. to match the appeareance of .Net.
  12445. * ColumnHeader.cs: When using auto resize, only the Width should
  12446. depend on the sub items, not the Height. Also, set width after
  12447. auto resizing (the value of Width should never remain as -1 or -2).
  12448. 2007-01-10 Chris Toshok <[email protected]>
  12449. * Application.cs: fix compilation errors when debug is enabled.
  12450. 2007-01-10 Chris Toshok <[email protected]>
  12451. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  12452. add some nice ascii art pictures and explanation of the process).
  12453. (GetMostDeeplyNestedActiveControl): new utility function we need
  12454. because our ActiveControl can refer to a child container with its
  12455. own ActiveControl.
  12456. * Form.cs (OnActivated): remove the call to SelectActiveControl
  12457. from here, since you can override this method and not chain up,
  12458. and winforms still sets the active control.
  12459. (OnCreateControl): also remove the unnecessary SelectActiveControl
  12460. call from here.
  12461. (WndProc): it's actually called from the WM_ACTIVATE block, just
  12462. before calling OnActivated.
  12463. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  12464. inside the else. the ActiveControl setter will end up setting
  12465. focus on @control. This keeps us from setting it again (and
  12466. generating an extra LostFocus/GotFocus pair).
  12467. (Select (bool, bool)): reindent.
  12468. 2007-01-10 Jonathan Pobst <[email protected]>
  12469. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  12470. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  12471. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  12472. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  12473. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  12474. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  12475. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  12476. ToolStripTextBox.cs: Another wave of corcompare work.
  12477. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  12478. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  12479. the Width property.
  12480. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  12481. methods by callling Column.AutoResize method on columns.
  12482. 2007-01-09 Jonathan Pobst <[email protected]>
  12483. * Control.cs: Provide proper implementations of PreferredSize
  12484. and GetPreferredSize (2.0).
  12485. 2007-01-09 Jonathan Pobst <[email protected]>
  12486. * Form.cs: Remove one character (!) to make my previous OnClosing
  12487. stuff work for modal windows like MessageBox.
  12488. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  12489. * ListView.cs:
  12490. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  12491. ListView.Columns to get the last displayed column. Fixes #80452.
  12492. 2007-01-09 Everaldo Canuto <[email protected]>
  12493. * Label.cs, LinkLabel.cs: Source code identation fixes.
  12494. 2007-01-08 Everaldo Canuto <[email protected]>
  12495. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  12496. we dont need to invalidate only borders because when we invalidate four
  12497. border lines the invalidate's generates a complete redraw of button,
  12498. because it now invalidate a complete rect some other redraws operations
  12499. are fixed. Fixes #80196.
  12500. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  12501. Remove ToolBarInvalidateEntireButton as it is not used.
  12502. 2007-01-08 Jonathan Pobst <[email protected]>
  12503. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  12504. called for 2.0 profile.
  12505. * CloseReason.cs: Make class internal for 1.1.
  12506. 2007-01-08 Jonathan Pobst <[email protected]>
  12507. * ToolStripManager.cs: Implement FindToolStrip functionality.
  12508. * ToolStrip.cs: Register and unregister with ToolStripManager.
  12509. 2007-01-07 Jonathan Pobst <[email protected]>
  12510. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  12511. to ArrangedElementCollection. Implemented this with as few #if's as
  12512. possible (which is still too many).
  12513. 2007-01-07 Jonathan Pobst <[email protected]>
  12514. * Control.cs: Implement SizeFromClientSize() [2.0].
  12515. 2007-01-07 Everaldo Canuto <[email protected]>
  12516. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  12517. use Theme.BorderSize to calculate area instead of static value 1,
  12518. by the way use new BorderStaticSize instead Border3DSize when
  12519. border_static is true. Fixes #79537.
  12520. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  12521. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  12522. it is not needed.
  12523. 2007-01-06 Everaldo Canuto <[email protected]>
  12524. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  12525. 2007-01-06 Everaldo Canuto <[email protected]>
  12526. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  12527. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  12528. * Hwnd.cs:
  12529. - border_static field added, it will used to define when a control
  12530. theres 3D border but it must be static (thin).
  12531. - In GetWindowRectangle use Theme.BorderSize to calculate area
  12532. instead of static value 1, by the way use new BorderStaticSize instead
  12533. Border3DSize when border_static is true.
  12534. * XplatUIX11.cs, XplatUIOSX.cs:
  12535. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  12536. * Theme.cs: BorderStaticSize field added.
  12537. 2007-01-05 Everaldo Canuto <[email protected]>
  12538. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  12539. 2007-01-05 Everaldo Canuto <[email protected]>
  12540. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  12541. mimic same behavior than win32 that set border only in CreateParams,
  12542. it fix problems under CreateParams overrides. Fix #79442 and partial
  12543. fix #79537.
  12544. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  12545. of thi control you must call recreate handle.
  12546. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  12547. need to do anything as RecreateHangle will take care about borders.
  12548. 2007-01-05 Mike Kestner <[email protected]>
  12549. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  12550. cycles between the ItemControl and parent. Fixes #80388.
  12551. 2007-01-05 Gert Driesen <[email protected]>
  12552. * Control.cs: Lazy init layout engine. Do not directly use
  12553. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  12554. 2007-01-05 Chris Toshok <[email protected]>
  12555. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  12556. unless our list manager has changed (i.e. unless we have reason to
  12557. believe our columns have changed). Fixes #80422.
  12558. also, disable the call do BindColumns in
  12559. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  12560. 1.1 the event isn't raised in response to a column addition on a
  12561. table.)
  12562. 2007-01-05 Jonathan Pobst <[email protected]>
  12563. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  12564. that inheritors can not call it if they choose. Fixes bug #80456.
  12565. 2007-01-05 Andreia Gaita <[email protected]>
  12566. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  12567. doesn't blow up with a null exception on marshalling.
  12568. 2007-01-05 Jonathan Pobst <[email protected]>
  12569. * Control.cs: Implement several 2.0 protected properties and methods.
  12570. Ensure that all necessary events are being called when properties
  12571. are set.
  12572. 2007-01-05 Mike Kestner <[email protected]>
  12573. * ListView.cs: implement PgUp/PgDn for Details view. Also
  12574. fixes First/LastVisibleIndex to use the item_control.ClientRect
  12575. instead of the parent control. Fixes #80378.
  12576. 2006-01-05 Atsushi Enomoto <[email protected]>
  12577. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  12578. determine whether to use yard-pound or not (bug #78399).
  12579. 2006-01-04 Alexander Olk <[email protected]>
  12580. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  12581. problems. So it is time to bring back the old popupbutton colors.
  12582. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  12583. * ColumnHeader.cs:
  12584. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  12585. property by using the internal information of the
  12586. columns order in ListView.
  12587. 2007-01-04 Jonathan Pobst <[email protected]>
  12588. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  12589. Add 2.0 Tag properties.
  12590. * LinkArea.cs: Add 2.0 ToString method.
  12591. 2007-01-03 Chris Toshok <[email protected]>
  12592. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  12593. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  12594. when we're editing, which fixes #80047.
  12595. 2007-01-03 Chris Toshok <[email protected]>
  12596. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  12597. #80404.
  12598. 2007-01-03 Jonathan Pobst <[email protected]>
  12599. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  12600. property and implementation.
  12601. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  12602. for MdiWindowListItem property.
  12603. * ToolStripDropDown.cs: Don't consider hidden menu items while
  12604. laying out the menu.
  12605. 2007-01-03 Andreia Gaita <[email protected]>
  12606. * SendKeys.cs: window handle is not needed in win32, so just
  12607. get the active window for X after parsing keys and don't use
  12608. it when building the message; it is passed by parameter to the
  12609. Xplat method and used there to build the message instead. Also,
  12610. wait for events to be processed on SendWait, as opposed to Send,
  12611. which doesn't wait :) Playing with threads and Send() completely
  12612. hangs on ms.net, only SendWait() works.
  12613. XplatUIX11.cs
  12614. X11Display.cs: Check for valid window handle.
  12615. 2007-01-03 Jackson Harper <[email protected]>
  12616. * TextControl.cs: Need to prevent wrap calculations when replacing
  12617. text (this was there before i removed it accidently).
  12618. - Don't update the cursor during the positioning, just set it to
  12619. selection_start at the end of the operaion.
  12620. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  12621. * Control.cs:
  12622. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  12623. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  12624. * MonthCalendar.cs: Added Click and DoubleClick events again,
  12625. but this time they only hide Control's Click and DoubleClick.
  12626. 2007-01-03 Gert Driesen <[email protected]>
  12627. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  12628. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  12629. 2007-01-02 Jackson Harper <[email protected]>
  12630. * TextBoxBase.cs: We move the caret with the split now, so we
  12631. don't need to explicitly move the caret after splitting. This
  12632. fixes the caret bumping down an extra line on Enter.
  12633. 2007-01-02 Miguel de Icaza <[email protected]>
  12634. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  12635. 2.72).
  12636. * ScrollableControl.cs: Add Scroll event.
  12637. 2007-01-02 Mike Kestner <[email protected]>
  12638. * ListView.cs: one more try with help from [email protected]
  12639. to fix all hdr height padding codepaths. Fixes #80207.
  12640. 2007-01-02 Chris Toshok <[email protected]>
  12641. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  12642. setting it to the Control defaults anyway, and it being after the
  12643. Dock set was screwing up layout.
  12644. (set_Dock): don't short circuit out of setting base.Dock. Also,
  12645. no need to call UpdateStatusBar here, as it'll be re-layed out if
  12646. it needs to be.
  12647. 2007-01-02 Mike Kestner <[email protected]>
  12648. * ListView.cs: patch from [email protected] to add padding
  12649. to header height for width == -1. Fixes the rest of #80207.
  12650. 2007-01-02 Mike Kestner <[email protected]>
  12651. * ListView.cs: rework the mouse event forwarding everaldo added
  12652. to translate the coordinates to the parent control not
  12653. raise the parent events until after we've done our work. Hover
  12654. needs more work, in the case where HoverSelection is on, because
  12655. the item control receives more than one MouseHover per Enter
  12656. event, so we need to ensure only the "first" hover gets forwarded.
  12657. Opening a minor bug for that.
  12658. 2007-01-02 Gert Driesen <[email protected]>
  12659. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  12660. * ListControl.cs: Implemented AllowSelection property. Removed extra
  12661. tabs.
  12662. * ListBox.cs: Implemented AllowSelection property.
  12663. 2007-01-02 Everaldo Canuto <[email protected]>
  12664. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  12665. SelectedItem, it prevent for errors when you must disable item
  12666. before perform click. Fixes #80409.
  12667. 2007-01-02 Everaldo Canuto <[email protected]>
  12668. * MenuAPI.cs: Prevent second level and beyond submenus to close
  12669. until first level when move out side of popup.
  12670. 2007-01-02 Everaldo Canuto <[email protected]>
  12671. * MenuAPI.cs:
  12672. - Down submenu positin in three pixels.
  12673. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  12674. 2007-01-02 Everaldo Canuto <[email protected]>
  12675. * ThemeWin32Classic.cs:
  12676. - Fix popup menu size adding one pixel on the top.
  12677. - Down menu item border from two to one to mimic Win32.
  12678. - Some source identation fixes.
  12679. 2007-01-01 Everaldo Canuto <[email protected]>
  12680. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  12681. position of menu arrows, it fix wrong arrow size.
  12682. 2007-01-01 Everaldo Canuto <[email protected]>
  12683. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  12684. instead of line, it simplify draw operation and fix it using 3D
  12685. borders to mimic Win32.
  12686. 2007-01-01 Jonathan Pobst <[email protected]>
  12687. * StatusStrip.cs: Add implementation of the sizing grip.
  12688. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  12689. StatusStrip rendering.
  12690. 2006-12-31 Chris Toshok <[email protected]>
  12691. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  12692. override the layout style (anchor/dock) of the control. assign to
  12693. Dock instead. Fixes bug #80416.
  12694. * ToolStrip.cs: same.
  12695. 2006-12-31 Andreia Gaita <[email protected]>
  12696. * ContainerControl.cs: Use ContainerSelected flag to check if
  12697. a Container is directly selected, or if Select is called on a
  12698. non-container. If a container is directly selected, focus events
  12699. should not be raised.
  12700. Apply #80411 patch to throw exception on set_ActiveControl if
  12701. control is the same as the current one.
  12702. * Control.cs: Use ContainerSelected flag (see above).
  12703. Add invalidation check to raise event but not invalidate if
  12704. dimensions are 0.
  12705. Apply #80411 patch.
  12706. 2006-12-31 Everaldo Canuto <[email protected]>
  12707. * MenuAPI.cs: After click, dont close popup menu when menu is
  12708. ContextMenu. Fixes #80399.
  12709. 2006-12-30 Chris Toshok <[email protected]>
  12710. * ContainerControl.cs: make sure we throw the exception if the
  12711. container control doesn't contain the control we're setting
  12712. ActiveControl to.
  12713. 2006-12-30 Chris Toshok <[email protected]>
  12714. * Control.cs (SetTopLevel): fix the exception raised by
  12715. SetTopLevel for child controls.
  12716. (set_Anchor): call UpdateDistances when setting the anchor type.
  12717. This fixes bug #80336.
  12718. 2006-12-29 Gert Driesen <[email protected]>
  12719. * Theme.cs: For now, revert back to 8pt font.
  12720. 2006-12-29 Everaldo Canuto <[email protected]>
  12721. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  12722. Fixes #80395.
  12723. 2006-12-29 Chris Toshok <[email protected]>
  12724. * Control.cs: reorder the code in OnResize to give the same event
  12725. ordering as MS.
  12726. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  12727. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  12728. TileHorizontally and TileVertically.
  12729. 2006-12-29 Alexander Olk <[email protected]>
  12730. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  12731. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  12732. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  12733. Corrected copyright and email adress.
  12734. 2006-12-29 Gert Driesen <[email protected]>
  12735. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  12736. of Exception in FullPath property if no TreeView is associated with
  12737. the TreeNode.
  12738. 2006-12-29 Gert Driesen <[email protected]>
  12739. * Theme.cs: Marked default_font as private, and initialize it in ctor
  12740. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  12741. on 2.0 profile.
  12742. * ThemeGtk.cs: Removed default_font intialization.
  12743. * ThemeWin32Classic.cs: Removed default_font initialization.
  12744. 2006-12-28 Chris Toshok <[email protected]>
  12745. * Control.cs: fix a couple of place where we were creating handles
  12746. more aggressively than we should be. Fixes ControlRefresh unit
  12747. tests.
  12748. 2006-12-28 Chris Toshok <[email protected]>
  12749. * Control.cs: contrary to what the comment said, Control.Dock does
  12750. not supercede Control.Anchor - the last one you assign to decides
  12751. the layout behavior. so we need to keep track of which was the
  12752. last set. Also, fix some of the affected property arguments in
  12753. PerformLayout calls, and remove an redundant parent.PerformLayout
  12754. call in OnResized.
  12755. Add a VisibleInternal property, which returns is_visible. We
  12756. can/should get rid of all the usage of this field elsewhere.
  12757. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12758. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  12759. control style, not DoubleBuffer. Added UseDoubleBuffering property
  12760. that indicates whether doublebuffering is enabled and supported.
  12761. (comment from and code based on Gert Driesen's patch in #80324).
  12762. Fixes #80324.
  12763. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12764. * Control.cs: Fixed a NRE.
  12765. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12766. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  12767. for 2.0.
  12768. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  12769. * Control.cs: Rewrote double buffering, now a seperate
  12770. class handles all the buffering, no Graphics is disposed of
  12771. until the painting is finished (earlier implementation
  12772. would crash if the control was resized in the OnPaint,
  12773. since it would cause the double buffer to be recreated
  12774. and the old one disposed), a separate Graphics is
  12775. created for every paint (MS behaviour and anyways the state
  12776. of the Graphics would have to be saved and restored otherwise)
  12777. * XplatUIDriver.cs:
  12778. * XplatUIX11.cs:
  12779. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  12780. so that we can get the graphics for the back buffer without
  12781. having to create a new one and remove the offscreen_dc parameter
  12782. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  12783. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  12784. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  12785. Also make virtual all the key-related methods.
  12786. * ListViewItem.cs: Make virtual the key related methods for
  12787. ListViewSubItemCollection.
  12788. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  12789. * ListView.cs:
  12790. * ListViewItem.cs:
  12791. * ThemeWin32Classic.cs:
  12792. * Theme.cs: Initial support for Tile view in ListView,
  12793. as well as the implementation of the required bits for it (Item
  12794. and Subitem).
  12795. 2006-12-27 Gert Driesen <[email protected]>
  12796. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  12797. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  12798. Provide useful exception messages.
  12799. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  12800. * TrackBar.cs: Remove a warning.
  12801. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  12802. when used by DateTimePicker, fixes #80287. This also requires that
  12803. MonthCalendar implements it's own drawing for the yearly updown control,
  12804. otherwise the Capture tracking would be too complicated. Removed the Click
  12805. and DoubleClick events (according to comments they were hiding the base class
  12806. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  12807. raise these events, not that they cannot be raised. It is possible to raise
  12808. them by calling OnClick and OnDoubleClick). Added two internal fields in
  12809. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  12810. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  12811. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  12812. event, no longer needed.
  12813. 2006-12-27 Gert Driesen <[email protected]>
  12814. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  12815. true if new value differs from current value.
  12816. 2006-12-27 Gert Driesen <[email protected]>
  12817. * Control.cs: ControlCollection.Count must be public. Fixed build of
  12818. unit tests.
  12819. 2006-12-27 Gert Driesen <[email protected]>
  12820. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  12821. 2006-12-27 Gert Driesen <[email protected]>
  12822. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  12823. 2006-12-26 Everaldo Canuto <[email protected]>
  12824. * Control.cs: Invalidates control including when Width and Height is
  12825. equal zero or is not visible, only Paint event must be care about
  12826. this. Fixes #79913.
  12827. 2006-12-26 Chris Toshok <[email protected]>
  12828. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  12829. more corcompare work.
  12830. * DataGridView.cs: fix compiler warning.
  12831. * ColumnHeader.cs: some corcompare work, and also take the
  12832. opportunity to make the internal fields private.
  12833. * ListView.cs: fix the fallout from the above field change.
  12834. 2006-12-26 Jonathan Pobst <[email protected]>
  12835. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  12836. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  12837. ToolStripTextBox.cs: Fixes to events and corcompare.
  12838. 2006-12-26 Everaldo Canuto <[email protected]>
  12839. * ListView.cs: Call owner.OnMousexx event to propagate events from
  12840. item to ListView. Fixes #80367.
  12841. 2006-12-26 Gert Driesen <[email protected]>
  12842. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  12843. if value is less than one. ItemHeight should not be set to a value
  12844. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  12845. Removed extra tabs.
  12846. 2006-12-26 Jonathan Pobst <[email protected]>
  12847. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  12848. * ToolStripStatusLabel.cs: Add Spring for Moma.
  12849. 2006-12-26 Gert Driesen <[email protected]>
  12850. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  12851. Fixed code formatting. Removed debug code.
  12852. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  12853. 2006-12-26 Gert Driesen <[email protected]>
  12854. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  12855. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  12856. ArgumentOutOfRangeException if ColumnCount is negative. In
  12857. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  12858. less than 4 or higher than 32768.
  12859. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  12860. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  12861. Fixed IsFormatProviderDefault to return true if FormatProvider has
  12862. not been explicitly set.
  12863. 2006-12-25 Chris Toshok <[email protected]>
  12864. * Application.cs: add a couple of 2.0 events.
  12865. 2006-12-25 Chris Toshok <[email protected]>
  12866. * Control.cs: fix compiler warning.
  12867. * AxHost.cs: corcompare fixes.
  12868. * ApplicationContext.cs: corcompare fixes.
  12869. 2006-12-25 Chris Toshok <[email protected]>
  12870. * Control.cs: only update dist_right/dist_bottom if the
  12871. width/height is > 0. this fixes anchored controls being resized
  12872. smaller until they disappear and then resized larger again.
  12873. 2006-12-25 Chris Toshok <[email protected]>
  12874. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  12875. since they're nothing more than X/Left and Y/Top, respectively.
  12876. Also, move back to a per-control Bitmap/Graphics for
  12877. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  12878. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  12879. Height.
  12880. 2006-12-25 Miguel de Icaza <[email protected]>
  12881. * MessageBox.cs: Implemented overload that takes a new "bool
  12882. displayHelpButton" by adding a new internal field "show_help".
  12883. When clicked this will raise the HelpRequested on the owner or the
  12884. main form.
  12885. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  12886. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  12887. * ListView.cs: Add support ColumnWidthChanged and
  12888. ColumnWidthChanging.
  12889. Add support for ColumnReordered event.
  12890. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  12891. reorder.
  12892. Very nice codebase!
  12893. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  12894. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  12895. 2006-12-24 Chris Toshok <[email protected]>
  12896. * GridTablesFactory.cs: 2.0 corcompare work.
  12897. * ToolStripContainer.cs: add "override" to
  12898. ContextMenuStripChanged, and remove the local event object.
  12899. * ToolStripDropDown.cs: same with a couple properties.
  12900. * ToolStripPanel.cs: same with AutoSizeChanged event.
  12901. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  12902. * Form.cs: add the remaining 2.0 events, and do some corcompare
  12903. attribute work.
  12904. * DateTimePicker.cs: add "new" to padding.
  12905. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  12906. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  12907. * DataGridView.cs: PaddingChanged is overridden.
  12908. 2006-12-24 Chris Toshok <[email protected]>
  12909. * Control.cs: corecompare work here too.
  12910. * DataGridViewElement.cs, DataGridView.cs,
  12911. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  12912. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  12913. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  12914. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  12915. work.
  12916. 2006-12-24 Miguel de Icaza <[email protected]>
  12917. * Control.cs: Switched the error message on the console for a
  12918. todo. A review of the code will have to cope with this anyways
  12919. (since its a large feature, it is in our radar) and it was
  12920. producing too much output when running PDN.
  12921. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  12922. changes. Applications depend on this (PDN 2.72)
  12923. 2006-12-23 Chris Toshok <[email protected]>
  12924. * TableLayoutSettings.cs: finish up the corcompare work for this
  12925. class.
  12926. 2006-12-23 Chris Toshok <[email protected]>
  12927. * Control.cs: make SetImplicitBounds internal, do some futzing
  12928. with LayoutEngine so that it's available in 1.1, and remove the
  12929. entire duplicated code mess from PerformLayout. Use
  12930. System.Windows.Forms.Layout.DefaultLayout instead.
  12931. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  12932. 2006-12-23 Jonathan Pobst <[email protected]>
  12933. * Form.cs: Add MainMenuStrip property.
  12934. 2006-12-23 Jonathan Pobst <[email protected]>
  12935. * Control.cs: Add ContextMenuStrip property and implementation.
  12936. Fix ContextMenu implementation to show menu centered on control when
  12937. activated using the keyboard instead of showing at screen (0,0).
  12938. * ToolStripDropDown.cs: Fix needed overload of Show ().
  12939. 2006-12-23 Everaldo Canuto <[email protected]>
  12940. * Menu.cs: Name property added for 2.0 profile.
  12941. 2006-12-23 Everaldo Canuto <[email protected]>
  12942. * Menu.cs: Update information about FindMenuItem, method to be
  12943. implemented soon.
  12944. 2006-12-23 Everaldo Canuto <[email protected]>
  12945. * MenuAPI.cs: When deselect items deselect also selected subitems.
  12946. 2006-12-23 Everaldo Canuto <[email protected]>
  12947. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  12948. FindSubItemByCoord to found itens that is not active, also an
  12949. cheking added to FindSubItemByCoord to search for items only
  12950. in visible popup windows. Fixes #80274.
  12951. 2006-12-22 Everaldo Canuto <[email protected]>
  12952. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  12953. internal property, it be care about change ExStyle.
  12954. 2006-12-22 Andreia Gaita <[email protected]>
  12955. * ContainerControl.cs: set activeControl for parent forms up the
  12956. tree when the new activecontrol is a container.
  12957. When validating the active control, if it is a container, also
  12958. raise up the validation for it's active control. Fixes #80280
  12959. * Control.cs: Add internal property flag and check to prevent
  12960. Focus events from getting raised when Select() is called for
  12961. a ContainerControl. There are still too many focus events being
  12962. raised at the moment though.
  12963. Cleaned up the code a bit.
  12964. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  12965. * Control.cs: Added all missing 2.0 events.and
  12966. fixed a couple of corcompare issues.
  12967. * TrackBar.cs: Implemented missing 2.0 bits.
  12968. * MonthCalendar.cs,
  12969. * DateTimePicker.cs,
  12970. * MdiClient.cs: Fixed some corcompare issues.
  12971. 2006-12-21 Jonathan Pobst <[email protected]>
  12972. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  12973. SplitterPanel.cs: corecompare work.
  12974. 2006-12-21 Jonathan Pobst <[email protected]>
  12975. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  12976. Clean up warnings for BackgroundImageChanged and PaddingChanged
  12977. events now that they are implemented in Control.cs.
  12978. 2006-12-21 Jonathan Pobst <[email protected]>
  12979. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  12980. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  12981. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  12982. of TableLayoutPanel and supporting cast.
  12983. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  12984. * XplatUIWin32.cs:
  12985. - GrabWindow now confines the mouse pointer to the confine window.
  12986. - Added Win32ClipCursor and Win32GetClipCursor.
  12987. * Control.cs:
  12988. - Added CaptureWithConfine to be able to capture and confine
  12989. mouse pointer.
  12990. * InternalWindowManager.cs:
  12991. - Call CaptureWithConfine instead of Capture if we're an
  12992. MdiChild (fixes #79982).
  12993. 2006-12-21 Chris Toshok <[email protected]>
  12994. * DataGrid.cs: guard against the initial state of selection, where
  12995. selection_start == -1. make sure we only select from index >= 0.
  12996. Fixes bug #80291.
  12997. 2006-12-21 Chris Toshok <[email protected]>
  12998. * Control.cs: we don't need to be so draconian with
  12999. UpdateDistances, and we thusly don't need to call it before
  13000. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  13001. 2006-12-21 Daniel Nauck <[email protected]>
  13002. * ComboBox.cs,
  13003. TextBox.cs: Implemented AutoComplete properties.
  13004. 2006-12-20 Chris Toshok <[email protected]>
  13005. * DataGridView*.cs: some corecompare work.
  13006. 2006-12-20 Jackson Harper <[email protected]>
  13007. * XplatUIX11.cs: We need to hide the caret when deleting it,
  13008. otherwise you get carets left lying around everywhere.
  13009. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  13010. prevents getting some weird half drawn caret tracers when
  13011. scrolling.
  13012. * TextControl.cs: Attempt to reduce the number of times we need to
  13013. recreate the caret.
  13014. 2006-12-20 Gert Driesen <[email protected]>
  13015. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  13016. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  13017. * DateTimePicker.cs:
  13018. - Implemented missing 2.0 bits.
  13019. - Changed some default values to match MS.
  13020. 2006-12-20 Jackson Harper <[email protected]>
  13021. * TextBoxBase.cs: When changing the font across the document we
  13022. can't recalculate after changing each line, since that will cahnge
  13023. the line count.
  13024. - PreferredHeight is a little different than i thought.
  13025. - When backspacing, move the caret before we do the actual char
  13026. delete, because when that delete crosses a wrap boundary the
  13027. positional information will change.
  13028. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  13029. * Control.cs: Added some missing 2.0 bits:
  13030. BackgroundImageLayout, BackgroundImageLayoutChanged,
  13031. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  13032. add IBindableComponent and IDropTarget implementation.
  13033. * MonthCalendar.cs:
  13034. - Added all missing 2.0 features:
  13035. BackgroundImageLayout, RightToLeftLayout,
  13036. OnHandleDestroyed, RightToLeftLayoutChanged,
  13037. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  13038. PaddingChanged.
  13039. - Rewrote all the BoldDate code, it was completely broken.
  13040. - Fixed all the tests (the tests can now be re-enabled, the
  13041. problems were not with the tests, but with the control, it was
  13042. mostly broken).
  13043. * DateTimePicker.cs: Changed the location where the
  13044. MonthCalendar is shown.
  13045. 2006-12-19 Chris Toshok <[email protected]>
  13046. * DataGridView.cs: add IDropTarget implementation.
  13047. * ToolStripPanel.cs: add IDropTarget implementation.
  13048. 2006-12-19 Jackson Harper <[email protected]>
  13049. * TextControl.cs: soft now means something different than what it
  13050. used to mean, we want to move the caret regardless of whether or
  13051. not this break was soft (would we really have wanted the caret
  13052. to not move with the break in the old context?)
  13053. * TreeView.cs: Make sure we factor in the vert scrollbar when
  13054. calculating the horizontal scrollbar's maximum.
  13055. 2006-12-19 Andreia Gaita <[email protected]>
  13056. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  13057. check for keywords in alternate casing, close bug #80049.
  13058. 2006-12-19 Chris Toshok <[email protected]>
  13059. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  13060. methods (which all do nothing).
  13061. * IDropTarget.cs: add the 4 missing methods.
  13062. 2006-12-19 Chris Toshok <[email protected]>
  13063. * TableLayoutRowStyleCollection.cs: corcompare work.
  13064. * TableLayoutSettings.cs: same.
  13065. * TableLayoutStyle.cs: same.
  13066. * TableLayoutColumnStyleCollection.cs: same.
  13067. 2006-12-19 Jonathan Pobst <[email protected]>
  13068. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  13069. TableLayoutPanel I've had in my local tree for way too long.
  13070. 2006-12-19 Miguel de Icaza <[email protected]>
  13071. * TableLayoutSettings.cs: Finish the public API (still needs all
  13072. the logic to update on changes).
  13073. * TableLayoutPanelCellPosition.cs: new file.
  13074. * TableLayoutRowStyleCollection.cs,
  13075. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  13076. TableLayoutSettings.cs: Track the final 2.0 table api.
  13077. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  13078. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  13079. and Image List 2.0 members for ColummnHeader.
  13080. * ListView.cs: Add key-related 2.0 methods for
  13081. ColumnHeaderCollection.
  13082. 2006-12-19 Gert Driesen <[email protected]>
  13083. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  13084. ArgumentNullException if items argument is null. Ignore null item in
  13085. arrays. Removed extra tabs.
  13086. 2006-12-19 Gert Driesen <[email protected]>
  13087. * MonthCalendar.cs: Fixed InvalidCastException.
  13088. 2006-12-19 Jackson Harper <[email protected]>
  13089. * TextControl.cs: Don't increment the position here.
  13090. - When calculating char positions only add in the line break size
  13091. for hard line breaks.
  13092. 2006-12-19 Andreia Gaita <[email protected]>
  13093. * SendKeys.cs: Changed some things to match ms.net behaviour
  13094. when parsing shifted capital letters.
  13095. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  13096. Add window handle as parameter to SendInput. X11 needs the
  13097. window handle, and the handle being passed to it in the keys
  13098. queue is the active control handle (which windows needs), not
  13099. the window handle.
  13100. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  13101. to support SendKeys on X.
  13102. * X11Keyboard: Implement helper method to lookup a linux keycode
  13103. given the virtual keycode. Added table of keycode-2-virtualkey
  13104. values to support this.
  13105. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  13106. * ListView.cs: Add support for SelectedIndexCollection
  13107. and SelectedItemCollection 2.0 methods. Implement support
  13108. for ImageKey too.
  13109. * ListViewItem.cs: Add support for ListViewSubItemCollection
  13110. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  13111. (it shouldn't call Clear).
  13112. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  13113. 2006-12-19 Jackson Harper <[email protected]>
  13114. * RichTextBox.cs:
  13115. * TextBoxBase.cs: New args for FormatText
  13116. * TextControl.cs: Rewrote the main drawing method, this version
  13117. feels a little easier to understand and debug to me. Hopefully it
  13118. does to others also
  13119. - Fix FormatText to OR in the new formating values. Added
  13120. FormatSpecified param, basically this works in the same way as
  13121. BoundsSpecified in Control.
  13122. - Set the caret properties when the caret is positioned.
  13123. - When wrapping text make sure that we calculate the width of the
  13124. last character
  13125. - when calculating alignments we might have wrapped down to the
  13126. next line, so don't search for an individual tag, search for the
  13127. end of the line
  13128. - We need to invalidate the selection area when we replace the
  13129. selection.
  13130. 2006-12-19 Daniel Nauck <[email protected]>
  13131. * Application.cs: add Restart () 2.0 support
  13132. 2006-12-18 Everaldo Canuto <[email protected]>
  13133. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  13134. property. Fixes #80268.
  13135. 2006-12-18 Everaldo Canuto <[email protected]>
  13136. * MenuAPI.cs: Dont trigger select event when closes top menu
  13137. item. Fixes #80270.
  13138. 2006-12-18 Everaldo Canuto <[email protected]>
  13139. * MenuAPI.cs: When you click on menuitem only trigger onselect
  13140. event for top menu itens. Fixes #80271.
  13141. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  13142. * MdiWindowManager.cs: Make IconicBounds depend on
  13143. the bottom of MdiClient, not the top (fixes #80267)
  13144. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  13145. * MdiClient.cs: Added missing 2.0 attribute
  13146. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  13147. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  13148. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  13149. 2006-12-18 Everaldo Canuto <[email protected]>
  13150. * MenuAPI.cs: Fix click when menuitem is not popup,
  13151. this regression was caused by last commit (#80272).
  13152. 2006-12-17 Everaldo Canuto <[email protected]>
  13153. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  13154. fire click event or close menu. Fixes #80272.
  13155. 2006-12-17 Daniel Nauck <[email protected]>
  13156. * ListViewHitTestInfo.cs: add
  13157. 2006-12-17 Daniel Nauck <[email protected]>
  13158. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  13159. * FlatButtonAppearance.cs: add
  13160. * DockingAttribute.cs: add
  13161. 2006-12-17 Chris Toshok <[email protected]>
  13162. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  13163. and rebind our columns when it does - this way, if you make
  13164. changes to the DataTable (or set the Table attribute on a DataView
  13165. after setting it as the DataGrid's DataSource, the changes are
  13166. made visible.) Fixes bug #80107.
  13167. 2006-12-17 Daniel Nauck <[email protected]>
  13168. * ListViewGroup.cs: add internal Location property for layouting.
  13169. * Theme.cs: add abstract ListViewGroupHeight function.
  13170. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  13171. 2006-12-16 Andreia Gaita <[email protected]>
  13172. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  13173. Added reset of selected index to 0 when adding first tab page.
  13174. Fixes #80264
  13175. * NumericUpDown.cs: Fix NET_2_0 check
  13176. 2006-12-16 Daniel Nauck <[email protected]>
  13177. * ListViewGroup.cs: fixed DefaultValueAttribute value
  13178. 2006-12-16 Daniel Nauck <[email protected]>
  13179. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  13180. 2006-12-15 Miguel de Icaza <[email protected]>
  13181. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  13182. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  13183. ScrollableControl.cs: Add a handful of methods that are
  13184. overwritten in 2.0
  13185. 2006-12-15 Chris Toshok <[email protected]>
  13186. * XplatUIWin32.cs: initial implementation of the Reversible
  13187. drawing functions. there are some problems. DrawReversibleFrame
  13188. doesn't seem to work at all for Dashed FrameStyle, and in the
  13189. Thick case there are drawing errors at the corners (we probably
  13190. need to bind Rectangle instead of doing moveto/lineto's.)
  13191. 2006-12-16 Andreia Gaita <[email protected]>
  13192. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  13193. to send blocks of key messages. Send accumulates keys to send with Flush,
  13194. while SendWait sends all keys immediately.
  13195. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  13196. XplatUIX11.cs, XplatUIX11-new.cs:
  13197. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  13198. to Win32 SendInput.
  13199. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  13200. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  13201. testing for ms.net on this class is very tricky, as the tests run too fast
  13202. to allow the hook to release, essentially freezing the keyboard and the
  13203. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  13204. category :p
  13205. 2006-12-16 Daniel Nauck <[email protected]>
  13206. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  13207. added missing attributes.
  13208. 2006-12-15 Daniel Nauck <[email protected]>
  13209. * ListViewGroup.cs: Added missing attributes.
  13210. * ListViewGroupCollection.cs: Added missing attributes.
  13211. 2006-12-15 Daniel Nauck <[email protected]>
  13212. * ListViewItem.cs: fixed ListViewSubItem text property.
  13213. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13214. * Control.cs: Added missing 2.0 attributes
  13215. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13216. * MdiClient.cs: Added missing 2.0 attribute.
  13217. * MonthCalendar.cs: Added some missing 2.0 attributes
  13218. and properties.
  13219. 2006-12-15 Daniel Nauck <[email protected]>
  13220. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  13221. 2006-12-15 Jonathan Pobst <[email protected]>
  13222. * MainMenu.cs: Add the new 2.0 constructor to help out people
  13223. using the MainMenu in VS2005.
  13224. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13225. * MdiChildContext.cs: Removed it, no longer used.
  13226. * MdiClient.cs: Added missing 2.0 attributes.
  13227. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13228. * InternalWindowManager.cs: Fix a NullRef with previous
  13229. changes for toolwindows.
  13230. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  13231. * Control.cs:
  13232. - Added AfterTopMostControl to allow for certain controls
  13233. to always stay on top when normal controls are brought to
  13234. front.
  13235. * XplatUIWin32.cs:
  13236. - (DrawInversibleRectangle): Get window rectangle from Win32
  13237. in stead of from control, since Win32 doesn't calculate
  13238. screen coords correctly from control's Location if it
  13239. have docked siblings.
  13240. * MdiWindowManager.cs:
  13241. - Correct the control menu popup location when clicked on
  13242. the maximized form icon. (fixes #80223.1)
  13243. - Don't show moving rectangle if mouse hasn't moved from
  13244. the original clicked point.
  13245. - Removed FormGotFocus handler (not used).
  13246. - Calculate the control buttons location from the main
  13247. window's size and not client size (fixes #79770).
  13248. - Form is now closed when the form icon is double-clicked
  13249. (fixes #79775).
  13250. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  13251. * InternalWindowManager.cs:
  13252. - Moved some MDI-only methods to MdiWindowManager.
  13253. - Removed unused properties and methods.
  13254. - Unified method naming for methods handling wm messages.
  13255. - Moved all message handling to seperate methods for
  13256. each message.
  13257. * ThemeWin32Classic.cs:
  13258. - DrawManagedWindowDecorations now draws the title bar
  13259. with a gradient brush.
  13260. - Add a CPDrawButtonInternal that allows us to specify
  13261. light, normal and dark colors for the buttons (control
  13262. buttons for MDI children were drawn with the same light
  13263. color as the background, therefore loosing the 3D effect).
  13264. * SizeGrip.cs:
  13265. - Add a CapturedControl property that is used to
  13266. determine the control to resize (defaults to parent).
  13267. Needed for MdiClient, since its SizeGrip's parent is
  13268. MdiClient, but the control to resize is the main form.
  13269. * MdiClient.cs:
  13270. - Set SizeGrip's CapturedControl to the main form in order
  13271. to resize the main form and not the MdiClient.
  13272. - Override AfterTopMostControl to leave the scrollbars
  13273. always on top.
  13274. 2006-12-15 Daniel Nauck <[email protected]>
  13275. * ListView.cs: fixed ListViewItemCollection AddRange and
  13276. implemented ListViewItemCollection AddRange 2.0 support.
  13277. 2006-12-15 Daniel Nauck <[email protected]>
  13278. * ListViewGroup.cs: Add.
  13279. * ListViewGroupCollection.cs: Add
  13280. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  13281. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  13282. stub for ImageKey 2.0 support.
  13283. 2006-12-14 Mike Kestner <[email protected]>
  13284. * ListView.cs: add text padding to the autocalculation for columns
  13285. of width -2. Fixes #80207.
  13286. 2006-12-14 Mike Kestner <[email protected]>
  13287. * ListView.cs: add some index guarding for partial row navigation
  13288. logic. Fixes #80250.
  13289. 2006-12-14 Mike Kestner <[email protected]>
  13290. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  13291. are added or inserted to the collection. Fixes #81099.
  13292. 2006-12-13 Everaldo Canuto <[email protected]>
  13293. * MenuAPI.cs: Closes menu when right click out side of popup
  13294. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  13295. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  13296. * ListViewItem.cs: Fix dumb error.
  13297. * ListView.cs: Add Find and ContainsKey methods in
  13298. ListViewItemCollection, and also return true for IsReadOnly
  13299. and IsFixedSize (changes for 2.0).
  13300. 2006-12-13 Gert Driesen <[email protected]>
  13301. * Control.cs: Allow Region to be set to null.
  13302. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  13303. * MdiWindowManager.cs: Remove unused (commented out) code.
  13304. * Form.cs: When the MdiChild is maximized, the form needs
  13305. WM_NCMOUSELEAVE, so request it.
  13306. * InternalWindowManager.cs:
  13307. - Added tooltips to control buttons.
  13308. - Removed duplicated control button handling code.
  13309. - Removed unused (commented out) code.
  13310. 2006-12-12 Everaldo Canuto <[email protected]>
  13311. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  13312. was used because we must set cursor without trigger ChangeCursor event
  13313. and without change Cursor control property. Fixes #79963.
  13314. 2006-12-12 Andreia Gaita <[email protected]>
  13315. * Control.cs: Check if Region setter value is null, and ignore
  13316. 2006-12-12 Jackson Harper <[email protected]>
  13317. * TextControl.cs: We were almost always drawing one more line then
  13318. needed, since the GetLineByPixel will return the last line found
  13319. at that pixel. In most cases though, we were invalidating up to
  13320. the junction between two lines.
  13321. - Improve debug code.
  13322. 2006-12-12 Chris Toshok <[email protected]>
  13323. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  13324. and FillReversibleRectangle.
  13325. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  13326. and FillReversibleRectangle.
  13327. * XplatUIWin32.cs: add stubs which do nothing for
  13328. DrawReversibleFrame, DrawReversibleLine, and
  13329. FillReversibleRectangle.
  13330. * XplatUIOSX.cs: add stubs which raise NIE for
  13331. DrawReversibleFrame, DrawReversibleLine, and
  13332. FillReversibleRectangle.
  13333. * XplatUIX11.cs: add working implementation for
  13334. DrawReversibleFrame, DrawReversibleLine, and
  13335. FillReversibleRectangle.
  13336. * ControlPaint.cs: implement DrawReversibleFrame,
  13337. DrawReversibleLine, and FillReversibleRectangle, by calling into
  13338. the appropriate XplatUI method.
  13339. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13340. * Form.cs: Make MdiClient have the focus even if it's
  13341. not selectable, since it should receive WM_KEY* and WM_MOUSE
  13342. messages. Fixes #79907.
  13343. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13344. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  13345. queried after the window is created.
  13346. * XplatUIX11.cs: Added SendParentNotify to implement
  13347. WM_PARENTNOTIFY logic. Fixes #79965.
  13348. * Control.cs: Added MakeParam.
  13349. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13350. * MdiClient.cs: Resume Layout before setting window
  13351. states (fixes #80201).
  13352. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  13353. * MenuAPI.cs: Deselect a menu item after performing
  13354. the click (fixes #80197).
  13355. 2006-12-11 Jackson Harper <[email protected]>
  13356. * TextBoxBase.cs: We need to cap this value, since Maximum -
  13357. ViewPortHeight can be less than zero.
  13358. - Only do selection with the left mouse button.
  13359. * TextBox.cs: Don't tell the world that we have a context menu.
  13360. * Control.cs: New method so that we can control whether or not the
  13361. context menu is visible outside MWF.
  13362. 2006-12-11 Everaldo Canuto <[email protected]>
  13363. * ToolBarButton.cs: Fix text positon.
  13364. 2006-12-11 Miguel de Icaza <[email protected]>
  13365. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  13366. * Control.cs (DoubleBuffered): Add implementation.
  13367. * Application.cs (OpenForms): Add.
  13368. 2006-12-11 Jonathan Pobst <[email protected]>
  13369. * Form.cs: Use opacity instead of Opactiy to determine if we need
  13370. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  13371. 2006-12-11 Jonathan Pobst <[email protected]>
  13372. * Control.cs: Fix NRE if Control.Site was set to null.
  13373. 2006-12-11 Chris Toshok <[email protected]>
  13374. * Control.cs: ControlCollection.Remove should return if the arg is
  13375. null, and ControlCollection.SetChildIndex should raise a ANE.
  13376. 2006-12-11 Gert Driesen <[email protected]>
  13377. * Control.cs: Verify value set for Dock property. Code formatting
  13378. updates.
  13379. 2006-12-11 Jackson Harper <[email protected]>
  13380. * TextControl.cs: Draw the caret and the selection when a flag is
  13381. set on the owner.
  13382. * TextBoxBase.cs: We want to draw the caret and the selection for
  13383. TextBox but not for TextBoxBase.
  13384. - If the window is resized and scrolling is no longer needed (the
  13385. whole doc is visible) set the scroll position to zero.
  13386. - The default SelectWord (the one TextBox uses) should move the
  13387. caret to the end of the word.
  13388. - SelectAll moves the caret to the end of the selection.
  13389. * TextBox.cs: We don't selectall on focus, we just do it when the
  13390. control is created.
  13391. 2006-12-11 Mike Kestner <[email protected]>
  13392. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  13393. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  13394. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  13395. 2.0 support.
  13396. * ListViewItem.cs: Add Name 2.0 property.
  13397. 2006-12-11 Andreia Gaita <[email protected]>
  13398. * TabControl.cs: Set visibility on selected or default tab
  13399. when tabcontrol handle is created, so that it's contents
  13400. actually show up (duh). Fixes #80193
  13401. Don't redraw the control if there is no handle created, as
  13402. the selected index might be completely invalid. Added some tests
  13403. to check for this.
  13404. 2006-12-11 Everaldo Canuto <[email protected]>
  13405. * ToolBar.cs: Uses maximun width and height of all buttons as
  13406. button rectangle when ButtonSize specified, it looks strange but
  13407. is what happens in Win32. Fixes #80189.
  13408. 2006-12-11 Jackson Harper <[email protected]>
  13409. * TextControl.cs: Need to track undo levels ourself, since
  13410. compound actions will mess them up.
  13411. 2006-12-10 Andreia Gaita <[email protected]>
  13412. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  13413. SelectedIndex value is changed (even if it's not valid).
  13414. Reset SelectedIndex to 0 when the handle is created and if
  13415. the current index is invalid.
  13416. Fixes SelectdeIndex unit tests and #80128
  13417. 2006-12-08 Chris Toshok <[email protected]>
  13418. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  13419. calls EndEdit, it needs to be called before we set current_cell to
  13420. its new value. Otherwise, we end up committing the value in the
  13421. textbox to the new cell as well. Fixes bug #80160.
  13422. 2006-12-08 Chris Toshok <[email protected]>
  13423. * Form.cs (set_CancelButton): if the button's DialogResult is
  13424. None, set it to Cancel. Fixes bug 80180.
  13425. 2006-12-08 Jackson Harper <[email protected]>
  13426. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  13427. to watch ourselves when setting the canvas size and setting the
  13428. scrollbar values.
  13429. 2006-12-08 Chris Toshok <[email protected]>
  13430. * DataGrid.cs: comment out the two MakeTransparent calls for the
  13431. time being so people using trunk (and not 1.2.2) on windows can
  13432. actually use the datagrid. This deals with bug #80151.
  13433. 2006-12-08 Jonathan Pobst <[email protected]>
  13434. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  13435. Graphics.DrawImage (image, int, int, int, int) overload instead
  13436. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  13437. the dpi difference and was blurring images it drew.
  13438. [Fixes bug #79960]
  13439. 2006-12-08 Chris Toshok <[email protected]>
  13440. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  13441. rowcnt is 0 (such as with an empty datasource), and make sure we
  13442. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  13443. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  13444. 2006-12-08 Chris Toshok <[email protected]>
  13445. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  13446. grid.
  13447. 2006-12-08 Chris Toshok <[email protected]>
  13448. [ Fixes bug #80167 ]
  13449. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  13450. style is FlatStyle.System.
  13451. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  13452. ButtonBase.flat_style private, and switch uses of it to the public
  13453. property.
  13454. 2006-12-08 Chris Toshok <[email protected]>
  13455. [ Fixes bug #80121 ]
  13456. * ThemeWin32Classic.cs: center the caption text in the datagrid
  13457. when we draw it.
  13458. * DataGrid.cs: lessen the amount we add to the caption height from
  13459. 6 to 2. 6 was making it huge.
  13460. 2006-12-08 Andreia Gaita <[email protected]>
  13461. * UpDownBase: Handle MouseWheel call directly instead of capturing
  13462. the inner textbox's OnMouseWheel. Fixes #80166
  13463. 2006-12-08 Jackson Harper <[email protected]>
  13464. * TextControl.cs: We need to invalidate the textbox when we empty
  13465. it (how had this not been discovered before?)
  13466. 2006-12-08 Jackson Harper <[email protected]>
  13467. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  13468. to behave like MS, we now ignore the eventargs.Click and just
  13469. track state ourself, which we were already doing anyways.
  13470. - Constrain the double click handler to the double click size.
  13471. 2006-12-08 Chris Toshok <[email protected]>
  13472. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  13473. direction if that scrollbar isn't shown. fixes bug #80158.
  13474. 2006-12-08 Andreia Gaita <[email protected]>
  13475. * NumericUpDown.cs: Update value on getter. Fixes #79950
  13476. 2006-12-08 Chris Toshok <[email protected]>
  13477. * MenuItem.cs: add back in the event cloning code. I didn't know
  13478. how to do it in the face of the EventHandlerList work i'd done
  13479. last week. Fixes bug #80183.
  13480. 2006-12-08 Jonathan Pobst <[email protected]>
  13481. * Control.cs: Add an invalidate to the BackgroundImage setter.
  13482. [Fixes 80184]
  13483. 2006-12-07 Jonathan Pobst <[email protected]>
  13484. * ToolStrip*: Add some small properties reported by MoMA, fix event
  13485. firing and default properties based off of unit tests, and add some
  13486. attributes based off of the class status page.
  13487. 2006-12-07 Jackson Harper <[email protected]>
  13488. * TextBoxBase.cs: Take HideSelection into account when determining
  13489. whether or not to show the selection.
  13490. * RichTextBox.cs: After inserting the RTF into the document move
  13491. the cursor to the beginning of the document.
  13492. 2006-12-07 Jonathan Pobst <[email protected]>
  13493. * Control.cs: Remove static ArrayList "controls" which maintained
  13494. a reference to every control created.
  13495. * Application.cs: Create a static FormCollection to maintain a reference
  13496. to every form created. Use it in places that formerly enumerated through
  13497. the controls one looking for forms.
  13498. * Form.cs: Add and remove self from above FormCollection.
  13499. 2006-12-07 Alexander Olk <[email protected]>
  13500. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  13501. not libgdk (though it makes me wonder why I didn't have any
  13502. problems)
  13503. 2006-12-07 Chris Toshok <[email protected]>
  13504. [ you had to know this was coming after that last commit...]
  13505. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  13506. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  13507. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  13508. XCopyArea).
  13509. 2006-12-07 Chris Toshok <[email protected]>
  13510. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  13511. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  13512. all the behavior we need for double buffering.
  13513. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  13514. client side Bitmap, just like the old Control-based double buffer
  13515. code did. The methods are virtual, so each XplatUI driver
  13516. subclass can replace the implementation to use a faster, platform
  13517. specific approach.
  13518. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  13519. double buffer code, and clean things up a bit in the process.
  13520. 2006-12-06 Chris Toshok <[email protected]>
  13521. * Control.cs: reindent WndProc.
  13522. 2006-12-06 Chris Toshok <[email protected]>
  13523. [ I wanna be like BenM when I grow up ]
  13524. * Hwnd.cs: create a single static Graphics object on the static
  13525. Bitmap we create. use this for our text measurements.
  13526. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  13527. This was causing us to allocate a backbuffer for every control,
  13528. even when it wasn't flagged as double buffered. Instead use the
  13529. single graphics instance. This might have implications for
  13530. multithreaded applications. If we run into problems we can switch
  13531. to creating 1 Graphics per control, on the static Hwnd bitmap.
  13532. this change nets us a 7M savings in private dirty mappings when
  13533. running FormsTest.exe.
  13534. 2006-12-06 Chris Toshok <[email protected]>
  13535. * ListView.cs: the BackgroundImage override is just to set
  13536. attributes. chain up to base.BackgroundImage.
  13537. * RichTextBox.cs: same.
  13538. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  13539. changes, so instead a handler for BackgroundImageChanged.
  13540. * Control.cs: make background_image private.
  13541. 2006-12-06 Chris Toshok <[email protected]>
  13542. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  13543. sure we even need this assignment, but roll with it for now.
  13544. * Control.cs: make the cursor field private.
  13545. 2006-12-06 Chris Toshok <[email protected]>
  13546. * Form.cs: we don't need to explicitly set ImeMode to
  13547. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  13548. behavior in the face of ImeMode.Inherit.
  13549. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  13550. change the ctor's assignment to use ImeMode instead of ime_mode.
  13551. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  13552. ImeModeInherit. Only check for the parent's imemode (and return
  13553. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  13554. This fixes the button unit test, which sets both ImeMode and
  13555. DefaultImeMode to ImeMode.Disable.
  13556. also make the ime_mode field private.
  13557. 2006-12-06 Chris Toshok <[email protected]>
  13558. * Control.cs: make control_style private.
  13559. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  13560. setting the styles to true, then setting them to false instead of
  13561. reverting to their previous values.
  13562. also, call SetStyle on the scrollbars instead of using
  13563. control_style directly.
  13564. 2006-12-06 Jonathan Pobst <[email protected]>
  13565. * FormCollection.cs: Implement. [2.0]
  13566. 2006-12-06 Chris Toshok <[email protected]>
  13567. * Control.cs: make tab_stop private.
  13568. * Label.cs: set TabStop, not tab_stop. reformat some event
  13569. add/remove methods to make them more compact.
  13570. 2006-12-06 Chris Toshok <[email protected]>
  13571. * RadioButton.cs: fix TabStop handling.
  13572. 2006-12-06 Chris Toshok <[email protected]>
  13573. * TextBox.cs: remove the explicit assignments to has_focus.
  13574. Control does that.
  13575. * ButtonBase.cs: remove the assignment to has_focus. Control will
  13576. manage that.
  13577. 2006-12-06 Chris Toshok <[email protected]>
  13578. * ButtonBase.cs: remove all uses of is_enabled from this code.
  13579. it's always true when any of the code containing the checks is
  13580. executed.
  13581. 2006-12-06 Chris Toshok <[email protected]>
  13582. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  13583. with different semantics (some are present in both 1.1 and 2.0
  13584. profiles) so that we match MS's behavior in our unit tests.
  13585. 2006-12-06 Jackson Harper <[email protected]>
  13586. * TextControl.cs: Make this operation undoable.
  13587. * TextBoxBase.cs: Factor the border width into the preferred
  13588. height.
  13589. - implement Modified as per the spec.
  13590. 2006-12-06 Chris Toshok <[email protected]>
  13591. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  13592. 2006-12-06 Chris Toshok <[email protected]>
  13593. * Control.cs: make right_to_left and context_menu fields private.
  13594. 2006-12-06 Chris Toshok <[email protected]>
  13595. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  13596. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  13597. Control.child_controls private. switch all uses over to
  13598. Control.Controls.
  13599. 2006-12-06 Chris Toshok <[email protected]>
  13600. * System.Windows.Forms/GroupBox.cs,
  13601. System.Windows.Forms/AccessibleObject.cs,
  13602. System.Windows.Forms/ErrorProvider.cs,
  13603. System.Windows.Forms/Control.cs,
  13604. System.Windows.Forms/UpDownBase.cs,
  13605. System.Windows.Forms/ScrollBar.cs,
  13606. System.Windows.Forms/DateTimePicker.cs,
  13607. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  13608. System.Windows.Forms/ToolTip.cs,
  13609. System.Windows.Forms/RadioButton.cs,
  13610. System.Windows.Forms/LinkLabel.cs,
  13611. System.Windows.Forms/Splitter.cs,
  13612. System.Windows.Forms/TextBoxBase.cs,
  13613. System.Windows.Forms/ToolStripTextBox.cs,
  13614. System.Windows.Forms/ContainerControl.cs,
  13615. System.Windows.Forms/ThemeWin32Classic.cs,
  13616. System.Windows.Forms/SizeGrip.cs,
  13617. System.Windows.Forms/ToolStripDropDown.cs,
  13618. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  13619. private. switch all uses over to Control.Parent.
  13620. 2006-12-06 Chris Toshok <[email protected]>
  13621. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  13622. Control does this before calling emitting these events.
  13623. * TabControl.cs: same.
  13624. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  13625. Control.client_rect.
  13626. * ButtonBase.cs: use the ClientSize property instead of the
  13627. client_size field.
  13628. * ScrollableControl.cs: same.
  13629. * Control.cs: another pass at making properties private. also,
  13630. move the initialization of tab_stop to the ctor.
  13631. 2006-12-05 Andreia Gaita <[email protected]>
  13632. * TabControl.cs: Let the selected index be set freely if the
  13633. control handle is not yet created.
  13634. 2006-12-05 Jonathan Pobst <[email protected]>
  13635. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  13636. internal until I can rewrite DefaultLayout.
  13637. * ToolStrip.cs: Fix build error and some general cleaning.
  13638. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  13639. Fix build errors caused by making some of Control's fields private.
  13640. 2006-12-05 Jackson Harper <[email protected]>
  13641. * TextControl.cs: Redo Insert a little so that it use IndexOf
  13642. instead of Split, this prevents it from messing up on things like
  13643. \n\n\n. Also more effecient since the split array doesn't need to
  13644. be created.
  13645. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  13646. multiline text differently, this is the first of many fixes that
  13647. will make multiline/non-multiline the same thing as far as the
  13648. TextBoxBase is concerned.
  13649. - Don't split the text and insert lines, this can lose some line
  13650. endings (like is the last line a soft or hard break). Instead use
  13651. the new Insert.
  13652. - Fix an off by one when combining all the lines in the Text
  13653. getter.
  13654. - Remove separate multiline handling from the Text getter/setter.
  13655. 2006-12-05 Chris Toshok <[email protected]>
  13656. * ButtonBase.cs: a few changes:
  13657. - don't reinitialize internal Control fields in the ctor when they
  13658. have the same values as Control sets them.
  13659. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  13660. this before calling those methods.
  13661. - we don't need to call Refresh for anything. use Invalidate
  13662. instead.
  13663. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  13664. calls Refresh in its OnEnabledChanged.
  13665. - several of the events we were registered for in the ctor to
  13666. redraw ourselves already include calls to Invalidate in the
  13667. property setters that raise the events. remove the extra
  13668. invalidation.
  13669. - reformat a switch statement that was 83274658 columns wide.
  13670. 2006-12-05 Mike Kestner <[email protected]>
  13671. * ComboBox.cs: fix a unit test regression from a TextBox
  13672. SelectionLength return of -1 when there's no selection.
  13673. 2006-12-05 Chris Toshok <[email protected]>
  13674. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  13675. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  13676. cleaning up some of the internal Control fields being used by
  13677. subclasses.
  13678. 2006-12-05 Mike Kestner <[email protected]>
  13679. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  13680. listbox after AddImplicit calls since it defaults to hidden. Add a
  13681. hack to preserve requested heights across DropDownStyle changes.
  13682. 2006-12-05 Jonathan Pobst <[email protected]>
  13683. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  13684. 2006-12-05 Chris Toshok <[email protected]>
  13685. * DataGridView.cs: fix compiler warnings.
  13686. * PrintControllerWithStatusDialog.cs: same.
  13687. * ToolBar.cs: same.
  13688. * FolderBrowserDialog.cs: same.
  13689. * Splitter.cs: same.
  13690. * DataGridViewComboBoxCell.cs: same.
  13691. * XplatUIWin32.cs: same.
  13692. * PictureBox.cs: same.
  13693. * Win32DnD.cs: same.
  13694. * PageSetupDialog.cs: same.
  13695. * FileDialog.cs: same.
  13696. * PrintDialog.cs: same.
  13697. * DataGridTextBoxColumn.cs: same.
  13698. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  13699. 2006-12-05 Chris Toshok <[email protected]>
  13700. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  13701. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  13702. System.ComponentModel.EventHandlerList work.
  13703. 2006-12-05 Jonathan Chambers <[email protected]>
  13704. * DrawTreeNodeEventArgs.cs: Added.
  13705. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  13706. * InternalWindowManager.cs: Remove an unused field.
  13707. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  13708. * InternalWindowManager.cs:
  13709. - Save the point where the title bar is clicked.
  13710. * MdiWindowManager.cs:
  13711. - Only allow moving of the window as long as the
  13712. clicked point on the title bar does not get out of
  13713. MdiClient's rectangle. Fixes #79982.
  13714. * MdiClient.cs:
  13715. - Added Horizontal/VerticalScrollbarVisible.
  13716. - Simplified the scrollbar sizing algorithm.
  13717. - Cache the difference in scrolled value in
  13718. H/VBarValueChanged and move the calculation out
  13719. of the for loop.
  13720. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  13721. * Control.cs: Make the Console.WriteLine in WndProc
  13722. write more info.
  13723. 2006-12-05 Chris Toshok <[email protected]>
  13724. * ToolStripManager.cs, ToolStripButton.cs,
  13725. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  13726. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  13727. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  13728. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  13729. ToolStripProgressBar.cs, ToolStripContainer.cs,
  13730. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  13731. to using System.ComponentModel.EventHandlerList.
  13732. 2006-12-04 Chris Toshok <[email protected]>
  13733. * LinkLabel.cs: fix up compiler warnings.
  13734. * TableLayoutSettings.cs: same.
  13735. * TreeView.cs: same.
  13736. * ToolBar.cs: same.
  13737. * TabControl.cs: same.
  13738. * RichTextBox.cs: same.
  13739. * ListViewItem.cs: same.
  13740. * PropertyGrid.cs: same.
  13741. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  13742. * ToolTip.cs same.
  13743. * TextRenderer.cs: fix up compiler warnings.
  13744. * Label.cs: same.
  13745. * Form.cs: corcompare fixes.
  13746. * PictureBox.cs: fix up compiler warnings.
  13747. * ImageListStreamer.cs: same.
  13748. * TrackBar.cs: corcompare fix.
  13749. * Control.cs: fix up compiler warnings.
  13750. * SplitterPanel.cs: same.
  13751. * NumericTextBox.cs: same.
  13752. * ImageList.cs: same.
  13753. * StatusStrip.cs: same.
  13754. * ProgressBar.cs: corcompare fix.
  13755. * ToolStripButton.cs: fix up compiler warnings.
  13756. * ToolStripStatusLabel.cs: same.
  13757. * ToolStripSplitButton.cs: same.
  13758. * ToolStripSeparator.cs: same.
  13759. * ToolStripProgressBar.cs: same.
  13760. * ToolStripDropDownMenu.cs: same
  13761. * ToolStripDropDown.cs: same.
  13762. * ToolStripDropDownButton.cs: same.
  13763. * ToolStrip.cs: same.
  13764. * ToolStripControlHost.cs: same.
  13765. * ToolStripContentPanel.cs: same.
  13766. * ToolStripDropDown.cs: same.
  13767. * ToolStripContainer.cs: same.
  13768. * ToolStripPanel.cs: same, and add "new" where we need it to work
  13769. with the new ArrangedElementCollection.
  13770. * ToolStripItemCollection.cs: add "new" where we need it to work
  13771. with the new ArrangedElementCollection.
  13772. 2006-12-04 Andreia Gaita <[email protected]>
  13773. * TabControl.cs: Fix default tab selection to after TabControl
  13774. gets focus and not before. Fixes #80128
  13775. 2006-12-04 Chris Toshok <[email protected]>
  13776. * DataGridTableStyle.cs: remove the gross calling of
  13777. datagrid.Refresh from here. It's a broken idea and it doesn't
  13778. work anyway.
  13779. * DataGrid.cs: instead, just register/unregister from the
  13780. DataGridTableStyle events in CurrentTableStyle. we play it
  13781. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  13782. even though some would most likely not require it. Fixes bug
  13783. #80115 (and one portion of #80117 as a side effect).
  13784. 2006-12-04 Chris Toshok <[email protected]>
  13785. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  13786. so the textbox (if any) goes away. Fixes bug #80117.
  13787. 2006-12-04 Chris Toshok <[email protected]>
  13788. * DataGridColumnStyle.cs: set the column's readonly property
  13789. initially based on the property descriptor's IsReadOnly. Fixes
  13790. bug #80044.
  13791. 2006-12-04 Chris Toshok <[email protected]>
  13792. * ComboBox.cs: wrap the dropdown style changing work in
  13793. SuspendLayout/ResumeLayout. Fixes bug #79968.
  13794. 2006-12-04 Jackson Harper <[email protected]>
  13795. * TextBoxBase.cs: Fix off by one, since these are one-based.
  13796. * TextBox.cs: Select all the text when we get focus. The TextBox
  13797. does this but the RTB does not.
  13798. 2006-12-04 Chris Toshok <[email protected]>
  13799. * DataGridTextBoxColumn.cs: remove some spew.
  13800. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  13801. but some part of me is saying "it shouldn't be here.." At any
  13802. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  13803. setting the value.
  13804. 2006-12-04 Chris Toshok <[email protected]>
  13805. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  13806. to reassign the propertydescriptor.
  13807. 2006-12-04 Jackson Harper <[email protected]>
  13808. * TextBoxBase.cs:
  13809. * TextControl.cs: Remove some unused variables. Maybe this will
  13810. patch things up between mike and I.
  13811. - don't split lines less then one char wide, if the viewport is
  13812. that small text won't be visible anyways.
  13813. 2006-12-04 Jackson Harper <[email protected]>
  13814. * TextBoxBase.cs: Default selection length is -1, need to do some
  13815. more testing on windows to see when this is used for the property.
  13816. - Redid the Lines [] property to that we properly remove soft line
  13817. breaks
  13818. - added support for preserving carriage returns
  13819. - CanUndo is not a variable like 'is undo enabled' it just returns
  13820. true if there is undo operations available.
  13821. - AppendText doesn't need to grab the last tag itself anymore,
  13822. this happens automatically when we move the cursor.
  13823. * TextControl.cs: Add CompoundActions to the undo class. This
  13824. allows combining the other operations into one big option. ie a
  13825. paste will combine { delete old, insert new, move cursor }
  13826. - Add InsertString undo operation
  13827. - New method for deleting multiline text
  13828. - Add carriage returns to lines. So we can preserve carriage
  13829. returns when text is 'roundtripped'
  13830. 2006-12-04 Chris Toshok <[email protected]>
  13831. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  13832. minimum 0. Fixes the scrollbar exception in bug #80136.
  13833. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  13834. * MdiClient.cs:
  13835. * MdiWindowManager: Removed unused fields and methods.
  13836. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  13837. * StatusBar.cs: Update all panels when a AutoSize=Contents
  13838. panel needs updating.
  13839. * StatusBarPanel.cs: Remove twidth and only use initialize.
  13840. Fixes #80031.
  13841. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  13842. * Form.cs: When a form's MdiParent is set add it directly
  13843. on top of the z-order in stead of relying on MdiClient's
  13844. ActivateChild to do it. Fixes #80135.
  13845. * MdiClient.cs:
  13846. - Remove original_order, mdi_child_list is already doing
  13847. the same thing.
  13848. - Create mdi_child_list on construction in
  13849. stead of first use (avoids a few null checks).
  13850. * MenuItem.cs: Use an already existing list of mdi children
  13851. to get the correct order of children and remove the other
  13852. redundant list.
  13853. 2006-12-04 Chris Toshok <[email protected]>
  13854. * PropertyGridView.cs: cached_splitter_location is only used in
  13855. !DOUBLEBUFFER code.
  13856. * PropertyGrid.cs: implement the ComComponentNameChanged event
  13857. using Events, hoping that would fix the warning. Looks like a
  13858. compiler bug instead (#80144).
  13859. * PropertyManager.cs: remove unused method.
  13860. 2006-11-04 Everaldo Canuto <[email protected]>
  13861. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  13862. include parentesis to fix expression evaluation. Fixes #79634.
  13863. 2006-11-02 Everaldo Canuto <[email protected]>
  13864. * MenuAPI.cs:
  13865. - Changes to fix behavior in Menu control, some reported in #80097
  13866. and other detected during behavior refactory like a select event
  13867. problems.
  13868. - Remove unneded "if's" conditions.
  13869. - Created an internal to flag when popup is active in control, we need
  13870. it because in .NET you can have menu active but without popup active
  13871. when you active menu using popup without visible items.
  13872. - Mimic win32 behavior for Select and Popup events.
  13873. - Dont open popup menu when you dont have visible subitems.
  13874. - Do nothing when click on disabled menu item.
  13875. - Some small changes to follow the coding style guidelines.
  13876. - Unselect menu only when another control gives focus. Fixes #80097.
  13877. - Remove unused code.
  13878. * MenuItem.cs: internal VisibleItems method to check if menu
  13879. theres visible subitems, it will be usefull to fix some
  13880. behavior in Menu control.
  13881. 2006-11-01 Everaldo Canuto <[email protected]>
  13882. * Timer.cs: Tag property for 2.0 profile.
  13883. 2006-12-01 Chris Toshok <[email protected]>
  13884. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  13885. * Win32DnD.cs: comment out some unused fields.
  13886. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  13887. some unused properties/methods.
  13888. * XplatUIX11.cs: fix MousePosition so we override the base class's
  13889. property instead of conflicting with it.
  13890. * PictureBox.cs: comment out some unused fields
  13891. * OSXStructs.cs: make some struct fields public.
  13892. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  13893. MousePosition so we override the base class's property instead of
  13894. conflicting with it.
  13895. * X11Dnd.cs: comment out some unused fields
  13896. * X11DesktopColors.cs: fix some struct field visibility to quiet
  13897. the compiler.
  13898. * X11Dnd.cs: remove some debug code.
  13899. * ThemeClearlooks.cs: comment out unused field.
  13900. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  13901. * ThemeGtk.cs: comment out some unused pinvokes.
  13902. * Timer.cs: remove some unused fields.
  13903. * ThemeClearlooks.cs: comment out unused field.
  13904. * UpDownBase.cs: comment out unused field.
  13905. * DataObject.cs: comment out unused field.
  13906. * DataGridBoolColumn.cs: reomve unused field.
  13907. * DataGrid.cs: remove unused field.
  13908. * Cursor.cs: remove old ToBitmap code.
  13909. * ControlPaint.cs: remove unused method.
  13910. * ScrollBar.cs: remove unused fields.
  13911. * ComboBox.cs: remove unused field, and chain up to
  13912. AccessibleObject ctor.
  13913. * ListBox.cs: remove unused field.
  13914. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  13915. * GridEntry.cs: remove unused fields.
  13916. * Binding.cs: remove unused fields.
  13917. * AxHost.cs: remove unused method.
  13918. * ContainerControl.cs: remove unused field.
  13919. * ScrollableControl.cs: remove unused fields.
  13920. 2006-12-01 Chris Toshok <[email protected]>
  13921. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  13922. the Where/WhereString stuff. it's easy enough to CWL
  13923. Environment.StackTrace.
  13924. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  13925. unused private fields.
  13926. 2006-12-01 Jackson Harper <[email protected]>
  13927. * TextControl.cs: Do not update the view while inserting multiline
  13928. text. If we update the view we might wrap lines, before entering
  13929. the new lines, which causes the new line insertion calculations to
  13930. be totally fubared.
  13931. - Remove an old TODO
  13932. - Make debug output a little nicer
  13933. 2006-12-01 Chris Toshok <[email protected]>
  13934. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  13935. 2006-12-01 Chris Toshok <[email protected]>
  13936. [ fix the majority of the CS0108 warnings we've been suppressing ]
  13937. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  13938. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  13939. to "LayoutToolBar" to quiet mcs.
  13940. * TabControl.cs: mark our ControlCollection class as 'new'.
  13941. * TextBoxBase.cs: mark some events as 'new'.
  13942. * Splitter.cs: TabStop is 'new'.
  13943. * ControlBindingsCollection.cs: mark a few methods as new since
  13944. they change the visibility from protected to public.
  13945. * RadioButton.cs: DoubleClick -> base class, and remove unused
  13946. HaveDoubleClick.
  13947. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  13948. events as new.
  13949. * NumericUpDown.cs: TextChanged -> base class.
  13950. * CheckedListBox.cs: mark our ObjectCollection class as new to
  13951. quiet mcs.
  13952. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  13953. muck with the base class.
  13954. * StatusBar.cs: fix some mcs warnings about Update being the same
  13955. name as a base class method.
  13956. * RichTextBox.cs: mark some events as new, and make them do things
  13957. to the base class impl.
  13958. * UserControl.cs: mark TextChanged as new, and have it manipulate
  13959. base.TextChanged.
  13960. * UpDownBase.cs: mark some things new.
  13961. * CheckBox.cs: mark DoubleClick "new", and add some text about
  13962. what we need to look at.
  13963. * Panel.cs: make the events "new", and manipulate the base
  13964. version. these are just here for attributes.
  13965. * AccessibleObject.cs: make owner private.
  13966. * Control.cs: deal with AccessibleObject.owner being private.
  13967. cache our own copy if we need it.
  13968. * Button.cs: add "new" to the DoubleClickEvent.
  13969. * ListBox.cs: no need to track our own has_focus here. let
  13970. Control.has_focus do it for us. Also some other work to clear up
  13971. warnings about not overriding base class methods of the same name.
  13972. * ComboBox.cs: clear up some warnings about not override base
  13973. class methods of the same name.
  13974. 2006-12-01 Chris Toshok <[email protected]>
  13975. * Form.cs: flag a few things as "new" to quiet some of the mcs
  13976. warnings.
  13977. * AxHost.cs: same.
  13978. * PrintPreviewDialog.cs: same.
  13979. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  13980. now DGV isn't so horrible on the class status page. also, move
  13981. all events to using System.ComponentModel.EventHandlerList. my
  13982. wrists hurt.
  13983. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  13984. * MdiWindowManager.cs:
  13985. - Set form to active mdi child if shown,
  13986. and update the active mdi child to the next
  13987. remaining child in the z-order if the form is hidden.
  13988. * Form.cs:
  13989. - Track if the form has been visible and if its
  13990. visibility is beeing changed, so that the MdiClient
  13991. can properly decide the ActiveMdiChild. The MdiClient
  13992. cannot track this since the form can change visibility
  13993. before MdiClient is created.
  13994. * MdiClient.cs:
  13995. - Don't activate anything of the parent form is changing
  13996. its visibility.
  13997. - Rework ActiveMdiChild to only return visible mdi
  13998. children and take into account several other corner
  13999. cases.
  14000. 2006-12-01 Chris Toshok <[email protected]>
  14001. * IBindableComponent.cs: new 2.0 interface.
  14002. 2006-12-01 Gert Driesen <[email protected]>
  14003. * DataGrid.cs: Font for caption area is bold by default.
  14004. 2006-12-01 Everaldo Canuto <[email protected]>
  14005. * Menu.cs: Tag property for 2.0.
  14006. 2006-11-01 Everaldo Canuto <[email protected]>
  14007. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  14008. 2006-12-01 Chris Toshok <[email protected]>
  14009. * TreeView.cs: doh, the Begin* events should be
  14010. TreeViewCancelEventHandler.
  14011. 2006-12-01 Chris Toshok <[email protected]>
  14012. * Form.cs: Form.ControlCollection already stores off the
  14013. form_owner field. don't access the base class's internal "owner"
  14014. field.
  14015. * Control.cs: make all the fields in Control.ControlCollection
  14016. private. there's no need for any internal fields here.
  14017. 2006-12-01 Chris Toshok <[email protected]>
  14018. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  14019. OnHandleCreated. Fixes bug #80109.
  14020. 2006-12-01 Chris Toshok <[email protected]>
  14021. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  14022. SplitContainer.cs, Control.cs, StatusStrip.cs,
  14023. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  14024. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  14025. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  14026. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  14027. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  14028. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  14029. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  14030. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  14031. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  14032. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  14033. do most of the work to convert our code over to use
  14034. System.ComponentModel.Component.Events for
  14035. adding/removing/dispatching events.
  14036. 2006-11-30 Jonathan Pobst <[email protected]>
  14037. * DataGridView.cs: Fix an ArgumentNullException reported
  14038. twice today in IRC.
  14039. 2006-11-30 Mike Kestner <[email protected]>
  14040. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  14041. grabbed listbox. Fixes #80036 and #80101.
  14042. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  14043. * Message.cs: Changed ToString() to match MS.
  14044. 2006-11-30 Jackson Harper <[email protected]>
  14045. * TextBoxBase.cs: You can still change the selected text on a read
  14046. only textbox.
  14047. * TextControl.cs: Lower magic number for wrap calculations. This
  14048. lets text get closer to the right (far) edge.
  14049. 2006-11-30 Jonathan Pobst <[email protected]>
  14050. * Control.cs: Tweak 2.0 layout properties.
  14051. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  14052. * TextRenderer.cs: Add a new overload.
  14053. * ToolStrip*: Huge amount of changes and new features.
  14054. 2006-11-30 Mike Kestner <[email protected]>
  14055. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  14056. scroll range correct. Fixes #79994.
  14057. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  14058. * MdiWindowManager.cs: Update main form's text when
  14059. a form is closed. (fixes #80038)
  14060. 2006-11-30 Everaldo Canuto <[email protected]>
  14061. * ToolBar.cs:
  14062. - Fix an regression in ButtonSize.
  14063. - Get ImeMode default value change to "Disable".
  14064. - Get ShowTooltips default value change to true, default value is
  14065. "false" but after make a test in .NET we get "true" result as default.
  14066. 2006-11-29 Jonathan Pobst <[email protected]>
  14067. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  14068. 2006-11-29 Chris Toshok <[email protected]>
  14069. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  14070. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  14071. SetWindowTransparency hasn't been called.
  14072. 2006-11-29 Chris Toshok <[email protected]>
  14073. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  14074. if it's supported.
  14075. (set_AllowTransparency): reorder things a little so that the
  14076. WS_EX_LAYERED style is removed properly.
  14077. 2006-11-29 Chris Toshok <[email protected]>
  14078. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  14079. * Form.cs: only call the XplatUI transparency method (get/set) if
  14080. SupportsTransparency says it's supported. Otherwise fallback to
  14081. doing nothing (in the set case) or returning the instance field we
  14082. cache (in the get case).
  14083. * XplatUIStructs.cs: add TransparencySupport flag enum.
  14084. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  14085. change to SupportsTransparency.
  14086. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  14087. TransparencySupport.None from SupportsTransparency.
  14088. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  14089. TransparencySupport.Set from SupportsTransparency.
  14090. * XplatUIWin32.cs: implement GetWindowTransparency calling
  14091. GetLayeredWindowAttributes, and implement SupportsTransparency by
  14092. checking whether or not both
  14093. GetWindowTransparency/SetWindowTransparency are available
  14094. entrypoints. We need to do this since SetWindowTransparency is
  14095. available as of win2k, but GetWindowTransparency requires winxp.
  14096. yay win32 api.
  14097. * XplatUI.cs: Add GetWindowTransparency, and change
  14098. SupportsTransparency to allow for either/both Get/Set.
  14099. 2006-11-29 Chris Toshok <[email protected]>
  14100. * DataGrid.cs: keep from going into an infinite loop redrawing a
  14101. datagrid that has no datasource. Fixes bug #80033.
  14102. 2006-11-29 Chris Toshok <[email protected]>
  14103. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  14104. Invalidate) before the mainmenu has been assigned to a control.
  14105. 2006-11-29 Chris Toshok <[email protected]>
  14106. * DataGrid.cs: detect when we should be double the double click
  14107. row/column autosize stuff, although that codepath has yet to be
  14108. written. part of the work for bug #79891.
  14109. 2006-11-29 Chris Toshok <[email protected]>
  14110. * Binding.cs (SetControl): fix unit test.
  14111. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  14112. * PageSetupDialog.cs: Validate the margins and set them in
  14113. PageSettings.
  14114. * NumericTextBox.cs: New class to mimic the behavior of the
  14115. textboxes used in the printing dialogs.
  14116. 2006-11-29 Andreia Gaita <[email protected]>
  14117. * Form.cs: Revert previous change (remove call UpdateBounds
  14118. from form constructor), because it messes with the handle creation
  14119. order, and that one needs lots and lots of love.
  14120. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  14121. for valid printer and throw InvalidPrinterException if document
  14122. is set but printer not valid), adding a MonoTODO. Once
  14123. handle creation is done properly, we can put this back in.
  14124. 2006-11-28 Everaldo Canuto <[email protected]>
  14125. * MenuItem.cs: Create a invalidate method for menu item, to be
  14126. calling from set text, it make text changes to imadiate update
  14127. on screen. Fixes #80013.
  14128. 2006-11-28 Everaldo Canuto <[email protected]>
  14129. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  14130. fixes bug #80070 and some other problem on toolbar buttons
  14131. layout.
  14132. 2006-11-28 Everaldo Canuto <[email protected]>
  14133. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  14134. with dotted brush. Fixes #79564
  14135. 2006-11-28 Andreia Gaita <[email protected]>
  14136. * Form.cs: Removed call to UpdateBounds on Form
  14137. constructor, it was causing a call to CreateHandle
  14138. before it was supposed to.
  14139. * PrintControllerWithStatusDialog: Applied patch
  14140. by Chris Toshok to hide controller when there are
  14141. no printers available.
  14142. PrintDialog.cs: initialize printer settings to
  14143. null - correct DefaultValues test #5
  14144. * PrintPreviewControl.cs: Move PrintController
  14145. initialization to GeneratePreview
  14146. * PrintPreviewDialog.cs:
  14147. - Remove Preview generation from Document_set(). It is
  14148. called on OnPaint
  14149. - Throw InvalidPrinterException on CreateHandle if
  14150. a Document is set but there are no printers or
  14151. printer is not valid.
  14152. * ThemeWin32Classic: don't paint PrintPreviewControl
  14153. if there is nothing to paint
  14154. 2006-11-28 Miguel de Icaza <[email protected]>
  14155. * Form.cs: Add another popular method.
  14156. * TabPage.cs: ditto.
  14157. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14158. * MenuItem.cs: Fixed a warning.
  14159. * InternalWindowManager: Fixed a warning.
  14160. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14161. * MenuItem.cs:
  14162. - When cloning a menu also clone MdiList and clone the
  14163. window menu items properly (as the forms and menuitems
  14164. are kept in an internal hashtable, these need updating
  14165. as well)
  14166. - Rewrote the window menu code, menu items are added in the
  14167. order the forms were added to their parent, and they are
  14168. updated every time the window menu is shown (before the
  14169. list was only generated once, in the current order of the
  14170. forms, and would never be updated). A checkmark is shown
  14171. next to the item corresponding to the active mdi child.
  14172. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14173. * XplatUIStructs.cs:
  14174. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  14175. * XplatUIWin32.cs:
  14176. - Added TME_NONCLIENT to TMEFlags.
  14177. - Handles WM_NCMOUSEMOVE in GetMessage to
  14178. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  14179. * MdiWindowManager:
  14180. - Now merges mdi child menu to parent menu when maximized.
  14181. - Recalculate NC areas of both mdi child and mdi parent.
  14182. Fixes #79757 (4).
  14183. on window state and size changes.Fixes #79844 (3).
  14184. - Handle WM_NCCALCSIZE to properly calculate borders.
  14185. * Form.cs:
  14186. - Add/remove to the mdi containers list of mdi children
  14187. in the order they are added.
  14188. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  14189. to the maximized mdi child.
  14190. * InternalWindowManager.cs:
  14191. - Only execute a click on the control buttons on the mouse up,
  14192. not on the mouse down. Show the state of the button
  14193. (was only showing Normal state, never Pressed state). The
  14194. pressed button now follows the mouse (if you click the Close
  14195. button and move the mouse over the Maximize button, the
  14196. Maximize button will be shown as pressed). Since Win32 does
  14197. not generate WM_NCLBUTTONUP if you release the button outside
  14198. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  14199. it as a mouse up.
  14200. * ThemeWin32Classic.cs:
  14201. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  14202. * MdiClient.cs:
  14203. - Added a list of forms which contains the order the forms are
  14204. added to the mdi parent.
  14205. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  14206. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  14207. - If the active form changes set the scrollbars to the top
  14208. of the Z order, otherwise the form could hide them.
  14209. - Scrollbars are now sized according to ClientSize, not
  14210. to Size, and they take into account the other scrollbar
  14211. to determine maximum.
  14212. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  14213. * XplatUI.cs:
  14214. * XplatUIDriver.cs:
  14215. * XplatUIX11.cs:
  14216. * XplatUIWin32.cs:
  14217. * XplatUIOSX.cs:
  14218. - Added RequestAdditionalWM_NCMessages for windows to
  14219. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  14220. Currently only implemented in XplatUIWin32.
  14221. 2006-11-27 Chris Toshok <[email protected]>
  14222. * Hwnd.cs: only add the hwnd to the windows hash in
  14223. set_WholeWindow and set_ClientWindow if whole_window/client_window
  14224. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  14225. 2006-11-27 Mike Kestner <[email protected]>
  14226. * ComboBox.cs: remove redundant OnDropDown call. It is called
  14227. from the ComboListBox.ShowWindow code. Fixes #79969.
  14228. 2006-11-27 Chris Toshok <[email protected]>
  14229. * Hwnd.cs: remove the setters for ExposePending and
  14230. NCExposePending - noone uses them.
  14231. 2006-11-27 Jackson Harper <[email protected]>
  14232. * TextControl.cs: new param for ReplaceSelection which determines
  14233. whether we select the new selection, or set the cursor to the end
  14234. of the new selection.
  14235. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  14236. pasting, select the new text.
  14237. * RichTextBox.cs: Use new param for ReplaceSelection.
  14238. 2006-11-27 Jackson Harper <[email protected]>
  14239. * TextBoxBase.cs: Set the selection to the caret after the caret
  14240. is moved, otherwise they get out of sync.
  14241. 2006-11-26 Everaldo Canuto <[email protected]>
  14242. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  14243. it fixes #80015
  14244. 2006-11-26 Everaldo Canuto <[email protected]>
  14245. * ThemeWin32Classic.cs:
  14246. - Fix toolbar drop down arrow position.
  14247. - Fix drop down appearance when ToolBar.Appearance is normal,
  14248. it fixes #80018.
  14249. 2006-11-26 Gert Driesen <[email protected]>
  14250. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  14251. * Control.cs: Same.
  14252. * UpDownBase.cs: Same.
  14253. * ButtonBase.cs: Same.
  14254. * ScrollBar.cs: Same.
  14255. * TrackBar.cs: Same.
  14256. * PictureBox.cs: Same.
  14257. * UserControl.cs: Same.
  14258. * Label.cs: Same.
  14259. * ListControl.cs: Same.
  14260. * TextBoxBase.cs: Same.
  14261. * ListView.cs: Same.
  14262. * RichTextBox.cs: Same.
  14263. * TreeView.cs: Same.
  14264. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  14265. * PrintDialog.cs:
  14266. - Text label for where
  14267. - Text label comment was not shown
  14268. 2006-11-23 Everaldo Canuto <[email protected]>
  14269. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  14270. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14271. * InternalWindowManager.cs:
  14272. - Handle WM_PARENTNOTIFY to activate the form
  14273. if any child control is clicked.
  14274. - The form is only sizable if not minimized.
  14275. * MdiWindowManager.cs:
  14276. - Save the IconicBounds if the form is moved.
  14277. - Rework SetWindowState, now the window bounds
  14278. are stored only if the old window state is Normal.
  14279. * MdiClient.cs:
  14280. - In SetWindowStates store the old window state if
  14281. the window is maximized and restore window state if
  14282. the window looses focus.
  14283. - Don't handle any scrollbar value changes if
  14284. initializing the scroll bars. Fixes #79771.
  14285. - Reworked ArrangeIconicWindows. Current algorithm
  14286. tests bounds agains all other minimized windows, if
  14287. any intersections create new bounds (going left to
  14288. right, bottom to top) and then test again. When
  14289. successful the bounds are saved and never computed
  14290. again. Fixes #79774.
  14291. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14292. * InternalWindowManager.cs: Added HandleTitleBarUp.
  14293. 2006-11-23 Gert Driesen <[email protected]>
  14294. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  14295. hexadecimal in ParseUserEdit.
  14296. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  14297. * MdiWindowManager.cs:
  14298. - Handle a click on the form's icon to show the
  14299. system menu (when maximized). Fixes #79775.
  14300. - Change the existing click handler for the form's
  14301. icon when not maximized to show on MouseUp.
  14302. Fixes #79776.
  14303. * Form.cs: In OnResize only layout the mdi child's
  14304. parent if it actually has a parent. Might not if
  14305. the window is closing.
  14306. 2006-11-23 Gert Driesen <[email protected]>
  14307. * MdiClient.cs: Ignore active MDI client for text of parent, if
  14308. child has no text set.
  14309. 2006-11-23 Gert Driesen <[email protected]>
  14310. * ToolBar.cs: Fixed ToString to match MS.
  14311. 2006-11-22 Andreia Gaita <[email protected]>
  14312. * NumericUpDown:
  14313. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  14314. update inner values on set. Fixes #79966.
  14315. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  14316. - Fix hexadecimal parsing.
  14317. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  14318. parent. Fixes #79957
  14319. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  14320. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  14321. the actual size has to be queried, since if height /
  14322. width is negative Win32 changes it to 0.
  14323. Fixes #79999 on Windows.
  14324. * XplatUIX11.cs: Set height / width to 0 if negative
  14325. in SetWindowPos. Fixes #79999 on Linux.
  14326. 2006-11-22 Everaldo Canuto <[email protected]>
  14327. * ThemeWin32Classic.cs: Fix text redenring when button is
  14328. pressed.
  14329. 2006-11-22 Everaldo Canuto <[email protected]>
  14330. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  14331. and later navigate by mouse. Fixes #79528.
  14332. 2006-11-21 Everaldo Canuto <[email protected]>
  14333. * ToolBar.cs: Set default value for TabStop to false in
  14334. constructor, it fixes remaining behavior of bug #79863.
  14335. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  14336. * MdiWindowManager.cs:
  14337. * InternalWindowManager.cs:
  14338. - Moved a few methods specific to Mdi from
  14339. InternalWindowManager to MdiWindowManager.
  14340. Fixes #79996.
  14341. 2006-11-21 Chris Toshok <[email protected]>
  14342. * XplatUIOSX.cs: stub out InvalidateNC.
  14343. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  14344. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  14345. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  14346. * XplatUIDriver.cs: add InvalidateNC abstract method.
  14347. * XplatUI.cs: add InvalidateNC.
  14348. 2006-11-21 Everaldo Canuto <[email protected]>
  14349. * ToolBar.cs: Invalidate complete button area when pressed status
  14350. was changed.
  14351. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  14352. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  14353. by 1 when button is pressed.
  14354. 2006-11-20 Everaldo Canuto <[email protected]>
  14355. * ToolButton.cs: Invalidate middle of DropDown button when
  14356. ToolBar theres DropDownArrows.
  14357. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  14358. fix DropDown drawing operations.
  14359. 2006-11-20 Chris Toshok <[email protected]>
  14360. * NativeWindow.cs: fix the formatting of functions ('{' on the
  14361. following line), and enable the thread exception dialog.
  14362. * Application.cs: remove the duplicate exception catching from
  14363. here.
  14364. 2006-11-20 Everaldo Canuto <[email protected]>
  14365. * Toolbar.cs: Triggers button click event when click on icon
  14366. of dropdown ToolBarButton. Fixes #79912.
  14367. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  14368. * Theme.cs:
  14369. * ThemeWin32Classic.cs:
  14370. - Added a property WindowBorderFont to enable themeing
  14371. of mdi child windows' Text.
  14372. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  14373. * InternalWindowManager.cs:
  14374. * Form.cs:
  14375. * MdiClient.cs:
  14376. * MdiWindowManager.cs:
  14377. - If mdi child is maximized, set mdi parent's
  14378. text to "Parent - [Child]". Fixes #79770.
  14379. - If there is any maximized mdi child windows, only the active
  14380. window (and any new windows) is maximized, the rest are normal.
  14381. - On a WindowState change only save mdi child's window bounds
  14382. if the old window state was normal. Fixes #79774.
  14383. - The scroll bars are now calculated on hopefully all
  14384. necessary events. Fixed #79771 / #79844->6 / #79906.
  14385. - MdiClient.SizeScrollBars() now takes into account docked
  14386. controls in the parent when calculating available space.
  14387. - InternalWindowManager now always repaints the entire title
  14388. area. Fixes #79844->1/4/5.
  14389. - Added RequestNCRecalc on mdi child windowstate changes.
  14390. Fixes #79772.
  14391. 2006-11-20 Mike Kestner <[email protected]>
  14392. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  14393. in the MouseUp handler of the listbox and move the return handling
  14394. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  14395. 2006-11-20 Everaldo Canuto <[email protected]>
  14396. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  14397. 2006-11-17 Alexander Olk <[email protected]>
  14398. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  14399. working in 1.2.x anymore. So, updated.
  14400. 2006-11-19 Gert Driesen <[email protected]>
  14401. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  14402. NumberGroupSeparator of current culture instead of assuming en-US.
  14403. Fixed bug #79967.
  14404. 2006-11-17 Mike Kestner <[email protected]>
  14405. * Control.cs: Add the concept of implicit bounds setting so that
  14406. dock/undock round trips preserve explicitly set size/locations.
  14407. Fixes #79313.
  14408. 2006-11-17 Alexander Olk <[email protected]>
  14409. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  14410. can't handle those filters. (Fixes bug #79961)
  14411. 2006-11-17 Chris Toshok <[email protected]>
  14412. [ fixes the exit/crashes associated with #79835. it's clearly
  14413. suboptimal though, we need to figure out a better way to solve
  14414. this. ]
  14415. * PrintPreviewControl.cs: deal with the new invalid printer
  14416. exceptions.
  14417. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  14418. and return false (so CommonDialog.ShowDialog doesn't actually show
  14419. the form.)
  14420. * PrintDialog.cs: enable/disable the Ok button depending on
  14421. whether or not the printer is valid.
  14422. * CommonDialog.cs (ShowDialog): only actually show the form if
  14423. RunDialog returns true.
  14424. 2006-11-17 Jackson Harper <[email protected]>
  14425. * TextControl.cs: When soft splitting a line, mark it as a soft
  14426. split line. Also carry over the current line break to the next
  14427. line.
  14428. 2006-11-17 Chris Toshok <[email protected]>
  14429. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  14430. only want to shift the part of the invalid area that overlaps the
  14431. area we're scrolling. we also don't want to clear the invalid
  14432. area unless the invalid area was entirely contained within the
  14433. scrolling area.
  14434. 2006-11-16 Chris Toshok <[email protected]>
  14435. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  14436. also make sure to free the memory returned by XGetWindowProperty
  14437. in GetText().
  14438. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  14439. 2006-11-16 Chris Toshok <[email protected]>
  14440. * XplatUI.cs: add a new super secret way to get at the totally
  14441. unsupported X11 backend.
  14442. 2006-11-16 Gert Driesen <[email protected]>
  14443. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  14444. 2006-11-16 Jackson Harper <[email protected]>
  14445. * TreeView.cs: Allow more explicit setting of top node position
  14446. for scrollbars. Slower algo, but more accurate.
  14447. - CollapseAll should maintain the current top node.
  14448. * TextBoxBase.cs: When positioning the caret, use the line, pos
  14449. method, since the x, y method does not grab the correct tag, and
  14450. the caret height never gets set correctly. (Maybe I should just do
  14451. away with the caret having its own height, and always use the
  14452. carets current tag for height).
  14453. 2006-11-16 Jonathan Pobst <[email protected]
  14454. [Fixes 79778, 79923]
  14455. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  14456. Parent to the FosterParent instead.
  14457. 2006-11-16 Jackson Harper <[email protected]>
  14458. * TreeView.cs: Need to recalc the topnode when we expand or
  14459. collapse. The scrolling methods can't handle this on their own,
  14460. since they use differences between the last scroll position, and
  14461. those difference get completely messed up since we are expanding
  14462. nodes. This problem should probably be fixed in the scrolling
  14463. methods, so they can figure out exactly where they are, but this
  14464. will slow things down a little.
  14465. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  14466. strings, makes nunit-gui look a lot nicer.
  14467. 2006-11-16 Chris Toshok <[email protected]>
  14468. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  14469. the broken multithreaded event handling we have in here. File
  14470. this entry under "Why we should move to the new X11 backend".
  14471. Any thread can make it into UpdateMessageQueue, which gets events
  14472. from the X socket - some of which could belong to hwnds being
  14473. managed by a different thread. We can also have multiple threads
  14474. in UpdateMessageQueue at the same time, with each one reading from
  14475. the X socket. This leads to many problems, with the following
  14476. solutions:
  14477. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  14478. EnqueueLocked.
  14479. The MotionNotify compression we do can't work across threads
  14480. (without locking the entire queue, perhaps) since we call
  14481. hwnd.Queue.Peek, so we just punt and don't compress motion events
  14482. unless the owning thread is the one which got the X event.
  14483. ConfigureNotify is another fun one, since it modifies the hwnd's
  14484. bounds and then enqueues the event. We add a lock to Hwnd which
  14485. is held when setting configure_pending to true (and enqueuing the
  14486. event).
  14487. There is a race wrt the wake socket. we need to make sure that
  14488. only 1 thread is waiting on that socket, or else a thread could
  14489. sleep waiting for data that never comes. It's difficult (but not
  14490. impossible) to make happen, because it seems to require something
  14491. like the following:
  14492. 1. Thread 1 polls on wake_receive
  14493. 2. poll returns saying there's data to be read on
  14494. wake_receive.
  14495. 3. Thread 2 polls on wake_receive and immediately returns
  14496. saying there's data to be read.
  14497. 4. Thread 2 reads the wakeup byte from wake_receive
  14498. 5. Thread 1 attempts to read the wakeup byte from
  14499. wake_receive.
  14500. 6. Thread 2 exits (due to a form closing, perhaps).
  14501. 7. Thread 1 blocks forever.
  14502. Fun, eh?
  14503. Fixing the Expose handling isn't done yet, and the races inherent
  14504. in that piece of code are responsible for the drawing mistakes you
  14505. see when generating expose events in a MT app (like NPlot). This
  14506. one is the likely to be the hardest to bandaid, and it doesn't
  14507. appear to cause anything but drawing problems. The other issues
  14508. caused apps to exit or hang.
  14509. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  14510. called from a different thread than the one that should be calling
  14511. these functions.
  14512. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  14513. 2006-11-15 Chris Toshok <[email protected]>
  14514. * Application.cs: null out the context's MainForm when we exit
  14515. RunLoop. Fixes a newly checked in unit test as well as the last
  14516. ODE from bug #79933.
  14517. 2006-11-15 Chris Toshok <[email protected]>
  14518. * Form.cs (set_Owner): allow a null value so we can clear the
  14519. form's owner.
  14520. (Dispose): set all our owned_form's Owner properties to null, and
  14521. clear the owned_forms collection.
  14522. (WM_CLOSE): clean up this a little bit.. still not right though.
  14523. * ApplicationContext.cs: OnMainFormClosed should only call
  14524. ExitThreadCore if the main form isn't recreating. Fixes unit
  14525. test.
  14526. 2006-11-15 Jonathan Pobst <[email protected]>
  14527. [Fixes 78346]
  14528. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  14529. 2006-11-15 Jonathan Pobst <[email protected]>
  14530. [Fixes 79433]
  14531. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  14532. keep popup window types from stealing focus from the main form
  14533. on Windows.
  14534. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  14535. * MenuAPI.cs: Set above flag to true.
  14536. 2006-11-15 Chris Toshok <[email protected]>
  14537. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  14538. the button being released is not in wParam.
  14539. 2006-11-15 Jonathan Pobst <[email protected]>
  14540. * Form.cs: Add the released button to MouseEventArgs.Button
  14541. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  14542. on Win32.
  14543. 2006-11-15 Chris Toshok <[email protected]>
  14544. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  14545. GetText(). untested because it's unused in our implementation.
  14546. Control.Text always caches the text, even if
  14547. ControlStyles.CacheText is not set.
  14548. fixes bug #79939.
  14549. 2006-11-15 Chris Toshok <[email protected]>
  14550. [ fixes #79933 ]
  14551. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  14552. message. no hiding, no disposing.
  14553. in the WM_CLOSE handler, hide the form if it's modal.
  14554. 2006-11-15 Chris Toshok <[email protected]>
  14555. * XplatUIX11.cs: use AddExpose instead of sending a message.
  14556. fixes textbox border drawing.
  14557. 2006-11-15 Chris Toshok <[email protected]>
  14558. * PropertyGridView.cs: keep from crashing on mouse move/down when
  14559. the property grid is empty.
  14560. 2006-11-14 Jackson Harper <[email protected]>
  14561. * TextControl.cs: Make PageUp and PageDown more like the MS
  14562. versions.
  14563. * TextBoxBase.cs: When we set the text property position the
  14564. cursor at the beginning of the document.
  14565. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  14566. * Form.cs: if a mdi child's WindowState has changed
  14567. before it's creation, it would display wrong control
  14568. buttons.
  14569. 2006-11-14 Alexander Olk <[email protected]>
  14570. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  14571. (Fixes bug #79927)
  14572. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  14573. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  14574. the window gets to paint its borders even if the window is
  14575. getting smaller.
  14576. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  14577. otherwise the old control buttons would still be painted
  14578. if the window gets bigger.
  14579. * PaintEventArgs.cs: add an internal method so that the clip
  14580. rectangle can be changed.
  14581. 2006-11-13 Chris Toshok <[email protected]>
  14582. [ fixes bug #79745 ]
  14583. * NotifyIcon.cs: lots of cleanup.
  14584. * X11Structs.cs: add an enum for XEMBED messages.
  14585. * XplatUIX11.cs: reindent one of the giant switch statements, it
  14586. was taking up an additional tab stop, and this file is already way
  14587. too wide for my laptop's screen.
  14588. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  14589. we get it, resize the hwnd to the WMNormalHints max_width/height.
  14590. 2006-11-13 Jackson Harper <[email protected]>
  14591. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  14592. teh simple way.
  14593. 2006-11-13 Chris Toshok <[email protected]>
  14594. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  14595. #79898. force a reference to the Region to stick around so the
  14596. unmanaged object isn't collected (rendering our handle in the MSG
  14597. stale).
  14598. 2006-11-13 Chris Toshok <[email protected]>
  14599. * XplatUIX11.cs: fix #79917 for window managers which support
  14600. using XStoreName on the raw utf8, and we need to convert to
  14601. COMPOUND_TEXT if it's non-latin1.
  14602. 2006-11-13 Chris Toshok <[email protected]>
  14603. * Form.cs (set_DialogResult): we need to set closing to false if
  14604. we're setting our result to None. fixes bug #79908.
  14605. 2006-11-13 Jackson Harper <[email protected]>
  14606. * TextControl.cs: When formatting text, compute the adjusted tag
  14607. lengths correctly, using FindTag for the end tag instead of trying
  14608. to figure it out outselves.
  14609. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  14610. the item, ItemHeight doesn't work, because trees with large
  14611. imagelists use those for their height
  14612. * TreeView.cs: ActualItemHeight factors in the image height
  14613. - compute left edge of checkboxes correctly
  14614. - when expanding/collapsing move the bottom down one pixel, so we
  14615. aren't moving part of the node
  14616. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  14617. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  14618. stack in PaintEventStart so that it won't get disposed by the gc
  14619. before reaching PaintEventEnd.
  14620. 2006-11-13 Jackson Harper <[email protected]>
  14621. * TextBoxBase.cs: Don't select the word if we are on a line with
  14622. no text.
  14623. - We don't need to position the caret on mouse up, since the mouse
  14624. move handler should be doing this
  14625. - When double clicking a blank line, the caret is advanced to the
  14626. next line.
  14627. 2006-11-13 Gert Driesen <[email protected]>
  14628. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  14629. 2006-11-12 Gert Driesen <[email protected]>
  14630. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  14631. Fixes part of bug #79910.
  14632. 2006-11-11 Alexander Olk <[email protected]>
  14633. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  14634. (bug #79903). Some minor string updates to match ms.
  14635. 2006-11-10 Alexander Olk <[email protected]>
  14636. * FileDialog.cs: Don't add an extension if the filename
  14637. already ends with that extension.
  14638. 2006-11-10 Jackson Harper <[email protected]>
  14639. * TreeView.cs: Use the currently highlighted node for the
  14640. BeforeSelect event.
  14641. * TextBoxBase.cs: There is no need to expand selection on
  14642. MouseMove.
  14643. - CanUndo means 'is there any undo operations', not 'is undo
  14644. allowed on this textcontrol. Fixed ClearUndo unit test.
  14645. 2006-11-10 Andreia Gaita <[email protected]>
  14646. * Button.cs: only perform click when button is Selectable (so as
  14647. not to activate default buttons when they're disabled)
  14648. * Control.cs: Rewrite of the SelectNextControl and related
  14649. methods. HandleClick now selects next control if the current one
  14650. is being disabled.
  14651. * Form.cs: OnActivated selects next active control only if Load
  14652. has already occurred. If Load hasn't run, there's no point in
  14653. selecting here, Load might change the state of controls.
  14654. * FocusTest.cs: Tests marked as working again for these fixes
  14655. 2006-11-10 Chris Toshok <[email protected]>
  14656. * XplatUIX11.cs: a couple of fixes.
  14657. - use XInternAtoms with almost all the atoms we need to register,
  14658. instead of many, many calls to XInternAtom. should help a bit on
  14659. startup time, at the expense of making the code look a little
  14660. worse.
  14661. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  14662. isn't reparented (which seems to be a clue that we're running fon
  14663. compiz) and they have an Owner form. This fixes the tool windows
  14664. in paint.net when running under compiz.
  14665. - when setting the opacity of a window, support both the case
  14666. where the window has been reparented and also when it hasn't been.
  14667. Since compiz/beryl doesn't seem to reparent windows, and these are
  14668. the only window managers which support translucency, I'm not sure
  14669. why we need the hwnd.reparented case at all.. but leave it in.
  14670. now we get translucent windows in paint.net under compiz/beryl.
  14671. 2006-11-10 Alexander Olk <[email protected]>
  14672. * FileDialog.cs: Always return the value for FilterIndex that
  14673. was set. Internally convert it to values that make sense.
  14674. 2006-11-10 Everaldo Canuto <[email protected]>
  14675. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  14676. 2006-11-10 Everaldo Canuto <[email protected]>
  14677. * Toolbar.cs: Change default value of DropDownArrows to true, the
  14678. signature still using false to make it compatible with MS but the
  14679. initial value is true. Fixes #79855.
  14680. 2006-11-10 Alexander Olk <[email protected]>
  14681. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  14682. only available on Linux.
  14683. 2006-11-09 Everaldo Canuto <[email protected]>
  14684. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  14685. reduce number of calls to redraw method during toolbar creation.
  14686. 2006-11-09 Mike Kestner <[email protected]>
  14687. * ListView.cs : raise SelectedIndexChanged when an item is selected
  14688. programmatically via the Item.Selected property. Gert's nice
  14689. ListViewSelectedIndexChanged test fixture now runs clean.
  14690. 2006-11-09 Mike Kestner <[email protected]>
  14691. * ListView.cs : raise SelectedIndexChanged when a selected item is
  14692. removed from the item collection using Remove or RemoveAt.
  14693. 2006-11-09 Mike Kestner <[email protected]>
  14694. * ListView.cs : raise SelectedIndexChanged once per selected item
  14695. for compat with MS. Fixes #79849+.
  14696. 2006-11-09 Chris Toshok <[email protected]>
  14697. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  14698. we need to (if we have any tab pages). Fixes unit test.
  14699. 2006-11-09 Chris Toshok <[email protected]>
  14700. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  14701. width is 0, not 3. Fixes a unit test.
  14702. 2006-11-09 Mike Kestner <[email protected]>
  14703. * ListView.cs : use Implicit scrollbars so that focus isn't
  14704. stolen from the listview when they are clicked. Fixes #79850.
  14705. 2006-11-09 Chris Toshok <[email protected]>
  14706. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  14707. have a root item. Fixes #79879.
  14708. 2006-11-09 Alexander Olk <[email protected]>
  14709. * FileDialog.cs:
  14710. - Fix ToString ()
  14711. - An ArgumentException is now thrown if a wrong filter
  14712. is applied (matches ms). The previous filter doesn't change
  14713. anymore if an exception is thrown.
  14714. - Changing the FileName property also affects FileNames
  14715. * ColorDialog.cs: The length of the CustomColors array is always
  14716. 16. It doesn't matter if we use a smaller array or null to update
  14717. or change the custom colors property.
  14718. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  14719. for RootFolder if we get a undefined value.
  14720. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  14721. * StatusBarPanel.cs:
  14722. - Width is set to MinWidth if Width is smaller than
  14723. MinWidth. Fixes #79842.
  14724. - MinWidth now always overrides Width (MSDN says MinWidth
  14725. is set to Width when AutoSize = None, but they do not
  14726. behave like that).
  14727. - Style has now the the correct default value.
  14728. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  14729. * TrackBar.cs:
  14730. - The control is completely invalidated on
  14731. Got/LostFocus to draw the focus rectangle correctly.
  14732. - When AutoSize then height is always 45 (width for
  14733. vertical controls).
  14734. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  14735. on the mouse when moved and it doesn't move when grabbed
  14736. until the mouse moves as well. Also fixed some wrong
  14737. calculations when clicking on the thumb (control thought
  14738. click was outside of thumb and didn't grab it).
  14739. Fixes some of the issues in #79718.
  14740. 2006-11-08 Everaldo Canuto <[email protected]>
  14741. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  14742. 2006-11-08 Chris Toshok <[email protected]>
  14743. * PropertyGridView.cs: only call ToggleValue if the item is not
  14744. readonly.
  14745. 2006-11-08 Jackson Harper <[email protected]>
  14746. * TextBoxBase.cs: The RichTextBox and textbox have very different
  14747. word selection methods. Implement the textbox's simple word
  14748. selection here, and let the RichTextBox override and provide it's
  14749. own.
  14750. - Don't do extra selection on mouseup
  14751. * RichTextBox.cs: Use the documents word selection algorithm, I
  14752. think ideally, this function will be pulled into the
  14753. RichTextBox.cs code someday.
  14754. 2006-11-08 Chris Toshok <[email protected]>
  14755. * RootGridEntry.cs: new class to represent GridItemType.Root.
  14756. * CategoryGridEntry.cs: reformat, and add boilerplate.
  14757. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  14758. returns the UI parent anyway, and we need special handling to
  14759. implement the GetTarget method in the face of it. Also, implement
  14760. Select().
  14761. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  14762. a root grid item, and use that instead of PropertyGrid.grid_items.
  14763. Also, make use of TypeConverters (and add limitted support for
  14764. ICustomTypeDescriptors) when initially populating the grid.
  14765. Arrays now show up more or less properly.
  14766. 2006-11-08 Chris Toshok <[email protected]>
  14767. * Application.cs: set the modal dialog to non modal after we close
  14768. it. Fixes bug #79866.
  14769. 2006-11-08 Jackson Harper <[email protected]>
  14770. * TextControl.cs: When combining lines carry over the line end
  14771. style from the end line.
  14772. - Invalidate the selected area when setting it, if it is visible.
  14773. * TextBoxBase.cs: Only rich text box can do full line selects.
  14774. - Make sure to set the cursor position when there is a click,
  14775. otherwise two clicks in separate areas could cause a large chunk
  14776. to be selected.
  14777. 2006-11-07 Everaldo Canuto <[email protected]>
  14778. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  14779. Fixes #79863.
  14780. 2006-11-07 Everaldo Canuto <[email protected]>
  14781. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  14782. time. Remove tooltips when ToolButton click events. Fixes #79856.
  14783. 2006-11-07 Everaldo Canuto <[email protected]>
  14784. * MenuAPI.cs: Ignore right click for menu actions and fixes
  14785. menu border when clicked. Fixes #79846.
  14786. 2006-11-07 Everaldo Canuto <[email protected]>
  14787. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  14788. MouseState after create wParam for message, this fixes mouse button
  14789. equal none in mouse up events.
  14790. 2006-11-07 Andreia Gaita <[email protected]>
  14791. * Control.cs : Focus() now calls Select to set the Container's
  14792. Active Control and to give it focus. To avoid infinite recursion
  14793. (because ActiveControl also calls Focus at one point), a check
  14794. is made in Focus with the help of a new internal variable
  14795. is_focusing.
  14796. 2006-11-07 Mike Kestner <[email protected]>
  14797. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  14798. if there's a selection. Fixes #79849.
  14799. 2006-11-07 Gert Driesen <[email protected]>
  14800. * PropertyGrid.cs: Avoid fixed height of help description label.
  14801. Fixes part of bug #79829.
  14802. 2006-11-07 Chris Toshok <[email protected]>
  14803. * XplatUIX11.cs: fix #79790 again, by using the
  14804. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  14805. 2006-11-07 Everaldo Canuto <[email protected]>
  14806. * ToolBar.cs: Fix left click checking.
  14807. 2006-11-07 Chris Toshok <[email protected]>
  14808. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  14809. 2006-11-07 Chris Toshok <[email protected]>
  14810. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  14811. PropertyManager unit tests.
  14812. * PropertyManager.cs: make property_name internal.
  14813. 2006-11-07 Chris Toshok <[email protected]>
  14814. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  14815. pass a unit test. Also, don't set image_index to anything in
  14816. response to setting the ImageList property.
  14817. 2006-11-07 Everaldo Canuto <[email protected]>
  14818. * ToolBar.cs: Ignore click events when mouse button is not a
  14819. left button, only accepts other button for dropdown menus.
  14820. Fixes #79854.
  14821. 2006-11-07 Chris Toshok <[email protected]>
  14822. * DataGrid.cs: make the back and parent row buttons a little less
  14823. ugly.
  14824. 2006-11-07 Jackson Harper <[email protected]>
  14825. * TextBoxBase.cs: When converting to Text don't put line breaks in
  14826. for soft line breaks.
  14827. * TextControl.cs: There is an initial "fake" line in the document,
  14828. this is now a soft break line, so that an extra line feed doesn't
  14829. get added to the end of documents.
  14830. 2006-11-07 Chris Toshok <[email protected]>
  14831. [ fix bug #79778 ]
  14832. * CurrencyManager.cs: if the list is readonly, don't bother
  14833. checking if IBindingList.AllowNew is true.
  14834. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  14835. for non-DataRowView datasources.. or rather, make it not crash.
  14836. (DataGridPaintRelationRow): make sure we limit the row painting to
  14837. the area not covered by the row header, and make our cell width at
  14838. least large enough to cover the relation area. This allows grids
  14839. that have relations but no rows to render correctly.
  14840. (DataGridPaintRowContents): same type of changes here.
  14841. (SetDataSource): move back to always calling
  14842. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  14843. navigating back through relations.
  14844. (HitTest): handle the case where we have no cells but have
  14845. relations. Right now we generate a hit in cell 0 of whatever the
  14846. row is, not sure if this is strictly correct, but it works for our
  14847. purposes.
  14848. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  14849. bother doing anything.
  14850. 2006-11-07 Jonathan Pobst <[email protected]>
  14851. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  14852. early version of StatusStrip. Not responsible for eaten
  14853. application or firstborn children.
  14854. 2006-11-06 Chris Toshok <[email protected]>
  14855. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  14856. call GetTabRect with a -1 index. Fixes #79847.
  14857. 2006-11-06 Jackson Harper <[email protected]>
  14858. * TreeNodeCollection.cs: Update scrollbars after clearing.
  14859. 2006-11-06 Chris Toshok <[email protected]>
  14860. * NumericUpDown.cs: fix the ToString method for some unit test
  14861. love.
  14862. 2006-11-06 Chris Toshok <[email protected]>
  14863. * PropertyGrid.cs:
  14864. - set the initial SelectedGridItem if we can.
  14865. - Exclude non-mergable properties only if we're merging > 1
  14866. object. Merging 1 object isn't really merging, obviously.
  14867. - Handle PropertySort.NoSort just like Alphabetical, which is
  14868. wrong of course, but at least gets things on the screen.
  14869. * PropertyGridView.cs:
  14870. - Add method "FindFirstItem" which finds the first property grid
  14871. item, so we can select it by default.
  14872. - make use of GridEntry.CanResetValue.
  14873. - Don't call RedrawBelowItemOnExpansion here anymore, the
  14874. individual GridEntry's will do that.
  14875. - Remove the ITypeDescriptorContextImpl internal class.
  14876. * GridEntry.cs:
  14877. - this class needs to implement ITypeDescriptorContext, as it's
  14878. what MS's PropertyDescriptorGridEntry does, which means we can
  14879. remove the ITypeDescriptorContextImpl internal class from
  14880. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  14881. - keep a reference to our PropertyGridView, and move the call to
  14882. RedrawBelowItemOnExpansion here from PGV. This means
  14883. programmaticly setting Expanded actually does something visible.
  14884. - add a CanResetValue() function which takes into account our
  14885. possibly multiple "selected_objects" in the merged case. Shifting
  14886. PropertyGridView to use this method fixes another unreported
  14887. crasher found running the test for #79829.
  14888. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  14889. is updated to reflect this.
  14890. * CategoryGridEntry.cs: the ctor takes the PGV now.
  14891. 2006-11-06 Jackson Harper <[email protected]>
  14892. * TextControl.cs: These are 1 based.
  14893. * TextBoxBase.cs: When setting the selected text, don't change the
  14894. selected text tags, this is done by ReplaceText, just position the
  14895. cursor at the end of the new text.
  14896. 2006-11-06 Alexander Olk <[email protected]>
  14897. * ListView.cs: Allow label edit only when, when LabelEdit is
  14898. set to true.
  14899. 2006-11-06 Jackson Harper <[email protected]>
  14900. * TextControl.cs: If a suitable wrapping position isn't found,
  14901. just wrap right in the middle of a word.
  14902. 2006-11-06 Alexander Olk <[email protected]>
  14903. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  14904. bug #79820.
  14905. 2006-11-06 Jackson Harper <[email protected]>
  14906. * TreeView.cs: Can't use the VisibleCount property when setting
  14907. scrollbar heights, because this doesn't take into account whether
  14908. or not the horz scrollbar just came visible.
  14909. 2006-11-05 Everaldo Canuto <[email protected]>
  14910. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  14911. activated. Fixes #79369, #79832.
  14912. 2006-11-05 Alexander Olk <[email protected]>
  14913. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  14914. had to remove support for links that point to a directory. FileInfo
  14915. returns no usefull information (means, the directory they point to)
  14916. for such links. Replaced some empty string ("") with String.Empty.
  14917. 2006-11-04 Gert Driesen <[email protected]>
  14918. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  14919. NullReferenceException when attempting to remove node that is not in
  14920. collection. Throw NullReferenceException when null is passed to
  14921. Remove. Allow first element of the collection to be removed. Fixes
  14922. bug #79831. In GetEnumerator ().Current return null if positioned
  14923. before the first element of the collection. In GetEnumerator ().Reset,
  14924. position before first element of the collection.
  14925. 2006-11-04 Gert Driesen <[email protected]>
  14926. * PropertyGrid.cs: To match MS, remove default title and description
  14927. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  14928. buttons.
  14929. 2006-11-04 Chris Toshok <[email protected]>
  14930. * Theme.cs: add a Clamp method, just for kicks.
  14931. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  14932. 2006-11-04 Chris Toshok <[email protected]>
  14933. * Form.cs: if the form isn't visible, Close() does nothing.
  14934. 2006-11-03 Chris Toshok <[email protected]>
  14935. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  14936. Hide it.
  14937. (WndProc): don't Dispose after handling the WM_CLOSE message.
  14938. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  14939. them as such, instead of using casts from Control to Form. Also,
  14940. don't Dispose of the modal dialog when we fall out of the loop -
  14941. Close() it instead.
  14942. fixes bug #79813.
  14943. 2006-11-03 Chris Toshok <[email protected]>
  14944. * Control.cs (Dispose): only go through the dispose thing if we're
  14945. @disposing, and we haven't already been disposed. Fixes bug
  14946. #79814.
  14947. * Form.cs: no reason to call "base.Dispose()" here instead of
  14948. "Dispose()".
  14949. 2006-11-03 Mike Kestner <[email protected]>
  14950. * ComboBox.cs : use ToString instead of casts in AddItem for
  14951. sorting functionality. Fixes #79812.
  14952. 2006-11-03 Chris Toshok <[email protected]>
  14953. * Application.cs: pave the way for actually using the thread
  14954. exception dialog. it's ifdefed out at the moment.
  14955. 2006-11-03 Chris Toshok <[email protected]>
  14956. * ThreadExceptionDialog.cs: until we get a better layout, actually
  14957. hide the details textbox and label when we shouldn't see them.
  14958. 2006-11-03 Jackson Harper <[email protected]>
  14959. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  14960. multiline textboxes anymore. This method also determines the
  14961. width/height of a textboxes canvas area.
  14962. - Sorta a revert of the last patch. For multiline just position
  14963. the controls, then bail. This way the scrollbar width won't be
  14964. altered.
  14965. 2006-11-03 Everaldo Canuto <[email protected]>
  14966. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  14967. it dont need. Fixes #79537.
  14968. 2006-11-02 Jackson Harper <[email protected]>
  14969. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  14970. send the status after firing the DndOver event.
  14971. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  14972. * TrackBar.cs: Now orientation only switches height / width if
  14973. the control's handle is created (Win32 does it like this). Also
  14974. fixed a typo in ToString() for a test to pass, changed the
  14975. exception thrown in set_LargeChange and set_SmallChange to
  14976. match Win32 behaviour, and added TrackBar tests to the unit
  14977. tests.
  14978. 2006-11-02 Chris Toshok <[email protected]>
  14979. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  14980. not _NET_WM_STATE_NO_TASKBAR.
  14981. 2006-11-02 Jackson Harper <[email protected]>
  14982. * TextControl.cs: Increment count by one, since in the update view
  14983. count - 1 is used.
  14984. 2006-11-02 Jackson Harper <[email protected]>
  14985. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  14986. the mouse is in the client rectangle (duh).
  14987. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  14988. * TrackBar.cs: Fixed trackbar jumping around when clicking
  14989. on it - the trackbar was not detecting correctly at which
  14990. side of the thumb the click was done. (fixes #79718)
  14991. 2006-11-02 Everaldo Canuto <[email protected]>
  14992. * ListBox.cs: scroll visible area when change SelectedIndex to
  14993. a non visible area. Fixes #79481.
  14994. 2006-11-01 Jackson Harper <[email protected]>
  14995. * TextControl.cs: When replacing the selection move the selection
  14996. start/end/anchor to the end of the new text.
  14997. 2006-11-01 Jackson Harper <[email protected]>
  14998. * XplatUIWin32.cs: When setting the parent change the controls
  14999. visibility to it's visibility flag, not to it's old parents
  15000. visibility (.Visible walks the parent chain).
  15001. 2006-11-01 Chris Toshok <[email protected]>
  15002. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  15003. XSetTransientForHint fix breaks paint .net's tool windows. more
  15004. work needed for that one.
  15005. 2006-11-01 Chris Toshok <[email protected]>
  15006. * ScrollBar.cs: throw ArgumentException instead of Exception in
  15007. LargeChange/SmallChange setters. fixes unit tests.
  15008. 2006-10-31 Andreia Gaita <[email protected]>
  15009. * ContainerControl.cs: reverted rev.67183 (which was itself
  15010. a reversion of rev.66853... eh).
  15011. * Control.cs: Fixes Reflector hang by changing Focus() call
  15012. to what it was before rev.66643 (calling Select() here sets
  15013. ActiveControl, which in some situations calls back Focus and
  15014. eventually does a stack overflow). Temp fix.
  15015. Changes to GetNextControl() to not look for children to select when
  15016. parent cannot be selectable (so it looks for siblings instead)
  15017. 2006-10-31 Mike Kestner <[email protected]>
  15018. * CheckedListBox.cs : off by one error in returned index from
  15019. ObjectCollection.Add. Fixes #79758.
  15020. 2006-10-31 Chris Toshok <[email protected]>
  15021. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  15022. calls for the textbox/spinner, to keep from recursing to the point
  15023. where we crash. Fixes #79760.
  15024. 2006-10-31 Chris Toshok <[email protected]>
  15025. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  15026. null/"" value, just return. matches ms's behavior and fixes some
  15027. failing tests.
  15028. 2006-10-31 Chris Toshok <[email protected]>
  15029. * Control.cs (set_Capture): make a logic a little easier to
  15030. follow.
  15031. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  15032. if it's being destroyed. A necessary fix surely, but a bandaid
  15033. also, to fix the stuck capture problem in bug #78413.
  15034. 2006-10-31 Chris Toshok <[email protected]>
  15035. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  15036. convention of clearing hwnd.ClientRect when we set the
  15037. width/height (so it'll be recalculated by Hwnd).
  15038. 2006-10-31 Andreia Gaita <[email protected]>
  15039. * ContainerControl.cs: reversed Contains check from
  15040. ActiveControl due to hanging problems. This fix
  15041. partly regresses #79667 (button does not have
  15042. initial focus), so this might be a symptom for
  15043. a larger parenting problem (set_ActiveControl
  15044. is being called but the child control does
  15045. not have the parent set yet?)
  15046. 2006-10-31 Mike Kestner <[email protected]>
  15047. * MenuAPI.cs : fix keynav when menu is click activated.
  15048. 2006-10-31 Jonathan Pobst <[email protected]>
  15049. * ToolStrip*: Version 0.2.
  15050. * MenuStrip.cs: Version 0.1.
  15051. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  15052. 2006-10-30 Chris Toshok <[email protected]>
  15053. [ fixes the oversized notify icon issue in bug #79745 ]
  15054. * NotifyIcon.cs: scale the icon down to the size we're given by
  15055. the XplatUI layer (this would be faster if we did it once instead
  15056. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  15057. since it's never invoked.
  15058. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  15059. pixels high by default, so let's hardcode our systray icon to that
  15060. size. The SYSTEM_TRAY protocol should really have a way for
  15061. client apps to query for the correct icon size.. but oh well. A
  15062. couple of patches to deal with the screwy client_window ==
  15063. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  15064. instance, and also make sure we don't XSelectInput twice).
  15065. 2006-10-30 Chris Toshok <[email protected]>
  15066. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  15067. recreating forms. Control recreation is the bane of my existence.
  15068. Fix it in a way that keeps everyone happy.
  15069. 2006-10-30 Chris Toshok <[email protected]>
  15070. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  15071. just non-CHILD ones. otherwise sometimes scrollbars end up with
  15072. client_windows not being resized to the proper size (ReportBuilder
  15073. shows this extremely well).
  15074. 2006-10-30 Chris Toshok <[email protected]>
  15075. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  15076. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  15077. showing up in the gnome taskbar. Fixes bug #79790.
  15078. 2006-10-30 Chris Toshok <[email protected]>
  15079. * ApplicationContext.cs: guard against a NRE.
  15080. * Application.cs: null out the old MainForm for the context, so we
  15081. don't try to use it again once it's disposed. Fixes bug #79783.
  15082. 2006-10-30 Chris Toshok <[email protected]>
  15083. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  15084. BindingContext, set the data source directly, otherwise do the
  15085. lazy approach - the actual ListManager will be created when we get
  15086. a BindingContext. Fixes bug #79700.
  15087. 2006-10-30 Jonathan Pobst <[email protected]>
  15088. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15089. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  15090. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  15091. 2006-10-30 Jonathan Pobst <[email protected]>
  15092. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  15093. of SetVisible that allows a window to be shown, but not activated.
  15094. This is needed on Windows for MenuStrip, and can probably be used
  15095. with MainMenu and ComboBox to fix the focus stealing issues on
  15096. Windows.
  15097. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  15098. 2006-10-30 Alexander Olk <[email protected]>
  15099. * PictureBox.cs: Fix the output of the ToString method.
  15100. 2006-10-29 Chris Toshok <[email protected]>
  15101. * Control.cs (get_TopLevelControl): fix bug #79781.
  15102. 2006-10-29 Chris Toshok <[email protected]>
  15103. * ListControl.cs (set_DataSource): throw Exception here, not
  15104. ArgumentException, to match MS behavior.
  15105. 2006-10-29 Chris Toshok <[email protected]>
  15106. * Form.cs: remove the try-catch's around calls to GetWindowState.
  15107. We can just check the return value.
  15108. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  15109. Instead return -1.
  15110. * XplatUI.cs: Add note about additional return value for
  15111. GetWindowState.
  15112. 2006-10-29 Chris Toshok <[email protected]>
  15113. * Control.cs (CreateHandle): when we create our handle, we also
  15114. create the handles of our child controls. Fixes one of the
  15115. Control unit tests (CH11).
  15116. 2006-10-28 Alexander Olk <[email protected]>
  15117. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  15118. 2006-10-28 Alexander Olk <[email protected]>
  15119. * ThemeClearlooks.cs: A little speedup.
  15120. 2006-10-27 Chris Toshok <[email protected]>
  15121. * Control.cs: implement Control.FromChildHandle in a way that
  15122. matches the docs (and fixes the failed test.)
  15123. 2006-10-27 Chris Toshok <[email protected]>
  15124. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  15125. comments).
  15126. * DataGrid.cs: implement ResetForeColor such that the tests
  15127. succeed.
  15128. 2006-10-27 Chris Toshok <[email protected]>
  15129. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  15130. being set to "". Fixes bug #79759.
  15131. 2006-10-27 Jackson Harper <[email protected]>
  15132. * TextControl.cs: We need to clear the entire selection area when
  15133. setting the start, otherwise multiline selections are still
  15134. visible.
  15135. 2006-10-26 Chris Toshok <[email protected]>
  15136. * PropertyGridView.cs:
  15137. - ifdef all the code specific to the double
  15138. buffer case, and provide some alternatives in the non-doublebuffer
  15139. code, which makes heavy use of XplatUI.ScrollWindow to move things
  15140. around without having to invalidate (and cause flicker). There
  15141. are still some drawing problems in the non-doublebuffered case, so
  15142. DOUBLEBUFFER is defined by default.
  15143. - Fix the way dropdowns are handled. now we explicitly watch for
  15144. the events which might cause the dropdown to close, and break out
  15145. of the nested event loop there. This gets rid of all Capture
  15146. code, at the expense of the Msg special casing. Seems to work,
  15147. though, and fixes bug #79743.
  15148. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  15149. * Control.cs: SetIsRecreating now recreates implicitly added
  15150. child controls as well. Finally fixes #79629. The flag passed to
  15151. SetIsRecreating has also been removed since it wasn't used.
  15152. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  15153. * PageSetupDialog.cs: Clean some code, fix some bits,
  15154. add some checks, and add a printer sub-dialog.
  15155. 2006-10-26 Chris Toshok <[email protected]>
  15156. * PropertyGrid.cs: make set_SelectedObject call
  15157. set_SelectedObjects, and move the duplicate logic to the
  15158. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  15159. * PropertyGridView.cs: hide the textbox when we get a
  15160. SelectedObjectsChanged event.
  15161. Fixes bug #79748.
  15162. 2006-10-26 Chris Toshok <[email protected]>
  15163. * PropertyGridView.cs: deal with the type converter not supporting
  15164. GetStandardValues() or GetStandardValues() returning null, which
  15165. is does in the default case. Fixes #79742.
  15166. 2006-10-25 Andreia Gaita <[email protected]>
  15167. * CheckedListBox.cs: nunit no longer crashes when selecting
  15168. Project/Edit menu option
  15169. 2006-10-25 Andreia Gaita <[email protected]>
  15170. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  15171. is no menu selected. fixes #79739
  15172. 2006-10-25 Chris Toshok <[email protected]>
  15173. * PropertyGridView.cs: factor out the splitter invalidation code
  15174. into the SplitterPercent setter, and for kicks implement the
  15175. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  15176. amount in either direction.
  15177. 2006-10-25 Chris Toshok <[email protected]>
  15178. * PropertyGridView.cs: do some cleanup of the brush used to draw
  15179. text - read only fields should be grayed out. not sure how to do
  15180. this with the textbox, though. but the textbox's should also be
  15181. readonly now at least. Also, hide/show the textbox when resizing
  15182. the control.
  15183. * CursorConverter.cs: use System.Reflection when getting the
  15184. properties of Cursors, as TypeDescriptor.GetProperties isn't
  15185. returning static properties.
  15186. 2006-10-25 Chris Toshok <[email protected]>
  15187. * PropertyGridView.cs: factor out the up/down handling, and reuse
  15188. it for page up/down. also add End/Home support.
  15189. 2006-10-25 Chris Toshok <[email protected]>
  15190. * PropertyGridView.cs:
  15191. - ensure the selected grid item is visible in the scrolled area,
  15192. fixes bug #79572.
  15193. - fix Keys.Down handling when you're on the last item in the
  15194. propertygrid.
  15195. 2006-10-25 Mike Kestner <[email protected]>
  15196. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  15197. clicks too. Fixes #79725.
  15198. 2006-10-24 Chris Toshok <[email protected]>
  15199. * PropertyGrid.cs: use property.Converter instead of
  15200. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  15201. TypeConverters declared on the property as well as on the
  15202. PropertyType. Fixes bug #79678.
  15203. 2006-10-24 Alexander Olk <[email protected]>
  15204. * MimeIcon.cs, Mime.cs:
  15205. Fallback to the default platform handler if no shared mime info
  15206. stuff exists (fixes #79693).
  15207. 2006-10-20 Andreia Gaita <[email protected]>
  15208. * ContainerControl.cs: Incorrect contains check in ActiveControl
  15209. from previous fix (duh).
  15210. 2006-10-20 Chris Toshok <[email protected]>
  15211. * PropertyGridView.cs: the dropdown should be MIN(number of items
  15212. in list, 15). Fixes #79551.
  15213. 2006-10-20 Andreia Gaita <[email protected]>
  15214. Fixes #79384, #79394, #79652, #79667
  15215. * Application.cs:
  15216. - Modal windows are now destroyed in the proper order for windows
  15217. * ContainerControl.cs:
  15218. - ActiveControl setter has more conditions on when to return:
  15219. - if we're reselecting the active control, but it actually
  15220. didn't have focus (window hidden or some such), it runs
  15221. - if the active control being selected doesn't actually
  15222. exist in the container, it returns
  15223. * Form.cs
  15224. - The ShowDialog now gets the current form as the owner when
  15225. invoking without parameters, and correctly activates the owner
  15226. when returning
  15227. * MessageBox.cs
  15228. - MessageBox now catches the Escape key to exit
  15229. 2006-10-20 Chris Toshok <[email protected]>
  15230. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  15231. most of bug #79676):
  15232. - you can navigate around the property grid with the arrow keys.
  15233. - the dropdown is sized properly when the pg has a vertical
  15234. scrollbar.
  15235. - fix the indentation for subentries, and properly select the
  15236. entire label rect.
  15237. - fix the gray bar's drawing (only draw it to the last element,
  15238. not for the height of the control. Also make sure we draw that
  15239. last horizontal grid line.
  15240. - use the same mechanism the datagrid uses wrt the editing textbox
  15241. when scrolling/resizing/etc. Namely, we hide it first, do the
  15242. operation, then show it again (if it's still visible).
  15243. - aggressively remove a lot of unnecessary refreshes (and also
  15244. calls to Invalidate(). call more limited variants, and only redraw
  15245. what we need.)
  15246. * PropertyGrid.cs:
  15247. - when we're populating the merged collection, fill in the UI
  15248. parent with either the passed in item, or the category item we
  15249. create.
  15250. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  15251. * GridItem.cs: drop some fully qualified names.
  15252. * GridEntry.cs: add a "UIParent", which is basically the parent
  15253. treenode.
  15254. * GridItemCollection.cs: add an IndexOf method.
  15255. 2006-10-20 Mike Kestner <[email protected]>
  15256. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  15257. a working win32 NC invalidation mechanism, we can't invalidate
  15258. menus. [Fixes #79705]
  15259. 2006-10-20 Mike Kestner <[email protected]>
  15260. * ListBox.cs : don't update the VScrollbar if the list is empty,
  15261. just hide it. [Fixes #79692]
  15262. 2006-10-20 Jackson Harper <[email protected]>
  15263. * RichTextBox.cs: Handle some special chars better, and don't skip
  15264. the entire group when we encounter a special char that we don't
  15265. handle correctly.
  15266. 2006-10-18 Chris Toshok <[email protected]>
  15267. * PropertyGridView.cs: address a number of issues from bug #79676,
  15268. mostly of the cosmetic variety.
  15269. - The highlight rectangle for indented items not extends all the
  15270. way to the left.
  15271. - Indented items aren't indented so much.
  15272. - the dropdown is properly sized width-wise if the pg has a
  15273. vertical scrollbar.
  15274. 2006-10-18 Chris Toshok <[email protected]>
  15275. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  15276. systray stuff is rather convoluted to begin with.
  15277. systray icons are a single window for some reason (that I haven't
  15278. figured out yet), and for them, client_window == whole_window.
  15279. Given the way the tests are structured elsewhere to determine
  15280. which paints are pending (client vs. nc), that situation will
  15281. always yield PAINT, not NCPAINT. So, if we have a pending
  15282. nc_expose and no pending expose, remove the hwnd from the paint
  15283. queue, and also set nc_expose_pending to false, to keep us from
  15284. blocking further expose's adding the hwnd to the paint queue.
  15285. phew. like i said, a rather convoluted change. Fixes the
  15286. notifyicon repaint issues in bug #79645.
  15287. 2006-10-18 Chris Toshok <[email protected]>
  15288. * Form.cs: when getting the backcolor of the form, don't get
  15289. base.BackColor, as this allows parents to influence the background
  15290. color. This breaks mdi forms. Instead, if the background_color
  15291. is empty, return the default.
  15292. 2006-10-18 Chris Toshok <[email protected]>
  15293. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  15294. to being private instead of internal static.
  15295. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  15296. crap, it wasn't working for more deeply nested controls anyway,
  15297. and we already have the is_recreating flag - use that instead.
  15298. Before calling DestroyHandle in RecreateHandle, recurse through
  15299. the control tree setting it to true. this returns the recreate
  15300. code to much of its original simplicity, while now guaranteeing we
  15301. actually recreate everything we're supposed to. This change gets
  15302. fyireporting actually showing mdi children.
  15303. 2006-10-17 Chris Toshok <[email protected]>
  15304. * Form.cs: remove some debug spew, and collapse some duplicate
  15305. code at the end of SetClientSizeCore.
  15306. * XplatUIX11.cs:
  15307. - add some more debug spew here too wrt Destroy handling.
  15308. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  15309. in Control's handling of WM_DESTROY.
  15310. - Remove the handling of zombie window DestroyNotifies from the
  15311. event loop - we don't need it. Now the only DestroyNotifies we
  15312. actually handle are ones generated by X.
  15313. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  15314. match gtk's (functioning) handling of this. This keep metacity
  15315. from leaving droppings in the form of wm borders with no window
  15316. contents all over the place.
  15317. * Control.cs:
  15318. - add a bunch of debug spew wrt control recreation.
  15319. - fix a bug where we weren't tracking Visible properly on
  15320. recreated hwnds.
  15321. - fixed the WM_PAINT double buffer handling to support re-entrant
  15322. calls (yes, i know it's gross, but it's happening to us).
  15323. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  15324. * ThemeWin32Classic.cs: changed drawing of selected days
  15325. to make them look better.
  15326. 2006-10-16 Chris Toshok <[email protected]>
  15327. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  15328. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  15329. * XplatUIX11.cs: move away from using hwnd.client_dc and
  15330. hwnd.non_client_dc and on to a stack of dc's (and in window's
  15331. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  15332. without puking or not disposing of Graphics objects.
  15333. * XplatUIOSX.cs: same.
  15334. * XplatUIWin32.cs: same.
  15335. 2006-10-03 Alexander Olk <[email protected]>
  15336. * FileDialog.cs: Don't call on_directory_changed inside
  15337. OnSelectedIndexChanged (it changes the SelectedIndex too).
  15338. Instead move it to OnSelectionChangeCommitted.
  15339. 2006-10-13 Chris Toshok <[email protected]>
  15340. * XplatUIX11.cs: more Destroy work. the current code does the
  15341. following things, in order:
  15342. 1. Enumerates all handles of all controls at or below the one
  15343. being destroyed, in pre-order. As it is doing this, it marks the
  15344. handles as zombie and clears all references to them.
  15345. 2. calls XDestroyWindow on the window passed in.
  15346. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  15347. list.
  15348. 2006-10-13 Chris Toshok <[email protected]>
  15349. * XplatUIX11.cs: set hwnd.zombie to true before calling
  15350. SendMessage (WM_DESTROY). this keeps us from marking the new
  15351. window a zombie, and also keeps us from calling sendmessage at
  15352. all.
  15353. 2006-10-13 Jackson Harper <[email protected]>
  15354. * TextControl.cs: Do not show the caret and selection at the same
  15355. time. Reduces ugliness by 35%.
  15356. 2006-10-13 Chris Toshok <[email protected]>
  15357. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  15358. zombie after we do the recursive call, so we actually do call
  15359. SendMessage on the children controls.
  15360. (GetMessage): if we find a pending paint event for a zombie hwnd,
  15361. remove the hwnd from the paint queue, or else it will always be
  15362. there (and we'll effectively loop infinitely)
  15363. 2006-10-13 Mike Kestner <[email protected]>
  15364. * MenuItem.cs : add Selected format under keynav too.
  15365. Fixes #79528.
  15366. 2006-10-13 Gert Driesen <[email protected]>
  15367. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  15368. implementation and that of MS.
  15369. 2006-10-13 Chris Toshok <[email protected]>
  15370. * Control.cs (OnInvalidated) only futz with the invalid_region if
  15371. the control is double buffered. this fixes the apparent hang in
  15372. the ListView unit tests. Someone needs to make the
  15373. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  15374. 2006-10-13 Chris Toshok <[email protected]>
  15375. * PropertyGridView.cs:
  15376. - do a little refactoring so that only one place calls
  15377. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  15378. else call that. Also make it Refresh, since there are redraw bugs
  15379. otherwise (we should take a look at that...)
  15380. - do a little more refactoring work to share the body of code
  15381. involved with the drop down. it was duplicated in the code
  15382. dealing with the listbox handling and in the code dealing with the
  15383. UITypeEditors.
  15384. - add a Capture to the dropdown form's control once it's
  15385. displayed, and add a MouseDown handler that checks to make sure
  15386. the position is inside the control. If it's not, close the
  15387. dropdown. This fixes #78190.
  15388. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  15389. if the value is different than the initial value.
  15390. 2006-10-13 Andreia Gaita <[email protected]>
  15391. * Control.cs: see #78650
  15392. - Fixed GetNextControl for several cases:
  15393. - Changed FindFlatForward to return
  15394. correct sibling control when more than one
  15395. control has same TabIndex as the currently
  15396. focused one.
  15397. - Changed FindFlatBackward to loop children
  15398. from last to first and apply same logic as in
  15399. FindFlatForward
  15400. - Changed FindControlForward to search for
  15401. children when control is not a container
  15402. but has children, or search for siblings if
  15403. control is a container...
  15404. - Changed FindControlBackward to continue
  15405. searching for child controls when hitting
  15406. Panel-like parents
  15407. - Fixed Focus method to update ActiveControl
  15408. (FocusTest.FocusSetsActive failure)
  15409. * TabControl.cs:
  15410. - Focus rectangle now refreshes when gaining
  15411. or losing focus
  15412. - Removed grab for Tab key on IsInputKey that
  15413. was keeping tab navigation from working (#78650)
  15414. 2006-10-13 Chris Toshok <[email protected]>
  15415. * PropertyGridView.cs:
  15416. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  15417. SelectedObjects.
  15418. - Deal with GridItem.Value == null a few places.
  15419. * PropertyGrid.cs:
  15420. - replace the PopulateGridItemCollection with a pair of methods
  15421. which compute the intersection of all the properties in the
  15422. SelectedObjects array. Fixes #79615.
  15423. - Throw ArgumentException from set_SelectedObjects if there's a
  15424. null in the array.
  15425. - Add GetTarget method which can be used to traverse up the
  15426. GridItem.Parent chain. It depends on the assumption that
  15427. selected_objects for different GridEntries are always in the same
  15428. order (a safe assumption). Use this method and loop over all the
  15429. selected objects in the entry when calling RemoveValueChanged and
  15430. AddValueChanged.
  15431. * GridEntry.cs: Make this handle multiple selected objects.
  15432. .Value returns null if not all the selected objects share the same
  15433. value.
  15434. 2006-10-12 Jonathan Pobst <[email protected]>
  15435. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  15436. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  15437. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  15438. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  15439. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  15440. add additional functionality.
  15441. 2006-10-12 Mike Kestner <[email protected]>
  15442. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  15443. * HelpProvider.cs : new ToolTipWindow ctor sig.
  15444. * ToolTip.cs : remove ToolTip param from Window sig since it is
  15445. not used.
  15446. * ToolBar.cs : add tooltip support. Fixes #79565.
  15447. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  15448. * ComboBox.cs: move the events in set_SelectedIndex to
  15449. after the call to HighlightIndex in order to avoid
  15450. possible recursion and subsequent problems with the call
  15451. to HighlightIndex and include a range check in
  15452. set_HighlightIndex. Fixes #79588
  15453. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  15454. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  15455. to ui thread's settings instead of sunday.
  15456. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  15457. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  15458. * DateTimePicker.cs
  15459. * MonthCalendar.cs
  15460. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  15461. and implement missing functionality (selecting different parts
  15462. of the date and edit them individually with the keyboard).
  15463. 2006-10-11 Chris Toshok <[email protected]>
  15464. * Control.cs (OnInvalidated): fix NRE relating to last change.
  15465. 2006-10-11 Chris Toshok <[email protected]>
  15466. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  15467. atoms in _NET_WM_STATE here if the window is maximized. We need
  15468. to do this because we're *replacing* the existing _NET_WM_STATE
  15469. property, so those atoms will be lost otherwise, and any further
  15470. call to GetWindowState will return Normal for a window which is
  15471. actually maximized. Fixes #79338.
  15472. 2006-10-11 Jackson Harper <[email protected]>
  15473. * TextControl.cs: Special case for setting selection end to
  15474. selection start, we basically kill the anchor.
  15475. - some todo comments.
  15476. 2006-10-11 Chris Toshok <[email protected]>
  15477. * Control.cs: switch to using an "invalid_region" to track which
  15478. parts of the image buffer need updating. This is more code than
  15479. the simple fix from r66532. That version just attempted to always
  15480. fill the entire buffer on redraw, which turns out to be
  15481. inefficient when invalidating small rectangles. This version
  15482. simply adds the invalid rectangle to the invalid region. When we
  15483. get any WM_PAINT message we see if it can be filled using the
  15484. image buffer, and if it can't (if the paint event's clip rectangle
  15485. is visible in the invalid region) we first fill the image buffer.
  15486. So, the image buffer is still a cache, we just fill it lazily.
  15487. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  15488. need it any longer.
  15489. 2006-10-11 Chris Toshok <[email protected]>
  15490. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  15491. well as size after calling XMoveResizeWindow. This keeps us from
  15492. ignoring future SetWindowPos calls. Fixes the disappearing
  15493. DateTimePicker in the ToolBarDockExample from bug #72499.
  15494. 2006-10-11 Chris Toshok <[email protected]>
  15495. * TextBoxBase.cs: reorder things a bit when it comes to
  15496. resizing-causing-recalculation. we were recalculating the
  15497. document when our position was changed, which shouldn't happen.
  15498. We only care about size changes. Clear up some more redundant
  15499. recalculation calls while I'm at it. This makes the toolbar dock
  15500. example snappy when you're just dragging toolbars around (since it
  15501. causes a relayout whenever you move one.)
  15502. 2006-10-11 Chris Toshok <[email protected]>
  15503. * ToolBarButton.cs (get_Rectangle): this only returns
  15504. Rectangle.Empty if Visible == false, or Parent == null.
  15505. Parent.Visible doesn't matter.
  15506. 2006-10-10 Chris Toshok <[email protected]>
  15507. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  15508. by .net 1.1, so switch to an internal method instead.
  15509. 2006-10-10 Chris Toshok <[email protected]>
  15510. * Control.cs (WM_PAINT): when a control is double buffered we draw
  15511. initially to the ImageBuffer and then copy from there. But when a
  15512. parent control which has child controls is double buffered, the
  15513. initial drawing doesn't encompass the entire ClientRectangle of
  15514. the parent control, so we end up with uninitialized bits (this is
  15515. easily seen by dragging the top toolbar in
  15516. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  15517. manually set the ClipRectangle of the paint_event (only the one we
  15518. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  15519. of the nastiness in bug #72499.
  15520. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  15521. which we use in Control.cs's WM_PAINT handling.
  15522. 2006-10-10 Jackson Harper <[email protected]>
  15523. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  15524. 2006-10-10 Chris Toshok <[email protected]>
  15525. * Cursor.cs: Apply a slightly different patch to the one suggested
  15526. in #79609.
  15527. 2006-10-10 Jackson Harper <[email protected]>
  15528. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  15529. not the parent form.
  15530. * TextControl.cs: use difference in old line count vs new count to
  15531. calculate how many lines were added, this takes into account soft
  15532. line breaks properly.
  15533. 2006-10-10 Chris Toshok <[email protected]>
  15534. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  15535. rectangle located at 0,0 and the size of the text. Use
  15536. ClientRectangle instead. This fixes rendering of non-left aligned
  15537. link labels.
  15538. 2006-10-10 Jackson Harper <[email protected]>
  15539. * TextBoxBase.cs: When we set the selection start position the
  15540. caret.
  15541. * TextControl.cs: Need to update the caret when we decrement it to
  15542. zero.
  15543. - Make sure that the selection_visible flag gets reset to false if
  15544. the selection isn't visible. Before this you could get it set to
  15545. visible by changing the selection start, then changing the end to
  15546. equal the start.
  15547. 2006-10-09 Jackson Harper <[email protected]>
  15548. * TreeView.cs: Don't update scrollbars when we aren't visible.
  15549. * TreeNodeCollection.cs: Only need to update scrollbars if being
  15550. added to an expanded visible node or the root node.
  15551. 2006-10-09 Chris Toshok <[email protected]>
  15552. * XplatUIX11.cs (SendMessage): fix NRE.
  15553. 2006-10-09 Jackson Harper <[email protected]>
  15554. * TextBoxBase.cs: Implement horizontal autoscrolling.
  15555. * TextControl.cs: Add a movement types that allows moving forward
  15556. and backwards without wrapping.
  15557. 2006-10-09 Mike Kestner <[email protected]>
  15558. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  15559. with focus "expansion" of labels. Fixes #79532 and then some.
  15560. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  15561. when wrapping.
  15562. 2006-10-09 Jackson Harper <[email protected]>
  15563. * TextBoxBase.cs: Set the default max values to MaxValue since
  15564. we use the scrollbar for autoscrolling and the default value is
  15565. 100. If we don't do this the caret won't keep up with typing
  15566. after about 18 characters.
  15567. * TextControl.cs: Make sure the selection is offset by the
  15568. viewport x. This fixes selection when using auto scrolling.
  15569. 2006-10-07 Andreia Gaita <[email protected]>
  15570. * Form.cs: The active control should be selected after the
  15571. OnLoad so that any child control initialization that affects
  15572. the selection is done. Fixes #79406
  15573. 2006-10-06 Chris Toshok <[email protected]>
  15574. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  15575. to have no evil effects.
  15576. - Stop selecting StructureNotifyMask on non-toplevel windows.
  15577. The only way children should be resized is by using the SWF api,
  15578. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  15579. Toplevel windows can be interacted with via the window manager,
  15580. and so we keep the input mask there.
  15581. The other event StructureNotifyMask gives us (that we care
  15582. about) is DestroyNotify. The code is already structured such
  15583. that it assumes we won't be getting a DestroyNotify event for
  15584. the window we pass to XDestroyWindow (which is what
  15585. StructureNotifyMask is supposed to guarantee.) So, that code
  15586. shouldn't be affected by this either.
  15587. - Stop selecting VisibilityChangeMask altogether.
  15588. We weren't doing anything with the resulting events anyway.
  15589. This vastly reduces the number of X requests and events we see
  15590. when resizing/laying out a large ui.
  15591. 2006-10-06 Chris Toshok <[email protected]>
  15592. * ScrollableControl.cs (DisplayRectangle): we need to take into
  15593. account the DockPadding regardless of whether or not auto_scroll
  15594. == true. rework this slightly to this effect, and fix bug #79606,
  15595. and part of #72499 (you can now see the drag handles and drag
  15596. toolbars around).
  15597. 2006-10-06 Gert Driesen <[email protected]>
  15598. * ListViewItem.cs: Collections of selected and checked items are now
  15599. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  15600. we mark the collection "dirty".
  15601. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  15602. to only clear SelectedItems when a new item is selected and MultiSelect
  15603. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  15604. event of ListViewItemCollection, and mark its list dirty whenever
  15605. that event is fire. This allows us to return selected/checked items
  15606. in the same order as they are in the Items collection. This matches
  15607. the MS behavior.
  15608. 2006-10-06 Chris Toshok <[email protected]>
  15609. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  15610. right mouse clicks. Fixes bug #79593.
  15611. 2006-10-06 Chris Toshok <[email protected]>
  15612. * Splitter.cs: doh, fix splitters that don't want to cancel the
  15613. movement when you drag them. Also, impose the limits on the
  15614. values we send to the SplitterMovingEvent. Fixes #79598.
  15615. 2006-10-06 Jackson Harper <[email protected]>
  15616. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  15617. since we use this for auto scrolling also.
  15618. 2006-10-05 Chris Toshok <[email protected]>
  15619. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  15620. beginning to think that most datagrid column types don't need this
  15621. method. Fixes bug #79392.
  15622. 2006-10-05 Chris Toshok <[email protected]>
  15623. * DataGrid.cs: move back to a more lazy scheme for creating the
  15624. CurrencyManager, so we aren't updating it every time you set
  15625. either DataSource or DataMember. Also, don't call
  15626. RecreateDataGridRows if the currency manager hasn't changed.
  15627. 2006-10-05 Chris Toshok <[email protected]>
  15628. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  15629. emitted, SelectedIndex should already be updated. Fixes bug
  15630. #78929.
  15631. 2006-10-05 Jonathan Pobst <[email protected]>
  15632. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  15633. ToolStripTextBox.cs: Initial commit.
  15634. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  15635. 2006-10-05 Jackson Harper <[email protected]>
  15636. * TabControl.cs: We need to invalidate the tab control area when
  15637. new ones are added (duh).
  15638. 2006-10-03 Chris Toshok <[email protected]>
  15639. * Form.cs (ProcessDialogKey): if the focused control is in this
  15640. form and is a button, call its PerformClick method here. Fixes
  15641. #79534.
  15642. 2006-10-04 Jackson Harper <[email protected]>
  15643. * TabPage.cs: Ignore setting of Visible, and add an internal
  15644. method for setting the controls visibility. TabPage's Visible
  15645. property is a little strange on MS, this seems to make us
  15646. compatible, and fixes cases where people set all the tab pages to
  15647. visible.
  15648. * TabControl.cs: Use the new internal setting on tab pages
  15649. visibility.
  15650. 2006-10-03 Mike Kestner <[email protected]>
  15651. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  15652. 2006-10-03 Mike Kestner <[email protected]>
  15653. * ListView.cs : use is_visible instead of Visible to check if
  15654. scrollbars should be placed/sized. Also some max_wrap_width
  15655. love for LargeIcon view. [Fixes #79533]
  15656. 2006-10-03 Atsushi Enomoto <[email protected]>
  15657. * TextControl.cs :
  15658. Make set_TextAlign() do actually update the align. Fixed #78403.
  15659. 2006-10-03 Chris Toshok <[email protected]>
  15660. * DataGrid.cs: fix a crash when switching datasources if the
  15661. vertical scrollbar is at someplace other than Value = 0. Also,
  15662. reduce the number of recalculation passes we do in SetDataSource
  15663. from 2 to 1.
  15664. 2006-10-03 Jackson Harper <[email protected]>
  15665. * TextBoxBase.cs: Move the if value the same bail check up, we
  15666. don't want to empty the document if it is already empty, this
  15667. seems to severly mess up the caret. TODO: I should probably fix
  15668. the empty statement to update teh caret somehow.
  15669. 2006-10-03 Chris Toshok <[email protected]>
  15670. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  15671. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  15672. reflection, an internal row type, properties on said type, etc.)
  15673. will work with our datagrid. Fixes #79531.
  15674. 2006-10-03 Alexander Olk <[email protected]>
  15675. * FileDialog.cs: Don't crash if a path is not accessible
  15676. (System.UnauthorizedAccessException). Fixes #79569.
  15677. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  15678. a ':' too. Return unknown icon for those paths/files.
  15679. 2006-10-03 Sebastien Pouliot <[email protected]>
  15680. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  15681. GetContainerControl returns null.
  15682. 2006-10-02 Chris Toshok <[email protected]>
  15683. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  15684. call to XGetWindowAttributes instead of "handle". fixes an X
  15685. error using notifyicon after the NotifyIconWindow to Form base
  15686. class switch.
  15687. 2006-10-02 Chris Toshok <[email protected]>
  15688. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  15689. server grab and looping we need to do to get down to the most
  15690. deeply nested child window.
  15691. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  15692. QueryPointer again after the WarpPointer so we can generate a
  15693. proper (fake) MotionNotify event to be enqueued in the destination
  15694. window's queue.
  15695. (GetCursorPos): call QueryPointer.
  15696. Fixes #79556.
  15697. 2006-10-02 Jackson Harper <[email protected]>
  15698. * NotifyIcon.cs: Derive the notify icon from a form, so things
  15699. like FindForm work on it.
  15700. - Swallow the WM_CONTEXTMENU message, since that is generated on
  15701. mouse down, and context menu is a mouse up kinda guy. I believe
  15702. the correct fix here is probably to make the notify icon entirely
  15703. NC area, but this seems to work fine for anyone not manipulating
  15704. WndProc.
  15705. 2006-10-02 Jonathan Pobst <[email protected]>
  15706. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  15707. ToolStripItemCollection.cs, ToolStripLabel.cs,
  15708. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  15709. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  15710. Initial implementation.
  15711. * TextRenderer.cs: Provide padding to MeasureText.
  15712. 2006-10-02 Sebastien Pouliot <[email protected]>
  15713. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  15714. of ButtonBaseAccessibleObject. Fix bug #79552.
  15715. 2006-10-02 Jackson Harper <[email protected]>
  15716. * MdiWindowManager.cs: When maximizing use the containers client
  15717. rect, not it's bounds, so nc area is accounted correctly.
  15718. - Use the parent form's size for the menu position, since the
  15719. client isn't always the full form size.
  15720. 2006-10-01 Chris Toshok <[email protected]>
  15721. * ScrollableControl.cs: make sure neither right_edge or
  15722. bottom_edge are < 0, since they're used as LargeChange for the
  15723. horiz/vert scrollbars respectively. Fixes #79539.
  15724. 2006-10-01 Chris Toshok <[email protected]>
  15725. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  15726. the xplatuix11 code can cause us to destroy/recreate our handle.
  15727. * XplatUIX11.cs
  15728. (SystrayAdd):
  15729. - this code can be invoked many times for the same Hwnd. Make
  15730. sure we only destroy the client window once (the first time this
  15731. method is called). This fixes bug #79544.
  15732. - Remove the call to the improperly bound XSync. why we had two
  15733. bindings to this, I will never know, but this call resulted in
  15734. events being discarded from the queue(!).
  15735. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  15736. not our current state but the state we wish to be in. So, 0 if
  15737. we don't want to be mapped. Change it to 1.
  15738. (SystrayRemove): The XEMBED spec makes mention of the fact that
  15739. gtk doesn't support the reparent of client windows away from the
  15740. embedder. Looking at gtksocket-x11.c seems to agree with this.
  15741. The only avenue we have for removing systray icons is to destroy
  15742. them. We don't want the handle to go away for good, though, so
  15743. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  15744. #79545.
  15745. 2006-10-01 Chris Toshok <[email protected]>
  15746. * Form.cs (WndProc): inline the native_enabled variable usage into
  15747. the cases in which it's used. Fixes #79536.
  15748. 2006-09-29 Mike Kestner <[email protected]>
  15749. * ListView.cs : toggle the selection state for ctrl clicks in
  15750. multiselect mode. [Fixes #79417]
  15751. 2006-09-29 Mike Kestner <[email protected]>
  15752. * ListView.cs : kill CanMultiSelect and refactor the selection
  15753. code to support multiselection in the absence of mod keys. Steal
  15754. arrow/home/end keys by overriding InternalPreProcessMessage to
  15755. restore regressed keynav behavior.
  15756. [Fixes #79416]
  15757. 2006-09-29 Jackson Harper <[email protected]>
  15758. * MdiClient.cs: Repaint the titlebars when the active window is
  15759. changed.
  15760. 2006-09-29 Chris Toshok <[email protected]>
  15761. * Application.cs: when entering a runloop with a modal, make sure
  15762. the hwnd is enabled. Fixes #79480.
  15763. 2006-09-29 Chris Toshok <[email protected]>
  15764. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  15765. when ListManager.CanAddRows == false, bump us back one.
  15766. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  15767. listmanager.CanAddRows check. This makes ArrayLists uneditable
  15768. using a datagrid, which is not right.
  15769. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  15770. is an IEditable, but call property_descriptor.SetValue regardless.
  15771. fixes #79435.
  15772. 2006-09-29 Chris Toshok <[email protected]>
  15773. * DataGridBoolColumn.cs: we need to test equality in the face of
  15774. possible null values (as is the case with the default NullValue).
  15775. This patch keeps us from crashing in that case.
  15776. 2006-09-29 Jackson Harper <[email protected]>
  15777. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  15778. here, since it will get called for every node collection in the
  15779. tree. This is now done in the treeview once the sorting is
  15780. finished.
  15781. * TreeView.cs: Recalculate the visible order, and update the
  15782. scrollbars after sorting, set the top nope to the root so that the
  15783. recalc actually works.
  15784. 2006-09-29 Chris Toshok <[email protected]>
  15785. * LinkLabel.cs: more handling of the default link collection in
  15786. the face of LinkArea manipulation. The default link collection
  15787. contains 1 element (start=0,length=-1). If the user sets LinkArea
  15788. to anything and the links collection is the default, clear it.
  15789. Then only add the link if its nonempty. Fixes #79518.
  15790. 2006-09-29 Chris Toshok <[email protected]>
  15791. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  15792. piece correctly when we hit a '\n'. Fixes #79517.
  15793. 2006-09-29 Chris Toshok <[email protected]>
  15794. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  15795. change the binding of gdk_init_check to take two IntPtr's, and
  15796. pass IntPtr.Zero for both of them. Fixes #79520.
  15797. 2006-09-29 Mike Kestner <[email protected]>
  15798. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  15799. [Fixes #78779]
  15800. 2006-09-28 Jackson Harper <[email protected]>
  15801. * XplatUIX11.cs: When translating NC messages make sure we go from
  15802. whole window to screen, not client window to screen.
  15803. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  15804. method doesn't exist
  15805. - Skip over controls that aren't forms when arranging.
  15806. 2006-09-28 Jackson Harper <[email protected]>
  15807. * XplatUIWin32.cs: Clip the rect to the parent window.
  15808. * XplatUIStructs.cs: Add clipping modes struct.
  15809. * InternalWindowManager.cs: New private method that factors title
  15810. bar heights in when calculating the pos of an NC mouse message.
  15811. - Use SendMessage to force a paint when the form's size is changed
  15812. instead of painting the decorations immediately.
  15813. - Don't let the NC button click messages get to DefWndProc,
  15814. because they will attempt to handle windowing themself, and this
  15815. messes up z-order (it will put them in front of the scrollbars).
  15816. * XplatUIX11.cs: Make sure that we don't reset window managers if
  15817. we already have one (ie the window is an MDI window).
  15818. 2006-09-28 Chris Toshok <[email protected]>
  15819. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  15820. menu code really needs going over.
  15821. 2006-09-27 Chris Toshok <[email protected]>
  15822. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  15823. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  15824. window is maximizable. So, we need to make sure that even if we
  15825. clear the border/wm frame of those functions, they're still
  15826. available (basically, we remove the decoration without removing
  15827. the function). Half the fix for #79338.
  15828. 2006-09-27 Chris Toshok <[email protected]>
  15829. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  15830. Fixes bug #79515.
  15831. 2006-09-27 Chris Toshok <[email protected]>
  15832. * Splitter.cs: reorder things a bit so that we don't actually
  15833. draw/move the splitter until after calling OnSplitterMoving. This
  15834. lets users cancel/disallow the movement by explicitly setting
  15835. event.SplitX/SplitY. Fixes #79372.
  15836. 2006-09-27 Jackson Harper <[email protected]>
  15837. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  15838. because it is most likely on a window being destroyed, and that
  15839. will give us an X11 error.
  15840. 2006-09-27 Chris Toshok <[email protected]>
  15841. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  15842. the dropdown button now toggles between showing and hiding the
  15843. dropdown. Also, get rid of dropdown_form_showing and just use
  15844. dropdown_form.Visible. We still don't do a grab, but I'll leave
  15845. that part to someone who has handled Capture-fu before.
  15846. 2006-09-27 Chris Toshok <[email protected]>
  15847. * DataGrid.cs: return false if alt isn't pressed when '0' is
  15848. pressed. this keeps the '0' key from being swallowed, and fixes
  15849. bug #79350.
  15850. 2006-09-27 Chris Toshok <[email protected]>
  15851. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  15852. Calling Refresh (in response to a scrollbar event) screws up the
  15853. scrollbar painting. Fixes bug #78923.
  15854. 2006-09-27 Chris Toshok <[email protected]>
  15855. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  15856. then insert into hashtable" blocks threadsafe.
  15857. 2006-09-27 Chris Toshok <[email protected]>
  15858. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  15859. baseclass's, since otherwise the
  15860. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  15861. effect. This gets the close button back in messageboxes.
  15862. 2006-09-27 Chris Toshok <[email protected]>
  15863. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  15864. flag, not just != 0. this makes flags that are actually multiple
  15865. bits (like WS_CAPTION) work. fixes bug #79508.
  15866. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  15867. * PageSetupDialog.cs: add support for getting and settings the
  15868. paper size, source and orientation.
  15869. 2006-09-26 Chris Toshok <[email protected]>
  15870. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  15871. and caption == "", we need to remove the resize handles as well as
  15872. the title bar.
  15873. * Control.cs (set_Text): turns out that setting Text on a form
  15874. should change the WM styles on the window, since if ControlBox ==
  15875. false, the only way to get a window border is to have a non-""
  15876. Text property. check winforms/forms/text.cs for an example. so,
  15877. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  15878. update both window styles and title. This fixes a lot of dialogs
  15879. (including the preferences dialog in MonoCalendar.)
  15880. 2006-09-26 Chris Toshok <[email protected]>
  15881. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  15882. control isn't a Form), call Win32ShowWindow to hide the window,
  15883. but don't update the control Visible property. When we reparent
  15884. back to a parent control, call SetVisible in order for the
  15885. window's visibility to be reinstated.
  15886. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  15887. the FosterParent.
  15888. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  15889. call for good, since it breaks MonoCalendar (and other things I'm
  15890. sure.) Also, set all_controls to null *after* the owner calls,
  15891. which end up regenerating it.
  15892. (ChangeParent): allow new_parent to be == null, passing
  15893. IntPtr.Zero down to XplatUI.
  15894. this fixes #79294 the right way.
  15895. 2006-09-26 Mike Kestner <[email protected]>
  15896. * GridEntry.cs : internal SetParent method.
  15897. * PropertyGrid.cs : attach to property changed on the proper
  15898. target if we have a hierarchical grid with subobjects. Setup
  15899. GridItem.Parent for hierarchical items.
  15900. * PropertyGridView.cs : Set value on the correct target for
  15901. hierarchical grids. [Fixes #78903]
  15902. 2006-09-26 Chris Toshok <[email protected]>
  15903. * Control.cs (ChildNeedsRecreating): this should return true if
  15904. either we're being recreated and the child is in our list, or our
  15905. parent is waiting for our recreation.
  15906. 2006-09-26 Chris Toshok <[email protected]>
  15907. * Control.cs (ControlCollection.Remove): reinstate the
  15908. value.Hide() call as suggested in bug #79294.
  15909. 2006-09-26 Sebastien Pouliot <[email protected]>
  15910. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  15911. coordinates (versus a relative move).
  15912. 2006-09-26 Chris Toshok <[email protected]>
  15913. * Control.cs: rework child recreation a little bit. It turns out
  15914. that we race between the DestroyNotify the WM_DESTROY message. If
  15915. the parent gets its DestroyNotify before the child gets the
  15916. WM_DESTROY message, the child ends up not recreating (since the
  15917. parent finishes its recreation on DestroyNotify, and the child
  15918. checks ParentIsRecreating.)
  15919. So, instead we store off a list of all the child controls which
  15920. need to be recreated when the parent control starts to recreate
  15921. itself. Then, when child controls get their WM_DESTROY message we
  15922. check to see if they're in the parent's pending recreation list,
  15923. and if so, we recreate. This removes all dependency on ordering
  15924. from the code and fixes the initial MonoCalendar upgrade dialog.
  15925. 2006-09-26 Jackson Harper <[email protected]>
  15926. * TextControl.cs: Use the Line to get the length of the line,
  15927. since soft line breaks can change the end line.
  15928. 2006-09-26 Chris Toshok <[email protected]>
  15929. * Control.cs (ControlCollection.AddImplicit): don't add the
  15930. control again if it's already in one of our lists. This keeps us
  15931. from adding controls over and over again for comboboxes when their
  15932. handle gets recreated (as the combobox adds implicit controls in
  15933. OnHandleCreated). Fixes the X11 errors in bug #79480.
  15934. 2006-09-26 Jackson Harper <[email protected]>
  15935. * TextControl.cs: When deleting characters make sure that any
  15936. orphaned zero lengthed tags get deleted.
  15937. - Fix ToString for zero lengthed tags.
  15938. 2006-09-25 Jackson Harper <[email protected]>
  15939. * TextControl.cs: When getting a tag at the location there can be
  15940. multiple tags at the same spot, these are 0-lengthed tags that
  15941. appear when extra formatting has been stuck in a location. We
  15942. need to pull out the last of these 0 lengthed tags.
  15943. 2006-09-25 Jackson Harper <[email protected]>
  15944. * TextControl.cs: Fix print out in debug method.
  15945. * TextBoxBase.cs: When text is set bail if we are setting to the
  15946. previous value.
  15947. 2006-09-24 Alexander Olk <[email protected]>
  15948. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  15949. It is now possible to change the selected index in a FontXXXListBox
  15950. with the up and down arrow keys from the FontXXXTextBoxes.
  15951. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  15952. FontXXXListBoxes to match ms.
  15953. 2006-09-22 Sebastien Pouliot <[email protected]>
  15954. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  15955. anyone can dispose it, anytime. All other properties returns enums,
  15956. structs or basic types so they don't need such tricks.
  15957. 2006-09-22 Jackson Harper <[email protected]>
  15958. * XplatUI.cs:
  15959. * XplatUIWin32.cs:
  15960. * Clipboard.cs:
  15961. * DataFormats.cs:
  15962. * XplatUIOSX.cs:
  15963. * XplatUIDriver.cs: Update interface to add a primary selection
  15964. flag, so the driver can use the primary selection buffer if
  15965. needed.
  15966. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  15967. * RichTextBox.cs: We need to supply the data object to paste now
  15968. (so we can choose to supply CLIPBOARD or PRIMARY).
  15969. * TextBoxBase.cs: Supply data object to paste (see above).
  15970. - Middle click uses the primary selection data object.
  15971. 2006-09-21 Chris Toshok <[email protected]>
  15972. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  15973. of SetWMStyles. It's still a rat's nest and is largely
  15974. order-dependent which I dislike immensely. This also fixes the X
  15975. button disappearing from toplevel forms.
  15976. 2006-09-21 Mike Kestner <[email protected]>
  15977. * ListBox.cs: move Jordi's click/dblclick raising code to the
  15978. mouse up handler.
  15979. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  15980. * ListBox.cs: Fixes 79450
  15981. 2006-09-21 Mike Kestner <[email protected]>
  15982. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  15983. to deal with people updating the TreeNodeCollection after the tree
  15984. is disposed. "Fixes" 79330.
  15985. 2006-09-20 Jackson Harper <[email protected]>
  15986. * TextControl.cs: Push the cursor record onto the undo stack
  15987. before the delete action. This fixes 78651.
  15988. 2006-09-20 Jonathan Chambers <[email protected]>
  15989. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  15990. CreateParams. Fixes 79329.
  15991. 2006-09-19 Chris Toshok <[email protected]>
  15992. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  15993. things up a bit. First, get rid of the NetAtoms array (and the NA
  15994. enum), and just embed the atoms as static fields. Also, add a
  15995. couple of functions (StyleSet and ExStyleSet) to clean up all the
  15996. bitmask testing of styles.
  15997. * X11Structs.cs: remove the NA enum, not needed anymore.
  15998. 2006-09-19 Chris Toshok <[email protected]>
  15999. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  16000. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  16001. added cleanup to get MessageBox titles appearing again, which were
  16002. broken by my earlier fix for caption-less/ControlBox-less windows.
  16003. 2006-09-18 Jonathan Pobst <[email protected]>
  16004. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  16005. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  16006. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  16007. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  16008. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  16009. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  16010. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  16011. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  16012. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  16013. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  16014. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  16015. Inital import.
  16016. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  16017. ToolStripButton.cs: Stubs needed for above.
  16018. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  16019. 2006-09-15 Chris Toshok <[email protected]>
  16020. * XplatUIX11.cs:
  16021. - make the MessageQueues hashtable Synchronized.
  16022. - SendMessage: if the Hwnd is owned by a different thread, use the
  16023. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  16024. thread. Fixes bug #79201.
  16025. 2006-09-15 Chris Toshok <[email protected]>
  16026. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  16027. ControlBox == false, we disallow maximize/minimize/close. If the
  16028. form Caption is "" we also disallow move (and get rid of the Title
  16029. decoration). Unfortunately, regardless of how things are set,
  16030. we're stuck with the Title and WM menu.
  16031. 2006-09-15 Chris Toshok <[email protected]>
  16032. * Application.cs: add locking around the static message_filters
  16033. ArrayList, part of #79196.
  16034. 2006-09-15 Chris Toshok <[email protected]>
  16035. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  16036. Form.ControlBox == false, the window has no titlebar nor resize
  16037. handles. fixes bug #79368.
  16038. 2006-09-15 Chris Toshok <[email protected]>
  16039. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  16040. >= 0. Fixes bug #79370.
  16041. 2006-09-15 Jonathan Pobst <[email protected]>
  16042. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  16043. * Control.cs:
  16044. Add properties: LayoutEngine, Margin, DefaultMargin.
  16045. Add method: GetPreferredSize.
  16046. Move layout logic from PerformLayout to layout engines.
  16047. 2006-09-13 Chris Toshok <[email protected]>
  16048. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  16049. fix for #79326 broke #78718, so this change addresses that.
  16050. - in SendWMDestroyMessages remove the call to
  16051. CleanupCachedWindows, since we might be recreating the control and
  16052. need to maintain the references to right Hwnd handles. Also, set
  16053. the zombie flag to true for each of the children in the hierarchy
  16054. instead of calling hwnd.Dispose. This will cause GetMessage to
  16055. ignore all events for the window except for DestroyNotify.
  16056. - In GetMessage, ignore messages except for DestroyNotify for
  16057. zombie hwnds.
  16058. * Control.cs: revert the is_recreating fix from the last
  16059. ChangeLog. It's definitely "right", but it breaks switching from
  16060. an MDI form to a non-MDI form. Will need to revisit that.
  16061. * Hwnd.cs: add a zombie flag, which means "the
  16062. client_window/whole_window handles are invalid, but we're waiting
  16063. for the DestroyNotify event to come in for them". Set the flag to
  16064. false explicitly if setting WholeWindow/ClientWindow, and also
  16065. when Disposing.
  16066. 2006-09-13 Chris Toshok <[email protected]>
  16067. * XplatUIX11.cs: rework window destruction slightly.
  16068. - when destroying the windows associated with a control, we don't
  16069. need 2 separate XDestroyWindow calls. Just the one for the
  16070. whole_window (or for client_window if whole_window is somehow
  16071. IntPtr.Zero -- can this happen?) is enough.
  16072. - reworked SendWMDestroyMessages slightly, so we always dispose
  16073. the child control hwnd's after sending the messages.
  16074. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  16075. the two places it was used (one was even using hwnd.Handle and the
  16076. other hwnd.client_window. ugh), adding another call in
  16077. SendWMDestroyMessages. We need this new call because now the
  16078. DestroyNotify events in the queue will be ignored for the child
  16079. controls (as their hwnd's were disposed, and the window id's
  16080. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  16081. - this fixes bug #79326.
  16082. 2006-09-13 Chris Toshok <[email protected]>
  16083. * Control.cs: don't always set is_recreating to false at the end
  16084. of RecreateHandle, since sometimes we're not done (and won't be
  16085. until WndProc handles the WM_DESTROY message). Also, set
  16086. is_recreating to false in the WM_DESTROY handling code. Part of
  16087. the fix for bug #79326.
  16088. 2006-09-13 Miguel de Icaza <[email protected]>
  16089. * X11DesktopColors.cs: Start the droppage of debugging messages.
  16090. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  16091. 2006-09-13 Jonathan Pobst <[email protected]>
  16092. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  16093. 2006-09-12 Chris Toshok <[email protected]>
  16094. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  16095. to create it using SetDataSource. Fixes bug #79151.
  16096. 2006-09-11 Chris Toshok <[email protected]>
  16097. * XEventQueue.cs: add a DispatchIdle property.
  16098. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  16099. either the queue is null, or the queue has DispatchIdle set to
  16100. true.
  16101. (DoEvents): set queue.DispatchIdle to false around the
  16102. peek/translate/dispatch message loop in this method. This keeps
  16103. Application.Doevents from emitting idle events. Part of the fix
  16104. for #78823.
  16105. 2006-09-11 Chris Toshok <[email protected]>
  16106. * DataGrid.cs (set_DataSource): make this work for both the
  16107. winforms/datagrid test and ReportBuilder. It seems as though when
  16108. we've created a ListManager (or maybe it's if we have a
  16109. BindingContext?), when we set the DataSource it clears the
  16110. DataMember to "". otherwise we reuse the datamember. Fixes bug
  16111. #79333.
  16112. 2006-09-11 Chris Toshok <[email protected]>
  16113. * XplatUIX11.cs: deal with queue being null, which happens in all
  16114. the Clipboard functions. Fixes one of the two problems mentioned
  16115. in #78612.
  16116. 2006-09-11 Chris Toshok <[email protected]>
  16117. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  16118. button on various spots (including outside the menu) works closer
  16119. to MS, and doesn't crash. Fixes #79343.
  16120. 2006-09-11 Gert Driesen <[email protected]>
  16121. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  16122. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  16123. and the internal comparer is set. When a new ListViewItemSorter is set,
  16124. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  16125. was specified. No further processing is necessary if SortOrder is set
  16126. to it's current value. If Sorting is modified to None, and View is
  16127. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  16128. (either custom or our internal ItemComparer) to null, on 1.0 profile
  16129. only set item_sorter to null if its our internal IComparer. If Sorting
  16130. is modified to Ascending or Descending, then use our internal IComparer
  16131. if none is set, and if the current IComparer is our internal one then:
  16132. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  16133. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  16134. Enum.IsDefined to verify whether a valid View value is specified in
  16135. its setter. Automatically sort listview items when listview is
  16136. created. In Sort, do nothing if ListView is not yet created, or if
  16137. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  16138. to None or ListViewItemSorter was set to null). Added Sort overload
  16139. taking a bool to indicate whether the ListView should be redrawn when
  16140. items are sorted (we use this in ListViewItemCollection to avoid double
  16141. redraws). Modified our internal IComparer to take the sort order into
  16142. account. In Add and AddRange methods of ListViewItemCollection, also
  16143. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  16144. view), but use overload with noredraw option to avoid double redraw.
  16145. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  16146. true when View is Tile, and do the same when attempting to set View to
  16147. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  16148. for selected/checked indices, as it involves overhead when sorting is
  16149. done while these collections are not used all that often. Instead
  16150. we'll build the indices on demand. Modified IList implementation of
  16151. CheckedIndexCollection to use public methods if object is int.
  16152. Modified CheckedListViewItemCollection to hide checked items if
  16153. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  16154. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  16155. IList implementation in SelectedIndexCollection to use public methods
  16156. if object is int. Modified SelectedListViewItemCollection to hide
  16157. selected items if listview is not yet created.
  16158. * ListViewItem.cs: CheckedIndices list no longer needs to be
  16159. maintained separately (see ListView changes). Also clone font, fixes
  16160. test failure.
  16161. 2006-09-11 Mike Kestner <[email protected]>
  16162. * ComboBox.cs: if we are updating the contents of the currently
  16163. selected index, refresh the control or the textbox selection.
  16164. [Fixes #79066]
  16165. 2006-09-11 Mike Kestner <[email protected]>
  16166. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  16167. the 'specified' logic has been moved there. This seems like a bug
  16168. in Control.cs, since our current SetBoundsCore completely ignores
  16169. the specified parameter. Peter's commit seems to indicate that is
  16170. the way the MS control implementation works. [Fixes #79325]
  16171. 2006-09-10 Jonathan Chambers <[email protected]>
  16172. * XplatUI.cs: Set default_class_name to be composed
  16173. of current domain id. This allows MWF to be loaded in multiple
  16174. domains on Win32.
  16175. 2006-09-09 Miguel de Icaza <[email protected]>
  16176. * X11Keyboard.cs: If we are unable to obtain the input method, do
  16177. not call CreateXic to create the input context. Should fix
  16178. #78944/79276.
  16179. 2006-09-08 Alexander Olk <[email protected]>
  16180. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  16181. Simplified gnome support by adding more pinvokes to get the
  16182. icon for a file or mime type.
  16183. 2006-09-08 Jackson Harper <[email protected]>
  16184. * MenuAPI.cs: Deslect popup context menu items before closing the
  16185. window, so that you don't see the previously selected item
  16186. selected when you reopen the menu.
  16187. * TextControl.cs: Update the cursor position even if we don't have
  16188. focus. This fixes typing in things like the ComboBox. I'm not
  16189. totally sure we should always set the visibility if we don't have
  16190. focus, but couldn't find any corner cases where the cursor showed
  16191. up when it shouldn't.
  16192. 2006-09-08 Chris Toshok <[email protected]>
  16193. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  16194. our arrays are length 256. & 0xff before indexing. Fixes the
  16195. crash in bug #78077.
  16196. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  16197. * ThemeWin32Classic.cs:
  16198. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  16199. is true. Handle that check box too.
  16200. 2006-09-07 Chris Toshok <[email protected]>
  16201. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  16202. 79244.
  16203. 2006-09-07 Chris Toshok <[email protected]>
  16204. * Control.cs: in set_BackColor only do the work if
  16205. background_color != value.
  16206. * XplatUIX11.cs: move the clearing of invalid areas (both client
  16207. and nc) to the same block of code where we set (nc_)expose_pending
  16208. to false. That is, move it from PaintEventEnd to PaintEventStart,
  16209. so things that cause invalidates from within OnPaint will trigger
  16210. another call to OnPaint. Fixes bug #79262.
  16211. 2006-09-07 Alexander Olk <[email protected]>
  16212. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  16213. * FileDialog.cs: Fix typo
  16214. 2006-09-07 Jackson Harper <[email protected]>
  16215. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  16216. for tab pages if they have any.
  16217. 2006-09-06 Mike Kestner <[email protected]>
  16218. * Splitter.cs: use the "current" rect when finishing drag handle
  16219. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  16220. 2006-09-06 Mike Kestner <[email protected]>
  16221. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  16222. support offset splitters. [Fixes #79298]
  16223. 2006-09-06 Alexander Olk <[email protected]>
  16224. * Mime.cs: Fixed a bug that could override the global mime type
  16225. result.
  16226. 2006-09-05 Jackson Harper <[email protected]>
  16227. * TabControl.cs: Better calculation method for setting the slider
  16228. pos. Prevents crashes on really wide tabs.
  16229. - Draw Image on tab pages if an image list is used.
  16230. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  16231. * MonthCalendar.cs: When Font changes, the Size should be
  16232. updated to fit the new font's space requirements.
  16233. 2006-09-02 Alexander Olk <[email protected]>
  16234. * ListBox.cs: If the items are cleared with Items.Clear set
  16235. top_index to 0.
  16236. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  16237. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  16238. fire DateChanged event instead of DateSelected event when
  16239. the date was changed by keyboard interaction.
  16240. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  16241. * DateTimePicker.cs: Handle DateChanged for the associated
  16242. month_calendar control, and set month_calendar.Font from
  16243. OnFontChanged method, as well as resize the height of the
  16244. control when needed. Make PreferredHeight proportional.
  16245. 2006-09-01 Chris Toshok <[email protected]>
  16246. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  16247. properties.
  16248. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  16249. 2006-09-01 Peter Dennis Bartok <[email protected]>
  16250. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  16251. for decorations (Fixes #79219)
  16252. 2006-09-01 Mike Kestner <[email protected]>
  16253. * ComboBox.cs: first stab at sorting plus some selection handling
  16254. fixes to bring us more in line with MS behavior. Also switches back
  16255. to index based selection. Alternative patches for index-based
  16256. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  16257. and [email protected] on bug 78848. I assume they were similar to this
  16258. code I've had simmering in my tree forever.
  16259. [Fixes #78848]
  16260. 2006-09-01 Chris Toshok <[email protected]>
  16261. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  16262. when setting list position guard against ending up with a -1 index
  16263. (the other part of the fix for #78812). Should probably make sure
  16264. we don't need the analogous fix in the ItemDeleted case.
  16265. * DataGrid.cs:
  16266. - in SetDataSource, work around the fact that the way
  16267. OnBindingContextChanged is invoked will cause us to re-enter this
  16268. method. I'll remove the hack once I investigate
  16269. OnBindingContextChanged.
  16270. - fix the logic in set_DataSource and set_DataMember (basically
  16271. what to do if the other of the two is null.)
  16272. - in OnListManagerItemChanged, we need to take into account the
  16273. edit row when deciding whether or not to call RecreateDataGridRows
  16274. (part of the fix for #78812).
  16275. 2006-09-01 Jackson Harper <[email protected]>
  16276. * Splitter.cs: Don't do anything if there is no control to affect
  16277. (prevents us from crashing in weird tet cases).
  16278. * TreeView.cs: Bounding box for the mouse movement reverting
  16279. focus/selection back to previously selected node. This matches
  16280. MS, and makes the tree a lot more useable.
  16281. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  16282. use clipping so they are not drawn. This fixes when the control
  16283. is set to have a transparent background, or if it was over an
  16284. image.
  16285. 2006-09-01 Alexander Olk <[email protected]>
  16286. * MimeIcon.cs: Improved handling for reading default icons when
  16287. using gnome (2.16 made it necessary). Check and read svg icons
  16288. first, then 48x48 and then 32x32 icons.
  16289. 2006-08-31 Chris Toshok <[email protected]>
  16290. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  16291. visible.
  16292. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  16293. ProcessKeyPreview. Fixes part of #77806.
  16294. * DataGrid.cs: big patch.
  16295. - revert the queueing up of DataSource/DataMember if inside
  16296. BeginInit/EndInit calls. That's not the way the datagrid achieves
  16297. its delayed databinding. Instead, call SetDataSource in
  16298. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  16299. #78811.
  16300. - Also, it wasn't mentioned in #78811, but the test case exhibits
  16301. behavior that was lacking in our datagrid implementation - Columns
  16302. that have mapping names that don't exist in the datasource's
  16303. properties aren't shown. Yuck. To fix this I added the bound
  16304. field to the column style, and basically any calculation to figure
  16305. out anything about columns uses a loop to find the bound columns.
  16306. still need to investigate if I can cache an array of the bound
  16307. columns or if the indices must be the same.
  16308. - When setting CurrentCell, we no longer abort if the cell being
  16309. edited was in the add row. This fixes the other part of #77806.
  16310. - The new code also fixes #78807.
  16311. * ThemeWin32Classic.cs: perpetrate the same disgusting
  16312. column.bound field hack, and only render bound fields.
  16313. 2006-08-31 Chris Toshok <[email protected]>
  16314. * DataGridColumnStyle.cs: add bound field. this field is true if
  16315. the datasource has a property corresponding to the mapping name.
  16316. * DataGridTableStyle.cs: set the bound field on the column styles
  16317. depending on whether or not we have a column for that property.
  16318. 2006-08-31 Peter Dennis Bartok <[email protected]>
  16319. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  16320. splitter control (fixes #79228)
  16321. 2006-08-31 Chris Toshok <[email protected]>
  16322. * DataGridColumnStyle.cs: we need to delay the assignment of
  16323. property descriptor until the last possible moment due to the lazy
  16324. databinding stuff in the datagrid. Also, fix the exceptions
  16325. thrown by CheckValidDataSource to match MS.
  16326. 2006-08-31 Jackson Harper <[email protected]>
  16327. * Form.cs: When activated select the active control, if there is
  16328. no active control, we select the first control.
  16329. * XplatUIX11.cs: If there is no focus control when we get a
  16330. FocusIn event, find the toplevel form and activate it. This
  16331. occurs when you popup a window, it becomes the focus window, then
  16332. you close that window, giving focus back to the main window.
  16333. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  16334. * MonthCalendar.cs:
  16335. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  16336. as StringFormat with Center alignments in MonthCalendar,
  16337. instead of creating new ones when drawing the control.
  16338. Also, draw the month name in bold style.
  16339. 2006-08-30 Peter Dennis Bartok <[email protected]>
  16340. * Control.cs:
  16341. - PerformLayout(): It would seem MS performs the fill even if the
  16342. control is not visible (part of #79218 fix)
  16343. - ResetBackColor(): Use the setter to reset the color, to allow
  16344. overriders to catch the change.
  16345. * Form.cs:
  16346. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  16347. - CreateHandle(): dito (part of $79218 fix)
  16348. - Don't set an icon if we have a dialog
  16349. * ScrollableControl.cs:
  16350. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  16351. - ScrollIntoView(): No need to scroll if control is already visible
  16352. (resolves fixme and fixes #79218)
  16353. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  16354. * MonthCalendar.cs: Change proportions in SingleMonthSize
  16355. to match the aspect of the original control.
  16356. 2006-08-29 Alexander Olk <[email protected]>
  16357. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  16358. get updated when they get maximized.
  16359. 2006-08-29 Peter Dennis Bartok <[email protected]>
  16360. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  16361. 2006-08-29 Chris Toshok <[email protected]>
  16362. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  16363. 2006-08-29 Jackson Harper <[email protected]>
  16364. * TreeView.cs: Need to track selected node and highlighted node,
  16365. they aren't always the same thing, when the mouse is down on a
  16366. node it is hilighted, but not selected yet.
  16367. - Do the HideSelection stuff right
  16368. - Need to focus on rbutton mouse down. And redraw selection when
  16369. right click is mouse upped.
  16370. 2006-08-29 Mike Kestner <[email protected]>
  16371. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  16372. when SubItems.Count < Columns.Count. [Fixes #79167]
  16373. 2006-08-28 Peter Dennis Bartok <[email protected]>
  16374. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  16375. 2006-08-28 Peter Dennis Bartok <[email protected]>
  16376. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  16377. from X. Only send based on ConfigureNotify if we don't have the
  16378. correct location in hwnd (if the window manager moved us)
  16379. 2006-08-28 Mike Kestner <[email protected]>
  16380. * ListView.cs: remove a TODO.
  16381. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  16382. [Fixes ListView part of #79166]
  16383. 2006-08-28 Mike Kestner <[email protected]>
  16384. * ListView.cs: move wheel handler to parent since it is focused
  16385. instead of the item_control now. [Fixes #79177]
  16386. 2006-08-28 Mike Kestner <[email protected]>
  16387. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  16388. when the control is focused. [Fixes #79171]
  16389. 2006-08-28 Mike Kestner <[email protected]>
  16390. * ListView.cs: size the item and header controls for empty and
  16391. unscrollable views.
  16392. * ThemeWin32Classic.cs: draw disabled backgrounds.
  16393. [Fixes #79187]
  16394. 2006-08-28 Chris Toshok <[email protected]>
  16395. * Form.cs: remove unused "active_form" static field.
  16396. * Hwnd.cs: lock around accesses to static windows collection.
  16397. * Application.cs: lock threads in Exit ().
  16398. 2006-08-28 Chris Toshok <[email protected]>
  16399. * NativeWindow.cs: lock around accesses to window_collection.
  16400. 2006-08-28 Chris Toshok <[email protected]>
  16401. * Control.cs: err, fix this the right way, by locking on controls
  16402. when using it. not by making it synchronized.
  16403. 2006-08-28 Chris Toshok <[email protected]>
  16404. * Control.cs: make the static "controls" field synchronized, as it
  16405. gets updated from multiple threads.
  16406. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16407. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  16408. Prevent other threads from exiting when calling thread sets quit state.
  16409. * XEventQueue.cs: Added PostQuitState property
  16410. 2006-08-27 Chris Toshok <[email protected]>
  16411. * AsyncMethodData.cs: add a slot for the window handle.
  16412. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  16413. window (the destination control's window, not the foster window).
  16414. * Control.cs (BeginInvokeInternal): store the window's handle in
  16415. the AsyncMethodData.
  16416. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16417. * XplatUIX11.cs:
  16418. - PostQuitMessage: Removed resetting S.D display handle, we might have
  16419. another loop started after calling PostQuitMessage (Fixes #79119)
  16420. - Created destructor to reset S.D handle
  16421. 2006-08-27 Peter Dennis Bartok <[email protected]>
  16422. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  16423. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16424. * TextControl.cs (Insert): Update the caret position even if we don't
  16425. have a handle yet, just don't call the driver in that case.
  16426. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  16427. to the end of the new selection text (Fixes #79184)
  16428. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16429. * Form.cs (Activate): Only activate if the handle is created)
  16430. * Control.c:
  16431. - Mark window as invisible when it's disposed
  16432. - Check if window handle is created when setting window visible,
  16433. instead of relying just on the is_created variable
  16434. - Check if object is disposed when creating the control (Fixes #79155)
  16435. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16436. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  16437. when allowing layout again. Otherwise we re-generate the anchoring
  16438. distance to the border again and actually alter what the user wanted
  16439. This is ugly, it'd be better if we used DisplayRectangle instead of
  16440. ClientRectangle for Control.UpdateDistances, but that causes us to
  16441. have other problems (initial anchoring positons would be wrong)
  16442. (Fixes #78835)
  16443. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16444. * Control.cs:
  16445. - The size and location setters shouldn't go directly to
  16446. SetBoundsCore, but to SetBounds, which triggers layout on the
  16447. parent, then calls SetBoundsCore. (Related to fix for #78835)
  16448. - SetBounds: Moved actual location update code into this function
  16449. from SetBoundsCore, to match MS. Added call to PerformLayout if
  16450. we have a parent (to trigger resizing of anchored parents if the
  16451. child size has changed (see testcase for #78835)
  16452. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  16453. new control code
  16454. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  16455. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16456. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  16457. System.Drawing when a toplevel window gets closed; there might
  16458. be other toplevel windows belonging to the same app (Fixes #78052)
  16459. 2006-08-26 Alexander Olk <[email protected]>
  16460. * FileDialog.cs: After reading FileDialog settings from mwf_config
  16461. use Desktop prefix only if a real folder doesn't exist anymore.
  16462. * FontDialog.cs: Added char sets.
  16463. It is now possible to select the font, size or style with the
  16464. textboxes.
  16465. 2006-08-25 Kornél Pál <[email protected]>
  16466. * PrintPreviewDialog.cs: Use assembly name constants.
  16467. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16468. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  16469. scrollbar from whacking it's buttons)
  16470. 2006-08-24 Chris Toshok <[email protected]>
  16471. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  16472. in this patch (aggregating setting Left/Top/Width/Height to
  16473. setting Bounds on the scrollbars), but the crux of the fix is in
  16474. Recalculate, where we scroll by the remaining scroll_position if
  16475. we're hiding a scrollbar. The 2*$5 reward in the comment is
  16476. serious.
  16477. 2006-08-24 Jackson Harper <[email protected]>
  16478. * MdiClient.cs:
  16479. * MdiWindowManager.cs: If the form is made a non-mdi window we
  16480. need to remove the form closed event so that closing forms works
  16481. correctly.
  16482. 2006-08-24 Jackson Harper <[email protected]>
  16483. * Control.cs: Make IsRecreating internal so that the driver can
  16484. check it
  16485. - Temporarily remove the Hide when controls are removed, its
  16486. making a whole bunch of things not work because visibility isn't
  16487. getting reset elsewhere correctly
  16488. * Form.cs: Need to do a full handle recreation when the mdi parent
  16489. is set.
  16490. * XplatUIX11.cs: If we are recreating handles don't dispose the
  16491. HWNDs. What was happening is the handles were being recreated in
  16492. SendWMDestroyMessages, but then flow continued on in that method
  16493. and destroyed the new handles.
  16494. 2006-08-23 Jackson Harper <[email protected]>
  16495. * Form.cs: MdiClient is always at the back of the bus
  16496. * Control.cs: When the order of items in the collection is changed
  16497. we need to reset the all_controls array
  16498. - do the same sorta setup thats done when adding a control when a
  16499. control is set on the collection.
  16500. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16501. * TextBoxBase.cs (get_Text): Return an empty array if our document
  16502. is empty (fixes #79052)
  16503. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16504. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  16505. on WM_SYSCHAR messages (fixes #79053)
  16506. 2006-08-23 Chris Toshok <[email protected]>
  16507. * DataGrid.cs: fix flickering when scrolling vertically.
  16508. 2006-08-23 Chris Toshok <[email protected]>
  16509. * DataGrid.cs (EndEdit): only invalidate the row header when we
  16510. need to.
  16511. 2006-08-23 Chris Toshok <[email protected]>
  16512. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  16513. methods. fixes the flicker when scrolling around.
  16514. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16515. * FileDialog.cs: Making sure the control is created before we get a
  16516. chance to use it with BeginInvoke (Fixes #79096)
  16517. 2006-08-23 Chris Toshok <[email protected]>
  16518. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  16519. width to use when painting the rows.
  16520. 2006-08-23 Peter Dennis Bartok <[email protected]>
  16521. * TextBoxBase.cs:
  16522. - Throw ArgumentException if a negative value is passed to SelectionLength
  16523. - Update the selection end if start is moved. end needs to be always
  16524. after start. (Fixes #79095)
  16525. - Track selection length; MS keeps the selection length even if start
  16526. is changed; reset on all other operations affection selection
  16527. 2006-08-22 Jackson Harper <[email protected]>
  16528. * TreeView.cs: Make sure both scrollbars get displayed and sized
  16529. correctly when the other bar is visible.
  16530. - Use the original clip rectangle for checking if the area between
  16531. the two scrollbars is visible, not the viewport adjusted clipping
  16532. rectangle.
  16533. 2006-08-22 Jackson Harper <[email protected]>
  16534. * Binding.cs: We don't use IsBinding because it requires the
  16535. control to be created, which really shouldn't be necessary just to
  16536. set a property on the control.
  16537. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  16538. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  16539. ArgumentNullReferenceException when the argument is null.
  16540. 2006-08-21 Jackson Harper <[email protected]>
  16541. * Timer.cs: Track the thread that the timer is started in (NOT
  16542. CREATED), this way messages for it will only be triggered on its
  16543. queue.
  16544. * XEventQueue.cs: Track the timers here, this makes timers per
  16545. thread, like MS.
  16546. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  16547. 2006-08-19 Chris Toshok <[email protected]>
  16548. * XplatUIX11.cs: after further communication with pdb, we get the
  16549. best of both worlds. SetZOrder working for un-Mapped windows, and
  16550. no X errors for un-mapped windows.
  16551. 2006-08-19 Chris Toshok <[email protected]>
  16552. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  16553. as it was causing pdn toolbars to not have the correct stacking.
  16554. 2006-08-18 Mike Kestner <[email protected]>
  16555. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  16556. calculation. Not sure why control should ever be setting a negative
  16557. width though. Fixes #78931.
  16558. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  16559. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  16560. null items in ObjectCollection class.
  16561. * ListBox.cs.: Likewise.
  16562. 2006-08-18 Atsushi Enomoto <[email protected]>
  16563. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  16564. as the base method in ThemeWin32Classic should work fine.
  16565. Fixed bug #78607.
  16566. 2006-08-18 Jackson Harper <[email protected]>
  16567. * Binding.cs: When validating if the value entered doesn't convert
  16568. properly reset to the old value.
  16569. * RadioButton.cs: Don't fire click when we get focus.
  16570. 2006-08-18 Jackson Harper <[email protected]>
  16571. * FileDialog.cs: Paint the selection on the directory combobox the
  16572. same way as on MS.
  16573. 2006-08-17 Jackson Harper <[email protected]>
  16574. * ErrorProvider.cs: Don't allow the error control to be selected.
  16575. * Control.cs: Don't send the SetFocus messages, the control
  16576. activation will do this, and if we do it blindly here validation
  16577. does not work.
  16578. 2006-08-17 Jackson Harper <[email protected]>
  16579. * Control.cs:
  16580. * ContainerControl.cs: Make validation events fire in the correct
  16581. order. TODO: For some reason the first validation event is not
  16582. getting fired.
  16583. 2006-08-17 Mike Kestner <[email protected]>
  16584. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  16585. 2006-08-17 Mike Kestner <[email protected]>
  16586. * ComboBox.cs : implement scroll wheel support for popped-down
  16587. state. Fixes #78945.
  16588. 2006-08-17 Jackson Harper <[email protected]>
  16589. * TreeView.cs: Specify treeview actions (old patch that didn't get
  16590. committed for some reason).
  16591. - Don't let the mouse wheel scroll us too far. Just want to make
  16592. the bottom node visible, not scroll it all the ways to the top.
  16593. 2006-08-17 Jackson Harper <[email protected]>
  16594. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  16595. 2006-08-17 Mike Kestner <[email protected]>
  16596. * ComboBox.cs : don't do mouseover selection in simple mode.
  16597. 2006-08-16 Jackson Harper <[email protected]>
  16598. * Form.cs: Fire the closing events for all the mdi child windows
  16599. when a window is closed. If the cancel args are set to true, the
  16600. main window still gets the event fired, but it doesn't not close.
  16601. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  16602. handler, instead of when the button is clicked, so cancelling the
  16603. close works correctly.
  16604. * ComboBox.cs: Send the mouse down to the scrollbar.
  16605. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  16606. * ListBox.cs: When passing 'null' to SelectedItem,
  16607. set SelectedIndex to -1, to unselect items. This is the
  16608. observed behaviour in .Net.
  16609. 2006-08-16 Peter Dennis Bartok <[email protected]>
  16610. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  16611. MS flags saying there won't be any. (fixes #78800)
  16612. * Control.cs (HandleClick): Made virtual
  16613. 2006-08-16 Atsushi Enomoto <[email protected]>
  16614. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  16615. cultures. Fixed bug #78399.
  16616. 2006-08-16 Jackson Harper <[email protected]>
  16617. * Form.cs: Use the MdiClients MdiChildren property to access
  16618. MdiChildren instead of creating the array from the child controls.
  16619. * MdiClient.cs: Maintain a separate array of the mdi children, so
  16620. that insertion order is maintained when the Z-order is changed.
  16621. 2006-08-16 Mike Kestner <[email protected]>
  16622. * ListView.cs : add an ItemComparer and default to it for sorting.
  16623. Fixes #79076, but sorting needs a complete overhaul to be compat with
  16624. MS.
  16625. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16626. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  16627. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16628. * Hwnd.cs (Mapped): Properly traverse the tree
  16629. 2006-08-15 Chris Toshok <[email protected]>
  16630. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  16631. pass manager.Current.GetType() to ParseData. It has to be the
  16632. property type. So, hold off doing the ParseData until we're in
  16633. SetPropertyValue where we know the type. This fixes the crash in
  16634. #78821 but the textbox is still empty.
  16635. 2006-08-15 Chris Toshok <[email protected]>
  16636. * DataGrid.cs:
  16637. - when we're scrolling, only call Edit() again if the
  16638. current cell is still unobscured. Fixes bug #78927.
  16639. - when handling mousedown on a cell, ensure the cell is visible
  16640. before calling Edit.
  16641. - remove the properties from DataGridRow, and remove the
  16642. DataGridParentRow class altogether.
  16643. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16644. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  16645. fire OnTextChanged by ourselves. There's no point calling base,
  16646. we don't set the base value anywhere else. Fixes #78773.
  16647. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  16648. * ListBox.cs: Call CollectionChanged when modifying
  16649. an item from Items indexer, to update the actual items
  16650. in the list box.
  16651. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  16652. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  16653. to match .Net behaviour.
  16654. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16655. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  16656. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16657. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  16658. 2006-08-15 Peter Dennis Bartok <[email protected]>
  16659. * MessageBox.cs: Prevent potential NRE exception.
  16660. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  16661. 2006-08-14 Peter Dennis Bartok <[email protected]>
  16662. * MessageBox.cs: Calculate the owner of a messagebox, also make
  16663. it topmost. Fixes #78753
  16664. 2006-08-14 Chris Toshok <[email protected]>
  16665. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  16666. programmatically move windows. first, set the PPosition hint as
  16667. well as the USPosition hint. Second include some code from pdb
  16668. that sets the window type to NORMAL when we set the transient for
  16669. hint. This is because, in the absence of a window type, metacity
  16670. thinks any window with TransientFor set is a dialog, and refuses
  16671. to let us move it programmatically. fascists.
  16672. 2006-08-14 Peter Dennis Bartok <[email protected]>
  16673. * XplatUIX11.cs: When setting normal hints, take into consideration
  16674. an different hints previously set so we don't delete them (fixes #78866)
  16675. 2006-08-12 Chris Toshok <[email protected]>
  16676. * ToolBarButton.cs: make Layout return a boolean, if something to
  16677. do with the button's layout changed.
  16678. * ToolBar.cs:
  16679. - add another parameter to Redraw, @force, which all existing
  16680. calls set to true.
  16681. - make the Layout function return a boolean which is true if the
  16682. layout has actually changed. Redraw now uses this (and @force)
  16683. to determine when to invalidate. At present the only place
  16684. where @force can be false is the call from OnResize, when
  16685. background_image == null. So, resizing a toolbar when the
  16686. layout doesn't change results in no drawing.
  16687. 2006-08-12 Chris Toshok <[email protected]>
  16688. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  16689. the VScrollBar and HScrollbar reversed. oops.
  16690. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  16691. scrollbars. we were assigning them twice (once in
  16692. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  16693. therefore causing two scrollbar resizes (and redraws?) to happen
  16694. per grid resize.
  16695. 2006-08-12 Chris Toshok <[email protected]>
  16696. * ToolBarButton.cs: redraw the entire button if the theme tells us
  16697. to.
  16698. * Theme.cs: add ToolBarInvalidateEntireButton.
  16699. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  16700. buttons, just the border.
  16701. * ThemeNice.cs: redraw the entire toolbar button since we need to
  16702. draw the highlight image.
  16703. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  16704. we need to redraw the entire button (not just the border).
  16705. 2006-08-11 Peter Dennis Bartok <[email protected]>
  16706. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  16707. for vertical bars. Fixes the mismatches shown by #78513
  16708. 2006-08-11 Alexander Olk <[email protected]>
  16709. * FileDialog.cs: If a saved/remembered path doesn't exist
  16710. anymore, fall back to "Desktop".
  16711. 2006-08-11 Peter Dennis Bartok <[email protected]>
  16712. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  16713. parent. It's apparently legal to not have one
  16714. * XplatUIX11.cs:
  16715. - SetZOrder: Don't try to set Z-Order on an unmapped window
  16716. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  16717. it unless the coordinates are negative
  16718. 2006-08-10 Mike Kestner <[email protected]>
  16719. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  16720. when setting to null per msdn docs. Fixes #78854.
  16721. 2006-08-10 Chris Toshok <[email protected]>
  16722. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  16723. flickering by setting a clip rectangle on the Graphics when we
  16724. need to redraw just a particular menuitem. Also, rename "OnClick"
  16725. to "OnMouseDown" to reflect what it actually is.
  16726. * Form.cs: track the OnMouseDown change.
  16727. 2006-08-10 Peter Dennis Bartok <[email protected]>
  16728. * CommonDialog.cs: Properly inherit the CreateParams from the form
  16729. and only change what we need. Fixes #78865
  16730. 2006-08-10 Chris Toshok <[email protected]>
  16731. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  16732. flickering in flat mode (and most of the flickering in general) by
  16733. only invalidating the button border (and not the entire rectangle)
  16734. when the state changes. A couple of cases still flicker:
  16735. ToggleButtons, and the dropdown arrow case when the user mouse
  16736. ups.
  16737. 2006-08-10 Alexander Olk <[email protected]>
  16738. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  16739. for german keyboards. Numlock state shouldn't affect the behaviour
  16740. of the Del key. Fixes bug #78291.
  16741. 2006-08-10 Chris Toshok <[email protected]>
  16742. * ListControl.cs: remove the items.Clear line from BindDataItems,
  16743. as this is the first thing done by both subclasses in their
  16744. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  16745. passed -1, refresh the list. This gets databinding working when
  16746. the datasource is set on the list before the datasource is
  16747. populated (as in wf-apps/ReportBuilder.)
  16748. * ComboBox.cs: remove the argument to BindDataItems. This call
  16749. should really go away, and be initiated by the ListControl code.
  16750. * ListBox.cs: same.
  16751. 2006-08-09 Peter Dennis Bartok <[email protected]>
  16752. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  16753. if no data is in the document when the control is displayed
  16754. 2006-08-09 Peter Dennis Bartok <[email protected]>
  16755. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  16756. yes (fixes #78806)
  16757. * TextControl.cs:
  16758. - PositionCaret: Allow positioning of caret but don't call methods
  16759. requiring a handle if the window isn't created yet
  16760. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  16761. - owner_HandleCreated: Don't position the caret, just update it's
  16762. location. User might have already set a different position
  16763. 2006-08-09 Peter Dennis Bartok <[email protected]>
  16764. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  16765. windows. Screws up the returned coordinates for child windows.
  16766. Fixes #78825. I'm hoping this doesn't break something, since the
  16767. code was explicitly put in 8 months ago, but no bug was attached.
  16768. Menus still seem to work properly.
  16769. 2006-08-08 Chris Toshok <[email protected]>
  16770. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  16771. supposed to do - delay data binding until the EndInit call. Also,
  16772. make the table style collection's CollectionChangeAction.Refresh
  16773. work properly.
  16774. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  16775. (with action = Refresh) when a consituent table's MappingName is
  16776. changed.
  16777. 2006-08-08 Chris Toshok <[email protected]>
  16778. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  16779. Invalidate, since changing the text can change the size of the all
  16780. toolbar buttons.
  16781. 2006-08-08 Peter Dennis Bartok <[email protected]>
  16782. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  16783. we don't have it yet
  16784. 2006-08-08 Chris Toshok <[email protected]>
  16785. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  16786. dialog, as this causes X errors later on, since we actually
  16787. destroy the window. Instead, .Hide() it.
  16788. 2006-08-08 Peter Dennis Bartok <[email protected]>
  16789. * ComboBox.cs: Added focus reflection for popup window
  16790. * XplatUIX11.cs:
  16791. - Removed transient setting for non-app windows for now, not sure it
  16792. was needed
  16793. - Fixed logic checking if we have captions when deciding
  16794. override_redirect, WS_CAPTION is two bits and a 0 check was not
  16795. sufficient
  16796. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  16797. complicated
  16798. * Form.cs:
  16799. - AddOwnedForm: Don't just add the form to the list, call the property
  16800. to ensure the driver is informed about the ownership as well
  16801. - CreateHandle: Set the TopMost status in the driver if we have an owner
  16802. * XplatUI.cs: Fixed debug statement
  16803. 2006-08-08 Jonathan Pobst <[email protected]>
  16804. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  16805. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  16806. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  16807. TrackBarRenderer.cs: Make constructor private.
  16808. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  16809. * ProfessionalColorTable.cs: Make properties virtual.
  16810. 2006-08-06 Duncan Mak <[email protected]>
  16811. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  16812. is not changing.
  16813. 2006-08-04 Jonathan Pobst <[email protected]>
  16814. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  16815. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  16816. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  16817. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  16818. Initial import of new 2.0 classes.
  16819. 2006-08-04 Jonathan Pobst <[email protected]>
  16820. * Application.cs: Add 2.0 VisualStyles properties.
  16821. 2006-08-04 Jonathan Pobst <[email protected]>
  16822. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16823. XplatUIX11.cs: Create property to allow access to existing private
  16824. variable "themes_enabled"
  16825. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  16826. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  16827. file size, as otherwise our class libraries fail using windows. Fixes
  16828. bug #78759.
  16829. 2006-08-04 Jackson Harper <[email protected]>
  16830. * Form.cs:
  16831. * XplatUIX11.cs: Move the toolwindow window manager creation into
  16832. the X11 driver, this way on win32 we can let windows create/handle
  16833. the toolwindows.
  16834. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  16835. * PrintDialog.cs: Remove some redundant checks, add some others,
  16836. clean some code, and move the focus to the text boxes when the
  16837. values are incorrect.
  16838. 2006-08-04 Alexander Olk <[email protected]>
  16839. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  16840. 2006-08-03 Alexander Olk <[email protected]>
  16841. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  16842. handled correctly. Fixes bug #79001.
  16843. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  16844. * PrintDialog.cs: The "Copies" numeric up down must have
  16845. set the Minimum property to 1; only if the value is bigger
  16846. than 1, activate "Collate" check box. This is the behaviour of .Net.
  16847. Also modify the Document elements only if it is not null.
  16848. 2006-08-03 Jackson Harper <[email protected]>
  16849. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  16850. length. (We have a larger array then actual node count).
  16851. 2006-08-03 Jackson Harper <[email protected]>
  16852. * ComboBox.cs: Don't show selection by default.
  16853. - The SelectAll isn't needed here, since the focus code should do
  16854. that
  16855. - DDL style lists to manual selection drawing, so when they
  16856. get/lose focus they have to invalidate.
  16857. 2006-08-03 Peter Dennis Bartok <[email protected]>
  16858. * TextBoxBase.cs: Don't always show all selections by default.
  16859. 2006-08-03 Jonathan Pobst <[email protected]>
  16860. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  16861. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  16862. Fixed various typos.
  16863. 2006-08-03 Alexander Olk <[email protected]>
  16864. * Control.cs: Removing the controls in a ControlCollection with
  16865. Clear now hides the controls as expected. Fixes bug #78804.
  16866. 2006-08-03 Jackson Harper <[email protected]>
  16867. * Control.cs: Revert previous focus patch, it breaks reflector.
  16868. 2006-08-03 Jackson Harper <[email protected]>
  16869. * ComboBox.cs: Cleanup selection and focus with the combobox.
  16870. This also eliminates some duplicated keyboard code, since now
  16871. everything is handled by the main class.
  16872. - Make list selection work on mouse up instead of down, to match
  16873. MS.
  16874. 2006-08-02 Jackson Harper <[email protected]>
  16875. * Control.cs: Setting focus needs to go through the whole
  16876. selection mechanism.
  16877. 2006-08-02 Chris Toshok <[email protected]>
  16878. * PrintPreviewDialog.cs: change MinimumSize to use
  16879. base.MinimumSize so it works.
  16880. 2006-08-02 Peter Dennis Bartok <[email protected]>
  16881. * TextControl.cs:
  16882. - UpdateCaret: Added sanity check in case caret isn't defined yet
  16883. - Line.Delete: Now updating selection and caret markers if we're
  16884. transfering a node (Properly fixes #78323)
  16885. - SetSelectionEnd: Added sanity check
  16886. * TextBoxBase.cs: Removed broken attempt to fix #78323
  16887. 2006-08-01 Chris Toshok <[email protected]>
  16888. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  16889. Close() call is handled in Form, not here.
  16890. 2006-08-01 Chris Toshok <[email protected]>
  16891. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  16892. layout/rendering.
  16893. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  16894. for sizes < 100% zoom. The code now aggressively attempts to keep
  16895. from calling document.Print (), and tries not to use the scaling
  16896. g.DrawImage whenever possible (it still does if you scale to >
  16897. 100%, since usually that involves huge images).
  16898. * PrintPreviewControl.cs: hook up the close button.
  16899. 2006-08-01 Jonathan Pobst <[email protected]>
  16900. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  16901. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  16902. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  16903. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  16904. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  16905. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  16906. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  16907. Removed [Serializable] for 2.0 Event Handlers.
  16908. 2006-07-31 Jackson Harper <[email protected]>
  16909. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  16910. * TextControl.cs: Uncomment out the body of this method.
  16911. 2006-07-31 Alexander Olk <[email protected]>
  16912. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  16913. standard cursors.
  16914. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16915. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  16916. that embed TextBox and need selections visible even if textbox is not
  16917. focused to enforce that behaviour.
  16918. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  16919. selection drawing
  16920. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16921. * TextControl.cs:
  16922. - Added new SetSelectionStart/SetSelectionEnd overloads
  16923. - Fixed viewport width assignment to be accurate
  16924. - Adjusted alignment line shift calculations to allow cursor on right
  16925. aligned lines to be always visible at the right border (like MS)
  16926. * TextBoxBase.cs:
  16927. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  16928. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  16929. - CalculateScrollBars: Use ViewPort size instead of window size, to
  16930. properly consider space occupied by the border and scrollbars
  16931. (Fixes #78661)
  16932. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  16933. calculations; no longer leaves artifacts
  16934. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  16935. calculation bugs (Still missing right/center align calculations)
  16936. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16937. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  16938. use of both scroll rect and clip rect, as they do the same.
  16939. 2006-07-31 Peter Dennis Bartok <[email protected]>
  16940. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  16941. in the event handler (fixes #78912)
  16942. 2006-07-31 Chris Toshok <[email protected]>
  16943. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  16944. grid.ListManager.Count, since grid.ListManager might be null.
  16945. This of course begs the question "why are we drawing rows for a
  16946. grid with no list manager (and therefor no rows)?" Fixes the
  16947. crash in bug #78929.
  16948. 2006-07-31 Chris Toshok <[email protected]>
  16949. * RelatedPropertyManager.cs: Don't always chain up to the parent
  16950. ctor. instead, call SetDataSource if the parent's position is !=
  16951. -1. Fixes the crash in #78822.
  16952. 2006-07-31 Chris Toshok <[email protected]>
  16953. * DataGrid.cs (get_ListManager): use field instead of property
  16954. accessors for datasource and datamember.
  16955. (RowsCount): make internal again.
  16956. (OnMouseDown): end edits before resizing columns/rows.
  16957. (OnMouseUp): restart edits after resizing columns/rows.
  16958. 2006-07-30 Peter Dennis Bartok <[email protected]>
  16959. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  16960. This fixes the situation where the last set cursor is displayed
  16961. whenever the mouse is over scrollbars.
  16962. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  16963. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  16964. Document properties, as well as initial values.
  16965. 2006-07-29 Peter Dennis Bartok <[email protected]>
  16966. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  16967. and ClientEdge results in a 3-pixel border, which is
  16968. wrong.
  16969. 2006-07-28 Jackson Harper <[email protected]>
  16970. * TreeNodeCollection.cs: Fix the clear method.
  16971. - Fix the Shrink also
  16972. 2006-07-27 Jackson Harper <[email protected]>
  16973. * TreeView.cs: Make sure the visible order is computed when we
  16974. attempt to size the scrollbars (for trees that mess with the
  16975. scrolling when they shouldn't.
  16976. - Make sure to give the scrollbars valid values.
  16977. 2006-07-26 Peter Dennis Bartok <[email protected]>
  16978. * XplatUIX11.cs: Move motion compression code to where it
  16979. has less performance impact
  16980. 2006-07-26 Jackson Harper <[email protected]>
  16981. * UpDownBase.cs: When the control is selected make the child
  16982. controls non selectable, so that a click on them won't do a
  16983. focus/unfocus cycle.
  16984. - Don't give focus to the text box when the spinner is selected.
  16985. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  16986. 2006-07-26 Chris Toshok <[email protected]>
  16987. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  16988. satisfied with this solution. If the bitmaps are small, we should
  16989. just cache them in the PrintPreviewDialog and draw them here.
  16990. Also, the layout is broken for the 2-up and 3-up cases.
  16991. * Theme.cs: add PrintPReviewControlPaint.
  16992. * PrintPreviewDialog.cs: first pass implementation.
  16993. * PrintPreviewControl.cs: first pass implementation. No
  16994. scrollbars yet.
  16995. * PrintDialog.cs: only validate fields if that particular portion
  16996. of the UI is enabled. Also, set the document's controller to a
  16997. PrintControllerWithStatusDialog wrapping the document's print
  16998. controller.
  16999. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  17000. bring up a SaveFileDialog (i hope we don't want to match the
  17001. behavior of the crappy windows file entry) and set the
  17002. PrinterSettings.PrintFileName accordingly.
  17003. 2006-07-26 Jackson Harper <[email protected]>
  17004. * ContainerControl.cs: Add a field that disables auto selecting
  17005. the next control in a container when the container is activated.
  17006. * UpDownBase.cs: Don't select the text box when the up down is
  17007. selected.
  17008. 2006-07-26 Peter Dennis Bartok <[email protected]>
  17009. * XEventQueue.cs: Added methods for peeking (used for compression
  17010. of successive events)
  17011. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  17012. mouse move events (fixes #78732)
  17013. 2006-07-25 Jackson Harper <[email protected]>
  17014. * UpDownBase.cs: Use an internal class for the textbox so that we
  17015. can control focus. the updown control should always have focus,
  17016. if either the text area or the buttons are clicked.
  17017. - Send the key messages to the textbox, since it never actually
  17018. has focus
  17019. - Activate and decativate the textbox caret.
  17020. 2006-07-24 Jackson Harper <[email protected]>
  17021. * Control.cs: Use the directed select when selecting a control,
  17022. this way the container controls override will get called and the
  17023. whole ActiveControl chain will get triggered. TODO: probably need
  17024. to make sure this gets done everywhere instead of the old
  17025. Select(Control).
  17026. * ContainerControl.cs: Implement the directed Select method to
  17027. find and activate the correct child control.
  17028. 2006-07-22 Mike Kestner <[email protected]>
  17029. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  17030. menu handling code so that clicks without a grab work too.
  17031. [Fixes #78914]
  17032. 2006-07-22 Alexander Olk <[email protected]>
  17033. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  17034. Added some small optimizations.
  17035. 2006-07-21 Matt Hargett <[email protected]>
  17036. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  17037. 2006-07-21 Peter Dennis Bartok <[email protected]>
  17038. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  17039. tests pass and match MS in some strange border cases.
  17040. 2006-07-21 Chris Toshok <[email protected]>
  17041. * ThemeWin32Classic.cs: handle drawing of the relation links and
  17042. parent row buttons.
  17043. * Theme.cs: change args to DataGridPaintParentRow.
  17044. * DataGrid.cs: Don't use controls for the relation links and
  17045. parent buttons, so we have to handle all their interactions in
  17046. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  17047. when we're navigating through child tables, so we can reinstate
  17048. selection, expanded state, current cell, etc.
  17049. 2006-07-20 Chris Toshok <[email protected]>
  17050. * ToolBar.cs: When we redraw a button, for whatever reason,
  17051. there's no reason to redraw the entire toolbar. Also, don't call
  17052. Control.Refresh from within Redraw, as it's much heavier than
  17053. Invalidate (which is really what we want).
  17054. 2006-07-20 Chris Toshok <[email protected]>
  17055. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  17056. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  17057. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  17058. traces from within a debug IBindingList datasource
  17059. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  17060. to work in a similar fashion.
  17061. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  17062. * ListBox.cs: Don't call Sort () when setting
  17063. the Sorted property to false (avoid an unnecessary sort).
  17064. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  17065. * ListControl.cs: DataSource should throw an ArgumentException
  17066. instead of a normal exception when the argument is not of the
  17067. correct type.
  17068. 2006-07-20 Mike Kestner <[email protected]>
  17069. * Control.cs: add InternalPreProcessMessage to allow us to steal
  17070. key events before MWF gets its paws on them. Adapted from a
  17071. suggestion by eno.
  17072. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  17073. up/down/left/right navigation. Override the new internal control
  17074. method to steal the events since they never make it to WndProc.
  17075. * ToolBarButton.cs: don't worry about pushed when setting hilight
  17076. since the drawing code prefers pushed to hilight. Invalidate on
  17077. Hilight changes. Fixes #78547 and #78525.
  17078. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17079. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  17080. the canvas size. Fixes #78868
  17081. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17082. * Splitter.cs: Track requested split position until first layout
  17083. is performed. Fixes #78871
  17084. 2006-07-20 Peter Dennis Bartok <[email protected]>
  17085. * Application.cs: Removed code that forces 1.x for the version
  17086. number if the version started with 0. Not sure why that code was
  17087. there and I couldn't find any bugs that indicated we needed it.
  17088. Fixes #78869
  17089. 2006-07-20 Alexander Olk <[email protected]>
  17090. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  17091. ResetDefaults(), just write some output to the console until it's
  17092. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  17093. 2006-07-19 Jonathan Chambers <[email protected]>
  17094. * PropertyGridView.cs: set StartPosition of drop down forms
  17095. so they appear in correct initial spot. Fixes #78190.
  17096. 2006-07-19 Mike Kestner <[email protected]>
  17097. * ThemeWin32Classic.cs: use parent background color when drawing
  17098. flat toolbars. Restructure the conditionals to make sure non-flat
  17099. non-Divider toolbars are filled too. Fixes #78837.
  17100. 2006-07-19 Mike Kestner <[email protected]>
  17101. * ListBox.cs: Sort on collection changes even if the handle
  17102. isn't created yet. Fixes #78813.
  17103. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  17104. * ListControl.cs: DisplayMember should never be null,
  17105. and now we assign String.Empty when null is passed to it (this
  17106. is the .Net way).
  17107. 2006-07-17 Mike Kestner <[email protected]>
  17108. * ListViewItem.cs: restructure Font and subitem Font handling
  17109. to hold a specific font and refer back to owner on null.
  17110. Fixes #78761.
  17111. 2006-07-17 Mike Kestner <[email protected]>
  17112. * ToolBar.cs: bandaid for side-effect of previous patch which was
  17113. discarding explicit heights for non-AutoSize toolbars. Need to
  17114. extend my format tester to deal with AutoSize=false. Fixes #78864.
  17115. 2006-07-15 Jackson Harper <[email protected]>
  17116. * LabelEditTextBox.cs:
  17117. * TreeView.cs: Use a new LabelEdit class for node editing, this
  17118. class automatically 'closes' itself when it gets the enter key or
  17119. loses focus.
  17120. - Use the client rectangle when setting the trees scrollbars, so
  17121. border style is taken into account.
  17122. 2006-07-14 Jackson Harper <[email protected]>
  17123. * TreeNode.cs:
  17124. * TreeView.cs: Make the editing work similar to MSs, firing the
  17125. events correctly and ending edits correctly.
  17126. 2006-07-14 Mike Kestner <[email protected]>
  17127. * ToolBarButton.cs:
  17128. * ToolBar.cs: layout restructuring and redraw enhancements to support
  17129. formatting changes gracefully, like setting TextAlign, ImageList,
  17130. ButtonSize, and Appearance. Handles explicit button sizing quirks
  17131. of the MS controls. Things like flat toolbars ignoring button size
  17132. but becoming constant sized at the largest button's size. Normal
  17133. toolbars with an image set cannot be shrunk smaller than the image,
  17134. but text can be clipped/ignored.
  17135. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  17136. is zero. Seems like DrawString should be smart enough to not put
  17137. anything on screen though. Also trim labels and ellipsize at the char
  17138. boundary, not word.
  17139. Fixes #78711 and #78483.
  17140. 2006-07-14 Alexander Olk <[email protected]>
  17141. * FolderBrowserDialog.cs: Disable "New Folder" button and
  17142. "New Folder" contextmenu menuitem if a folder like "My Computer"
  17143. is selected.
  17144. 2006-07-14 Alexander Olk <[email protected]>
  17145. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  17146. * FolderBrowserDialog.cs:
  17147. - Use MWFConfig to store and read size and position settings
  17148. - Added code to create a new folder (button or context menu).
  17149. Use TreeView labeledit to change the name of the new folder.
  17150. 2006-07-14 Jackson Harper <[email protected]>
  17151. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  17152. when the tree is scrolled we end editing.
  17153. 2006-07-14 Alexander Olk <[email protected]>
  17154. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  17155. Down arrows
  17156. 2006-07-14 Jonathan Pobst <[email protected]>
  17157. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  17158. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  17159. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  17160. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  17161. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  17162. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  17163. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  17164. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  17165. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  17166. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  17167. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  17168. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  17169. ListViewItemSelectionChangedEventHandler.cs,
  17170. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  17171. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  17172. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  17173. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  17174. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  17175. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  17176. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  17177. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  17178. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  17179. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  17180. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  17181. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  17182. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  17183. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  17184. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  17185. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  17186. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  17187. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  17188. WebBrowserNavigatingEventHandler.cs,
  17189. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  17190. 2006-07-14 Jonathan Pobst <[email protected]>
  17191. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  17192. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  17193. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  17194. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  17195. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  17196. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  17197. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  17198. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  17199. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  17200. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  17201. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  17202. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  17203. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  17204. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  17205. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  17206. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  17207. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  17208. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  17209. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  17210. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  17211. ListViewItemStates.cs, MaskFormat.cs: Added
  17212. 2006-07-13 Jonathan Chambers <[email protected]>
  17213. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  17214. Patch from eno for bug 78558.
  17215. 2006-07-13 Jackson Harper <[email protected]>
  17216. * TreeView.cs: When an edit is finished make sure that the
  17217. selected node is visible.
  17218. - When setting the top/bottom use the scrollbars is_visible, so
  17219. everything will be set correctly even if the tree isn't visible
  17220. yet.
  17221. 2006-07-13 Jackson Harper <[email protected]>
  17222. * ComboBox.cs: Revert the item->index part of my previous patch.
  17223. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  17224. the edit box has lost focus (duh).
  17225. - Just make the edit box not visible when we get return, that will
  17226. take the focus, which will call EndEdit
  17227. * TreeNode.cs When we start editing, notify the treeview.
  17228. 2006-07-12 Jackson Harper <[email protected]>
  17229. * ComboBox.cs: Clear out old items before setting the item list.
  17230. This prevents databound controls from having their items added
  17231. twice.
  17232. - Switch the combobox to use indices whereever possible instead of
  17233. using Item's. This allows usto navigate through lists that have
  17234. more then one item with the same string value (ie a, b, b, a).
  17235. - Scroll the listboxes scrollbar when a non visible item is
  17236. highlighted
  17237. - Allow keypress to cycle through all the possible values. For
  17238. example if you have b1, b2, b3 and hold down the B key all the
  17239. values will be cycled through.
  17240. 2006-07-12 Jackson Harper <[email protected]>
  17241. * TextBoxBase.cs:
  17242. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  17243. this using the internal methods.
  17244. * Control.cs: Add OnGotFocusInternal. A new method that allows
  17245. controls to "override" OnGotFocus and change focus behavior if
  17246. needed.
  17247. - Same thing for LostFocus
  17248. * ComboBox.cs: Pass off focus to the text control properly.
  17249. 2006-07-12 Alexander Olk <[email protected]>
  17250. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  17251. * FolderBrowserDialog.cs: Almost a complete rewrite.
  17252. - Better support for Environment.Specialfolders
  17253. - Added support for MWFVFS
  17254. - Made setting SelectedPath work
  17255. 2006-07-12 Jackson Harper <[email protected]>
  17256. * Control.cs: Optimze getting all the controls.
  17257. 2006-07-11 Jackson Harper <[email protected]>
  17258. * ContainerControl.cs: Override SETFOCUS in the container control,
  17259. so that it is not selected on mouse click.
  17260. 2006-07-11 Peter Dennis Bartok <[email protected]>
  17261. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  17262. Hopefully we will have a better way once all of focus is complete.
  17263. 2006-07-11 Peter Dennis Bartok <[email protected]>
  17264. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  17265. a compile error with csc.
  17266. 2006-07-11 Jackson Harper <[email protected]>
  17267. * Control.cs: When hiding a control only select the next control
  17268. if the current control was focused.
  17269. - Don't handle enter/leave when setting/killing focus, this is
  17270. done by the container control.
  17271. - Remove is_selected, it's not needed anymore.
  17272. - Add utility methods for selecting a child control, and for
  17273. firing the Enter/Leave events.
  17274. * ContainerControl.cs: When a control is activated fire the
  17275. enter/leave events.
  17276. - Don't wrap when processing the tab key, so that focus can be
  17277. moved outside of the container.
  17278. - Use the correct active control
  17279. 2006-07-11 Jackson Harper <[email protected]>
  17280. * ComboBox.cs: Remove some debug code that was blinding me.
  17281. * UpDownBase.cs: These controls actually aren't implicit, they are
  17282. visible to the user.
  17283. 2006-07-10 Chris Toshok <[email protected]>
  17284. * DataGrid.cs: move back to the is_adding boolean field. god i
  17285. hate this is_editing/is_adding/is_changing stuff.
  17286. 2006-07-10 Chris Toshok <[email protected]>
  17287. * DataGridTableStyle.cs: just check if the property type is bool.
  17288. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  17289. Don't use CanRenderType.
  17290. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  17291. if our text == NullText. Remove CanRenderType.
  17292. * DataGridBoolColumn.cs: nuke CanRenderType.
  17293. * DataGrid.cs: reenable some code to end the current edit inside
  17294. of set_CurrentCell. This fixes the other 1.1.16 regression.
  17295. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  17296. Also, remove the visible_row_count arg from CalcRowHeaders, since
  17297. we don't need to worry about the actual height of the area.
  17298. 2006-07-10 Chris Toshok <[email protected]>
  17299. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  17300. mode, just return.
  17301. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  17302. the real sense of the IsInEditOrNavigateMode property (true =
  17303. navigate, false = edit). Also, update OnKeyPress to reflect this.
  17304. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  17305. column style exists, we still need to set its property descriptor
  17306. to match up with our list manager.
  17307. 2006-07-10 Chris Toshok <[email protected]>
  17308. * ThemeWin32Classic.cs: implement the new row/header painting
  17309. approach. The parent row painting will likely go away and
  17310. replaced with label controls, but the rest seems to work ok (and
  17311. efficiently).
  17312. * Theme.cs: change the way we draw datagrid rows. we don't draw
  17313. the row headers as a block now. Instead we draw them in the
  17314. normal draw-row loop. Add some calls for drawing parent rows and
  17315. relation rows.
  17316. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  17317. a default table style. Set the defaults from ThemeEngine.Current,
  17318. not SystemColors. Fix lots of misc issues with property setters.
  17319. * DataGrid.cs: move loads of style information out of this class
  17320. as it's being duplicated with DataGridTableStyle. keep track of a
  17321. special DataGridTableStyle for the properties we used to mirror
  17322. here. Switch all the style properties to access this table style
  17323. instead of instance fields of this class. Also add a internal
  17324. class to represent parent rows (more needs to be stored here, like
  17325. the selection state from the parent table, as well as the
  17326. expansion state.) Also, for datasources with relations, do the
  17327. right thing for collapse/expand, and add support for the
  17328. navigation/parent row buttons.
  17329. Lastly, fix the crash in the 1.1.16 build.
  17330. * GridTableStylesCollection.cs: make the explicit interface
  17331. implementations call the class's methods as opposed to duplicating
  17332. them.
  17333. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  17334. 0 so the text doesn't jump around when we move the cursor.
  17335. 2006-07-10 Jackson Harper <[email protected]>
  17336. * TextBoxBase.cs:
  17337. * ListBox.cs: Match MS's ToString (this makes debugging focus
  17338. stuff infinitely easier).
  17339. 2006-07-10 Jackson Harper <[email protected]>
  17340. * Control.cs (SelectNextControl): When checking the control's
  17341. parent use this instead of ctrl.parent so that null can be passed
  17342. to SelectNextControl. (I have unit tests for this).
  17343. - Remove unused var.
  17344. 2006-07-10 Chris Toshok <[email protected]>
  17345. * CurrencyManager.cs: correct one regression, the removal of the
  17346. finalType field. Also, add a MonoTODO on CanAddRows, implement
  17347. Refresh() correctly, and fix some event emission in
  17348. ListChangedHandler.
  17349. 2006-07-07 Alexander Olk <[email protected]>
  17350. * FileDialog.cs: Don't use brackets for new folders if they exist
  17351. under *nix. Instead use -(number of existing folders +1).
  17352. 2006-07-07 Alexander Olk <[email protected]>
  17353. * FileDialog.cs:
  17354. - Fixed really nasty bug #78771
  17355. - Don't block the whole GUI when reading directories with a lot of
  17356. entries. Use an other thread instead and call BeginInvoke to
  17357. update the ListView in MWFFileView
  17358. 2006-07-07 Chris Toshok <[email protected]>
  17359. * Control.cs (Dispose): release any Capture when disposing.
  17360. 2006-07-07 Chris Toshok <[email protected]>
  17361. * LinkLabel.cs (Select): if we chain up to the parent, set
  17362. focused_index to -1 so we'll search for the first available link
  17363. the next time the user tabs into us. Also, if the direction is
  17364. backward and focused_index == -1, start the search from the last
  17365. element.
  17366. 2006-07-07 Chris Toshok <[email protected]>
  17367. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  17368. is beyond the end of the text, don't do anything.
  17369. (CreateLinkPieces): set our ControlStyles.Selectable based on
  17370. whether or not we have any links.
  17371. (Link.Invalidate): use a loop instead of foreach.
  17372. (Link.set_Start): null out owner.sorted_links so it'll be
  17373. recreated by CreateLinkPieces.
  17374. 2006-07-06 Chris Toshok <[email protected]>
  17375. * LinkLabel.cs: revert the SetStyle change.
  17376. 2006-07-06 Chris Toshok <[email protected]>
  17377. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  17378. (OnEnableChanged): s/Refresh/Invalidate
  17379. (OnGotFocus): if we have a focused index already, refocus it (so
  17380. if we mouse out/in to the window it'll focus the right link).
  17381. (OnKeyDown): move the tab handling out of here.
  17382. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  17383. when we lose focus.
  17384. (OnMouseDown): don't Capture here - Control handles it. Also,
  17385. focus the active link.
  17386. (OnMouseUp): don't deal with Capture.
  17387. (OnPaintBackgroundInternal): remove.
  17388. (OnTextAlignChanged): CreateLinkPieces before calling the
  17389. superclass's method.
  17390. (OnTextChanged): call CreateLinkPieces before calling superclass's
  17391. method.
  17392. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  17393. move around.
  17394. (Select): implement this, moving the selection between different
  17395. links, and call parent.SelectNextControl if we don't have another
  17396. link to focus in the given direction.
  17397. (CreateLinkPieces): call Invalidate instead of Refresh.
  17398. 2006-07-06 Chris Toshok <[email protected]>
  17399. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  17400. new LinkLabel internals.
  17401. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  17402. over pieces looking for active/focused/etc links. also, deal with
  17403. runs of text (and links) with embedded \n's in them, and use
  17404. MeasureCharacterRanges instead of MeasureString to figure out the
  17405. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  17406. two-step.
  17407. 2006-07-04 Jackson Harper <[email protected]>
  17408. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  17409. XKB or key auto repeat, do it manually. Without key auto repeat,
  17410. when a key is held down we get key press, key release, key press,
  17411. key release, ... with auto repeat we get key press, key press, key
  17412. press ..., and then a release when the key is actually released.
  17413. 2006-07-03 Jackson Harper <[email protected]>
  17414. * TabControl.cs:
  17415. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  17416. rules, they are always control color regardless of the background
  17417. color.
  17418. 2006-07-02 Alexander Olk <[email protected]>
  17419. * FileDialog.cs: Added internal class MWFConfig.
  17420. Removed Registry support and replaced it with support for the new
  17421. MWFConfig class. See MWFConfig comments for more information.
  17422. 2006-06-30 Alexander Olk <[email protected]>
  17423. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  17424. rectangle. Added some patches from eno from bug #78490 and fixed
  17425. the arrow position for small up and down CPDrawScrollButtons.
  17426. 2006-06-30 Jackson Harper <[email protected]>
  17427. * InternalWindowManager.cs: Remove some debug code.
  17428. * Form.cs: When an MdiParent is set to null, the window is
  17429. "detatched" and becomes a normal window.
  17430. * MdiClient.cs: Don't bring the new child form to the front until
  17431. it is activated (setting it as active does this), this makes the
  17432. previously active forms titlebar get redrawn as inactive.
  17433. 2006-06-29 Peter Dennis Bartok <[email protected]>
  17434. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  17435. with later controls
  17436. 2006-06-29 Mike Kestner <[email protected]>
  17437. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  17438. arrow in keynav state. Fixes #78682.
  17439. 2006-06-28 Atsushi Enomoto <[email protected]>
  17440. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  17441. order (fixes #78393)
  17442. 2006-06-28 Jonathan Pobst <[email protected]>
  17443. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  17444. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  17445. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  17446. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  17447. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  17448. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  17449. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  17450. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  17451. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  17452. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  17453. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  17454. values)
  17455. 2006-06-28 Mike Kestner <[email protected]>
  17456. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  17457. 2006-06-28 Atsushi Enomoto <[email protected]>
  17458. * PropertyGrid.cs,
  17459. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  17460. item lines from other area (It also makes BackColor consistent and
  17461. compatible with .NET). Fixed bug #78564.
  17462. 2006-06-28 Jonathan Chambers <[email protected]>
  17463. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  17464. Patch from Eno for #78555.
  17465. 2006-06-27 Chris Toshok <[email protected]>
  17466. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  17467. * DataGridColumnStyle.cs: same.
  17468. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  17469. * DataGridDrawingLogic.cs: nuke.
  17470. 2006-06-27 Chris Toshok <[email protected]>
  17471. * DataGridTableStyle.cs: clean up the constructors, and build the
  17472. list of child relations for this table. I have no idea if this is
  17473. where we should be doing it (it probably isn't), but since we're
  17474. already iterating over the properties..
  17475. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  17476. struct and array for keeping track of row information, similar to
  17477. what's shown in a hack on
  17478. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  17479. * Theme.cs: be consistent about the naming of DataGrid methods,
  17480. prefering ColumnWidths and RowHeights over columnsWidths and
  17481. RowsHeights.
  17482. * ThemeWin32Classic.cs: same, and also add support for variable
  17483. sized rows (and the +/- expansion icons for related rows).
  17484. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17485. * TextBoxBase.cs: Applied Eno's patch from #78660
  17486. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17487. * Form.cs (ScaleCore): We don't want to scale our form if it's
  17488. state is minimized or maximized, but we still need to scale our
  17489. child windows. Also, added try/finally block to ensure layout
  17490. gets reset (Fixes #78697)
  17491. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17492. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  17493. 2006-06-27 Peter Dennis Bartok <[email protected]>
  17494. * Form.cs: Fixed c+p error and added check to resize form if minimum
  17495. size is bigger than current size (Fixes #78709)
  17496. 2006-06-26 Peter Dennis Bartok <[email protected]>
  17497. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  17498. 2006-06-26 Mike Kestner <[email protected]>
  17499. * ComboBox.cs: only do Keypress handling in the combo when there
  17500. are items in the collection. Fixes #78710.
  17501. 2006-06-26 Chris Toshok <[email protected]>
  17502. * Binding.cs: make this work bi-directionally. also, clear up
  17503. other mixups between Push/Pull Data (e.g. we're supposed to pull
  17504. data when validating).
  17505. * BindingManagerBase.cs: trim some fully qualified collection
  17506. types.
  17507. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  17508. 2006-06-23 Chris Toshok <[email protected]>
  17509. * PropertyManager.cs: It appears (according to the unit tests)
  17510. that PropertyManager doesn't use
  17511. PropertyDescriptor.AddValueChanged to track propery value changes
  17512. in its datasource, but uses the same scheme as Binding, where it
  17513. looks for a <Property>Changed event and binds to it.
  17514. Also, according to the docs, IsSuspended always returns false for
  17515. a property manager with a non-null datasource.
  17516. 2006-06-22 Peter Dennis Bartok <[email protected]>
  17517. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  17518. need to update the actual DialogResult. (Fixes #78613)
  17519. 2006-06-22 Peter Dennis Bartok <[email protected]>
  17520. * Form.cs (ShowDialog): Release any captures before running the
  17521. new message pump (fixes #78680)
  17522. 2006-06-22 Mike Kestner <[email protected]>
  17523. * ListView.cs: Layout column widths properly in details mode even
  17524. if HeaderStyle.None is set. Fixes #78691.
  17525. 2006-06-21 Peter Dennis Bartok <[email protected]>
  17526. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  17527. 2006-06-21 Peter Dennis Bartok <[email protected]>
  17528. * Control.cs (ContainsFocus): Using new driver method to get focused
  17529. window, instead of trying to use internal tracking var, which can
  17530. recursion issues (Fixes #78685)
  17531. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  17532. XplatUIWin32.cs: Added GetFocus method to return focused window
  17533. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  17534. * ColorDialog.cs: when the mouse button is pressed inside the color
  17535. matrix, don't let the cursor move out of it until the button is
  17536. released, which is the behavior on windows. Changed 'colours' by
  17537. 'colors' to use the same word consistently.
  17538. 2006-06-21 Chris Toshok <[email protected]>
  17539. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  17540. child relation and back, using a stack). Also, remove
  17541. GetDataSource and the code that calls it - it's not needed. Also,
  17542. track CurrencyManager.ListName's removal.
  17543. 2006-06-21 Chris Toshok <[email protected]>
  17544. * CurrencyManager.cs: push some of the original type checking from
  17545. BindingContext.CreateBindingManager to here, and remove some of
  17546. the finalType stuff. Need more tests to make sure I've got the
  17547. ListName part right, and we might need more in SetDataSource.
  17548. * PropertyManager.cs: add a ctor that takes just the datasource,
  17549. and no property name. Make SetDataSource work with a null
  17550. property_name, and make Current return the data_source if the
  17551. property descriptor is null. this makes 'string foo = "hi";
  17552. BindingContext[foo].Current' return "hi" as it should.
  17553. * RelatedCurrencyManager.cs: make this code more generic - there's
  17554. no reason the parent manager has to be CurrencyManager, and
  17555. there's no reason to pass the DataRelation. It suffices to use a
  17556. BindingManagerBase and PropetyDescriptor.
  17557. * RelatedPropertyManager.cs: make a similar change here.
  17558. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  17559. flower I knew it could be.
  17560. 2006-06-20 Chris Toshok <[email protected]>
  17561. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  17562. data in the source has changed and we need to update the control,
  17563. so s/PullData/PushData.
  17564. * CurrencyManager.cs: Refresh is meant to update the control from
  17565. data in the datasource. So, s/PullData/PushData.
  17566. * BindingContext.cs: add more ugliness (we weren't handling the
  17567. case where data_source = DataTable and data_member = column_name).
  17568. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  17569. from the perspective of the datasource. PullData pulls from the
  17570. control, PushData pushes to the control.
  17571. 2006-06-20 Chris Toshok <[email protected]>
  17572. * BindingContext.cs: rewrite the CreateBindingManager code to
  17573. handle navigation paths more or less properly. This could
  17574. definitely stand some more work, in particular to push the
  17575. recursion up to the toplevel. But that relies on fixes in other
  17576. places (System.Data comes to mind).
  17577. Also, move to a flat hashtable (and encode the twolevel nature of
  17578. the dictionary into the hash key). This lets us implement the
  17579. IEnumerable.GetEnumerator method.
  17580. * RelatedCurrencyManager.cs: new class. Update our view based on
  17581. our relation and our parent CurrencyManager's position.
  17582. * CurrencyManager.cs: split out some logic from the ctor into
  17583. SetView, so it can be called from the new RelatedCurrencyManager
  17584. subclass.
  17585. * RelatedPropertyManager.cs: new class. Update our datasource
  17586. based on the position of our parent CurrencyManager.
  17587. * PropertyManager.cs: split out some logic from the ctor into
  17588. SetDataSource, so it can be called from the new RelatedDataSource
  17589. subclass. Also, make the Current getter return the value
  17590. of the PropertyDescriptor, not the data_source.
  17591. * Binding.cs: no need to duplicate the string splitting code here.
  17592. 2006-06-19 Peter Dennis Bartok <[email protected]>
  17593. * Control.cs:
  17594. - set_Enabled: OnEnabledChanged is not called if the inherited state
  17595. of the control is not altered, even though we might be changing the
  17596. internal state of the control (#78458)
  17597. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  17598. OnEnabledChanged, to allow easy altering of any child window state
  17599. - OnEnabledChanged: Added code to enable/disable driver window state
  17600. - OnParentEnabledChanged: Instead of firing the event, call
  17601. OnEnabledChanged, which will fire the event and also a) set driver
  17602. window state and pass the enabled state to any grandchildren (#78458)
  17603. 2006-06-19 Jackson Harper <[email protected]>
  17604. * InternalWindowManager.cs: We don't set the cursor explicitly
  17605. thats done via the response to NCHITTESTs.
  17606. - Don't need to adjust for titlebar heights anymore, the
  17607. coordinates are coming in the correct coordinates now (see peters
  17608. last patch).
  17609. 2006-06-19 Peter Dennis Bartok <[email protected]>
  17610. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  17611. being translated relative to whole window, instead of client window.
  17612. That caused broken offsets on mouseclick (and caused gas for our
  17613. InternalWindowManager)
  17614. 2006-06-15 Peter Dennis Bartok <[email protected]>
  17615. * TextControl.cs:
  17616. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  17617. - Undo(): Added replay of cursor move on DeleteChars action; added
  17618. calling Undo() again if a recorded cursor move is invalid (to
  17619. ensure that some action is performed on Undo)
  17620. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  17621. 2006-06-16 Jackson Harper <[email protected]>
  17622. * MdiClient.cs: Instead of just sizing maximized windows when
  17623. there is a resize we also have to adjust the Y of minimized
  17624. windows, so they stay pinned to the bottom of the mdi container.
  17625. - Eliminate separate tracking of the active control, we can just
  17626. get this from the controls collection.
  17627. - Paint the decorations for the newly activated titlebar so we get
  17628. a pretty blue bar.
  17629. * InternalWindowManager.cs:
  17630. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  17631. even if they are a tool window.
  17632. 2006-06-15 Peter Dennis Bartok <[email protected]>
  17633. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  17634. undo buffer, these can happen when text was deleted and the cursor
  17635. was recorded first. Since we will also have a recorded cursor
  17636. after the delete this is not an issue. (Fixes #78651)
  17637. 2006-06-14 Peter Dennis Bartok <[email protected]>
  17638. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  17639. instead properly track control states internally (allows us to
  17640. remove is_selected from Control)
  17641. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  17642. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  17643. whose width is not a multiple of 8.
  17644. 2006-06-13 Jackson Harper <[email protected]>
  17645. * MdiClient.cs: Only maximize the next child if the current one
  17646. is maximized.
  17647. 2006-06-13 Chris Toshok <[email protected]>
  17648. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  17649. modified. Also, guard against grid or grid_drawing being null in
  17650. Invalidate.
  17651. * DataGrid.cs: Reformat tons of getters/setters. In the
  17652. DataMember setter, just call SetNewDataSource instead of
  17653. duplicating some of its functionality. In SetNewDataSource, don't
  17654. check ListManager for null, since the property getter creates the
  17655. object if needed.
  17656. * DataGridTableStyle.cs: don't set TableStyle or call
  17657. SetDataGridInternal on the column here, it's done in
  17658. GridColumnStylesCollection.Add.
  17659. * GridColumnStylesCollection.cs: fix all the explicit interface
  17660. implementations to just call our methods. Nuke AddInternal() and
  17661. move the body of it to Add(). Also, add a call to
  17662. column.SetDataGridInternal to Add().
  17663. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  17664. base()+duplicate code. Also, use the Format property instead of
  17665. format to generate an Invalidate ala MS. Lastly, create the
  17666. textbox here, unconditionally.
  17667. (set_Format): call Invalidate.
  17668. (get_TextBox): no need to call EnsureTextBox.
  17669. (Commit): remove the message box.
  17670. (Edit) remove the call to EnsureTextBox.
  17671. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  17672. (EnterNullValue): no need to check textbox for null.
  17673. (HideEditBox): no need to check textbox for null.
  17674. (SetDataGridInColumn): add the textbox to the grid's controls.
  17675. (EnsureTextBox): nuke.
  17676. 2006-06-13 Jackson Harper <[email protected]>
  17677. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  17678. and redraw the buttons when needed. Unhook when the window is
  17679. unmaximized.
  17680. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  17681. needs this so that it can redraw its buttons when the menu is
  17682. repainted.
  17683. * InternalWindowManager.cs:
  17684. * Form.cs: The method order has changed for DrawMaximizedButtons,
  17685. so that it can be a PaintEventHandler.
  17686. 2006-06-13 Jackson Harper <[email protected]>
  17687. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  17688. window is activated and maximized, even if it wasn't before.
  17689. - When a new window is activated repaint the decorations of the
  17690. old one, so that it no longer has the Active "look" (the blue
  17691. titlebar).
  17692. * InternalWindowManager.cs: Open up CreateButtons to base classes
  17693. so they can recreate the buttons on state changes.
  17694. - If a window is maximized give it all three buttons
  17695. * MdiWindowManager.cs: Create the titlebar buttons when the state
  17696. is changed, this is needed because a toolwindow will not have all
  17697. three buttons until it is maximized.
  17698. 2006-06-13 Atsushi Enomoto <[email protected]>
  17699. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  17700. Fixed bug #78609.
  17701. 2006-06-12 Jackson Harper <[email protected]>
  17702. * KeysConverter.cs: Make sure we handle the Ctrl special case
  17703. if its the only key.
  17704. 2006-06-12 Jackson Harper <[email protected]>
  17705. * Theme.cs: Add a method to get the size of a managed window
  17706. toolbar button.
  17707. * InternalWindowManager.cs: Remove the ButtonSize property, this
  17708. should be retrieved from the theme.
  17709. * MdiWindowManager.cs: Get the button size from the theme
  17710. * ThemeWin32Classic.cs: Make the method to get the managed window
  17711. titlebar button size public.
  17712. - Handle the different button sizes of maximized toolwindows
  17713. (should match any maximized window).
  17714. - Get the titlebar height from the theme, not the WM (which gets
  17715. it from the theme).
  17716. 2006-06-12 Jackson Harper <[email protected]>
  17717. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  17718. event down to the mdi window manager.
  17719. - Expose some extra stuff to base classes
  17720. - Make sure to end the Capture on an NC Mouse up, so that we can
  17721. get double clicks properly, and the sizing doens't stick.
  17722. - When doing PointToClient contain it in the workable desktop
  17723. area, this prevents windows from changing size when the cursor is
  17724. pulled outside of the working area while sizing.
  17725. * MdiWindowManager.cs: When we get a double click maximize the
  17726. window.
  17727. - Reset the cursor after handling mode changes.
  17728. 2006-06-12 Peter Dennis Bartok <[email protected]>
  17729. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  17730. current desktop, instead of just assuming a 0, 0 origin. This
  17731. is needed for our internal window manager, to know the top
  17732. margin of the desktop
  17733. 2006-06-12 Chris Toshok <[email protected]>
  17734. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  17735. we need this to get rid of the selected background in the bool
  17736. column.
  17737. (CancelEditing): move the ConcedeFocus call to above the Abort
  17738. call. Also, set is_changing to false and invalidate the row
  17739. header if we were changing before.
  17740. (ProcessKeyPreviewInternal): remove, since noone outside this
  17741. class calls it anymore. Roll the code into ProcessKeyPreview.
  17742. (EndEdit): remove the internal version.
  17743. (InvalidateCurrentRowHeader): make private.
  17744. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  17745. Keys.Escape handling (and with it the last call to
  17746. DataGrid.EndEdit from outside the class.)
  17747. 2006-06-12 Chris Toshok <[email protected]>
  17748. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  17749. (OnKeyPress): set isedit to true.
  17750. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  17751. already handled by the grid.
  17752. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  17753. right. ugh.
  17754. (set_DataSource): SetDataSource always returns true, so stop
  17755. putting it in an if statement.
  17756. (EndEdit): get rid of some {}'s
  17757. (ProcessGridKey): return true in case Keys.Escape.
  17758. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  17759. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  17760. PositionChanged, stopped connecting to CurrentChanged.
  17761. (GetDataSource): simplify this a bunch.
  17762. (SetDataSource): change return type from bool to void.
  17763. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  17764. to this, and make sure we don't set ListManager.Position inside
  17765. set_CurrentCell.
  17766. (OnListManagerItemChanged): if we're passed an actual index,
  17767. redraw that row.
  17768. * CurrencyManager.cs (set_Position): don't call PullData here.
  17769. 2006-06-09 Jackson Harper <[email protected]>
  17770. * TreeNode.cs: Recalculate the visible order before doing the
  17771. Expand/Collapse Below calls, because those calls generate an
  17772. expose.
  17773. - Reduce calls to the TreeView property, which is mildly expensive
  17774. by using a local var.
  17775. * Form.cs: Layout the MDI child windows when creating the parent
  17776. form.
  17777. - Don't use the internal constructor anymore
  17778. * MdiClient.cs: use the parent form width/height (if available)
  17779. when laying out the child windows, we do this because the
  17780. mdiclient isn't docked yet when the initial layout is done.
  17781. - Don't need an internal constructor anymore.
  17782. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  17783. * FileDialog.cs: handle access errors when trying to create a folder
  17784. or changing to a directory. No need to initialize out parameters.
  17785. 2006-06-08 Alexander Olk <[email protected]>
  17786. * FileDialog.cs: Append a number when creating a new folder if the
  17787. folder already exists (use parenthesis instead of square brackets)
  17788. 2006-06-08 Alexander Olk <[email protected]>
  17789. * FileDialog.cs:
  17790. - Disabled registry support for windows and added better registry
  17791. error checking for other systems (need to investigate why it
  17792. works perfectly on my system)
  17793. - If a folder already exist show an error MessageBox instead of
  17794. trying to create an indexed name.
  17795. - Fixed a non intentional typo.
  17796. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  17797. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  17798. 2006-06-08 Alexander Olk <[email protected]>
  17799. * FileDialog.cs: When creating a new folder don't crash if the
  17800. folder already exists.
  17801. 2006-06-08 Alexander Olk <[email protected]>
  17802. * FileDialog.cs: Allmost a complete rewrite.
  17803. - added a "virtual" file system that handles the differences
  17804. between unix and windows file systems (especially the directory
  17805. structure). Moved most of the directory and file handling code
  17806. into the vfs.
  17807. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  17808. UnixFileSystem and FSEntry.
  17809. - Recently used folder/directory, size, location and used file names
  17810. (file name ComboBox) are now stored in the registry and get read
  17811. before the dialog shows up (fixes part 6 of bug #78446).
  17812. - Creation of new folders/directories is now possible (context menu
  17813. or ToolBar). Added TextEntryDialog for this that fills in the gap
  17814. until ListView.LabelEdit works.
  17815. - Fixed cursor handling (bug #78527) and focus handling for
  17816. PopupButtonPanel
  17817. - Various "Search in" ComboBox enhancements. The content of the
  17818. dropdown listbox now almost matches ms.
  17819. - Changed the behaviour when the user switches to SpecialFolder
  17820. Recent to show the ListView in View.Details.
  17821. - Beside using the ToolBar to change the View property of the
  17822. file ListView it is now possible to use the context menu too.
  17823. 2006-06-08 Alexander Olk <[email protected]>
  17824. * ComboBox.cs: Don't create a new ObjectCollection when an item
  17825. gets inserted. Just insert the item in the existing object_items
  17826. ArrayList.
  17827. 2006-06-08 Jackson Harper <[email protected]>
  17828. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  17829. that the treeview and root node checks are done also, this fixes a
  17830. regression i caused in the unit tests.
  17831. 2006-06-07 Wade Berrier <[email protected]>
  17832. * RichTextBox.cs: More ISO8859-1 -> unicode
  17833. 2006-06-07 Mike Kestner <[email protected]>
  17834. * ComboBox.cs : use items to hold highlight/selection so that
  17835. collection insertions don't require synchronization.
  17836. 2006-06-07 Jackson Harper <[email protected]>
  17837. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  17838. routine. We now always keep the sized edge at the cursor instead
  17839. of computing movement and adjusting rects. There is one buglet
  17840. with this method though when the cursor is moved over area that
  17841. the window can not expand too (such as the toolbars on the desktop).
  17842. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  17843. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  17844. here. Fixes crash on startup in AlbumSurfer.
  17845. 2006-06-07 Peter Dennis Bartok <[email protected]>
  17846. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  17847. values
  17848. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  17849. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  17850. statement to avoid calling XNextEvent which will block if another thread
  17851. took the event that we were expecting. Fixes bug #78605.
  17852. 2006-06-07 Mike Kestner <[email protected]>
  17853. * ListView.cs : isolated checkbox clicking from the selection logic.
  17854. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  17855. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  17856. * Form.cs: Check that the value passed to Form.DialogResult
  17857. is a valid enum value.
  17858. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  17859. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  17860. Computer'. Clicking it in the network view goes to 'My Computer'.
  17861. Added CIFS filesystem type. Display the mount point of filesystems.
  17862. Avoid duplicate mount points (happens for me with CIFS);
  17863. 2006-06-06 Jackson Harper <[email protected]>
  17864. * InternalWindowManager.cs: Draw the maximized windows buttons
  17865. when resizing.
  17866. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  17867. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  17868. all other dialogs. Fixes bug #78585.
  17869. 2006-06-06 Mike Kestner <[email protected]>
  17870. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  17871. Only invalidate checkbox on checkstate changes to avoid flicker.
  17872. * ListBox.cs : avoid unselect/select when clicking selected item.
  17873. avoid reselection flicker for already multiselected items.
  17874. Fixes #78382.
  17875. 2006-06-06 Jackson Harper <[email protected]>
  17876. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  17877. the parent form so that the menu is removed if needed.
  17878. 2006-06-06 Mike Kestner <[email protected]>
  17879. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  17880. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  17881. 2006-06-06 Mike Kestner <[email protected]>
  17882. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  17883. 2006-06-06 Jackson Harper <[email protected]>
  17884. * Control.cs: Use the property (instead of the field) to get the
  17885. default cursor so it is instantiated correctly.
  17886. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  17887. resizes so we need to manually repaint the window decorations here.
  17888. - Set the titlebar button locations as soon as they are created,
  17889. otherwise they are not set correctly on win32.
  17890. 2006-06-06 Chris Toshok <[email protected]>
  17891. * CurrencyManager.cs (set_Position): call PullData before
  17892. OnCurrentChanged.
  17893. (AddNew): after calling IBindingList.AddNew, update our
  17894. listposition, and call OnCurrentChanged/OnPositionChanged (without
  17895. calling PullData).
  17896. (OnCurrentChanged): remove the call to PullData from here.
  17897. (OnItemChanged): remove the call to PushData from here.
  17898. (OnPositionChanged): change the test from == null to != null to
  17899. match the other methods.
  17900. (ListChangedHandler): the grossest part of the patch. Implement
  17901. this such that it passes the unit tests in CurrencyManagerTest and
  17902. the output more or less matches that of MS's implementation.
  17903. 2006-06-06 Mike Kestner <[email protected]>
  17904. * ListView.cs : only update check state on single click.
  17905. * ThemeWin32Classic.cs : fix focus drawing for details view without
  17906. fullrowselect. Fixes #78454.
  17907. * XplatUIX11.cs : fix for double click emission.
  17908. 2006-06-05 Jonathan Chambers <[email protected]>
  17909. * PropertyGridView.cs : Applied Atsushi's patch to fix
  17910. font dialog bug (#78197).
  17911. 2006-06-05 Jackson Harper <[email protected]>
  17912. * TreeNode.cs: Compute the next node for expanding/collapsing
  17913. correctly. We now factor in nodes without a NextNode
  17914. correctly. (Fixes somes cases in nunit-gui).
  17915. * InternalWindowManager.cs: Set the bounds when updating the
  17916. virtual position of a tool window.
  17917. 2006-06-05 Chris Toshok <[email protected]>
  17918. * DataGrid.cs: rename cached_currencymgr to list_manager.
  17919. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  17920. some.
  17921. (CurrentRow, CurrentColumn): single accessors so we can make the
  17922. cursor movement code a lot easier to understand.
  17923. (CurrentRowIndex): implement this in terms of CurrentRow.
  17924. (BeginEdit): clean this up a bit.
  17925. (CancelEditing): sort out the is_editing/is_changing/is_adding
  17926. stuff a little.
  17927. (EndEdit): minor changes.
  17928. (OnKeyDown): add a comment about a (most likely) unnecessary
  17929. check.
  17930. (OnMouseDown): cancel editing when we click on a row header. And
  17931. use the CurrentRow setter, not CurrentCell.
  17932. (ProcessDialogKey): directly call ProcessGridKey.
  17933. (UpdateSelectionAfterCursorMove): factor out this common block of
  17934. code (it's used everywhere that we move the cursor by updating row
  17935. or column).
  17936. (ProcessGridKey): pretty substantial overhaul. Use the
  17937. CurrentRow/CurrentColumn properties to make the code a lot more
  17938. readable. Only use the CurrentCell property when we have to
  17939. modify both row and column at once. Tab behavior is still broken,
  17940. and Delete is untested.
  17941. (Select): if we have no selected rows, set selection_start to
  17942. @row.
  17943. (EditCurrentCell): rename EditCell this. It was only ever invoked
  17944. with CurrentCell as the arg, so drop the arg and rename it.
  17945. * DataGridColumnStyle.cs: clean up the constructors a little, and
  17946. drop CommonConstructor().
  17947. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  17948. actually get notified when the user hits it.
  17949. (ProcessKeyMessage): *substantially* simplify this method.
  17950. There's no reason (that I can see) for the textbox to be making
  17951. calls into the datagrid at all. Remove all of them but the ones
  17952. for Enter handling. those will take some more work.
  17953. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  17954. calling HideEditBox.
  17955. (HideEditBox): if we have an active textbox, render it invisible
  17956. without causing a re-layout of the datagrid.
  17957. 2006-06-05 Mike Kestner <[email protected]>
  17958. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  17959. collection changes by resetting it to Items[0]. Fixes #78587.
  17960. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  17961. * MessageBox.cs: if the height of the text is larger than the icon_size,
  17962. use that. Fixes bug #78575.
  17963. 2006-06-05 Jackson Harper <[email protected]>
  17964. * TreeView.cs: Fix line drawing when scrolling. To do this each
  17965. node is basically responsible for drawing its entire horizontal
  17966. area. When drawing a node it draws its parent node lines if
  17967. needed.
  17968. - Adjust the clip area to the viewport rectangle
  17969. - Fix Left/Right key handling to match MS. (It expand/collapses
  17970. and moves to parents/first child but does not move selection to
  17971. sibling nodes).
  17972. - Fix SetTop to work with new bound calculation code
  17973. - When scrollbars are no longer needed we need to reset scrolling
  17974. vars and recalculate the visible order so the redraw is correct
  17975. * TreeNode.cs: We can't expand/collapse nodes with no children.
  17976. 2006-06-03 John Luke <[email protected]>
  17977. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  17978. so the colors work without dev packages
  17979. 2006-06-02 Peter Dennis Bartok <[email protected]>
  17980. * Control.cs
  17981. - Select: Implemented to just use activate. Seems to match MS
  17982. behaviour closest. Documented to only do actual control walking
  17983. based on it's parameters if in a container control so I moved
  17984. the code there.
  17985. - Removed selection check logic from our internal Select() method
  17986. * ContainerControl.cs:
  17987. - Select: Moved selection logic from Control here, since MS documents
  17988. that containers obey the bool arguments. No longer calling base
  17989. 2006-06-02 Jackson Harper <[email protected]>
  17990. * TreeView.cs: If the selected node isn't changed when we get
  17991. focus update the previously selected node so that we see the
  17992. selection box.
  17993. 2006-06-02 Mike Kestner <[email protected]>
  17994. * ComboBox.cs: restructure grab and general mouse event handling.
  17995. Make the composite control raise mouse events like it was a single
  17996. control for leaves/enters/motion/up/down events. fix dropdown list
  17997. coordinate mangling and refactor it into the scrollbar subclass to
  17998. reduce code duplication. Fixes #78282 #78361 and #78457.
  17999. 2006-06-02 Mike Kestner <[email protected]>
  18000. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  18001. automatically in the Control.WndProc.
  18002. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  18003. * FileDialog.cs: fix crash when running SharpChess, which sets the
  18004. FilterIndex to 2 with only one Filter.
  18005. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  18006. * ToolBar.cs: add SizeSpecified property.
  18007. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  18008. try to figure out our real size, otherwise fallback to what the
  18009. container says.
  18010. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18011. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  18012. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  18013. up the event
  18014. 2006-06-01 Mike Kestner <[email protected]>
  18015. * ListView.cs: revamp the focus management in ListView. It still
  18016. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  18017. better than not handling focus at all. Will revisit when pdb feels
  18018. the general focus handling is solid. Fixes #78526.
  18019. 2006-06-01 Jackson Harper <[email protected]>
  18020. * TreeView.cs: Set the default border style in the constructor.
  18021. - Move painting to use OnPaintInternal instead of capturing
  18022. WM_PAINT, this is the correct way of doing things
  18023. - UpdateBelow shouldn't invalidate the scrollbar area
  18024. - Cap the top on update below in case the node was above the top
  18025. of the viewport rectangle.
  18026. - ExpandBelow and Collapse below need to obey Begin/End Update.
  18027. * TreeNode.cs: Make is_expanded internal so the treenode
  18028. collection can change it without firing the whole event chain.
  18029. * TreeNodeCollection.cs: When clearing all the child nodes make
  18030. sure to recalc the visible order.
  18031. - Improve algo for remove the top node
  18032. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18033. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  18034. SendMessage directly calling window procedures, which in turn might
  18035. call SetFocus()
  18036. 2006-06-01 Peter Dennis Bartok <[email protected]>
  18037. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  18038. has focus (works around X11 sending a FocusIn after our SetFocus)
  18039. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  18040. 2006-06-01 Alexander Olk <[email protected]>
  18041. * Mime.cs: Fix for the NET_2_0 build.
  18042. NameValueCollection needs StringComparer now.
  18043. 2006-05-31 Chris Toshok <[email protected]>
  18044. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  18045. return (via an out parameter) the starting X of the column.
  18046. (UpdateVisibleColumn): track change to FromPixelToColumn.
  18047. (HitTest): add a ColumnResize case here.
  18048. (DrawResizeLine): new function, probably poorly named.
  18049. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  18050. only need to keep one reference.
  18051. (set_ListManager): same.
  18052. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  18053. Also, add support for HitTestType.ColumnResize.
  18054. (OnMouseMove): add column resize behavior here, and change the
  18055. cursor to the correct one as we move around the datagrid.
  18056. (OnMouseUp): terminate the column resize if we're resizing.
  18057. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  18058. for the current cell.
  18059. (ConnectListManagerEvents): use cached_currencymgr.
  18060. (DisconnectListManagerEvents): fill this in, using
  18061. cached_currencymgr.
  18062. (SetCurrentCell): remove cached_currencymgr_events handling.
  18063. (SetDataMember): only call DisconnectListManagerEvents if
  18064. cached_currencymgr is != null.
  18065. (SetDataSource): same.
  18066. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  18067. cached_currencymgr.
  18068. 2006-05-31 Jackson Harper <[email protected]>
  18069. * BindingManagerBase.cs: Remove somedebug code that creeped into
  18070. SVN.
  18071. * TreeNode.cs: We get the indent level dynamically right now, so
  18072. don't track it as a member.
  18073. * TreeNodeCollection.cs: Make sure all nodes added to the list
  18074. have parents, treeviews/topnodes setup properly.
  18075. - Don't attempt to track indent level.
  18076. 2006-05-30 Jackson Harper <[email protected]>
  18077. * BindingContext.cs: Create the currency manager tables here.
  18078. This allows us to more easily create null tables (when bad data
  18079. members are used), and more easily create related currency
  18080. managers.
  18081. * CurrencyManager.cs: All the table creation stuff is done by the
  18082. binding context now.
  18083. - Current should throw an exception if listposition is -1.
  18084. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  18085. been bound yet.
  18086. 2006-05-30 Mike Kestner <[email protected]>
  18087. * ListView.cs: allow reexpansion of zero-width column headers.
  18088. Fixes #78528.
  18089. 2006-05-28 Chris Toshok <[email protected]>
  18090. * CurrencyManager.cs (get_Current): after the late binding
  18091. listposition = -1 fix, we need to guard against it here and return
  18092. null, otherwise we raise an exception (which is swallowed
  18093. elsewhere, and breaks datagrid databinding.)
  18094. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18095. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  18096. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  18097. 2006-05-26 Jackson Harper <[email protected]>
  18098. * ControlPaint.cs:
  18099. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  18100. values, it's faster and it's all we care about (we don't care if
  18101. the names aren't equal).
  18102. * KeyboardLayouts.cs: Eliminate some dead code.
  18103. - Lazy init things
  18104. * X11Keyboard.cs: Lazy init keyboard detection.
  18105. - Cleanup access modifiers a little.
  18106. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18107. * XplatUIX11.cs: Once again, attempting to get layout just right.
  18108. 2006-05-26 Peter Dennis Bartok <[email protected]>
  18109. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  18110. the sizes of each link section, that will result in sizes that
  18111. match DrawString's layout (Fixes #78391)
  18112. 2006-05-27 Alexander Olk <[email protected]>
  18113. * FileDialog.cs: If AddExtension property is true autocomplete the
  18114. extensions in SaveFileDialog correctly. Fixes bug #78453.
  18115. Set MyNetwork and MyComputer to "C:\" for windows. This should
  18116. fix part 8 of bug #78446 for now.
  18117. 2006-05-26 Chris Toshok <[email protected]>
  18118. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  18119. invalidate the current row header if we need to, but presumably
  18120. we'll invalidate the row corrsponding to the bounds or
  18121. editingControl.
  18122. (GridHScrolled): switch back to this method, as it's part of the
  18123. public api. *sigh*.
  18124. (GridVScrolled): same.
  18125. (OnMouseWheel): hack up something that more or less works. Call
  18126. GridHScrolled/GridVScrolled directly, instead of duplicating much
  18127. of their code here.
  18128. (EnsureCellVisibility): reinstate a bunch of this code, since we
  18129. can't just set the scrollbar Value and expect to do all the work
  18130. in the ValueChanged handler. Also, Call Update() after scrolling
  18131. in one direction so the other XplatX11.ScrollWindow call has the
  18132. proper stuff in the proper places.
  18133. (EditCell): set is_editing to true before calling .Edit.
  18134. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  18135. don't bother comparing first.
  18136. (OnKeyPress): call grid.ColumnStartedEditing before calling
  18137. base.OnKeyPress. this will set is_changing and invalidate the row
  18138. header if necessary.
  18139. (ProcessKeyMessage): for WM_CHAR messages, call
  18140. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  18141. and WM_KEYDOWN.
  18142. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  18143. it's done in the DataGrid.
  18144. (NextState): call grid.ColumnStartedEditing, which takes care of
  18145. invalidating the row header (and setting is_changing).
  18146. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  18147. here. it's done in the DataGrid.
  18148. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18149. * Control.cs: allow changing the cursor when the mouse position is
  18150. out of bounds but Capture is set.
  18151. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  18152. linklabel but released somewhere else.
  18153. 2006-05-25 Jackson Harper <[email protected]>
  18154. * TreeView.cs: When we get focus if there is no selected node make
  18155. it the top node
  18156. - Remove some uneeded setup code from Draw.
  18157. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  18158. a new node is inserted make the new node the top.
  18159. * XplatUIX11.cs:
  18160. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  18161. be used (should be faster).
  18162. 2006-05-25 Chris Toshok <[email protected]>
  18163. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  18164. problem with the last commit.
  18165. 2006-05-25 Chris Toshok <[email protected]>
  18166. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  18167. need the invalidate call here, while scrolling right-to-left via
  18168. the left arrow key (i.e. moving the editing cell while scrolling).
  18169. * DataGrid.cs (.ctor): remove the initialization of
  18170. ctrl_pressed/shift_pressed. We no longer track them using key
  18171. up/down handlers, but by using Control.ModifierKeys. Also, switch
  18172. to using ValueChanged handlers on the scrollbars instead of
  18173. Scrolled event handlers. This simplifies a bunch of the scrolling
  18174. code.
  18175. (GridHValueChanged): rename from GridHScrolled, and change it to
  18176. work with the new event args.
  18177. (GridVValueChanged): same.
  18178. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  18179. (OnMouseWheel): actually scroll the datagrid. Don't change the
  18180. selected cell.
  18181. (ProcessGridKey): correct all the keyboard navigation stuff I
  18182. could find. Ctrl up/down/left/right/home/end work now.
  18183. (EnsureCellVisibility): correct method name spelling. Also,
  18184. simplify this a touch by not explicitly calling the
  18185. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  18186. scrollbar value.
  18187. (OnKeyUpDG): no need for this method now.
  18188. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18189. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  18190. Fixes bug #78392.
  18191. 2006-05-25 Chris Toshok <[email protected]>
  18192. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  18193. r61019.
  18194. 2006-05-25 Peter Dennis Bartok <[email protected]>
  18195. * Application.cs: Moved setting of is_modal and closing to before
  18196. we create the control, to allow the event handlers called as a
  18197. result of creation affect closing. Also removed Gonzalo's previous
  18198. change to setting DialogResult, the behaviour has been moved to
  18199. Form.ShowDialog()
  18200. * Form.cs:
  18201. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  18202. handle it instead
  18203. - ShowDialog(): If no dialog result is set, we need to return Cancel
  18204. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  18205. the close is cancelled
  18206. 2006-05-25 Jackson Harper <[email protected]>
  18207. * StatusBar.cs: We only need to update the sizes of the other
  18208. panels when we have auto size contents. Also we are only updating
  18209. the contents of the panel, not the borders, so compensate for the
  18210. border width (TODO: get this width from the theme somehow).
  18211. * TreeView.cs: Scrollable is true by default
  18212. - Use invalidate instead of refresh where needed
  18213. - Factor the scrollable value into scrollbar updating
  18214. - Update the scrollbars if the Scrollable property is altered
  18215. - Update the selected node if its ImageIndex is changed
  18216. - Handle null nodes in UpdateNode (mainly so we don't have to
  18217. check if selected is null when updating it
  18218. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  18219. are factored into the visible count
  18220. - Use VisibleCount for clarity in the code
  18221. - When the font is changed we need to recurse through all the
  18222. nodes and invalidate their sizes
  18223. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  18224. * Application.cs: set the DialogResult to fixed when the main form is
  18225. hidden or destroyed while being modal.
  18226. 2006-05-25 Miguel de Icaza <[email protected]>
  18227. * Theme.cs: Use Tangoified messagebox icons.
  18228. (GetSizedResourceImage): Also cope with width = 0 and do not
  18229. trigger a warning in that case (0 means "give me your icon from
  18230. the resouce, no special size needed).
  18231. 2006-05-25 Peter Dennis Bartok <[email protected]>
  18232. * Application.cs: Leave runloop if the the main modal form is
  18233. hidden (fixes #78484)
  18234. 2006-05-25 Atsushi Enomoto <[email protected]>
  18235. * BindingContext.cs : reject null datasource in Contains() and
  18236. Item[].
  18237. * CurrencyManager.cs : check data_member validity when data_source
  18238. is dataset. When it is late binding, the initial position is -1.
  18239. 2006-05-24 Jackson Harper <[email protected]>
  18240. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  18241. inserted nodes that aren't visible. This changes the
  18242. max_visible_order which confuses scrollbar settings.
  18243. - Use the enumerator to get the prev node instead of duplicating
  18244. code.
  18245. * TreeView.cs: Use new method for setting scrollbar values
  18246. - Don't set the bounds every time the scrollbar is updated
  18247. - When updating below the root node use an invalidate instead of a
  18248. refresh to prevent the child controls (scrollbars) from being
  18249. refreshed. (UpdateBelow still needs to be reworked anyways).
  18250. - Reenable SetBottom now that visible orders are set correctly,
  18251. added some debug code incase we ever get bad values there again.
  18252. - Set the scrollbar max to 2 less then the max value, this
  18253. compensates for the max value being one above the node count, and
  18254. for scrollbars adding one extra "notch".
  18255. - When drawing image nodes if there is an imagelist we draw the
  18256. first image in the list if the supplied image index is out of the
  18257. image list's bounds.
  18258. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18259. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  18260. we receive a size change from the WM (Fixes #78503)
  18261. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18262. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  18263. rectangle (Fixes #78501)
  18264. 2006-05-24 Peter Dennis Bartok <[email protected]>
  18265. * ButtonBase.cs:
  18266. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  18267. as a bitfield.
  18268. - Fixed MouseMove to no longer switch pressed state unless the left
  18269. mouse button is pressed. Atsushi provided the original patch (#78485)
  18270. 2006-05-24 Jackson Harper <[email protected]>
  18271. * ScrollBar.cs: New internal methods that allow us to change a
  18272. couple values on the scrollbar (the most common case is maximum
  18273. and large change) without getting multiple invalidates.
  18274. 2006-05-24 Chris Toshok <[email protected]>
  18275. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  18276. (Edit): save off the original state in oldState, and set
  18277. grid.is_editing to true.
  18278. (OnKeyDown): abort editing if escape is pressed. also, call
  18279. NextState if space is pressed.
  18280. (OnMouseDown): call NextState.
  18281. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  18282. here. Also, only invalidate the row header once (on the initial
  18283. is_changing switch) to save on redraws.
  18284. 2006-05-24 Chris Toshok <[email protected]>
  18285. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  18286. if the value in the cell is different than it was before. This
  18287. keeps us from triggering a layout when we move around a datarid
  18288. with a highlighted cell.
  18289. (Edit): suspend layout when creating/positining the text box, and
  18290. resume passing false so we don't ever actually re-layout.
  18291. (ReleaseHostedControl): same.
  18292. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  18293. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  18294. control-key sequences should go to the datagrid - remove that
  18295. lock. Also, modify the conditions under which we move between
  18296. cells when moving the cursor within a cell, and remove the "this"
  18297. and "base" from field accesses. We weren't even consistent, given
  18298. they all were in the base class.
  18299. 2006-05-24 Atsushi Enomoto <[email protected]>
  18300. * Binding.cs : (.ctor)
  18301. An obvious NRE fix for BindingTest.CtorNullTest().
  18302. 2006-05-23 Chris Toshok <[email protected]>
  18303. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  18304. them between lines. This fixes some quirks editing cells in the
  18305. datagrid.
  18306. 2006-05-23 Jackson Harper <[email protected]>
  18307. * TreeView.cs: Use begin/end update when doing expand/collapse all
  18308. so that we don't get flicker on the scrollbar.
  18309. 2006-05-23 Jackson Harper <[email protected]>
  18310. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  18311. treenode calculations to be independant of the painting code. To
  18312. do this nodes track a visible order which is calculated by the
  18313. treeview.
  18314. - Call new methods for expanding/collapsing nodes. These methods
  18315. use scrollwindow so we don't have to update everything below the
  18316. node.
  18317. * TreeView.cs: Refactored drawing and scrolling code. We don't
  18318. need to update nodes when drawing anymore or calculate scrollbar
  18319. stuff.
  18320. - Added new methods for expanding/collapsing nodes. These methods
  18321. use ScrollWindow so as to not have to redraw all the nodes below.
  18322. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  18323. we add/remove nodes or sort.
  18324. - Handle removing the selected and the top node properly.
  18325. 2006-05-23 Chris Toshok <[email protected]>
  18326. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  18327. maybe this should actually happen in the datagrid code?
  18328. (EndEdit): no need to invalidate anything, given that
  18329. ReleaseHostedControl causes the datagrid to relayout, which
  18330. invalidates everything anyway.
  18331. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  18332. in SetCurrentCell).
  18333. (set_SelectionBackColor): call InvalidateSelection instead of
  18334. Refresh.
  18335. (set_SelectionForeColor): same.
  18336. (BeginEdit): Flesh this out a bit.
  18337. (CancelEditing): only do any of this if we're editing/adding.
  18338. (EndEdit): same.
  18339. (OnMouseDown): there's no need to cancel editing here, it's done
  18340. in SetCurrentCell.
  18341. (SetCurrentCell): only invalidate the current row header if it's a
  18342. different row than the new one.
  18343. (ShiftSelection): fix this to work like MS does.
  18344. (ResetSelection): factor out the invalidation of selected_rows to
  18345. InvalidateSelection.
  18346. (SetDataSource): cancel any editing that's going on.
  18347. * DataGridColumnStyle.cs
  18348. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  18349. call the non-interface version.
  18350. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  18351. header rectangle with the clip rectangle so we don't redraw the
  18352. entire header for just a small area. Gets rid of the last flicker
  18353. when horizontally scrolling.
  18354. (DataGridPaintRow): same.
  18355. 2006-05-23 Mike Kestner <[email protected]>
  18356. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  18357. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  18358. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  18359. Critical bug report.
  18360. 2006-05-23 Peter Dennis Bartok <[email protected]>
  18361. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  18362. and this fixes #78493
  18363. 2006-05-23 Miguel de Icaza <[email protected]>
  18364. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  18365. size is not found.
  18366. * FileDialog.cs: Do not change the background for the side bar as
  18367. it wont work nicely with the theme, and also reduces the artifacts
  18368. in rendering the icons (which I want to fix too).
  18369. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  18370. resources, not resgen resources.
  18371. (PlatformDefaultHandler): Pull images using the new API.
  18372. 2006-05-23 Peter Dennis Bartok <[email protected]>
  18373. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  18374. a reference to the hwnd and will not remove it unless there are
  18375. no pending exposures (fixes #78341)
  18376. * XplatUI.cs: Improved debug
  18377. 2006-05-23 Atsushi Enomoto <[email protected]>
  18378. * MenuAPI.cs : don't handle OnClick event when it was not the left
  18379. button. Fixed bug #78487.
  18380. 2006-05-23 Mike Kestner <[email protected]>
  18381. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  18382. prefer submenus to the top menu for item lookup, to avoid popping down
  18383. top-row items.
  18384. 2006-05-23 Alexander Olk <[email protected]>
  18385. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  18386. Graphics.FillRectangle as the visual results are really bad (even
  18387. on win). We now draw perfect arrows (and perfect shadows when the
  18388. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  18389. Pen.DashPattern to draw the dots of each line.
  18390. 2006-05-22 Alexander Olk <[email protected]>
  18391. * FileDialog.cs: Update the filename combobox when navigating through
  18392. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  18393. 2006-05-22 Mike Kestner <[email protected]>
  18394. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  18395. Fixes #78463.
  18396. 2006-05-22 Mike Kestner <[email protected]>
  18397. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  18398. requests. Fix a misspelled parameter and a copy paste exception error
  18399. in Select.
  18400. 2006-05-22 Peter Dennis Bartok <[email protected]>
  18401. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  18402. to get the same width/height (5/13) on X11 as the default font has on
  18403. win32. This means that our DefaultFont emSize is smaller than the
  18404. the MS SWF equivalent (even thought the width/height stays the same)
  18405. 2006-05-20 Jackson Harper <[email protected]>
  18406. * MdiClient.cs:
  18407. * MdiWindowManager.cs:
  18408. * InternalWindowManager.cs: Make sure to use the border width from
  18409. the theme.
  18410. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  18411. * PrintDialog.cs: Implements printer details
  18412. 2006-05-19 Alexander Olk <[email protected]>
  18413. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  18414. Fixes part 1 and 2 of bug #78446
  18415. 2006-05-19 Peter Dennis Bartok <[email protected]>
  18416. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  18417. instead of sticking to the first ever calculated value
  18418. 2006-05-19 Mike Kestner <[email protected]>
  18419. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  18420. PointToClient, since Capture is set. Fixes #78344.
  18421. 2006-05-19 Mike Kestner <[email protected]>
  18422. * ListView.cs: match MS behavior in Details view where items are not
  18423. drawn if Columns.Count == 0.
  18424. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  18425. Use a separate pen to draw the check, since changing the width affects
  18426. the box as well. Fixes #78454.
  18427. 2006-05-18 Miguel de Icaza <[email protected]>
  18428. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  18429. exception should throw the name of the invalid argument.
  18430. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  18431. there are no files listed.
  18432. 2006-05-18 Jackson Harper <[email protected]>
  18433. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  18434. up.
  18435. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18436. * Control.cs: Brought back our old UpdateZOrder method as a private
  18437. function and switched our calls from UpdateZOrder to the new one.
  18438. This fixes the Paint.Net canvas disappearing bug.
  18439. 2006-05-18 Jackson Harper <[email protected]>
  18440. * Theme.cs:
  18441. * ThemeWin32Classic.cs:
  18442. * InternalWindowManager.cs: Move the drawing into the theme,
  18443. expose everything the theme should need from the window manager.
  18444. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18445. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  18446. from the call to NativeWindow to avoid walking up the parent chain
  18447. further than needed (speeds up setting cursors and avoids setting
  18448. the wrong cursor if a parent has another cursor defined)
  18449. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  18450. the icon as hotspot, not what's contained as hotspot in the icon
  18451. file. This fixes the perceived drawing offset seen with Paint.Net
  18452. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18453. * XplatUIX11.cs:
  18454. - Store the calculated rectangle in Hwnd object and use it when
  18455. setting the client size
  18456. - Force Toolwindows to always be type Dock, to ensure they're on top
  18457. 2006-05-18 Mike Kestner <[email protected]>
  18458. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  18459. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  18460. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  18461. Substantial refactoring to remove confusing nested classes. Coding
  18462. standard and Get+Set->property refactorings. Shift to index based
  18463. highlighting in ComboListBox instead of constantly using IndexOf and
  18464. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  18465. in FileDialog growth. Draw borders manually since Simple mode needs
  18466. to look like two independent controls. Make listbox border
  18467. conditional to DropDownStyle. Improved OwnerDraw support.
  18468. 2006-05-18 Sebastien Pouliot <[email protected]>
  18469. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  18470. Don't set the disposed graphics to null, so we can throw the "right"
  18471. exception if the graphics is reused later (added a flag to avoid
  18472. double disposing). Some behaviours are different under 2.0 and are
  18473. filled under bug #78448.
  18474. 2006-05-18 Peter Dennis Bartok <[email protected]>
  18475. * Control.cs: When double-buffering is enabled, we need to reset
  18476. our graphics context between paint calls. Otherwise, any
  18477. transformations and other alterations on the context will
  18478. become cumulative (#77734)
  18479. 2006-05-18 Mike Kestner <[email protected]>
  18480. * ListView.cs: do focused item selection like MS on clicks.
  18481. Rework focus handling for ItemControl so LostFocus invalidates as
  18482. well.
  18483. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  18484. the ListView ItemControl has focus.
  18485. 2006-05-17 Peter Dennis Bartok <[email protected]>
  18486. * XplatUIX11.cs: If client_window ends up being width or height zero
  18487. due to border settings, move it off window inside whole_window (#78433)
  18488. 2006-05-17 Alexander Olk <[email protected]>
  18489. * Mime.cs: Shrink the mime file cache correctly.
  18490. 2006-05-17 Alexander Olk <[email protected]>
  18491. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  18492. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18493. * XplatUIX11.cs (AddExpose): More sanity checks
  18494. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18495. * XplatUIX11.cs:
  18496. - AddExpose: Don't add expose ranges outside the size of our
  18497. window
  18498. - Cast opacity values to Int32 to avoid crashes with certain
  18499. values
  18500. - Added disabled code paths that protect against illegal cross-
  18501. thread painting (Developers.exe)
  18502. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18503. * ProgressBar.cs: Invalidate the control when it's resized
  18504. since block size is based on control size. (#78388)
  18505. 2006-05-16 Miguel de Icaza <[email protected]>
  18506. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  18507. of setting the incoming argument to the "reset" value, we set the
  18508. this.datamember to string.empty (before we were invalidating the
  18509. incoming data).
  18510. Fixes 78420
  18511. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18512. * Form.cs: Only apply transparency settings after the form
  18513. is created. (Fixes #77800)
  18514. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18515. * ApplicationContext.cs: Grab the HandleDestroyed event so
  18516. we know when to fire OnMainFormClosed
  18517. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18518. * Application.cs: Introduced sub-class to allow tracking of
  18519. threads and centralized triggering of the event mess for
  18520. ThreadExit, AppExit, etc.. (#76156)
  18521. 2006-05-16 Alexander Olk <[email protected]>
  18522. * MimeIcon.cs:
  18523. - Do not return a null icon index value for a mime subclass.
  18524. Instead try the main mime type class too.
  18525. - Seems that some newer distributions don't have a link to some
  18526. gnome default icons anymore. So check the default gnome dir too.
  18527. 2006-05-16 Jackson Harper <[email protected]>
  18528. * MdiClient.cs: Don't paint the parent background image if we have
  18529. our own background image.
  18530. 2006-05-16 Peter Dennis Bartok <[email protected]>
  18531. * Control.cs:
  18532. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  18533. controls, all filled controls are supposed to overlap (#78080)
  18534. - UpdateZOrder is supposed to update the control's z-order in the
  18535. parent's z-order chain. Fixed to behave like that
  18536. - BringToFront: Removed obsolete code
  18537. - SendToBack: Simplyfied
  18538. - SetChildIndex: Trigger layout calculations when Z-order changes
  18539. since layout is done by z-order
  18540. 2006-05-16 Chris Toshok <[email protected]>
  18541. [ fixes bug #78410 ]
  18542. * DataGrid.cs (set_AlternatingBackColor): use
  18543. grid_drawing.InvalidateCells instead of Refresh().
  18544. (set_BackColor): call grid_drawing.InvalidateCells.
  18545. (set_BackgroundColor): use Invalidate instead of Refresh.
  18546. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  18547. invalidate the cell area.
  18548. 2006-05-15 Chris Toshok <[email protected]>
  18549. [ fixes bug #78011 ]
  18550. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  18551. on to DataGridPaintRow.
  18552. (DataGridPaintRow): take a clip argument, and only draw the cells
  18553. which intersect it. same with the not_usedarea.
  18554. * Theme.cs (DataGridPaintRow) add @clip parameter.
  18555. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  18556. XplatUI.ScrollWindow.
  18557. (ScrollToRow): same.
  18558. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  18559. with last column which was causing a gray swath to appear with the
  18560. XplatUI.ScrollWindow code.
  18561. 2006-05-15 Chris Toshok <[email protected]>
  18562. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  18563. use XplatUI.ScrollWindow.
  18564. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  18565. 2006-05-15 Peter Dennis Bartok <[email protected]>
  18566. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  18567. 2006-05-15 Peter Dennis Bartok <[email protected]>
  18568. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  18569. file since there are no equivalent X11 cursors
  18570. 2006-05-15 Atsushi Enomoto <[email protected]>
  18571. * MonthCalendar.cs : DateTimePicker should reflect selected date
  18572. on mouse*up*, not mouse*down*. Fixed originally reported part of
  18573. bug #76474.
  18574. 2006-05-15 Atsushi Enomoto <[email protected]>
  18575. * TabControl.cs : When argument index is equal or more than tab
  18576. count, just ignore. Fixed bug #78395.
  18577. 2006-05-15 Peter Dennis Bartok <[email protected]>
  18578. * Control.cs: Dispose all child controls when control is diposed (#78394)
  18579. 2006-05-14 Alexander Olk <[email protected]>
  18580. * ColorDialog.cs: Finally it is possible to select the color with
  18581. the text boxes
  18582. 2006-05-14 Alexander Olk <[email protected]>
  18583. * PrintDialog.cs: Fix typo
  18584. 2006-05-14 Alexander Olk <[email protected]>
  18585. * PrintDialog.cs: PrintDialog is not resizable
  18586. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  18587. color. Made some ToolBar drawing methods protected virtual.
  18588. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  18589. * PrintDialog.cs: Implementation of the PrintDialog
  18590. 2006-05-12 Chris Toshok <[email protected]>
  18591. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  18592. thumb, instead use MoveThumb. This has the side effect of making
  18593. most of the other thumb moving machinery use MoveThumb as well.
  18594. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  18595. need to actually invalidate the rectangle where the new thumb will
  18596. go.
  18597. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  18598. We force an Update() after, so it's not as fast as it could be,
  18599. but at least there's zero flicker and no droppings.
  18600. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  18601. (UpdateThumbPos): add another argument (dirty), which says whether
  18602. or not to calculate/add dirty regions which we later invalidate.
  18603. For cases where we know we're going to use MoveThumb, we pass
  18604. false for this. Otherwise, pass true.
  18605. 2006-05-12 Jackson Harper <[email protected]>
  18606. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  18607. the status bar.
  18608. 2006-05-12 Peter Dennis Bartok <[email protected]>
  18609. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  18610. and GetClipRegion methods and UserClipWontExposeParent property.
  18611. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  18612. overriding UserClipWontExposeParent property, setting to false, since
  18613. Win32 handles the required expose messages to draw our clipped parent
  18614. areas internally
  18615. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  18616. PaintEventStart to set the user clip region if set.
  18617. * Control.cs:
  18618. - Now internally tracking the Region for the control since we need to
  18619. store it if the handle is not yet created and only set it when it
  18620. becomes created. Before setting the region forced handle creation
  18621. - Added code to draw the parents underneath a user-clipped region
  18622. * Hwnd.cs: Added UserClip property
  18623. 2006-05-12 Chris Toshok <[email protected]>
  18624. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  18625. (set_Maximum): same.
  18626. (set_Minimum): same.
  18627. (set_SmallChange): same.
  18628. (OnMouseUpSB): remove the call to refresh when releasing the
  18629. thumb. We shouldn't need it.
  18630. 2006-05-12 Miguel de Icaza <[email protected]>
  18631. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  18632. AutoSize set to None, we do not need to relayout everything, we
  18633. just need to invalidate the current region.
  18634. (Draw): Do not draw the entire ClientArea, just redraw the
  18635. clip area being passed.
  18636. * MdiClient.cs: Make MdiClient constructor with the Form argument
  18637. internal.
  18638. 2006-05-12 Jackson Harper <[email protected]>
  18639. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  18640. parents background image, but strangely not their own.
  18641. - (DrawStatusBarPanel): Take into account horizontal alignment
  18642. when drawing the strings and icons.
  18643. 2006-05-12 Mike Kestner <[email protected]>
  18644. * ListBox.cs: avoid invalidations for focus when the collection is
  18645. empty.
  18646. 2006-05-12 Chris Toshok <[email protected]>
  18647. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  18648. invalidate the entire thumb area. Call InvalidateDirty which
  18649. limits the redraw to the thumb itself and surrounding pixels.
  18650. * XplatUIX11.cs (ScrollWindow): optimize copying.
  18651. 2006-05-12 Chris Toshok <[email protected]>
  18652. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  18653. Figure out the positioning/layout in a single pass instead of
  18654. multiple recursive invocations. Speeds up the initial display of
  18655. the data grid. Also, make many things private that were
  18656. originally public but unused outside this class.
  18657. 2006-05-11 Jackson Harper <[email protected]>
  18658. * MdiClient.cs: Improved layout code.
  18659. 2006-05-11 Jonathan Chambers <[email protected]>
  18660. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  18661. not SelectedObject.
  18662. 2006-05-11 Chris Toshok <[email protected]>
  18663. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  18664. union of that will always be {0,0,width,height}.
  18665. 2006-05-11 Jackson Harper <[email protected]>
  18666. * Form.cs: Match MS's DefaultSize for forms (they must have
  18667. changed the size in sp2).
  18668. 2006-05-11 Atsushi Enomoto <[email protected]>
  18669. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  18670. 2006-05-11 Atsushi Enomoto <[email protected]>
  18671. * TextControl.cs : Fixed bug #78109. This incorrect position
  18672. comparison caused crash on automatic line split.
  18673. * TextBoxBase.cs : reduce duplicate code.
  18674. 2006-05-10 Jackson Harper <[email protected]>
  18675. * MdiClient.cs: Active form is only sent to the back when using
  18676. the Next form functionality, when a form is clicked the current
  18677. active shouldn't be sent to the back.
  18678. - Layout the mdi windows when the container is first made visible.
  18679. * Form.cs: Give the MdiClient a ref to the containing form when we
  18680. create it.
  18681. 2006-05-10 Atsushi Enomoto <[email protected]>
  18682. * LinkLabel.cs : link_font could be uninitialized, so populate one
  18683. before actual use. Fixed bug #78340.
  18684. 2006-05-10 Atsushi Enomoto <[email protected]>
  18685. * XplatUIX11.cs : clipboard format native value is IntPtr.
  18686. Fixed bug #78283.
  18687. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18688. * Control.cs:
  18689. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  18690. which is passed up the parent chain by DefWndProc
  18691. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  18692. to DefWndProc (#77956)
  18693. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  18694. 2006-05-10 Jackson Harper <[email protected]>
  18695. * MdiClient.cs: We need to remove the controls from the mdi
  18696. collection, when we close the window.
  18697. * MdiWindowManager.cs: Special handling of closing mdi windows.
  18698. * InternalWindowManager.cs: Make the close method virtual so the
  18699. mdi window manager can handle it specially.
  18700. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  18701. * DataGrid.cs:
  18702. - Recalculate grid when the data source has changed
  18703. - Matches styles provided by user from all data sources types
  18704. * DataGridTableStyle.cs: For columns that provided by the user set the
  18705. with the preferred value is there was unassigned.
  18706. * CurrencyManager.cs: throw OnItemChanged event
  18707. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18708. * PictureBox.cs: Don't animate until handle is created. Start animation
  18709. when handle is created.
  18710. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18711. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  18712. current codebase.
  18713. * XEventQueue.cs: We don't need to provide the extra info
  18714. 2006-05-10 Jackson Harper <[email protected]>
  18715. * MdiClient.cs: If the mdi clients parent form has a background
  18716. image set, we draw that background image for the mdi area's
  18717. background.
  18718. 2006-05-10 Peter Dennis Bartok <[email protected]>
  18719. * TextBoxBase.cs: Set IBeam cursor (#78347)
  18720. 2006-05-10 Mike Kestner <[email protected]>
  18721. * ToolBar.cs: fix some text padding issues with ButtonSize
  18722. calculation. Update the default size to match MS documentation.
  18723. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  18724. button size. Fixes #78296.
  18725. 2006-05-10 Mike Kestner <[email protected]>
  18726. * ListBox.cs: use is_visible for scrollbar positioning in case the
  18727. control isn't on screen yet. Fix off by one with Right vs Width
  18728. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  18729. 2006-05-10 Jackson Harper <[email protected]>
  18730. * X11Dnd.cs: Drop to a control with another control on top of it.
  18731. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  18732. be modified in click handlers. TODO: Look for similar problems in
  18733. other controls.
  18734. 2006-05-09 Jackson Harper <[email protected]>
  18735. * Form.cs: Window managers need the old window state when setting
  18736. window state now.
  18737. * InternalWindowManager.cs: Allow the base mdi window manager to
  18738. handle more of the MDI only stuff (like maximize buttons).
  18739. * MdiWindowManager.cs: Fix some snafus in changing the window
  18740. state. Add all the menu functionality, for both popup and
  18741. maximized menus.
  18742. * MdiClient.cs: When a new form is selected the currently
  18743. activated form is sent to the back, this matches MS.
  18744. - Implement a new method to activate the next mdi child window.
  18745. 2006-05-08 Peter Dennis Bartok <[email protected]>
  18746. * Control.cs:
  18747. - Added new InternalCapture method to allow controls to prevent
  18748. the capture behaviour on the click handlers
  18749. - Switched to use InternalCapture
  18750. * ComboBox.cs:
  18751. - Using InternalCapture to prevent mouse captures from being released
  18752. on mouse button release (Fixes #78100)
  18753. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  18754. returns Form borders if a caption is present. (Fixes #78310)
  18755. 2006-05-08 Peter Dennis Bartok <[email protected]>
  18756. * TreeNode.cs: Changed serialization .ctor to not require every field
  18757. to be present. (#78265)
  18758. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  18759. 2006-05-05 Alexander Olk <[email protected]>
  18760. * MimeIcon.cs: for is faster than foreach for strings.
  18761. 2006-05-05 Mike Kestner <[email protected]>
  18762. * CheckedListBox.cs: update check handling code to not use selected.
  18763. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  18764. behavior for visual feedback, motion response, shift/ctrl handling,
  18765. and properly deal with all 4 selection modes. Updates to bounds
  18766. handling logic. Add scroll wheel support. [Fixes #77842]
  18767. 2006-05-05 Peter Dennis Bartok <[email protected]>
  18768. * ListView.cs:
  18769. - Moved adding of Implicit controls into .ctor. That way, subsequent
  18770. creation of the controls will not cause them to think they are
  18771. toplevel windows (fixes #78200 header problem)
  18772. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  18773. - Switched visibility setting of header control to use internal field
  18774. to avoid triggering handle creation
  18775. - Now checking if handle is created before causing a refresh when items
  18776. are added (This makes us now match handle creation time with MS)
  18777. * Splitter.cs: Removed loading of private splitter cursor, switched to
  18778. Cursors version now that that is loading the right ones
  18779. * Cursors.cs: Load proper splitter cursors from resources
  18780. * Cursor.cs: Added second method of loading resource cursors for the
  18781. VS.Net users amongst us
  18782. 2006-05-05 Mike Kestner <[email protected]>
  18783. * ListView.cs: give header_control a minimum size based on the
  18784. ListView size.
  18785. 2006-05-05 Peter Dennis Bartok <[email protected]>
  18786. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  18787. window seems to do that with metacity, so set that type. (#78120)
  18788. 2006-05-05 Mike Kestner <[email protected]>
  18789. * ListViewItem.cs: fix Details mode checkbox layout bug.
  18790. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  18791. at the end of the header, if it exists. [Fixes for #78200]
  18792. 2006-05-04 Jackson Harper <[email protected]>
  18793. * MdiClient.cs: Add a helper property to get the container form.
  18794. * MdiWindowManager.cs: We have to make sure to use the menu origin
  18795. when drawing the icons and buttons, this fixes maximized window
  18796. icons/buttons on win32.
  18797. * InternalWindowManager.cs: Reset the restore captions when a
  18798. window goes from Maximized to Minimized and vice versa. Move the
  18799. DrawMaximizedButtons into the MdiWindowManager source, tool
  18800. windows can't be maximized. NOTE: This could use a little
  18801. refactoring if time ever permits.
  18802. 2006-05-03 Jonathan Chambers <[email protected]>
  18803. * TextBox.cs: Add MWFCategoryAttributes
  18804. * TextBoxBase.cs: Add MWFCategoryAttributes
  18805. * Form.cs: Add MWFCategoryAttributes
  18806. 2006-05-03 Jonathan Chambers <[email protected]>
  18807. * Control.cs: Add MWFCategoryAttributes
  18808. * ScrollableControl.cs: Add MWFCategoryAttributes
  18809. 2006-05-03 Alexander Olk <[email protected]>
  18810. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  18811. Divider is true. Fix a little glitch in PropertyToolBar
  18812. drawing code
  18813. 2006-05-02 Peter Dennis Bartok <[email protected]>
  18814. * Control.cs:
  18815. - Dispose: Call base.Dispose, this causes the disposed event
  18816. to be fired (and probably other, more important stuff)
  18817. - SetVisibleCore: Set is_visible to true after creating the
  18818. window so that the window still gets created invisible (if
  18819. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  18820. to generate a WM_ACTIVE message
  18821. * Form.cs: Call Dispose when we want to destroy the window, instead of
  18822. just destroying the handle (Dispose will do that for us)
  18823. * XplatUIX11.cs:
  18824. - RootWindow also needs a queue, so we can properly process the
  18825. property change events from RootWindow (like Activate)
  18826. - Generatic synthetic WM_ACTIVE message when the active window is
  18827. being destroyed
  18828. 2006-05-01 Peter Dennis Bartok <[email protected]>
  18829. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  18830. bounds are changed
  18831. 2006-05-01 Peter Dennis Bartok <[email protected]>
  18832. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  18833. for determining width and height (image might not be assigned if
  18834. we're drawing an imagelist)
  18835. 2006-05-01 Peter Dennis Bartok <[email protected]>
  18836. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  18837. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  18838. height from system
  18839. * Theme.cs: No longer returns hardcoded menu height, instead calls
  18840. new driver method
  18841. * Form.cs (OnLoad): Scaling happens before triggering Load events
  18842. on MS (# 78257)
  18843. 2006-05-01 Mike Kestner <[email protected]>
  18844. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  18845. 2006-04-30 Peter Dennis Bartok <[email protected]>
  18846. * TextBoxBase.cs: Removed Fixme
  18847. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  18848. 2006-04-30 Peter Dennis Bartok <[email protected]>
  18849. * XplatUIX11.cs:
  18850. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  18851. the rectangle relative to the parent, considering borders. We
  18852. don't really want that.
  18853. - ScrollWindow: Fixed warning to be more understandable
  18854. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  18855. scrollbars and scroll only the visible area
  18856. * RichTextBox.cs: Removed debug output
  18857. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18858. * NumericUpDown.cs (Text): Just use base
  18859. * UpDownBase.cs: Ensure txtView is created before using it
  18860. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18861. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  18862. casting to IntPtr to avoid 64bit overflow errors
  18863. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18864. * Control.cs:
  18865. - AllowDrop: Don't force handle creation.
  18866. - CreateHandle: Added call to tell driver if we're allowed to drop
  18867. 2006-04-27 Alexander Olk <[email protected]>
  18868. * FileDialog.cs: Remember the last directory not only for the
  18869. current instance but also for new FileDialog instances.
  18870. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18871. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  18872. broke sending async messages
  18873. 2006-04-29 Peter Dennis Bartok <[email protected]>
  18874. * XplatUIX11.cs:
  18875. - ScrollWindow: Fixed method. We finally generate expose events again
  18876. for scrolled areas. This was causing 'garbage' when scrolling
  18877. textbox and other controls that used ScrollWindow
  18878. - Switched from using the regular queue for paint events to the MS
  18879. model of 'generating' paint events when the queue is empty.
  18880. We use the new XQueueEvent.Paint subclass to store which windows
  18881. need painting.
  18882. - AddExpose now takes the x/y/width/height of the exposed area
  18883. and inserts the window into the paint queue if not already there
  18884. - InvalidateWholeWindow: Switched to use new AddExpose method
  18885. - UpdateMessageQueue: Added which queue to monitor for paint events
  18886. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  18887. the unlikely case nothing above handles it. We reset the expose
  18888. pending states to get them off the queue.
  18889. - GetMessage: Now pulls a paint event if no other events are in the
  18890. queue
  18891. - Invalidate: Switched to new AddExpose method
  18892. - PeekMessage: Updated to understand pending paint events
  18893. - UpdateWindow: Fixed logic bug. We were only updating if the window
  18894. didn't need updating. Also switched to sending WM_PAINT directly,
  18895. like MS does.
  18896. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  18897. and random access Remove(). The random access is needed to handle
  18898. UpdateWindow() where a WM_PAINT is sent directly without accessing
  18899. the queue.
  18900. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  18901. allow for better feedback when scrolling. Scrollbars are small and
  18902. the immediate update should make it 'feel' more responsive without
  18903. slowing things down. ScrollBar still needs it's invaliate logic
  18904. updated to not always invalidate the whole bar on certain changes.
  18905. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  18906. * Control.cs:
  18907. (BackColor): if the control does not support a transparent background,
  18908. return the default backcolor when the parent backcolor is transparent.
  18909. 2006-04-28 Peter Dennis Bartok <[email protected]>
  18910. * Application.cs: Updated to new StartLoop/GetMessage API
  18911. * RichTextBox.cs: Provide some output on RTF parsing errors
  18912. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  18913. new queue_id argument to GetMessage and PeekMessage to allow faster
  18914. handling of per-thread queues in drivers.
  18915. * Hwnd.cs: Added Queue tracking and property
  18916. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  18917. * XEventQueue.cs: Added thread trackingA
  18918. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  18919. * XplatUIX11.cs:
  18920. - Implemented new per-thread queue
  18921. - GetMessage: Fixed return/break behaviour on several cases. We were
  18922. returning stale messages in some cases, instead of just processing
  18923. the next message
  18924. 2006-04-27 Jonathan Chambers <[email protected]>
  18925. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  18926. 2006-04-27 Peter Dennis Bartok <[email protected]>
  18927. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  18928. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  18929. 2006-04-27 Jonathan Chambers <[email protected]>
  18930. * PropertyGridView.cs: Fix drop down width.
  18931. 2006-04-27 Alexander Olk <[email protected]>
  18932. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  18933. a mess in DrawToolBar, so I removed one of them.
  18934. 2006-04-27 Alexander Olk <[email protected]>
  18935. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  18936. needed (clip). Otherwise we get artifacts.
  18937. 2006-04-26 Peter Dennis Bartok <[email protected]>
  18938. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  18939. dimension is fixed
  18940. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  18941. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  18942. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  18943. if it matches the scale base font (avoids unneeded scaling)
  18944. 2006-04-26 Alexander Olk <[email protected]>
  18945. * X11DesktopColors.cs: One gtk_init_check should be enough
  18946. 2006-04-26 Peter Dennis Bartok <[email protected]>
  18947. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  18948. match MS behaviour
  18949. 2006-04-26 Peter Dennis Bartok <[email protected]>
  18950. * TextBoxBase.cs:
  18951. - Generate OnTextChanged for Backspace even if we're only deleting
  18952. the current selection
  18953. - When setting the Text property, only select all text if the
  18954. control does not have focus when it is being set. Otherwise
  18955. just place the cursor at the beginning of the control
  18956. 2006-04-26 Alexander Olk <[email protected]>
  18957. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  18958. Added a little helper to draw PropertyGrid ToolBar with a different
  18959. border and a different BackColor.
  18960. * PropertyGrid.cs: Some background parts didn't get painted with the
  18961. correct background color. Added a class that helps us to draw the
  18962. correct border for PropertyGridView and a class that helps us to
  18963. draw ToolBars with a different backcolor
  18964. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  18965. 2006-04-25 Jonathan Chambers <[email protected]>
  18966. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  18967. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  18968. 2006-04-25 Peter Dennis Bartok <[email protected]>
  18969. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  18970. into the palette entries. Also, since we're working on a copy
  18971. we needed to copy the palette back onto the bitmap.
  18972. * Cursor.cs: Same fix as XplatUIWin32.cs.
  18973. 2006-04-25 Peter Dennis Bartok <[email protected]>
  18974. * ImageListStreamer.cs: Need to read the var (or we're off)
  18975. 2006-04-25 Peter Dennis Bartok <[email protected]>
  18976. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  18977. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  18978. TextBoxBase.cs: Unused var fixes
  18979. * AxHost.cs: Small 2.0 fix
  18980. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  18981. as it seems that is what at least Metacity expects. This will make
  18982. icons show up on 64bit platforms. We still have some 64bit size
  18983. issues, though, since the startup app window size still won't match.
  18984. 2006-04-25 Mike Kestner <[email protected]>
  18985. * *.cs: cleanup newly reported exception var unused warnings.
  18986. 2006-04-25 Alexander Olk <[email protected]>
  18987. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  18988. ms
  18989. 2006-04-25 Alexander Olk <[email protected]>
  18990. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  18991. image. The image position is always the same, no matter if the
  18992. button is pressed or not.
  18993. 2006-04-25 Alexander Olk <[email protected]>
  18994. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  18995. selection and set the correct filename for SaveFileDialog.
  18996. Patch by Emery Conrad.
  18997. 2006-04-24 Mike Kestner <[email protected]>
  18998. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  18999. check for item.X outside the ClientRect instead of item.Y. Fixes
  19000. #78151.
  19001. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  19002. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  19003. trust that value blindly and do some sanity check. Fixes bug #77814.
  19004. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  19005. * ImageListStreamer.cs: save the mask as a 1bpp image.
  19006. 2006-04-21 Mike Kestner <[email protected]>
  19007. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  19008. pass Checked and Indeterminate to the Theme Engine. Improve
  19009. encapsulation with ListBox.
  19010. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  19011. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  19012. nested types. Move all CheckState functionality to CheckedListBox.
  19013. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  19014. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  19015. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  19016. single base list. Fix scrollbar sizing and placement to mirror MS.
  19017. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  19018. used.
  19019. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  19020. for CheckedListBox by using new DrawItemState info. Center the
  19021. checkboxes on the items. Use new StringFormat property.
  19022. 2006-04-18 Jackson Harper <[email protected]>
  19023. * Form.cs: MdiChildren don't do default locations the same way as
  19024. regular forms. This prevents a crash when trying to position the
  19025. mdi windows.
  19026. 2006-04-17 Jonathan Chambers <[email protected]>
  19027. * PropertyGridTextBox.cs: Formatting, copyright
  19028. * PropertiesTab.cs: Formatting
  19029. * PropertyGrid.cs: Formatting
  19030. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  19031. click toggling of values
  19032. 2006-04-17 Peter Dennis Bartok <[email protected]>
  19033. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  19034. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  19035. every time a control is created
  19036. * Application.cs: Removed obsolete EnableRTLMirroring method
  19037. 2006-04-18 Gert Driesen <[email protected]>
  19038. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  19039. SelectedIndex to -1. Fixes bug #78121.
  19040. 2006-04-17 Jackson Harper <[email protected]>
  19041. * Binding.cs: Handle null values for Current and BindingContext.
  19042. This occurs when binding is a little delayed.
  19043. * CurrencyManager.cs: return null for Current when there are no
  19044. items in the list.
  19045. - Hookup to the listchanged event on the DataView and update
  19046. bindings when the list is changed. This fixes late binding of
  19047. controls.
  19048. 2006-04-17 Jackson Harper <[email protected]>
  19049. * X11Dnd.cs:
  19050. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  19051. Ringenbach.
  19052. 2006-04-15 Alexander Olk <[email protected]>
  19053. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  19054. place
  19055. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  19056. with the correct ButtonState
  19057. 2006-04-14 Peter Dennis Bartok <[email protected]>
  19058. * XplatUIX11.cs: Improved distinguishing between window types to
  19059. tell the WM a type closer to what the app wants (Fixes #78107)
  19060. 2006-04-14 Alexander Olk <[email protected]>
  19061. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  19062. GrabHandle
  19063. 2006-04-14 Alexander Olk <[email protected]>
  19064. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  19065. drawing code to reflect the size grip changes
  19066. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  19067. * ImageListStreamer.cs: fix handling of the mask that follows the main
  19068. bitmap when deserializing and serialize it properly. The generated mask
  19069. should better be a 1bpp image, but I'll do that later.
  19070. 2006-04-13 Alexander Olk <[email protected]>
  19071. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  19072. path doesn't fit into some of our Current.Places
  19073. 2006-04-13 Jackson Harper <[email protected]>
  19074. * ComboBox.cs: Use borders instead of drawing our own decorations,
  19075. try to obey correct rules for heights.
  19076. * Theme.cs:
  19077. * ThemeNice.cs:
  19078. * ThemeClearLooks.cs:
  19079. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  19080. this is now handled by borders.
  19081. - Remove unused DrawListBoxDecorationSize method.
  19082. 2006-04-13 Mike Kestner <[email protected]>
  19083. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  19084. reported by Alex.
  19085. 2006-04-13 Alexander Olk <[email protected]>
  19086. * ThemeWin32Classic.cs:
  19087. - Fixed CPDrawStringDisabled
  19088. - Corrected drawing of disabled menu items
  19089. - Fixed drawing of disabled radio buttons (bug #78095)
  19090. - Draw check in a disabled CheckBox with color ControlDark
  19091. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19092. * Form.cs: Use the provided width when calculating the menu size;
  19093. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  19094. and ClientSize.Width won't be updated yet
  19095. * Application.cs: Use Visible instead of Show() to make form visible,
  19096. this way we create the handle later and menusize is considered
  19097. 2006-04-12 Mike Kestner <[email protected]>
  19098. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  19099. reporting.
  19100. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19101. * TextBox.cs: Implemented context menu
  19102. 2006-04-12 Mike Kestner <[email protected]>
  19103. * ListView.cs: implement box selection. fixes #77838.
  19104. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  19105. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19106. * XplatUIX11.cs: Added setting of window type when transient window
  19107. is created (metacity would move it otherwise)
  19108. * X11Structs.cs: Added WINDOW_TYPE atoms
  19109. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  19110. background (the control is Opaque but still wants transparent
  19111. backgrounds)
  19112. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19113. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  19114. that set Opaque but don't mean it (like all ButtonBase-derived
  19115. controls) to still draw their background
  19116. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  19117. the background
  19118. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19119. * Control.cs (PaintControlBackground): Set the graphics object
  19120. on our PaintEvent to null to prevent it from being disposed
  19121. when the PaintEvent gets disposed
  19122. 2006-04-12 Alexander Olk <[email protected]>
  19123. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  19124. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  19125. 2006-04-12 Peter Dennis Bartok <[email protected]>
  19126. * Control.cs:
  19127. - Added transparency check to BackColor property. Transparent
  19128. backgrounds are only allowed if the control styles permit it
  19129. - Added recursive painting of parent control background and
  19130. foreground if a control with a transparent backcolor is drawn
  19131. (Thanks to Tim Ringenback for providing his 'hack' as a base
  19132. for this patch) Fixes #77985 and #78026.
  19133. - Added Opaque style check before calling OnPaintBackground, no
  19134. need to draw the background if the control is opaque
  19135. - Removed ControlAccessibleObject owner variable (inherited from
  19136. base, no need to define again)
  19137. - Added some documentation links explaining the drawing events
  19138. and styles
  19139. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19140. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  19141. that the affected control is the located at the left border of our
  19142. parent (Fixes #77936)
  19143. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19144. * TextBoxBase.cs: When rendering disabled or readonly controls,
  19145. draw the background with 'Control' instead of 'Window' color as
  19146. long as the user hasn't specifically set a color
  19147. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19148. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  19149. since that won't be updated if the user types text (only if it's
  19150. programatically set)
  19151. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19152. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  19153. layout changes do to app-triggered resizes will have the proper
  19154. display rectangle for layout
  19155. 2006-04-11 Alexander Olk <[email protected]>
  19156. * ThemeWin32Classic.cs:
  19157. - Make use of the SystemBrushes and SystemPens wherever possible
  19158. - Corrected some highlight colors
  19159. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  19160. drawing
  19161. * Theme.cs: Added Empty field to CPColor struct
  19162. 2006-04-11 Peter Dennis Bartok <[email protected]>
  19163. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  19164. is displayed when calculating the display rectangle. Thanks to Mike
  19165. for teaching me the err of my ways.
  19166. 2006-04-10 Peter Dennis Bartok <[email protected]>
  19167. * ScrollableControl.cs:
  19168. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  19169. (instead of 0,0) and we now return the real width/height instead of
  19170. just the clientrectangle, adjusted for padding. The rectangle is
  19171. now cached and created by the new CalculateDisplayRectangle method.
  19172. - Created new CalculateDisplayRectange method, which basically does
  19173. what get_DisplayRectangle() did originally, but now using the
  19174. right edge instead of DisplayRectangle to determine the size of
  19175. our scrollbars
  19176. - get_Canvas(): Fixed it to properly calculate canvas for
  19177. right/bottom controls which seem to be placed to the right/bottom
  19178. of any controls that have a fixed location
  19179. - Removed TODO that's taken care of
  19180. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  19181. and SetDisplayRectLocation according to new MSDN2 docs
  19182. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  19183. event when that is called, this is added for compatibility
  19184. - ScrollControlIntoView(): Implemented.
  19185. - Switched scrollbars to be implicit, they shouldn't be selectable
  19186. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  19187. call it when the active control is set/changed
  19188. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  19189. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  19190. implicit_control variable (used for native Win32 message generation)
  19191. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  19192. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  19193. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  19194. * XplatUIStructs.cs: Added ScrollBarCommands enum
  19195. 2006-04-10 Jackson Harper <[email protected]>
  19196. * ButtonBase.cs:
  19197. * CheckedListBox.cs:
  19198. * ComboBox.cs:
  19199. * DataGrid.cs:
  19200. * DataGridView.cs:
  19201. * Form.cs:
  19202. * GroupBox.cs:
  19203. * ListBox.cs:
  19204. * PrintPreviewControl.cs:
  19205. * ProgressBar.cs:
  19206. * PropertyGrid.cs:
  19207. * Splitter.cs:
  19208. * StatusBar.cs:
  19209. * TrackBar.cs:
  19210. * UpDownBase.cs: Fixup base event overrides.
  19211. 2006-04-06 Mike Kestner <[email protected]>
  19212. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  19213. all user-initiated value changes to min <= value <= max-thumbsz+1.
  19214. (set_Value): check for vert/horiz when calculating new thumb position.
  19215. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  19216. like MS does.
  19217. (OnMouseMoveSB): refactor the thumb dragging code and refine
  19218. invalidation logic to reduce flicker.
  19219. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  19220. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  19221. (UpdateThumbPosition): small code readability cleanup
  19222. 2006-04-10 Alexander Olk <[email protected]>
  19223. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  19224. different
  19225. 2006-04-08 Alexander Olk <[email protected]>
  19226. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  19227. 2006-04-08 Alexander Olk <[email protected]>
  19228. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  19229. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  19230. This dramatically reduces the number of Pen.Dispose calls.
  19231. Where possible call ResPool methods only once instead of calling it
  19232. over and over again (for example for the same color).
  19233. 2006-04-06 Mike Kestner <[email protected]>
  19234. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  19235. Also remove an unused private field on the collection. Fixes #77972.
  19236. 2006-04-06 Alexander Olk <[email protected]>
  19237. * ThemeNice.cs: Added ToolBar drawing code
  19238. 2006-04-06 Mike Kestner <[email protected]>
  19239. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  19240. I'm assuming that means we need to look up the toplevel for the
  19241. provided control. Fixes the crash trace in #77911 but exposes another
  19242. crash in some strange reflection usage in NDocGui.
  19243. 2006-04-06 Alexander Olk <[email protected]>
  19244. * ThemeNice.cs: Gave it a little silver touch and added Images
  19245. method
  19246. * FontDialog.cs: FontDialog is not resizable
  19247. * FileDialg.cs: Added SizeGripStyle.Show
  19248. 2006-04-05 Jackson Harper <[email protected]>
  19249. * KeyboardLayouts.cs: Remove warning.
  19250. 2006-04-05 Jackson Harper <[email protected]>
  19251. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  19252. all of our controls instead of Paint +=.
  19253. * ListBox.cs:
  19254. * ListView.cs:
  19255. * MenuAPI.cs:
  19256. * MessageBox.cs:
  19257. * NotifyIcon.cs:
  19258. * ProgressBar.cs:
  19259. * ScrollBar.cs:
  19260. * Splitter.cs:
  19261. * StatusBar.cs:
  19262. * TabControl.cs:
  19263. * TextBoxBase.cs:
  19264. * ToolBar.cs:
  19265. * TrackBar.cs:
  19266. * UpDownBase.cs:
  19267. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  19268. use OnPaintInternal. Remove Width/Height and Visible checks in
  19269. paint handler, this is done at a higher level now.
  19270. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  19271. * PaintEventArgs.cs: Add a handled flag so controls that don't
  19272. want anymore painting after OnPaintInternal can make sure OnPaint
  19273. isn't called.
  19274. 2006-04-05 Mike Kestner <[email protected]>
  19275. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  19276. state of the form, so that we don't process events when Modal dialogs
  19277. are up. Fixes #77922.
  19278. 2006-04-05 Alexander Olk <[email protected]>
  19279. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  19280. checking is done.
  19281. 2006-04-05 Mike Kestner <[email protected]>
  19282. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  19283. 2006-04-05 Mike Kestner <[email protected]>
  19284. * ListView.cs (HeaderMouseMove): null guarding for the over column
  19285. when setting up the drag_to_index. Fixes #78015.
  19286. 2006-04-04 Peter Dennis Bartok <[email protected]>
  19287. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  19288. in the taskbar. Transient windows seem to accomplish that.
  19289. 2006-04-04 Peter Dennis Bartok <[email protected]>
  19290. * Form.cs:
  19291. - Re-enabled CreateParams.X/Y code for FormStartPosition
  19292. - Added code for manual placement when creating the Control
  19293. - Incomplete patch to treat MDI forms differently when
  19294. setting the ClientSizeCore. (Still need to figure out handling
  19295. x/y coords there)
  19296. * XplatUIX11.cs:
  19297. - When we're explicitly setting the X/Y position of a non-Child
  19298. window, let the WM know. Metacity really wants this.
  19299. 2006-04-04 Alexander Olk <[email protected]>
  19300. * ThemeNice.cs: Added CPDrawButton
  19301. 2006-04-04 Alexander Olk <[email protected]>
  19302. * ThemeNice.cs: Changed the color for focused buttons and activated
  19303. the arrows for small scroll buttons.
  19304. 2006-04-04 Alexander Olk <[email protected]>
  19305. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  19306. anymore. Changed some method modifiers to protected (virtual)
  19307. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  19308. changes
  19309. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  19310. Updated drawing of menus, buttons and progressbars; added
  19311. CPDrawBorder3D
  19312. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  19313. * ImageListStreamer.cs: implemented serialization/deserialization
  19314. of the images.
  19315. 2006-04-03 Alexander Olk <[email protected]>
  19316. * ThemeWin32Classic.cs:
  19317. - Removed all the DrawFrameControl stuff; CPDrawButton,
  19318. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  19319. inside the methods
  19320. - Updated and corrected the drawing code of CPDrawButton,
  19321. CPDrawCheckBox and CPDrawRadioButton to better match ms
  19322. - Updated theme checkbox and radiobutton code to use the CP*
  19323. methods
  19324. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19325. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  19326. bug is fixed
  19327. 2006-03-31 Jackson Harper <[email protected]>
  19328. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  19329. sometimes.
  19330. * UpDownBase.cs: Don't CreateGraphics manually, use a
  19331. Refresh. Ideally we would invalidate the correct areas here.
  19332. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19333. * XplatUIX11.cs:
  19334. - We now track the mapping state of windows. If a window (or
  19335. one of it's parents) is not mapped we no longer permit
  19336. WM_PAINT messages to be generated since we'd otherwise get
  19337. lots of BadMatch X errors. Jackson did all the work figuring
  19338. out the problem.
  19339. - Destroying the caret if the window it's contained in is
  19340. destroyed. Can't use regular DestroyCaret method since it
  19341. might fall into a drawing function (trying to remove the
  19342. caret) and with that generate new BadMatch errors. Again,
  19343. Jackson tracked this down.
  19344. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  19345. make sure we send the messages to all windows. (The old code
  19346. would send the WM_DESTROY to the window, and then all child
  19347. windows would be 'gone' because the WM_DESTROY handle lookup
  19348. would no longer find the destroyed window)
  19349. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  19350. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  19351. 2006-03-31 Jackson Harper <[email protected]>
  19352. * ScrollableControl.cs: Dont recalc if we are not visible.
  19353. 2006-03-31 Mike Kestner <[email protected]>
  19354. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  19355. the visibility branch.
  19356. 2006-03-31 Jackson Harper <[email protected]>
  19357. * ScrollBar.cs: Cap values when incrementing/decrementing.
  19358. 2006-03-31 Mike Kestner <[email protected]>
  19359. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  19360. * ToolTip.cs: guard against timer expirations with no active control.
  19361. Not sure why it happened.
  19362. 2006-03-31 Mike Kestner <[email protected]>
  19363. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  19364. text.
  19365. * ToolTip.cs: Position the tooltip based on where the cursor is at
  19366. popup time, not at MouseEnter time. Add a Down state so that we don't
  19367. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  19368. positioning offset. Lookup DisplaySize at positioning time, since it
  19369. can theoretically change during invocation.
  19370. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  19371. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  19372. 2006-03-31 Alexander Olk <[email protected]>
  19373. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  19374. Fixes behaviour when the Text property of the box is String.Empty
  19375. 2006-03-31 Peter Dennis Bartok <[email protected]>
  19376. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  19377. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  19378. a window)
  19379. 2006-03-31 Alexander Olk <[email protected]>
  19380. * FileDialog.cs: Visual enhancement for the popup buttons in
  19381. PopupButtonPanel
  19382. 2006-03-31 Alexander Olk <[email protected]>
  19383. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  19384. code
  19385. 2006-03-30 Alexander Olk <[email protected]>
  19386. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  19387. highlighted menu items to match ms
  19388. 2006-03-30 Peter Dennis Bartok <[email protected]>
  19389. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  19390. 2006-03-30 Mike Kestner <[email protected]>
  19391. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  19392. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  19393. go active to account for HotLight to Selected transition.
  19394. * MenuItem.cs: add internal Selected prop. Fill out the Status
  19395. property by calculating it from item info. Add HotLight,
  19396. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  19397. 2006-03-30 Mike Kestner <[email protected]>
  19398. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  19399. 2006-03-29 Jackson Harper <[email protected]>
  19400. * Form.cs: Implement TODO.
  19401. 2006-03-29 Peter Dennis Bartok <[email protected]>
  19402. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  19403. missing proper dialog setup in the constructor
  19404. 2006-03-29 Peter Dennis Bartok <[email protected]>
  19405. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  19406. * Control.cs:
  19407. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  19408. - Fixed ResetBindings and removed TODO
  19409. - Added check for cross-thread calls to get_Handle()
  19410. - Added Marshaller attribute for set_Font to satisfy class status
  19411. * FontDialog.cs: Removed TODOs that seemed implemented
  19412. * UpDownBase.cs: Removed unneeded TODO and Fixme
  19413. * MessageBox.cs: Implemented support for Default button and removed TODO
  19414. * FileDialog.cs: Removed obsolete TODO
  19415. * DomainUpDown.cs: Removed obsolete TODO
  19416. * ButtonBase.cs: Removed obsolete TODO
  19417. * XplatUIWin32.cs: Removed obsolete TODO
  19418. * Form.cs:
  19419. - Removed obsolete TODO
  19420. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  19421. internal status updates
  19422. - Making sure the active control is selected when the control is created
  19423. * CurrencyManager.cs: Removed obsolete TODO
  19424. 2006-03-29 Mike Kestner <[email protected]>
  19425. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  19426. of PrintPreviewDialog and RichTextBox.
  19427. 2006-03-29 Alexander Olk <[email protected]>
  19428. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  19429. DarkDark, Light and LightLight colors for a specific color
  19430. * ThemeWin32Classic.cs:
  19431. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  19432. Appearance = Button
  19433. - Make use of the new ResPool helper CPColor
  19434. - Draw ProgressBar and StatusBar with correct 3D borders
  19435. 2006-03-29 Alexander Olk <[email protected]>
  19436. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  19437. 2006-03-28 Mike Kestner <[email protected]>
  19438. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  19439. calculating col/row counts.
  19440. 2006-03-28 Mike Kestner <[email protected]>
  19441. * ColumnHeader.cs:
  19442. * ListView.cs:
  19443. * ListViewItem.cs:
  19444. * Menu.cs:
  19445. switch to explicit interface method implementation for some methods
  19446. corcompare identifies as inconsistent with MS.
  19447. 2006-03-28 Mike Kestner <[email protected]>
  19448. * MainMenu.cs:
  19449. * Menu.cs:
  19450. add a few missing methods from the class status output.
  19451. 2006-03-28 Alexander Olk <[email protected]>
  19452. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  19453. correct.
  19454. 2006-03-28 Mike Kestner <[email protected]>
  19455. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  19456. 2006-03-27 Mike Kestner <[email protected]>
  19457. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  19458. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  19459. 2006-03-27 Alexander Olk <[email protected]>
  19460. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  19461. 2006-03-25 Alexander Olk <[email protected]>
  19462. * ThemeWin32Classic.cs:
  19463. - GroupBox: Inserted a little gap between the text and the lines
  19464. on the right side
  19465. - Made the code in CPDrawBorder3D more readable
  19466. - Corrected the drawing location of the up and down arrows in
  19467. CPDrawScrollButton
  19468. 2006-03-25 Alexander Olk <[email protected]>
  19469. * ControlPaint.cs: Corrected line widths in DrawBorder for
  19470. ButtonBorderStyle Inset and Outset
  19471. 2006-03-25 Alexander Olk <[email protected]>
  19472. * ThemeWin32Classic.cs:
  19473. - Rewrote the totally broken CPDrawBorder3D method. That was
  19474. one of the main problems for the terrific ThemeWin32Classic
  19475. look
  19476. - Updated and corrected Button drawing
  19477. - Correct the dimensions of the SizeGrip to match ms ones
  19478. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  19479. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  19480. Border3DStyle.Sunken to match ms.
  19481. 2006-03-25 Alexander Olk <[email protected]>
  19482. * ThemeWin32Classic.cs: First small part of the "de-uglify
  19483. ThemeWin32Classic" effort, SizeGrip
  19484. 2006-03-24 Jackson Harper <[email protected]>
  19485. * XplatUIX11.cs: Give a max idle time of one second, this matches
  19486. MS and forces an Idle event every second when there are no other
  19487. events in the queue.
  19488. 2006-03-24 Mike Kestner <[email protected]>
  19489. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  19490. * ListView.Item.cs: fix layout issues with null image lists and images
  19491. smaller than checkbox size.
  19492. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  19493. mode like MS does. It's weird, but consistent. ;-)
  19494. Fixes #77890.
  19495. 2006-03-24 Mike Kestner <[email protected]>
  19496. * ListView.cs: Scroll wheel support for the item control. Fixes
  19497. #77839.
  19498. 2006-03-23 Jackson Harper <[email protected]>
  19499. * ScrollableControl.cs: Special case negative sized areas, not
  19500. zero.
  19501. * MonthCalendar.cs: Save the rect of the clicked date so we can
  19502. use it for invalidation.
  19503. - Try to cut down on the number of invalidates
  19504. - Invalidate the rect the mouse is over and was over when moving
  19505. the mouse, so we get the focus box following the cursor.
  19506. 2006-03-23 Mike Kestner <[email protected]>
  19507. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  19508. focus rectangle drawing. Fixes #77835.
  19509. 2006-03-23 Mike Kestner <[email protected]>
  19510. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  19511. the if and else if and reverting back to the original == check on the
  19512. None conditional.
  19513. 2006-03-23 Alexander Olk <[email protected]>
  19514. * FontDialog.cs: Update the example panel if the selected index of
  19515. the fontListBox changes.
  19516. 2006-03-23 Alexander Olk <[email protected]>
  19517. * FileDialog.cs: Make FileDialog remember which directory it was in
  19518. last in the same execution.
  19519. 2006-03-22 Mike Kestner <[email protected]>
  19520. * FileDialog.cs: make the DropDownMenu on the toolbar display
  19521. RadioChecks since they are mutually exclusive and that's what MS does.
  19522. 2006-03-22 Mike Kestner <[email protected]>
  19523. * Theme.cs: add Color param to CPDrawMenuGlyph.
  19524. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  19525. checks and radio marks and arrows are visible on highlighted items.
  19526. * ControlPaint.cs: update to use new Theme signature.
  19527. 2006-03-22 Mike Kestner <[email protected]>
  19528. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  19529. is active. Fixes #77870.
  19530. 2006-03-22 Alexander Olk <[email protected]>
  19531. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  19532. to be focused/selected after startup
  19533. 2006-03-22 Alexander Olk <[email protected]>
  19534. * ColorDialog.cs:
  19535. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  19536. CustomColors and ShowHelp properties
  19537. - Some internal rewrites to get better results when using the
  19538. ColorMatrix
  19539. 2006-03-22 Mike Kestner <[email protected]>
  19540. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  19541. HoverSelection. Fixes #77836.
  19542. 2006-03-22 Mike Kestner <[email protected]>
  19543. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  19544. ToggleButtons. (De)Sensitize the Back button around a stack count of
  19545. 1, not 0. Update ButtonSize based on a pixel count of the win32
  19546. control. Adjust the toolbar size/location for new button size.
  19547. 2006-03-22 Jackson Harper <[email protected]>
  19548. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  19549. true.
  19550. * ScrollBar.cs: When doing increments and decrements we need to
  19551. set the Value property so that ValueChanged gets raised. A
  19552. possible optimization here would be to make an internal SetValue
  19553. that doesn't invalidate immediately.
  19554. * ToolTip.cs: Tooltips get added to their container (when
  19555. supplied) so they get disposed when the container is disposed.
  19556. - Don't create tooltips for String.Empty. This prevents all these
  19557. little 2-3 pixel windows from showing up when running nunit-gui
  19558. and driving me mad.
  19559. * Form.cs: Don't set topmost when setting the owner if the handles
  19560. haven't been created yet. The topmost set will happen when the
  19561. handles are created.
  19562. 2006-03-22 Peter Dennis Bartok <[email protected]>
  19563. * XplatUIX11.cs:
  19564. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  19565. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  19566. visible (to allow them to recalculate their sizes)
  19567. 2006-03-21 Mike Kestner <[email protected]>
  19568. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  19569. methods. Removed a ton of redundant code. Still not really happy with
  19570. the border rendering, but I think that's mainly because of the
  19571. ControlDarkDark being black instead of a dark grey. Depending on how
  19572. close we want to be, we might want to revisit those color choices.
  19573. Among the new features added during the refactor were DropDownArrow
  19574. pressed rendering, Disabled image rendering. Proper flat appearance
  19575. boundary rendering. Removed the Divider and Wrapping dividers since I
  19576. can't figure out any combination of themes and conditions to make the
  19577. MS control draw a horizontal line on a toolbar despite what the
  19578. Divider property docs indicate.
  19579. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  19580. conditions and incorrect layout. Updated to coding standard.
  19581. * ToolBarButton.cs: refactored layout and positioning code from
  19582. ToolBar to here. Invalidate wherever possible instead of forcing
  19583. redraws of the whole toolbar.
  19584. (Known remaining issues: explicit ButtonSize smaller than provided
  19585. images.)
  19586. 2006-03-21 Mike Kestner <[email protected]>
  19587. * ContextMenu.cs (Show): use the position parameter instead of just
  19588. showing at the MousePosition.
  19589. 2006-03-21 Jackson Harper <[email protected]>
  19590. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  19591. control handle this.
  19592. * TreeNodeCollection.cs: If we are clearing the root node we need
  19593. to reset top_node so calcs can still happen.
  19594. * ThemeWin32Classic.cs: This is a Flags so we need to check
  19595. properly.
  19596. 2006-03-21 Jackson Harper <[email protected]>
  19597. * DataGrid.cs: Create columns when the binding context has been
  19598. changed.
  19599. * X11Structs.cs: Keysyms are uints.
  19600. - Add size to fix build.
  19601. 2006-03-21 Peter Dennis Bartok <[email protected]>
  19602. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19603. XplatUIOSX.cs:
  19604. - Added ResetMouseHover method to allow controls to retrigger
  19605. hovering if they need it more than once
  19606. - Implemented MouseHoverTime and MouseHoverSize properties
  19607. * Timer.cs: Start() must reset the interval
  19608. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  19609. properties
  19610. 2006-03-21 Jackson Harper <[email protected]>
  19611. * X11Keyboard.cs: improved layout detection. Move the nonchar
  19612. tables into this file.
  19613. * KeyboardLayouts.cs: Move the tables into resource files.
  19614. 2006-03-21 Mike Kestner <[email protected]>
  19615. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  19616. 2006-03-21 Alexander Olk <[email protected]>
  19617. * Mime.cs: Various speed optimizations. Looking up mime types
  19618. is now 2 times faster than before
  19619. 2006-03-17 Peter Dennis Bartok <[email protected]>
  19620. * CreateParams.cs: Added internal menu field
  19621. * Control.cs:
  19622. - Switched call order for UpdateBounds; now we always call
  19623. the one that also takes ClientSize, and we're calculating the
  19624. client size via driver method in the others. The previous
  19625. method of tracking client size by difference wasn't working
  19626. for forms where even the starting client size wouldn't match
  19627. the overall form size (due to borders) (Part of fix for #77729)
  19628. - CreateParams(): Do not use parent.Handle unless the handle is
  19629. already created. Causes havoc with Nexxia and throws off our
  19630. creation of controls
  19631. * XplatUIX11.cs:
  19632. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  19633. - Switched handling of ConfigureNotify over to new PerformNCCalc
  19634. method (consolidates code)
  19635. - Changed RequestNCRecalc to use new PerformNCCalc method
  19636. - Added calls to RequestNCRecalc when menus and borders are changed
  19637. to allow app to set NC size. (Part of fix for #77729) This matches
  19638. when MS send a WM_NCRECALC on Win32 windows.
  19639. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  19640. (Part of fix for #77729). This matches what MS does, they also
  19641. send that message when the form is made visible.
  19642. - XException.GetMessage: Improved usability of X errors by including
  19643. a translation of the window into Hwnd and Control class
  19644. - Improved debug info for window creation, reparenting and destruction
  19645. - Created helper method WindowIsMapped() [Currently not used]
  19646. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  19647. * Form.cs:
  19648. - CreateParams: Now setting our menu on the new internal menu field
  19649. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  19650. avoid calculating the same property twice
  19651. * Hwnd.cs:
  19652. - Improved usability of ToString() for debugging purposes
  19653. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  19654. determine the height of the menu, instead of just the font. This
  19655. required to also create a graphics context and to keep a bmp
  19656. around (for performance reasons)
  19657. 2006-03-17 Peter Dennis Bartok <[email protected]>
  19658. * MenuAPI.cs: Added OnMouseUp method
  19659. * Form.cs:
  19660. - Now remembering the requested client size, avoids size errors
  19661. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  19662. instead of base if the menu is active. This is required due to
  19663. control now capturing and releasing on down/up and it would
  19664. prematurely release our menu capture
  19665. 2006-03-17 Jackson Harper <[email protected]>
  19666. * KeyboardLayouts.cs: Add the czech layouts.
  19667. 2006-03-16 Jackson Harper <[email protected]>
  19668. * Control.cs: Use the viewport space when sizing not the controls
  19669. client size, so things like ScrollableControl that effect the
  19670. viewport size (when scrollbars are added) are computed correctly.
  19671. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  19672. of ManagerEntrys.
  19673. - Handle creating BindingManagers for null data sources.
  19674. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  19675. source, otherwise when rows are added they are added to the 'fake'
  19676. datasource and we will crash when trying to set the position in
  19677. those rows.
  19678. - Use Implicit scrollbars on the datagrid so they arent
  19679. selectable.
  19680. 2006-03-16 Jackson Harper <[email protected]>
  19681. * Binding.cs:
  19682. * InternalWindowManager.cs:
  19683. * MdiWindowManager.cs:
  19684. * X11Keyboard.cs: I really want Mike to love me again (fix
  19685. compiler warnings).
  19686. 2006-03-16 Peter Dennis Bartok <[email protected]>
  19687. * DataGrid.cs:
  19688. - OnMouseDown: Switch to editing mode when clicking on the cell
  19689. even if we're clicking on the cell that's currently
  19690. selected
  19691. - ProcessGridKey: Left/Right now wrap like MS.Net does
  19692. - ProcessGridKey: Tab now knows to add a new row when tab is
  19693. pressed in the cell of the last column of the
  19694. last row
  19695. - ProcessGridKey: Enter now adds another row if pressed in the last
  19696. row and selectes the new row, same column cell
  19697. - ProcessGridKey: Home/End navigate columns, not rows, like
  19698. originally implemented
  19699. - Broke ProcessKeyPreview code out into an extra Internal method
  19700. so it can be called from the edit code
  19701. * DataGridTextBox.cs (ProcessKeyMessage):
  19702. - Switched to accept Tab keypresses
  19703. - Added F2 handling to allow jumping to the end of the edited cell
  19704. - Added logic to allow moving caret left/right inside edited cell
  19705. and making the edited cell jump when the caret hits cell borders
  19706. - Tab and Enter are now passed to the datagrid after being handled
  19707. * TextBoxBase.cs:
  19708. - Removed capture code now that Control handles it
  19709. - set_SelectionStart now ensures caret is visible
  19710. 2006-03-16 Jackson Harper <[email protected]>
  19711. * TrackBar.cs: Debackwards the increment/decrement for handling
  19712. mouse clicks on the bar with vertical trackbars.
  19713. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  19714. bottom to match MS.
  19715. 2006-03-16 Mike Kestner <[email protected]>
  19716. * ListView.cs: make shift/ctrl keyboard and mouse selection
  19717. consistent with the MS control. Fix a bug in
  19718. SelectedListViewItemCollection.Clear that was pissing me off for the
  19719. better part of a day because the collection was being altered
  19720. underneath us as we walked the list.
  19721. 2006-03-16 Peter Dennis Bartok <[email protected]>
  19722. * Control.cs: Not sure how we could miss this so long, but it seems
  19723. that MS.Net has Capture set all the way from before calling
  19724. OnMouseDown through sending the mouse events until after
  19725. OnMouseUp. This will fix DataGrid's selection being set to end
  19726. at the location of the MouseUp.
  19727. 2006-03-15 Jackson Harper <[email protected]>
  19728. * BindingContext.cs: Check the binding after its added so that it
  19729. can initialize the binding managers and hookup to events.
  19730. * Binding.cs: Data members seem to sometimes include rows/cols in
  19731. the format Row.Column we now take this into account.
  19732. - Hookup to the position changed event so we can update the
  19733. control when the position has changed in the data set.
  19734. * CurrencyManager.cs: Take into account the row/col naming
  19735. convention when creating dataset tables.
  19736. * BindingContext.cs: Using a newer better way of storing
  19737. datasource/datamember pairs. Hopefully this better matches MS for
  19738. looking up binding managers.
  19739. 2006-03-15 Jackson Harper <[email protected]>
  19740. * BindingContext.cs: The currency manager needs the data member
  19741. name, if the member is a data set we use the name to find the
  19742. correct table.
  19743. * CurrencyManager.cs: When creating the list prefer an IList over
  19744. an IListSource.
  19745. - Attempt to create a DataTable from a DataSet (TODO: might need
  19746. some better error checking here, although MS doesn't seem to have much)
  19747. - If we have a DataTable create a view and use it as our list.
  19748. 2006-03-15 Mike Kestner <[email protected]>
  19749. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  19750. keyboard navigation. Support Up/Down/Left/Right selection correctly
  19751. for all 4 View modes.
  19752. * ListViewItem.cs: add internal row/col fields for icon layouts.
  19753. 2006-03-15 Jackson Harper <[email protected]>
  19754. * TabControl.cs: Redraw the tabs when we resize so their newly
  19755. calculated sizes are drawn on screen.
  19756. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  19757. composite characters.
  19758. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  19759. - filter events so that composite characters can be created
  19760. patches by peter
  19761. * X11Structs.cs: Add XIMProperties enum.
  19762. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19763. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  19764. unless it's created
  19765. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19766. * Control.cs (PerformLayout): We don't need to consider visiblity
  19767. for anchoring, only for docking. This fixes 'whacky' alignment
  19768. in listbox and other controls that use implicit scrollbars after
  19769. the previous PerformLayout patch
  19770. * ListBox.cs: Switched to use implicit scrollbars
  19771. 2006-03-14 Mike Kestner <[email protected]>
  19772. * ToolBar.cs:
  19773. * VScrollBar.cs:
  19774. - chain up the "new event" overrides to base and use
  19775. OnEvent to raise them. Part of fix for bug #76509.
  19776. 2006-03-14 Alexander Olk <[email protected]>
  19777. * FileDialog.cs: Do not select an item in the parent directory
  19778. on backspace
  19779. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19780. * Control.cs (PerformLayout): It would seem that we considered
  19781. invisible windows for our layout. Not quite the right thing
  19782. to do. Now we don't any longer, thereby fixing bug #76889.
  19783. 2006-03-14 Peter Dennis Bartok <[email protected]>
  19784. * Control.cs (CanFocus): I goofed. A control can have focus
  19785. even though it's not selectable. Made it match MS docs.
  19786. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19787. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  19788. center by default (fixes #76895)
  19789. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  19790. all uses of Border3DSides.All with the explicit ORd together
  19791. Left|Right|Top|Bottom because I assume that nobody was aware
  19792. that All also implies a center fill. Most places I checked had
  19793. a fill right above.
  19794. * ProgressBarStyle.cs: Added
  19795. 2006-03-13 Mike Kestner <[email protected]>
  19796. * ListView.cs: fix breakage in drag shadow header positioning
  19797. from Peter's csc compilation fix.
  19798. 2006-03-13 Mike Kestner <[email protected]>
  19799. * ListView.cs: fix NRE produced by backspacing twice in a focused
  19800. FileDialog.
  19801. 2006-03-13 Mike Kestner <[email protected]>
  19802. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  19803. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19804. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  19805. be changed
  19806. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  19807. the allowed size before making programmatic size changes
  19808. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19809. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  19810. set, metacity is broken and will still use the emty sizes in
  19811. the struct. (Fix for #77089)
  19812. 2006-03-13 Peter Dennis Bartok <[email protected]>
  19813. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  19814. WindowExStyles and marked both enums as Flags
  19815. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  19816. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  19817. to match WindowStyles split
  19818. * XplatUIX11.cs:
  19819. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  19820. - Updated to match WindowStyles split
  19821. * XplatUIWin32.cs:
  19822. - Fixed FosterParent creation, was using ExStyle on the Style field
  19823. (This should help with Popup focus issues)
  19824. - Updated to match WindowStyles split
  19825. 2006-03-13 Jackson Harper <[email protected]>
  19826. * MdiWindowManager.cs: Use the system menu height. Fixes some
  19827. strange sizing issues.
  19828. 2006-03-12 Peter Dennis Bartok <[email protected]>
  19829. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  19830. * TextBoxBase.cs:
  19831. - Scroll to caret after inserting text (#77672)
  19832. - Make scroll range one pixel higher, fixes off-by-one error (and
  19833. makes underlines visible on the last line)
  19834. 2006-03-12 Peter Dennis Bartok <[email protected]>
  19835. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  19836. the keyboard state from being stuck with keys in 'pressed' state when
  19837. focus is switched away via keyboard
  19838. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  19839. reset the keyboard if no X11 KeyUp events are expected to come
  19840. * X11Structs.cs: Switched type of Visible to bool to match driver
  19841. 2006-03-12 Peter Dennis Bartok <[email protected]>
  19842. * TextControl.cs:
  19843. - Switched caret to be just 1 pixel wide, matches MS and looks less
  19844. clunky
  19845. - Moved caret display 1 pixel down from the top of the control
  19846. to improve view
  19847. - InsertCharAtCharet: Update the selection start if moving the caret
  19848. (fixes bug #77696; based on patch suggested by [email protected])
  19849. - No longer always creating the caret when the caret methods are
  19850. called. Only the actual ShowCaret/HideCaret will do that now
  19851. - Only setting caret visible if the owner control has focus
  19852. - UpdateView: Added invalidation-shortcut logic for center and right
  19853. aligned text. Previously we'd update all according to the left
  19854. logic which caused drawing errors. Also fixed height of invalidated
  19855. areas, now properly invalidating the whole area (was off-by-one)
  19856. - owner_HandleCreated: Always generate the document when the
  19857. handle is created; this ensures that
  19858. * TextBoxBase.cs:
  19859. - Fixed situation where caret would disappear under the right
  19860. window border, also improved scrolling behaviour on left-
  19861. aligned textboxes
  19862. - Fixed right-aligned textboxes to have a border to the
  19863. right instead of the caret being under the right border
  19864. * XplatUIX11.cs:
  19865. - Switched from 'nested' to simple visible/not visible tracking
  19866. for caret (part of fix for #77671)
  19867. - No longer passing through translated FocusIn/FocusOut messages
  19868. since we were notifying too often and the wrong windows. Instead
  19869. we just notify our focussed window of receiving or loosing focus
  19870. * XplatUIWin32.cs: Switched from 'nested' show/hide
  19871. counting for caret to simple visible yes/no behaviour (part of
  19872. fix for #77671)
  19873. 2006-03-11 Alexander Olk <[email protected]>
  19874. * Mime.cs: Remove debug code...
  19875. 2006-03-11 Alexander Olk <[email protected]>
  19876. * MimeGenerated.cs: Removed
  19877. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  19878. and subclasses) from /usr/(local/)share/mime and
  19879. $HOME/.local/share/mime.
  19880. 2006-03-10 Jackson Harper <[email protected]>
  19881. * MdiWindowManager.cs: Recalc the NC area when a window is
  19882. maximized/restored so that the menu area is drawn on forms that
  19883. don't have a menu.
  19884. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19885. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  19886. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  19887. us to force a WM_NCCALCRESIZE message being sent. This is needed
  19888. for MDI maximizing.
  19889. 2006-03-10 Jackson Harper <[email protected]>
  19890. * Form.cs: We need to use the ActiveMenu when calculating menu
  19891. height.
  19892. - Fix nullref when the window manager hasn't been created yet.
  19893. * Control.cs: Fix nullref when we try to bring a control to the
  19894. front that has no parent.
  19895. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  19896. height.
  19897. - Add a dummy item to the maximized menu so it always has the
  19898. correct height. Otherwise when there are no menus we don't get our
  19899. icon and buttons.
  19900. 2006-03-10 Jackson Harper <[email protected]>
  19901. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  19902. stuff.
  19903. * Form.cs: Make the window_state internal so the window managers
  19904. can track it.
  19905. - When an MDI child is maximized let its window manager create the
  19906. main menu (so it can add its icon).
  19907. - Notify the window managers of state changes
  19908. - Let the window manager paint its buttons and handle button
  19909. clicks on the menu when it is maximized.
  19910. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  19911. window manager, since tool windows don't use it, only mdi windows.
  19912. - Tell the main form that we don't want it to handle NCPAINT
  19913. itself to avoid extra painting.
  19914. - Handle clicks on a maximized windows menu.
  19915. - Handle window state changes
  19916. - Handle minimize/maximize clicks correctly by setting the window state.
  19917. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  19918. when clicking on the forms icon).
  19919. - New method to create a forms maximized menu. This is its normal
  19920. menu + an icon.
  19921. - Handle window state changes.
  19922. - Handle sizing of maximized windows. Maximized windows are just
  19923. drawn bigger then the parent visible area. All controls are still
  19924. there, they are just outside the visible area (this matches windows).
  19925. * MdiClient.cs: No scrollbars when a child window is maximized.
  19926. - Let the children windows figure out how big they should be when
  19927. sizing maximized windows.
  19928. - Implement a version of ArrangeIconicWindows somewhat similar to
  19929. Windows version. There are some little differences, but I don't
  19930. think any app will rely on the layout of minimized mdi windows.
  19931. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19932. * Padding.cs: Several fixes to allow compiling with csc 2.0
  19933. 2006-03-09 Jackson Harper <[email protected]>
  19934. * Menu.cs:
  19935. * MenuItem.cs: Cheap hack so we can add items to the list without
  19936. the events being raised. This allows adding mdi items during
  19937. drawing. TODO: Should probably find a better time to add the items.
  19938. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19939. * ThemeWin32Classic.cs:
  19940. - CheckBox_DrawText: Added logic to not wrap if not enough space
  19941. is available (Fix for bug #77727)
  19942. - RadioButton_DrawText: Added logic not to wrap if not enough
  19943. space is available (Fix for bug #77727). Also removed some
  19944. duplicate code, DrawString always drawing the regular text
  19945. before hitting the if statement.
  19946. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19947. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  19948. 2006-03-10 Peter Dennis Bartok <[email protected]>
  19949. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  19950. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  19951. methods. Moved the new 2.0 properties into alphabetical order with
  19952. other properties and added MonoTODO tags
  19953. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19954. * AutoScaleMode.cs: Added. Fix build.
  19955. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19956. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19957. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  19958. and was requiring premature handle creation for calls from above
  19959. * Form.cs, Control.cs: Removed handle arguments from calls to
  19960. CalculateClientRect()
  19961. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19962. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  19963. drag_column.column_rect is MarshalByRef and can't be used that way
  19964. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19965. * AxHost.cs: Added deserialization constructor for
  19966. AxHost+State (fixes 77743)
  19967. 2006-03-09 Mike Kestner <[email protected]>
  19968. * ListView.cs:
  19969. - Added column drag reordering for details view.
  19970. - fixed behavior when mouse is dragged off column and
  19971. AllowColumnReorder is false.
  19972. * ColumnHeader.cs: clone the format too in Clone.
  19973. * Theme.cs: add DrawListViewHeaderDragDetails method.
  19974. * ThemeWin32Classic.cs:
  19975. - impl new method for drawing drag column shadows and targets.
  19976. - support column offset for details mode in DrawListViewItem.
  19977. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19978. * TextControl.cs: Reset the char_count when the document is cleared
  19979. (Fixes bug reported on mono-winforms mailing list)
  19980. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19981. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  19982. of calling base we simply process the key ourselves, since both
  19983. DefWindowProc and the handled method would set m.Result.
  19984. (Fixes #77732)
  19985. 2006-03-09 Peter Dennis Bartok <[email protected]>
  19986. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  19987. method also moves the window; instead implemented a copy of
  19988. Control.ScaleCore (Part of fix for #77456)
  19989. * TextBoxBase.cs:
  19990. - Created new CreateGraphicsInternal method to allow providing
  19991. a graphics context when no handle is created without triggering
  19992. handle creation. (Part of fix for #77456)
  19993. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  19994. * TextControl.cs:
  19995. - Switched Constructor to require TextBoxBase instead of Control (to
  19996. allow uncast access to CreateGraphicsInternal)
  19997. - Safeguarded use of owner.Handle property. No longer accessing it
  19998. unless the handle is already created.
  19999. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  20000. - Now triggering a recalc when owning control becomes visible
  20001. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  20002. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  20003. premature handle creation (Part of fix for #77456)
  20004. * Control.cs:
  20005. - We now only destroy our double-buffering buffers when the
  20006. control is resized or disposed, but not when visibility
  20007. changes. (The code even re-created them twice every time)
  20008. - Now requiring a redraw of the buffer on visibility changes
  20009. (fixes bug 77654 part 2)
  20010. - Not passing OnParentVisibleChanged up unless the control
  20011. is visible
  20012. - CanFocus: Fixed to match MS documentation
  20013. - Focus: Fixed to return actual focus state and to check if
  20014. setting focus is legal before setting it
  20015. 2006-03-08 Peter Dennis Bartok <[email protected]>
  20016. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  20017. when to draw focus rectangle by looking at parent focus and
  20018. selected state instead. This fixes TabPages on Linux sometimes
  20019. having none or multiple focus rectangles.
  20020. * XplatUIX11.cs (SetFocus):
  20021. - Don't set the focus if the same window already has focus
  20022. - Use SendMessage instead of PostMessage (like it's Win32
  20023. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  20024. to match MS behaviour
  20025. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  20026. are not selectable.
  20027. 2006-03-07 Jackson Harper <[email protected]>
  20028. * PictureBox.cs: Revert line I accidently committed last week.
  20029. 2006-03-07 Peter Dennis Bartok <[email protected]>
  20030. * Control.cs:
  20031. - Added new IsRecreating and ParentIsRecreating properties to
  20032. allow testing if RecreateHandle has been called on ourselves
  20033. or one of our parents
  20034. - WndProc(WM_DESTROY): If our control handle is being recreated
  20035. we immediately need to create the handle when receiving the
  20036. destroy, that way our child windows find a valid parent handle
  20037. when they themselves are being recreated upon WM_DESTROY receipt
  20038. (fix for bug #77654 part 1)
  20039. * XplatUIX11.cs:
  20040. - DestroyWindow: WM_DESTROY must be sent to our own window before
  20041. notifying any child windows. MS documents that child windows
  20042. are still valid when WM_DESTROY is received. (Control now relies on
  20043. this behaviour)
  20044. - Added some fine-grain debug options
  20045. 2006-03-06 Jackson Harper <[email protected]>
  20046. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  20047. box and base calculations off this.
  20048. * MdiChildContext.cs:
  20049. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  20050. anymore.
  20051. 2006-03-06 Peter Dennis Bartok <[email protected]>
  20052. * Splitter.cs: In situations where the affected control is added
  20053. to the parent's control list after the splitter, we would not
  20054. populate affected. Now we try populating it on mousedown, if
  20055. it's not already set, and force it to be re-set whenever our
  20056. parent changes.
  20057. 2006-03-03 Matt Hargett <[email protected]>
  20058. * Control.cs: implement Control.Padding
  20059. * Padding.cs: -Padding.All returns -1 when constructing with the
  20060. implicit default ctor
  20061. -Padding.ToString() matches MS.NET
  20062. * ContainerControl.cs: implement
  20063. ContainerControl.AutoScaleDimensions
  20064. * ListControl.cs: implement ListControl.FormattingEnabled
  20065. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  20066. * ButtonBase.cs:
  20067. * TabPage.cs: Implement UseVisualStyleBackColor.
  20068. * PictureBox.cs: Implement PictureBox.InitialImage.
  20069. 2006-03-03 Mike Kestner <[email protected]>
  20070. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  20071. event declarations to proxy to base event.
  20072. * ListViewItem.cs: update to use ItemControl.
  20073. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  20074. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  20075. column header label rendering for 0 width columns.
  20076. 2006-03-03 Peter Dennis Bartok <[email protected]>
  20077. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  20078. that causes the control to be created. Fixes #77476.
  20079. 2006-03-02 Jackson Harper <[email protected]>
  20080. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  20081. expose_pending.
  20082. 2006-03-02 Peter Dennis Bartok <[email protected]>
  20083. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  20084. passed in for the EventArgs (fixes #77690)
  20085. 2006-03-01 Jackson Harper <[email protected]>
  20086. * ScrollBar.cs: Refresh afterbeing resized.
  20087. 2006-02-28 Mike Kestner <[email protected]>
  20088. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  20089. Clean up a tracker compile warning.
  20090. * MenuItem.cs: add internal PerformPopup method.
  20091. [Fixes #77457]
  20092. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20093. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  20094. implicit expose) when the text is set to null
  20095. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20096. * RichTextBox.cs (FlushText): When newline is true, we always
  20097. need to split the line, even if no text is on it and we may
  20098. never eat newlines. (Fixes #77669)
  20099. 2006-02-28 Mike Kestner <[email protected]>
  20100. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  20101. and set Selected instead.
  20102. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  20103. collections.
  20104. 2006-02-28 Peter Dennis Bartok <[email protected]>
  20105. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  20106. 2006-02-28 Alexander Olk <[email protected]>
  20107. * FontDialog.cs:
  20108. - Got rid of the panel. All controls are now directly added to
  20109. the dialog form
  20110. - It is now possible to set a font with the Font property
  20111. - MinSize and MaxSize property do now what they should
  20112. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  20113. - Searching and selecting a font with the font textbox works now,
  20114. the same applies to the style and size textbox
  20115. - Draw the correct 3D border in the example panel
  20116. - Fixed a little mem leak (unused fonts didn't get disposed)
  20117. - Many other internal updates/rewrites...
  20118. - Fix typo
  20119. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20120. * TextControl.cs:
  20121. - InsertRTFFromStream: Added 'number of characters inserted' argument
  20122. - set_SelectedRTF: Now using the number of characters to calculate
  20123. the new location for the selection and cursor (x/y cannot be used
  20124. due to potentially already wrapped text)
  20125. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20126. * TextControl.cs: Added property and implemented means to allow
  20127. disabling recalculation of a document (can be used to speed up
  20128. multiple inserts and is needed to make RTF inserts predictable, see
  20129. bug #77659)
  20130. * RichTextBox.cs: Using the new NoRecalc property of Document to
  20131. keep x/y insert locations predictable. Also makes it faster inserting
  20132. large chunks of RTF
  20133. 2006-02-27 Peter Dennis Bartok <[email protected]>
  20134. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  20135. it's easier for a child control to handle the other messages without
  20136. having to duplicate the special functionality
  20137. * TextBoxBase.cs
  20138. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  20139. code to handle processing the key ourselves, in order to get
  20140. access to the result of KeyEventArgs.Handled. We now only call
  20141. ProcessKey if they key hasn't been handled already. Fixes #77526.
  20142. - set_Text: If null or empty string is given, just clear the
  20143. document. Fixes part of #77526
  20144. 2006-02-27 Jackson Harper <[email protected]>
  20145. * SizeGrip.cs: Paint the background color before painting the grip
  20146. so things look right.
  20147. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  20148. 2006-02-27 Mike Kestner <[email protected]>
  20149. * ListView.cs:
  20150. - Restructure layout and invalidation model to remove a ton of
  20151. flicker from the control and speed up performance in general.
  20152. - Add manual column resize, flickers like crazy, but I already have
  20153. some ideas on how I'll fix that. (#76822)
  20154. - Merge the three Icon-based views into a single layout method.
  20155. - Move item selection interaction logic from the item since
  20156. interaction with the collections is more appropriate to the view.
  20157. - Deselection on non-item clicks.
  20158. * ListViewItem.cs:
  20159. - Encapsulate most of the layout. Add some internal props to trigger
  20160. layout. Move to a model where Items invalidate themselves instead
  20161. of just invalidating the whole control every time something changes.
  20162. - Invalidate on Text/Caption changes.
  20163. - switch to an offset based layout model to avoid having to absolute
  20164. position every element on item moves.
  20165. - correct checkbox layout to conform to MS layout.
  20166. * ThemeWin32Classic.cs:
  20167. - refactor some column header drawing code.
  20168. - fix string justification for column headers (#76821)
  20169. - make SmallIcon labels top justified for compat with MS impl.
  20170. * ThemeClearlooks.cs:
  20171. - adjust to new ListViewItem internal checkbox bounds api.
  20172. 2006-02-27 Jackson Harper <[email protected]>
  20173. * Control.cs: Change where implicit controls fall in the zorder.
  20174. They are now on top of all children.
  20175. - Synced AddImplicit code with Add
  20176. - Removed unused enumerator.
  20177. * SizeGrip.cs: Remove the TODO as its been TODONE.
  20178. 2006-02-26 Peter Dennis Bartok <[email protected]>
  20179. * TextControl.cs(Insert): Combine the last lines unless the insertion
  20180. string ends with \n\n, otherwise we leave one line too many (Fixes
  20181. something I noticed with the testapp for #77526; the bug itself was
  20182. already fixed in the previous checkin)
  20183. 2006-02-26 Peter Dennis Bartok <[email protected]>
  20184. * RichTextBox.cs:
  20185. - SelectionColor and SelectionFont methods no longer set absolute
  20186. styles. Instead, the keep font or color respectively (This
  20187. resolves a long-standing FIXME in the code)
  20188. - When flushing RTF text, the insert code now considers text trailing
  20189. behind the insertion point (Fixes the bug where when replacing
  20190. the selected text via SelectedRTF the remainder of the line behind
  20191. the selection would stay on the first insertion line)
  20192. * TextBoxBase.cs:
  20193. - AppendText now updates the selection points after inserting text
  20194. - AppendText now ensures that the last tag (sometimes 0-length) of
  20195. the document is used for the style information (Fixes part of
  20196. bug #77220)
  20197. * TextControl.cs:
  20198. - Created new FontDefiniton class to allow describing partial style
  20199. changes
  20200. - StreamLine() now takes a lines argument, to allow it to decide
  20201. whether an encountered zero-length tag is the last in the document
  20202. (which must be kept to not loose the font/color contained in it,
  20203. for later appends)
  20204. - Created Combine() and Split() methods for Marker structs, to
  20205. support marker updates due to reformatted documents (soft line
  20206. wraps)
  20207. - Implemented Document.CaretTag setter
  20208. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  20209. of the last line (Not the cause, but also exposed by bug #77220)
  20210. - Added LineTag argument to InsertString method, to allow callers
  20211. to force a certain tag to be used (required to force use of the
  20212. trailing zero-length tag of a document)
  20213. - Now updating markers in Combine(), to avoid stale tag markers
  20214. - Added some method descriptions to aid maintenance
  20215. - Implemented new FormatText concept, allowing additive/subtractive
  20216. formatting by only specifying the components that are to be
  20217. changed. This was needed for resolving the RTB.SelectedColor/
  20218. RTB.SelectedFont fixmes
  20219. - Added Break() support method to allow breaking up linetags (used
  20220. for partial formatting)
  20221. - Added GenerateTextFormat() method. It is used for partial
  20222. formatting and allows to generate a full font/color from given
  20223. attributes and an existing tag.
  20224. 2006-02-26 Jackson Harper <[email protected]>
  20225. * XplatUIX11.cs: Use the correct caption height.
  20226. - Translate hittest coordinates to screen coords to match MS.
  20227. * XplatUIWin32.cs: When we create MDI windows we need to reset
  20228. some of the style flags, so we get a nice blank window, and can
  20229. draw all the decorations ourselves.
  20230. - Set a clipping rectangle on the non client paint event, the
  20231. window manager drawing code needs one.
  20232. * Form.cs: The window manager needs to know when the window state
  20233. has been updated.
  20234. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  20235. don't need to factor in border and title sizes in these
  20236. methods. TODO: Remove the args and fix the call points.
  20237. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  20238. properly.
  20239. - Let the driver set the cursors.
  20240. - Improve active window handling
  20241. - Correct sizes for title bars and buttons.
  20242. - Match MS drawing better
  20243. * MdiWindowManager.cs: We don't need to handle border style
  20244. updates specially anymore.
  20245. - Check for scrollbars when windows are done moving
  20246. - Handle Active properly.
  20247. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  20248. correctly. I am spewing the exception though, so we don't hide the
  20249. bugs.
  20250. 2006-02-26 Pedro Martinez Julia <[email protected]>
  20251. * DataGridViewRowPostPaintEventArgs.cs,
  20252. DataGridViewCellPaintingEventArgs.cs,
  20253. DataGridViewRowCollection.cs,
  20254. DataGridViewRowPrePaintEventArgs.cs,
  20255. DataGridViewCell.cs: Clear a few warnings and implement a few
  20256. exceptions that should be thrown.
  20257. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20258. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  20259. 'inheriting' our parent's (non-default) cursor. (Part of
  20260. the fix for #77479)
  20261. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20262. * XplatUIX11.cs: Fixed cast to make csc happy
  20263. 2006-02-22 Peter Dennis Bartok <[email protected]>
  20264. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  20265. it's for the client area (part of fix for #77479 and needed
  20266. for MDI window cursor handling)
  20267. * XplatUIX11.cs
  20268. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  20269. the appropriate default cursors and also passing the message
  20270. up the parent chain
  20271. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  20272. for non-client areas
  20273. 2006-02-15 Jackson Harper <[email protected]>
  20274. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  20275. is a real MDI window
  20276. 2006-02-14 Alexander Olk <[email protected]>
  20277. * X11DesktopColors.cs: Instead of checking the desktop session
  20278. string for "KDE" check if it starts with "KDE"
  20279. 2006-02-10 Jackson Harper <[email protected]>
  20280. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  20281. systems).
  20282. 2006-02-10 Alexander Olk <[email protected]>
  20283. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  20284. errors
  20285. * ColorDialog.cs:
  20286. - Got rid of the panel. All controls are now directly added to
  20287. the dialog form
  20288. - Changed to mono coding style
  20289. 2006-02-10 Jackson Harper <[email protected]>
  20290. * InternalWindowManager.cs: We don't need the set visibility to
  20291. false hack anymore now that peter has written beautiful shutdown
  20292. code.
  20293. 2006-02-10 Peter Dennis Bartok <[email protected]>
  20294. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  20295. where already explicitly destroyed
  20296. 2006-02-10 Jackson Harper <[email protected]>
  20297. * MdiClient.cs: Handle the case where windows are too high or to
  20298. the left and we need scrollbars.
  20299. 2006-02-10 Alexander Olk <[email protected]>
  20300. * MimeIcon.cs: Added some icons
  20301. * FileDialog.cs:
  20302. - Fixed bug #77477
  20303. - Got rid of the panel. All controls are now directly added to
  20304. the dialog form
  20305. - Changed to mono coding style
  20306. - On Linux "My Computer" and "My Network" will now show some
  20307. more usefull information. A new class, MasterMount, gathers
  20308. this information from /proc/mount. Updated MWFFileView to make
  20309. use of this information
  20310. - Fixed a bug that caused FileDialog to crash when
  20311. ".recently_used" file had a zero size
  20312. - FilterIndex does now what it should
  20313. - Some Refactoring
  20314. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  20315. FileDialog changes
  20316. 2006-02-09 Jackson Harper <[email protected]>
  20317. * ComboBox.cs: Don't touch if null.
  20318. 2006-02-09 Peter Dennis Bartok <[email protected]>
  20319. * Cursor.cs: 64bit safeness fix
  20320. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  20321. 2006-02-09 Jackson Harper <[email protected]>
  20322. * Form.cs: If a form is made into an MDI form update the styles so
  20323. all the props can get set correctly.
  20324. - Kill the mdi_container when we dont need it anymore.
  20325. * InternalWindowManager.cs: Add missing NOT
  20326. 2006-02-08 Jackson Harper <[email protected]>
  20327. * InternalWindowManager.cs: Respek clipping when drawing MDi
  20328. decorations.
  20329. 2006-02-08 Jackson Harper <[email protected]>
  20330. * Hwnd.cs: Add bits to track non client expose events.
  20331. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  20332. gives us a proper invalid rect and will allow for some nice
  20333. optimizations with NC client drawing
  20334. - MDI windows are children windows, so move their style handling
  20335. into the child window block.
  20336. * InternalWindowManager.cs: Remove a state reset that was
  20337. getting invoked at the wrong time. Fixes managed windows getting
  20338. into a 'stuck' captured state.
  20339. 2006-02-07 Peter Dennis Bartok <[email protected]>
  20340. * TextControl.cs (Document.ctor): Now initializing
  20341. selection_anchor. Fixes #77493
  20342. 2006-02-07 Jackson Harper <[email protected]>
  20343. * TrackBar.cs: The increment/decrements were backwards.
  20344. 2006-02-07 Mike Kestner <[email protected]>
  20345. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  20346. to the instance itself.
  20347. 2006-02-07 Peter Dennis Bartok <[email protected]>
  20348. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  20349. on ulongs and pointers, the size differs between 32bit and 64bit
  20350. systems.
  20351. 2006-02-07 Mike Kestner <[email protected]>
  20352. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  20353. for 64 bit platforms to work around a metacity bug.
  20354. 2006-02-07 Jackson Harper <[email protected]>
  20355. * TrackBar.cs: Process the input keys we need, and hookup to
  20356. KeyDown instead of using WndProc, so we get key messages.
  20357. 2006-02-06 Peter Dennis Bartok <[email protected]>
  20358. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  20359. machine we're on.
  20360. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  20361. we need to translate the XdndVersion atoms array before sending it
  20362. 2006-02-06 Peter Dennis Bartok <[email protected]>
  20363. * XplatUIX11.cs:
  20364. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  20365. number of bits for the property, not the number of bytes. The
  20366. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  20367. but would not crash since it specified 8 bits instead of 4 bits)
  20368. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  20369. defined as XID -> long in the C headers)
  20370. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  20371. references since those are now IntPtr to begin with
  20372. - Switched all Atom.XXX 'int' casts to IntPtr casts
  20373. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  20374. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  20375. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  20376. * X11Structs.cs:
  20377. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  20378. - Changed atom in HoverStruct to be IntPtr
  20379. * X11DnD.cs:
  20380. - Removed local DllImports, switched code to use those from XplatUIX11
  20381. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  20382. 2006-02-06 Mike Kestner <[email protected]>
  20383. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  20384. method signatures in the import region. There may still be some
  20385. lingering struct marshaling issues, as I didn't drill down into those.
  20386. Yet.
  20387. 2006-02-06 Jackson Harper <[email protected]>
  20388. * ComboBox.cs: Dont manually set the top_item, this is computed
  20389. when the scrollbar position is set.
  20390. 2006-02-06 Mike Kestner <[email protected]>
  20391. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  20392. startup crashes on amd64. There's other fixes needed. All pinvoke
  20393. usage of Atom needs to be mapped to IntPtr for example. And there are
  20394. likely other int/long issues to be addressed.
  20395. 2006-02-04 Alexander Olk <[email protected]>
  20396. * FileDialog.cs: One more...
  20397. 2006-02-03 Alexander Olk <[email protected]>
  20398. * FileDialog.cs: Next try
  20399. 2006-02-03 Alexander Olk <[email protected]>
  20400. * FileDialog.cs: First part of fix for #77464
  20401. 2006-02-03 Alexander Olk <[email protected]>
  20402. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  20403. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  20404. AcceptButton border drawing.
  20405. 2006-02-03 Peter Dennis Bartok <[email protected]>
  20406. * Form.cs: Moved positioning of form after auto scaling is applied,
  20407. otherwise it would possibly use wrong form size.
  20408. 2006-02-03 Peter Dennis Bartok <[email protected]>
  20409. * Control.cs (RecreateHandle): No need to re-create any child
  20410. controls, the child windows will get destroyed automatically by
  20411. the windowing system or driver, and re-created when the handle
  20412. is being accessed the first time. Fixes #77456
  20413. * Form.cs: No longer setting the form to closing if the handle is
  20414. being recreated. This seems like the right thing to do, don't
  20415. have a bug or testcase for this, though.
  20416. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20417. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  20418. controls to avoid unwanted side effects
  20419. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20420. * Control.cs:
  20421. - ScaleCore needs to scale the bounds, not the ClientSize of the
  20422. control. Fixes #77416.
  20423. - DefaultSize is 0,0 for control
  20424. * TextBoxBase.cs:
  20425. - DefaultSize is 100, 20
  20426. - SetBoundsCore: Now enforcing the height, no matter if the provided
  20427. height is more or less than the preferred one, as long as AutoSize
  20428. is on
  20429. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  20430. 2006-02-02 Peter Dennis Bartok <[email protected]>
  20431. * Control.cs:
  20432. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  20433. call unless both performLayout is true *and* we have a pending
  20434. layout change
  20435. - ResumeLayout: MS does not completely nest Suspend and Resume,
  20436. they bottom out at 0, fixed our code to match that.
  20437. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  20438. SetBoundsCore, we were updating even when we shouldn't. This fixes
  20439. swf-anchors mis-anchoring when resizing the app fast and lots.
  20440. - UpdateDistances: Now only setting the left and top distance if
  20441. we have a parent and are not suspended, this is based on
  20442. a suggestion by Don Edvaldson in bug #77355.
  20443. - OnVisibleChanged: Fixed logic when to create the control. We may
  20444. not create the control if we have no parent or if it's not visible;
  20445. switched to using Visible property instead of is_visible field
  20446. since the property also considers parent states. This fixes a bug
  20447. when starting Paint.Net
  20448. 2006-02-02 Jackson Harper <[email protected]>
  20449. * Form.cs: If the forms handle hasn't been created yet don't call
  20450. into xplatui to make it top most, just set the topmost flag on the
  20451. form in CreateParams
  20452. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  20453. 2006-02-01 Jackson Harper <[email protected]>
  20454. * ScrollableControl.cs: Refactored the Recalculate method a
  20455. little, this wasn't handling all the variants of bottom and right
  20456. bars needed to be added and added/removed based on their
  20457. counterparts being added/removed (which changes the drawable
  20458. size). Also we special case client widths and heights of 0 and
  20459. don't add the scrollbar for those.
  20460. 2006-02-01 Peter Dennis Bartok <[email protected]>
  20461. * XplatUIX11.cs:
  20462. - Added method to get AbsoluteGeometry(); currently unused, but might
  20463. be used in the future, if we try again to figure out toplevel
  20464. coordinates with some more crappy window managers
  20465. - Added FrameExtents() method to retrieve the WM set decoration size
  20466. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  20467. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  20468. * Hwnd.cs:
  20469. - Added whacky_wm tracking var for metacity
  20470. - Added logic to have default menu height if the actual menu height
  20471. has not yet been calculated (part of fix for #77426)
  20472. * Form.cs: Keep track whether client size has been set and re-set
  20473. it if a menu is added/removed afterwards (Fixes #77426)
  20474. 2006-01-31 Jackson Harper <[email protected]>
  20475. * Control.cs: When a new Site is set on the component attempt to
  20476. pull the AmbientProperties from it.
  20477. 2006-01-31 Peter Dennis Bartok <[email protected]>
  20478. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  20479. in the background of the owning form. Fixes #77332
  20480. 2006-01-31 Alexander Olk <[email protected]>
  20481. * MimeIcon.cs: Fix for #77409
  20482. 2006-01-31 Alexander Olk <[email protected]>
  20483. * XplatUIX11GTK.cs: Initial import
  20484. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  20485. * FixedSizeTextBox: fixes class signature
  20486. 2006-01-30 Jackson Harper <[email protected]>
  20487. * FixedSizeTextBox.cs: New internal class that represents a
  20488. textBox that will not be scaled.
  20489. * TreeView.cs:
  20490. * ComboBox.cs:
  20491. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  20492. standard TextBox.
  20493. 2006-01-30 Peter Dennis Bartok <[email protected]>
  20494. * XplatUIX11.cs: Retrieve default screen number instead of
  20495. assuming 0. Attempted fix for #77318
  20496. 2006-01-30 Peter Dennis Bartok <[email protected]>
  20497. * XplatUIWin32.cs:
  20498. - GetWindowPos: When a window is parented by FosterParent, use
  20499. the desktop instead of FosterParent as the base to get coordinates
  20500. - CreateWindow: Don't make FosterParent the parent window for Popups
  20501. if we don't want a taskbar entry, Popups automatically don't get one
  20502. * Hwnd.cs: Need to call remove to actually remove the key from the
  20503. hash table
  20504. 2006-01-30 Mike Kestner <[email protected]>
  20505. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  20506. 2006-01-30 Jackson Harper <[email protected]>
  20507. * TreeView.cs:
  20508. * TreeNode.cs: Raise events no matter how the treenode is
  20509. checked. Patch by Don Edvalson.
  20510. 2006-01-30 Jackson Harper <[email protected]>
  20511. * TreeNode.cs: Signature fix.
  20512. 2006-01-29 Alexander Olk <[email protected]>
  20513. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  20514. 2006-01-20 Mike Kestner <[email protected]>
  20515. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  20516. event forwarding when menus are active.
  20517. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  20518. Most of the patch is pdb's with a little rework.
  20519. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20520. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  20521. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  20522. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  20523. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  20524. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  20525. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  20526. the PaintWindowDecorations method
  20527. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  20528. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  20529. * MenuAPI.cs: Made tracker window invisible
  20530. * XplatUIWin32.cs:
  20531. - Removed GetMenuDC and ReleaseMenuDC methods
  20532. - Implemented the client=false path for PaintEventStart and
  20533. PaintEventEnd
  20534. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20535. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  20536. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  20537. styles
  20538. * Form.cs:
  20539. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  20540. the style
  20541. - CreateParams: Reworked the styles to match MS look'n'feel,
  20542. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  20543. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  20544. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20545. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  20546. window is not mapped, since otherwise every form that's being
  20547. created is considered minimized, which is wrong.
  20548. * Form.cs: Catching the exception and returning our internal value
  20549. instead
  20550. 2006-01-26 Peter Dennis Bartok <[email protected]>
  20551. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  20552. SetWindowMinMax() to have means to tell the driver about the minimum,
  20553. maximum and maximized state window sizes. (Part of the fix for #76485)
  20554. * Form.cs:
  20555. - Implemented tracking of minimum and maximum window size, now calling
  20556. new SetWindowMinMax() driver method to tell the driver (Part of the
  20557. fix for #76485)
  20558. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  20559. (Completes fix for #76485)
  20560. - Calling new SetWindowMinMax driver method when the handle for a
  20561. form is created, to make sure the driver knows about it even if
  20562. the values have been set before the window was created
  20563. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  20564. to avoid messing up our anchoring calculations (partial fix
  20565. for #77355)
  20566. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  20567. * XplatUIX11.cs:
  20568. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  20569. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  20570. (and presumably other freedesktop.org compliant WMs). Left the
  20571. assumption unmapped=minimized, needed for SetVisible to work.
  20572. - Now setting the window state when creating windows
  20573. - Fixed SetVisible to consider/set the window state when mapping
  20574. a Form. We cannot set the state before it's mapped, and we cannot
  20575. use Form.WindowState once it's mapped (since it would ask the
  20576. driver and get 'normal'. Therefore, we grab the state before
  20577. mapping, map, and then set state.
  20578. - Implmemented SetWindowMinMax method; Metacity does not seem to
  20579. honor the ZoomHints, though.
  20580. * XplatUIWin32.cs:
  20581. - Removed MINMAXINFO (moved to XplatUIStructs)
  20582. - Added SetWindowMinMax stub (on Win32 the only way to set that
  20583. information is in response to the WM_GETMINMAXINFO message, which
  20584. is handled in Form.cs)
  20585. - Added logic to SetVisible to set the proper window state when a
  20586. form is made visible (fixes #75720)
  20587. 2006-01-26 Jackson Harper <[email protected]>
  20588. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  20589. same way we handle them with Invoke.
  20590. 2006-01-25 Peter Dennis Bartok <[email protected]>
  20591. * Form.cs:
  20592. - Added tracking of window state so CreateParams can return
  20593. the appropriate style
  20594. - Moved setting of WS_CAPTION style in CreateParams to allow
  20595. styles without caption
  20596. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  20597. control if the TextBox property is accessed. Fixes #77345
  20598. * Control.cs:
  20599. - get_Created: now uses is_disposed and is_created to determine
  20600. return value (suggested by Jackson)
  20601. - CreateHandle: No longer exits if the handle is being recreated
  20602. - RecreateHandle: If the handle is not yet created call the
  20603. appropriate method to create either control or handle. If the
  20604. control is already created CreateHandle will simply exit instead
  20605. of just creating the handle
  20606. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  20607. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  20608. is called.
  20609. * XplatUIX11.cs:
  20610. - When DestroyWindow is called, instead of waiting for the
  20611. DestroyNotification from X11, we directly post it to the WndProc
  20612. and immediately dispose the hwnd object.
  20613. Same applies to DestroyChildWindows, and this obsoletes the
  20614. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  20615. child windows before our own, to avoid X11 errors.
  20616. - Removed the direct sending of WM_PAINT on UpdateWindow
  20617. * XplatUIWin32.cs:
  20618. - Reworked DoEvents and GetMessage to allow access to internal queue
  20619. even when trying non-blocking access to the queue. Fixes #77335.
  20620. Based on a patch suggestion by Don Edvalson. The new private
  20621. GetMessage can now also be used as a backend for a PeekMessage
  20622. frontend version.
  20623. * XplatUI.cs: Improved debug output for CreateWindow
  20624. 2006-01-25 Jackson Harper <[email protected]>
  20625. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  20626. 2006-01-24 Jackson Harper <[email protected]>
  20627. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  20628. when we have a MaxDropItems lower then the selected index.
  20629. 2006-01-24 Jackson Harper <[email protected]>
  20630. * Control.cs: Don't allow selection of non visible controls, allow
  20631. selection of controls without parents.
  20632. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  20633. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  20634. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  20635. 2006-01-23 Jackson Harper <[email protected]>
  20636. * UpDownBase.cs: Make the textbox handle all the selection and
  20637. tabbing. This fixes tabing to updown controls.
  20638. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  20639. * TextBoxBase.cs: fixes exception thown the object was null
  20640. 2006-01-23 Jackson Harper <[email protected]>
  20641. * ButtonBase.cs: Just use the base CreateParams. They set
  20642. visibility and enabled correctly.
  20643. * ComboBox.cs:
  20644. * TrackBar.cs:
  20645. * MonthCalendar.cs: Lets let the base set as much of the
  20646. createparams as possible so we don't have duplicate code all over
  20647. the place.
  20648. 2006-01-22 Alexander Olk <[email protected]>
  20649. * ThemeGtk.cs: Added TrackBar and some experimental code to
  20650. get double buffering back
  20651. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  20652. * DataGrid.cs: Allows row number set internally higher than the last
  20653. when creating a new row. Restores the editing functionality.
  20654. 2006-01-20 Mike Kestner <[email protected]>
  20655. * MimeIcon.cs: delay Image creation until the icons are accessed
  20656. instead of creating 190 scaled images on GnomeHandler startup.
  20657. 2006-01-19 Peter Dennis Bartok <[email protected]>
  20658. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  20659. first call base before processing the event. Fixes #77279
  20660. 2006-01-19 Peter Dennis Bartok <[email protected]>
  20661. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  20662. that the stride for the GDI bitmap would match the stride of
  20663. a DIB or a Cursor.
  20664. 2006-01-19 Alexander Olk <[email protected]>
  20665. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  20666. 2006-01-19 Jackson Harper <[email protected]>
  20667. * ComboBox.cs: Hookup the text controls keydown event so we get
  20668. those when the text control has the focus.
  20669. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20670. * Label.cs: Now using the base events instead of defining new ones;
  20671. this allows us to just call the base properties without having to
  20672. duplicate all base property logic
  20673. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20674. * Label.cs: A label by default is not a tabstop (Fixes one of our
  20675. failing nunit tests)
  20676. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20677. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  20678. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  20679. 2006-01-18 Peter Dennis Bartok <[email protected]>
  20680. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  20681. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  20682. This fixes #77218
  20683. * XplatUIWin32.cs:
  20684. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  20685. constructor creates images that can't be saved. Part of the fix
  20686. for #76103
  20687. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  20688. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  20689. bug fix for handling window state in forms properly)
  20690. 2006-01-18 Alexander Olk <[email protected]>
  20691. * ThemeGtk.cs: Simplify ScrollBar drawing
  20692. 2006-01-18 Jackson Harper <[email protected]>
  20693. * Splitter.cs: Set the default dock style for the splitter control
  20694. in the constructor.
  20695. 2006-01-18 Alexander Olk <[email protected]>
  20696. * ThemeGtk.cs: Corrected StateType and ShadowType for
  20697. gtk_paint_box
  20698. 2006-01-18 Alexander Olk <[email protected]>
  20699. * Control.cs: Make use of Theme.DoubleBufferingSupported
  20700. * ThemeGtk.cs:
  20701. - Added drawing for flat style buttons
  20702. - Added ScrollBar drawing
  20703. 2006-01-18 Alexander Olk <[email protected]>
  20704. * ThemeClearlooks.cs: Removed some unneeded code.
  20705. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  20706. 2006-01-17 Peter Dennis Bartok <[email protected]>
  20707. * LinkLabel.cs: We need to update the hover drawing when
  20708. leaving the control as well.
  20709. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  20710. * DataGrid.cs: Clicking on non empty areas in the columns
  20711. area was giving an exception
  20712. 2006-01-17 Jackson Harper <[email protected]>
  20713. * ThemeWin32Classic.cs:
  20714. * ListView.cs: Do not draw/clip the headers when the header style
  20715. is None.
  20716. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  20717. * DataGrid.cs: Fixes 77260
  20718. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  20719. * DataGrid.cs: Clicking on a column on a empty grid was giving
  20720. an exception
  20721. 2006-01-17 Peter Dennis Bartok <[email protected]>
  20722. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  20723. or any keypress will crash the grid.
  20724. 2006-01-17 Mike Kestner <[email protected]>
  20725. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  20726. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  20727. invisible/previously-visible items.
  20728. [Fixes #76909]
  20729. 2006-01-17 Alexander Olk <[email protected]>
  20730. * ThemeClearlooks.cs:
  20731. - Added CL_Draw_Button method; now other theme controls that are
  20732. not derived from button or do not have a button can draw buttons
  20733. too
  20734. - Updated ComboBox drawing
  20735. - Beautified RadioButton drawing
  20736. - Corrected drawing of bottom and left tabs
  20737. - Beautified DateTimePicker and MonthCalendar
  20738. - Added CPDrawButton and CPDrawRadioButton
  20739. 2006-01-16 Jackson Harper <[email protected]>
  20740. * ComboBox.cs: Set the initial value of the scrollbar to the
  20741. current index. Reduce the numbers of refreshs and IndexOfs called.
  20742. 2006-01-14 Alexander Olk <[email protected]>
  20743. * FileDialog.cs: When the file listview is focused hitting the
  20744. backspace key moves the fileview to the parent directory
  20745. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20746. * Form.cs:
  20747. - Added RecreateHandle call when changing taskbar visibility to
  20748. trigger reparenting in Win32 driver (Fixes #75719)
  20749. - If a window has minimize or maximize buttons, it cannot have
  20750. a help button
  20751. * XplatUIWin32.cs:
  20752. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  20753. the toplevel form with FosterParent (A toolwindow not on the
  20754. taskbar) (Fixes #75719)
  20755. - Made FosterParent a toolwindow
  20756. 2006-01-13 Alexander Olk <[email protected]>
  20757. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  20758. 2006-01-13 Alexander Olk <[email protected]>
  20759. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  20760. is currently over that control, make sure that tooltip_window.Text
  20761. gets updated
  20762. 2006-01-13 Mike Kestner <[email protected]>
  20763. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  20764. 2006-01-13 Jackson Harper <[email protected]>
  20765. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  20766. value passed. Also redraw the selected node when we recieve
  20767. focus, so tabbing between trees works correctly.
  20768. 2006-01-13 Alexander Olk <[email protected]>
  20769. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  20770. ~/.gconf/%gconf-tree.xml, so use
  20771. .gconf/desktop/gnome/interface/%gconf.xml
  20772. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20773. * TextControl.cs: Draw text in gray if control is disabled
  20774. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20775. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  20776. make sure it's always visible. Fixes #76680.
  20777. 2006-01-13 Peter Dennis Bartok <[email protected]>
  20778. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  20779. 2006-01-13 Jonathan Chambers <[email protected]>
  20780. * PageSetupDialog.cs: Added.
  20781. * PrintDialog.cs: Attributes.
  20782. * PrintPreviewControl.cs: Updates.
  20783. * PrintPreviewDialog.cs: Updates.
  20784. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20785. * Control.cs: Undid my selection check fix, since it's not needed
  20786. * TextBoxBase.cs:
  20787. - Now considering the presence of hscroll/vscroll when sizing
  20788. vscroll/hscroll respectively. Fixed bug #77077
  20789. - Added Left/Up/Down/Right to IsInputKey list to prevent
  20790. ContainerControl from stealing them. This fixes what I broke
  20791. with my last checkin.
  20792. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20793. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  20794. I finally understand how the property can be set without a setter :-)
  20795. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20796. * Application.cs:
  20797. - Switched RunLoop to use static Message.Create to create a
  20798. Message object
  20799. - Added PreProcessMessage call in runloop for keyboard events; this
  20800. is part of the fix for #77219, I overlooked this originally in the
  20801. MSDN doc for PreProcessMessage
  20802. * Control.cs:
  20803. - Removed call to PreProcessMessage from handling of keyboard
  20804. messages; it's supposed to be done in the message pump
  20805. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  20806. per MSDN documentation.
  20807. - IsInputChar: All chars are input chars by default; removed the
  20808. parent calling chain, MS does not document that
  20809. - PreProcessMessage: If IsInputChar is true, we want to return false
  20810. to allow dispatching of the message
  20811. - When selecting the next control, now also check that we're not
  20812. selecting ourselves again and therefore return a false positive.
  20813. * TextBoxBase.cs:
  20814. - Tried to match return values for IsInputKey and ProcessDialogKey
  20815. to what MS returns; moved processing of our special keys outside
  20816. ProcessDialogKey since MS does not seem to return true on those.
  20817. - Moved code that previously was in ProcessDialogKey into new private
  20818. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  20819. - Reworked handling of WM_CHAR to not have to duplicate code from
  20820. Control.cs anymore, instead we simply call down to base.
  20821. 2006-01-12 Jackson Harper <[email protected]>
  20822. * ComboBox.cs: We always need to refresh the text area when
  20823. EndUpdate is called. Fixes the combobox in the file dialog.
  20824. * Control.cs: Don't create the creator_thread until the controls
  20825. handle is created. Also in InvokeRequired we check if the
  20826. creator_thread is null. This gives the effect of InvokeRequired
  20827. returning true if the controls handle is not created yet, and
  20828. matches MS.
  20829. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20830. * XplatUI.cs:
  20831. - Added StartLoop() driver method. This is used to allow drivers to
  20832. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  20833. loop for a particular thread
  20834. - Added EndLoop() driver method. This is called once the message
  20835. pump for the thread is shut down
  20836. - Added SupportsTransparency method to allow the driver to indicate
  20837. opacity support for windows
  20838. * Form.cs:
  20839. - Removed TODO attribute, completed AllowTransparency property
  20840. - Added documented logic to Opacity
  20841. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  20842. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  20843. versions of CompatibleTextRendering
  20844. * X11Structs.cs: Added opacity atom to our atom enumeration
  20845. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  20846. of a form might be set before it's reparented by the WM, and we need
  20847. the opacity value without calling up to Form)
  20848. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  20849. SupportsTransparency() driver methods
  20850. * Application.cs: Now calling StartLoop and EndLoop driver methods
  20851. * XplatUIX11.cs:
  20852. - Added opacity atom registration
  20853. - Added StartLoop()/EndLoop() methods. They're empty right now but
  20854. will need to get implemented when we switch to a per-thread queue
  20855. - Implemented SupportsTransparency() method
  20856. - Implemented SetWindowTransparency() method
  20857. - Added support for setting the opacity value when a window is
  20858. reparented (since the opacity needs to be set on the WM frame)
  20859. * XplatUIOSX.cs, XplatUIWin32.cs:
  20860. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  20861. 2006-01-12 Alexander Olk <[email protected]>
  20862. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  20863. 2006-01-12 Alexander Olk <[email protected]>
  20864. * FileDialog.cs: Added ToolTip for MWFFileView
  20865. * MimeIcon.cs: Rewrote GnomeHandler.
  20866. - Get currently used gnome icon theme from
  20867. ($HOME)/.gconf/%gconf-tree.xml
  20868. - Make use of inherited icon themes
  20869. - Support SVG icon themes like Tango via librsvg
  20870. 2006-01-12 Miguel de Icaza <[email protected]>
  20871. Revert's Jackson's revert which broke 2.0 builds. Fix both
  20872. builds.
  20873. * Application.cs: Move the use_compatible_text_rendering outside
  20874. the NET_2_0 define. If we ever need to use the
  20875. use_compatible_text_rendering on the individual controls they will
  20876. access the variable from the common shared code paths.
  20877. 2006-01-12 Peter Dennis Bartok <[email protected]>
  20878. * XplatUI.cs:
  20879. - Added more granular debug options
  20880. - Added method to print both window text and id
  20881. - Switched debug output to use new Window() debug method
  20882. - Added IsEnabled() driver method
  20883. - Added EnableWindow() driver method
  20884. * Form.cs:
  20885. - Removed end_modal; no longer needed, new loop handles termination
  20886. via 'closing' variable
  20887. - If form is modal, setting DialogResult will now initiate loop
  20888. termination via 'closing' variable
  20889. - Added support for is_enabled/WS_DISABLED to CreateParams
  20890. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  20891. does all the work
  20892. - Removed code that's now in RunLoop from ShowDialog()
  20893. - Added various documented sanity checks to ShowDialog()
  20894. - Added handling of WM_DESTROY message; we set 'closing' on getting
  20895. the message to indicate the message pump to terminate
  20896. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  20897. send by the Application.ExitThread method. (We send the message
  20898. to destroy the window after all other events have been
  20899. processed through the queue, instead of destroying the handle
  20900. directly)
  20901. - Moved code from Close() method to WM_CLOSE handler; added logic
  20902. to only send close-related events if the form is not displayed
  20903. modal
  20904. * Splitter.cs (..ctor): Fixed typo in resource name
  20905. * Control.cs:
  20906. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  20907. brush now
  20908. - set_Cursor: Now only setting calling into XplatUI if the handle for
  20909. the control is already created; this avoids implict handle creation
  20910. or crashes if it's not created
  20911. - set_Enabled: Now setting the enabled state via the new driver method
  20912. instead of just tracking it
  20913. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  20914. - CreateControl: Reordered event firing and method calls to more
  20915. closely fire events in the order MS does. Now setting the
  20916. enabled state in the driver when creating the control.
  20917. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  20918. match MS order
  20919. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  20920. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  20921. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  20922. * Hwnd.cs:
  20923. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  20924. - Added EnabledHwnd property to easily allow a driver to find the
  20925. handle of the first enabled window in the parent chain (this is
  20926. used by drivers to pass up input events of disabled windows)
  20927. * XplatUIDriver.cs: Added IsEnabled() method
  20928. * Application.cs:
  20929. - Removed crude and obsolete exiting tracking variable
  20930. - Removed internal ModalRun(); replaced by RunLoop()
  20931. - Implemented private CloseForms() method to allow closing all
  20932. windows owned by a particular (or all) threads
  20933. - Exit() now properly closes all windows without forcing the message
  20934. pump to quit
  20935. - Removed obsolete InternalExit() method
  20936. - Changed Run() methods to use new RunLoop() message pump
  20937. - Implemented new RunLoop() method for both modal and non-modal forms
  20938. * CommonDialog.cs:
  20939. - get_CreateParams: Added setting of WS_DISABLED
  20940. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  20941. invoked via Form.ShowDialog()
  20942. * NativeWindow.cs: We don't remove the window from the collection when
  20943. the handle is destroyed; there might still be messages for it in the
  20944. queue (mainly the resulting WM_DESTROY); instead it will be removed
  20945. when Control calls InvalidateHandle in the WM_DESTROY handler
  20946. * XplatUIX11.cs:
  20947. - CreateWindow: Added logic to handle the WS_DISABLED window style
  20948. - EnableWindow: Implemented based on Hwnd.Enabled
  20949. - GetMessage: Reset PostQuitState so the method can be called again
  20950. - Implemented support for disabled windows (passing messages to the
  20951. first enabled parent) in handling all input messages
  20952. - Added optimizations for handling Expose events
  20953. - Implemeted new driver method IsEnabled()
  20954. - Now always resetting paint pending tracking vars when we start paint
  20955. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  20956. * XplatUIOSX.cs: Added IsEnabled method stub
  20957. * XplatUIWin32.cs: Implemented new IsEnabled() method
  20958. 2006-01-11 Jackson Harper <[email protected]>
  20959. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  20960. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  20961. variables a little.
  20962. * ColorDialog.cs: Clear out the old form before adding the new
  20963. panel.
  20964. 2006-01-11 Jackson Harper <[email protected]>
  20965. * X11Dnd.cs: Make sure to add all the text formats when adding
  20966. strings to the data object.
  20967. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  20968. do some redrawing too. Also change the UpdateNode to an
  20969. UpdateBelow so the newly added node gets painted.
  20970. 2006-01-11 Miguel de Icaza <[email protected]>
  20971. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  20972. LinkLabel.cs, PropertyGrid.cs: Implement the
  20973. UseCompatibleTextRendering property for 2.x
  20974. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  20975. 2006-01-11 Jackson Harper <[email protected]>
  20976. * TreeView.cs: Use the property for setting the selected node so
  20977. the correct events get raised.
  20978. * TreeNode.cs: Update the tree when the fore/back colours of a
  20979. node are set.
  20980. 2006-01-10 Jackson Harper <[email protected]>
  20981. * TreeView.cs: Allow setting SelectedNode to null.
  20982. 2006-01-9 Jonathan Chambers <[email protected]>
  20983. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  20984. 2006-01-9 Jonathan Chambers <[email protected]>
  20985. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  20986. 2006-01-9 Jonathan Chambers <[email protected]>
  20987. * PrintDialog.cs: Added attributes and set default property values.
  20988. 2006-01-9 Jonathan Chambers <[email protected]>
  20989. * PrintControllerWithStatusDialog.cs:
  20990. Added PrintControllerWithStatusDialog.
  20991. 2006-01-9 Jonathan Chambers <[email protected]>
  20992. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  20993. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  20994. 2006-01-9 Jonathan Chambers <[email protected]>
  20995. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  20996. 2006-01-09 Jonathan Chambers <[email protected]>
  20997. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  20998. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  20999. 2006-01-08 Alexander Olk <[email protected]>
  21000. * MimeIcon.cs: Added internal class SVGUtil.
  21001. 2006-01-08 Alexander Olk <[email protected]>
  21002. * FileDialog.cs: Don't crash if there are two files with the
  21003. same name but different locations.
  21004. 2006-01-08 John BouAntoun <[email protected]>
  21005. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  21006. dates across multiple month grids. Used to not highlight entire
  21007. month, but does now.
  21008. 2006-01-06 Jackson Harper <[email protected]>
  21009. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  21010. message loop. Change timer intervals to numbers that seem more
  21011. natural.
  21012. 2006-01-06 John BouAntoun <[email protected]>
  21013. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  21014. object for location info since screen object is now implemented.
  21015. 2006-01-05 Jackson Harper <[email protected]>
  21016. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  21017. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  21018. AsyncMethodResult, this is because we ALWAYS want the
  21019. ManualResetEvent to get set.
  21020. * Control.cs: When disposing use an async invoke to call shutdown
  21021. code, so that thigns don't block on the finalizer thread. Also
  21022. check if we even have a message loop before trying to send
  21023. messages, if we don't then don't bother sending messages.
  21024. - No more weak references for async methods
  21025. * XplatUIDriver.cs: No more weak references for async methods.
  21026. 2006-01-04 Alexander Olk <[email protected]>
  21027. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  21028. returns two FontFamily with the same name
  21029. 2006-01-04 Peter Dennis Bartok <[email protected]>
  21030. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  21031. drawing disabled text. Instead using the ColorGrayText color
  21032. 2006-01-04 Jackson Harper <[email protected]>
  21033. * TreeNode.cs: redraw the node when its image index is changed.
  21034. 2006-01-04 Peter Dennis Bartok <[email protected]>
  21035. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  21036. time I checked there are no others like it.
  21037. 2006-01-04 Jackson Harper <[email protected]>
  21038. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  21039. this gives the behavoir I was looking for.
  21040. * Control.cs: Special case Invoking EventHandlers, this matches MS
  21041. and fixes part of bug #76326.
  21042. 2006-01-04 Alexander Olk <[email protected]>
  21043. * ThemeClearlooks.cs, FileDialog.cs:
  21044. - Reflect the latest Theme class changes
  21045. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  21046. with DateTime
  21047. 2006-01-04 Alexander Olk <[email protected]>
  21048. * Theme.cs: Cache UI resource images and resize them if needed
  21049. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21050. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  21051. is called. This fixes the crash in Nexxia when setting the font
  21052. attributes in the chat. [However, RTF needs a look-over to make sure
  21053. that all SelectionXXX methods handle the special case that selection
  21054. is empty and therefore the change must be applied to all text starting
  21055. at the cursor/selection start]
  21056. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21057. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  21058. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  21059. * X11Keyboard.cs: Switched to new way of calling PostMessage
  21060. 2006-01-03 Peter Dennis Bartok <[email protected]>
  21061. * Theme.cs: Added theme interface for images to allow the theme to
  21062. control what images are used for things like FileDialog, MessageBox
  21063. icons, etc.
  21064. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  21065. 2006-01-03 Alexander Olk <[email protected]>
  21066. * FileDialog.cs:
  21067. - Removed some dead code
  21068. - Opening a recently used file does work now
  21069. - Small UI enhancements
  21070. - Refactoring
  21071. 2006-01-02 Alexander Olk <[email protected]>
  21072. * FileDialog.cs: Forgot too add __MonoCS__
  21073. 2006-01-02 Alexander Olk <[email protected]>
  21074. * FileDialog.cs: We are able to read recently used files now let's
  21075. go on and write them.
  21076. 2006-01-01 Alexander Olk <[email protected]>
  21077. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  21078. button
  21079. * MimeIcon.cs: Do a check for the top level media type also
  21080. 2005-12-31 Alexander Olk <[email protected]>
  21081. * ThemeClearlooks.cs:
  21082. - Added CPDrawStringDisabled
  21083. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  21084. some chars if the text doesn't fit into text_rect
  21085. - DrawListViewItem: If View = View.LargeIcon center the image;
  21086. rewrote the drawing of ListViewItem.Text if View =
  21087. View.LargeIcon
  21088. 2005-12-31 Alexander Olk <[email protected]>
  21089. * MimeIcon.cs: Use default KDE icon theme if there is no
  21090. "48x48" directory for the current icon theme, fixes #77114
  21091. * Mime.cs: Disable not working and actually not used code.
  21092. * ThemeWin32Classic.cs:
  21093. - Replace "new SolidBrush" in GetControlBackBrush and
  21094. GetControlForeBrush with ResPool.GetSolidBrush
  21095. - Changed DrawListViewItem from private to protected virtual
  21096. * FileDialog.cs:
  21097. - Added form.MaximizeBox = true
  21098. - Don't throw an exception if there is a broken symbolic link
  21099. 2005-12-23 Jackson Harper <[email protected]>
  21100. * TabControl.cs: Give the panels focus, keyboard navigation is
  21101. fixed so this works correctly now.
  21102. - We need these key events also.
  21103. * ToolBar.cs: Remove some of the poor mans double buffering.
  21104. 2005-12-24 Alexander Olk <[email protected]>
  21105. * ComboBox.cs: The internal TextBox now returns the focus.
  21106. 2005-12-23 Jackson Harper <[email protected]>
  21107. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  21108. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21109. * Control.cs: Removed debug code
  21110. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  21111. implicit children
  21112. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21113. * Control.cs: When creating the control, update the Z-order after
  21114. all it's children are created, too. (Fixes nexxia not showing
  21115. picturebox bug)
  21116. 2005-12-23 Peter Dennis Bartok <[email protected]>
  21117. * Control.cs: Do not update the anchoring distances if layout is
  21118. suspended, instead do it once layout is resumed
  21119. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21120. * Control.cs:
  21121. - After many hours of debugging, for both Jackson and
  21122. myself, it turns out that it helps to set the parent of a control
  21123. if you want to actually see it onscreen. In the spirit of that
  21124. discovery, we're now setting the parent of the control and
  21125. it's children when the control's handle is created. This fix
  21126. will make Lutz Roeder's Reflector run happily.
  21127. - now just creating the handle instead of the whole control when
  21128. getting a graphics context for the control.
  21129. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21130. * ScrollableControl.cs: When calculating the canvas, don't consider
  21131. the scrollbar widths. Instead, predict if horizontal scrollbar
  21132. will affect canvas when deciding on vertical display and vice versa.
  21133. 2005-12-22 Peter Dennis Bartok <[email protected]>
  21134. * RichTextBox.cs: Set default RTF font for documents that don't
  21135. have a font table (Fixes #77076)
  21136. 2005-12-22 Jackson Harper <[email protected]>
  21137. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  21138. clipboard. This prevents a NullRef in that case.
  21139. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  21140. clipboard. PRIMARY is for the currently selected text only. (We
  21141. should implement PRIMARY at some point.
  21142. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21143. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  21144. a Unicode function with a structure that was defined in Ansi way.
  21145. This fixes #76942.
  21146. 2005-12-21 Jackson Harper <[email protected]>
  21147. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  21148. on. Because thats how it rolls. (and this avoids it using ambient
  21149. colours).
  21150. * ThemeWin32Classic.cs: Use the proper back color for filling.
  21151. * Menu.cs: Use the system menu bar color for drawing menu
  21152. bars. Using the window back color will bring ambient colours into
  21153. the picture.
  21154. 2005-12-21 Alexander Olk <[email protected]>
  21155. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  21156. Bitmaps were created and not disposed.
  21157. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21158. * Control.cs (CreateControl): Don't do anything if the control is
  21159. already created, otherwise we'd fire the OnCreated event more than
  21160. once
  21161. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21162. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  21163. will always match. Instead return -1. Fixes #76464.
  21164. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21165. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  21166. neither the beginning nor the end of the line (Fixes bug #76479)
  21167. 2005-12-21 Peter Dennis Bartok <[email protected]>
  21168. * Control.cs:
  21169. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  21170. where handle is invalid
  21171. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  21172. instead of slower linear search
  21173. * NativeWindow.cs: Don't remove the window from the hashtable until
  21174. after the driver has destroyed it (since the driver might use
  21175. Control.FromHandle to lookup the control object
  21176. * Hwnd.cs: Added DestroyPending property to track if a window is
  21177. already destroyed as far as the driver is concerned and only hasn't
  21178. yet notified the control
  21179. * XplatUIX11.cs:
  21180. - Activate(): Check if the window is still valid before using the
  21181. handle
  21182. - Implemented DestroyChildWindow() method to mark child windows as
  21183. destroyed when a window is destroyed. This prevents situations
  21184. where we might call an X method based on queued events for a
  21185. window that already has been destroyed but we haven't yet pulled
  21186. the destroy method from the queue.
  21187. - Added a call to the new DestroyChildWindow() method to the drivers
  21188. DestroyWindow code. Also now marking the destroyed window itself
  21189. as pending
  21190. 2005-12-20 Jackson Harper <[email protected]>
  21191. * StatusBar.cs:
  21192. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  21193. anymore. Just do them when needed, also track the rects of panels
  21194. so that we can optimize refreshing more in the future.
  21195. 2005-12-20 Alexander Olk <[email protected]>
  21196. * ColorDialog.cs: Fixed focus drawing in small color controls
  21197. 2005-12-19 Jackson Harper <[email protected]>
  21198. * InternalWindowManager.cs:
  21199. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  21200. moving windows works properly.
  21201. 2005-12-19 Peter Dennis Bartok <[email protected]>
  21202. * Control.cs:
  21203. - Removed call to InitLayout() from SetBoundsCore(); doc says
  21204. it's only called when a control is added to a container
  21205. - Split InitLayout logic, moved to separate UpdateDistances() method
  21206. since we need to perform those calculations more often than just
  21207. when adding the control to a container. (Needed to fix #77022)
  21208. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  21209. - Reduced the OnBindingContextChanged events count, don't send them
  21210. unless the control is created, we still aren't totally matching
  21211. MS, but I can't quite figure out some of their rules
  21212. 2005-12-18 Alexander Olk <[email protected]>
  21213. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  21214. stripes
  21215. 2005-12-18 Alexander Olk <[email protected]>
  21216. * ThemeClearlooks.cs:
  21217. - Updated ProgressBar drawing
  21218. - Corrected drawing of ScrollBars and scroll buttons
  21219. - Some temporary fixes for minor pixel artefacts
  21220. 2005-12-18 Peter Dennis Bartok <[email protected]>
  21221. * Control.cs:
  21222. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  21223. cause events to be sent in the same order as MS does.
  21224. - Added ChangeParent() method to trigger various OnXXXChanged events
  21225. that need to be fired when a parent changes (This is a reworking
  21226. of the patch from r54254, with the X11 errors fixed)
  21227. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  21228. since on MS we get OnLayoutChanged events when calling Clear()
  21229. - Changed Enabled property to consider parent state as well, if a
  21230. parent is not enabled, the control will not be either
  21231. - Changed Parent property to simply call Controls.Add() since that
  21232. now does all the work required, this way we avoid code duplication
  21233. - Threw in a few OnBindingsContextChanged calls to try and match
  21234. when MS sends them. We seem to send a few too many, though.
  21235. - Added call to CreateControl when adding the control to a parent.
  21236. We were never calling CreateControl. Still needs some work, in
  21237. some places we treat HandleCreated and ControlCreated as equal,
  21238. which is wrong
  21239. - Removed obsolete commented out code from UpdateZOrder()
  21240. 2005-12-18 Alexander Olk <[email protected]>
  21241. * ThemeClearlooks.cs: Updated TrackBar drawing.
  21242. 2005-12-17 Alexander Olk <[email protected]>
  21243. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  21244. 2005-12-17 Alexander Olk <[email protected]>
  21245. * FileDialog.cs: Add the Help button and the open readonly
  21246. checkbox only if needed
  21247. 2005-12-16 Jackson Harper <[email protected]>
  21248. * Control.cs: Make sure we have an active menu before trying to
  21249. process commands on it. Prevents menu-less forms from crashing
  21250. when Alt is pressed.
  21251. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  21252. Dieter Bremes.
  21253. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  21254. 2.0 build.
  21255. 2005-12-16 Jackson Harper <[email protected]>
  21256. * InternalWindowManager.cs: Don't translate tool windows screen
  21257. coordinates. This fixes windows 'bouncing' around when being moved.
  21258. 2005-12-15 Peter Dennis Bartok <[email protected]>
  21259. * TextBoxBase.cs:
  21260. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  21261. not quite MS compatible, MS uses that number only for single line
  21262. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  21263. the limit at 2GB)
  21264. - Now enforcing the MaxLength limit when entering characters
  21265. - Added argument to internal Paste() method to track if it's called
  21266. from programatically or via keyboard, since keyboard driven pastes
  21267. need to enforce max-length
  21268. - Added logic to Paste to only paste as many chars as MaxLength
  21269. allows
  21270. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  21271. * TextControl.cs:
  21272. - Added Length property to return number of characters in document
  21273. - Added private CharCount property which only tracks actual chars
  21274. in the document (no linefeeds) and fires event when CharCount
  21275. changes
  21276. - Added tracking of character count to all methods that alter it
  21277. - Added LengthChanged event to allow applications to subscribe
  21278. to any changes to the document
  21279. 2005-12-15 Peter Dennis Bartok <[email protected]>
  21280. * TextBox.cs:
  21281. - Removed local password_char field (moved to TextBoxBase)
  21282. - Now setting the document's password var when password is
  21283. set
  21284. * TextBoxBase.cs:
  21285. - Added password_char field (needed here so MultiLine can
  21286. access it)
  21287. - Added logic to MultiLine property setter to set the document's
  21288. variable when password display is allowed
  21289. - Removed debug code and made some debug code conditional
  21290. * TextControl.cs:
  21291. - Added RecalculatePasswordLine() method to handle special password
  21292. char only lines
  21293. - Added PasswordChar property, also added related tracking vars
  21294. - Draw() method now uses local text var for grabbing text to draw,
  21295. this var is set to line.text unless we're doing password display,
  21296. then it is set to the pre-generated all-password-chars line
  21297. - Added calling RecalculatePasswordLine() method for password lines
  21298. 2005-12-14 Peter Dennis Bartok <[email protected]>
  21299. * Hwnd.cs:
  21300. - Added Reparented property to allow tracking of Window Manager
  21301. reparenting actions (which affect X/Y calculations of toplevel
  21302. windows)
  21303. - Made ToString() print window handles in hex
  21304. * XplatUIX11.cs:
  21305. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  21306. determine if X/Y needs offsetting
  21307. - AddConfigureNotify(): Fixed offset calculations
  21308. - Now adds ReparentNotify messages into the queue
  21309. - Now processes ReparentNotify messages and causes a
  21310. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  21311. is reparented (as most likely it's X/Y coordinates are changed
  21312. due to that)
  21313. 2005-12-14 Jackson Harper <[email protected]>
  21314. * XplatUIX11.cs: Tool windows still need to respek focus.
  21315. 2005-12-14 Peter Dennis Bartok <[email protected]>
  21316. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  21317. have a working release
  21318. 2005-12-13 Jackson Harper <[email protected]>
  21319. * Form.cs: Update styles after setting the border style regardless
  21320. of whether or not the window is using a window manager.
  21321. 2005-12-13 Jackson Harper <[email protected]>
  21322. * Form.cs: We now hook into an internal window manager instead of just an
  21323. MDI subsystem, this is so we can have properly behaving tool windows.
  21324. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  21325. * InternalWindowManager.cs: New internal class that acts as a
  21326. window manager for tool windows and as a base for mdi windows.
  21327. * MdiWindowManager.cs: New class that acts as a window manager for
  21328. mdi windows.
  21329. 2005-12-12 Jackson Harper <[email protected]>
  21330. * Control.cs: Updates so we match behavoir for for implicit
  21331. controls. Fixes explosions in MDI.
  21332. 2005-12-12 Jackson Harper <[email protected]>
  21333. * Control.cs: Implement Invalidate (Region).
  21334. 2005-12-12 Peter Dennis Bartok <[email protected]>
  21335. * Control.cs:
  21336. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  21337. the same events as MS does. MS fires events for each property
  21338. except, for unknown reasons, Cursor, when the control is reparented.
  21339. I can't seem to totally match add/remove since MS also fires some
  21340. VisibleChanged events, which makes no sense. Consolidated the
  21341. parenting code into a separate method so it can be called from
  21342. both Add and Remove. set_Parent no longer needs any special logic
  21343. as it calls the parent's add method which implicitly fires
  21344. all events
  21345. - Removed some obsolete code and debug output
  21346. - Enabled state is inherited from parents, if this is enabled
  21347. 2005-12-08 Peter Dennis Bartok <[email protected]>
  21348. * Form.cs: Removed commented out code
  21349. 2005-12-08 Peter Dennis Bartok <[email protected]>
  21350. * Control.cs:
  21351. - Added internal version of Invoke, with additional argument
  21352. indicating if we're calling it from a Dispose() handler. That
  21353. way we can avoid BeginInvoke throwing an exception if we're
  21354. calling for an already destroyed window.
  21355. - Added a dispose argument to BeginInvokeInternal, and made the
  21356. check if a valid window handle chain exists conditional on
  21357. it not being a dispose call
  21358. - Removed code in DestroyHandle to destroy our children. Since we
  21359. now handle the WM_DESTROY message we will catch all our children
  21360. being destroyed.
  21361. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  21362. * Form.cs:
  21363. - Added a field to track the application context of the form.
  21364. - No need to set closing variable as response to WM_CLOSE, instead
  21365. we destroy the window. We also call PostQuitMessage if the form
  21366. has an application context (which makes it the main app form,
  21367. which, when closed terminates the app)
  21368. * XplatUI.cs:
  21369. - Dropped Exit() method, it's naming was confusing
  21370. - Added PostQuitMessage() which causes GetMessage to return false
  21371. once the message queue is empty
  21372. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  21373. PostQuitMessage()
  21374. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  21375. no longer a valid XplatUI method, but left it in since it's used
  21376. internally. Added empty PostQuitMessage() method.
  21377. * MenuAPI.cs: Replaced call to Exit() with call to
  21378. PostQuitMessage, even though this is probably no longer needed.
  21379. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  21380. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  21381. * Application.cs:
  21382. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  21383. - Removed old debug code that would call XplatUI for exception
  21384. display, enabled standard exception handling (Still not enabled
  21385. though, until NativeWindow's ExternalExceptionHandler define
  21386. is removed
  21387. * NativeWindow.cs:
  21388. - Added internal method to allow control to update NativeWindow
  21389. after a window has been destroyed
  21390. - Added handling of already destroyed windows when calling i
  21391. DestroyWindow
  21392. - Added removal of handle from list on ReleaseHandle
  21393. * XplatUIX11.cs:
  21394. - Dropped GetMessageResult var and related code
  21395. - Added PostQuitState to field to track if PostQuitMessage has been
  21396. called
  21397. - Dropped Exit() method
  21398. - Added PostQuitMessage() method
  21399. - GetMessage now will return false if PostQuitState is set and no
  21400. more messages are in the queue.
  21401. - Expose handler will no longer generate WM_PAINT messages if we are
  21402. in PostQuitState since it's very likely any windows have already
  21403. been destroyed, and since Hwnd won't get updated until we have
  21404. processed the DestroyNotify we'd be causing X errors.
  21405. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21406. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  21407. Thanks to Mike for pointing out the err of my ways.
  21408. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21409. * Control.cs(PreProcessMessage): Moved menu handling back, but
  21410. after all other key handling, to match MS (who handles Menu in
  21411. DefWndProc)
  21412. * Menu.cs (WndProc): Removed my brainfart
  21413. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21414. * Control.cs(PreProcessMessage): Removed special menu handling
  21415. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  21416. 2005-12-07 Mike Kestner <[email protected]>
  21417. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  21418. state according in tracker.
  21419. * Menu.cs : promote tracker field to base class and provide a tracker
  21420. lookup capability. Add/Remove shortcuts dynamically if the top menu
  21421. has a tracker. Unparent items that are removed from the collection.
  21422. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  21423. * Theme*.cs: add always_show_hotkeys field to support configurability
  21424. of mnemonic display. win32 doesn't show mnemonics until Alt is
  21425. pressed.
  21426. 2005-12-07 Jackson Harper <[email protected]>
  21427. * MdiChildContext.cs: Use Control.ResetCursor.
  21428. * Control.cs: ResetCursor needs to set the property so that the
  21429. correct XplatUI call gets made.
  21430. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21431. * Control.cs: More fixes to make our key events match MS. We
  21432. were not setting the modifier state on KeyData, and we were
  21433. not generating any events when Alt was pressed with a key
  21434. since handling of WM_SYSxxx was missing for the OnKey methods.
  21435. 2005-12-07 Jackson Harper <[email protected]>
  21436. * MdiChildContext.cs: reenable the sizing code.
  21437. - When the mouse leaves a window reset its cursor.
  21438. 2005-12-07 Alexander Olk <[email protected]>
  21439. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  21440. 2005-12-07 Peter Dennis Bartok <[email protected]>
  21441. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  21442. widths of Fixed3D borders
  21443. 2005-12-07 Jackson Harper <[email protected]>
  21444. * MdiClient.cs: Fix warnings. Earn Mike's love.
  21445. 2005-12-07 Alexander Olk <[email protected]>
  21446. * ThemeClearlooks.cs:
  21447. - Adjusted mouse over button color
  21448. - Added first parts of CheckBox drawing
  21449. - Added correct color for selected text background
  21450. - Fixed ComboBox drawing
  21451. - Added CPDrawBorder3D and CPDrawBorder
  21452. 2005-12-06 Peter Dennis Bartok <[email protected]>
  21453. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  21454. 2005-12-06 Peter Dennis Bartok <[email protected]>
  21455. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  21456. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  21457. alert users via sound. We could add an enum arg with different
  21458. types of alerts in the future
  21459. 2005-12-06 Peter Dennis Bartok <[email protected]>
  21460. * Control.cs: Fix behaviour problems pointed out by Mike
  21461. 2005-12-05 Mike Kestner <[email protected]>
  21462. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  21463. prop setters. Calls parent.Refresh for now, but could be maybe be
  21464. optimized with an internal method on StatusBar at some point.
  21465. [Fixes #76513]
  21466. 2005-12-05 Peter Dennis Bartok <[email protected]>
  21467. * RichTextBox.cs: Implemented get_SelectionColor
  21468. 2005-12-05 Alexander Olk <[email protected]>
  21469. * ThemeClearlooks.cs:
  21470. - Removed dead code
  21471. - Draw black button border only if button is Form.AcceptButton
  21472. - Draw correct button color for pressed RadioButton if the mouse
  21473. has entered the button
  21474. - Updated ProgressBar drawing!
  21475. - Updated CPDrawSizeGrip drawing
  21476. - Updated StatusBarPanel drawing
  21477. 2005-12-05 Mike Kestner <[email protected]>
  21478. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  21479. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  21480. 2005-12-04 Alexander Olk <[email protected]>
  21481. * ThemeClearlooks.cs: Initial check-in, activate with
  21482. export MONO_THEME=clearlooks
  21483. * ThemeEngine.cs: Added ThemeClearlooks
  21484. 2005-12-03 Mike Kestner <[email protected]>
  21485. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  21486. [Fixes #76897]
  21487. 2005-12-02 Jackson Harper <[email protected]>
  21488. * Form.cs: If the child form has no menu the default main menu is
  21489. used as the active menu.
  21490. 2005-12-02 Peter Dennis Bartok <[email protected]>
  21491. * ListBox.cs: Check if any items exist before trying to resolve
  21492. coordinates into items
  21493. 2005-12-02 Peter Dennis Bartok <[email protected]>
  21494. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  21495. as the second color for the background hatch
  21496. 2005-12-02 Peter Dennis Bartok <[email protected]>
  21497. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  21498. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  21499. sure that what we pass to FormatText is always 1-based. Fixes #76885
  21500. 2005-11-29 Miguel de Icaza <[email protected]>
  21501. * NumericUpDown.cs (EndInit): When we are done initializing,
  21502. reflect any updates on the UI.
  21503. 2005-12-02 Jackson Harper <[email protected]>
  21504. * ImplicitHScrollBar.cs:
  21505. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  21506. their container controls.
  21507. * TreeView.cs: Use the new implicit scrollbars.
  21508. 2005-12-02 Jackson Harper <[email protected]>
  21509. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  21510. can play with it.
  21511. * TreeNodeCollection.cs: If we remove the topnode we need to
  21512. update topnode to the next node in line.
  21513. - When clearing nodes go through the same process as removing
  21514. them, so they get depareneted and checked if they are top node.
  21515. 2005-12-01 Jackson Harper <[email protected]>
  21516. * TreeView.cs: When imagelists are used the image area is
  21517. selectable as well as the text.
  21518. - If there are no selected nodes select the first one.
  21519. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  21520. so don't do it more then we need to.
  21521. 2005-12-01 Jackson Harper <[email protected]>
  21522. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  21523. that arrows can be scaled.
  21524. 2005-12-01 Jackson Harper <[email protected]>
  21525. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  21526. fail. Patch by Dieter Bremes
  21527. 2005-11-30 Jackson Harper <[email protected]>
  21528. * Form.cs: Property is 2.0 only
  21529. * PrintDialog.cs: Signature fix.
  21530. 2005-11-30 Peter Dennis Bartok <[email protected]>
  21531. * TextControl.cs:
  21532. - No longer artificially moves text 2 pixels down (now that we have
  21533. borders this is no longer needed)
  21534. - Added calcs for left, hanging and right indent
  21535. 2005-11-23 Mike Kestner <[email protected]>
  21536. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  21537. 2005-11-30 Jackson Harper <[email protected]>
  21538. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  21539. get cloned as part of CloneMenu ().
  21540. * Menu.cs: Make sure the parent of the items get set correctly
  21541. when they are added. And the owners are notified of the changes.
  21542. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  21543. we can change the menu being displayed/handled by the form without
  21544. changing the menu assosciated with the form.
  21545. - Don't let Mdi children draw/handle menus.
  21546. 2005-11-30 Jackson Harper <[email protected]>
  21547. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  21548. a MenuChanged event. Just to make the API a little more
  21549. consistent.
  21550. * MainMenu.cs:
  21551. * MenuItem.cs: Use the new OnMenuChanged
  21552. * MdiChildContext.cs: Handle menu merging.
  21553. * Form.cs: Implement MergedMenu.
  21554. 2005-11-30 Jackson Harper <[email protected]>
  21555. * Menu.cs: We were misusing Add. Add goes behind the specified
  21556. index according to the docs, and does not replace the specified
  21557. index. So I added an Insert method.
  21558. 2005-11-30 Peter Dennis Bartok <[email protected]>
  21559. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  21560. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  21561. is for Jackson
  21562. * RichTextBox.cs: Added calls to base for DnD events
  21563. 2005-11-28 Peter Dennis Bartok <[email protected]>
  21564. * TextControl.cs:
  21565. - Fixed drag-selection related crash; style fixes
  21566. - Implemented undo class
  21567. o Implemented method to capture document state for specified
  21568. range in document tree
  21569. o Implemented method to restore captured document state
  21570. o Implemented cursor tracking
  21571. o Implemented basic undo stack
  21572. - Added undo cursor tracking to methods altering cursor location
  21573. - Added undo tracking to selection deletion (still missing
  21574. other text-altering hookups)
  21575. * RichTextBox.cs:
  21576. - Added SelectionLength property
  21577. - Implemented CanPaste()
  21578. - Implemented Paste()
  21579. - Added missing protected methods
  21580. - Fixed RTF->Document conversion; now uses font index 0 and color
  21581. index 0 as the default font for the parsed text
  21582. - Fixed RTF<->Document font size translation
  21583. - Fixed RTF generation, now properly handles cross-tag boundaries
  21584. for single line selection
  21585. - No longer always appends blank line to generated RTF
  21586. - Removed TODOs
  21587. - Added missing attributes
  21588. - Hooked up undo-related methods
  21589. * TextBoxBase.cs:
  21590. - Implemented Copy()
  21591. - Implemented Paste()
  21592. - Implemented Cut()
  21593. - Fixed caret mis-behaviour on backspace across line-boundaries
  21594. 2005-11-29 Jackson Harper <[email protected]>
  21595. * MdiClient.cs: Add a method for activating mdi children. Very
  21596. basic right now. I imagine someday it might need more girth.
  21597. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  21598. children windows names are added to the menu item.
  21599. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  21600. mdilist. This happens regardless of whether or not there are any
  21601. mdi windows to see in the list, and according to my tests happens
  21602. before the items are even added. Also happens if there isn't even
  21603. an mdi client to get windows from.
  21604. 2005-11-29 Alexander Olk <[email protected]>
  21605. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  21606. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  21607. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  21608. * DataGridTableStyle.cs:
  21609. - Create always the styles for the missing columns even if they are
  21610. provided by the user (not default table style)
  21611. * DataGrid.cs:
  21612. - Fixes bug 76770
  21613. - Fixes SetDataBinding (always re-attach source)
  21614. - Fixes SetNewDataSource (only clear styles if they are not for
  21615. this source)
  21616. - Expands OnTableStylesCollectionChanged to handle style refresh
  21617. and remove properly
  21618. 2005-11-29 Jackson Harper <[email protected]>
  21619. * FileDialog.cs: Implement missing bits, remove some dead
  21620. code.
  21621. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  21622. creation of the panel so that the options set on the dialog are
  21623. seen when the panel is created.
  21624. * TreeView.cs: raise a click when items are clicked.
  21625. 2005-11-29 Jackson Harper <[email protected]>
  21626. * MdiClient.cs: Pass some signature methods through to base.
  21627. 2005-11-28 Jackson Harper <[email protected]>
  21628. * ListView.cs: Raise the click event when items are clicked.
  21629. 2005-11-28 Jackson Harper <[email protected]>
  21630. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  21631. a nullref.
  21632. 2005-11-27 Alexander Olk <[email protected]>
  21633. * ThemeNice.cs: - Removed 1 pixel bitmaps
  21634. - Use SmoothingMode.AntiAlias where it makes sense
  21635. (ScrollButton arrow for example)
  21636. - Enhanced Button focus drawing
  21637. - Fixed ComboBox drawing (no artefacts anymore, focus
  21638. rectangle is back again, reduced size of ComboButton, etc.)
  21639. - Fixed RadioButton focus drawing for Appearence.Button
  21640. - Slight ScrollButton redesign
  21641. - Some LinearGradientBrush size fixes
  21642. - GroupBoxes have now rounded edges
  21643. - Fixed StatusBar drawing
  21644. 2005-11-25 Alexander Olk <[email protected]>
  21645. * ThemeNice.cs: - Remove dead code
  21646. - use correct background colors for menus, etc.
  21647. - Fake pixel drawing with 1 pixel bitmaps
  21648. 2005-11-24 Jackson Harper <[email protected]>
  21649. * MdiClient.cs: Size the scrollbars when resizing the window.
  21650. - Resize the maximized windows when the client is resized
  21651. * Form.cs: Make the child context available
  21652. 2005-11-23 Jackson Harper <[email protected]>
  21653. * MdiChildContext.cs: Don't size windows if they are maximized.
  21654. 2005-11-23 Mike Kestner <[email protected]>
  21655. * ContextMenu.cs: use MenuTracker.
  21656. * Control.cs: remove menu handle usage.
  21657. * Form.cs: remove menu handle usage.
  21658. * Hwnd.cs: remove menu handle usage.
  21659. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  21660. motion and clicks to the new Tracker handlers.
  21661. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  21662. and handle usage.
  21663. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  21664. Killed the MENU and MENUITEM data types and associated collections
  21665. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  21666. MenuTracker class that exposes the leftovers from the old MenuAPI
  21667. static methods. Restructured Capture handling so that only one grab is
  21668. done for the entire menu hierarchy instead of handing off grabs to
  21669. submenus. Tracker now has an invisible control to Capture when active.
  21670. * MenuItem.cs: add sizing accessors, kill Create
  21671. and handle usage.
  21672. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  21673. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  21674. MENU(ITEM). remove menu handle usage, use Menu directly.
  21675. * XplatUIDriver.cs: remove menu handle usage.
  21676. * XplatUIOSX.cs: remove menu handle usage.
  21677. * XplatUIWin32.cs: remove menu handle usage.
  21678. * XplatUIX11.cs: remove menu handle usage.
  21679. 2005-11-22 Jackson Harper <[email protected]>
  21680. * Hwnd.cs: Don't compute the menu size for
  21681. DefaultClientRectangle.
  21682. - Reenable menu sizes being computed for GetClienRectangle.
  21683. * Form.cs: Remove comment of trechery
  21684. 2005-11-22 Jackson Harper <[email protected]>
  21685. * Hwnd.cs: The adjustments for the menu bar are made when it is
  21686. attached to the form.
  21687. 2005-11-19 Jackson Harper <[email protected]>
  21688. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  21689. (just like on windows).
  21690. 2005-11-19 Jackson Harper <[email protected]>
  21691. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  21692. use real buttons anymore because they are in non client area. The
  21693. one TODO here is that I need to somehow invalidate a section of
  21694. the non client area.
  21695. 2005-11-18 Jackson Harper <[email protected]>
  21696. * Control.cs: Put the enum check back in now that MDI doesnt have
  21697. to use this to set border styles.
  21698. * Form.cs: Only set mdi child windows borders if the handle has
  21699. been created.
  21700. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  21701. this directly on to the driver.
  21702. - Get the move start position before adjusting for the titlebar
  21703. height, this fixes the windows "skipping" when they are first
  21704. moved.
  21705. 2005-11-18 Jackson Harper <[email protected]>
  21706. * XplatUIX11.cs: Just compute the mdi borders separately as they
  21707. don't totally match up with normal form borders.
  21708. 2005-11-18 Jackson Harper <[email protected]>
  21709. * Control.cs: Set WS_ styles for borders, so that the driver does
  21710. not have to retrieve the control instance to figure out what kind
  21711. of borders it should have.
  21712. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  21713. driver can know its an mdi child easily.
  21714. * XplatUIX11.cs: Get the border styles and whether the window is
  21715. MDI from the Styles and ExStyles params instead of having to get a
  21716. control. This prevents a chicken and egg problem.
  21717. 2005-11-18 Jackson Harper <[email protected]>
  21718. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  21719. 2005-11-18 Jackson Harper <[email protected]>
  21720. * MdiClient.cs: Calculate when to add and remove scrollbars
  21721. correctly.
  21722. * MdiChildContext.cs: Adjust the y position to take the titlebar
  21723. into account.
  21724. - No height for FormBorderStyle.None
  21725. 2005-11-18 Jackson Harper <[email protected]>
  21726. * Control.cs: Allow non enum values to be used for
  21727. InternalBorderStyle. MDI does this to set a special border style.
  21728. - New utility methods for converting points to/from client coords
  21729. - Add the newly created control to the Controls collection before
  21730. updating its style. This way UpdateStyle can walk the control
  21731. heirarchy to find the control if needed.
  21732. so I don't need to create a new Point object all the time.
  21733. * Form.cs: Let MDI windows handle their border styles.
  21734. - Set styles on MDI windows so the correct title style is derived.
  21735. * MdiChildContext.cs: Move all the painting and window handling
  21736. into the non client area.
  21737. - Use correct sizing and put correct buttons on frames based on
  21738. the FormBorderStyle.
  21739. - Notify the mdi client about scrolling
  21740. - Need to handle the buttons ourselves now, because they are all
  21741. in non client areas and we can't add controls there.
  21742. * MdiClient.cs: Halfway to scrolling, this implementation is
  21743. somewhat broken though, we need to check to make sure other
  21744. windows aren't causing scrolling before removing the bars. Also
  21745. the bars need to be drawn on top, maybe I can switch implicit
  21746. controls to be on top.
  21747. * Hwnd.cs: caption_height and tool_caption_height are now
  21748. properties of an hwnd, this way they can be set by the driver
  21749. based on the type of window they are. In X11 the window manager
  21750. handles the decorations so caption_height is zero unless its an
  21751. MDI window.
  21752. - Add 3 pixel borders for MDI windows (0xFFFF).
  21753. - Get rid of some code duplication, have DefaultClientRectanle
  21754. just call GetClientRectangle.
  21755. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  21756. Hwnd now.
  21757. - Set border styles differently for mdi windows.
  21758. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  21759. Hwnd now.
  21760. 2005-11-15 Mike Kestner <[email protected]>
  21761. * Menu.cs: when adding an item to the collection, if item is already
  21762. parented, remove it from the parent.
  21763. 2005-11-13 Alexander Olk <[email protected]>
  21764. * X11DesktopColors.cs: Added KDE support
  21765. 2005-11-11 Peter Dennis Bartok <[email protected]>
  21766. * XplatUIWin32.cs:
  21767. - Clipboard methods now can translate Rtf format
  21768. - No longer removes clipboard contents whenever a new format is added
  21769. to allow placing multiple formats on the clipboard
  21770. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  21771. will place all formats contained in it onto the clipboard. Also
  21772. now cleans the clipboard before placing a new object onto it
  21773. * RichTextBox.cs:
  21774. - Implemented set_Rtf
  21775. - Implemented set_SelectedRtf
  21776. - Created InsertRTFFromStream() method to allow single code base
  21777. for all properties and methods that insert RTF into document
  21778. - Removed debug output
  21779. * TextControl.cs:
  21780. - Fixed Delete(int) to fix up line numbers
  21781. - Fixed ReplaceSelection to combine start and end line
  21782. - Fixed serious DeleteChars bug that would leave the document tree
  21783. broken
  21784. - Improved DumpTree with several logic checks to detect broken
  21785. document trees
  21786. - Removed debug lines
  21787. - Fixed Caret.WordForward/WordBack moving code, now always also
  21788. updates caret.tag (fixes crash when word-selecting across tag
  21789. boundaries via keyboard)
  21790. - Added Insert() method for inserting multiline text into documents
  21791. - Fixed DeleteChars() calculation errors that would cause a broken
  21792. tag chain with multiple tag lines
  21793. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  21794. - Split() no longer moves caret if split is at caret location
  21795. - ReplaceSelection() now updates the cursor and re-displays it
  21796. - ReplaceSelection() now uses new Insert() method to avoid code
  21797. duplication
  21798. - FormatText() can now handle formatting partial lines
  21799. * TextBoxBase.cs:
  21800. - Append now uses new TextControl.Insert() method (this avoids
  21801. duplicate code)
  21802. - Implemented Ctrl-X (Cut) (
  21803. - Implemented Ctrl-C (Copy)
  21804. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  21805. regeneration when pasting text; roundtripping Copy&Paste within
  21806. edit control still fails due to some calculation bugs in GenerateRTF)
  21807. - The Delete key will now remove the current selection if it is visible
  21808. * TextBox.cs: Removed debug lines
  21809. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  21810. driver to be initialized and can't therefore be done via a static ctor)
  21811. 2005-11-10 Peter Dennis Bartok <[email protected]>
  21812. * TextControl.cs: Added backend code for finding char arrays and strings
  21813. * TextBoxBase.cs:
  21814. - Added mouse wheel scroll support
  21815. - Added support for VScroll and HScroll events
  21816. * RichTextBox.cs:
  21817. - Implemented all seven Find() variants
  21818. - Implemented GetCharFromPosition()
  21819. - Implemented GetCharIndexFromPosition()
  21820. - Implemented GetLineFromIndex()
  21821. - Implemented GetPositionFromCharIndex();
  21822. - Implemented SaveFile for PlainText and UnicodeText
  21823. - Fixed set_Font, now setting a new font applies that font to
  21824. the whole document
  21825. - Implemented generic Document to RTF converter
  21826. - Implemented SaveFile for RichText format (still missing unicode
  21827. conversion for non-ansi chars)
  21828. - Implemented get_Rtf
  21829. - Implemented get_SelectedRtf
  21830. 2005-11-09 Peter Dennis Bartok <[email protected]>
  21831. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  21832. to allow any captures to be released before triggering OnClick. This
  21833. way a click handler may capture the mouse without interference.
  21834. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  21835. This way we send them even though X may not allow a grab (if the window
  21836. isn't visible, for example)
  21837. 2005-11-08 Pedro Martinez Julia <[email protected]>
  21838. * DataGridViewRowEventArgs.cs: DataGridView implementation
  21839. * DataGridViewElement.cs: DataGridView implementation
  21840. * DataGridViewComboBoxCell.cs: DataGridView implementation
  21841. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  21842. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  21843. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  21844. * ImageLayout.cs: DataGridView implementation
  21845. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  21846. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  21847. * DataGridViewSelectionMode.cs: DataGridView implementation
  21848. * IDataGridViewEditingControl.cs: DataGridView implementation
  21849. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  21850. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  21851. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  21852. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  21853. * DataGridViewColumnSortMode.cs: DataGridView implementation
  21854. * DataGridView.cs: DataGridView implementation
  21855. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  21856. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  21857. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  21858. * Padding.cs: DataGridView implementation
  21859. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  21860. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  21861. * DataGridViewRowEventHandler.cs: DataGridView implementation
  21862. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  21863. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  21864. * DataGridViewButtonCell.cs: DataGridView implementation
  21865. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  21866. * DataGridViewEditMode.cs: DataGridView implementation
  21867. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  21868. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  21869. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  21870. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  21871. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  21872. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  21873. * DataGridViewCellEventHandler.cs: DataGridView implementation
  21874. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  21875. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  21876. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  21877. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  21878. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  21879. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  21880. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  21881. * QuestionEventArgs.cs: DataGridView implementation
  21882. * IDataGridViewEditingCell.cs: DataGridView implementation
  21883. * DataGridViewTriState.cs: DataGridView implementation
  21884. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  21885. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  21886. * DataGridViewColumnCollection.cs: DataGridView implementation
  21887. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  21888. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  21889. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  21890. * DataGridViewColumn.cs: DataGridView implementation
  21891. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  21892. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  21893. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  21894. * DataGridViewRow.cs: DataGridView implementation
  21895. * DataGridViewImageCellLayout.cs: DataGridView implementation
  21896. * DataGridViewImageCell.cs: DataGridView implementation
  21897. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  21898. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  21899. * DataGridViewHeaderCell.cs: DataGridView implementation
  21900. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  21901. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  21902. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  21903. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  21904. * QuestionEventHandler.cs: DataGridView implementation
  21905. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  21906. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  21907. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  21908. * DataGridViewCell.cs: DataGridView implementation
  21909. * DataGridViewCellEventArgs.cs: DataGridView implementation
  21910. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  21911. * DataGridViewCellStyle.cs: DataGridView implementation
  21912. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  21913. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  21914. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  21915. * TextFormatFlags.cs: DataGridView implementation
  21916. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  21917. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  21918. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  21919. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  21920. * DataGridViewButtonColumn.cs: DataGridView implementation
  21921. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  21922. * HandledMouseEventArgs.cs: DataGridView implementation
  21923. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  21924. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  21925. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  21926. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  21927. * DataGridViewRowCollection.cs: DataGridView implementation
  21928. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  21929. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  21930. * DataGridViewHitTestType.cs: DataGridView implementation
  21931. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  21932. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  21933. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  21934. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  21935. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  21936. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  21937. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  21938. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  21939. * DataGridViewContentAlignment.cs: DataGridView implementation
  21940. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  21941. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  21942. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  21943. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  21944. * DataGridViewPaintParts.cs: DataGridView implementation
  21945. * DataGridViewCellCollection.cs: DataGridView implementation
  21946. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  21947. * DataGridViewImageColumn.cs: DataGridView implementation
  21948. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  21949. * DataGridViewElementStates.cs: DataGridView implementation
  21950. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  21951. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  21952. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  21953. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  21954. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  21955. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  21956. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  21957. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  21958. * DataGridViewTextBoxCell.cs: DataGridView implementation
  21959. * DataGridViewBand.cs: DataGridView implementation
  21960. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  21961. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  21962. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  21963. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  21964. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  21965. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  21966. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  21967. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  21968. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  21969. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  21970. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  21971. 2005-11-08 Peter Dennis Bartok <[email protected]>
  21972. * ThemeWin32Classic.cs:
  21973. - Draw the outside focus rectangle around buttons
  21974. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  21975. doesn't use end caps for every dash of a line anymore. This
  21976. workaround ignores the forecolor.
  21977. 2005-11-08 Kornél Pál <[email protected]>
  21978. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  21979. endian safe.
  21980. 2005-11-07 Jackson Harper <[email protected]>
  21981. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  21982. 2005-11-07 Jackson Harper <[email protected]>
  21983. * ScrollableControl.cs: Calculate the maximum and change vars
  21984. (more) correctly so that scrollbars appear as a sensible size.
  21985. 2005-11-04 Jackson Harper <[email protected]>
  21986. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  21987. collection.
  21988. * TreeView.cs: When the tree is sorted null out the top_node so
  21989. that it is recalculated.
  21990. - Use dotted lines instead of dashed lines to match MS better.
  21991. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  21992. * ListView.cs:
  21993. - Implements key search for items. Useful when browsing files with FileDialog
  21994. - When changing view mode or when clear the items reset scrollbar positions
  21995. 2005-11-04 Jackson Harper <[email protected]>
  21996. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  21997. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  21998. as to what the method may do as there is no real way of creating a
  21999. derived CurrencyManager and calling the method.
  22000. 2005-11-03 Jackson Harper <[email protected]>
  22001. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  22002. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  22003. method which seems to just be used internally to refresh the tabs.
  22004. 2005-11-03 Jackson Harper <[email protected]>
  22005. * TabControl.cs: Implement the remove method. Fix some broken
  22006. comments.
  22007. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22008. * DateTimePicker.cs:
  22009. - Added missing DateTimePickerAccessibleObject class
  22010. - Added missing events
  22011. - Added OnFontChanged method
  22012. * Form.cs: Added missing attributes
  22013. * TreeView.cs: Added missing attributes
  22014. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22015. * GridItemCollection.cs: Fix signatures
  22016. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22017. * XplatUI.cs: Updated build rev/date
  22018. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  22019. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  22020. * Application.cs: Trigger context-specific ExitThread events
  22021. 2005-11-03 Jackson Harper <[email protected]>
  22022. * Menu.cs:
  22023. * MainMenu.cs:
  22024. * GridTableStylesCollection.cs:
  22025. * Timer.cs:
  22026. * TabPage.cs:
  22027. * HelpProvider.cs:
  22028. * StatusBar.cs:
  22029. * MonthCalendar.cs: Signature fixes
  22030. 2005-11-03 Jackson Harper <[email protected]>
  22031. * TreeNodeCollection.cs: Remove should not be virtual.
  22032. * TreeView.cs: Implement the last of the missing methods.
  22033. 2005-11-03 Jackson Harper <[email protected]>
  22034. * TreeNodeConverter.cs: Implement to get off my class-status back.
  22035. 2005-11-03 Jackson Harper <[email protected]>
  22036. * TreeView.cs: Hookup the bits for drag and drop.
  22037. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  22038. that nodes can be moved from tree to tree easily this just causes
  22039. all sorts of problems.
  22040. * TreeNodeCollection: Don't need to give treenodes an index and
  22041. treeview anymore when they are added, these are computed on the
  22042. fly. Also make sure to remove a node before its added.
  22043. 2005-11-03 Peter Dennis Bartok <[email protected]>
  22044. * TextControl.cs:
  22045. - Added CaretSelection enum
  22046. - Added comparison methods to Marker struct, makes selection code
  22047. more readable
  22048. - Added SelectionStart and SelectionEnd as 'moveable' location for
  22049. the CaretDirection enum and handler
  22050. - Added selection_prev variable to track optimized invalidation for
  22051. word and line selection
  22052. - Added SelectionVisible property (returns true if there is a valid
  22053. selection)
  22054. - Switched CaretHasFocus to only display the caret if there is no
  22055. visible selection
  22056. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  22057. using the direct character index; should be much faster
  22058. - Added various conditional debug statements
  22059. - Fixed invalidation calculation for selection ranges
  22060. - Added ExpandSelection() method to support word and line selection
  22061. - Switched SetSelectionToCaret to use new Marker compare overloads
  22062. - Added central IsWordSeparator() method to determine word
  22063. separators/whitespace and FindWordSeparator() to streamline common
  22064. usage of IsWordSeparator()
  22065. * TextBoxBase.cs:
  22066. - Removed unneeded grabbed variable, it was just mirroring
  22067. Control.Capture
  22068. - No longer firing OnTextChanged event when Text setter is called,
  22069. since the base will fire the event for us
  22070. - Added handling of Ctrl-Up/Down selection
  22071. - Added handling of Shift-Cursorkey selection
  22072. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  22073. words
  22074. - Added handling of Shift and Ctrl-Shift-Home/End selection
  22075. - Removed some debug output
  22076. - Added handling for single/double/tripple-click to place caret/
  22077. select word/select line respectively (Fixes bug #76031)
  22078. - Added support for drag expansion of word/line selection
  22079. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  22080. current selection
  22081. 2005-11-02 Jackson Harper <[email protected]>
  22082. * X11Dnd.cs: If the drag is going to and from a MWF window just
  22083. copy the data instead of sending it out through the X Selection
  22084. mechanism.
  22085. 2005-11-02 Jackson Harper <[email protected]>
  22086. * X11Dnd.cs:
  22087. * XplatUIX11.cs: When in a drag we don't want motion notify
  22088. messages to get passed on to the other controls. This prevents
  22089. mouse move messages from showing up in the drag source.
  22090. 2005-11-02 Jackson Harper <[email protected]>
  22091. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  22092. the correct button is release to end a drag.
  22093. * XplatUIX11.cs: Make the button state internal so the drag system
  22094. can access it. Dragging needs to know about all button releases,
  22095. not just left button.
  22096. 2005-11-02 Miguel de Icaza <[email protected]>
  22097. * Form.cs (Icon): If the icon is null, reset the icon to the
  22098. default value.
  22099. * Cursor.cs: When writing the AND-mask bitmap do not include the
  22100. number of colors, but hardcode those to two (black and white),
  22101. fixes the loading of color cursors (Paint Dot Net).
  22102. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  22103. turn off autoscaling.
  22104. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  22105. 2005-11-02 Jackson Harper <[email protected]>
  22106. * X11Dnd.cs: Make sure to send a status message if the pointer
  22107. enters a control that can not accept a drop, otherwise the cursor
  22108. isn't updated correctly. Also tried to compress the lines of code
  22109. a bit.
  22110. 2005-11-02 Jackson Harper <[email protected]>
  22111. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  22112. set actions correctly. This isn't perfect as XDND and win32 have
  22113. some differences on how you allow actions. I'll clear this up by
  22114. adding a path for drag from MWF to MWF windows.
  22115. * XplatUIX11.cs: Hook into the dnd system.
  22116. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  22117. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  22118. previously shown but they are no longer need it. Very obvious when
  22119. browsing files with FileDialog.
  22120. 2005-11-01 Peter Dennis Bartok <[email protected]>
  22121. * Control.cs: We always need to call OnPaintBackground. We pretty much
  22122. ignore AllPaintingInWmPaint and always do the painting there, whether
  22123. it's set or not, since we always ignore the WM_ERASEBKGND message
  22124. (which we don't generate on X11). This fixes #76616.
  22125. * Panel.cs: Removed unneeded background painting. This happens properly
  22126. in Control.cs already
  22127. 2005-10-31 Mike Kestner <[email protected]>
  22128. * Menu.cs: Add items to collection before setting their index.
  22129. * MenuItem.cs : add range checking with ArgumentException like MS.
  22130. [Fixes #76510]
  22131. 2005-10-31 Jackson Harper <[email protected]>
  22132. * ListBox.cs: Invalidate if the area is visible at all not just
  22133. contained in the visible rect. Fixes unselection of semi visible
  22134. items.
  22135. 2005-10-31 Jackson Harper <[email protected]>
  22136. * Control.cs: Consistently name the dnd methods. Make them
  22137. internal so we can override them to match some MS behavoir
  22138. internally.
  22139. * Win32DnD.cs: Use the new consistent names.
  22140. 2005-10-31 Jackson Harper <[email protected]>
  22141. * TreeView.cs: Don't draw the selected node when we lose focus.
  22142. 2005-10-31 Jackson Harper <[email protected]>
  22143. * X11Dnd.cs: We still need to reset the state even though a full
  22144. reset isn't being done, otherwise status's still get sent all over
  22145. the place.
  22146. 2005-10-31 Jackson Harper <[email protected]>
  22147. * Control.cs: Make the dnd_aware flag internal so the dnd
  22148. subsystem can check it. Catch exceptions thrown in dnd handlers to
  22149. match MS behavoir.
  22150. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  22151. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  22152. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  22153. flags to reduce the number of dnd enters/status's sent.
  22154. 2005-10-31 Jackson Harper <[email protected]>
  22155. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  22156. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  22157. * PictureBox.cs: Fixes 76512
  22158. 2005-10-28 Jackson Harper <[email protected]>
  22159. * X11Dnd.cs: Early implementation to support winforms being a drag
  22160. source for data on X11. Also restructured the converters so they
  22161. can go both ways now.
  22162. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  22163. 2005-10-27 Peter Dennis Bartok <[email protected]>
  22164. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  22165. clipboard requests
  22166. 2005-10-27 Jackson Harper <[email protected]>
  22167. * TreeNode.cs: Implement serialization so my DnD examples will work.
  22168. 2005-10-24 Kornél Pál <[email protected]>
  22169. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  22170. TreeView.cs: Don't dispose objects that are not owned.
  22171. 2005-10-24 Peter Dennis Bartok <[email protected]>
  22172. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  22173. should retrieve the current cursor and report that, but XplatUI
  22174. doesn't (yet) have an interface for that (and I'm not sure I even
  22175. can, on X11)
  22176. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  22177. until any message loop processing is done (and the WM_SETCURSOR
  22178. replaces the cursor to the proper one)
  22179. * XplatUIX11.cs:
  22180. - Fixed override behaviour, we can't set the cursor globally on X11,
  22181. just for our windows.
  22182. - Invalidating the System.Drawing X11 display handle when we are
  22183. shutting down
  22184. * Control.cs: Fix to make csc happy
  22185. 2005-10-23 Peter Dennis Bartok <[email protected]>
  22186. * TextBoxBase.cs:
  22187. - get_Text: Add last line (without trailing newline) to returned
  22188. value (Fixes 76212)
  22189. - get_TextLength: Count last line in returned length
  22190. - ToString: Call Text property instead of duplicating code
  22191. 2005-10-23 Kornél Pál <[email protected]>
  22192. * ImageList.cs: Dispose ImageAttributes objects.
  22193. 2005-10-22 Kornél Pál <[email protected]>
  22194. * ImageList.cs: Use attribute constructors with less arguments where
  22195. possible.
  22196. 2005-10-22 Kornél Pál <[email protected]>
  22197. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  22198. Use typeof instead of strings when assembly is referenced. Added
  22199. some more comments.
  22200. 2005-10-21 Jackson Harper <[email protected]>
  22201. * ListView.cs: Raise a double click event. Also tried to somewhat
  22202. fix when the selectedindexchanged event is raised. Its still
  22203. broken though.
  22204. 2005-10-21 Jackson Harper <[email protected]>
  22205. * TreeView.cs: New method to invalidate the plus minus area of a
  22206. node without invalidating the whole node (maybe this can be used
  22207. in some more places).
  22208. * TreeNodeCollection.cs: When adding to an empty node we need to
  22209. invalidate its plus minus area so the little block shows up.
  22210. 2005-10-21 Jackson Harper <[email protected]>
  22211. * TreeView.cs: Make sure that when we invalidate a node the bounds
  22212. are big enough to cover the selected box and the focus
  22213. rectangle. Use a different colour for the lines connecting nodes
  22214. so they show up with all themes.
  22215. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22216. * NativeWindow.cs: Don't call anything that could call into the driver,
  22217. we might be on a different thread.
  22218. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22219. * Control.cs(Dispose): Since Dispose might run on a different thread,
  22220. make sure that we call methods that could call into the driver via
  22221. invoke, to avoid thread issues
  22222. 2005-10-21 Peter Dennis Bartok <[email protected]>
  22223. * XplatUI.cs: Removed finalizer
  22224. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  22225. not allowing to be called on the finalizer thread.
  22226. 2005-10-21 Kornél Pál <[email protected]>
  22227. * ImageList.cs:
  22228. - Reverted r51889 and r51891.
  22229. - Added ImageListItem class that stores unmodified image items and image
  22230. properties required to create list images until handle is created.
  22231. - Added AddItem and moved image creation logic to AddItemInternal.
  22232. - Added CreateHandle method that creates images based on unmodified items.
  22233. - Added DestroyHandle that changes state to store unmodified items.
  22234. - Add and AddStrip methods no more create handle.
  22235. - ReduceColorDepth has no return value.
  22236. - Dispose destroys handle.
  22237. - Modified other methods to reflect the above changes.
  22238. - Implemented key support.
  22239. - Added profile 2.0 members and attributes.
  22240. - Added private Reset and ShouldSerialize methods that provide the same
  22241. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  22242. them as they are private.
  22243. - Added some more comments about implementation details.
  22244. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22245. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  22246. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22247. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  22248. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  22249. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  22250. * DataGridColumnStyle.cs: Remove debug message
  22251. 2005-10-20 Jackson Harper <[email protected]>
  22252. * TreeView.cs: We can always get input keys regardless of whether
  22253. or not editing is enabled. They are used for navigation.
  22254. 2005-10-20 Jackson Harper <[email protected]>
  22255. * TreeNode.cs: Use the viewport rect for determining if a node
  22256. needs to be moved for visibility. Don't use Begin/End edit. This
  22257. calls a full refresh when its done.
  22258. * TreeView.cs: New SetBottom works correctly. Make the viewport
  22259. rect property internal so the treenodes can see it. When clicking
  22260. on a node we need to ensure that its visible because it might just
  22261. be partly visible when clicked.
  22262. 2005-10-20 Jackson Harper <[email protected]>
  22263. * TreeNodeCollection.cs: Remove debug code.
  22264. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  22265. * Datagrid.cs: Implements column sorting in Datagrid
  22266. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  22267. 2005-10-20 Jackson Harper <[email protected]>
  22268. * TreeNodeCollection.cs: Remove items properly. Update the correct
  22269. area after removing them.
  22270. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  22271. * Datagrid.cs: Should not call base.OnPaintBackground
  22272. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22273. * XplatUIX11.cs (GetMessage):
  22274. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  22275. window instead of client window
  22276. - Now properly calculates NC_xBUTTONUP message coordinates
  22277. - ScreenToMenu now properly calculates it's coordinates of whole
  22278. window, since menus are in the whole window, not in the client
  22279. window
  22280. - Added WholeToScreen coordinate translation method
  22281. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22282. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  22283. want to return a message, loop back to the beginning of the function
  22284. and grab the next real message to process instead.
  22285. 2005-10-20 Peter Dennis Bartok <[email protected]>
  22286. * Splitter.cs: Properly set limits if no filler control is used
  22287. 2005-10-19 Jackson Harper <[email protected]>
  22288. * ColorDialog.cs: Don't show the help button if it is not enabled
  22289. instead of disabling it (this is what MS does). Don't create the
  22290. panel until the dialog is run, otherwise the vars (such as
  22291. ShowHelp) are not set yet.
  22292. 2005-10-19 Jackson Harper <[email protected]>
  22293. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  22294. are reduced when adding nodes.
  22295. * TreeNode.cs:
  22296. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  22297. tree.
  22298. 2005-10-19 Jackson Harper <[email protected]>
  22299. * FolderBrowserDialog.cs: End editing our treeview so the window
  22300. actually gets refreshed.
  22301. 2005-10-18 Peter Dennis Bartok <[email protected]>
  22302. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  22303. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  22304. inside of WM_PAINT
  22305. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22306. * MenuAPI.cs: Returns after Hidding window
  22307. * XplatUIX11.cs: Added TODO found while debugging menu issues
  22308. 2005-10-18 Peter Dennis Bartok <[email protected]>
  22309. * XplatUIX11.cs: Do not re-map the whole window when it's size
  22310. becomes non-zero unless it's supposed to be actually visible
  22311. 2005-10-18 Jackson Harper <[email protected]>
  22312. * TreeView.cs: We don't need to keep a count anymore.
  22313. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  22314. use the Grow method.
  22315. 2005-10-18 Jackson Harper <[email protected]>
  22316. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  22317. implement it manually here.
  22318. 2005-10-18 Jackson Harper <[email protected]>
  22319. * ImageList.cs: Dont kill the list when the colour depth is
  22320. changed, just change the colour depth of all the images.
  22321. - Same goes for setting the image size. Just resize them all
  22322. instead of killing the list softly.
  22323. 2005-10-18 Jackson Harper <[email protected]>
  22324. * Control.cs: Don't invalidate empty rectangles.
  22325. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22326. * ListViewItem.cs:
  22327. - Adds checked item to the Checked/Item lists (where empty before)
  22328. - Do not add items to the Selected lists if they are already present
  22329. * ListView.cs:
  22330. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  22331. - When deleting items make sure that we delete them for the Selected
  22332. and Checked list also.
  22333. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  22334. * Label.cs: Dispose objects no longer used
  22335. * ThemeWin32Classic.cs: Dispose objects no longer used
  22336. 2005-10-18 Jackson Harper <[email protected]>
  22337. * TabControl.cs: Don't refresh the whole control when the tabs are
  22338. scrolled, we just need to refresh the tab area.
  22339. 2005-10-17 Jackson Harper <[email protected]>
  22340. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  22341. after handle when we need it.
  22342. 2005-10-17 Peter Dennis Bartok <[email protected]>
  22343. * Control.cs: When the parent size changes, recalculate anchor
  22344. positions. Partial fix for #76462
  22345. 2005-10-17 Peter Dennis Bartok <[email protected]>
  22346. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  22347. drawn. Fixes #76462
  22348. 2005-10-17 Jackson Harper <[email protected]>
  22349. * MonthCalendar.cs: Don't create the numeric up down until our
  22350. handle is created. Otherwise our handle is created in the
  22351. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  22352. yet.
  22353. 2005-10-17 Jackson Harper <[email protected]>
  22354. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  22355. correctly.
  22356. 2005-10-17 Rafael Teixeira <[email protected]>
  22357. * TreeNode.cs : small logical fix (was using local var instead of field)
  22358. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  22359. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  22360. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  22361. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  22362. 2005-10-16 Peter Dennis Bartok <[email protected]>
  22363. * Control.cs:
  22364. - Re-implemented anchoring code. My first version was really broken.
  22365. This fixes bug #76033. Unlike the previous implementation we will
  22366. no longer have round errors since all numbers are calculated from
  22367. scratch every time. Removed various anchor-related obsolete vars.
  22368. - InitLayout no longer causes layout event firing and layout to be
  22369. performed
  22370. 2005-10-16 Jackson Harper <[email protected]>
  22371. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  22372. which was broken).
  22373. 2005-10-16 Jackson Harper <[email protected]>
  22374. * TabControl.cs: Remove debug code.
  22375. 2005-10-16 Jackson Harper <[email protected]>
  22376. * XEventQueue.cs: Increase the default queue size (very simple
  22377. apps needed to grow the queue).
  22378. * Hwnd.cs: No finalizer so we don't need to suppress
  22379. finalization. Compute the invalid area manually so a new rectangle
  22380. does not newto be created.
  22381. * ScrollableControl.cs: Don't set any params (otherwise visibility
  22382. isn't set correctly).
  22383. * MdiChildContext.cs: New constructor takes the mdi parent so it
  22384. doesn't have to be computed and avoids a crash on windows. Draw
  22385. the window icon properly, and allow the text to be seen.
  22386. * Form.cs: Use new MdiChildContext constructor. Make sure the
  22387. child context isn't null in wndproc.
  22388. * TabControl.cs: Don't set focus, this is muddling keyboard
  22389. behavoir. Expand the tab rows when a window size increase will
  22390. allow extra tabs to be seen. Don't allow tabs smaller than the
  22391. width of a window to be scrolled out of view.
  22392. * TreeNode.cs:
  22393. * TreeView.cs: Use measure string to calculate a nodes width, the
  22394. width is cached and only updated when the text or the font is
  22395. changed. Don't check for expand/collapse clicks on the first level
  22396. nodes if root lines are disabled.
  22397. 2005-10-16 Ritvik Mayank <[email protected]>
  22398. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  22399. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  22400. * DataGridBoolColumn.cs: fixes warning
  22401. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  22402. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  22403. to match more to match more precisely the MS Net behavior
  22404. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22405. * Hwnd.cs: Added field to track if window is mapped
  22406. * XplatUIX11.cs:
  22407. - Unmap windows if they become 0-size, re-map when
  22408. they are >0 again; fixes #76035
  22409. - Re-set our error handler after initializing X11Desktop
  22410. to override any error handlers Gtk or whatever was called
  22411. may have set.
  22412. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22413. * CheckedListBox.cs: Removed unused vars
  22414. * ListView.cs: Fixed signatures
  22415. * RichTextBox.cs: Removed unused vars
  22416. * TextBoxBase.cs: Removed unused vars
  22417. * XplatUIWin32.cs: Removed unused vars
  22418. * XplatUIX11.cs: Removed unused vars
  22419. * XplatUI.cs: Updated version and date to latest published
  22420. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22421. * Cursor.cs: Added private .ctor to work around a bug in
  22422. resourceset (Thanks to Geoff Norton for the help on this)
  22423. * SplitterEventArgs.cs: Made fields accessible so we don't
  22424. waste boatloads of objects and can reuse the same one
  22425. in Splitter
  22426. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  22427. any captions and borders when generating screen coordinates
  22428. * Splitter.cs: Reimplemented control, now fully complete, uses
  22429. rubberband drawing, supports and obeys all properties, has
  22430. proper cursors
  22431. 2005-10-13 Miguel de Icaza <[email protected]>
  22432. * Form.cs (Form): Setup default values for autoscale and
  22433. autoscale_base_size; Make these instance variables, not static
  22434. variables.
  22435. (OnLoad): on the first load, adjust the size of the form.
  22436. 2005-10-13 Peter Dennis Bartok <[email protected]>
  22437. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  22438. width argument to DrawReversibleRectangle()
  22439. * XplatUIWin32.cs, XplatUIX11.cs:
  22440. - Implemented width for DrawReversibleRectangle()
  22441. - Added logic to DrawReversibleRectangle that recognizes a zero
  22442. width or height and only draws a line in that situation
  22443. 2005-10-12 Peter Dennis Bartok <[email protected]>
  22444. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  22445. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  22446. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  22447. method (it uses our FosterParent window to get a graphics context)
  22448. 2005-10-12 Peter Dennis Bartok <[email protected]>
  22449. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  22450. and SetWindowBackground methods
  22451. * Control.cs:
  22452. - Setting proper ControlStyles
  22453. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  22454. EraseWindowBackground, instead we draw the window background
  22455. ourselves in PaintControlBackground. This behaviour is
  22456. required to match MS, where, when OnPaintBackground is not
  22457. called, the background is not drawn.
  22458. - Removed unneeded Refresh() in set_Text
  22459. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  22460. * XplatUIX11.cs:
  22461. - Created DeriveStyles method to translate from CreateParams to
  22462. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  22463. matches FormBorderStyle enum values)
  22464. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  22465. style calculations into single DeriveStyles method
  22466. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  22467. from redrawing the whole window on any resize or expose.
  22468. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  22469. all styles were applied to our whole/client window appropriately
  22470. - Removed EraseWindowBackground() and SetWindowBackground() methods
  22471. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  22472. no longer clear/redraw the background through X
  22473. - Removed handling of erase_pending bit, we have no use for it (or
  22474. so it seems)
  22475. * XplatUIOSX.cs:
  22476. - Removed generation and handling of WM_ERASEBKGND message
  22477. - Removed EraseWindowBackground() and SetWindowBackground() methods
  22478. - Removed handling of hwnd.ErasePending flag
  22479. * XplatUIWin32.cs:
  22480. - Removed EraseWindowBackground() and SetWindowBackground() methods
  22481. - We no longer call EraseWindowBackground on PaintEventStart, we
  22482. ignore the fErase flag, erasing is handled in Control in the
  22483. background handler
  22484. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  22485. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  22486. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  22487. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  22488. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  22489. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  22490. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  22491. 2005-10-12 Jonathan Chambers <[email protected]>
  22492. * PropertyGrids.cs: Get sub properties
  22493. * PropertyGridView.cs: Fix drawing code
  22494. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22495. * ListBox.cs: Fixes 76383
  22496. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22497. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  22498. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  22499. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  22500. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22501. * ComboBox.cs: Fixes border drawing
  22502. 2005-10-10 Miguel de Icaza <[email protected]>
  22503. * MimeIcon.cs: Ignore errors if the file can not be read.
  22504. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  22505. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  22506. - Fixed border calculations
  22507. - Fixed horizontal scrolling in single column listboxes
  22508. - Fixed drawing issues
  22509. 2005-10-10 Peter Dennis Bartok <[email protected]>
  22510. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  22511. FormBorderStyle enum
  22512. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  22513. code to determine FormBorderStyles from CreateParams
  22514. * Form.cs:
  22515. - Fixed bug where we'd set the wrong window styles if we were
  22516. not creating an MDI window
  22517. - Added call to XplatUI.SetBorderStyle when form borders are set
  22518. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  22519. * Hwnd.cs:
  22520. - Removed obsolete edge style
  22521. - Switched from BorderStyle to FormBorderStyle
  22522. 2005-10-10 Jackson Harper <[email protected]>
  22523. * Form.cs: Use the property to get the window handle instead of
  22524. accessing it directly. Prevents a null reference exception.
  22525. 2005-10-10 Jackson Harper <[email protected]>
  22526. * TreeView.cs: Don't adjust the rect given to DrawString now that
  22527. our libgdiplus draws correctly.
  22528. 2005-10-08 Jackson Harper <[email protected]>
  22529. * TreeView.cs: Don't try to find the clicked on node if there are
  22530. no nodes in the tree.
  22531. 2005-10-08 Alexander Olk <[email protected]>
  22532. * RichTextBox.cs:
  22533. restore
  22534. 2005-10-08 Alexander Olk <[email protected]>
  22535. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  22536. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  22537. ErrorProvider.cs:
  22538. Use ResPool for brushes and dispose System.Drawing objects that
  22539. are not used anymore.
  22540. 2005-10-07 Jackson Harper <[email protected]>
  22541. * MdiChildContext.cs: Use the new borders instead of drawing them
  22542. ourselves.
  22543. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  22544. * Calling UpdateBounds after changing the window's BorderStyle
  22545. since the style can change the ClientSize
  22546. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22547. * Control.cs: Made PaintControlBackground virtual
  22548. * Panel.cs: Overriding PaintControlBackground instead of using paint
  22549. event; paint event method was interfering with 'real' users of the
  22550. event.
  22551. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  22552. * ThemeWin32Classic.cs: remove border drawing since it is handled
  22553. by the base control class now and was causing double border drawing.
  22554. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22555. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  22556. but it does seem to match MS behaviour. This fixes bug #75324
  22557. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22558. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  22559. somewhat hackish looking
  22560. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22561. * TextBoxBase.cs:
  22562. - We now accept Enter even if AcceptEnter is false, if the containing
  22563. form does not have an AcceptButton configured (fixes bug #76355)
  22564. - Calculations are now fixed to no longer use Width/Height, but
  22565. ClientSize.Width/Height, since we now support borders (this was
  22566. a result of fixing borders and therefore bug #76166)
  22567. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  22568. true (fixes bug #76354)
  22569. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22570. * Control.cs:
  22571. - Defaulting BorderStyle and setting it in XplatUI when our window
  22572. is created
  22573. - Added enum check to InternalBorderStyle setter
  22574. * XplatUIX11.cs:
  22575. - Added drawing of window borders
  22576. - Now properly calculates WM decorations offset for toplevel
  22577. windows (fixes bug #74763)
  22578. * XplatUIWin32.cs:
  22579. - Implemented BorderStyles for windows (we're letting win32 draw
  22580. the border for us)
  22581. - Fixed the signature for SetWindowLong
  22582. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  22583. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  22584. setting borders
  22585. * UpDownBase.cs: Remove drawing of borders, this is handled by
  22586. the driver, outside the client area
  22587. * ListView.cs: Removed bogus border calculations. The control should
  22588. be oblivious to borders, since those are not part of the client
  22589. area.
  22590. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  22591. * ThemeWin32Classic.cs: Removed border calculations from ListView
  22592. drawing code
  22593. 2005-10-06 Jackson Harper <[email protected]>
  22594. * MdiChildContext.cs: Clear out the old virtual position remove
  22595. all the unneeded calls to CreateGraphics.
  22596. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22597. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  22598. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22599. * Form.cs:
  22600. - Added loading and setting of our new default icon
  22601. - Only set icon if window is already created
  22602. 2005-10-06 Peter Dennis Bartok <[email protected]>
  22603. * Label.cs:
  22604. - Do not explicitly set the foreground and background colors, to
  22605. allow inheriting from parents (fixes #76302)
  22606. - Use Control's InternalBorderStyle property to deal with borders
  22607. 2005-10-06 Jackson Harper <[email protected]>
  22608. * MdiChildContext.cs: Use the new xplatui function to draw a
  22609. reversible rect.
  22610. 2005-10-06 Jackson Harper <[email protected]>
  22611. * Form.cs: Add the parent before creating the child context cause
  22612. we need the parent when setting up the child.
  22613. 2005-10-06 Jackson Harper <[email protected]>
  22614. * FolderBrowserDialog.cs: redo the tree population code so a
  22615. second thread isn't used. Should be a lot faster and more stable
  22616. now.
  22617. 2005-10-05 Jackson Harper <[email protected]>
  22618. * TreeView.cs: There are no expand/collapse boxes if the node has
  22619. no children.
  22620. 2005-10-05 Jackson Harper <[email protected]>
  22621. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  22622. 2005-10-05 Alexander Olk <[email protected]>
  22623. * FileDialog.cs: Fix InitialDirectory
  22624. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  22625. * ComboBox.cs:
  22626. - Fixes changing between styles
  22627. - Fixes simple mode
  22628. - Fixes last item crashing when navigating with keyboard
  22629. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  22630. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  22631. 2005-10-05 Jackson Harper <[email protected]>
  22632. * TreeView.cs: If updating the root node do a full refresh.
  22633. * TreeNode.cs: The root node should be expanded by default. Also
  22634. added a utility prop to tell if we are the root node.
  22635. * TreeNodeCollection.cs: Only refresh if the node we are being
  22636. added to is expanded. Also added a comment on a potential
  22637. optimization.
  22638. 2005-10-04 Peter Dennis Bartok <[email protected]>
  22639. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  22640. in dispose method. Fixes #76330
  22641. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  22642. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  22643. - Implements vertical and horizontal scrolling using XplatUI
  22644. - Fixes keyboard navagation
  22645. - Fixes EnsureVisible
  22646. - Drawing fixes
  22647. - Handles and draws focus properly
  22648. 2005-10-04 Kornél Pál <[email protected]>
  22649. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  22650. Create handle. NET_2_0: Destroy handle when value is null.
  22651. 2005-10-03 Jackson Harper <[email protected]>
  22652. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  22653. revert and a new patch to prevent the thumb from refreshing so
  22654. much.
  22655. 2005-10-02 Jackson Harper <[email protected]>
  22656. * ScrollBar.cs: Don't update position if it hasn't actually
  22657. changed. This occurs when you hold down the increment/decrement
  22658. buttons and the thumb gets to the max/min.
  22659. 2005-10-01 Jackson Harper <[email protected]>
  22660. * Form.cs:
  22661. * MdiChildContext.cs:
  22662. * MdiClient.cs: Implement ActiveMdiChild in Form.
  22663. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  22664. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  22665. 2005-10-01 Peter Dennis Bartok <[email protected]>
  22666. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  22667. be found
  22668. 2005-09-30 Jackson Harper <[email protected]>
  22669. * ListBox.cs: Don't do a full refresh unless some data has
  22670. actually changed.
  22671. 2005-09-30 Jackson Harper <[email protected]>
  22672. * TreeView.cs: Make sure that the checkboxes size is factored in
  22673. even when not visible.
  22674. 2005-09-30 Peter Dennis Bartok <[email protected]>
  22675. * FileDialog.cs: Fix Jordi's build break
  22676. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  22677. * FileDialog.cs:
  22678. - Use standard the Windows colours for the combobox as espected
  22679. - Dispose objects that use resouces when no longer need them
  22680. 2005-09-30 Peter Dennis Bartok <[email protected]>
  22681. * X11DesktopColors.cs: Initial incomplete implementation
  22682. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  22683. 2005-09-30 Peter Dennis Bartok <[email protected]>
  22684. * Theme.cs:
  22685. - Switched Theme color names to match the names defined in
  22686. System.Drawing.KnownColors. Life's hard enough, no need to make
  22687. it harder.
  22688. - Added setters to all theme color properties so themes can set
  22689. their color schemes. The setters also propagate the color changes
  22690. to System.Drawing.KnownColors via reflection
  22691. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  22692. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  22693. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  22694. use the new, more logical theme color names
  22695. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  22696. post-NT colors
  22697. * ThemeWin32Classic.cs:
  22698. - Removed code to set the old classic Windows colors. Instead it
  22699. now relies on the colors returned by System.Drawing.KnownColors
  22700. which will be either modern static colors (Unix) or colors
  22701. read from the user's configuration (Win32)
  22702. - Updated to use the new, more logical theme color names
  22703. - Switched DataGrid drawing code to use only Theme colors instead of
  22704. a mix of System.Drawing.KnownColors and Theme colors
  22705. - DrawFrameControl(): Removed code that fills the button area, the
  22706. fill would overwrite any previous fill done by a control. This
  22707. fixes bug #75338
  22708. - Added DrawReversibleRectangle() stub
  22709. * ScrollableControl.cs: Set visible state to false when scrollbars
  22710. are removed (pdn fix)
  22711. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  22712. DrawReversibleRectangle() method to allow drawing primitive
  22713. 'rubber bands'
  22714. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  22715. 2005-09-30 Kornél Pál <[email protected]>
  22716. * ImageList.cs: Add(Icon): Create handle.
  22717. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  22718. * ListView.cs:
  22719. * ThemeWin32Classic.cs:
  22720. - Fixes detail mode
  22721. - Sets clippings
  22722. - Issues with drawing
  22723. 2005-09-30 Kornél Pál <[email protected]>
  22724. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  22725. source has to be the ImageList.
  22726. 2005-09-30 Kornél Pál <[email protected]>
  22727. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  22728. 2005-09-30 Kornél Pál <[email protected]>
  22729. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  22730. 2005-09-30 Kornél Pál <[email protected]>
  22731. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  22732. 2005-09-29 Jonathan Chambers <[email protected]>
  22733. * GridItem.cs: Fixed TODOs
  22734. * GridItemCollection.cs: Added ICollection interface
  22735. 2005-09-30 Kornél Pál <[email protected]>
  22736. * ImageList.cs: Resize icons when needed.
  22737. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  22738. * ListViewItem.cs
  22739. - Fixes GetBounds and returns on screen rects
  22740. * ListView.cs:
  22741. - Fixes vertical and horzintal scrolling of items
  22742. * ThemeWin32Classic.cs:
  22743. - Fixes drawing
  22744. 2005-09-29 Raja R Harinath <[email protected]>
  22745. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  22746. 2005-09-29 Kornél Pál <[email protected]>
  22747. * ImageList.cs: Added comments about handle creation. Moved Handle,
  22748. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  22749. Handle is created in Add methods.
  22750. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  22751. * DataGridDrawingLogic.cs:
  22752. - Takes rows into account on Colum calculations
  22753. - Returns the column when clickig
  22754. * DataGrid.cs:
  22755. - Fixes default HitTestInfo values
  22756. - Fixes HitTestInfo.ToString
  22757. - Fixes ResetBackColor
  22758. 2005-09-28 Jackson Harper <[email protected]>
  22759. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  22760. sizing or cursor changes). Also added some temp code to draw the
  22761. titlebars text (Makes dev a little easier).
  22762. 2005-09-28 Kornél Pál <[email protected]>
  22763. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  22764. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  22765. * ListBox.cs: Fixes bug 76253
  22766. 2005-09-28 Kornél Pál <[email protected]>
  22767. * ImageList.cs: Added comments about the current implementation. Added
  22768. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  22769. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  22770. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  22771. with Bitmap.LockBits for better performance. Revised the whole file to
  22772. match MS.NET behaviour and provide better performance. Non-public
  22773. interface members are calling public members even when they throw
  22774. NotSupportedException for better maintainability. Moved ColorDepth,
  22775. ImageSize, ImageStream and TransparentColor implementations to
  22776. ImageCollection for better performance as these properties are not used
  22777. by ImageList.
  22778. * ImageListStreamer.cs: Added a new internal constructor that takes an
  22779. ImageList.ImageCollection and serializes Images based on
  22780. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  22781. match ImageList property name.
  22782. 2005-09-28 Kazuki Oikawa <[email protected]>
  22783. * ListBox.cs: Fixes IndexFromPoint for last item
  22784. 2005-09-27 Jackson Harper <[email protected]>
  22785. * Form.cs: Set the position of new mdi children correctly.
  22786. 2005-09-27 Jackson Harper <[email protected]>
  22787. * MdiClient.cs: New mdi children need to be added to the back of
  22788. the controls collection so the zorder is set correctly. Also add a
  22789. count of all the child windows that have been created.
  22790. 2005-09-27 Jackson Harper <[email protected]>
  22791. * Form.cs (CreateParams): Setup MDI forms correctly.
  22792. 2005-09-27 Jackson Harper <[email protected]>
  22793. * MdiChildContext.cs:
  22794. * MonthCalendar.cs:
  22795. * UpDownBase.cs:
  22796. * ListBox.cs:
  22797. * ListView.cs:
  22798. * TextBoxBase.cs:
  22799. * TreeView.cs:
  22800. * ScrollableControl.cs:
  22801. * ComboBox.cs: Add implicit controls using the new implict control
  22802. functionality in ControlCollection. Also try to block multiple
  22803. control add in a suspend/resume layout to save some cycles.
  22804. 2005-09-27 Jackson Harper <[email protected]>
  22805. * Control.cs: Add functionality to the controls collection to add
  22806. 'implicit controls' these are controls that are created by the
  22807. containing control but should not be exposed to the user. Such as
  22808. scrollbars in the treeview.
  22809. * Form.cs: The list var of the ControlsCollection is no longer
  22810. available because of the potential of implicit controls getting
  22811. ignored by someone accessing the list directly.
  22812. 2005-09-26 Peter Dennis Bartok <[email protected]>
  22813. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  22814. loose it's parent. (Fixed bug introduced in r49103 when we added
  22815. setting the child parent to null on Remove)
  22816. 2005-09-26 Gert Driesen <[email protected]>
  22817. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  22818. * Splitter.cs: Added missing attributes for BorderStyle property.
  22819. * TextBoxBase.cs: Marked Calculate* methods internal.
  22820. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  22821. MS.NET.
  22822. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  22823. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  22824. 2005-09-25 Jackson Harper <[email protected]>
  22825. * TreeView.cs: Update the node bounds correctly regardless of
  22826. whether the node is visible.
  22827. 2005-09-25 Jackson Harper <[email protected]>
  22828. * ImageList.cs: Don't dispose the image after it is added to the
  22829. image list. Only reformat images that need to be resized.
  22830. 2005-09-25 Jackson Harper <[email protected]>
  22831. * ImageList.cs: Don't set the format when changing the image.
  22832. 2005-09-25 Jackson Harper <[email protected]>
  22833. * TreeView.cs: We can't just assume the node has a font. Use the
  22834. treeviews font if no node font is available.
  22835. 2005-09-25 Jackson Harper <[email protected]>
  22836. * TreeView.cs: Allow the scrollbars to be reset with negative
  22837. values.
  22838. - Don't add scrollbars to negative sized windows.
  22839. 2005-09-23 Jackson Harper <[email protected]>
  22840. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  22841. old Mono.Posix. Also remove some stray code that shouldn't have
  22842. been committed.
  22843. 2005-09-23 Jackson Harper <[email protected]>
  22844. * TreeView.cs: Attempt at proper sizing of the horizontal
  22845. scrollbar. Also don't resize the scrollbars unless they are
  22846. visible.
  22847. 2005-09-23 Jackson Harper <[email protected]>
  22848. * TreeView.cs: We don't need to expand the invalid area when the
  22849. selection changes, as this is all drawn in the node's bounding
  22850. box. The area needs to be expanded (previous typo was contracting
  22851. it) when the focus rect moves.
  22852. 2005-09-23 Jackson Harper <[email protected]>
  22853. * TreeView.cs: Display the selection box under the correct
  22854. circumstances. We were rendering white text with no selection box
  22855. before.
  22856. 2005-09-23 Peter Dennis Bartok <[email protected]>
  22857. * TextControl.cs(Split): Now updates selection start/end if it points
  22858. into a line that's being split. Fixes a FIXME and bug #75258
  22859. 2005-09-23 Jackson Harper <[email protected]>
  22860. * Binding.cs:
  22861. * ListControl.cs: Don't use the path when retrieving binding
  22862. managers from the binding context. My bat sense tells me that the
  22863. path is only used on insertion.
  22864. 2005-09-22 Jackson Harper <[email protected]>
  22865. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  22866. 2005-09-22 Jackson Harper <[email protected]>
  22867. * Splitter.cs: There are special cursors used for splitting.
  22868. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  22869. 2005-09-22 Jackson Harper <[email protected]>
  22870. * Splitter.cs: Change the cursor appropriately when the splitter
  22871. is moused over, so the user actually knows there is a splitter
  22872. there.
  22873. 2005-09-22 Hisham Mardam Bey <[email protected]>
  22874. * Label.cs : Fix ToString method to give same output as MS.NET
  22875. 2005-09-22 Jackson Harper <[email protected]>
  22876. * TreeView.cs: Create the scrollbars when the handle is created
  22877. and add them right away, just make them invisble. Also account for
  22878. the window being shrunk vertically to the point that the vert
  22879. scrollbar needs to be added.
  22880. - Remove some 0.5 adjustments to get around anti aliasing issues.
  22881. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  22882. * MainMenu.cs: Fixes default value
  22883. * MenuItem.cs: Fixes default value
  22884. 2005-09-22 Kazuki Oikawa <[email protected]>
  22885. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  22886. 2005-09-21 Jackson Harper <[email protected]>
  22887. * Control.cs: Don't try to set the border style on the window if
  22888. it hasn't been created. When the window is created the border
  22889. style will be used.
  22890. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22891. * Control.cs (Update): Don't call XplatUI if we don't have a
  22892. window handle yet
  22893. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22894. * ContainerControl.cs: Instead of throwing an exception, print
  22895. a one-time warning about Validate not being implemented
  22896. * XplatUIWin32.cs: Removed debug output
  22897. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22898. * Control.cs: Only set XplatUI background if we expect the windowing
  22899. system to handle the background. This stops controls that draw their
  22900. own background from flickering
  22901. * XplatUIX11.cs: Support custom visuals and colormaps for window
  22902. creation. This allows, amongst other things, using MWF X11 windows
  22903. with OpenGL.
  22904. 2005-09-21 Peter Dennis Bartok <[email protected]>
  22905. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  22906. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  22907. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  22908. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  22909. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  22910. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  22911. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  22912. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  22913. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  22914. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  22915. GridColumnStylesCollection.cs,
  22916. IDataGridColumnStyleEditingNotificationService.cs,
  22917. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  22918. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  22919. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  22920. TreeNodeCollection.cs, AmbientProperties.cs,
  22921. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  22922. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  22923. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  22924. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  22925. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  22926. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  22927. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  22928. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  22929. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  22930. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  22931. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  22932. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  22933. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  22934. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  22935. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  22936. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  22937. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  22938. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  22939. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  22940. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  22941. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  22942. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  22943. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  22944. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  22945. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  22946. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  22947. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  22948. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  22949. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  22950. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  22951. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  22952. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  22953. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  22954. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  22955. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  22956. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  22957. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  22958. 2005-09-21 Jackson Harper <[email protected]>
  22959. * TreeNode.cs: Call Before/After Expand not Collapse when
  22960. expanding.
  22961. 2005-09-20 Jackson Harper <[email protected]>
  22962. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  22963. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  22964. * ListViewItem.cs:
  22965. - Fixes bug 76120
  22966. - Fixes proper storing of subitems
  22967. - Fixes not updated items
  22968. 2005-09-20 Peter Dennis Bartok <[email protected]>
  22969. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  22970. things if our window handle isn't created yet. Also disabled
  22971. debug for TextBoxBase
  22972. 2005-09-20 Peter Dennis Bartok <[email protected]>
  22973. * MenuAPI.cs: Remove filtering of events to allow menu usage
  22974. 2005-09-20 Miguel de Icaza <[email protected]>
  22975. * Cursor.cs: Allow null to be passed to Cursor.Current.
  22976. 2005-09-20 Alexander Olk <[email protected]>
  22977. * ThemeWin32Classic.cs:
  22978. - Change some private methods/fields to protected virtual so that
  22979. they can be accessed and overriden in derived classes
  22980. - First refactoring of some methods. Derived themes now don't
  22981. need to duplicate the complete code from ThemeWin32Classic
  22982. * ThemeNice.cs:
  22983. - Added nice StatusBar
  22984. - Derive from ThemeWin32Classic and not Theme
  22985. - Removed duplicate ThemeWin32Classic code
  22986. 2005-09-20 Miguel de Icaza <[email protected]>
  22987. * Control.cs (ControlCollection.Add): If the value null is passed
  22988. the control is ignored.
  22989. Optimize this loop.
  22990. 2005-09-19 Peter Dennis Bartok <[email protected]>
  22991. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  22992. PostQuitMessage state.
  22993. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  22994. 2005-09-19 Peter Dennis Bartok <[email protected]>
  22995. * Application.cs: Our constructor will never get called, move
  22996. initialization to fields; fixes bug #75933
  22997. 2005-09-19 Hisham Mardam Bey <[email protected]>
  22998. * FileDialog.cs :
  22999. - Allow files to be selected properly using file name
  23000. combo box.
  23001. - Add ability to change diretory (absolute / relative)
  23002. using file name combo box.
  23003. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  23004. * ListBox.cs:
  23005. - Fixes Multicolumn listboxes item wrong calculations
  23006. - Allows to click when only one item is in the listbox
  23007. - Fixes crash when no items using keyboard navigation
  23008. 2005-09-16 Alexander Olk <[email protected]>
  23009. * ComboBox.cs: Reverted almost everything from the latest patch which
  23010. broke ComboBox
  23011. 2005-09-16 Kazuki Oikawa <[email protected]>
  23012. * ToolTip.cs:
  23013. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  23014. * ComboBox.cs:
  23015. - When DropDownStyle is Simple, it does not show scrollbar
  23016. to the last item of the list.
  23017. - When DropDownStyle is Simple, it crashed when the list was
  23018. scrolled down with the down cursor key.
  23019. - Fixed a bug that when DropDownStyle is DropDownList, the
  23020. selected item was not shown.
  23021. - The position of the selected item was not preserved when
  23022. the next dropdown happened.
  23023. * ThemeWin32Classic.cs:
  23024. - Items were wrapped at the right end.
  23025. * CheckedListBox.cs:
  23026. - Fixed Add method
  23027. * ListBox.cs:
  23028. - Items should be fully shown.
  23029. - When resizing and vertical scrollbar disappeared, the item
  23030. of index 0 should be on the top of the list.
  23031. - GetItemRectangle should consider the size of ver. scrollbar
  23032. * StatusBar.cs:
  23033. - SizingGrip area should not be allocated when it is not
  23034. displayed.
  23035. - Now it reflects MinWidth of the containing panel and
  23036. fixed a crash that happens when its width becomes so small.
  23037. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  23038. * CheckedListBox.cs: Fixes bug 76028
  23039. * ListBox.cs: Fixes bug 76028
  23040. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  23041. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  23042. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  23043. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  23044. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  23045. 2005-09-09 Jonathan Chambers <[email protected]>
  23046. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  23047. 2005-09-09 Jonathan Chambers <[email protected]>
  23048. * IRootGridEntry.cs: Added
  23049. * PropertyGridCommands.cs: Added
  23050. * PropertiesTab.cs: Added missing methods and property
  23051. * PropertyGridView.cs: Made class internal
  23052. * PropertyGridTextBox.cs: Made class internal
  23053. 2005-09-09 Alexander Olk <[email protected]>
  23054. * MimeIcon.cs: Try to check some other environment variables
  23055. if "DESKTOP_SESSION" returns "default"
  23056. 2005-09-09 Alexander Olk <[email protected]>
  23057. * ThemeNice.cs: Corrected background colors (e.g. menus)
  23058. * ColorDialog.cs: Use correct background colors for controls
  23059. 2005-09-09 Alexander Olk <[email protected]>
  23060. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  23061. 2005-09-08 Peter Dennis Bartok <[email protected]>
  23062. * RichTextBox.cs: Added initial implementation
  23063. * lang.cs: Removed. Was accidentally checked in long time ago
  23064. * TODO: Removed. Contents were obsolete
  23065. 2005-09-06 Jonathan Chambers <[email protected]>
  23066. * PropertiesTab.cs : Added
  23067. 2005-09-06 Jonathan Chambers <[email protected]>
  23068. * PropertyGrid.cs : Update
  23069. * PropertyGridView.cs : Update
  23070. * System.Windows.Forms.resx : Added images and strings
  23071. 2005-09-06 Peter Dennis Bartok <[email protected]>
  23072. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  23073. 2005-09-06 Peter Dennis Bartok <[email protected]>
  23074. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  23075. a busy loop right after the Ungrab the X11 display is otherwise
  23076. blocked
  23077. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  23078. * ThemeWin32Classic.cs: Optimise the use of clipping
  23079. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  23080. * DataGrid.cs: fixes recursion bug
  23081. 2005-09-03 Alexander Olk <[email protected]>
  23082. * ThemeNice.cs:
  23083. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  23084. - Cleanup
  23085. 2005-09-02 Alexander Olk <[email protected]>
  23086. * ThemeNice.cs: Draw nice ProgressBars
  23087. 2005-09-01 Miguel de Icaza <[email protected]>
  23088. * VScrollBar.cs: Another buglet found by Aaron's tool.
  23089. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  23090. bug finder.
  23091. 2005-08-30 Alexander Olk <[email protected]>
  23092. * ThemeNice.cs:
  23093. - Added nicer menu drawing
  23094. - Updated DrawTab
  23095. - some refactoring
  23096. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23097. * CreateParams.cs (ToString): Made output match MS
  23098. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  23099. handle is already created (to avoid forcing window creation)
  23100. * XplatUIX11.cs: Set window text to caption after creating window,
  23101. in case Text was set before window was created
  23102. * Form.cs: Use this.Text instead of a static string as caption
  23103. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23104. * NotifyIcon.cs: Don't set the window to visible; this screws
  23105. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  23106. OnPaint without a bitmap)
  23107. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  23108. happen very often anyway; we could add the check to the WM_PAINT
  23109. event generation code
  23110. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23111. * NotifyIcon.cs: Fill the icon area with a background color, to
  23112. avoid 'residue' when transparent icons are drawn
  23113. * XplatUIX11.cs:
  23114. - Handle whole_window == client_window when destroying windows
  23115. - SystrayAdd(): Set client_window to whole_window value to
  23116. get mouse and other events passed to NotifyIcon
  23117. 2005-08-30 Peter Dennis Bartok <[email protected]>
  23118. * Form.cs: Set proper default for Opacity property
  23119. * NotifyIcon.cs:
  23120. - ShowSystray(): Don't bother creating telling the OS
  23121. about the systray item if no icon is provided
  23122. - Now handles WM_NCPAINT message to deal with whole/client window
  23123. split
  23124. - Create window as visible to not get caught by Expose optimization
  23125. * Hwnd.cs: Removed debug message
  23126. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  23127. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  23128. PaintEventStart/End to use new client argument
  23129. * TextBoxBase.cs:
  23130. - Commented out debug messages
  23131. - Switched PaintEventStart/End to use new client argument
  23132. * XplatUI.cs: Added client window bool to PaintEventStart()/
  23133. PaintEventEnd() calls, to support drawing in non-client areas
  23134. * XplatUIDriver.cs:
  23135. - Added client window bool to PaintEventStart()/PaintEventEnd()
  23136. calls, to support drawing in non-client areas
  23137. - Added conditional compile to allow using MWF BeginInvoke
  23138. on MS runtime
  23139. * XplatUIX11.cs:
  23140. - Added some conditional debug output
  23141. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  23142. whole/client window split
  23143. - Implemented handling of client argument to PaintEventStart()/End()
  23144. * Control.cs:
  23145. - Throw exception if BeginInvoke() is called and the window handle
  23146. or one of the window's parent handles is not created
  23147. - Added conditional compile to allow using MWF BeginInvoke on
  23148. MS runtime
  23149. - get_Parent(): Only sets parent if handle is created. This avoids
  23150. forcing window handle creation when parent is set.
  23151. - Now fires Layout and Parent changed events in proper order
  23152. - Switched to use Handle instead of window.Handle for Z-Order setting,
  23153. the get_Parent() patch above causes us to possibly get null for 'window'
  23154. - Implemented handling of client argument to PaintEventStart()/End()
  23155. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  23156. default handling)
  23157. - Now sends a Refresh() to all child windows when Refresh() is called
  23158. 2005-08-29 Peter Dennis Bartok <[email protected]>
  23159. * Form.cs: Added (non-functional) Opacity property
  23160. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  23161. 2005-08-29 Alexander Olk <[email protected]>
  23162. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  23163. use export MONO_THEME=nice to activate it.
  23164. Currently supported controls:
  23165. - Button
  23166. - ComboBox
  23167. - ScrollBar
  23168. - TabControl (TabAlignment.Top only, other will follow)
  23169. * ThemeEngine.cs: Add theme nice
  23170. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  23171. if enabled
  23172. 2005-08-25 Jonathan Chambers <[email protected]>
  23173. * Splitter.cs: Resize docked control and its neighbor.
  23174. 2005-08-24 Rafael Teixeira <[email protected]>
  23175. -- Making Windows with Menus layout correctly --
  23176. * Form.cs : The first leg of the fix
  23177. Menu setter - adjust Client Size as needed to make space for the menu
  23178. SetClientSizeCore - doesn't call base version to be able to pass the
  23179. menu handle to XplatUI.CalculateWindowRect
  23180. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  23181. * XplatUIX11.cs: The critical second leg of the fix
  23182. GetWindowPos needs to use a recalculated client_rect
  23183. so that resizing the window doesn't break layout of child controls.
  23184. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  23185. Lots of \t\n killed
  23186. 2005-08-23 Peter Dennis Bartok <[email protected]>
  23187. * Label.cs: Now properly recalculates width and height on Font and Text
  23188. changes if AutoSize is set
  23189. 2005-08-19 Rafael Teixeira <[email protected]>
  23190. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  23191. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  23192. * ImageList.cs: Makes ToString method compatible with MS
  23193. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  23194. * MenuAPI.cs: fixes bug 75716
  23195. 2005-08-11 Umadevi S <[email protected]>
  23196. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  23197. 2005-08-11 Umadevi S <[email protected]>
  23198. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  23199. 2005-08-10 Umadevi S <[email protected]>
  23200. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  23201. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  23202. * Menu.cs: fixes bug 75700
  23203. * MenuAPI.cs: fixes navigation issues
  23204. 2005-08-09 Umadevi S <[email protected]>
  23205. * CheckedListBox.cs - simple fix for GetItemChecked.
  23206. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  23207. * ComboBox.cs: Serveral fixes
  23208. * ListBox.cs: Serveral fixes
  23209. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  23210. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  23211. * ListBox.cs: Fixes FindString methods
  23212. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  23213. * DataGrid.cs: fixes bugs exposed by new tests
  23214. 2005-08-04 Peter Dennis Bartok <[email protected]>
  23215. * Mime.cs: Compile Mono assembly references only if compiling
  23216. with Mono (Allows to build with VS.Net again)
  23217. 2005-07-28 Marek Safar <[email protected]>
  23218. * Control.cs (PaintControlBackground): Draw background image
  23219. corrrectly.
  23220. (CheckForIllegalCrossThreadCalls): Stubbed.
  23221. * Form.cs (OnCreateControl): Center when should be centered.
  23222. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  23223. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  23224. * Binding.cs: Binding to properties should be case unsensitive
  23225. 2005-07-18 [email protected]
  23226. * DataGrid.cs: fixes setmember order
  23227. 2005-07-07 Alexander Olk <[email protected]>
  23228. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  23229. * FileDialog.cs: FileDialog is now resizable and uses the new
  23230. MimeIconEngine
  23231. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  23232. * DataGridTextBoxColumn.cs: default value
  23233. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  23234. * GridTableStylesCollection.cs: fixes checking MappingName
  23235. * DataGridDrawingLogic.cs: fixes drawing logic issues
  23236. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  23237. * DataGrid.cs: fixes
  23238. 2005-07-06 Alexander Olk <[email protected]>
  23239. * MimeGenerated.cs: Use case sensitive comparer for
  23240. NameValueCollections
  23241. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  23242. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  23243. * ThemeWin32Classic.cs: bug fixes, code refactoring
  23244. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  23245. * DataGrid.cs: bug fixes, code refactoring
  23246. * DataGridTextBox.cs: bug fixes, code refactoring
  23247. * DataGridColumnStyle.cs: bug fixes, code refactoring
  23248. * Theme.cs: bug fixes, code refactoring
  23249. 2005-07-01 Peter Bartok <[email protected]>
  23250. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  23251. and other text box usage
  23252. 2005-07-01 Jackson Harper <[email protected]>
  23253. * TabControl.cs: Make sure the bottom of the tab covers the pages
  23254. border.
  23255. 2005-06-30 Peter Bartok <[email protected]>
  23256. * Form.cs (ShowDialog): Assign owner of the dialog
  23257. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  23258. might have been moved to a tag with different height
  23259. 2005-06-30 Jackson Harper <[email protected]>
  23260. * Form.cs: Don't create an infinite loop when setting focus
  23261. * MenuItem.cs: Don't dirty the parents if we don't have any
  23262. 2005-06-29 Ben Maurer <[email protected]>
  23263. * LibSupport.cs: Rename
  23264. 2005-06-29 Peter Bartok <[email protected]>
  23265. * TextBoxBase.cs: Re-align caret after deleting a character
  23266. * TextControl.cs:
  23267. - DeleteChars(): Ensure that tag covers the provided position
  23268. - StreamLine(): Drop reference for dropped tag
  23269. 2005-06-29 Peter Bartok <[email protected]>
  23270. * TextControl.cs:
  23271. - Selections now work properly, anchoring at the initial location
  23272. and properly extending in either direction (SetSelectionToCaret(),
  23273. SetSelectionStart() and SetSelectionEnd())
  23274. - No longer redraws the whole control on selection change, now
  23275. calculates delta between previous and new selection and only
  23276. invalidates/redraws that area
  23277. - Fixed FindPos() math off-by-one errors
  23278. - Changed DeleteChars() to verify the provided tag covers the
  23279. provided position, selections may have a tag that doesn't cover
  23280. the position if the selection is at a tag border
  23281. - Fixed off-by-one errors in DeleteChars()
  23282. - Added missing streamlining check in DeleteChars() to remove
  23283. zero-length tags
  23284. - Implemented Invalidate() method, now properly calculates exposures
  23285. between two given lines/positions
  23286. - Implemented SetSelection()
  23287. - Obsoleted and removed FixupSelection()
  23288. - Improved RecalculateDocument() logic, removing code duplication
  23289. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  23290. * LibSupport.cs: changes to match different input/output arguments.
  23291. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  23292. * LibSupport.cs: added libsupport.so init routine.
  23293. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  23294. * ControlBindingsCollection.cs
  23295. - Throws an exception on null datasource when adding
  23296. - Checks for duplicated bindings when adding
  23297. 2005-06-28 Jackson Harper <[email protected]>
  23298. * TreeView.cs (OnKeyDown): Support left and right properly
  23299. (navigates as well as expanding and collapsing.
  23300. - Add support for Multiply, this expands all the selected nodes
  23301. children.
  23302. - Fix some tabbing.
  23303. 2005-06-28 Jackson Harper <[email protected]>
  23304. * TreeView.cs: Implement keyboard navigation, currently supports,
  23305. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  23306. support for toggling checkboxes with the space bar.
  23307. 2005-06-28 Jackson Harper <[email protected]>
  23308. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  23309. tree.
  23310. 2005-06-28 Jackson Harper <[email protected]>
  23311. * TreeView.cs: Add missing event.
  23312. 2005-06-27 Peter Bartok <[email protected]>
  23313. * TextControl.cs:
  23314. - Made line ending size configurable (now allows for counting
  23315. lineendings as \n or \r\n)
  23316. - Added margin to viewport to keep caret visible on right side
  23317. - Fixed translation routines for line/pos to documentpos to consider
  23318. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  23319. - Fixed some line-endings to be unix style
  23320. - Fixed Document.FormatText to perform it's calculations 1-based
  23321. - Added descriptions for a few methods that might otherwise get
  23322. used wrong
  23323. - Added NOTE section with some basic conventions to remember at
  23324. the top of the file
  23325. - Major fixup for RichTextBox selection drawing:
  23326. * Fixed crashes when multiple tags on a single line were selected
  23327. * fixed selection box drawing not overlaying text
  23328. * fixed bogus offset calculation for tags not starting at index 1
  23329. * Switched behaviour from using multiple Substrings of a
  23330. StringBuilder.ToString() to using multiple
  23331. StringBuilder.ToString(start, length) statements, hoping this is
  23332. faster (kept original version commented out in the code, in case
  23333. original version was faster)
  23334. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  23335. alignment != Left
  23336. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  23337. call it as well
  23338. 2005-06-27 Jackson Harper <[email protected]>
  23339. * TabControl.cs: Move to the left and right with the arrow
  23340. keys. These keys don't cycle beyond first and last like
  23341. tab. Refresh all the tabs when scrolling them to the left or
  23342. right.
  23343. 2005-06-27 Jackson Harper <[email protected]>
  23344. * TabControl.cs:
  23345. - ToString: Added method
  23346. - CreateParams: Remove TODO and comment
  23347. - OnKeyDown: Cycle through bounds properly.
  23348. - SelectedIndex: Scroll to the right or left if we need to
  23349. display the newly selected tab.
  23350. 2005-06-23 Jackson Harper <[email protected]>
  23351. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  23352. set.
  23353. 2005-06-23 Jackson Harper <[email protected]>
  23354. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  23355. CTRL-SHIFT-TAB, and HOME, END are there any others?
  23356. 2005-06-23 Jackson Harper <[email protected]>
  23357. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  23358. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  23359. * DataGridTextBoxColumn.cs: fixes and enhancements
  23360. * ThemeWin32Classic.cs: fixes and enhancements
  23361. * DataGridBoolColumn.cs: fixes and enhancements
  23362. * DataGridDrawingLogic.cs: fixes and enhancements
  23363. * CurrencyManager.cs: fixes and enhancements
  23364. * DataGrid.cs: fixes and enhancements
  23365. * DataGridColumnStyle.cs: fixes and enhancements
  23366. 2005-06-22 Jackson Harper <[email protected]>
  23367. * TabControl.cs: Add some missing methods that just call into the
  23368. base. Make the TabPageCollection's IList interface behave in the
  23369. same manner as the MS implementation.
  23370. 2005-06-22 Peter Bartok <[email protected]>
  23371. * TextControl.cs: Added sanity check
  23372. * TextBoxBase.cs:
  23373. - Fixed wrapping behaviour, don't set wrap on single line controls
  23374. (this fixes the breakage of colordialog introduced in an earlier
  23375. checkin)
  23376. - Added rudimentary support for autoscrolling right-aligned controls
  23377. (still needs fixing, also, center alignment scroll is missing)
  23378. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  23379. * ScrollBar.cs: Fixes thumbpos on Maximum values
  23380. 2005-06-21 Jonathan Chambers <[email protected]>
  23381. * PropertyGridView.cs: Pass context information to UITypeEditors
  23382. 2005-06-21 Peter Bartok <[email protected]>
  23383. * TextBoxBase.cs:
  23384. - Now calling PositionCaret with absolute space coordinates
  23385. - Enabled vertical scrolling
  23386. - Better tracking of scrollbar changes, tied into WidthChange
  23387. event
  23388. - Improved cursor tracking
  23389. - Removed debug output
  23390. * TextControl.cs:
  23391. - PositionCaret coordinates are now works in absolute space, not
  23392. the canvas
  23393. - Improved tracking of document size
  23394. - Added events for width and height changes
  23395. 2005-06-21 Peter Bartok <[email protected]>
  23396. * Form.cs: Set focus to active control when form is activated
  23397. * TextControl.cs:
  23398. - Added word-wrap functionality to RecalculateLine()
  23399. - Added some short function descriptions for VS.Net to aid in
  23400. writing dependent controls
  23401. - Added Caret property, returning the current coords of the caret
  23402. - Added ViewPortWidth and ViewPortHeight properties
  23403. - Added Wrap property
  23404. - Added CaretMoved event
  23405. - Removed some old debug code
  23406. - Split() can now create soft splits
  23407. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  23408. - Added method to format existing text
  23409. - Fixed size/alignment calculations to use viewport
  23410. - RecalculateDocument now can handle changing line-numbers while
  23411. calculating lines
  23412. * TextBox.cs:
  23413. - Added some wrap logic, we don't wrap if alignment is not left
  23414. - Added casts for scrollbar var, base class switched types to
  23415. also support RichTextBoxA
  23416. - Implemented handling of scrollbar visibility flags
  23417. * TextBoxBase.cs:
  23418. - Switched scrollbars type to RichTextBoxScrollBars to support
  23419. RichTextBox
  23420. - Added tracking of canvas width/height
  23421. - Switched scrollbars to be not selectable (to keep focus on text)
  23422. - Added central CalculateDocument() method to handle all redraw
  23423. requirements
  23424. - Added ReadOnly support
  23425. - Added WordWrap support
  23426. - Fixed handling of Enter key (we now treat it as a DialogKey)
  23427. - Fixed caret positioning when h or v scroll is not zero
  23428. - Fixed placing/generation of vertical scrollbar
  23429. - Added CalculateScrollBars() method to allow updating scrollbar
  23430. limits and visibility
  23431. - Fixed handling of horizontal scroll
  23432. - Added handling of vertical scroll
  23433. - Implemented auto-'jump' when caret moves to close to a left or
  23434. right border and there is text to be scrolled into view (currently
  23435. there's the potential for a stack overflow, until a bug in
  23436. scrollbar is fixed)
  23437. 2005-06-21 Geoff Norton <[email protected]>
  23438. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  23439. 2005-06-19 Alexander Olk <[email protected]>
  23440. * Mime.cs:
  23441. - added inodes.
  23442. - return application/x-zerosize for files with size zero
  23443. (if no extension pattern matches).
  23444. - check matches collection for strings too.
  23445. - return only the first mime type if the name value
  23446. collection has more than one mime type.
  23447. 2005-06-18 Jonathan Chambers <[email protected]>
  23448. * PropertyGrid.cs: Cleaned up some TODOs
  23449. * PropertyGridView.cs: Added support for UITypeEditors
  23450. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  23451. * DataGrid.cs: clears cached value
  23452. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  23453. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  23454. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  23455. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  23456. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  23457. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  23458. * ThemeWin32Classic.cs: fixes colour
  23459. 2005-06-15 Peter Bartok <[email protected]>
  23460. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  23461. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  23462. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  23463. * Control.cs: Added some MWFCategory and MWFDescription attributes
  23464. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  23465. 2005-06-15 Alexander Olk <[email protected]>
  23466. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  23467. usage
  23468. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  23469. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  23470. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  23471. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  23472. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  23473. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  23474. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  23475. 2005-06-13 Jackson Harper <[email protected]>
  23476. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  23477. isn't printed when the user enables dropping. (X11 does accept
  23478. drops).
  23479. 2005-06-13 Jackson Harper <[email protected]>
  23480. * TreeView.cs: Remove some TODOS.
  23481. 2005-06-13 Jackson Harper <[email protected]>
  23482. * Form.cs: Hook into the mdi framework.
  23483. * MdiClient.cs: Use the base control collections add method so
  23484. parents get setup correctly. Set the default back colour and dock
  23485. style.
  23486. * MdiChildContext.cs: New class, this bad actor handles an
  23487. instance of an MDI window. Right now there is only basic
  23488. support. You can drag, close, and resize windows. Minimize and
  23489. Maximize are partially implemented.
  23490. 2005-06-13 Jackson Harper <[email protected]>
  23491. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  23492. freaky when both vals are negative. NOTE: There are probably other
  23493. places in XplatUIX11 that this needs to be done.
  23494. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  23495. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  23496. * DataGridColumnStyle.cs: fixes signature
  23497. 2005-06-12 Jackson Harper <[email protected]>
  23498. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  23499. windows.
  23500. 2005-06-11 Jackson Harper <[email protected]>
  23501. * StatusBarPanel.cs: Signature cleanups. Implement
  23502. BeginInit/EndInit.
  23503. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  23504. * DataGridTextBoxColumn.cs: Honors aligment
  23505. * GridColumnStylesCollection.cs: Contains is case unsensitive
  23506. * GridTableStylesCollection.cs: several fixes
  23507. * DataGridTableStyle.cs: default column creation
  23508. * DataGridDrawingLogic.cs: fixes
  23509. * CurrencyManager.cs: ListName property
  23510. * DataGrid.cs: multiple styles support
  23511. * DataGridColumnStyle.cs: fixes
  23512. 2005-06-10 Peter Bartok <[email protected]>
  23513. * Control.cs(Select): Moved SetFocus call to avoid potential
  23514. loops if controls change the active control when getting focus
  23515. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  23516. the up/down buttons
  23517. 2005-06-10 Matthias Felgner <[email protected]>
  23518. * ImageListConverter.cs: Implemented
  23519. 2005-06-10 John BouAntoun <[email protected]>
  23520. * MonthCalendar.cs: Wired in NumericUpDown control for year
  23521. 2005-06-10 John BouAntoun <[email protected]>
  23522. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  23523. DoubleClick events, since they are not meant to be fired.
  23524. 2005-06-09 Peter Bartok <[email protected]>
  23525. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  23526. Jonathan's standalone controls into MWF, implemented missing
  23527. events, attributes and methods; added xxxAccessible classes
  23528. * AccessibleObject.cs: Made fields internal so other classes
  23529. can change them if needed
  23530. 2005-06-09 Jonathan Gilbert <[email protected]>
  23531. * UpDownBase.cs: Complete implementation
  23532. * NumericUpDown.cs: Complete implementation
  23533. * DomainUpDown.cs: Complete implementation
  23534. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  23535. * DataGridTextBoxColumn.cs: drawing fixes
  23536. * DataGridCell.cs: fixes ToString method to match MSNet
  23537. * DataGridTableStyle.cs: fixes
  23538. * DataGridBoolColumn.cs: fixes, drawing
  23539. * DataGridDrawingLogic.cs: fixes, new methods
  23540. * DataGridTextBox.cs: Keyboard and fixes
  23541. * DataGrid.cs:
  23542. - Keyboard navigation
  23543. - Scrolling fixes
  23544. - Row selection (single, multiple, deletion, etc)
  23545. - Lots of fixes
  23546. 2005-06-07 Jackson Harper <[email protected]>
  23547. * ThemeWin32Classic.cs: Clear the background area when drawing
  23548. buttons.
  23549. 2005-06-06 Peter Bartok <[email protected]>
  23550. * ImageListStreamer.cs: Fixed signature for GetData
  23551. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  23552. * ComboBox.cs:
  23553. - Added missing ChildAccessibleObject class
  23554. - Added missing OnXXXFocus overrides, switched to using those
  23555. instead of the event handler
  23556. * Control.cs:
  23557. - Added Parent property for ControlAccessibleObject
  23558. - Fixed signatures
  23559. - Fixed attributes
  23560. - Added ResetBindings()
  23561. * ListBindingConverter.cs: Implemented some methods
  23562. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  23563. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  23564. * ContainerControl.cs: Fixed signature, now subscribing to the
  23565. ControlRemoved event instead of overriding the handler, LAMESPEC
  23566. * CurrencyManager.cs: Added missing attribute
  23567. * MonthCalendar.cs: Added missing properties
  23568. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  23569. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  23570. 2005-06-06 Gaurav Vaish and Ankit Jain
  23571. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  23572. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  23573. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  23574. * Control.cs: fixes CreateParams Width / Height.
  23575. 2005-06-05 Peter Bartok <[email protected]>
  23576. * Win32DnD.cs: Removed compilation warnings
  23577. 2005-06-05 Peter Bartok <[email protected]>
  23578. * Control.cs (CreateParams): Since we don't know if one of the
  23579. properties we use is overridden, lets make sure if we fail accessing
  23580. we continue with a backup plan
  23581. 2005-06-05 Peter Bartok <[email protected]>
  23582. * Win32DnD.cs:
  23583. - Removed debug output
  23584. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  23585. struct
  23586. - Plugged resource leak
  23587. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  23588. MS size
  23589. 2005-06-05 Peter Bartok <[email protected]>
  23590. * XplatUIWin32.cs: Removed DnD code
  23591. * Win32DnD.cs: Implemented drop source and drop target functionality
  23592. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  23593. * UpDownBase.cs: remove duplicate addition of event, enable some code
  23594. that was commented out.
  23595. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  23596. Validate input when a key is pressed. It works fine now for every
  23597. combination of Hexadecimal. Only missing some drawing love when sharing
  23598. space with other controls.
  23599. 2005-06-04 Peter Bartok <[email protected]>
  23600. * Control.cs:
  23601. - We need to pass a window for DragDrop, so enable callback events
  23602. - Added DnD callback events when being a DragSource
  23603. * XplatUI.cs (StartDrag): Added window handle argument
  23604. * XplatUIDriver.cs (StartDrag): Added window handle argument
  23605. * QueryContinueDragEventArgs: Made fields internally accessible so
  23606. drivers can set them
  23607. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  23608. can set them
  23609. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  23610. * DataGridTextBoxColumn.cs: column text editing
  23611. * DataGridTableStyle.cs: Respect columns styles created by the user
  23612. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  23613. * DataGridBoolColumn.cs: bool column editing
  23614. * DataGrid.cs: fixes to scrolling, properties, etc
  23615. * DataGridTextBox.cs: handle keyboard
  23616. * DataGridColumnStyle.cs: fixes
  23617. 2005-06-02 Jackson Harper <[email protected]>
  23618. * ImageListStreamer.cs: Somewhat broken implementation of
  23619. GetObjectData. The RLE needs some work to match MS properly.
  23620. 2005-06-02 Jackson Harper <[email protected]>
  23621. * X11Dnd.cs: Attempting to keep at least one file in MWF
  23622. monostyled.
  23623. 2005-06-02 Peter Bartok <[email protected]>
  23624. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  23625. that way
  23626. 2005-06-02 Peter Bartok <[email protected]>
  23627. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  23628. * XplatUI.cs: Added DoDragDrop() method
  23629. * XplatUIDriver.cs: Added DoDragDrop() method
  23630. 2005-06-02 Jackson Harper <[email protected]>
  23631. * Splitter.cs: Implement BorderStyle.
  23632. 2005-06-02 Jackson Harper <[email protected]>
  23633. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  23634. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  23635. X11 using XDND.
  23636. 2005-06-02 Peter Bartok <[email protected]>
  23637. * DataObject.cs:
  23638. - Added Data setter
  23639. - Fixed broken insertion code for SetData, now also
  23640. overwrites any existing entry of the same format name
  23641. * Hwnd.cs: Added list of pointers that automatically gets
  23642. freed when the window is disposed
  23643. * XplatUI.cs: Call driver initialization method when loading
  23644. a driver
  23645. * Control.cs:
  23646. - OnDragLeave takes EventArgs, not DragEventArgs
  23647. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  23648. supported
  23649. - Forces style update when drop state changes
  23650. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  23651. not perfect since we cannot (yet) call the IDataObject.GetData()
  23652. method, we keep getting 0x80004005 error, dunno why)
  23653. 2005-06-02 Peter Bartok <[email protected]>
  23654. * DragEventArgs.cs: Make fields internal so we can cache the
  23655. object and re-set the fields from XplatUI
  23656. 2005-06-02 Jackson Harper <[email protected]>
  23657. * Control.cs: Add some internal methods so the DnD subsystem can
  23658. raise DnD events. Also call into the driver when AllowDrop is set.
  23659. * XplatUI.cs:
  23660. * XplatUIDriver.cs: New method for setting whether or not a window
  23661. is allowed to accept drag and drop messages.
  23662. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  23663. * ScrollBar.cs: Make sure that values sent in Scroll events
  23664. are always between Maximum and Minimum.
  23665. 2005-06-01 Marek Safar <[email protected]>
  23666. * Menu.cs: Call MenuChanged when menuitem visibility has been
  23667. changed.
  23668. * MenuItem.cs: Rebuild menu when item is (not) visible.
  23669. * MainMenu.cs: MainMenu has special MenuChanged.
  23670. * Theme.cs: Caption and FrameBorderSize are not fixed.
  23671. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  23672. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  23673. * XplatUIX11.cs,
  23674. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  23675. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  23676. 2005-05-30 Jackson Harper <[email protected]>
  23677. * DataFormat.cs: We can't statically initialize this stuff because
  23678. it calls into the xplatui and could create a loop. So we lazy init
  23679. it.
  23680. 2005-05-28 Jackson Harper <[email protected]>
  23681. * Control.cs: Proper implementation of Product(Name/Version).
  23682. 2005-05-27 Jackson Harper <[email protected]>
  23683. * DataObject.cs: Dont crash if no data is found.
  23684. 2005-05-26 Rafael Teixeira <[email protected]>
  23685. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  23686. as per status page, guessing it should be set to true
  23687. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  23688. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  23689. * DataGridTableStyle.cs: set proper formatting text, def header text
  23690. * ThemeWin32Classic.cs: new themable paramaters
  23691. * DataGridBoolColumn.cs: paint check box, get data, fixes
  23692. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  23693. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  23694. * DataGridColumnStyle.cs: fixes
  23695. * Theme.cs: new themable paramaters
  23696. 2005-05-26 Peter Bartok <[email protected]>
  23697. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  23698. 2005-05-24 Jonathan S. Chambers <[email protected]>
  23699. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  23700. 2005-05-24 Peter Bartok <[email protected]>
  23701. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  23702. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  23703. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  23704. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  23705. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  23706. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  23707. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  23708. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  23709. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  23710. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  23711. missing attributes, etc
  23712. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  23713. 2005-05-24 Peter Bartok <[email protected]>
  23714. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  23715. when user tries to get help
  23716. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  23717. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  23718. to suppress warnings
  23719. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  23720. avoid unreachable code warning
  23721. 2005-05-20 Peter Bartok <[email protected]>
  23722. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  23723. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  23724. * DataGridTextBoxColumn.cs: Basic painting methods
  23725. * DataGridTableStyle.cs: Set table style in the column
  23726. * ThemeWin32Classic.cs: Use Theme for colors
  23727. * DataGridDrawingLogic.cs: Implement more drawing
  23728. * DataGrid.cs: drawing, theming, enhacements, fixes
  23729. * DataGridColumnStyle.cs: fixes, drawing
  23730. * Theme.cs: theming for Datagrid
  23731. 2005-05-20 Peter Bartok <[email protected]>
  23732. * Cursor.cs: Implemented GetObjectData() method
  23733. 2005-05-20 Peter Bartok <[email protected]>
  23734. * Cursors.cs: Added setting of cursor name
  23735. * Cursor.cs:
  23736. - Implemented constructors
  23737. - Implemented Draw and DrawStretched
  23738. - Implemented Current property
  23739. - Implemented == and != operators
  23740. - Implemented Dispose()
  23741. - Implemented ToString
  23742. - Added missing attributes
  23743. * XplatUIX11.cs:
  23744. - Added missing reset for OverrideCursor when DoEvents is called
  23745. - Fixed creation of cursor, logic was wrong
  23746. * XplatUIWin32.cs:
  23747. - Added missing reset for OverrideCursor when DoEvents is called
  23748. - Fixed creation of cursor, bit arrays were swapped
  23749. * Clipboard.cs: Removed obsolete MonoTODO attribute
  23750. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  23751. * ComboBox.cs: fixes OnSelectedItemChanged
  23752. * ControlBindingsCollection.cs: fixes item range check
  23753. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  23754. * UpDownBase.cs:
  23755. - Calc preferred height properly
  23756. - Implement missing properties
  23757. * NumericUpDown.cs: Implement missing events
  23758. 2005-05-19 Jackson Harper <[email protected]>
  23759. * TabControl.cs: New method that resizes the tab pages before
  23760. redrawing them. This as needed as the control is double buffered
  23761. and sizing will not be recalculated unless ResizeTabPages is
  23762. called.
  23763. * TabPage.cs: Set base.Text instead of Text in the constructor so
  23764. that UpdateOwner does not get called. Use the new Redraw method of
  23765. TabControl instead of Refresh so the sizing is recalculated.
  23766. * ThemeWin32Classic.cs: Draw the text for button tabs.
  23767. 2005-05-19 Jackson Harper <[email protected]>
  23768. * Control.cs: Paint control background images. Fix typo where
  23769. PaintControlBackground was not getting called correctly.
  23770. 2005-05-19 Peter Bartok <[email protected]>
  23771. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  23772. I can investigate, apparently I broke FileDialog
  23773. 2005-05-19 Marek Safar <[email protected]>
  23774. * AxHost.cs: Some simple properties.
  23775. * Control.cs: window must be accessible after ctor.
  23776. * Form.cs: Added TransparencyKey property.
  23777. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  23778. * XplatUIWin32.cs: SetBorderStyle implemented.
  23779. 2005-05-18 Peter Bartok <[email protected]>
  23780. * DataObject.cs: Entries are not global but particular to the
  23781. DataObject, now it behaves that way
  23782. * XplatUIWin32.cs: Implemented Clipboard methods
  23783. * Clipboard.cs: Implemented
  23784. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  23785. * XplatUIOSX.cs: Updated to final clipboard prototypes
  23786. * XplatUIX11.cs: Implemented Clipboard methods
  23787. * XplatUIDriver.cs: Updated to final clipboard prototypes
  23788. * XplatUIStructs.cs:
  23789. - Added BITMAPINFOHEADER struct
  23790. - Added ClipboardFormats enum
  23791. * X11Structs.cs:
  23792. - Added ClipboardStruct
  23793. - Added Atom enum items for clipboard types
  23794. - Fixed atom types for Selection event structures
  23795. * DataFormats.cs:
  23796. - Added internal properties and methods for drivers to enumerate
  23797. all known formats
  23798. - Switched initialization method to allow drivers to assign their
  23799. own IDs even for the MS predefined clipboard IDs
  23800. * XplatUI.cs: Updated to final clipboard interface
  23801. 2005-05-18 Jonathan S. Chambers <[email protected]>
  23802. * PropertyGridView.cs: Fixed compiler warnings.
  23803. 2005-05-18 Jonathan S. Chambers <[email protected]>
  23804. * PropertyGrid.cs: Added some event calls
  23805. * PropertyGridView.cs: Change drawing code to use double buffering
  23806. * PropertyGridTextBox.cs: Changed Text property name
  23807. * GridItem.cs: Added Bounds property.
  23808. * GridEntry.cs: Added Bounds property.
  23809. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  23810. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  23811. since GetType() may not return the correct type if the object is
  23812. a remoting proxy.
  23813. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  23814. * TreeNodeCollection.cs: fixes get/set item ranges
  23815. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  23816. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  23817. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  23818. * ComboBox.cs: Fix item range comparation
  23819. * ListView.cs: Fix item range comparation
  23820. 2005-05-03 Alexander Olk <[email protected]>
  23821. * FontDialog.cs:
  23822. - Clear example panel when OnPaint is called
  23823. - Better solution for displaying the example panel text
  23824. - Select default indexes in the ListBoxes
  23825. 2005-05-11 Geoff Norton <[email protected]>
  23826. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  23827. 2005-05-11 Peter Bartok <[email protected]>
  23828. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  23829. * SelectionRangeConverter.cs: Implemented
  23830. * PropertyGrid.cs: Fixed attribute value
  23831. * Control.cs:
  23832. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  23833. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  23834. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  23835. that's common to all drivers. First methods to go there are
  23836. Sebastien Pouliot's CAS Stack Propagation helper methods
  23837. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  23838. Sebastien Pouliot for CAS Stack Propagation
  23839. 2005-05-11 Geoff Norton <[email protected]>
  23840. * OSXStructs.cs:
  23841. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  23842. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  23843. * DataGridTextBoxColumn.cs: fixed some members
  23844. * GridColumnStylesCollection.cs: indexed column is case insensitive
  23845. * DataGridTableStyle.cs: fixes
  23846. * ThemeWin32Classic.cs: add new theme parameter
  23847. * Theme.cs: add new theme parameter
  23848. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  23849. * DataGrid.cs: fixes, new internal properties, etc.
  23850. * DataGridColumnStyle.cs: allows to set grid value
  23851. *
  23852. 2005-05-10 Peter Bartok <[email protected]>
  23853. * AccessibleObject.cs:
  23854. - Removed MonoTODO attribute on help, method is correct
  23855. - Fixed Bounds property
  23856. * AxHost.cs: Moved MonoTODO
  23857. * ButtonBase.cs: Now setting AccessibleObject properties
  23858. * RadioButton.cs: Setting proper AccessibleObject role
  23859. * CheckBox.cs: Setting proper AccessibleObject role
  23860. * ControlBindingsCollection.cs: Added properties, methods and attributes
  23861. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  23862. userdefined DataFormats.Format items as well
  23863. * ListControl.cs: Removed data_member from the public eye
  23864. * OpenFileDialog.cs:
  23865. - Made class sealed
  23866. - Added missing attributes
  23867. * SaveFileDialog.cs: Added missing attributes
  23868. * ImageListStreamer.cs: Fixed code that caused warnings
  23869. * LinkLabel.cs: Removed unreachable code
  23870. * TreeView.cs: Fixed code that caused warnings
  23871. * PropertyGridView.cs: Fixed code that caused warnings
  23872. * GridColumnStylesCollection.cs: Added missing attributes
  23873. * GridTableStylesCollection: Added missing attribute
  23874. * PropertyManager: Added .ctor
  23875. * SecurityIDType: Added
  23876. * DataObject.cs: Implemented class
  23877. * LinkArea.cs: Added missing attribute
  23878. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  23879. * RadioButton.cs: call base method to allow to fire OnClick event
  23880. * UpDownBase.cs: OnMouseUp call base method
  23881. * CheckedListBox.cs: call base method before returning
  23882. * TrackBar.cs: call base method before returning
  23883. 2005-05-10 Peter Bartok <[email protected]>
  23884. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  23885. for messages
  23886. 2005-05-10 Peter Bartok <[email protected]>
  23887. * DataFormats.cs: Implemented
  23888. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  23889. XplatUIX11.cs: Added Clipboard APIs
  23890. * XplatUIWin32.cs: Implemented Clipboard APIs
  23891. * FolderBrowserDialog.cs: Added missing event, attributes
  23892. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  23893. * CheckBox.cs: call base method to allow to fire OnClick event
  23894. 2005-05-09 Sebastien Pouliot <[email protected]>
  23895. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  23896. 2005-05-06 Peter Bartok <[email protected]>
  23897. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  23898. * Screen.cs: Implemented
  23899. * HelpNavigator.cs: Added
  23900. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  23901. property
  23902. * HelpProvider.cs: Implemented all we can do until we have a CHM
  23903. help library (which means that "What's This" does work now)
  23904. 2005-05-06 Jackson Harper <[email protected]>
  23905. * XplatUIX11.cs: Fix waking up the main loop.
  23906. 2005-05-05 Peter Bartok <[email protected]>
  23907. * XplatUI.cs: Updated revision
  23908. * Form.cs: Removed enless loop
  23909. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  23910. * Label.cs (OnPaint): Added call to base.OnPaint()
  23911. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  23912. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  23913. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  23914. * AxHost.cs: Added
  23915. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  23916. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  23917. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  23918. reuse of ToolTipWindow by other controls
  23919. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  23920. * XplatUIX11.cs: Now clipping drawing area (experimental)
  23921. * PictureBox.cs: Moved base.OnPaint() call to end of method
  23922. * Theme.cs: Fixed ToolTip abstracts to match new format
  23923. * ErrorProvider.cs: Implemented
  23924. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  23925. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  23926. * LinkLabel.cs:
  23927. - Adds cursors
  23928. - Handles focus
  23929. - Implements LinkBehavior
  23930. - Fixes many issues
  23931. 2005-05-03 Jackson Harper <[email protected]>
  23932. * ListView.cs: Calculate the scrollbar positioning on resize and
  23933. paint, so they get put in the correct place.
  23934. 2005-05-03 Alexander Olk <[email protected]>
  23935. * ColorDialogs.cs: The small color panels are now handled by
  23936. SmallColorControl. This fixes drawing of the focus rectangle
  23937. and adds a 3D border.
  23938. 2005-05-03 Peter Bartok <[email protected]>
  23939. * Control.cs: Modified version of Jonathan Chamber's fix for
  23940. double-buffering
  23941. 2005-05-03 Jackson Harper <[email protected]>
  23942. * ListView.cs: Remove redraw variable. Control now handles whether
  23943. or not a redraw needs to be done, and will only raise the paint
  23944. event if redrawing is needed.
  23945. 2005-05-03 Jackson Harper <[email protected]>
  23946. * Splitter.cs: No decorations for the splitter form. Cache the
  23947. hatch brush.
  23948. 2005-05-03 Jackson Harper <[email protected]>
  23949. * TreeView.cs: Use dashed lines to connect nodes. Use the
  23950. ControlPaint method for drawing the focus rect instead of doing
  23951. that in treeview.
  23952. 2005-05-02 Peter Bartok <[email protected]>
  23953. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  23954. 2005-04-29 Jackson Harper <[email protected]>
  23955. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  23956. entire image buffer. Just clear the clipping rectangle.
  23957. 2005-04-29 Jackson Harper <[email protected]>
  23958. * ThemeWin32Classic.cs: Don't draw list view items that are
  23959. outside the clipping rectangle.
  23960. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  23961. * ListBox.cs: added horizontal item scroll
  23962. 2005-04-29 Jackson Harper <[email protected]>
  23963. * ThemeWin32Classic.cs: Remove some old debug code that was
  23964. causing flicker with the new double buffering code.
  23965. 2005-04-29 John BouAntoun <[email protected]>
  23966. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  23967. behave like combobox and comboboxlist (still not sure if this is
  23968. correct though).
  23969. 2005-04-28 Jackson Harper <[email protected]>
  23970. * ThemeWin32Classic.cs: Don't fill the middle of progress
  23971. bars. This fills areas outside of the clip bounds that don't need
  23972. to be filled.
  23973. 2005-04-28 Jackson Harper <[email protected]>
  23974. * Control.cs: Don't expose functionality to touch the image buffers.
  23975. * ProgressBar.cs:
  23976. * ListView.cs: We do not need to (and no longer can) manipulate
  23977. the image buffers directly. All of this is handled by Control.
  23978. 2005-04-28 Peter Bartok <[email protected]>
  23979. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  23980. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  23981. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  23982. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  23983. * Combobox:
  23984. - Adjust control's height for non-simple comboboxes (bug fix)
  23985. - Remove dead code
  23986. * MenuAPI.cs: remove unused var
  23987. * ScrollBar.cs: remove unsed var
  23988. * ListBox.cs: unselect items when clearing
  23989. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  23990. * ListControl.cs: honors OnPositionChanged and default Selected Item
  23991. * ListBox.cs: unselect items when clearing
  23992. 2005-04-27 Jackson Harper <[email protected]>
  23993. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  23994. if a "correct" keyboard is not found. This will make us not crash,
  23995. but might give some users bad keyboard layouts...seems to be the
  23996. same thing rewind does.
  23997. 2005-04-27 Jackson Harper <[email protected]>
  23998. * BindingManagerBase.cs: Attach the current/position changed
  23999. handlers to their respective events.
  24000. 2005-04-27 Jackson Harper <[email protected]>
  24001. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  24002. not just a blit.
  24003. * ThemeWin32Classic.cs: Don't fill the background for picture
  24004. boxes. This could overright user drawing.
  24005. * ComboBox.cs: Just fill the clipping rect not the entire client
  24006. rect when drawing the background. This prevents pieces of the
  24007. image buffer from getting overwritten and is theoretically faster.
  24008. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  24009. * ComboBox.cs: Databinding support fixes, fire missing events
  24010. * ListControl.cs: implement missing methods and properties, fixes
  24011. * ThemeWin32Classic.cs: Databiding support on Drawing
  24012. * CheckedListBox.cs: Databinding support fixes, fire missing events
  24013. * ListBox.cs: Databinding support fixes, fire missing events
  24014. 2005-04-25 Peter Bartok <[email protected]>
  24015. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  24016. 2005-04-25 Jackson Harper <[email protected]>
  24017. * TreeView.cs: Use the horizontal scrollbars height not width when
  24018. determining how much of the client area is available.
  24019. 2005-04-25 Jackson Harper <[email protected]>
  24020. * Control.cs: Double buffering is handled differently now. As per
  24021. the spec, the extra buffer is created in the WM_PAINT message and
  24022. passed down to the control's drawing code.
  24023. * GroupBox.cs:
  24024. * Label.cs:
  24025. * CheckBox.cs:
  24026. * ProgressBar.cs:
  24027. * RadioButton.cs:
  24028. * ColorDialog.cs:
  24029. * ComboBox.cs:
  24030. * PropertyGridView.cs:
  24031. * UpDownBase.cs:
  24032. * MessageBox.cs:
  24033. * MenuAPI.cs:
  24034. * ListView.cs:
  24035. * ButtonBase.cs:
  24036. * SizeGrip.cs:
  24037. * ScrollBar.cs:
  24038. * ListBox.cs:
  24039. * TrackBar.cs:
  24040. * ToolBar.cs:
  24041. * PictureBox.cs:
  24042. * DateTimePicker.cs:
  24043. * StatusBar.cs:
  24044. * TreeView.cs: Update to new double buffering system.
  24045. * MonthCalendar.cs: Uncomment block, as Capture is now
  24046. working. Update to new double buffering
  24047. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  24048. * PaintEventArgs.cs: New internal method allows us to set the
  24049. graphics object. This is used for double buffering.
  24050. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  24051. rectangle. The internal paint_area var has been removed from
  24052. StatusBar. The clipping rect should be used instead.
  24053. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  24054. * TabPage.cs: The RefreshTabs method was removed, so just call the
  24055. tab controls Refresh method now.
  24056. * TabControl.cs: Update to new double buffering. Make sure the
  24057. handle is created before sizing the tab pages, otherwise we will
  24058. get stuck in a loop.
  24059. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  24060. * LinkLabel.cs: Fix typo, bug #74719; patch
  24061. from Borja Sanchez Zamorano
  24062. 2005-04-22 Jackson Harper <[email protected]>
  24063. * TreeNode.cs: Implement Handle stuff.
  24064. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  24065. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  24066. * DataGridTextBoxColumn.cs: call base constructors, fixes
  24067. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  24068. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  24069. * DataGridTableStyle.cs: implements create default column styles
  24070. * DataGridBoolColumn.cs: which types can handle
  24071. * DataGrid.cs: missing methods, fixes, new functionality
  24072. * DataGridColumnStyle.cs: fixes
  24073. 2005-04-20 Alexander Olk <[email protected]>
  24074. * FolderBrowserDialog.cs:
  24075. - Use a thread to fill the TreeView
  24076. - Adjusted some sizes
  24077. 2005-04-19 Peter Bartok <[email protected]>
  24078. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  24079. property. Fixes #74360.
  24080. 2005-04-19 Jackson Harper <[email protected]>
  24081. * XEventQueue.cs: Lock when getting the lockqueue size.
  24082. * PictureBox.cs: Call base OnPaint
  24083. 2005-04-19 Peter Bartok <[email protected]>
  24084. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  24085. messages were no longer being processed (this broke BeginInvoke)
  24086. 2005-04-18 Jackson Harper <[email protected]>
  24087. * TreeView.cs: buglet that caused node images to get drawn
  24088. regardless of whether or not they were in the clipping rectangle.
  24089. 2005-04-18 Jackson Harper <[email protected]>
  24090. * CurrencyManager.cs: There are four rules for GetItemProperties:
  24091. - If the type is an array use the element type of the array
  24092. - If the type is a typed list, use the type
  24093. - If the list contains an Item property that is not an object, use
  24094. that property
  24095. - use the first element of the list if there are any elements in
  24096. the list.
  24097. 2005-04-17 Jackson Harper <[email protected]>
  24098. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  24099. click. This handles offsets for scrolling properly and reduces
  24100. memory. Also fixed GetNode to not offset now that TopNode works
  24101. properly.
  24102. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  24103. 2005-04-17 Jackson Harper <[email protected]>
  24104. * CursorConverter.cs: Initial implementation.
  24105. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  24106. * ListControl.cs: work towards complex data binding support on ListControl
  24107. * CurrencyManager.cs: work towards complex data binding support on ListControl
  24108. * ListBox.cs: work towards complex data binding support on ListControl
  24109. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  24110. * GridTableStylesCollection.cs: fixes name and constructor
  24111. * DataGridTableStyle.cs: fixes
  24112. * DataGridBoolColumn.cs: fixes names and constructors
  24113. * DataGrid.cs: define methods and properties. Some init implementations
  24114. * DataGridCell.cs: define methods and properties. Some init implementations
  24115. * GridTablesFactory.cs: Define methods and properties
  24116. 2005-04-15 Geoff Norton <[email protected]>
  24117. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  24118. graphics port changes. We still want the coordinates in global screen
  24119. coordinates.
  24120. 2005-04-14 Jackson Harper <[email protected]>
  24121. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  24122. check plus minus or checkbox clicks unless those features are enabled.
  24123. 2005-04-14 Jackson Harper <[email protected]>
  24124. * TreeView.cs: Add methods for setting the top and bottom visible
  24125. nodes. TreeNode::EnsureVisible uses these methods.
  24126. * TreeNode.cs: Implement EnsureVisible
  24127. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  24128. * Form.cs: Pospone menu assignation if the window has not been created yet
  24129. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  24130. size and position
  24131. 2005-04-12 Jackson Harper <[email protected]>
  24132. * TreeView.cs: Set the TopNode properly when scrolling
  24133. occurs. This has the added benifit of reducing the amount of
  24134. walking that needs to be done when drawing. Also removed an old
  24135. misleading TODO.
  24136. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  24137. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  24138. * Timer.cs: fixes interval setting when the timer is already enabled
  24139. 2005-04-10 Alexander Olk <[email protected]>
  24140. * FolderBrowserDialog.cs: First approach
  24141. 2005-04-09 Peter Bartok <[email protected]>
  24142. * FolderBrowserDialog: Added
  24143. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  24144. * LinkLabel.cs: move drawing code into the theme
  24145. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  24146. * Theme.cs: define DrawLinkLabel method
  24147. 2005-04-05 Jackson Harper <[email protected]>
  24148. * BindingContext.cs: Use weak references so these bad actors don't
  24149. stay alive longer then they need to.
  24150. 2005-04-05 Jackson Harper <[email protected]>
  24151. * ListControl.cs: Basic implementation of complex databinding.
  24152. * ComboBox.cs:
  24153. * ListBox.cs: Add calls to ListControl databinding methods.
  24154. 2005-04-05 Alexander Olk <[email protected]>
  24155. * FileDialog.cs:
  24156. - Don't change PopupButtonState to Normal when the
  24157. PopupButton gets pressed several times.
  24158. - Renamed ButtonPanel to PopupButtonPanel
  24159. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  24160. * ColorDialog.cs: Use cached objects instead of creating them
  24161. * LinkLabel.cs: Use cached objects instead of creating them
  24162. * Splitter.cs: Use cached objects instead of creating them
  24163. * FontDialog.cs: Use cached objects instead of creating them
  24164. * PropertyGridView.cs: Use cached objects instead of creating them
  24165. * MessageBox.cs: Use cached objects instead of creating them
  24166. * FileDialog.cs: Use cached objects instead of creating them
  24167. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  24168. * TreeView.cs: Use cached objects instead of creating them
  24169. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  24170. * Control.cs: use Equals to compare the font since no == op
  24171. * ScrollBar.cs: use Equals to compare the font since no == op
  24172. 2005-04-04 Alexander Olk <[email protected]>
  24173. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  24174. 2005-04-01 Jackson Harper <[email protected]>
  24175. * Binding.cs: Implement IsBinding.
  24176. * BindingManagerBase.cs:
  24177. * PropertyManager.cs:
  24178. * CurrencyManager.cs: Add IsSuspended property.
  24179. 2005-04-01 Jackson Harper <[email protected]>
  24180. * Binding.cs: Had some IsAssignableFrom calls backwards.
  24181. 2005-04-01 Jackson Harper <[email protected]>
  24182. * Binding.cs: Handle null data members when pulling data.
  24183. * PropertyManager.cs: Handle the data member being a property that
  24184. does not exist.
  24185. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  24186. * DataGridTextBoxColumn.cs: fixes signature
  24187. * DataGrid.cs: calls right constructor
  24188. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  24189. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  24190. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  24191. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  24192. * DataGridTableStyle.cs: implements DataGridTableStyle
  24193. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  24194. * DataGridTextBox.cs: implements DataGridTextBox
  24195. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  24196. 2005-03-31 Alexander Olk <[email protected]>
  24197. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  24198. 2005-03-29 Peter Bartok <[email protected]>
  24199. * Application.cs:
  24200. - Properly implemented CompanyName property
  24201. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  24202. returns a path that includes CompanyName, ProductName and
  24203. Version (fixes bug #70330)
  24204. 2005-03-29 Stefan Buehler <[email protected]>
  24205. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  24206. fixes bug #72588.
  24207. 2005-03-28 Alexander Olk <[email protected]>
  24208. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  24209. - Added ReadOnly CheckBox
  24210. - Further refactoring: moved some code from Open-/SaveFileDialog
  24211. to FileDialog
  24212. 2005-03-28 Alexander Olk <[email protected]>
  24213. * OpenFileDialog.cs: Fixed CheckFileExists
  24214. * FileDialog.cs:
  24215. Moved FileView and DirComboBox outside FileDialog class.
  24216. They can now be used outside FileDialog
  24217. 2005-03-27 Alexander Olk <[email protected]>
  24218. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  24219. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  24220. 2005-03-27 Alexander Olk <[email protected]>
  24221. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  24222. - Added missing CreatePrompt property in SaveDialog
  24223. - Overall SaveDialog handling should be better now
  24224. - Added non standard ShowHiddenFiles property
  24225. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  24226. - Added InitialDirectory and RestoreDirectory support
  24227. 2005-03-26 Alexander Olk <[email protected]>
  24228. * FileDialog.cs: Made dirComboBox usable
  24229. 2005-03-24 Alexander Olk <[email protected]>
  24230. * FileDialog.cs: Added Filter support (case sensitiv)
  24231. 2005-03-24 Jackson Harper <[email protected]>
  24232. * TabControl.cs: Need a couple more pixels for the lines.
  24233. 2005-03-23 Jackson Harper <[email protected]>
  24234. * TabControl.cs: Give the tab page focus when it is selected.
  24235. 2005-03-23 Jackson Harper <[email protected]>
  24236. * TabControl.cs: Account for the drawing of tabs borders when
  24237. invalidating. If the slider was clicked dont do click detection on
  24238. the tabs.
  24239. 2005-03-23 Jackson Harper <[email protected]>
  24240. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  24241. 2005-03-22 Jonathan Chambers <[email protected]>
  24242. * CategoryGridEntry.cs: Added
  24243. * GridItem.cs: Added helper properties
  24244. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  24245. * GridEntry.cs: Updated code for collection
  24246. * PropertyGrid.cs: Cleaned up some formatting
  24247. * PropertyGridView.cs: Added drop down functionality for enums.
  24248. * GridItemCollection.cs: Added enumerator logic
  24249. * PropertyGridEntry.cs: Added
  24250. 2005-03-19 Alexander Olk <[email protected]>
  24251. * FileDialog.cs:
  24252. - Removed unnecessary commented code
  24253. - Fixed handling for entering the filename manually in the combobox
  24254. 2005-03-19 Alexander Olk <[email protected]>
  24255. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  24256. 2005-03-18 Peter Bartok <[email protected]>
  24257. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  24258. them being touching the border
  24259. 2005-03-18 Peter Bartok <[email protected]>
  24260. * TextControl.cs: Quick hack to center text better
  24261. 2005-03-18 Peter Bartok <[email protected]>
  24262. * ControlPaint.cs:
  24263. - Don't throw NotImplemented exceptions, just print a notice once
  24264. instead (requested by Miguel). This makes running existing SWF
  24265. apps a bit easier
  24266. * Control.cs:
  24267. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  24268. - Added context menu trigger on right click
  24269. * Panel.cs: Trigger invalidate on resize
  24270. * StatusBar.cs:
  24271. - Removed old double-buffer drawing
  24272. - Added ResizeRedraw style to force proper update of statusbar
  24273. * ListView.cs:
  24274. - Removed debug output
  24275. * ThemeWin32Classic.cs:
  24276. - Fixed drawing of status bar, now draws Text property if there
  24277. are no defined panels
  24278. 2005-03-18 Jackson Harper <[email protected]>
  24279. * ImageList.cs: When the image stream is set pull all the images
  24280. from it.
  24281. * ImageListStreamer.cs: Implement reading image list streams.
  24282. 2005-03-18 Peter Bartok <[email protected]>
  24283. * ThemeWin32Classic.cs (DrawPictureBox):
  24284. - Fixed calculations for centered drawing
  24285. - Fixed drawing for normal mode, not scaling the image on normal
  24286. 2005-03-18 Peter Bartok <[email protected]>
  24287. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  24288. textbox
  24289. * FileDialog.cs:
  24290. - Made Open/Save button the accept button for FileDialog
  24291. - Tied the cancel button to the IButtonControl cancel button
  24292. - Save/Open now properly builds the pathname
  24293. - Now handles user-entered text
  24294. - Preventing crash on right-click if no item is selected
  24295. - Fixed Text property, now uses contents of textbox
  24296. - Fixed SelectedText property, now just returns the text part that
  24297. is selected in the text box
  24298. 2005-03-18 Jackson Harper <[email protected]>
  24299. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  24300. rect, make sure to de-adjust the interior rect after drawing the
  24301. tab text.
  24302. 2005-03-18 Peter Bartok <[email protected]>
  24303. * MenuAPI.cs: Remove menu *before* executing selected action to
  24304. prevent the menu from 'hanging around'
  24305. 2005-03-17 Geoff Norton <[email protected]>
  24306. * XplatUIOSX.cs: Implemented WorkingArea property
  24307. 2005-03-17 Peter Bartok <[email protected]>
  24308. * XplatUIX11.cs: Fixed menu coord calculations
  24309. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  24310. for calculating offsets
  24311. 2005-03-17 Peter Bartok <[email protected]>
  24312. * Hwnd.cs: Do not consider menu presence for default client
  24313. rectangle location/size
  24314. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  24315. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  24316. translation functions
  24317. * FileDialog.cs: Fixed (what I presume is a) typo
  24318. 2005-03-17 Jonathan Gilbert <[email protected]>
  24319. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  24320. X access (avoids X-Async errors)
  24321. 2005-03-16 Jackson Harper <[email protected]>
  24322. * TabControl.cs: Raise the SelectedIndexChanged event.
  24323. 2005-03-16 Alexander Olk <[email protected]>
  24324. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  24325. - Removed vertical ToolBar and replaced it with a custom panel
  24326. (desktop and home button already work)
  24327. - Added Help button (some controls get resized or relocated then)
  24328. - Draw correct text depending on Open or Save.
  24329. - Fixed some typos...
  24330. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  24331. * ScrollBar.cs:
  24332. - Only change Maximum and Minimum when need it (bug fix)
  24333. 2005-03-15 Peter Bartok <[email protected]>
  24334. * Form.cs: Use Handle for icon, to trigger creation if
  24335. the window does not yet exist
  24336. * Control.cs:
  24337. - CanSelect: Slight performance improvement
  24338. - Focus(): Preventing possible recursion
  24339. - Invalidate(): Removed ControlStyle based clear flag setting
  24340. - WM_PAINT: fixed logic for calling OnPaintBackground
  24341. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  24342. EraseWindowBackground if the control doesn't paint background
  24343. * XplatUIWin32.cs:
  24344. - Moved EraseWindowBackground() method to internal methods
  24345. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  24346. is sent via SendMessage on BeginPaint call on Win32
  24347. * XplatUIX11.cs:
  24348. - Added EraseWindowBackground() method
  24349. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  24350. PaintEventStart, which more closely matches Win32 behaviour
  24351. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  24352. - Fixed SetFocus() to properly deal with client and whole windows
  24353. * Hwnd.cs: Added ErasePending property
  24354. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  24355. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  24356. 2005-03-12 Geoff Norton <[email protected]>
  24357. * XplatUIOSX.cs:
  24358. - Fix hard loop when timers exist.
  24359. - Fix bugs with middle and right click for 3 button mice.
  24360. 2005-03-11 Peter Bartok <[email protected]>
  24361. * XplatUIX11.cs:
  24362. - get_WorkingArea: Need to call X directly, GetWindowPos only
  24363. returns cached data now
  24364. - Added sanity check to GetWindowPos hwnd usage
  24365. 2005-03-11 Jackson Harper <[email protected]>
  24366. * BindingManagerBase.cs: This method isn't used anymore as
  24367. PullData now updates the data in the control.
  24368. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  24369. * Form.cs: fixes menu drawing on X11
  24370. * MenuAPI.cs: fixes menu drawing on X11
  24371. 2005-03-11 Peter Bartok <[email protected]>
  24372. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  24373. from Jonathan Gilbert; should fix bug #73606
  24374. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  24375. in Screen coordinates. Thanks, Jordi.
  24376. * Form.cs: Added missing attribute
  24377. 2005-03-11 Peter Bartok <[email protected]>
  24378. * Form.cs:
  24379. - Rudimentary Mdi support
  24380. - Removed outdated FormParent code
  24381. - Implemented lots of missing properties and methods, still missing
  24382. transparency support
  24383. - Added missing attributes
  24384. - Implemented support for MaximumBounds
  24385. - Added firing of various events
  24386. * XplatUI.cs: Added SetIcon() method
  24387. * XplatUIDriver.cs: Added SetIcon() abstract
  24388. * XplatUIOSX.cs: Stubbed out SetIcon() method
  24389. * XplatUIX11.cs:
  24390. - Implemented SetIcon() support
  24391. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  24392. - Switched to unix line endings
  24393. * XplatUIWin32.cs:
  24394. - Made POINT internal so for can access it as part of MINMAX
  24395. - Implemented SetIcon() support
  24396. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  24397. native Mdi support again, might have to go managed)
  24398. * Control.cs: Now fires the StyleChanged event
  24399. * MdiClient.cs: Added; still mostly empty
  24400. 2005-03-10 Peter Bartok <[email protected]>
  24401. * SaveFileDialog.cs: Added emtpy file
  24402. 2005-03-08 Peter Bartok <[email protected]>
  24403. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  24404. in turn triggers OnCreateContro) when creating a handle for the
  24405. first time.
  24406. * TextControl.cs: Fixed endless loop in certain cases when
  24407. replacing the current selection
  24408. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  24409. * ScrollBar.cs:
  24410. - Honors NewValue changes in Scroll events allowing apps to change it
  24411. - Adds First and Last Scroll events
  24412. - Fixes Thumb events
  24413. 2005-03-07 Peter Bartok <[email protected]>
  24414. * Hwnd.cs: Added DefaultClientRectangle property
  24415. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  24416. more detailed debug information
  24417. * XplatUIX11.cs:
  24418. - Fixed size-change feedback loop, where we would pull an old size
  24419. off the queue and mistakenly change our window's size to an
  24420. earlier value
  24421. - Now compressing ConfigureNotify events, to reduce looping and
  24422. redraw issues
  24423. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  24424. is called
  24425. 2005-03-07 Jackson Harper <[email protected]>
  24426. * Binding.cs: Push data pushes from data -> property. Check if the
  24427. property is readonly when attempting to set it.
  24428. 2005-03-07 Jackson Harper <[email protected]>
  24429. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  24430. instead of IsSubclassOf. Pulling data now sets the value on the
  24431. control.
  24432. * PropertyManager.cs:
  24433. * CurrencyManager.cs: Just need to pull data when updating now,
  24434. because PullData will set the value on the control.
  24435. 2005-03-04 Jackson Harper <[email protected]>
  24436. * Binding.cs: Implement data type parsing and converting on pulled
  24437. data. TODO: Are there more ways the data can be converted?
  24438. 2005-03-04 Jackson Harper <[email protected]>
  24439. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  24440. controls Validating method so we can repull the data when the
  24441. control loses focus.
  24442. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  24443. * ColumnHeader.cs:
  24444. - Fixes null string format
  24445. * ListView.cs:
  24446. - Adds enum type checks
  24447. - Fixes redrawing and recalc need after changing some properties
  24448. - Fixes on focus_item set after the event
  24449. - Fixes adding columns after the control has been created
  24450. * ThemeWin32Classic.cs:
  24451. - Fixes CheckBox focus rectangle
  24452. - Fixes ColumnHeader drawing
  24453. 2005-03-03 Jackson Harper <[email protected]>
  24454. * Binding.cs: Bind to <Property>Changed events so we can detect
  24455. when properties are changed and update the data.
  24456. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  24457. * ImageList.cs:
  24458. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  24459. - Fixes ImageList constructor with ImageList container
  24460. - Fixes image scaling (wrong parameters at DrawImage)
  24461. 2005-02-02 Jackson Harper <[email protected]>
  24462. * Binding.cs: Make property searches case-insensitive. Eliminate
  24463. some duplicated code.
  24464. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  24465. * ComboBox.cs:
  24466. - Handle focus event
  24467. - Fix scrollbar events
  24468. - Discard highlighted item if remove it
  24469. - Fixes SelectedItem with strings
  24470. 2005-03-01 Peter Bartok <[email protected]>
  24471. * Control.cs:
  24472. - Fixed Visible property, now follows (once again) parent chain
  24473. to return false if any control in the chain is visible=false
  24474. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  24475. - Fixed several places where is_visible instead of Visible was used
  24476. - Implemented FIXME related to focus selection when setting focused
  24477. control to be invisible
  24478. * XplatUIWin32.cs: Now using proper method to find out if window is
  24479. visible. Thanks to Jordi for pointing it out
  24480. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  24481. * ComboBox.cs: show/hide scrollbar instead of creating it
  24482. 2005-02-27 Jackson Harper <[email protected]>
  24483. * CurrencyManager.cs: Add PositionChanged stuff.
  24484. 2005-02-27 Peter Bartok <[email protected]>
  24485. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  24486. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  24487. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  24488. * XplatUIX11.cs:
  24489. - Implemented GetMenuDC()
  24490. - Implemented GetMenuOrigin()
  24491. - Implemented ReleaseMenuDC()
  24492. - Implemented generation of WM_NCPAINT message
  24493. - Implemented generation and handling of WM_NCCALCSIZE message
  24494. * Form.cs: Added debug helper message for Jordi's menu work
  24495. * Hwnd.cs:
  24496. - Modified ClientRect property; added setter, fixed getter to handle
  24497. setting of ClientRect
  24498. - Added MenuOrigin property
  24499. 2005-02-26 Peter Bartok <[email protected]>
  24500. * XplatUIX11.cs:
  24501. - Destroys the caret if a window that's being destroyed contains it
  24502. - Ignores expose events coming from the X11 queue for windows that
  24503. already are destroyed
  24504. - Now uses the proper variable for handling DestroyNotify, before we
  24505. marked the wrong window as destroyed
  24506. - Improved/added some debug output
  24507. 2005-02-26 Peter Bartok <[email protected]>
  24508. * X11Keyboard.cs: Fixes to work on 64bit systems
  24509. 2005-02-26 Peter Bartok <[email protected]>
  24510. * Control.cs:
  24511. - Now calling OnHandleDestroyed from DestroyHandle()
  24512. instead of Dispose()
  24513. - Removed bogus call to controls.Remove() from DestroyHandle()
  24514. 2005-02-26 Peter Bartok <[email protected]>
  24515. * Control.cs: Properly destroy child windows when our handle is
  24516. destroyed
  24517. 2005-02-25 Peter Bartok <[email protected]>
  24518. * XplatUI.cs:
  24519. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  24520. - Alphabetized Static Methods and Subclasses
  24521. * XplatUIX11.cs:
  24522. - Added XException class to allow custom handling of X11 exceptions
  24523. - Created custom X11 error handler, tied into XException class
  24524. - Added support for MONO_XEXCEPTIONS env var to allow the user
  24525. to either throw an exception on X errors or continue running
  24526. after displaying the error
  24527. - Added handling of DestroyNotify message
  24528. - Added handler for CreateNotify message (still disabled)
  24529. - Improved (tried to at least) Where method to provide file and lineno
  24530. * X11Structs.cs:
  24531. - Added XErrorHandler delegate
  24532. - Added XRequest enumeration (to suppor translation of errors)
  24533. 2005-02-25 Jackson Harper <[email protected]>
  24534. * PropertyManager.cs: Implement editing features
  24535. * CurrencyManager.cs:
  24536. * Binding.cs: First attempt at UpdateIsBinding
  24537. * BindingManagerBase.cs: Call UpdateIsBinding before
  24538. pushing/pulling data.
  24539. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  24540. * MenuAPI.cs: Respect disabled items
  24541. * ThemeWin32Classic.cs
  24542. - Caches ImageAttributes creation for DrawImageDisabled
  24543. - Fixes vertical menu line drawing
  24544. - Draws disabled arrows in disable menu items
  24545. 2005-02-24 Peter Bartok <[email protected]>
  24546. * Hwnd.cs:
  24547. - Added UserData property to allow associating arbitrary objects
  24548. with the handle
  24549. - Fixed leak; now removing Hwnd references from static windows array
  24550. * XplatUIWin32.cs:
  24551. - Fixed Graphics leak in PaintEventEnd
  24552. - Removed usage of HandleData, switched over to Hwnd class
  24553. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  24554. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  24555. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  24556. * ScrollBar.cs: Fixes bug
  24557. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  24558. keyboard navigation enhancements
  24559. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  24560. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  24561. * GroupBox.cs: Add control styles
  24562. * Label.cs: Add control styles
  24563. * UpDownBase.cs: Add control styles
  24564. * ListBox.cs: Add control styles
  24565. * XplatUIWin32.cs: Fixes wrong parameter order
  24566. 2005-02-23 Chris Bacon <[email protected]>
  24567. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  24568. 2005-02-23 Jackson Harper <[email protected]>
  24569. * PropertyManager.cs: Implement property binding. This doesn't
  24570. seem to work yet though as (I think) there are some bugs in
  24571. System.ComponentModel.PropertyDescriptor.
  24572. * BindingContext.cs: Use new PropertyManager constructor.
  24573. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  24574. * ProgressBar.cs: use clip region in ProgressBar
  24575. * ThemeWin32Classic.cs: use clip region in ProgressBar
  24576. 2004-02-22 Jackson Harper <[email protected]>
  24577. * BindingsCollection.cs: Remove some debug code.
  24578. 2005-02-22 Jackson Harper <[email protected]>
  24579. * BindingContext.cs:
  24580. * ControlBindingsCollection.cs:
  24581. * CurrencyManager.cs:
  24582. * Binding.cs:
  24583. * BindingManagerBase.cs: Initial implementation
  24584. * BindingsCollection.cs: Add an internal contains method that the
  24585. BindingManagerBase uses to ensure bindings aren't added twice to
  24586. the collection.
  24587. * PropertyManager.cs: Stubbed out.
  24588. * Control.cs:
  24589. * ContainerControl.cs: Hook up databinding
  24590. 2005-02-22 Geoff Norton <[email protected]>
  24591. * XplatUIOSX.cs:
  24592. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  24593. Fixed Invalidate/Update chain.
  24594. Fixed tons of other minor bugs (this is almost a complete rewrite).
  24595. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  24596. * ComboBox.cs: do subcontrol creation when the control is created
  24597. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  24598. * Label.cs: fixes image drawing (image and imagelist)
  24599. * ThemeWin32Classic.cs: cache brushes
  24600. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  24601. * Form.cs: Move menu drawing code to Theme class
  24602. * ComboBox.cs: Move ComboBox drawing code to Theme class
  24603. * MenuItem.cs: Move menu drawing code to Theme class
  24604. * MenuAPI.cs: Move menu drawing code to Theme class
  24605. * ThemeWin32Classic.cs: New methods
  24606. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  24607. * ListBox.cs: Move Listbox drawing code to Theme class
  24608. * Theme.cs: New methods
  24609. 2005-02-20 Peter Bartok <[email protected]>
  24610. * Control.cs:
  24611. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  24612. only process mnemonics on those)
  24613. - Fixed event sequence for key handling; first calling
  24614. ProcessKeyEventArgs now
  24615. * TextBoxBase.cs:
  24616. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  24617. for processing non-character keys
  24618. - Fixed WM_CHAR to generate proper event sequence before processing
  24619. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  24620. generation
  24621. 2005-02-19 Peter Bartok <[email protected]>
  24622. * UserControl.cs: Added TextChanged event; added attributes
  24623. * SizeGrip.cs: Implemented resizing and optional display of grip
  24624. * Form.cs: Fixed attribute
  24625. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  24626. Changed meaning of ScrollWindow bool argument; instead of the
  24627. clear attribute (which will be true usually anyway), it gives the
  24628. option of moving child controls as well.
  24629. * XplatUIX11.cs:
  24630. - Changed to match new ScrollWindow argument
  24631. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  24632. now handles the implicit parent window a WM puts around us
  24633. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  24634. to work)
  24635. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  24636. * TreeView.cs: Adjusted to new ScrollWindow arguments
  24637. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  24638. * Form.cs: Menu integration with non-client area
  24639. * MenuItem.cs: Menu integration with non-client area
  24640. * MenuAPI.cs: Menu integration with non-client area
  24641. 2005-02-18 Peter Bartok <[email protected]>
  24642. * MethodInvoker.cs: Added
  24643. * MdiLayout.cs: Added
  24644. * SendKeys.cs: Started implementation
  24645. * ErrorIconAlignment.cs: Added
  24646. 2005-02-18 Peter Bartok <[email protected]>
  24647. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  24648. * Form.cs: Added handling for Menu-related Non-client messages
  24649. 2005-02-17 Peter Bartok <[email protected]>
  24650. * UpDownBase.cs: Fixed typo, compilation errors
  24651. * DomainUpDown.cs: Fixed attribute value
  24652. 2005-02-16 Miguel de Icaza <[email protected]>
  24653. * UpDownBase.cs: Attach entry events.
  24654. Propagate events.
  24655. Add ForeColor property, Focused, InterceptArrowKeys (interception
  24656. does not work yet).
  24657. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  24658. * Form.cs:
  24659. - Redraw non client are on Setmenu
  24660. - Calc proper menu starting point
  24661. 2005-02-17 Peter Bartok <[email protected]>
  24662. * Application.cs: Fixed message_filter check
  24663. 2005-02-17 Peter Bartok <[email protected]>
  24664. * Application.cs: Now calls registered message filters
  24665. * DockStyle.cs: Fixed attribute
  24666. * Form.cs: Fixed attribute
  24667. * Menu.cs: Fixed attribute
  24668. * ToolTip.cs: Fixed attribute
  24669. * TreeNode.cs: Added missing attributes and arranged in regions
  24670. * PropertyGrid.cs: Fixed signatures
  24671. * TreeNodeCollection.cs: Added attributes
  24672. * Splitter.cs: Added missing attributes; arranged into regions
  24673. * TabPage.cs: Added missing attributes; arranged into regions
  24674. * TextBoxBase.cs: Added missing attributes
  24675. * TextBox.cs: Added missing attributes
  24676. * ArrangeDirection.cs: Added missing attributes
  24677. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  24678. * ToolBarButton.cs: Fixed attributes
  24679. * AnchorStyles.cs: Fixed attribute
  24680. * TrackBar.cs: Fixed attributes
  24681. * TabControl.cs: Added missing attributes and arranged into regions
  24682. * ToolBar.cs: Fixed attribute
  24683. * StatusBar.cs: Fixed signature, organized into regions and added
  24684. attributes
  24685. * StatusBarPanel.cs: Fixed attributes
  24686. * ContentsResizedEventArgs.cs: Implemented
  24687. * ContentsResizedEventHandler.cs: Implemented
  24688. * DateBoldEventArgs.cs: Implemented
  24689. * DateBoldEventHandler.cs: Implemented
  24690. * UpDownEventArgs.cs: Implemented
  24691. * UpDownEventHandler.cs: Implemented
  24692. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  24693. * Form.cs: first Menu NC refactoring
  24694. * MenuAPI.cs: first Menu NC refactoring
  24695. 2005-02-16 Peter Bartok <[email protected]>
  24696. * ImeMode.cs: Added missing attributes
  24697. * Menu.cs: Fixed attribute
  24698. * GroupBox.cs: Fixed attribute
  24699. * Label.cs: Fixed attribute
  24700. * ColorDialog.cs (RunDialog): Removed TODO attribute
  24701. * ComboBox.cs: Fixed attributes
  24702. * ListControl.cs: Added missing attributes
  24703. * PropertyGrid.cs: Fixed attributes
  24704. * Control.cs: Fixed attributes
  24705. * ListViewItem.cs: Added TypeConverter attribute
  24706. * NotifyIcon.cs: Fixed attributes
  24707. * ListView.cs: Fixed attributes
  24708. * ButtonBase.cs: Fixed attribute
  24709. * ImageList.cs: Added missing attributes
  24710. * ContainerControl.cs: Fixed signature
  24711. * CheckedListBox.cs: Fixed attribute; added missing attributes
  24712. * Panel.cs: Fixed attributes
  24713. * PropertyTabChangedEventArgs.cs: Added missing attribute
  24714. * PropertyValueChangedEventArgs.cs: Added missing attribute
  24715. * Binding.cs: Fixed attribute
  24716. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  24717. * ListBox.cs: Fixed attribute; added missing attributes;
  24718. * ScrollableControl.cs: Added missing attributes
  24719. * PictureBox.cs: Added missing attributes; implemented missing property
  24720. * DateTimePicker.cs: Added missing attributes
  24721. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  24722. * MonthCalendar.cs: Fixed attributes
  24723. * StatusBarPanel.cs: Added missing attributes
  24724. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  24725. 2005-02-16 Peter Bartok <[email protected]>
  24726. * TextBoxBase.cs: The previous method to enforce height yet remember
  24727. the requested high was less than ideal, this is an attempt to do
  24728. it better.
  24729. * Control.cs: Added comment about possible problem
  24730. * Copyright: Updated format
  24731. * GridItemType.cs: Fixed swapped values
  24732. 2005-02-15 Jackson Harper <[email protected]>
  24733. * BaseCollection.cs: Use property so we never access an
  24734. uninitialized list. Also initialize the list in the property.
  24735. 2005-02-15 Peter Bartok <[email protected]>
  24736. * GroupBox.cs (ProcessMnemonic): Implemented
  24737. * Label.cs (ProcessMnemonic): Implemented
  24738. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  24739. hotkeys
  24740. 2005-02-15 Peter Bartok <[email protected]>
  24741. * RadioButton.cs (ProcessMnemonic): Implemented
  24742. * CheckBox.cs (ProcessMnemonic): Implemented
  24743. * Control.cs:
  24744. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  24745. handling
  24746. - Added internal method to allow calling ProcessMnemonic from other
  24747. controls
  24748. * ContainerControl.cs:
  24749. - Started support for handling validation chain handling
  24750. - Implemented ProcessMnemonic support
  24751. - Added Select() call to Active, to make sure the active control
  24752. receives focus
  24753. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  24754. FormParent rewrite)
  24755. * ThemeWin32Classic.cs:
  24756. - DrawCheckBox(): Fixed stringformat to show hotkeys
  24757. - DrawRadioButton(): Fixed stringformat to show hotkeys
  24758. * CommonDialog.cs: Removed WndProc override, not needed
  24759. 2005-02-14 Peter Bartok <[email protected]>
  24760. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  24761. missed those in the rewrite
  24762. 2005-02-14 Miguel de Icaza <[email protected]>
  24763. * NumericUpDown.cs (Increment, ToString): Add.
  24764. (DecimalPlaces): implement.
  24765. Add attributes.
  24766. * UpDownBase.cs: Add the designer attributes.
  24767. 2005-02-13 Peter Bartok <[email protected]>
  24768. * Panel.cs: Removed border_style, now in Control
  24769. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  24770. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  24771. 2005-02-13 Peter Bartok <[email protected]>
  24772. * MouseButtons.cs: Added missing attributes
  24773. * XplatUIStructs.cs: Added enumeration for title styles
  24774. * LeftRightAlignment.cs: Added missing attributes
  24775. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  24776. it compatible with Graphics.FromHwnd()
  24777. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  24778. * Keys.cs: Added missing attributes
  24779. * SelectionRange.cs: Added missing attributes
  24780. * SelectionRangeConverter.cs: Added
  24781. * XplatUI.cs:
  24782. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  24783. ReleaseMenuDC methods
  24784. - Renamed ReleaseWindow to UngrabWindow
  24785. - Added proper startup notice to allow version identification
  24786. * Form.cs:
  24787. - Added missing attributes
  24788. - Removed FormParent concept
  24789. * Label.cs: Removed border_style field, now in Control
  24790. * RadioButton.cs: Now properly selects RadioButton when focus is
  24791. received
  24792. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  24793. * Control.cs:
  24794. - Added missing attributes
  24795. - Added borderstyle handling
  24796. - Removed FormParent concept support
  24797. - Fixed calls to XplatUI to match changed APIs
  24798. - Fixed bug that would case us to use disposed Graphics objects
  24799. - Removed unneeded internal methods
  24800. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  24801. - SelectNextControl(): Fixed to properly check common parents
  24802. * TextBoxBase.cs: Removed border_style field (now in Control)
  24803. * MessageBox.cs:
  24804. - Patch by Robert Thompson ([email protected]): Added icon support,
  24805. fixed calculations for form size
  24806. - Added support for localized strings and icons
  24807. - Improved form size calculations, added border
  24808. * ListView.cs: Removed border_style field (now in Control)
  24809. * X11Structs.cs: Moved several structs from X11 driver here
  24810. * X11Keyboard.cs: Changed debug message
  24811. * Application.cs: Removed FormParent concept support
  24812. * CommonDialog.cs:
  24813. - Resetting end_modal flag
  24814. - Removed FormParent concept support
  24815. * NativeWindow.cs: Removed FormParent concept support
  24816. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  24817. Client area and Non-Client whole window to allow support for WM_NC
  24818. messages
  24819. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  24820. prevent using it until it supports Hwnd as per Geoff Norton's request
  24821. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  24822. * PictureBox.cs: Removed border_style field, now in Control
  24823. * XplatUIWin32.cs: Added new driver methods
  24824. 2005-02-12 Peter Bartok <[email protected]>
  24825. * OpacityConverter.cs: Implemented
  24826. * Hwnd.cs: Internal class to support drivers that need to emulate
  24827. client area/non-client area window behaviour
  24828. 2005-02-11 Peter Bartok <[email protected]>
  24829. * KeysConverter.cs: Implemented
  24830. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  24831. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  24832. * LinkLabel: Added missing attributes
  24833. * MainMenu.cs: fixes ToString
  24834. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  24835. * ListBox.cs: fixes event position
  24836. * TrackBar.cs: adds missing attributes and events
  24837. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  24838. * MenuItem.cs: Use SystemInformation and bug fixes
  24839. * MenuAPI.cs: Use SystemInformation and bug fixes
  24840. 2005-02-09 Jackson Harper <[email protected]>
  24841. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  24842. their keystate otherwise things like VK_MENU get stuck "on".
  24843. 2005-02-09 Kazuki Oikawa <[email protected]>
  24844. * ListBox.cs: Fixes AddRange bug
  24845. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  24846. * ProgressBar.cs
  24847. - Add missing attributes
  24848. - Add missing method
  24849. * CheckedListBox.cs: Added missing attributes
  24850. - Add missing attributes
  24851. - Remove extra method
  24852. * ComboBox.cs: Added missing attributes
  24853. * VScrollBar.cs: Added missing attributes
  24854. * ScrollBar.cs: Added missing attributes
  24855. * ListBox.cs: Fixes signature, add missing consts
  24856. * LinkArea.cs: Added missing attributes
  24857. 2005-02-08 Peter Bartok <[email protected]>
  24858. * Menu.cs: Added missing attributes
  24859. * MainMenu.cs: Added missing attributes
  24860. * GroupBox.cs: Added missing attributes
  24861. * Label.cs: Added missing attributes
  24862. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  24863. * ColorDialog.cs:
  24864. - Added Instance and Options properties
  24865. - Added missing attributes
  24866. * Cursor.cs: Made Serializable
  24867. * NotifyIcon: Added missing attributes
  24868. * MenuItem.cs: Added missing attributes
  24869. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  24870. * Panel.cs: Added Missing attributes
  24871. * MonthCalendar.cs: Fixed CreateParams
  24872. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  24873. * LinkLabel.cs:
  24874. - Fixes signature
  24875. - Fixes issues with links
  24876. - Adds the class attributes
  24877. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  24878. * ComboBox.cs:
  24879. - Fixes button when no items available in dropdown
  24880. - Fixes repainting problems
  24881. - Adds the class attributes
  24882. 2005-02-07 Geoff Norton <[email protected]>
  24883. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  24884. the current theme. Cache these on startup.
  24885. 2005-02-07 Jackson Harper <[email protected]>
  24886. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  24887. the scrollbar buttons when they are depressed.
  24888. 2005-02-07 Geoff Norton <[email protected]>
  24889. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  24890. Get the display size from the main displayid. We currently dont
  24891. support multiple display configurations.
  24892. 2005-02-07 Geoff Norton <[email protected]>
  24893. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  24894. 2005-02-07 Miguel de Icaza <[email protected]>
  24895. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  24896. 2005-02-05 Jonathan Chambers <[email protected]>
  24897. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  24898. 2005-02-04 Jackson Harper <[email protected]>
  24899. * ThemeWin32Classic.cs: Respect the clipping rect when
  24900. drawing. Only fill the intersection of clips and rects so there
  24901. isn't a lot of large fills.
  24902. * ScrollBar.cs: Pass the correct clipping rect to the theme
  24903. engine. Remove some debug code.
  24904. 2005-02-05 John BouAntoun <[email protected]>
  24905. * DateTimePicker.cs:
  24906. - Fixed crash on DateTime.Parse, use Constructor instead
  24907. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  24908. * MenuItem.cs:
  24909. * MenuAPI.cs:
  24910. - Owner draw support (MeasureItem and DrawItem)
  24911. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  24912. * Menu.cs:
  24913. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  24914. - Fixes MenuItems.Add range
  24915. * MenuItem.cs:
  24916. - MergeMenu and Clone and CloneMenu functions
  24917. 2005-02-03 Jackson Harper <[email protected]>
  24918. * ScrollBar.cs: Make abstract
  24919. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  24920. is abstract.
  24921. 2005-02-03 Jackson Harper <[email protected]>
  24922. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  24923. all the unneeded refreshes and uses invalidates with properly
  24924. computed rects.
  24925. 2005-02-03 Peter Bartok <[email protected]>
  24926. * ComponentModel.cs: Added
  24927. * IDataGridEditingService.cs: Added
  24928. * Timer.cs: Added missing attributes
  24929. * ToolTip.cs: Added missing attributes
  24930. 2005-02-03 Jonathan Chambers <[email protected]>
  24931. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  24932. 2005-02-03 Peter Bartok <[email protected]>
  24933. * ListBox.cs: Added missing attributes
  24934. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  24935. * ListBox.cs:
  24936. - Fixes font height after font change
  24937. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  24938. 2005-02-02 Peter Bartok <[email protected]>
  24939. * HandleData.cs: Introduced static methods to allow class
  24940. to be more self-contained and track it's own HandleData objects
  24941. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  24942. HandleData to use new static methods
  24943. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  24944. * Combobox.cs:
  24945. - Fixes default size and PreferredHeight
  24946. - Missing events
  24947. - ObjectCollection.Insert implementation
  24948. * ListControl.cs
  24949. - Fixes signature
  24950. * ListBox.cs:
  24951. - Several fixes
  24952. - ObjectCollection.Insert implementation
  24953. - No selection after clean
  24954. - Small fixes
  24955. 2005-01-31 John BouAntoun <[email protected]>
  24956. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  24957. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  24958. * Combobox.cs:
  24959. - Caches ItemHeight calculation for OwnerDrawVariable
  24960. - Handles dropdown properly
  24961. - Fixes several minor bugs
  24962. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  24963. * ListBox.cs:
  24964. - Fixes 71946 and 71950
  24965. - Fixes changing Multicolumn on the fly
  24966. - Fixes keyboard navigation on Multicolumn listboxes
  24967. 2005-01-31 Geoff Norton <[email protected]>
  24968. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  24969. crash reporter log.
  24970. 2005-01-31 Geoff Norton <[email protected]>
  24971. * XplatUIOSX.cs: Allow applications to actually exit.
  24972. 2005-01-31 Geoff Norton <[email protected]>
  24973. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  24974. their parent at creation time rather than lazily later. Fixes a major
  24975. regression we were experiencing.
  24976. 2005-01-31 John BouAntoun <[email protected]>
  24977. * ThemeWin32Classic.cs: more date time picker painting fixes
  24978. * DateTimePicker.cs: more monthcalendar drop down fixes
  24979. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  24980. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  24981. * ScrollBar.cs:
  24982. - When moving the thumb going outside the control should stop the moving
  24983. - Adds the firing of missing events
  24984. - Fixes no button show if Size is not specified
  24985. - End / Home keys for keyboard navigation
  24986. 2005-01-30 Peter Bartok <[email protected]>
  24987. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  24988. sanity check to prevent theoretical loop
  24989. * XplatUIWin32.cs (SetVisible): Removed debug output
  24990. * XplatUIX11.cs (SystrayChange): Added sanity check
  24991. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  24992. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  24993. behaviour, valid until the X11 client window rewrite is done
  24994. * TextBox.cs (ctor): Setting proper default foreground and background
  24995. colors
  24996. 2005-01-30 John BouAntoun <[email protected]>
  24997. * Theme: Added DrawDateTimePicker to interface
  24998. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  24999. * DateTimePicker.cs: Created (still needs keys and painting code)
  25000. * DateTimePickerFormat.cs: added
  25001. * MonthCalendar.cs: fixed CreateParams for popup window mode
  25002. 2005-01-29 Peter Bartok <[email protected]>
  25003. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  25004. this should also the calculations for ligher/darker
  25005. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  25006. 2005-01-29 Peter Bartok <[email protected]>
  25007. * ArrangeDirection.cs: Added
  25008. * ArrangeStartingPositon.cs: Added
  25009. * SystemInformation.cs: Implemented
  25010. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  25011. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  25012. used by SystemInformation class
  25013. * X11Strucs.cs: Added XSizeHints structure
  25014. * MenuAPI.cs:
  25015. - Fixed CreateParams to make sure the menu window is always visible
  25016. - TrackPopupMenu: Added check to make sure we don't draw the
  25017. menu offscreen
  25018. 2005-01-29 Peter Bartok <[email protected]>
  25019. * HandleData.cs: Added method for altering invalid area
  25020. * TextBoxBase.cs: Implemented TextLength
  25021. 2005-01-28 Peter Bartok <[email protected]>
  25022. * XplatUIX11.cs: Improvement over last patch, not sending
  25023. the WM_PAINT directly anymore, instead we scroll any pending
  25024. exposed areas and let the system pick out the WM_PAINT later
  25025. 2005-01-28 Peter Bartok <[email protected]>
  25026. * SWF.csproj: Deleted, no longer used. Instead,
  25027. Managed.Windows.Forms/SWF.csproj should be used
  25028. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  25029. directly, to avoid a potential race condition with the next
  25030. scroll
  25031. 2005-01-28 Peter Bartok <[email protected]>
  25032. * XplatUI.cs: Made class internal
  25033. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  25034. * CheckedListBox.cs:
  25035. - Draw focus
  25036. - Fixed Drawing
  25037. - Missing methods and events
  25038. 2005-01-27 Peter Bartok <[email protected]>
  25039. * Application.cs (Run): Don't use form if we don't have one
  25040. 2005-01-27 Peter Bartok <[email protected]>
  25041. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  25042. 2005-01-27 Peter Bartok <[email protected]>
  25043. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  25044. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  25045. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  25046. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  25047. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  25048. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  25049. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25050. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  25051. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25052. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25053. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  25054. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  25055. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  25056. * Combobox.cs:
  25057. - Draw focus on Simple Combobox
  25058. - Fixes drawing issues
  25059. - fixes 71834
  25060. 2005-01-27 Peter Bartok <[email protected]>
  25061. * Form.cs:
  25062. - Place window in default location, instead of hardcoded 0/0
  25063. - Send initial LocationChanged event
  25064. * Control.cs:
  25065. - UpdateBounds after creation to find out where the WM placed us
  25066. - Make sure that if the ParentForm changes location the Form
  25067. is notified
  25068. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  25069. to the root, but to whatever the WM placed around us.
  25070. Translate to root coordinates before returning toplevel
  25071. coordinates
  25072. * XplatUIWin32.cs: Removed debug output
  25073. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  25074. flag to GetWindowPos, to allow translation of coordinates on X11
  25075. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  25076. * ListBox.cs: connect LostFocus Event
  25077. 2005-01-27 Peter Bartok <[email protected]>
  25078. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  25079. XplatUIX11.cs: Extended the Systray API
  25080. * Form.cs: Removed debug output
  25081. * Application.cs: Fixed focus assignment, always need to call
  25082. XplatUI.Activate() since Form.Activate() has rules that may
  25083. prevent activation
  25084. * NotifyIcon.cs: Should be complete now
  25085. * ToolTip.cs: Worked around possible timer bug
  25086. 2005-01-27 Jackson Harper <[email protected]>
  25087. * TabControl.cs:
  25088. - Only invalidate the effected tabs when the
  25089. selected index changes. This reduces drawing and gets rid of some
  25090. flicker.
  25091. - Only refresh if the tabs need to be shifted, otherwise only
  25092. invalidate the slider button.
  25093. - On windows the tabs are not filled to right if the slider is
  25094. visible.
  25095. 2005-01-27 Jackson Harper <[email protected]>
  25096. * TabControl.cs: Only refresh on mouseup if we are showing the
  25097. slider. Also only invalidate the button whose state has changed.
  25098. 2005-01-26 Peter Bartok <[email protected]>
  25099. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  25100. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  25101. and SystrayRemove() methods
  25102. * XplatUIOSX.cs: Stubbed Systray methods
  25103. * XplatUIX11.cs:
  25104. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  25105. methods
  25106. - Fixed broken XChangeProperty calls (marshalling messed up things)
  25107. * X11Structs.cs: Added enums and structs required for Size hinting
  25108. * NotifyIcon.cs: Added & implemented
  25109. 2005-01-26 Jackson Harper <[email protected]>
  25110. * TabControl.cs: Space vertically layed out tabs properly.
  25111. 2005-01-26 Peter Bartok <[email protected]>
  25112. * Form.cs (CreateClientParams): Always set the location to 0,0
  25113. since we're a child window.
  25114. * Control.cs (SetVisibleCore): Always explicitly setting the location
  25115. of a toplevel window, apparently X11 doesn't like to move windows
  25116. while they're not mapped.
  25117. 2005-01-26 Jackson Harper <[email protected]>
  25118. * TabControl.cs: Implement FillToRight size mode with vertically
  25119. rendered tabs.
  25120. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  25121. * ControlPaint.cs, ThemeWin32Classic.cs
  25122. - Fixes DrawFocusRectangle
  25123. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  25124. * MenuAPI.cs:
  25125. - MenuBar tracking only starts when item is first clicked
  25126. - Fixes menu hidding for multiple subitems
  25127. - Unselect item in MenuBar when item Executed
  25128. - Fixes bug 71495
  25129. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  25130. * ListControl.cs:
  25131. - IsInputKey for ListBox
  25132. * ListBox.cs:
  25133. - Focus item
  25134. - Shift and Control item selection
  25135. - Implement SelectionMode.MultiExtended
  25136. - Fixes RightToLeft
  25137. * ComboBox.cs:
  25138. - IsInputKey implemented
  25139. - Do not generate OnTextChangedEdit on internal txt changes
  25140. 2005-01-23 Peter Bartok <[email protected]>
  25141. * AccessibleObject.cs: Partially implemented Select()
  25142. * MonthCalendar.cs: Added missing attributes and events
  25143. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  25144. form can properly override CreateParams.
  25145. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  25146. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  25147. Control performs Invalidate & Update
  25148. * NativeWindow (CreateHandle): Added special handling for Form
  25149. and Form.FormParent classes to allow overriding of From.CreateParams
  25150. * Control.cs:
  25151. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  25152. name 'owner'
  25153. - ControlNativeWindow: Added Owner property
  25154. - Removed usage of Refresh() on property changes, changed into
  25155. Invalidate(), we need to wait until the queue is processed for
  25156. updates, direct calls might cause problems if not all vars for
  25157. Paint are initialized
  25158. - Added call to UpdateStyles() when creating the window, to set any
  25159. styles that CreateWindow might have ignored.
  25160. - Added support for Form CreateParent overrides to UpdateStyles()
  25161. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  25162. CreateParams are now properly overridable
  25163. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  25164. CreateParams are now properly overridable
  25165. 2005-01-23 Miguel de Icaza <[email protected]>
  25166. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  25167. OnTextBoxChanged.
  25168. Capture LostFocus and OnTextBoxChanged. The later introduces a
  25169. recursive invocation that I have not figured out yet.
  25170. Reset the timer when not using (it was accumulating).
  25171. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  25172. user has made changes that require validation.
  25173. Reset changing to avoid loops.
  25174. 2005-01-22 Miguel de Icaza <[email protected]>
  25175. * NumericUpDown.cs: Display value at startup.
  25176. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  25177. ValidateEditText.
  25178. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  25179. filled in. Added some basic parsing of text.
  25180. Still missing the OnXXX method overrides, and figuring out the
  25181. events that must be emitted.
  25182. * UpDownBase.cs: Handle UserEdit on the Text property.
  25183. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  25184. * ComboBox.cs:
  25185. - Fixes IntegralHeight
  25186. - ToString method
  25187. 2005-01-21 Jackson Harper <[email protected]>
  25188. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  25189. is set so that the page visibility is updated and the tabs are
  25190. sized correctly.
  25191. 2005-01-21 Jackson Harper <[email protected]>
  25192. * TabControl.cs: Use cliping rectangle for blitting. Give the
  25193. theme the clipping rect so we can do clipping while
  25194. drawing. Remove some debug code.
  25195. 2005-01-21 Jackson Harper <[email protected]>
  25196. * TabPage.cs: Add a new method so tab pages can force the tab
  25197. control to recalculate the tab page sizes.
  25198. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  25199. sizes.
  25200. 2005-01-20 Jackson Harper <[email protected]>
  25201. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  25202. 2005-01-20 Jackson Harper <[email protected]>
  25203. * TreeView.cs: Set the bounds for nodes properly. They were
  25204. getting screwed up when checkboxes were not enabled, but images
  25205. were.
  25206. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  25207. * ListBox.cs:
  25208. - Owner draw support
  25209. - Fixes
  25210. 2005-01-20 Jackson Harper <[email protected]>
  25211. * XplatUIStructs.cs: More misc keys
  25212. * X11Keyboard.cs: Ignore some control keys.
  25213. 2005-01-20 Jackson Harper <[email protected]>
  25214. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  25215. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  25216. 2005-01-19 Peter Bartok <[email protected]>
  25217. * Control.cs: Un-selecting the control when it is loosing focus
  25218. 2005-01-19 Jackson Harper <[email protected]>
  25219. * TreeView.cs: Hook up to the text controls leave event so we can
  25220. end editing when the users clicks outside the text box.
  25221. 2005-01-19 Jackson Harper <[email protected]>
  25222. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  25223. get set in the conversion array.
  25224. 2005-01-19 Peter Bartok <[email protected]>
  25225. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  25226. focus is properly set
  25227. * Button.cs:
  25228. - Added missing attributes
  25229. - removed styles, those are already set in the base class
  25230. * ButtonBase.cs:
  25231. - Added missing attributes
  25232. - Added clip window styles
  25233. * CheckBox.cs: Added missing attributes
  25234. * CommonDialog.cs:
  25235. - FormParentWindow.CreateParams: Added required clip styles
  25236. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  25237. also filters modifier keys
  25238. * MessageBox.cs:
  25239. - Added assignment of Accept and Cancel button to enable Enter
  25240. and Esc keys in MessageBox dialogs
  25241. - FormParentWindow.CreateParams: Added required clip styles
  25242. * RadioButton.cs: Added missing attributes
  25243. * TextControl.cs: No longer draws selection if control does not
  25244. have focus
  25245. * TextBoxBase.cs:
  25246. - Now draws simple rectangle around test area to make it obvious
  25247. there's a control. This is a hack until we properly support borders
  25248. - A few simple fixes to support selections better, now erases selected
  25249. text when typing, and resets selection when using movement keys
  25250. 2005-01-19 Miguel de Icaza <[email protected]>
  25251. * UpDownBase.cs: Added some new properties.
  25252. * DomainUpDown.cs: Implement a lot to get my test working.
  25253. 2005-01-19 Geoff Norton <[email protected]>
  25254. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  25255. 2005-01-19 Geoff Norton <[email protected]>
  25256. * OSXStructs (WindowAttributes): Fixed csc complaints
  25257. 2005-01-19 Geoff Norton <[email protected]>
  25258. * XplayUIOSX.cs:
  25259. OSXStructs.cs: Initial refactor to move enums and consts into
  25260. OSXStructs and use them in the driver for greater readability.
  25261. 2005-01-19 Geoff Norton <[email protected]>
  25262. * XplatUIOSX.cs: Initial support for Standard Cursors.
  25263. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  25264. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  25265. * ComboBox.cs: ability to change style when the ctrl is already
  25266. created, missing methods and events, bug fixes, signature fixes
  25267. 2005-01-19 Peter Bartok <[email protected]>
  25268. * Cursors.cs (ctor): Added ctor to fix signature
  25269. 2005-01-18 Peter Bartok <[email protected]>
  25270. * Button.cs: Implemented DoubleClick event
  25271. * ButtonBase.cs:
  25272. - Fixed keyboard handling to behave like MS, where the press of
  25273. Spacebar is equivalent to a mousedown, and the key release is
  25274. equivalent to mouseup. Now a spacebar push will give the same
  25275. visual feedback like a mouse click.
  25276. - Added missing attributes
  25277. - Added ImeModeChanged event
  25278. - Added support for generating DoubleClick event for derived classes
  25279. * CheckBox.cs:
  25280. - Implemented DoubleClick event
  25281. - Added missing attributes
  25282. * CommonDialog.cs: Added missing attribute
  25283. * ContextMenu.cs: Added missing attributes
  25284. * RadioButton.cs:
  25285. - AutoChecked buttons do not allow to be unselected when clicked
  25286. (otherwise we might end up with no selected buttons in a group)
  25287. - Added missing attributes
  25288. - Implemented DoubleClickEvent
  25289. * ThreadExceptionDialog.cs: Enabled TextBox code
  25290. 2005-01-18 Peter Bartok <[email protected]>
  25291. * Form.cs: Removed debug output
  25292. * Button.cs: Added support for DoubleClick method
  25293. 2005-01-18 Peter Bartok <[email protected]>
  25294. * Form.cs:
  25295. - Added method to parent window that allows triggering size
  25296. calculations when a menu is added/removed
  25297. - set_Menu: Cleaned up mess from early days of Form and Control,
  25298. now properly triggers a recalc when a menu is added/removed
  25299. - Added case to select form itself as focused form if no child
  25300. controls exist
  25301. - Added PerformLayout call when showing dialog, to ensure properly
  25302. placed controls
  25303. * Control.cs:
  25304. - Select(): Made internal so Form can access it
  25305. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  25306. status
  25307. * Application.cs (Run): Removed hack and calls PerformLayout instead
  25308. to trigger calculation when Form becomes visible
  25309. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  25310. * ComboBox.cs: fixes for ownerdraw
  25311. 2005-01-18 Peter Bartok <[email protected]>
  25312. * TextControl.cs:
  25313. - Sentinel is no longer static, each Document gets it's own, this
  25314. avoids locking or alternatively overwrite problems when more
  25315. than one text control is used simultaneously.
  25316. - Switched to use Hilight and HilightText brushes for text selection
  25317. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  25318. 2005-01-18 Peter Bartok <[email protected]>
  25319. * Control.cs:
  25320. - Hooked up the following events:
  25321. o ControlAdded
  25322. o ControlRemoved
  25323. o HandleDestroyed
  25324. o ImeModeChanged
  25325. o ParentChanged
  25326. o TabStopChanged
  25327. o Invalidated
  25328. o SystemColorsChanged
  25329. o ParentFontChanged
  25330. o Move
  25331. - Removed debug output
  25332. - Added a call to the current theme's ResetDefaults when a color change
  25333. is detected
  25334. * Form.cs: Now setting the proper ImeMode
  25335. * Theme.cs: Defined a method to force recreation of cached resources
  25336. and rereading of system defaults (ResetDefaults())
  25337. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  25338. 2005-01-17 Peter Bartok <[email protected]>
  25339. * Control.cs: Added missing attributes
  25340. 2005-01-17 Jackson Harper <[email protected]>
  25341. * TreeNode.cs: Implement editing. Add missing properties selected
  25342. and visible.
  25343. * TreeView.cs: Implement node editing. Also some fixes to use
  25344. Invalidate (invalid area) instead of Refresh when selecting.
  25345. 2005-01-17 Peter Bartok <[email protected]>
  25346. * Control.cs:
  25347. - Implemented InvokeGotFocus() method
  25348. - Implemented InvokeLostFocus() method
  25349. - Implemented InvokePaint() method
  25350. - Implemented InvokePaintBackground() method
  25351. - Implemented InvokeClick() method
  25352. - Implemented FindForm() method
  25353. - Implemented RectangleToClient() method
  25354. - Implemented ClientToRectangle() method
  25355. - Implemented ResetBackColor() method
  25356. - Implemented ResetCursor() method
  25357. - Implemented ResetFont() method
  25358. - Implemented ResteForeColor() method
  25359. - Implemented ResetImeMode() method
  25360. - Implemented ResetLeftToRight() method
  25361. - Implemented ResetText() method
  25362. - Implemented Scale() methods
  25363. - Implemented ScaleCore() method
  25364. - Implemented Update() method
  25365. - Removed unused variables
  25366. - Stubbed AccessibilityNotifyClients and
  25367. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  25368. with those yet)
  25369. - Now setting proper default for RightToLeft property
  25370. - Fixed bug in SetClientSizeCore that would cause windows to get
  25371. really big
  25372. - Now sending Click/DoubleClick events
  25373. - Now selecting controls when left mouse button is clicked on
  25374. selectable control
  25375. * AccessibleEvents.cs: Added
  25376. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  25377. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  25378. * XplatUIWin32.cs: Implemented UpdateWindow() method
  25379. * XplatUIX11.cs: Implemented UpdateWindow() method
  25380. * Form.cs: Removed stray semicolon causing CS0162 warning
  25381. * ThemeWin32Classic.cs: Fixed unused variable warnings
  25382. * ScrollableControl.cs: Now calls base method for ScaleCore
  25383. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  25384. style to avoid interference with internal click handler (which is
  25385. different than standard Control click handling)
  25386. * RadioButton.cs:
  25387. - Now unchecks all sibling radio buttons when control is
  25388. selected (Fixes #68756)
  25389. - Removed internal tabstop variable, using the one inherited from
  25390. Control
  25391. 2005-01-17 Jackson Harper <[email protected]>
  25392. * NavigateEventArgs.cs: Fix base type.
  25393. * LinkLabel.cs: Sig fix
  25394. 2005-01-17 Jackson Harper <[email protected]>
  25395. * TreeView.cs: Only invalidate the effected nodes bounds when
  25396. selecting nodes.
  25397. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25398. * XplatUIWin32.cs: fixes Win32 marshaling
  25399. * XplatUIX11.cs: fixes method signature
  25400. 2005-01-17 Peter Bartok <[email protected]>
  25401. * XplatUIX11.cs: Clean up resources when we no longer need them
  25402. 2005-01-17 Peter Bartok <[email protected]>
  25403. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  25404. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  25405. and DestroyCursor() methods.
  25406. * Cursor.cs: Partially implemented, now supports standard cursors;
  25407. still contains some debug code
  25408. * Cursors.cs: Implemented class
  25409. * Control.cs:
  25410. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  25411. appropriate cursor
  25412. - Implemented Cursor property
  25413. - Replaced break; with return; more straightforwar and possibly
  25414. faster
  25415. - Now properly setting the result for WM_HELP
  25416. * X11Structs.cs: Added CursorFontShape enum
  25417. * XplatUIStructs.cs:
  25418. - Added StdCursor enum (to support DefineStdCursor() method)
  25419. - Added HitTest enum (to support sending WM_SETCURSOR message)
  25420. * XplatUIX11.cs:
  25421. - Now sends the WM_SETCURSOR message
  25422. - Implemented new cursor methods
  25423. * XplatUIOSX.cs: Stubbed new cursor methods
  25424. * XplatUIWin32.cs:
  25425. - Implemented new cursor methods
  25426. - Added GetSystemMetrics function and associated enumeration
  25427. 2005-01-15 Peter Bartok <[email protected]>
  25428. * Control.cs:
  25429. - WndProc(): Now handles EnableNotifyMessage
  25430. - SelectNextControl(): Fixed bug where if no child or sibling
  25431. controls exist we looped endlessly
  25432. 2005-01-14 Jackson Harper <[email protected]>
  25433. * TreeView.cs: Recalculate the tab pages when a new one is added
  25434. so that the proper bounding rects are created.
  25435. 2005-01-14 Jackson Harper <[email protected]>
  25436. * TreeView.cs: Draw a gray box instead of a grip in the lower
  25437. right hand corner when there are both horizontal and vertical
  25438. scroll bars.
  25439. 2005-01-14 Jackson Harper <[email protected]>
  25440. * Control.cs: When erasing backgrounds use FromHwnd instead of
  25441. FromHdc when there is a NULL wparam. This occurs on the X driver.
  25442. * XplatUIX11.cs: Set the wparam to NULL.
  25443. 2005-01-13 Jackson Harper <[email protected]>
  25444. * PictureBox.cs: Implement missing methods (except ToString, need
  25445. to test that on windows) and events. When visibility is changed we
  25446. need to redraw the image because the buffers are killed. When size
  25447. is changed refresh if the sizemode needs it.
  25448. 2005-01-13 Peter Bartok <[email protected]>
  25449. * Control.cs (SelectNextControl): Was using wrong method to select
  25450. a control
  25451. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25452. * ComboBox.cs: fixes dropstyle
  25453. 2005-01-13 Peter Bartok <[email protected]>
  25454. * Form.cs:
  25455. - Implemented Select() override
  25456. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  25457. - Now sets keyboard focus on startup
  25458. * Control.cs (SelectNextControl): Now properly handles directed=true
  25459. * TextBoxBase.cs:
  25460. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  25461. - Added (really bad) focus rectangle (mostly for testing)
  25462. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  25463. to enforce redraw on focus changes
  25464. * ContainerControl.cs:
  25465. - Fixed detection of Shift-Tab key presses
  25466. - Fixed traversal with arrow keys
  25467. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  25468. gonna keep this or if it's complete yet
  25469. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  25470. * ComboBox.cs: missing properties, fixes
  25471. 2005-01-13 Peter Bartok <[email protected]>
  25472. * Panel.cs (ctor): Setting Selectable window style to off
  25473. * Splitter.cs (ctor): Setting Selectable window style to off
  25474. * GroupBox.cs (ctor): Setting Selectable window style to off
  25475. * Label.cs (ctor): Setting Selectable window style to off
  25476. 2005-01-12 Miguel de Icaza <[email protected]>
  25477. * UpDownBase.cs (InitTimer): If the timer has been already
  25478. created, enable it.
  25479. Use a TextBox instead of a Label.
  25480. 2005-01-12 Jackson Harper <[email protected]>
  25481. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  25482. draw the connecting node lines (when ShowLines is true).
  25483. * TreeNode.cs: The nodes index can now be updated. This is used
  25484. when a node collection is sorted.
  25485. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  25486. insert or an existing unsorted node collection can be sorted.
  25487. 2005-01-12 Peter Bartok <[email protected]>
  25488. * ContainerControl.cs: Implemented ProcessDialogKeys()
  25489. 2005-01-12 Peter Bartok <[email protected]>
  25490. * Control.cs:
  25491. - Implemented SelectNextControl() method
  25492. - Several focus related bug fixes
  25493. - Fixed Docking calculations to match MS documentation and
  25494. behaviour
  25495. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  25496. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  25497. bug fixes
  25498. 2005-01-12 Peter Bartok <[email protected]>
  25499. * Control.cs:
  25500. - Fixed broken Contains() method
  25501. - Implemented GetNextControl() method. Finally. This is the pre-
  25502. requisite for focus handling.
  25503. 2005-01-12 Peter Bartok <[email protected]>
  25504. * OSXStrucs.cs: Added
  25505. 2005-01-12 Peter Bartok <[email protected]>
  25506. * XplatUIWin32.cs:
  25507. - Removed PeekMessageFlags
  25508. - Implemented SetWindowStyle() method
  25509. * XplatUIStructs.cs: Added PeekMessageFlags
  25510. * X11Structs: Added missing border_width field to XWindowChanges struct
  25511. * XplatUIX11.cs:
  25512. - PeekMessage: Now throws exception if flags which are not yet
  25513. supported are passed
  25514. - Implemented SetWindowStyle() method
  25515. - Fixed SetZOrder to handle AfterHwnd properly
  25516. * XplatUI.cs: Added SetWindowStyle() method
  25517. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  25518. * Control.cs:
  25519. - Implemented UpdateStyles() method
  25520. - Implemented UpdateZOrder() method
  25521. * XplatUIOSX.cs: Added SetWindowStyle() stub
  25522. 2005-01-12 Geoff Norton <[email protected]>
  25523. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  25524. button mouse).
  25525. 2005-01-11 Jackson Harper <[email protected]>
  25526. * TreeView.cs: Still need to draw lines to siblings even if out of
  25527. the current node is out of the clip.
  25528. 2005-01-11 Jackson Harper <[email protected]>
  25529. * TreeView.cs: When setting the hbar/vbar/grip position use
  25530. SetBounds so that perform layout is only called once. Also suspend
  25531. and resume layout so layout is only done once for all controls.
  25532. - Removed some debug fluff
  25533. * SizeGrip.cs: Call base implmentation in overriding methods.
  25534. - When visibility is changed the drawing buffers are killed so we
  25535. need to redraw.
  25536. 2005-01-11 Jackson Harper <[email protected]>
  25537. * TreeView.cs: Calculate the open node count while drawing. This
  25538. saves us an entire tree traversal for every paint operation. Use
  25539. a member var for the open node count so less vars are passed around.
  25540. 2005-01-11 John BouAntoun <[email protected]>
  25541. * MonthCalendar.cs:
  25542. - fixed selection to use mousemove, not mouse polling on timer
  25543. * ThemeWin32Classic.cs
  25544. - removed redundant unused variable "no_more_content"
  25545. 2005-01-11 Peter Bartok <[email protected]>
  25546. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  25547. are pending, so it now calls PeekMessage instead of GetMessage;
  25548. implemented a incomplete version of PeekMessage
  25549. 2005-01-11 Peter Bartok <[email protected]>
  25550. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  25551. I18n issues
  25552. * TextBoxBase.cs: Added sending of TextChanged event
  25553. 2005-01-10 Jackson Harper <[email protected]>
  25554. * TreeView.cs: Try not to draw outside the clipping rectangle on
  25555. each node element.
  25556. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  25557. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  25558. 2005-01-10 Jackson Harper <[email protected]>
  25559. * TreeView.cs:
  25560. - Implement fast scrolling. Now only the newly
  25561. exposed nodes are drawn and the old image is moved using the
  25562. XplatUI::ScrollWindow method.
  25563. - Factor in height of nodes when calculating whether or not the
  25564. node is in the clipping rect.
  25565. 2005-01-10 Jackson Harper <[email protected]>
  25566. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  25567. 2005-01-10 Peter Bartok <[email protected]>
  25568. * Application.cs: Added temporary hack to resolve all our resize
  25569. required issues on startup. This will get fixed properly at
  25570. some point in the future
  25571. 2005-01-10 Jackson Harper <[email protected]>
  25572. * SizeGrip.cs: New internal class that is used as a sizing
  25573. grip control...hence the name.
  25574. 2005-01-10 Peter Bartok <[email protected]>
  25575. * Control.cs: Implemented proper TabIndex handling, now assigning
  25576. a tabindex when a control is added to a container
  25577. * GroupBox.cs (ctor): Now sets the Container style bit, required
  25578. for Control.GetNextControl()
  25579. 2005-01-09 Jackson Harper <[email protected]>
  25580. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  25581. 2005-01-09 Peter Bartok <[email protected]>
  25582. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  25583. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  25584. an overload for ScrollWindow to allow only scrolling a rectangle
  25585. 2005-01-09 Peter Bartok <[email protected]>
  25586. * Form.cs:
  25587. - Implemented SetDesktopBounds method
  25588. - Implemented SetDesktopLocation method
  25589. 2005-01-08 Jackson Harper <[email protected]>
  25590. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  25591. the node count has changed, this removes to VScroll::Refresh calls
  25592. when drawing.
  25593. 2005-01-08 Geoff Norton <[email protected]>
  25594. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  25595. 2005-01-07 Jackson Harper <[email protected]>
  25596. * TreeNode.cs: Just update the single node when it is
  25597. checked. Don't refresh after toggling, the Expand/Collapse already
  25598. handles this.
  25599. * TreeView.cs: Respect clipping a little more when drawing. Try
  25600. not to redraw things that don't need to be redrawn. Just hide the
  25601. scrollbars when they are no longer needed instead of removing
  25602. them, so they don't have to be created again and again.
  25603. 2005-01-07 Geoff Norton <[email protected]>
  25604. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  25605. coordinates to window space to place the caret properly, FIXED.
  25606. Implement GetWindowState & SetWindowState
  25607. 2005-01-06 Peter Bartok <[email protected]>
  25608. * Form.cs:
  25609. - Implemented ClientSize property
  25610. - Implemented DesktopBounds property
  25611. - Implemented DesktopLocation property
  25612. - Implemented IsRestrictedWindow property
  25613. - Implemented Size property
  25614. - Implemented TopLevel property
  25615. - Implemented FormWindowState property
  25616. * Control.cs:
  25617. - Implemented GetTopLevel() method
  25618. - Implemented SetTopLevel() method
  25619. * X11Structs.cs (Atom):
  25620. - Added AnyPropertyType definition
  25621. - Added MapState definiton and updated XWindowAttribute struct
  25622. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  25623. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  25624. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  25625. * XplatUIWin32.cs:
  25626. - Implemented GetWindowState() and SetWindowState() methods
  25627. - Fixed Win32GetWindowLong return type
  25628. * XplatUIX11.cs:
  25629. - Introduced central function for sending NET_WM messages
  25630. - Implemented GetWindowState() and SetWindowState() methods
  25631. * TextBoxBase.cs (set_Lines):
  25632. - Now uses Foreground color for text added via Text property (Duh!)
  25633. - Added code to remember programmatically requested size (fixes
  25634. behaviour when Multiline is set after Size)
  25635. - Added AutoSize logic
  25636. 2005-01-06 Jackson Harper <[email protected]>
  25637. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  25638. 2005-01-06 Jackson Harper <[email protected]>
  25639. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  25640. set to less then 0.
  25641. 2005-01-06 Jackson Harper <[email protected]>
  25642. * ScrollableControl.cs: Lazy init the scrollbars.
  25643. 2005-01-06 Jackson Harper <[email protected]>
  25644. * Theme.cs: Speed up getting pens and solid brushes, by using
  25645. their ARGB as a hash instead of tostring and not calling Contains.
  25646. 2005-01-06 Peter Bartok <[email protected]>
  25647. * Form.cs:
  25648. - Implemented OnActivated and OnDeactivate event trigger
  25649. - Implemented Activate() method
  25650. - Fixed ShowDialog() to activate the form that was active before
  25651. the dialog was shown
  25652. * XplatUIX11.cs:
  25653. - Added global active_window var that tracks the currently active
  25654. X11 window
  25655. - Now always grabs Property changes from the root window to always
  25656. catch changes on the active window property
  25657. - Added code to PropertyNotify handler to send Active/Inactive
  25658. messages when state changes. This puts X11 and Win32 en par on
  25659. WM_ACTIVATE notifications (except for double notifications when
  25660. the user clicks away from our modal window to another one of our
  25661. windows)
  25662. 2005-01-05 Jackson Harper <[email protected]>
  25663. * ImageList.cs: Implment ctor
  25664. 2005-01-05 Geoff Norton <[email protected]>
  25665. * XplatUIOSX.cs: Implement Activate/SetTopmost
  25666. 2005-01-05 Geoff Norton <[email protected]>
  25667. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  25668. 2005-01-05 Geoff Norton <[email protected]>
  25669. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  25670. 2005-01-05 Peter Bartok <[email protected]>
  25671. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  25672. XplatUIOSX.cs: Added GetActive method to return the currently
  25673. active window for the application (or null, if none is active)
  25674. * Form.cs:
  25675. - Implemented ActiveForm
  25676. - Commented out owner assignment for modal dialogs (causes problems
  25677. on Win32, since the owner will be disabled)
  25678. - Reworked some Active/Focus handling (still incomplete)
  25679. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  25680. (causes problems on Win32, since the owner will be disabled)
  25681. * IWin32Window: Added ComVisible attribute
  25682. 2005-01-05 Peter Bartok <[email protected]>
  25683. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  25684. required XplatUI functions.
  25685. 2005-01-05 Peter Bartok <[email protected]>
  25686. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  25687. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  25688. to implement focus and activation handling; still incomplete and
  25689. with debug output
  25690. 2005-01-04 Peter Bartok <[email protected]>
  25691. * TextBoxBase.cs: Changed access level for Document property to
  25692. match switch to internal for TextControl
  25693. 2005-01-04 Peter Bartok <[email protected]>
  25694. * AccessibleObject: Added ComVisible attribute
  25695. 2005-01-04 Jackson Harper <[email protected]>
  25696. * X11Keyboard.cs: Remove unneeded var.
  25697. 2005-01-04 Jackson Harper <[email protected]>
  25698. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  25699. but PAINT.
  25700. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  25701. ClientMessage. This makes apps exit cleanly (more often).
  25702. 2005-01-04 Jackson Harper <[email protected]>
  25703. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  25704. handling focus, return correct colors and fonts,
  25705. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  25706. handle selection, horizontal scrolling, and mouse interaction.
  25707. 2005-01-04 Peter Bartok <[email protected]>
  25708. * ICommandExecutor.cs: Added
  25709. * IDataGridColumnStyleEditingNotificationService.cs: Added
  25710. * IFeatureSupport.cs: Added
  25711. * IFileReaderService.cs: Added
  25712. * IDataObject.cs: Added ComVisible attribute
  25713. * AmbientProperties.cs: Added
  25714. * BaseCollection.cs: Added missing attributes
  25715. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  25716. * BaseCollection.cs: Added missing attributes
  25717. * Binding.cs: Added TypeConverter attribute
  25718. * BindingContext.cs: Added DefaultEvent attribute
  25719. * BindingsCollection.cs: Added DefaultEvent attribute
  25720. * Button.cs: Added DefaultValue attribute
  25721. * DragEventArgs.cs: Added ComVisible attribute
  25722. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  25723. * KeyEventArgs.cs: Added ComVisible attribute
  25724. * KeyPressEventArgs.cs: Added ComVisible attribute
  25725. * MouseEventArgs.cs: Added ComVisible attribute
  25726. * NavigateEventArgs.cs: Added
  25727. * NavigateEventHandler.cs: Added
  25728. * FeatureSupport.cs: Added
  25729. * OSFeature.cs: Added
  25730. * Theme.cs: Added abstract Version property to support OSFeature
  25731. * ThemeWin32Classic.cs: Added Version property to
  25732. support OSFeature.Themes
  25733. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  25734. the proper styles to avoid background drawing are set, also doesn't
  25735. match MS signature
  25736. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  25737. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  25738. * ScrollEventArgs.cs: Added ComVisible attribute
  25739. * SplitterEventArgs.cs: Added ComVisible attribute
  25740. * AccessibleSelection.cs: Added Flags attribute
  25741. * Appearance.cs: Added ComVisible attribute
  25742. * Border3DSide.cs: Added ComVisible attribute
  25743. * Border3DStyle.cs: Added ComVisible attribute
  25744. * BorderStyle.cs: Added ComVisible attribute
  25745. * DragAction.cs: Added ComVisible attribute
  25746. * ErrorBlinkStyle.cs: Added
  25747. * ScrollEventType.cs: Added ComVisible attribute
  25748. * AnchorStyles.cs: Added Editor attribute
  25749. * DockStyle.cs: Added Editor attribute
  25750. * HorizontalAlignment.cs: Added ComVisible attribute
  25751. * HelpEventArgs.cs: Added ComVisible attribute
  25752. * PaintEventArgs.cs: Added IDisposable
  25753. 2005-01-04 Peter Bartok <[email protected]>
  25754. * TextControl.cs: Switched Line, LineTag and Document classes to
  25755. internal
  25756. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  25757. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  25758. Simple mode, fixes, IntegralHeight, etc.
  25759. 2005-01-04 Peter Bartok <[email protected]>
  25760. * TextBoxBase.cs: Using proper font variable now
  25761. 2005-01-04 Peter Bartok <[email protected]>
  25762. * Form.cs (ShowDialog): Set parent to owner, if provided
  25763. * GroupBox.cs: Removed unused vars
  25764. * TextControl.cs:
  25765. - Added GetHashCode() for Document and LineTag classes
  25766. - Removed unused variables
  25767. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  25768. to allow translation between continuous char position and line/pos
  25769. * CheckBox.cs: Removed vars that are provided by base class
  25770. * RadioButton.cs: Removed vars that are provided by base class, added
  25771. new keyword where required
  25772. * LinkLabel.cs: Added new keyword where required
  25773. * Control.cs (WndProc): Removed unused variable
  25774. * TextBoxBase.cs:
  25775. - Finished SelectionLength property
  25776. - Implemented SelectionStart property
  25777. - Implemented Text property
  25778. - Removed unused vars
  25779. * MessageBox.cs: Added new keyword where required
  25780. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  25781. WndProc signature
  25782. * MenuAPI.cs: Added new keyword where required
  25783. * ButtonBase.cs: Removed vars that are provided by base class, added
  25784. new keyword where required
  25785. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  25786. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  25787. into this)
  25788. * Application.cs (Run): Now triggers the ThreadExit event
  25789. * CommonDialog.cs: Added new keyword where required; now properly sets
  25790. parent (owner) for dialog
  25791. * XplatUIX11.cs: Commented out unused vars
  25792. * StatusBar.cs: Fixed signature for Text property
  25793. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  25794. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  25795. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  25796. TrackBar.cs, MonthCalendar.cs: remove unused vars
  25797. 2005-01-03 Jackson Harper <[email protected]>
  25798. * ThemeWin32Classic.cs:
  25799. * X11Keyboard.cs: Remove unused vars.
  25800. 2005-01-03 Peter Bartok <[email protected]>
  25801. * TextBox.cs:
  25802. - set_Text: Tied into TextControl
  25803. - set_TextAlignment: Tied into TextControl
  25804. * TextControl.cs:
  25805. - Added alignment properties and implemented alignment handling
  25806. and drawing (still has a bug, not generating proper expose events)
  25807. - Added new Line() constructor to allow passing the line alignment
  25808. - Fixed selection setting, properly handling end<start now
  25809. - Added aligment considerations to RecalculateDocument()
  25810. * TextBoxBase.cs:
  25811. - Now properly enforces control height for single line controls
  25812. - Added support for CharacterCasing
  25813. - Added IsInputKey override
  25814. - Fixed Keys.Enter logic
  25815. - Added SetBoundsCore override
  25816. - Fixed mouse selection handling
  25817. 2005-01-03 Jackson Harper <[email protected]>
  25818. * TreeView.cs:
  25819. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  25820. - Checkboxes are always aligned to the bottom of the node,
  25821. regardless of item height.
  25822. - Use the node bounds to draw the text so we can center it when
  25823. the item height is greater then the font height.
  25824. - Node::Bounds are only the text part of the node.
  25825. * TreeNode.cs: New method to combine collapsing and unchecking all
  25826. nodes recursively.
  25827. 2005-01-02 Jackson Harper <[email protected]>
  25828. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  25829. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  25830. tree when a check is changed. TODO: Only refresh the checked node.
  25831. 2004-12-30 Jackson Harper <[email protected]>
  25832. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  25833. * TreeNode.cs: When collapsing make sure to never collapse the
  25834. root node.
  25835. 2004-12-29 Jackson Harper <[email protected]>
  25836. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  25837. 2004-12-28 Zoltan Varga <[email protected]>
  25838. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  25839. 2004-12-28 Peter Bartok <[email protected]>
  25840. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  25841. not yet assigned
  25842. 2004-12-28 Peter Bartok <[email protected]>
  25843. * Control.cs (WndProc): Added WM_HELP handler, now generates
  25844. HelpRequested event
  25845. * Form.cs: Added HelpButton property and required support code
  25846. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  25847. 2004-12-28 Peter Bartok <[email protected]>
  25848. * CommonDialog.cs:
  25849. - Made DialogForm.owner variable internal
  25850. - Added check to ensure owner form is set before setting
  25851. owner properties in CreateParams
  25852. 2004-12-28 Geoff Norton <[email protected]>
  25853. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  25854. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  25855. GetCursorPos. Fix major visibility issues. Rework the windowing
  25856. system to support borderless/titleless windows (implements menus).
  25857. Fix GetWindowPos. Implement initial background color support for
  25858. views.
  25859. 2004-12-28 Peter Bartok <[email protected]>
  25860. * Form.cs (get_CreateParams): Make sure we have an owner before using
  25861. the owner variable. Implement proper default if no owner exists
  25862. 2004-12-28 Peter Bartok <[email protected]>
  25863. * In preparation for making Managed.Windows.Forms the default build target
  25864. for System.Windows.Forms, the following stubbed files were added.
  25865. Dialogs are currently being implemented by contributors and are only
  25866. short-term place holders.
  25867. * ColorDialog.cs: Initial check-in (minmal stub)
  25868. * DataGrid.cs: Initial check-in (minimal stub)
  25869. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  25870. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  25871. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  25872. * FontDialog.cs: Initial check-in (minimal stub)
  25873. * FileDialog.cs: Initial check-in (minimal stub)
  25874. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  25875. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  25876. * OpenFileDialog: Initial check-in (minimal stub)
  25877. * IComponentEditorPageSite.cs: Initial check-in
  25878. * Splitter.cs: Initial check-in (for Jackson)
  25879. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  25880. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  25881. * TextBox.cs: Initial check-in; still needs some wiring to
  25882. TextControl backend
  25883. * Form.cs: Implemented ControlBox property
  25884. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  25885. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  25886. * TextControl.cs: Added selection functionality; added todo header
  25887. * TextBoxBase.cs:
  25888. - Implemented Lines property
  25889. - Implemented TextHeight property
  25890. - Implemented SelectedText property
  25891. - Implemented SelectionLength property
  25892. - Implemented SelectAll method
  25893. - Implemented ToString method
  25894. - Removed and cleaned up some debug code
  25895. - Implemented (still buggy) mouse text selection
  25896. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  25897. * ComboBox.cs: Complete DropDownList implementation, fixes.
  25898. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  25899. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  25900. * ComboBoxStyle.cs: ComboBoxStyle enum
  25901. * ComboBox.cs: Initial work on ComboBox control
  25902. 2004-12-21 Peter Bartok <[email protected]>
  25903. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  25904. forward so that anything that creates a window gets the default,
  25905. also no longer uses Visible property in CreateParams to avoid
  25906. walking up the parent chain and possibly get the wrong visible
  25907. status. Fixed IsVisible to no longer walk up to the parent.
  25908. 2004-12-21 Peter Bartok <[email protected]>
  25909. * Form.cs (ShowDialog): Unset modality for the proper window
  25910. 2004-12-20 Peter Bartok <[email protected]>
  25911. * CommonDialog.cs: Initial check-in
  25912. 2004-12-20 Peter Bartok <[email protected]>
  25913. * Control.cs (Visible): Now uses the parent window instead of the
  25914. client area window for the property
  25915. * Form.cs
  25916. - ShowDialog(): Now uses the proper window for modality
  25917. - The default visibility state for the form parent is now false. This
  25918. will prevent the user from seeing all the changes to the form and
  25919. its controls before the application hits Application.Run()
  25920. - Removed some stale commented out code
  25921. * NativeWindow.cs:
  25922. - Added FindWindow() method to have a method to check for existence
  25923. of a window handle
  25924. - Added ability to override default exception handling (for example
  25925. when debugging with VS.Net; to do this the ExternalExceptionHandler
  25926. define must be set
  25927. - Removed some useless debug output
  25928. * XplatUIX11.cs:
  25929. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  25930. not working as expected
  25931. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  25932. property to allow switching back to the modal window if focus is
  25933. given to another one of our windows (Application Modal)
  25934. - Now only sets override_redirect if we create a window
  25935. without WS_CAPTION
  25936. - Moved EventMask selection before mapping of newly created window
  25937. so we can catch the map event as well
  25938. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  25939. - Added various Atom related DllImports
  25940. - Implemented Exit() method
  25941. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  25942. in the CreateParams
  25943. * MessageBox.cs: Now properly deals with the FormParent window by
  25944. providing an override the FormParent CreateParams property to
  25945. set as POPUP instead of OVERLAPPED window.
  25946. 2004-12-19 Geoff Norton <[email protected]>
  25947. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  25948. Minor code cleanup.
  25949. 2004-12-19 Geoff Norton <[email protected]>
  25950. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  25951. 2004-12-18 Peter Bartok <[email protected]>
  25952. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  25953. implementing SetModal() method
  25954. 2004-12-18 Peter Bartok <[email protected]>
  25955. * X11Structs.cs (XGCValues): Fixed type of function element
  25956. * XplatUI.cs: Added ScrollWindow() method
  25957. * XplatUIDriver.cs: Added ScrollWindow() abstract
  25958. * XplatUIWin32.cs: Implemented ScrollWindow() method
  25959. * XplatUIX11.cs: Implemented ScrollWindow() method
  25960. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  25961. 2004-12-17 Geoff Norton <[email protected]>
  25962. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  25963. Some more keyboard support (INCOMPLETE)
  25964. 2004-12-17 Peter Bartok <[email protected]>
  25965. * TextControl.cs:
  25966. - Added color attribute to line tags.
  25967. - Added color argument to all functions dealing with tags
  25968. - Added color argument support to various functions
  25969. - Fixed miss-calculation of baseline/shift in certain circumstances
  25970. * TextBoxBase.cs: Added new color option to test code
  25971. 2004-12-17 Jackson Harper <[email protected]>
  25972. * TreeNode.cs:
  25973. * MonthCalendar.cs: Signature fixes
  25974. 2004-12-17 Geoff Norton <[email protected]>
  25975. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  25976. keyboard event moved it. Create a new graphics context for each paint resolves this
  25977. 2004-12-17 Geoff Norton <[email protected]>
  25978. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  25979. Make caret exist and go blink blink. Initial keyboard support.
  25980. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  25981. works.
  25982. 2004-12-17 Jackson Harper <[email protected]>
  25983. * XplatUIStructs.cs: Updated set of virtual keycodes.
  25984. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  25985. 2004-12-17 Jackson Harper <[email protected]>
  25986. * XplatUIX11.cs: Prune old keyboard code.
  25987. 2004-12-17 Jackson Harper <[email protected]>
  25988. * XplatUIX11.cs: When generating mouse wparams get the modifier
  25989. keys from the ModifierKeys property.
  25990. 2004-12-17 Jackson Harper <[email protected]>
  25991. * X11Keyboard.cs: Send up/down input when generating
  25992. messages. Remove some unused vars.
  25993. 2004-12-17 Jackson Harper <[email protected]>
  25994. * TabControl.cs:
  25995. * TreeView.cs: get rid of warnings.
  25996. 2004-12-17 Jackson Harper <[email protected]>
  25997. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  25998. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  25999. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  26000. CheckedListBox.cs: Implementation
  26001. 2004-12-17 Peter Bartok <[email protected]>
  26002. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  26003. 2004-12-16 Peter Bartok <[email protected]>
  26004. * TextControl.cs:
  26005. - InsertCharAtCaret(): Fixed start pos fixup
  26006. - CaretLine_get: No longer derives the line from the tag, the tag
  26007. could be stale if lines in the document have been added or deleted
  26008. - RebalanceAfterDelete(): Fixed bug in balancing code
  26009. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  26010. - Line.Streamline(): Now can also elminate leading empty tags
  26011. - DumpTree(): Added a few more tests and prevented exception on
  26012. uninitialized data
  26013. - Added Debug section for Combining lines
  26014. - Delete(): Now copies all remaining properties of a line
  26015. * TextBoxBase.cs:
  26016. - Left mousebutton now sets the caret (and middle button still acts
  26017. as formatting tester, which must go away soon)
  26018. - Added Debug section for Deleting/Combining lines
  26019. - Fixed calculations for UpdateView after Combining lines
  26020. 2004-12-16 Peter Bartok <[email protected]>
  26021. * TextControl.cs: Now properly aligns text on a baseline, using the
  26022. new XplatUI.GetFontMetrics() method. Simplified several calculations
  26023. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  26024. defined
  26025. 2004-12-16 Peter Bartok <[email protected]>
  26026. * XplatUI.cs: Added GetFontMetrics() method
  26027. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  26028. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  26029. into libgdiplus, our private GetFontMetrics function
  26030. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  26031. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  26032. 2004-12-16 Jackson Harper <[email protected]>
  26033. * XplatUIStruct.cs: Add enum for dead keys
  26034. * X11Keyboard.cs: Map and unmap dead keys.
  26035. 2004-12-16 Jackson Harper <[email protected]>
  26036. * X11Keyboard.cs: Detect and use the num lock mask.
  26037. 2004-12-16 Peter Bartok <[email protected]>
  26038. * Control.cs (CreateGraphics): Added check to make sure the
  26039. handle of the window exists before calling Graphics.FromHwnd()
  26040. 2004-12-16 Peter Bartok <[email protected]>
  26041. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  26042. contains a lot of code that's not supposed to be there for the
  26043. real thing, but required for developing/testing the textbox
  26044. backend.
  26045. 2004-12-16 Peter Bartok <[email protected]>
  26046. * TextControl.cs:
  26047. - Fixed Streamline method
  26048. - Added FindTag method to Line
  26049. - Added DumpTree method for debugging
  26050. - Added DecrementLines() method for deleting lines
  26051. - Fixed UpdateView to update the cursor to end-of-line on single-line
  26052. updates
  26053. - Added PositionCaret() method
  26054. - Fixed MoveCaret(LineDown) to move into the last line, too
  26055. - Added InsertChar overload
  26056. - Fixed InsertChar tag offset calculations
  26057. - Added DeleteChar() method
  26058. - Added Combine() method for folding lines
  26059. - Fixed Delete() method, no longer allocates wasted Line object and
  26060. now copies all properties when swapping nodes
  26061. - Delete() method now updates document line counter
  26062. 2004-12-15 Jackson Harper <[email protected]>
  26063. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  26064. * X11Keyboard.cs: Expose the currently selected modifier keys
  26065. through a property.
  26066. 2004-12-15 Peter Bartok <[email protected]>
  26067. * TextControl.cs: Initial check-in. Still incomplete
  26068. 2004-12-15 Jackson Harper <[email protected]>
  26069. * TreeNode.cs:
  26070. * TreeView.cs: Fix build on csc (second time today ;-))
  26071. 2004-12-15 Jackson Harper <[email protected]>
  26072. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  26073. is calculated and use this for click testing.
  26074. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  26075. 2004-12-15 Jackson Harper <[email protected]>
  26076. * TreeView.cs: Pass the nodes image index to the image list when
  26077. drawing that image.
  26078. 2004-12-15 Jackson Harper <[email protected]>
  26079. * X11Keyboard.cs: Set messages hwnd.
  26080. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  26081. post_message calls.
  26082. 2004-12-15 Jackson Harper <[email protected]>
  26083. * X11Keyboard.cs: Fix to compile with csc.
  26084. 2004-12-15 Jackson Harper <[email protected]>
  26085. * X11Structs.cs: Add key mask values
  26086. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  26087. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  26088. down/up foo into WM_CHAR foo
  26089. * KeyboardLayouts.cs: Common keyboard layouts
  26090. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  26091. post messages into the main queue.
  26092. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  26093. * Button.cs: implement ProcessMnemonic
  26094. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  26095. brushes everytime
  26096. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  26097. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  26098. 2004-12-12 John BouAntoun <[email protected]>
  26099. * MonthCalendar.cs: Implemented click-hold for next/previous month
  26100. and date selection
  26101. 2004-12-11 Peter Bartok <[email protected]>
  26102. * X11Structs.cs:
  26103. - Added XKeyboardState (moved from XplatUIX11.cs)
  26104. - Added XCreateGC related enums and structures
  26105. - Added GXFunction for XSetFunction
  26106. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  26107. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  26108. CaretVisible() calls
  26109. * ToolTip.cs: Added code to prevent stealing focus from app windows
  26110. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  26111. DestroyCaret, SetCaretPos and CaretVisible)
  26112. * XplatUIX11.cs:
  26113. - Added implementation for caret functions
  26114. - Moved hover variables into a struct, to make it a bit easier
  26115. on the eyes and to debug
  26116. - Removed XKeyboardState (moved to XplatUIX11.cs)
  26117. - Moved Keyboard properties into the properties region
  26118. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  26119. call to get a graphics context for our control
  26120. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  26121. * TreeView.cs: Fixed bug. No matter what color was set it would always
  26122. return SystemColors.Window
  26123. * XplatUIWin32.cs: Implemented caret overrides
  26124. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  26125. * ListBox.cs: fire events, implement missing methods and properties,
  26126. sorting.
  26127. 2004-12-10 John BouAntoun <[email protected]>
  26128. * MonthCalendar.cs: invalidation bug fixing
  26129. * ThemeWin32Classic.cs: paint fixing
  26130. 2004-12-09 Geoff Norton <[email protected]>
  26131. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  26132. prepare the CGContextRef there now.
  26133. 2004-12-09 John BouAntoun <[email protected]>
  26134. * MonthCalendar.cs:
  26135. - optimisationL only invalidate areas that have changed
  26136. * ThemeWin32Classic.cs:
  26137. - only paint parts that intersect with clip_area
  26138. 2004-12-09 Peter Bartok <[email protected]>
  26139. * Application.cs: Undid changes from r37004 which cause problems
  26140. on X11
  26141. 2004-12-09 Ravindra <[email protected]>
  26142. * ToolBar.cs: Added support for displaying ContextMenu
  26143. attached to a button on ToolBar.
  26144. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  26145. property.
  26146. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  26147. * Label.cs: autosize works in text change and removes unnecessary
  26148. invalidate
  26149. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  26150. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  26151. remove warnings
  26152. 2004-12-08 Geoff Norton <[email protected]>
  26153. * XplatUIOSX.cs: Added mouse move/click/grab support
  26154. Remove some debugging WriteLines not needed anymore.
  26155. Add window resizing/positioning.
  26156. Fix visibility on reparenting.
  26157. 2004-12-08 Peter Bartok <[email protected]>
  26158. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  26159. 2004-12-07 Geoff Norton <[email protected]>
  26160. * XplatUIOSX.cs: Initial checkin
  26161. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  26162. 2004-12-03 Ravindra <[email protected]>
  26163. * ListView.cs: Added some keybindings and fixed scrolling.
  26164. ScrollBars listen to ValueChanged event instead of Scroll
  26165. Event. This would let us take care of all changes being
  26166. done in the scrollbars' values programmatically or manually.
  26167. * ListView.cs (CanMultiselect): Added a check for shift key.
  26168. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  26169. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  26170. of ListViewSubItemCollection as well.
  26171. 2004-12-06 Peter Bartok <[email protected]>
  26172. * Control.cs (Parent): Added check and exception to prevent
  26173. circular parenting
  26174. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  26175. * ListBox.cs: implemented clipping, selection single and multiple,
  26176. bug fixing
  26177. 2004-12-03 Ravindra <[email protected]>
  26178. * ListView.cs (ListView_KeyDown):
  26179. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  26180. when CTRL key is pressed.
  26181. * ListViewItem.cs (Selected): Fixed setting the property.
  26182. 2004-12-03 Marek Safar <[email protected]>
  26183. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  26184. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  26185. MinimizeBox, ShowInTaskbar, TopMost properties.
  26186. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  26187. will be implemented).
  26188. 2004-12-03 Marek Safar <[email protected]>
  26189. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  26190. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  26191. tests.
  26192. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  26193. * TreeView.cs: BackColor is Colors.Window.
  26194. 2004-12-01 Jackson Harper <[email protected]>
  26195. * TreeView.cs: When resizing the tree if the user is making it
  26196. smaller we don't get expose events, so we need to handle adding
  26197. the horizontal scrollbar in the size changed handler as well as
  26198. the expose handler.
  26199. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  26200. * DrawItemState.cs: fixes wrong enum values
  26201. 2004-12-01 Jackson Harper <[email protected]>
  26202. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  26203. 2004-12-01 Jackson Harper <[email protected]>
  26204. * NodeLabelEditEventArgs.cs:
  26205. * NodeLabelEditEventHandler.cs:
  26206. * OpenTreeNodeEnumerator.cs:
  26207. * TreeNode.cs:
  26208. * TreeNodeCollection.cs:
  26209. * TreeView.cs:
  26210. * TreeViewAction.cs:
  26211. * TreeViewCancelEventArgs.cs:
  26212. * TreeViewCancelEventHandler.cs:
  26213. * TreeViewEventArgs.cs:
  26214. * TreeViewEventHandler.cs: Initial implementation.
  26215. 2004-12-01 Ravindra <[email protected]>
  26216. * ListView.cs (CalculateListView): Fixed scrolling related
  26217. calculations. Also, removed some debug statements from other
  26218. places.
  26219. * ListViewItem.cs: Changed access to 'selected' instance variable
  26220. from private to internal.
  26221. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  26222. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  26223. * ThemeWin32Classic.cs: remove cache of brush and pens for
  26224. specific controls and use the global system, fixes scrollbutton
  26225. bugs (for small sizes, disabled, etc)
  26226. * ScrollBar.cs: does not show the thumb for very small controls
  26227. (as MS) and allow smaller buttons that the regular size
  26228. 2004-12-01 Miguel de Icaza <[email protected]>
  26229. * UpDownBase.cs: Add abstract methods for the interface.
  26230. Add new virtual methods (need to be hooked up to TextEntry when it
  26231. exists).
  26232. Add override methods for most features.
  26233. Computes the size, forces the height of the text entry.
  26234. * NumericUpDown.cs: Put here the current testing code.
  26235. * Set eol-style property on all files that do not have mixed line
  26236. endings, to minimize the future problems. There are still a few
  26237. files with mixed endings, and someone should choose whether they
  26238. want to move it or not.
  26239. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  26240. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  26241. System.Colors
  26242. 2004-11-30 Ravindra <[email protected]>
  26243. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  26244. drawing and replaced use of SystemColors by theme colors.
  26245. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  26246. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  26247. same ListViewItem is being added more than once.
  26248. 2004-11-30 John BouAntoun <[email protected]>
  26249. * MonthCalendar.cs:
  26250. - ControlStyles love to make the control not flicker
  26251. 2004-11-30 Peter Bartok <[email protected]>
  26252. * CharacterCasing.cs: Added
  26253. 2004-11-29 Peter Bartok <[email protected]>
  26254. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  26255. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  26256. I am removing these files as they conflict with already completed
  26257. work. While it is fantastic to get contributions to MWF, I
  26258. respectfully ask that everyone please coordinate their contributions
  26259. through mono-winforms-list or #mono-winforms at this time. We're
  26260. explicitly avoiding stubbing and don't want controls that don't have
  26261. their basic functionality implemented in svn. Please also see
  26262. http://www.mono-project.com/contributing/winforms.html
  26263. 2004-11-29 Marek Safar <[email protected]>
  26264. * Application.cs (ModalRun): Don't hang after exit.
  26265. * Theme.cs: New TreeViewDefaultSize property.
  26266. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  26267. with less hardcoded SystemColors constant.
  26268. Implemented TreeViewDefaultSize.
  26269. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  26270. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  26271. 2004-11-29 John BouAntoun <[email protected]>
  26272. * MonthCalendar.cs:
  26273. - Fix NextMonthDate and PrevMonthDate click moving calendar
  26274. 2004-11-26 John BouAntoun <[email protected]>
  26275. * MonthCalendar.cs:
  26276. - Fix usage of ScrollChange Property when scrolling months
  26277. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  26278. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  26279. - Fixes menu destroying
  26280. - Support adding and removing items on already created menus
  26281. 2004-11-26 John BouAntoun <[email protected]>
  26282. * MonthCalendar.cs:
  26283. - Re-worked all bolded dates handling to match win32
  26284. * ThemeWin32Classic.cs:
  26285. - Fixed rendering with bolded dates
  26286. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  26287. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  26288. - Horizontal scroolbar
  26289. - Multicolumn
  26290. - Fixes
  26291. 2004-11-25 John BouAntoun <[email protected]>
  26292. * MonthCalendar.cs:
  26293. - Fix Usage of MaxSelectionCount from SelectionRange
  26294. - Fixed Shift + Cursor Selection
  26295. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  26296. - Fixed normal cursor selection to be compat with win32
  26297. - Fixed Shift + Mouse Click selection
  26298. 2004-11-24 Peter Bartok <[email protected]>
  26299. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  26300. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  26301. * XplatUIX11.cs:
  26302. - CreatedKeyBoardMsg now updates keystate with Alt key
  26303. - Added workaround for timer crash to CheckTimers, Jackson will
  26304. develop a proper fix and check in later
  26305. - Implemented DispatchMessage
  26306. - Removed calling the native window proc from GetMessage (call
  26307. now moved to DispatchMessage)
  26308. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  26309. the keydata (Fixes bug #69831)
  26310. * XplatUIWin32.cs:
  26311. - (DispatchMessage): Switched to return IntPtr
  26312. - Added DllImport for SetFocus
  26313. 2004-11-24 Ravindra <[email protected]>
  26314. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  26315. background drawing.
  26316. * ListViewItem.cs: Fixed various properties, calculations
  26317. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  26318. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  26319. and some internal properties. Fixed MouseDown handler and Paint
  26320. method.
  26321. 2004-11-24 John BouAntoun <[email protected]>
  26322. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  26323. 2004-11-24 John BouAntoun <[email protected]>
  26324. * ContainerControl.cs: correct accidental check in of local changes
  26325. 2004-11-24 John BouAntoun <[email protected]>
  26326. * ThemeWin32Classic.cs:
  26327. - Fixed Drawing Last month in grid (sometimes not showing)
  26328. * MonthCalendar.cs:
  26329. - Fixed title width calculation bug (makeing title small)
  26330. 2004-11-23 Peter Bartok <[email protected]>
  26331. * XplatUIX11.cs:
  26332. - Added generation of WM_MOUSEHOVER event
  26333. - Added missing assignment of async_method atom
  26334. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  26335. 2004-11-23 John BouAntoun <[email protected]>
  26336. * ThemeWin32Classic.cs:
  26337. - Fixed Drawing of today circle when showtodaycircle not set
  26338. - fixed drawing of first and last month in the grid (gay dates)
  26339. * MonthCalendar.cs:
  26340. - Fixed Drawing of today circle
  26341. - Fixed drawing of grady dates
  26342. - Fixed HitTest for today link when ShowToday set to false
  26343. - Fixed DefaultSize to obey ShowToday
  26344. 2004-11-23 John BouAntoun <[email protected]>
  26345. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  26346. * System.Windows.Forms/Theme.cs
  26347. * MonthCalendar.cs: added for MonthCalendar
  26348. * SelectionRange.cs: added for MonthCalendar
  26349. * Day.cs: added for MonthCalendar: added for MonthCalendar
  26350. * DateRangeEventArgs.cs: added for MonthCalendar
  26351. * DateRangeEventHandler.cs: added for MonthCalendar
  26352. 2004-11-22 Ravindra <[email protected]>
  26353. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  26354. property.
  26355. 2004-11-22 Miguel de Icaza <[email protected]>
  26356. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  26357. event handler.
  26358. * NumericUpDown.cs: Added new implementation.
  26359. * UpDownBase.cs: Added new implementation.
  26360. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  26361. implementations.
  26362. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  26363. implementations.
  26364. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  26365. methods.
  26366. 2004-11-21 Miguel de Icaza <[email protected]>
  26367. * Timer.cs (Dispose): Should call the base dispose when
  26368. overriding.
  26369. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  26370. * ScrollBar.cs: updates thumb position when max, min or increment
  26371. is changed
  26372. 2004-11-21 Ravindra <[email protected]>
  26373. * ListView.cs: Implemented item selection, activation and
  26374. column header style. Fixed properties to do a redraw, if
  26375. required. Added support for MouseHover, DoubleClick, KeyDown
  26376. and KeyUp event handling and some minor fixes.
  26377. * ListViewItem.cs: Fixed constructor.
  26378. * ThemeWin32Classic.cs: Improved drawing for ListView.
  26379. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  26380. * ThemeWin32Classic.cs: initial listbox drawing code
  26381. * DrawMode.cs: new enumerator
  26382. * ListControl.cs: stubbed class
  26383. * ListBox.cs: initial implementation
  26384. * Theme.cs: new methods definitions
  26385. * SelectionMode.cs: new enumerator
  26386. 2004-11-17 Peter Bartok <[email protected]>
  26387. * XplatUIWin32.cs: Added double-click events to the class style
  26388. * Control.cs (WndProc):
  26389. - Added handling of click-count to MouseDown/ MouseUp events.
  26390. - Added handling of middle and right mouse buttons
  26391. - Removed old debug code
  26392. 2004-11-17 Jackson Harper <[email protected]>
  26393. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  26394. 2004-11-17 Ravindra <[email protected]>
  26395. * ListView.cs: Added event handling for MouseMove/Up/Down.
  26396. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  26397. * ThemeWin32Classic.cs: We need to clear the graphics context and
  26398. draw column header in a proper state.
  26399. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  26400. * Menu.cs: fixes signature
  26401. 2004-11-16 Peter Bartok <[email protected]>
  26402. * XplatUIX11.cs (GetMessage): Implemented generation of
  26403. double click mouse messages
  26404. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  26405. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  26406. not by menu
  26407. 2004-11-11 Peter Bartok <[email protected]>
  26408. * HandleData.cs: Added Visible property
  26409. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  26410. HandleData
  26411. * XplatUIX11.cs: Removed old debug leftovers
  26412. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  26413. * Control.cs (WndProc): Removed old debug leftovers,
  26414. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  26415. needed WM_SIZE handling
  26416. 2004-11-11 Jackson Harper <[email protected]>
  26417. * OwnerDrawPropertyBag.cs:
  26418. * TreeViewImageIndexConverter.cs: Initial implementation
  26419. 2004-11-10 Jackson Harper <[email protected]>
  26420. * ThemeWin32Classic.cs:
  26421. * TabControl.cs: instead of moving tabs by the slider pos just
  26422. start drawing at the tab that is offset by the slider. This way
  26423. scrolling always moves by exactly one tab.
  26424. 2004-11-10 Jackson Harper <[email protected]>
  26425. * TabControl.cs: You can only scroll left when the slider has
  26426. already ben moved right.
  26427. 2004-11-10 Jackson Harper <[email protected]>
  26428. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  26429. the clip area.
  26430. 2004-11-10 Jackson Harper <[email protected]>
  26431. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  26432. clip area.
  26433. 2004-11-09 Jackson Harper <[email protected]>
  26434. * TabControl.cs (CalcXPos): New helper method so we can determine
  26435. the proper place to start drawing vertical tabs.
  26436. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  26437. 2004-11-09 Jackson Harper <[email protected]>
  26438. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  26439. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  26440. and Bottom, left and right are illegal values for this and
  26441. multiline is enabled when the alignment is set to left or right.
  26442. (DrawTab): Each alignment block should draw the text itself now
  26443. because Left requires special love. Also add rendering for Left
  26444. aligned tabs.
  26445. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  26446. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  26447. does not destroy the windows, removes debugging messages
  26448. 2004-11-09 jba <[email protected]>
  26449. * ThemeWin32Classic.cs
  26450. (DrawButtonBase): Fix verticle text rect clipping in windows
  26451. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  26452. rendering and incorrect text rect clipping
  26453. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  26454. rendering and incorrect text rect clipping
  26455. 2004-11-08 Jackson Harper <[email protected]>
  26456. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  26457. bottom when they are bottom aligned so the bottoms of the tabs get
  26458. displayed.
  26459. * TabControl.cs (DropRow): Move rows up instead of down when the
  26460. tab control is bottom aligned.
  26461. 2004-11-08 13:59 pbartok
  26462. * XplatUIX11.cs:
  26463. - Added handling for various window styles
  26464. - Added handling for popup windows
  26465. - Added SetTopmost handling
  26466. 2004-11-08 13:55 pbartok
  26467. * XplatUIWin32.cs:
  26468. - Added argument to SetTopmost method
  26469. - Fixed broken ClientToScreen function
  26470. 2004-11-08 13:53 pbartok
  26471. * XplatUIStructs.cs:
  26472. - Added missing WS_EX styles
  26473. 2004-11-08 13:53 pbartok
  26474. * XplatUI.cs, XplatUIDriver.cs:
  26475. - Added argument to SetTopmost
  26476. 2004-11-08 13:52 pbartok
  26477. * X11Structs.cs:
  26478. - Added XSetWindowAttributes structure
  26479. - Improved XWindowAttributes structure
  26480. - Added SetWindowValuemask enum
  26481. - Added window creation arguments enum
  26482. - Added gravity enum
  26483. - Added Motif hints structure
  26484. - Added various Motif flags and enums
  26485. - Added PropertyMode enum for property functions
  26486. 2004-11-08 13:50 pbartok
  26487. * Form.cs:
  26488. - Fixed arguments for updated SetTopmost method
  26489. 2004-11-08 13:49 pbartok
  26490. * ToolTip.cs:
  26491. - Fixed arguments for updated SetTopmost function
  26492. - Fixed usage of PointToClient
  26493. 2004-11-08 13:44 pbartok
  26494. * MenuAPI.cs:
  26495. - Added Clipping of children and siblings
  26496. 2004-11-08 13:41 pbartok
  26497. * MainMenu.cs:
  26498. - Removed SetMenuBarWindow call. We do this in Form.cs
  26499. 2004-11-08 13:40 jackson
  26500. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  26501. scrolling jimmi in the correct location with bottom aligned tabs
  26502. 2004-11-08 13:36 pbartok
  26503. * ContainerControl.cs:
  26504. - Implemented BindingContext
  26505. - Implemented ParentForm
  26506. 2004-11-08 12:46 jackson
  26507. * TabControl.cs: Put bottom rendered tabs in the right location
  26508. 2004-11-08 07:15 jordi
  26509. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  26510. removes dead code
  26511. 2004-11-05 17:30 jackson
  26512. * TabControl.cs: When selected tabs are expanded make sure they
  26513. don't go beyond the edges of the tab control
  26514. 2004-11-05 14:57 jackson
  26515. * TabControl.cs: Reset show_slider so if the control is resized to
  26516. a size where it is no longer needed it's not displayed anymore
  26517. 2004-11-05 13:16 jackson
  26518. * TabControl.cs: Make tab pages non visible when added to the
  26519. control
  26520. 2004-11-05 12:42 jackson
  26521. * TabControl.cs: Implement SizeMode.FillToRight
  26522. 2004-11-05 12:16 jackson
  26523. * Control.cs: Do not call CreateHandle if the handle is already
  26524. created
  26525. 2004-11-05 11:46 jackson
  26526. * TabControl.cs: Remove superflous call to CalcTabRows
  26527. 2004-11-05 09:07 jackson
  26528. * XplatUIX11.cs: Update for Mono.Posix changes
  26529. 2004-11-05 07:00 ravindra
  26530. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  26531. scrolling.
  26532. 2004-11-04 22:47 jba
  26533. * ThemeWin32Classic.cs:
  26534. - Fix Button rendering for FlatStyle = Flat or Popup
  26535. - Fix RadioButton and CheckBox rendering when Appearance = Button
  26536. (normal and flatstyle).
  26537. - Correct outer rectangle color when drawing focus rectangle
  26538. - Adjust button bounds to be 1 px smaller when focused
  26539. - Make button not draw sunken 3d border when pushed (windows compat)
  26540. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  26541. - Offset the text in RadioButton and Checkbox when being rendered as
  26542. a button.
  26543. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  26544. radiobuttons
  26545. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  26546. - Fixed disabled text rendering for normally rendered radiobuttons
  26547. 2004-11-04 10:26 jackson
  26548. * TabControl.cs: Recalculate tab rows when resizing
  26549. 2004-11-04 07:47 jordi
  26550. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  26551. collection completion, drawing issues, missing features
  26552. 2004-11-04 05:03 ravindra
  26553. * ScrollBar.cs:
  26554. - We need to recalculate the Thumb area when
  26555. LargeChange/maximum/minimum values are changed.
  26556. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  26557. than minimum. This is required to handle the case if large_change is
  26558. more than max, and use LargeChange property instead of large_change
  26559. variable.
  26560. - We return max+1 when large_change is more than max, like MS does.
  26561. 2004-11-04 04:29 ravindra
  26562. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  26563. - Changed default value signatures (prefixed all with ListView).
  26564. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  26565. ListView.
  26566. - Fixed calculations for ListViewItem and implemented Clone()
  26567. method.
  26568. 2004-11-04 04:26 ravindra
  26569. * Theme.cs, ThemeWin32Classic.cs:
  26570. - Changed default ListView values signatures (prefixed all with
  26571. ListView).
  26572. - Fixed default size values for VScrollBar and HScrollBar.
  26573. - Fixed DrawListViewItem method.
  26574. 2004-11-04 04:05 ravindra
  26575. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  26576. 2004-11-04 04:04 ravindra
  26577. * ImageList.cs: Implemented the missing overload for Draw method.
  26578. 2004-11-03 19:29 jackson
  26579. * TabControl.cs: Handle dropping rows on selection properly
  26580. 2004-11-03 11:59 jackson
  26581. * TabControl.cs: remove debug code
  26582. 2004-11-03 11:52 jackson
  26583. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  26584. the scrolly widgerywoo
  26585. 2004-11-02 13:52 jackson
  26586. * TabControl.cs: Resize the tab pages and tabs when the tab control
  26587. is resized
  26588. 2004-11-02 13:40 jackson
  26589. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  26590. selected tab to the bottom
  26591. 2004-11-02 13:39 jackson
  26592. * TabPage.cs: Store the tab pages row
  26593. 2004-11-02 12:33 jordi
  26594. * MenuItem.cs: fixes handle creation
  26595. 2004-11-02 11:42 jackson
  26596. * TabControl.cs: signature fix
  26597. 2004-11-02 08:56 jackson
  26598. * TabControl.cs: Calculate whether the tab is on an edge properly.
  26599. Remove top secret debugging code
  26600. 2004-11-01 19:57 jackson
  26601. * TabControl.cs: Add click handling, and proper sizing
  26602. 2004-11-01 19:47 jackson
  26603. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  26604. tab controls
  26605. 2004-11-01 19:39 jackson
  26606. * TabPage.cs: add internal property to store the bounds of a tab
  26607. page
  26608. 2004-10-30 04:23 ravindra
  26609. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  26610. values.
  26611. 2004-10-30 04:21 ravindra
  26612. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  26613. fixed calculations.
  26614. 2004-10-30 03:06 pbartok
  26615. * XplatUIX11.cs:
  26616. - Removed extension of DllImported libs
  26617. 2004-10-29 09:55 jordi
  26618. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  26619. navigation, itemcollection completion, menu fixes
  26620. 2004-10-27 22:58 pbartok
  26621. * XplatUIX11.cs:
  26622. - Now throws a nice error message when no X display could be opened
  26623. 2004-10-26 13:51 jordi
  26624. * ListView.cs: removes warning
  26625. 2004-10-26 03:55 ravindra
  26626. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  26627. ThemeWin32Classic.cs: Some formatting for my last checkins.
  26628. 2004-10-26 03:36 ravindra
  26629. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  26630. control and default values.
  26631. 2004-10-26 03:35 ravindra
  26632. * Theme.cs: Added some default values for ListView control.
  26633. 2004-10-26 03:33 ravindra
  26634. * ToolBar.cs: ToolBar should use the user specified button size, if
  26635. there is any. Added a size_specified flag for the same.
  26636. 2004-10-26 03:33 ravindra
  26637. * ColumnHeader.cs: Added some internal members and calculations for
  26638. ColumnHeader.
  26639. 2004-10-26 03:32 ravindra
  26640. * ListViewItem.cs: Calculations for ListViewItem.
  26641. 2004-10-26 03:31 ravindra
  26642. * ListView.cs: Added some internal members and calculations for
  26643. ListView.
  26644. 2004-10-22 13:31 jordi
  26645. * MenuAPI.cs: speedup menus drawing
  26646. 2004-10-22 13:16 jackson
  26647. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  26648. expose event
  26649. 2004-10-22 11:49 jackson
  26650. * Control.cs: oops
  26651. 2004-10-22 11:41 jackson
  26652. * Control.cs: Check to see if the window should have its background
  26653. repainted by X when drawing.
  26654. 2004-10-22 11:31 jackson
  26655. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  26656. clear is true, this way we do not get flicker from X repainting the
  26657. background
  26658. 2004-10-22 11:28 jackson
  26659. * XEventQueue.cs: Queue properly
  26660. 2004-10-21 09:38 jackson
  26661. * XEventQueue.cs: Fix access modifier
  26662. 2004-10-21 09:36 jackson
  26663. * XEventQueue.cs: Don't loose messages
  26664. 2004-10-21 09:22 jackson
  26665. * XEventQueue.cs: Don't loose messages
  26666. 2004-10-20 04:15 jordi
  26667. * BootMode.cs: enum need it by SystemInfo
  26668. 2004-10-19 21:58 pbartok
  26669. * XplatUIWin32.cs:
  26670. - Small sanity check
  26671. 2004-10-19 21:56 pbartok
  26672. * Form.cs:
  26673. - Added private FormParentWindow class which acts as the container
  26674. for our form and as the non-client area where menus are drawn
  26675. - Added/Moved required tie-ins to Jordi's menus
  26676. - Fixed/Implemented the FormStartPosition functionality
  26677. 2004-10-19 21:52 pbartok
  26678. * Control.cs:
  26679. - Removed unneeded locals
  26680. - Added code to all size and location properties to understand and
  26681. deal with the parent container of Form
  26682. 2004-10-19 21:33 pbartok
  26683. * Application.cs:
  26684. - Fixed to deal with new Form subclasses for menus
  26685. 2004-10-19 17:48 jackson
  26686. * XEventQueue.cs: commit correct version of file
  26687. 2004-10-19 16:50 jackson
  26688. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  26689. 2004-10-19 16:15 jordi
  26690. * MenuAPI.cs: MenuBarCalcSize returns the height
  26691. 2004-10-19 08:31 pbartok
  26692. * Control.cs:
  26693. - Added missing call to PreProcessMessage before calling OnXXXKey
  26694. methods
  26695. 2004-10-19 00:04 ravindra
  26696. * ToolTip.cs: Fixed constructor.
  26697. 2004-10-18 09:31 jordi
  26698. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  26699. 2004-10-18 09:26 jordi
  26700. * MenuItem.cs: fixes MenuItem class signature
  26701. 2004-10-18 08:56 jordi
  26702. * MenuAPI.cs: prevents windows from showing in the taskbar
  26703. 2004-10-18 00:28 ravindra
  26704. * ToolTip.cs: Suppressed a warning message.
  26705. 2004-10-18 00:27 ravindra
  26706. * Control.cs: Default value of visible property must be true.
  26707. 2004-10-17 23:19 pbartok
  26708. * ToolTip.cs:
  26709. - Complete implementation
  26710. 2004-10-17 23:19 pbartok
  26711. * XplatUIX11.cs:
  26712. - Added EnableWindow method
  26713. - Added SetModal stub
  26714. - Added generation of WM_ACTIVATE message (still needs testing)
  26715. - Added SetTopMost stub
  26716. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  26717. 2004-10-17 23:17 pbartok
  26718. * XplatUIWin32.cs:
  26719. - Removed VirtualKeys to XplatUIStructs
  26720. - Implemented SetTopMost method
  26721. - Implemented EnableWindow method
  26722. - Bugfix in ScreenToClient()
  26723. - Bugfixes in ClientToScreen()
  26724. 2004-10-17 22:51 pbartok
  26725. * XplatUIStructs.cs:
  26726. - Added WS_EX styles to WindowStyles enumeration
  26727. 2004-10-17 22:50 pbartok
  26728. * XplatUI.cs, XplatUIDriver.cs:
  26729. - Added method for enabling/disabling windows
  26730. - Added method for setting window modality
  26731. - Added method for setting topmost window
  26732. 2004-10-17 22:49 pbartok
  26733. * ThemeWin32Classic.cs:
  26734. - Added ToolTip drawing code
  26735. 2004-10-17 22:49 pbartok
  26736. * Theme.cs:
  26737. - Added ToolTip abstracts
  26738. 2004-10-17 22:47 pbartok
  26739. * Form.cs:
  26740. - Fixed Form.ControlCollection to handle owner relations
  26741. - Added Owner/OwnedForms handling
  26742. - Implemented Z-Ordering for owned forms
  26743. - Removed unneeded private overload of ShowDialog
  26744. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  26745. so I hope)
  26746. - Fixed Close(), had wrong default
  26747. - Added firing of OnLoad event
  26748. - Added some commented out debug code for Ownership handling
  26749. 2004-10-17 22:16 pbartok
  26750. * Control.cs:
  26751. - Fixed/implemented flat list of controls
  26752. 2004-10-17 22:14 pbartok
  26753. * Application.cs:
  26754. - Added code to simulate modal dialogs on Win32
  26755. 2004-10-17 16:11 jordi
  26756. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  26757. mouse event
  26758. 2004-10-17 13:39 jordi
  26759. * MenuAPI.cs: menu drawing fixes
  26760. 2004-10-15 09:10 ravindra
  26761. * StructFormat.cs: General Enum.
  26762. 2004-10-15 09:09 ravindra
  26763. * SizeGripStyle.cs: Enum for Form.
  26764. 2004-10-15 09:08 ravindra
  26765. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  26766. in Theme for ListView.
  26767. 2004-10-15 09:06 ravindra
  26768. * ColumnHeader.cs: Flushing some formatting changes.
  26769. 2004-10-15 09:05 ravindra
  26770. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  26771. style.
  26772. 2004-10-15 09:03 ravindra
  26773. * ListView.cs: Implemented Paint method and fixed coding style.
  26774. 2004-10-15 07:34 jordi
  26775. * MenuAPI.cs: fix for X11
  26776. 2004-10-15 07:32 ravindra
  26777. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  26778. - Renamed Paint() method to Draw() for clarity. Also, moved
  26779. DrawImage() to OnPaint().
  26780. 2004-10-15 07:25 ravindra
  26781. * CheckBox.cs, RadioButton.cs:
  26782. - Removed Redraw (), we get it from ButtonBase.
  26783. - Implemented Paint (), to do class specific painting.
  26784. 2004-10-15 07:16 ravindra
  26785. * ButtonBase.cs:
  26786. - Redraw () is not virtual now.
  26787. - Added an internal virtual method Paint (), so that
  26788. derived classes can do their painting on their own.
  26789. - Modified OnPaint () to call Paint ().
  26790. 2004-10-15 06:43 jordi
  26791. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  26792. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  26793. 2004-10-15 00:30 ravindra
  26794. * MessageBox.cs:
  26795. - MessageBox on windows does not have min/max buttons.
  26796. This change in CreateParams fixes this on Windows. We
  26797. still need to implement this windowstyle behavior in
  26798. our X11 driver.
  26799. 2004-10-14 05:14 ravindra
  26800. * ToolBar.cs:
  26801. - Changed Redraw () to do a Refresh () always.
  26802. - Fixed the MouseMove event handling when mouse is pressed,
  26803. ie drag event handling.
  26804. - Replaced the usage of ToolBarButton.Pressed property to
  26805. ToolBarButton.pressed internal variable.
  26806. 2004-10-14 05:10 ravindra
  26807. * ToolBarButton.cs:
  26808. - Added an internal member 'inside' to handle mouse move
  26809. with mouse pressed ie mouse drag event.
  26810. - Changed 'Pressed' property to return true only when
  26811. 'inside' and 'pressed' are both true.
  26812. - Some coding style love.
  26813. 2004-10-14 00:17 ravindra
  26814. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  26815. public method.
  26816. 2004-10-14 00:15 ravindra
  26817. * ButtonBase.cs: Redraw () related improvements.
  26818. 2004-10-14 00:14 ravindra
  26819. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  26820. removed unnecessary calls to Button.Show () method.
  26821. 2004-10-13 17:50 pbartok
  26822. * XplatUIX11.cs:
  26823. - Formatting fix
  26824. - Removed destroying of window until we solve the problem of X
  26825. destroying the window before us on shutdown
  26826. 2004-10-13 16:32 pbartok
  26827. * ButtonBase.cs:
  26828. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  26829. 2004-10-13 14:18 pbartok
  26830. * XplatUIX11.cs:
  26831. - Added code to destroy the X window
  26832. 2004-10-13 14:18 pbartok
  26833. * XplatUIWin32.cs:
  26834. - Added code to destroy a window
  26835. 2004-10-13 14:12 pbartok
  26836. * ButtonBase.cs:
  26837. - Added the Redraw on Resize that got dropped in the last rev
  26838. 2004-10-13 09:06 pbartok
  26839. * ThemeWin32Classic.cs:
  26840. - Path from John BouAntoun:
  26841. * Fix check rendering (centre correctly for normal style, offset
  26842. correctly for FlatStyle).
  26843. * Fix border color usage (use backcolor) for FlatStyle.Popup
  26844. * Use checkbox.Capture instead of checkbox.is_pressed when
  26845. rendering flatstyle states.
  26846. 2004-10-12 21:48 pbartok
  26847. * ThemeWin32Classic.cs:
  26848. - Removed all occurences of SystemColors and replaced them with the
  26849. matching theme color
  26850. 2004-10-12 21:41 pbartok
  26851. * ThemeWin32Classic.cs:
  26852. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  26853. him using the function for flatstyle drawing
  26854. - Changed functions to use the new version of CPDrawBorder3D
  26855. 2004-10-12 21:15 pbartok
  26856. * ControlPaint.cs:
  26857. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  26858. match MS documentation. They need to return defined colors if the
  26859. passed color matches the configured control color. Thanks to John
  26860. BouAntoun for pointing this out.
  26861. 2004-10-12 20:57 pbartok
  26862. * Control.cs:
  26863. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  26864. color is changed
  26865. 2004-10-12 20:46 pbartok
  26866. * CheckBox.cs:
  26867. - Fix from John BouAntoun: Now properly sets the Appearance property
  26868. 2004-10-12 20:45 pbartok
  26869. * ThemeWin32Classic.cs:
  26870. - Fixes from John BouAntoun: now handles forecolors and backcolors
  26871. for flatstyle rendered controls much better; It also fixes normal
  26872. checkbox rendering when pushed or disabled.
  26873. 2004-10-08 02:50 jordi
  26874. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  26875. work
  26876. 2004-10-07 08:56 jordi
  26877. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  26878. 2004-10-06 03:59 jordi
  26879. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  26880. XplatUIWin32.cs: removes warnings from compilation
  26881. 2004-10-05 12:23 jackson
  26882. * RadioButton.cs: Fix ctor
  26883. 2004-10-05 11:10 pbartok
  26884. * MessageBox.cs:
  26885. - Partial implementation by Benjamin Dasnois
  26886. 2004-10-05 10:15 jackson
  26887. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  26888. by John BouAntoun
  26889. 2004-10-05 03:07 ravindra
  26890. * ToolBar.cs:
  26891. - Removed a private method, Draw ().
  26892. - Fixed the ButtonDropDown event handling.
  26893. - Fixed MouseMove event handling.
  26894. 2004-10-05 03:04 ravindra
  26895. * ThemeWin32Classic.cs:
  26896. - Added DrawListView method and ListViewDefaultSize property.
  26897. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  26898. - Changed DOS style CRLF to Unix format (dos2unix).
  26899. 2004-10-05 03:03 ravindra
  26900. * Theme.cs:
  26901. - Added DrawListView method and ListViewDefaultSize property.
  26902. 2004-10-05 02:42 ravindra
  26903. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  26904. clicks on DropDown arrow.
  26905. 2004-10-04 22:56 jackson
  26906. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  26907. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  26908. Control handle the buffers, derived classes should not have to
  26909. CreateBuffers themselves.
  26910. 2004-10-04 21:20 jackson
  26911. * StatusBar.cs: The control handles resizing the buffers now.
  26912. 2004-10-04 21:18 jackson
  26913. * Control.cs: When resizing the buffers should be invalidated. This
  26914. should be handled in Control not in derived classes.
  26915. 2004-10-04 14:45 jackson
  26916. * TabPage.cs: oops
  26917. 2004-10-04 02:14 pbartok
  26918. * LeftRightAlignment.cs:
  26919. - Initial check-in
  26920. 2004-10-04 01:09 jordi
  26921. * ThemeWin32Classic.cs: fixes right button position causing right
  26922. button not showing on horizontal scrollbars
  26923. 2004-10-02 13:12 pbartok
  26924. * XplatUIX11.cs:
  26925. - Simplified the Invalidate method by using an X call instead of
  26926. generating the expose ourselves
  26927. - Added an expose when the window background is changed
  26928. - Implemented ClientToScreen method
  26929. 2004-10-02 13:08 pbartok
  26930. * XplatUIWin32.cs:
  26931. - Added Win32EnableWindow method (test for implementing modal
  26932. dialogs)
  26933. - Added ClientToScreen method and imports
  26934. 2004-10-02 13:07 pbartok
  26935. * XplatUI.cs, XplatUIDriver.cs:
  26936. - Added ClientToScreen coordinate translation method
  26937. 2004-10-02 13:06 pbartok
  26938. * KeyPressEventArgs.cs:
  26939. - Fixed access level for constructor
  26940. 2004-10-02 13:06 pbartok
  26941. * NativeWindow.cs:
  26942. - Changed access level for the window_collection hash table
  26943. 2004-10-02 13:05 pbartok
  26944. * Form.cs:
  26945. - Added KeyPreview property
  26946. - Added Menu property (still incomplete, pending Jordi's menu work)
  26947. - Implemented ProcessCmdKey
  26948. - Implemented ProcessDialogKey
  26949. - Implemented ProcessKeyPreview
  26950. 2004-10-02 13:02 pbartok
  26951. * Control.cs:
  26952. - Added private method to get the Control object from the window
  26953. handle
  26954. - Implemented ContextMenu property
  26955. - Implemented PointToScreen
  26956. - Implemented PreProcessMessage
  26957. - Implemented IsInputChar
  26958. - Implemented IsInputKey
  26959. - Implemented ProcessCmdKey
  26960. - Completed ProcessKeyEventArgs
  26961. - Fixed message loop to call the proper chain of functions on key
  26962. events
  26963. - Implemented ProcessDialogChar
  26964. - Implemented ProcessDialogKey
  26965. - Implemented ProcessKeyMessage
  26966. - Implemented ProcessKeyPreview
  26967. - Added RaiseDragEvent stub (MS internal method)
  26968. - Added RaiseKeyEvent stub (MS internal method)
  26969. - Added RaiseMouseEvent stub (MS Internal method)
  26970. - Added RaisePaintEvent stub (MS Internal method)
  26971. - Added ResetMouseEventArgs stub (MS Internal method)
  26972. - Implemented RtlTranslateAlignment
  26973. - Implemented RtlTranslateContent
  26974. - Implemented RtlTranslateHorizontal
  26975. - Implemented RtlTranslateLeftRight
  26976. - Added generation of KeyPress event
  26977. 2004-10-02 05:57 ravindra
  26978. * ListViewItem.cs: Added attributes.
  26979. 2004-10-02 05:32 ravindra
  26980. * ListView.cs: Added attributes.
  26981. 2004-10-01 11:53 jackson
  26982. * Form.cs: Implement the Close method so work on MessageBox can
  26983. continue.
  26984. 2004-09-30 14:06 pbartok
  26985. * XplatUIX11.cs:
  26986. - Bug fixes
  26987. 2004-09-30 11:34 jackson
  26988. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  26989. 2004-09-30 07:26 ravindra
  26990. * ListViewItemConverter.cs: Converter for ListViewItem.
  26991. 2004-09-30 07:26 ravindra
  26992. * SortOrder.cs: Enum for ListView control.
  26993. 2004-09-30 07:25 ravindra
  26994. * ColumnHeader.cs: Supporting class for ListView control.
  26995. 2004-09-30 07:24 ravindra
  26996. * ListView.cs, ListViewItem.cs: Initial implementation.
  26997. 2004-09-30 07:20 ravindra
  26998. * ItemActivation.cs: Enum for ListView Control.
  26999. 2004-09-29 20:29 pbartok
  27000. * XplatUIX11.cs:
  27001. - Added lookup of pixel value for background color; tries to get a
  27002. color 'close' to the requested color, it avoids having to create a
  27003. colormap. Depending on the display this could mean the used color
  27004. is slightly off the desired color. Might have to change it to a more
  27005. resource intensive colormap approach, but it will work as a
  27006. workaround to avoid red screens.
  27007. 2004-09-29 14:27 jackson
  27008. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  27009. 2004-09-28 12:44 pbartok
  27010. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  27011. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  27012. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  27013. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  27014. TrackBar.cs, VScrollBar.cs:
  27015. - Streamlined Theme interfaces:
  27016. * Each DrawXXX method for a control now is passed the object for
  27017. the control to be drawn in order to allow accessing any state the
  27018. theme might require
  27019. * ControlPaint methods for the theme now have a CP prefix to avoid
  27020. name clashes with the Draw methods for controls
  27021. * Every control now retrieves it's DefaultSize from the current
  27022. theme
  27023. 2004-09-28 12:17 jackson
  27024. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  27025. drawing
  27026. 2004-09-24 14:57 jackson
  27027. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  27028. Gives us a nice little performance boost.
  27029. 2004-09-24 12:02 jackson
  27030. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  27031. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  27032. Control and supporting classes. Initial checkin
  27033. 2004-09-23 13:08 jackson
  27034. * Form.cs: Temp build fixage
  27035. 2004-09-23 01:39 ravindra
  27036. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  27037. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  27038. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  27039. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  27040. EventHandlers needed by ListView Control.
  27041. 2004-09-22 14:12 pbartok
  27042. * ScrollableControl.cs:
  27043. - Implemented DockPadding property
  27044. - Implemented AutoScroll property
  27045. - Implemented AutoScrollMargin property
  27046. - Implemented AutoScrollMinSize property
  27047. - Implemented AutoScrollPosition property
  27048. - Implemented DisplayRectangle property (still incomplete)
  27049. - Implemented CreateParams property
  27050. - Implemented HScroll property
  27051. - Implemented VScroll property
  27052. - Implemented OnVisibleChanged property
  27053. 2004-09-22 14:09 pbartok
  27054. * Form.cs:
  27055. - Added Form.ControllCollection class
  27056. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  27057. RemoveOwnedForm (still incomplete, missing on-top and common
  27058. minimize/maximize behaviour)
  27059. - Added StartPosition property (still incomplete, does not use when
  27060. creating the form)
  27061. - Added ShowDialog() methods (still incomplete, missing forcing the
  27062. dialog modal)
  27063. 2004-09-22 14:05 pbartok
  27064. * Application.cs:
  27065. - Added message loop for modal dialogs
  27066. 2004-09-22 14:02 pbartok
  27067. * GroupBox.cs:
  27068. - Fixed wrong types for events
  27069. 2004-09-22 14:00 pbartok
  27070. * Shortcut.cs, FormWindowState.cs:
  27071. - Fixed wrong values
  27072. 2004-09-22 12:01 jackson
  27073. * Control.cs: Text is never null
  27074. 2004-09-20 22:14 pbartok
  27075. * XplatUIWin32.cs:
  27076. - Fixed accessibility level for Idle handler
  27077. 2004-09-20 18:54 jackson
  27078. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27079. XplatUIX11.cs: New message loop that uses poll so we don't get a
  27080. busy loop
  27081. 2004-09-17 10:43 pbartok
  27082. * ScrollBar.cs:
  27083. - Fixed behaviour of arrow buttons. Now properly behaves like
  27084. Buttons (and like Microsoft's scrollbar arrow buttons)
  27085. 2004-09-17 10:14 pbartok
  27086. * ScrollBar.cs:
  27087. - Added missing release of keyboard/mouse capture
  27088. 2004-09-17 06:18 jordi
  27089. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  27090. Theme.cs: Very early menu support
  27091. 2004-09-16 17:45 pbartok
  27092. * XplatUIWin32.cs:
  27093. - Fixed sending a window to the front
  27094. - Added overload for SetWindowPos to avoid casting
  27095. 2004-09-16 17:44 pbartok
  27096. * Control.cs:
  27097. - Added SendToBack and BringToFront methods
  27098. 2004-09-16 07:00 ravindra
  27099. * Copyright: Added Novell URL.
  27100. 2004-09-16 07:00 ravindra
  27101. * ToolBar.cs: Invalidate should be done before redrawing.
  27102. 2004-09-15 21:19 ravindra
  27103. * ColumnHeaderStyle.cs: Enum for ListView Control.
  27104. 2004-09-15 21:18 ravindra
  27105. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  27106. ListView Control.
  27107. 2004-09-13 18:26 jackson
  27108. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  27109. properly
  27110. 2004-09-13 18:13 jackson
  27111. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  27112. a second thread and post messages into the main threads message
  27113. queue. This makes timing much more consistent. Both win2K and XP
  27114. have a minimum timer value of 15 milliseconds, so we now do this
  27115. too.
  27116. 2004-09-13 15:18 pbartok
  27117. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27118. XplatUIX11.cs:
  27119. - Added Z-Ordering methods
  27120. 2004-09-13 10:56 pbartok
  27121. * Form.cs:
  27122. - Fixed #region names
  27123. - Moved properties and methods into their proper #regions
  27124. 2004-09-13 10:51 pbartok
  27125. * Form.cs:
  27126. - Added Accept and CancelButton properties
  27127. - Added ProcessDialogKey() method
  27128. 2004-09-13 08:18 pbartok
  27129. * IWindowTarget.cs:
  27130. - Initial check-in
  27131. 2004-09-10 21:50 pbartok
  27132. * Control.cs:
  27133. - Added DoDragDrop() [incomplete]
  27134. - Properly implemented 'Visible' handling
  27135. - Added SetVisibleCore()
  27136. - Implemented FindChildAtPoint()
  27137. - Implemented GetContainerControl()
  27138. - Implemented Hide()
  27139. 2004-09-10 19:28 pbartok
  27140. * Control.cs:
  27141. - Moved methods into their appropriate #regions
  27142. - Reordered methods within regions alphabetically
  27143. 2004-09-10 18:57 pbartok
  27144. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27145. - Added method to retrieve text from window
  27146. 2004-09-10 18:56 pbartok
  27147. * Control.cs:
  27148. - Moved some internal functions into the internal region
  27149. - Implemented FontHeight
  27150. - Implemented RenderRightToLeft
  27151. - Implemented ResizeRedraw
  27152. - Implemented ShowFocusCues
  27153. - Implemented ShowKeyboardCues
  27154. - Implemented FromChildHandle
  27155. - Implemented FromHandle
  27156. - Implemented IsMnemonic
  27157. - Implemented ReflectMessage
  27158. - All public and protected Static Methods are now complete
  27159. 2004-09-10 16:54 pbartok
  27160. * Control.cs:
  27161. - Implemented remaining missing public instance properties
  27162. - Alphabetized some out of order properties
  27163. 2004-09-10 05:51 ravindra
  27164. * PictureBox.cs: Added a check for null image.
  27165. 2004-09-10 00:59 jordi
  27166. * GroupBox.cs: remove cvs tag
  27167. 2004-09-09 05:25 ravindra
  27168. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  27169. 2004-09-09 05:23 ravindra
  27170. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  27171. parent redraw.
  27172. 2004-09-09 02:28 pbartok
  27173. * ThemeWin32Classic.cs:
  27174. - Improve disabled string look
  27175. 2004-09-09 01:15 jordi
  27176. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  27177. args and handler
  27178. 2004-09-08 23:56 ravindra
  27179. * ItemBoundsPortion.cs: It's enum, not a class!
  27180. 2004-09-08 23:47 ravindra
  27181. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  27182. Enums for Form.
  27183. 2004-09-08 21:13 ravindra
  27184. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  27185. ListView control.
  27186. 2004-09-08 21:03 ravindra
  27187. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  27188. avoid crash.
  27189. 2004-09-08 21:01 ravindra
  27190. * ScrollableControl.cs: Removed unreachable code.
  27191. 2004-09-08 06:45 jordi
  27192. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  27193. 2004-09-08 01:00 jackson
  27194. * XplatUIX11.cs: Only run the timers when updating the message
  27195. queue. This effectively gives X messages a higher priority then
  27196. timer messages. Timers still need love though
  27197. 2004-09-07 14:01 jackson
  27198. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  27199. this for us and the handle is no longer valid.
  27200. 2004-09-07 13:59 jackson
  27201. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  27202. loop that manages to not crash. TODO: Add poll and cleanup timers
  27203. 2004-09-07 11:12 jordi
  27204. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  27205. 2004-09-07 03:40 jordi
  27206. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  27207. fixes, methods, multiple links
  27208. 2004-09-06 06:55 jordi
  27209. * Control.cs: Caches ClientRectangle rectangle value
  27210. 2004-09-05 02:03 jordi
  27211. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  27212. certain situations
  27213. 2004-09-04 11:10 jordi
  27214. * Label.cs: Refresh when font changed
  27215. 2004-09-02 16:24 pbartok
  27216. * Control.cs:
  27217. - Added sanity check to creation of double buffer bitmap
  27218. 2004-09-02 16:24 pbartok
  27219. * ButtonBase.cs:
  27220. - Fixed selection of text color
  27221. - Fixed handling of resize event; now properly recreates double
  27222. buffering bitmap
  27223. - Added missing assignment of TextAlignment
  27224. - Added proper default for TextAlignment
  27225. 2004-09-02 14:26 pbartok
  27226. * RadioButton.cs:
  27227. - Added missing RadioButton.RadioButtonAccessibleObject class
  27228. 2004-09-02 14:26 pbartok
  27229. * Control.cs:
  27230. - Added missing Control.ControlAccessibleObject class
  27231. - Started to implement Select()ion mechanisms, still very incomplete
  27232. 2004-09-02 14:25 pbartok
  27233. * AccessibleObject.cs:
  27234. - Added missing methods
  27235. 2004-09-02 14:23 pbartok
  27236. * AccessibleNavigation.cs, AccessibleSelection.cs:
  27237. - Initial check-in
  27238. 2004-09-02 10:32 jordi
  27239. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  27240. pool for pens, brushes, and hatchbruses
  27241. 2004-09-01 15:30 jackson
  27242. * StatusBar.cs: Fix typo
  27243. 2004-09-01 14:44 pbartok
  27244. * RadioButton.cs:
  27245. - Fixed state
  27246. 2004-09-01 14:39 pbartok
  27247. * Button.cs, RadioButton.cs:
  27248. - Functional initial check-in
  27249. 2004-09-01 14:01 pbartok
  27250. * CheckBox.cs:
  27251. - Added missing default
  27252. - Added missing region mark
  27253. 2004-09-01 09:10 jordi
  27254. * Label.cs: fixes method signatures, new methods, events, fixes
  27255. autosize
  27256. 2004-09-01 07:19 jordi
  27257. * Control.cs: Init string variables with an empty object
  27258. 2004-09-01 04:20 jordi
  27259. * Control.cs: fires OnFontChanged event
  27260. 2004-08-31 20:07 pbartok
  27261. * ButtonBase.cs:
  27262. - Enabled display of strings
  27263. 2004-08-31 20:05 pbartok
  27264. * Form.cs:
  27265. - Added (partial) implementation of DialogResult; rest needs to be
  27266. implemented when the modal loop code is done
  27267. 2004-08-31 19:55 pbartok
  27268. * CheckBox.cs:
  27269. - Fixed to match the removal of the needs_redraw concept
  27270. 2004-08-31 19:55 pbartok
  27271. * ButtonBase.cs:
  27272. - Removed the rather odd split between 'needs redraw' and redrawing
  27273. - Now handles the events that require regeneration (ambient
  27274. properties and size)
  27275. 2004-08-31 19:41 pbartok
  27276. * Control.cs:
  27277. - Added firing of BackColorChanged event
  27278. - Added TopLevelControl property
  27279. - Fixed handling of WM_ERASEBKGRND message
  27280. 2004-08-31 12:49 pbartok
  27281. * ButtonBase.cs:
  27282. - Removed debug
  27283. - Minor fixes
  27284. 2004-08-31 12:48 pbartok
  27285. * CheckBox.cs:
  27286. - Finished (famous last words)
  27287. 2004-08-31 04:35 jordi
  27288. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  27289. scrolling bugs, adds new methods
  27290. 2004-08-30 14:42 pbartok
  27291. * CheckBox.cs:
  27292. - Implemented CheckBox drawing code
  27293. 2004-08-30 14:42 pbartok
  27294. * ButtonBase.cs:
  27295. - Made Redraw() and CheckRedraw() virtual
  27296. - Improved mouse up/down/move logic to properly track buttons
  27297. 2004-08-30 09:44 pbartok
  27298. * CheckBox.cs:
  27299. - Updated to fix broken build. Not complete yet.
  27300. 2004-08-30 09:28 pbartok
  27301. * CheckState.cs:
  27302. - Initial checkin
  27303. 2004-08-30 09:17 pbartok
  27304. * Appearance.cs:
  27305. - Initial check-in
  27306. 2004-08-27 16:12 ravindra
  27307. * ToolBarButton.cs: Added TypeConverter attribute.
  27308. 2004-08-27 16:07 ravindra
  27309. * ImageIndexConverter.cs: Implemented.
  27310. 2004-08-27 14:17 pbartok
  27311. * Control.cs:
  27312. - Removed unneeded stack vars
  27313. - First attempt to fix sizing issues when layout is suspended
  27314. 2004-08-25 15:35 jordi
  27315. * ScrollBar.cs: more fixes to scrollbar
  27316. 2004-08-25 14:04 ravindra
  27317. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  27318. Added the missing divider code and grip for ToolBar Control.
  27319. 2004-08-25 13:20 pbartok
  27320. * Control.cs:
  27321. - Control now properly passes the ambient background color to child
  27322. controls
  27323. 2004-08-25 13:20 jordi
  27324. * ScrollBar.cs: small bug fix regarding bar position
  27325. 2004-08-25 12:33 pbartok
  27326. * Timer.cs:
  27327. - Now only calls SetTimer or KillTimer if the enabled state has
  27328. changed
  27329. 2004-08-25 12:33 pbartok
  27330. * XplatUIWin32.cs:
  27331. - Fixed timer handling, now seems to work
  27332. - Improved error message for window creation
  27333. 2004-08-25 12:32 pbartok
  27334. * Control.cs:
  27335. - Fixed generation of MouseUp message
  27336. 2004-08-25 12:29 jordi
  27337. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  27338. and fixes for progressbar
  27339. 2004-08-24 18:43 ravindra
  27340. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  27341. in ToolBar control.
  27342. 2004-08-24 17:15 pbartok
  27343. * Panel.cs:
  27344. - Added #region
  27345. - Added missing events
  27346. - Alphabetized
  27347. 2004-08-24 17:14 pbartok
  27348. * StatusBar.cs, PictureBox.cs:
  27349. - Now uses Control's CreateParams
  27350. 2004-08-24 16:36 pbartok
  27351. * XplatUIX11.cs:
  27352. - Fixed background color handling
  27353. - Fixed sending of enter/leave events on a grab
  27354. 2004-08-24 16:35 pbartok
  27355. * X11Structs.cs:
  27356. - Refined definitions for CrossingEvent
  27357. 2004-08-24 12:37 jordi
  27358. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  27359. formmating, methods signature, and adds missing events
  27360. 2004-08-24 12:24 jordi
  27361. * Control.cs: fire OnEnabledChanged event
  27362. 2004-08-24 11:17 pbartok
  27363. * XplatUIWin32.cs:
  27364. - Implemented SetTimer() and KillTimer()
  27365. 2004-08-24 11:16 pbartok
  27366. * XplatUIX11.cs:
  27367. - Now uses Remove instead of Add to kill the timer
  27368. 2004-08-24 10:16 jackson
  27369. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  27370. picture boxes in the theme now. Draw picture box borders and obey
  27371. sizing modes
  27372. 2004-08-24 05:49 jackson
  27373. * Timer.cs: Remove top secret debugging code
  27374. 2004-08-24 05:34 jackson
  27375. * PictureBox.cs: Temp hack to make picture boxes draw their full
  27376. image
  27377. 2004-08-24 05:29 jackson
  27378. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27379. XplatUIX11.cs: Move timers to the driver level. On X they are
  27380. queued by the driver and checked on idle.
  27381. 2004-08-24 01:07 jackson
  27382. * XplatUIX11.cs: Use a queue for async messages instead of passing
  27383. them as ClientMessages since that was totally broken. Also simply
  27384. check for events and return an idle message if none are found. This
  27385. gives us an idle handler, and prevents deadlocking when no messages
  27386. are in the queue.
  27387. 2004-08-23 18:19 ravindra
  27388. * XplatUIWin32.cs: Removed the unwanted destructor.
  27389. 2004-08-23 17:27 pbartok
  27390. * ButtonBase.cs:
  27391. - Finishing touches. Works now, just needs some optimizations.
  27392. 2004-08-23 16:53 jordi
  27393. * ScrollBar.cs: small fix
  27394. 2004-08-23 16:45 pbartok
  27395. * Application.cs:
  27396. - Removed debug output
  27397. - Simplifications
  27398. 2004-08-23 16:43 jordi
  27399. * ScrollBar.cs: [no log message]
  27400. 2004-08-23 16:10 pbartok
  27401. * Form.cs:
  27402. - Fixed handling of WM_CLOSE message
  27403. - Removed debug output
  27404. 2004-08-23 16:09 pbartok
  27405. * Application.cs:
  27406. - Added handling of Idle event
  27407. - Added handling of form closing
  27408. - Fixed reporting of MessageLoop property
  27409. - Removed some unneeded code, should provide a bit of a speedup
  27410. 2004-08-23 15:22 pbartok
  27411. * Control.cs:
  27412. - Added InitLayout() method
  27413. - Added code to properly perform layout when Anchor or Dock property
  27414. is changed
  27415. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  27416. LAMESPEC, tried to do it in a way that makes sense
  27417. 2004-08-23 14:10 jordi
  27418. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  27419. properties and methods
  27420. 2004-08-23 13:55 pbartok
  27421. * Control.cs:
  27422. - Properly fixed Jordi's last fix
  27423. - Now uses Cursor's Position property instead of calling XplatUI
  27424. directly
  27425. 2004-08-23 13:44 jordi
  27426. * PaintEventHandler.cs: Adding missing attribute
  27427. 2004-08-23 13:39 pbartok
  27428. * Cursor.cs:
  27429. - Implemented Position property
  27430. 2004-08-23 13:39 pbartok
  27431. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27432. - Added method to move mouse cursor
  27433. 2004-08-23 13:39 pbartok
  27434. * XplatUIX11.cs:
  27435. - Fixed setting of background color
  27436. - Added method to move mouse cursor
  27437. 2004-08-23 13:16 jordi
  27438. * Control.cs: avoids null exception
  27439. 2004-08-22 17:46 jackson
  27440. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  27441. PictureBox
  27442. 2004-08-22 17:40 jackson
  27443. * XplatUIX11.cs: Add some missing locks
  27444. 2004-08-22 15:10 pbartok
  27445. * Control.cs, Form.cs:
  27446. - Removed OverlappedWindow style from Control, instead it's default
  27447. now is child
  27448. - Made form windows OverlappedWindow by default
  27449. 2004-08-22 13:34 jackson
  27450. * ScrollBar.cs: Update the position through the Value property so
  27451. the OnValueChanged event is raised.
  27452. 2004-08-22 12:04 pbartok
  27453. * SWF.csproj:
  27454. - Added Cursor.cs and UserControl.cs
  27455. 2004-08-22 12:03 pbartok
  27456. * Cursor.cs:
  27457. - Started implementation, not usable yet
  27458. 2004-08-22 12:00 pbartok
  27459. * UserControl.cs:
  27460. - Implemented UserControl (complete)
  27461. 2004-08-21 19:20 ravindra
  27462. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  27463. 2004-08-21 18:49 ravindra
  27464. * ToolBar.cs: Probably this completes the missing attributes in
  27465. toolbar control.
  27466. 2004-08-21 18:03 ravindra
  27467. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  27468. Fixed toolbar control signatures.
  27469. 2004-08-21 16:32 pbartok
  27470. * LinkLabel.cs:
  27471. - Signature Fixes
  27472. 2004-08-21 16:30 pbartok
  27473. * Label.cs:
  27474. - Signature fixes
  27475. 2004-08-21 16:19 pbartok
  27476. * Control.cs, Label.cs:
  27477. - Signature fixes
  27478. 2004-08-21 15:57 pbartok
  27479. * ButtonBase.cs:
  27480. - Added loads of debug output for development
  27481. - Fixed typo in method name
  27482. 2004-08-21 15:52 pbartok
  27483. * ToolBarButtonClickEventArgs.cs:
  27484. - Added missing base class
  27485. 2004-08-21 14:53 pbartok
  27486. * Control.cs:
  27487. - Updated to match new GrabWindow signature
  27488. 2004-08-21 14:51 pbartok
  27489. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27490. - Added method to get default display size
  27491. 2004-08-21 14:23 pbartok
  27492. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27493. - Added method to query current grab state
  27494. - Added argument to allow confining a grab to a window
  27495. 2004-08-21 14:22 pbartok
  27496. * Keys.cs:
  27497. - Added [Flags] attribute so that modifiers can be used in bitwise
  27498. ops
  27499. 2004-08-21 14:21 pbartok
  27500. * TrackBar.cs, ScrollBar.cs:
  27501. - Replaced direct XplatUI calls with their Control counterpart
  27502. 2004-08-21 13:32 pbartok
  27503. * Control.cs:
  27504. - Implemented Created property
  27505. 2004-08-21 13:28 pbartok
  27506. * Control.cs:
  27507. - Implemented ContainsFocus
  27508. 2004-08-21 13:26 pbartok
  27509. * Control.cs:
  27510. - Implemented CausesValidation
  27511. 2004-08-21 13:21 pbartok
  27512. * Control.cs:
  27513. - Implemented CanFocus
  27514. - Implemented CanSelect
  27515. - Implemented Capture
  27516. 2004-08-21 12:35 pbartok
  27517. * XplatUIWin32.cs:
  27518. - Fixed bug with Async message handling
  27519. - Implemented getting the ModifierKeys
  27520. 2004-08-21 12:32 jackson
  27521. * AsyncMethodResult.cs: Make sure we have the mutex before we
  27522. release it. Fixes BeginInvoke on windows
  27523. 2004-08-21 11:31 pbartok
  27524. * XplatUIWin32.cs, XplatUIX11.cs:
  27525. - Drivers now return proper mouse state
  27526. 2004-08-21 10:54 jackson
  27527. * Control.cs: Implement EndInvoke
  27528. 2004-08-21 10:48 jackson
  27529. * Timer.cs: Remove unneeded finalizer
  27530. 2004-08-20 19:52 ravindra
  27531. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  27532. in mouse event handling in the ToolBar control.
  27533. 2004-08-20 19:50 ravindra
  27534. * ImageList.cs: Changed draw method to use the arguments passed in
  27535. to draw the image.
  27536. 2004-08-20 18:58 pbartok
  27537. * XplatUIStructs.cs:
  27538. - Added private message for async communication
  27539. 2004-08-20 17:38 ravindra
  27540. * Control.cs: Made RightToLeft property virtual and removed a
  27541. Console.WriteLine.
  27542. 2004-08-20 14:39 jordi
  27543. * ThemeGtk.cs: use style_attach
  27544. 2004-08-20 14:39 pbartok
  27545. * XplatUIWin32.cs:
  27546. - Added jackson's Async code from X11 to Win32
  27547. 2004-08-20 14:09 pbartok
  27548. * SWF.csproj:
  27549. - Added all new files
  27550. 2004-08-20 14:09 pbartok
  27551. * Control.cs:
  27552. - Added call to set window background color
  27553. 2004-08-20 14:03 pbartok
  27554. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  27555. - Added method for setting the window background
  27556. 2004-08-20 14:02 pbartok
  27557. * XplatUIWin32.cs:
  27558. - Added method for setting the background color
  27559. - Added handling for erasing the window background
  27560. 2004-08-20 13:45 jordi
  27561. * TrackBar.cs: fixes timer, new properties and methods
  27562. 2004-08-20 13:34 jackson
  27563. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  27564. correct thread
  27565. 2004-08-20 13:22 jackson
  27566. * Timer.cs: Timer Tick events are now handed through Controls Async
  27567. mechanism so the callbacks are executed in the same thread as X
  27568. 2004-08-20 13:19 jackson
  27569. * XplatUIDriver.cs: Expose functionality to send async messages
  27570. through the driver
  27571. 2004-08-20 13:18 jackson
  27572. * Control.cs: Implement Begininvoke
  27573. 2004-08-20 13:14 jackson
  27574. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  27575. messages through the driver
  27576. 2004-08-20 13:12 jackson
  27577. * XplatUIX11.cs: Lock before all X operations. Also added Async
  27578. method functionality through XSendEvent
  27579. 2004-08-20 13:11 jackson
  27580. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  27581. This will screw up on 64 bit systems)
  27582. 2004-08-20 13:10 jackson
  27583. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  27584. Async messages through X/Win32
  27585. 2004-08-19 19:39 pbartok
  27586. * XplatUIX11.cs:
  27587. - Updated code to match new HandleData.DeviceContext type
  27588. 2004-08-19 19:38 pbartok
  27589. * HandleData.cs:
  27590. - Made DeviceContext a generic object to allow usage from various
  27591. drivers
  27592. - Added support for queueing Windows messages
  27593. 2004-08-19 19:37 pbartok
  27594. * XplatUIWin32.cs:
  27595. - Added generation of MouseEnter, MouseLeave and MouseHover events
  27596. - Added cleanup on EndPaint
  27597. 2004-08-19 19:17 pbartok
  27598. * Control.cs:
  27599. - Added handling of WM_MOUSEHOVER
  27600. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  27601. code
  27602. 2004-08-19 18:55 jordi
  27603. * ThemeGtk.cs: fixes button order
  27604. 2004-08-19 18:12 jordi
  27605. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  27606. 2004-08-19 17:09 pbartok
  27607. * Control.cs:
  27608. - Added Right property
  27609. - Added RightToLeft property
  27610. 2004-08-19 16:27 jordi
  27611. * ThemeGtk.cs: experimental GTK theme support
  27612. 2004-08-19 16:26 jordi
  27613. * ITheme.cs, Theme.cs: move themes from an interface to a class
  27614. 2004-08-19 16:25 jordi
  27615. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  27616. theme enhancaments
  27617. 2004-08-19 16:04 pbartok
  27618. * XplatUIX11.cs:
  27619. - Added colormap basics
  27620. - Added a way to re-initialize with a different display handle
  27621. - Fixed setting of the window background color
  27622. - Added various X11 imports related to colors and colormaps
  27623. 2004-08-19 15:51 pbartok
  27624. * X11Structs.cs:
  27625. - Removed packing hints (Paolo suggested this a while back)
  27626. - fixed colormap type
  27627. - Added default Atom types
  27628. - Added Screen and color structs and enums
  27629. 2004-08-19 15:39 pbartok
  27630. * ImageList.cs:
  27631. - Added missing Draw() method
  27632. - Added missing RecreateHandle event
  27633. 2004-08-19 15:30 pbartok
  27634. * Form.cs:
  27635. - Added handling of WM_CLOSE
  27636. 2004-08-18 13:16 jordi
  27637. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  27638. a table
  27639. 2004-08-18 09:56 jordi
  27640. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  27641. 2004-08-17 15:31 ravindra
  27642. * SWF.csproj: Updated project.
  27643. 2004-08-17 15:25 pbartok
  27644. * Control.cs:
  27645. - Drawing improvement; don't call UpdateBounds if we are not visible
  27646. (or have been minimized)
  27647. 2004-08-17 15:24 pbartok
  27648. * XplatUIWin32.cs:
  27649. - Finished IsVisible
  27650. - Added Win32GetWindowPlacement
  27651. 2004-08-17 15:08 jackson
  27652. * Panel.cs: Initial checkin of the Panel
  27653. 2004-08-17 14:25 pbartok
  27654. * Control.cs:
  27655. - Fixed broken handling of default window sizes
  27656. 2004-08-17 13:29 jackson
  27657. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  27658. has a large startup time.
  27659. 2004-08-17 10:25 jackson
  27660. * HandleData.cs: union areas properly
  27661. 2004-08-17 10:12 jackson
  27662. * HandleData.cs: union areas properly
  27663. 2004-08-16 20:00 ravindra
  27664. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  27665. 2004-08-16 18:48 ravindra
  27666. * ToolBar.cs: Added attributes.
  27667. 2004-08-16 17:17 ravindra
  27668. * SWF.csproj: Updated project.
  27669. 2004-08-16 17:16 jackson
  27670. * XplatUIX11.cs: Check for more expose events before sending a
  27671. WM_PAINT so they can all be grouped together. This makes dragging a
  27672. window across another window redraw in a sane way.
  27673. 2004-08-16 15:47 pbartok
  27674. * Control.cs:
  27675. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  27676. support OnMouseEnter/Leave()
  27677. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  27678. exposure handling
  27679. 2004-08-16 15:46 pbartok
  27680. * XplatUIStructs.cs, XplatUIX11.cs:
  27681. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  27682. OnMouseEnter/Leave()
  27683. 2004-08-16 15:34 jackson
  27684. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  27685. sure messages get the message field set to WM_NULL if they are not
  27686. handled.
  27687. 2004-08-16 15:24 jackson
  27688. * HandleData.cs: HandleData is used for storing message information
  27689. for window handles
  27690. 2004-08-15 17:23 ravindra
  27691. * ColorDepth.cs: Added attribute.
  27692. 2004-08-15 17:23 ravindra
  27693. * SWF.csproj: Updated project for ToolBar Control.
  27694. 2004-08-15 17:20 ravindra
  27695. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  27696. control and also dos2unix format.
  27697. 2004-08-15 17:13 ravindra
  27698. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  27699. ToolBarButtonClickEventArgs.cs,
  27700. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  27701. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  27702. 2004-08-15 15:31 pbartok
  27703. * ButtonBase.cs:
  27704. - First (mostly) working version
  27705. 2004-08-13 16:15 pbartok
  27706. * Control.cs:
  27707. - Fixed Anchor default
  27708. 2004-08-13 15:43 pbartok
  27709. * Control.cs:
  27710. - Changed GetCursorPos signature
  27711. 2004-08-13 15:42 pbartok
  27712. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  27713. - Changed signature for GetCursorPos
  27714. 2004-08-13 15:25 pbartok
  27715. * XplatUIX11.cs:
  27716. - Cleanup
  27717. - Fixed resizing/exposure handling
  27718. 2004-08-13 15:22 jordi
  27719. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  27720. with tickposition
  27721. 2004-08-13 14:55 jordi
  27722. * TrackBar.cs: change from wndproc to events
  27723. 2004-08-13 13:00 jordi
  27724. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27725. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  27726. 2004-08-13 12:53 pbartok
  27727. * XplatUIWin32.cs:
  27728. - Changed GetWindowPos to also provide client area size
  27729. - Fixed broken prototypes for several win32 functions
  27730. 2004-08-13 12:53 pbartok
  27731. * XplatUI.cs, XplatUIDriver.cs:
  27732. - Changed GetWindowPos to also provide client area size
  27733. 2004-08-13 12:52 pbartok
  27734. * XplatUIX11.cs:
  27735. - Added generation of WM_POSCHANGED
  27736. - Changed GetWindowPos to also provide client area size
  27737. 2004-08-13 12:52 pbartok
  27738. * Control.cs:
  27739. - Added Dispose() and destructor
  27740. - Fixed resizing and bounds calculation
  27741. - Fixed Layout
  27742. - Added memory savings for invisible windows
  27743. 2004-08-13 12:46 jordi
  27744. * TrackBar.cs: adds timer and grap window
  27745. 2004-08-13 10:25 jackson
  27746. * Timer.cs: SWF Timer
  27747. 2004-08-12 16:59 pbartok
  27748. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27749. - Implemented method to get current mouse position
  27750. 2004-08-12 14:29 jordi
  27751. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  27752. enhancement, fix mouse problems, highli thumb, etc
  27753. 2004-08-12 13:31 pbartok
  27754. * Control.cs:
  27755. - Fixed Anchoring bugs
  27756. 2004-08-12 13:01 jackson
  27757. * StatusBar.cs: Don't forget things
  27758. 2004-08-12 12:54 jackson
  27759. * ThemeWin32Classic.cs: Handle owner draw status bars
  27760. 2004-08-12 12:54 jackson
  27761. * StatusBar.cs: Implement missing properties, events, and methods.
  27762. Handle mouse clicking
  27763. 2004-08-12 10:19 jackson
  27764. * StatusBarPanelClickEventArgs.cs,
  27765. StatusBarPanelClickEventHandler.cs: Classes for handling status
  27766. bar panel click events
  27767. 2004-08-12 10:10 jackson
  27768. * Control.cs: Add missing properties
  27769. 2004-08-12 09:46 pbartok
  27770. * BindingsManagerBase.cs:
  27771. - Name changed to BindingManagerBase.cs
  27772. 2004-08-12 09:25 jordi
  27773. * ScrollableControl.cs: calls ctrlbase instead of exeception
  27774. 2004-08-11 16:28 pbartok
  27775. * InputLanguageChangingEventArgs.cs:
  27776. - Never check in before compiling. Fixes the last check-in
  27777. 2004-08-11 16:26 pbartok
  27778. * InputLanguageChangingEventArgs.cs:
  27779. - More signature fixes
  27780. 2004-08-11 16:20 pbartok
  27781. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  27782. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  27783. ImageListStreamer.cs, InputLanguage.cs,
  27784. InputLanguageChangedEventArgs.cs,
  27785. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  27786. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  27787. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  27788. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27789. - Signature fixes
  27790. 2004-08-11 16:16 pbartok
  27791. * Application.cs:
  27792. - Fixed Signature
  27793. - Added .Net 1.1 method
  27794. 2004-08-11 15:25 pbartok
  27795. * SWF.csproj:
  27796. - Fixed BindingManagerBase.cs filename
  27797. 2004-08-11 15:22 pbartok
  27798. * BindingManagerBase.cs:
  27799. - Was checked in with wrong filename
  27800. 2004-08-11 14:50 pbartok
  27801. * SWF.csproj:
  27802. - Updated
  27803. 2004-08-11 13:41 jordi
  27804. * XplatUIWin32.cs: Fixes ClientRect
  27805. 2004-08-11 13:19 pbartok
  27806. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  27807. XplatUIX11.cs:
  27808. - We had SetWindowPos and MoveWindow to set window positions and
  27809. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  27810. keep SetWindowPos as matching counterpart
  27811. - Added some X11 sanity checking
  27812. 2004-08-11 12:59 pbartok
  27813. * Control.cs:
  27814. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  27815. (It seems that SetBounds is just a front for SetBoundsCore and
  27816. SetBoundsCore updates the underlying window system and
  27817. UpdateBounds is responsible for updating the variables associated
  27818. with the Control and sending the events)
  27819. - Major cleanup of Size handling; we now have two sizes, client_size
  27820. and bounds. Bounds defines the window with decorations, client_size
  27821. without them.
  27822. 2004-08-11 12:55 pbartok
  27823. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27824. - Added method to calculate difference between decorated window and
  27825. raw client area
  27826. 2004-08-11 12:54 pbartok
  27827. * Label.cs:
  27828. - Forcing redraw on resize
  27829. 2004-08-11 11:43 pbartok
  27830. * ImageList.cs:
  27831. - Removed disposing of the actual images when the list is disposed
  27832. 2004-08-11 09:13 pbartok
  27833. * Control.cs:
  27834. - Now properly reparents windows
  27835. 2004-08-11 08:37 pbartok
  27836. * Control.cs:
  27837. - Duh!
  27838. 2004-08-11 07:47 pbartok
  27839. * Control.cs:
  27840. - Rewrote the collection stuff. Might not be as fast now, not
  27841. keeping the number of children around and accessible directly, but
  27842. it's more straightforward
  27843. 2004-08-11 07:44 pbartok
  27844. * AccessibleObject.cs:
  27845. - Fixed to match ControlCollection rewrite
  27846. 2004-08-11 07:43 pbartok
  27847. * ImageList.cs:
  27848. - Added missing creation of the collection list
  27849. 2004-08-10 20:08 jackson
  27850. * StatusBar.cs: Get the paint message from WndProc
  27851. 2004-08-10 19:31 jackson
  27852. * ThemeWin32Classic.cs: Create Brushes as little as possible
  27853. 2004-08-10 19:20 jackson
  27854. * UICues.cs: Add Flags attribute
  27855. 2004-08-10 19:19 jackson
  27856. * StatusBarPanel.cs: Signature cleanup
  27857. 2004-08-10 19:10 jackson
  27858. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  27859. Initial implementation of status bar item drawing
  27860. 2004-08-10 17:27 jordi
  27861. * TrackBar.cs: add missing methods, properties, and restructure to
  27862. hide extra ones
  27863. 2004-08-10 16:24 jackson
  27864. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  27865. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  27866. attribute
  27867. 2004-08-10 13:21 jordi
  27868. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  27869. enhancements and standarize on win colors defaults
  27870. 2004-08-10 12:52 jackson
  27871. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  27872. ThemeWin32Classic.cs: Implement DrawItem functionality
  27873. 2004-08-10 12:47 jordi
  27874. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  27875. 2004-08-10 12:32 jordi
  27876. * Control.cs: throw ontextchange event
  27877. 2004-08-10 11:43 pbartok
  27878. * Control.cs:
  27879. - Added more to the still unfinished Dock/Anchor layout code
  27880. 2004-08-10 11:39 pbartok
  27881. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  27882. - Added GetWindowPos method
  27883. 2004-08-10 11:36 pbartok
  27884. * XplatUIWin32.cs:
  27885. - Implemented several methods
  27886. 2004-08-10 09:47 jackson
  27887. * TrackBar.cs: Allow control to handle buffering
  27888. 2004-08-10 09:41 jackson
  27889. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  27890. 2004-08-10 09:24 jackson
  27891. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  27892. 2004-08-10 09:09 jackson
  27893. * StatusBar.cs: Let Control handle all the buffering.
  27894. 2004-08-10 09:08 jackson
  27895. * Control.cs: Control will now handle the buffering code, so each
  27896. control does not have to implement this.
  27897. 2004-08-10 08:34 jackson
  27898. * XplatUIDriver.cs: Use default colors from the theme
  27899. 2004-08-09 17:12 pbartok
  27900. * ImageList.cs:
  27901. - Fixed several bugs Ravindra pointed out
  27902. 2004-08-09 16:11 pbartok
  27903. * Control.cs:
  27904. - Added incomplete dock layout code
  27905. - Added support for mouse wheel
  27906. 2004-08-09 16:09 pbartok
  27907. * XplatUIX11.cs:
  27908. - Added handling for middle and right mousebutton
  27909. - Added handling for mouse wheel
  27910. - Added handling for key state and mouse state and position
  27911. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  27912. messages
  27913. 2004-08-09 15:40 jackson
  27914. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  27915. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  27916. checkin
  27917. 2004-08-09 15:37 jackson
  27918. * StatusBar.cs: Initial implementation of StatusBar
  27919. 2004-08-09 15:36 jackson
  27920. * ITheme.cs: Add support for drawing status bar and getting status
  27921. bar item sizes
  27922. 2004-08-09 15:35 pbartok
  27923. * MouseButtons.cs:
  27924. - Fixed values
  27925. 2004-08-09 15:34 jackson
  27926. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  27927. status bar item sizes
  27928. 2004-08-09 15:21 jackson
  27929. * ThemeWin32Classic.cs: Use known colors for default control
  27930. colours
  27931. 2004-08-09 15:12 jackson
  27932. * ThemeWin32Classic.cs: Make the default font static, it is static
  27933. in control so this doesn't change functionality and creating fonts
  27934. is sloooooow.
  27935. 2004-08-09 14:56 pbartok
  27936. * X11Structs.cs:
  27937. - Added GrabMode enum
  27938. 2004-08-09 14:55 pbartok
  27939. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27940. - Removed Run method, was only required for initial development
  27941. 2004-08-09 14:51 pbartok
  27942. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  27943. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  27944. capture
  27945. 2004-08-09 13:48 pbartok
  27946. * XplatUIX11.cs:
  27947. - Fixed default sizing for child windows
  27948. 2004-08-09 12:56 pbartok
  27949. * XplatUIX11.cs:
  27950. - Added generation of WM_DESTROY message
  27951. - Added handling of window manager induced shutdown
  27952. 2004-08-09 11:31 jackson
  27953. * ThemeWin32Classic.cs: New names for control properties
  27954. 2004-08-09 11:25 jackson
  27955. * Control.cs: Use new color names
  27956. 2004-08-09 11:02 jackson
  27957. * XplatUI.cs: Get default window properties from the theme
  27958. 2004-08-09 11:01 jackson
  27959. * ITheme.cs: The theme engine now controls default window
  27960. properties
  27961. 2004-08-09 11:00 jackson
  27962. * ThemeWin32Classic.cs: Add default window color properties
  27963. 2004-08-09 10:17 jackson
  27964. * ThemeWin32Classic.cs: Use correct default back color
  27965. 2004-08-09 10:05 jackson
  27966. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  27967. the theme now.
  27968. 2004-08-09 09:56 jackson
  27969. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  27970. 2004-08-09 09:54 jackson
  27971. * Control.cs: Get default properties from the theme.
  27972. 2004-08-09 09:53 jackson
  27973. * ITheme.cs: Themes now handle default control properties
  27974. 2004-08-09 09:53 jackson
  27975. * ThemeWin32Classic.cs: Themes now handle default control
  27976. properties so coloring will be consistent
  27977. 2004-08-08 16:54 jordi
  27978. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  27979. 2004-08-08 15:08 jordi
  27980. * XplatUIX11.cs: fixes keyboard crash
  27981. 2004-08-08 13:47 jordi
  27982. * Label.cs: add cvs header info
  27983. 2004-08-08 12:09 jackson
  27984. * ThemeWin32Classic.cs: Add pen_buttonface
  27985. 2004-08-08 11:52 jordi
  27986. * Label.cs, LinkLabel.cs: [no log message]
  27987. 2004-08-08 11:34 jordi
  27988. * ThemeWin32Classic.cs: Use Windows Standard Colours
  27989. 2004-08-07 17:32 jordi
  27990. * TrackBar.cs: throw exceptions of invalid enums values
  27991. 2004-08-07 17:31 jordi
  27992. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  27993. draw method name
  27994. 2004-08-07 16:56 jackson
  27995. * HorizontalAlignment.cs: Initial checkin
  27996. 2004-08-07 13:16 jordi
  27997. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  27998. methods
  27999. 2004-08-07 13:05 jordi
  28000. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  28001. GetSysColor defines
  28002. 2004-08-06 18:01 pbartok
  28003. * ThemeWin32Classic.cs:
  28004. - Fixed some rounding issues with float/int
  28005. 2004-08-06 18:00 jackson
  28006. * DockStyle.cs, AnchorStyles.cs:
  28007. Add flags and serializable attributes.
  28008. 2004-08-06 17:46 pbartok
  28009. * XplatUIX11.cs:
  28010. - Implemented GetParent
  28011. 2004-08-06 17:18 pbartok
  28012. * TrackBar.cs:
  28013. - Fixed some rounding issues with float/int
  28014. 2004-08-06 17:17 pbartok
  28015. * X11Structs.cs, XplatUIX11.cs:
  28016. - Fixed Refresh and Invalidate
  28017. 2004-08-06 15:30 pbartok
  28018. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  28019. - Fixed recursive loop when resizing
  28020. - Improved/fixed redrawing on expose messages
  28021. 2004-08-06 09:53 jordi
  28022. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  28023. keyboard navigation
  28024. 2004-08-06 08:02 pbartok
  28025. * X11Structs.cs, XplatUIX11.cs:
  28026. - Fixed reparenting
  28027. - Fixed window border creation
  28028. 2004-08-05 15:38 pbartok
  28029. * XplatUIX11.cs:
  28030. - Attempted fix for reparenting problems
  28031. 2004-08-04 15:14 pbartok
  28032. * Control.cs:
  28033. - Fixed Invalidation bug (calculated wrong client area)
  28034. - Added ClientSize setter
  28035. 2004-08-04 15:13 pbartok
  28036. * Form.cs:
  28037. - Added AutoScale properties
  28038. 2004-08-04 15:13 pbartok
  28039. * SWF.csproj:
  28040. - Added latest files
  28041. 2004-08-04 14:11 pbartok
  28042. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  28043. XplatUIX11.cs:
  28044. - Added Invalidate handling
  28045. 2004-08-03 17:09 jordi
  28046. * XplatUIDriver.cs: fixes spelling mistake
  28047. 2004-07-27 09:53 jordi
  28048. * TrackBar.cs: fixes trackbar events, def classname, methods
  28049. signature
  28050. 2004-07-27 09:29 jordi
  28051. * ScrollBar.cs: fixes scrollbar events
  28052. 2004-07-27 04:38 jordi
  28053. * Control.cs: changes to be able to run winforms samples
  28054. 2004-07-26 11:42 jordi
  28055. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  28056. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  28057. 2004-07-26 05:41 jordi
  28058. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  28059. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  28060. implementation
  28061. 2004-07-22 09:22 jordi
  28062. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  28063. check link overlapping, implement events, and fixes
  28064. 2004-07-21 10:28 jordi
  28065. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  28066. 2004-07-21 10:19 jordi
  28067. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  28068. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  28069. LinkLabelLinkClickedEventArgs.cs,
  28070. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  28071. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  28072. implementation
  28073. 2004-07-19 13:09 jordi
  28074. * Control.cs, Label.cs: label control re-written: added missing
  28075. functionlity, events, and properties
  28076. 2004-07-19 10:49 jordi
  28077. * Control.cs: fixes SetBounds logic
  28078. 2004-07-19 01:29 jordi
  28079. * Control.cs: Call RefreshWindow only if the window has created
  28080. 2004-07-15 14:05 pbartok
  28081. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  28082. - Implemented ImageList and ImageList.ImageCollection classes
  28083. - Added ColorDepth enumeration
  28084. - Updated SWF VS.Net project
  28085. 2004-07-15 11:06 jordi
  28086. * XplatUIStructs.cs: added MsgButons enum
  28087. 2004-07-15 11:03 jordi
  28088. * Control.cs: added basic mouse handeling events
  28089. 2004-07-15 03:38 jordi
  28090. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  28091. Vertical TrackBar control implementation
  28092. 2004-07-13 09:33 jordi
  28093. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  28094. 2004-07-13 09:31 jordi
  28095. * Control.cs, Form.cs: commit: new properties and fixes form size
  28096. problems
  28097. 2004-07-09 14:13 miguel
  28098. * ProgressBar.cs: Spelling
  28099. 2004-07-09 11:25 pbartok
  28100. * ProgressBar.cs:
  28101. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  28102. faster
  28103. 2004-07-09 11:17 miguel
  28104. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  28105. * ProgressBar.cs: Fixed spelling for `block'
  28106. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  28107. style guidelines.
  28108. Avoid using the += on rect.X, that exposed a bug in the compiler.
  28109. 2004-07-08 23:21 pbartok
  28110. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  28111. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  28112. BaseCollection.cs, Binding.cs, BindingContext.cs,
  28113. BindingMemberInfo.cs, BindingsCollection.cs,
  28114. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  28115. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  28116. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  28117. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  28118. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  28119. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  28120. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  28121. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  28122. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  28123. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  28124. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  28125. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  28126. InputLanguageChangedEventArgs.cs,
  28127. InputLanguageChangedEventHandler.cs,
  28128. InputLanguageChangingEventArgs.cs,
  28129. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  28130. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  28131. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  28132. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  28133. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  28134. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  28135. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  28136. QueryAccessibilityHelpEventArgs.cs,
  28137. QueryAccessibilityHelpEventHandler.cs,
  28138. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  28139. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  28140. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  28141. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  28142. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  28143. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  28144. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  28145. XplatUIX11.cs, lang.cs:
  28146. - Initial check-in