ChangeLog 1.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598
  1. 2008-05-19 Jonathan Pobst <[email protected]>
  2. * Control.cs: When we make a control visible, it may have been
  3. previously visible and while it wasn't visible, the z-order of
  4. things may have been shuffled, so the control needs to have its
  5. z-order updated just in case. [Fixes bug #391518]
  6. 2008-05-19 George Giolfan <[email protected]>
  7. * ThemeVisualStyles.cs: Added support for GroupBox.
  8. 2008-05-19 George Giolfan <[email protected]>
  9. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  10. 2008-05-16 Atsushi Enomoto <[email protected]>
  11. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  12. bug #389996; XSelectInput() behaved as mouse handler robber,
  13. so remove extra call to it.
  14. 2008-05-15 Jonathan Pobst <[email protected]>
  15. * Control.cs: Simplify ControlCollection.Contains method.
  16. 2008-05-15 Jonathan Pobst <[email protected]>
  17. * DataGridViewRow.cs: Implement GetPreferredSize.
  18. 2008-05-15 Jonathan Pobst <[email protected]>
  19. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  20. 2008-05-15 Jonathan Pobst <[email protected]>
  21. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  22. painting and edit control fixes.
  23. 2008-05-14 Jonathan Pobst <[email protected]>
  24. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  25. checks to make sure we are in an actual row/col for top left header cell.
  26. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  27. 2008-05-14 Jonathan Pobst <[email protected]>
  28. * Control.cs: Use long instead of int when handling WParam from
  29. mousewheel scrolling. Int was overflowing on Win64.
  30. 2008-05-14 Jonathan Pobst <[email protected]>
  31. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  32. flow panel without scrolling first, and then calculate the
  33. scrolling based on the new layout. [Fixes bug #390149]
  34. 2008-05-14 Jonathan Pobst <[email protected]>
  35. * ListBox.cs: Invalidate after scrolling up when selected index
  36. changes. [Fixes bug #390151]
  37. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  38. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  39. set, default height to 150. I tried first with DefaultSize, but this
  40. is not generating a SetBoundsCore call before handle creation time, so
  41. we can take it into account. This is just what .net does.
  42. 2008-05-13 Jonathan Pobst <[email protected]>
  43. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  44. as it broke some stuff. Calberto is filing a bug for eno to
  45. work with.
  46. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  47. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  48. to 0 is the current value is -1, and if style is not Simple, just
  49. return, like .net does.
  50. Fixes part of #374713.
  51. 2008-05-13 Jonathan Pobst <[email protected]>
  52. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  53. progress bar stuffs, use doubles instead of ints to prevent
  54. overflow. [Fixes bug #389798]
  55. 2008-05-13 Atsushi Enomoto <[email protected]>
  56. * XplatUIX11.cs, X11Keyboard.cs :
  57. Significant refactoring on XIM support. Now IM engine UI
  58. should show up, at mostly-correct preedit position.
  59. - Eliminated use of FocusWindow, as it is never mapped
  60. and hence blocks correct preedit position. XIC is now
  61. created per window, and it must be destroyed too when
  62. the window is destroyed.
  63. - WM_QUIT messages should not be filtered even when hwnd
  64. is zombie. Filtering it could cause endless loop.
  65. - Preedit position must move only when the window is alive.
  66. - Make it IDisposable and make sure to release XIM/XICs.
  67. 2008-05-13 Atsushi Enomoto <[email protected]>
  68. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  69. XplatUIX11.cs, XplatUIWin32.cs :
  70. fix for bug #325033 and #387693;
  71. - WM_QUIT should not be sent when no running application
  72. exists.
  73. - SetTimer/KillTimer (especially on win32) should be
  74. invoked for the window that the timer is/will_be attached.
  75. - There could be unattached timers to a window when it's
  76. started. For those timers, hold pending timers and when
  77. a window is mapped, attach them to it.
  78. - WaitForHwndMessage() could run into loop when
  79. WM_SHOWWINDOW is handled before this method is called.
  80. So, strictly check wm_showwindow state.
  81. - Tick handler should not be invoked while one Tick handler
  82. call is still running (introduced Busy state).
  83. 2008-05-13 Andreia Gaita <[email protected]>
  84. * WebBrowserBase.cs: Override Internal alternative methods for
  85. SetBoundsCore and OnResize instead of the protected ones.
  86. * Control.cs: Move SetBoundsCore and OnResize implementations to
  87. SetBoundsCoreInternal and OnResizeInternal, so they can be
  88. overriden internally (WebBrowserBase needs to catch them but can't
  89. override the protected methods without api compat problems)
  90. 2008-05-13 Andreia Gaita <[email protected]>
  91. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  92. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  93. * Binding.cs:
  94. * ListView.cs: Remove debug messages.
  95. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  96. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  97. area is empty. Also calculate scrollbars in Simple mode based in area
  98. height and total number of items, not in MaxDropDownItems.
  99. Fixes part of #371991.
  100. 2008-05-12 Jonathan Pobst <[email protected]>
  101. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  102. 2008-05-12 Jonathan Pobst <[email protected]>
  103. * BindingSource.cs: GetListSortDescription is not public.
  104. 2008-05-12 Jonathan Pobst <[email protected]>
  105. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  106. 2008-05-12 Jonathan Pobst <[email protected]>
  107. * HtmlElement.cs: Fix parameter names to match MS.
  108. * HtmlWindowCollection.cs: Should not be sealed.
  109. 2008-05-12 Jonathan Pobst <[email protected]>
  110. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  111. button, because the thumb button will not get drawn if the scrollbar
  112. is disabled. [Fixes bug #389262]
  113. 2008-05-12 Jonathan Pobst <[email protected]>
  114. * ListBox.cs: Handle End key for multi-column listboxen.
  115. [Fixes bug #389266]
  116. 2008-05-12 Jonathan Pobst <[email protected]>
  117. * ListBox.cs: Fix algorithm to determine which column our item is in.
  118. [Fixes bug #389265]
  119. 2008-05-12 Jonathan Pobst <[email protected]>
  120. * ListBox.cs: Invalidate when the listbox is resized.
  121. [Fixes bug #389256]
  122. 2008-05-12 Jonathan Pobst <[email protected]>
  123. * ListBox.cs: There is always at least one row in the ListBox (if
  124. we are doing these calculations.) [Fixes bug #389253]
  125. 2008-05-12 Jonathan Pobst <[email protected]>
  126. * ListBox.cs: There is always at least one column in the ListBox.
  127. [Fixes bug #389250]
  128. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  129. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  130. ensure in Simple mode that the height is exactly the requested one.
  131. Also add the ComboBoxListControl to the controls collection in Simple
  132. mode even if handle hasn't been created.
  133. Fixes part of #371991.
  134. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  135. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  136. our ComboBox owner instead of giving it back to the previous control (
  137. as done in other controls). Also remove the empty override of Select
  138. method, since we want to be selected *and* give focus to our owner.
  139. This should let the user do keys-navigation in Simple mode.
  140. 2008-05-10 Geoff Norton <[email protected]>
  141. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  142. problems with rapid scrolling of treeviews. Fixes #381084
  143. 2008-05-10 Geoff Norton <[email protected]>
  144. * XplatUICarbon.cs: Deactivate the active window before
  145. activating the desired window. Completes fixing #386504
  146. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  147. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  148. SmallChange to the item size width plus the padding, to match .net.
  149. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  150. * FileDialog.cs: Apply the custom filter typed by the user in the file
  151. name combobox as much as possible while navigating in the file dialog.
  152. Fixes #385261.
  153. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  154. * Binding.cs: Actually use NullValue if the retrieved value of
  155. data source is null or DBNull. Makes a test pass.
  156. 2008-05-09 Jonathan Pobst <[email protected]>
  157. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  158. * MimeIcon.cs: Provide a way to get icons from resources.
  159. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  160. * Binding.cs: When the value retrieved from the control to be assigned
  161. to the data source is null, actually use the 2.0 DataSourceNullValue
  162. value. Make pass a data binding test.
  163. 2008-05-08 Jonathan Pobst <[email protected]>
  164. * Control.cs: We need to invalidate implicit children even when
  165. invalidate is called with invalidatechildren = false. (Implicit
  166. children are really part of the parent.)
  167. * ListView.cs: Double-buffer internal child controls for less
  168. flicker.
  169. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  170. owner ListView subitems for greatly increased performance.
  171. [Fixes bug #388477]
  172. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  173. * FileDialog.cs: When the user types a wildcard character in the
  174. filename combobox, update the contents of the folder using the text as
  175. a filter.
  176. Fixes part of #385261.
  177. 2008-05-08 Jonathan Pobst <[email protected]>
  178. * ListBox.cs: Various fixes for MultiColumn listboxen.
  179. [Fixes bug #388114]
  180. 2008-05-08 Andreia Gaita <[email protected]>
  181. * HtmlElement.cs: Implement Style property
  182. 2008-05-08 Jonathan Pobst <[email protected]>
  183. * ListBox.cs: Respect checkboxes when measuring item size.
  184. * ThemeWin32Classis.cs: When drawing list items, don't draw
  185. text outside of the item's bounds to prevent overlapping.
  186. (.Net actually overlaps, but that's just silly.)
  187. [Fixes bug #388117]
  188. 2008-05-08 Everaldo Canuto <[email protected]>
  189. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  190. Gert Driesen. Fixes bug #324830.
  191. 2008-05-07 Everaldo Canuto <[email protected]>
  192. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  193. method implemented.
  194. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  195. * BindingSource.cs: When calling IsSynchronized, return the value of
  196. the related IList list.
  197. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  198. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  199. make a test pass.
  200. 2008-05-07 Jonathan Pobst <[email protected]>
  201. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  202. navigation to scroll the grid if the current cell is not visible.
  203. 2008-05-07 Andreia Gaita <[email protected]>
  204. * HtmlElement.cs: Implement TabIndex
  205. 2008-05-07 Jonathan Pobst <[email protected]>
  206. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  207. properties, even when there are no items.
  208. [Fixes bug #387611]
  209. 2008-05-07 Ivan N. Zlatev <[email protected]>
  210. * NativeWindow.cs: Add support for multiple handles per window.
  211. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  212. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  213. directly - use FromHandle instead.
  214. [Fixes bug #374660]
  215. 2008-05-07 Andreia Gaita <[email protected]>
  216. * HtmlElement.cs: Implement InnerHTML setter
  217. 2008-05-07 Andreia Gaita <[email protected]>
  218. * HtmlDocument.cs: Implement Focused
  219. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  220. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  221. methods, as well as add messages to the exceptions.
  222. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  223. * BindingSource.cs: Setting DataSource should only reset DataMember if
  224. the previous value was null (make pass a not working test).
  225. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  226. * BindingSource.cs: When EndInit call is postponed and is called until
  227. DataSource.EndInit is called, remove the handler for data source.
  228. 2008-05-06 Jonathan Pobst <[email protected]>
  229. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  230. 2008-05-06 Jonathan Pobst <[email protected]>
  231. * ToolStripManager.cs: Store references to toolstrips as
  232. weak references so they do not prevent forms from getting collected.
  233. [Fixes bug #386483]
  234. 2008-05-06 Jonathan Pobst <[email protected]>
  235. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  236. on .Net. So do the same thing in WndProc.
  237. 2008-05-06 Jonathan Pobst <[email protected]>
  238. * TrackBar.cs: Commit patch from Andy Hume that corrects
  239. the clickable areas to better match .Net.
  240. [Fixes bug #387074]
  241. 2008-05-06 Jonathan Pobst <[email protected]>
  242. * TrackBar.cs: Commit patch from Andy Hume that adds the
  243. ResizeRedraw control flag so the track bar repaints itself
  244. when it is resized. [Fixes bug #387072]
  245. 2008-05-06 Jonathan Pobst <[email protected]>
  246. * TrackBar.cs: Commit patch from Andy Hume that adds better
  247. support for keyboard navigation when the TrackBar is vertical.
  248. [Fixes bug #387071]
  249. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  250. * BindingSource.cs: Implement ISupportInitializeNotification support.
  251. 2008-05-06 George Giolfan <[email protected]>
  252. * ThemeVisualStyles.cs: Added support for ToolBar.
  253. 2008-05-06 George Giolfan <[email protected]>
  254. * ToolBar.cs: Made the Vertical property internal.
  255. 2008-05-05 George Giolfan <[email protected]>
  256. * ThemeVisualStyles.cs: Added support for TrackBar.
  257. 2008-05-05 George Giolfan <[email protected]>
  258. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  259. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  260. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  261. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  262. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  263. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  264. 2008-05-05 George Giolfan <[email protected]>
  265. * ThemeVisualStyles.cs: Added support for UpDownBase.
  266. 2008-05-05 George Giolfan <[email protected]>
  267. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  268. Extracted Theme.UpDownBaseDrawButton.
  269. 2008-05-05 Jonathan Pobst <[email protected]>
  270. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  271. removed from the static toolstrips collection in ToolStripManager
  272. when they are disposed. Provides a workaround for bug #386483.
  273. 2008-05-05 Ivan N. Zlatev <[email protected]>
  274. * GridEntry.cs: Read-only properties with Editor with
  275. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  276. [Fixes bug #384184]
  277. 2008-05-05 Jonathan Pobst <[email protected]>
  278. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  279. the menu key and there are no items on the menu.
  280. [Fixes bug #386644]
  281. 2008-05-05 Sebastien Pouliot <[email protected]>
  282. * Control.cs: Avoid calling ToString on a string.
  283. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  284. * GroupBox.cs: In FlatStyle property throw, not just create, the
  285. exception. Avoid calling ToString on a string.
  286. * ProgressBar.cs: Avoid calling ToString on a string.
  287. * ScrollBar.cs: Avoid calling ToString on a string.
  288. [All issues were found using Gendarme]
  289. 2008-05-05 Everaldo Canuto <[email protected]>
  290. * NotifyIcon.cs: Prevent click events to be trigger after double click
  291. events. Fixes remaining issues of bug #324832.
  292. 2008-05-05 Everaldo Canuto <[email protected]>
  293. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  294. to mimic win32 behavior. Partially fixes bug #324832.
  295. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  296. * BindingSource.cs: Implement Find methods.
  297. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  298. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  299. RemoveSort methods.
  300. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  301. * ListBindingHelper.cs: When calling GetListItemProperties and the
  302. passed object is ITypedList, return the result of
  303. ITypedList.GetItemProperties instead.
  304. 2008-05-04 Everaldo Canuto <[email protected]>
  305. * LinkLabel.cs: Set default value of name on constructor of Link class
  306. only for 2.0 profile.
  307. 2008-05-04 Everaldo Canuto <[email protected]>
  308. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  309. Fixes remaining issues of bug #346154.
  310. 2008-05-04 Everaldo Canuto <[email protected]>
  311. * LinkLabel.cs: Set a default value for name on internal contructor of
  312. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  313. 2008-05-04 Everaldo Canuto <[email protected]>
  314. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  315. and refer all instances to owner.links. Partially fixes #346154.
  316. 2008-05-03 Everaldo Canuto <[email protected]>
  317. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  318. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  319. the LinkLabel test 'TestLinkArea'.
  320. 2008-05-03 Everaldo Canuto <[email protected]>
  321. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  322. [Fixes #386460]
  323. 2008-05-03 Everaldo Canuto <[email protected]>
  324. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  325. [Fixes #386463]
  326. 2008-05-03 Everaldo Canuto <[email protected]>
  327. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  328. [Fixed bug #357004]
  329. 2008-05-03 Everaldo Canuto <[email protected]>
  330. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  331. 2008-05-03 Everaldo Canuto <[email protected]>
  332. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  333. [Fixes bug #375398]
  334. 2008-05-03 Everaldo Canuto <[email protected]>
  335. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  336. of bug #367492.
  337. 2008-05-03 Everaldo Canuto <[email protected]>
  338. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  339. sometimes we open a conext menu on mouse down of some controls and the mouse
  340. up is dispatched to menu and dont need to. It fix remaining issues of
  341. #363711 and other problems related to menu mouse click events.
  342. 2008-05-02 Everaldo Canuto <[email protected]>
  343. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  344. some var names to better fit changes, now we have month_menu and today_menu
  345. vars. Fixes bug #363711.
  346. 2008-05-02 Everaldo Canuto <[email protected]>
  347. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  348. right now the default month menu but it will be change to have "Go to today"
  349. menu.
  350. 2008-05-02 Jonathan Pobst <[email protected]>
  351. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  352. 2008-05-02 Everaldo Canuto <[email protected]>
  353. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  354. 2008-05-02 George Giolfan <[email protected]>
  355. * ThemeVisualStyles.cs: Added support for TreeView.
  356. 2008-05-02 George Giolfan <[email protected]>
  357. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  358. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  359. 2008-05-02 Jonathan Pobst <[email protected]>
  360. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  361. 2008-05-02 Jonathan Pobst <[email protected]>
  362. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  363. Implement 2.0 SP1 stuffs.
  364. 2008-05-02 Jonathan Pobst <[email protected]>
  365. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  366. 2008-05-02 Jonathan Pobst <[email protected]>
  367. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  368. Implement CanEnableIme property. (2.0 SP1)
  369. 2008-05-02 Jonathan Pobst <[email protected]>
  370. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  371. from the 2.0 API.
  372. 2008-05-02 Jonathan Pobst <[email protected]>
  373. * Control.cs: Provide an internal way for a control to override
  374. the setting of Height.
  375. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  376. set height using new method.
  377. 2008-05-02 George Giolfan <[email protected]>
  378. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  379. 2008-05-02 George Giolfan <[email protected]>
  380. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  381. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  382. 2008-05-02 George Giolfan <[email protected]>
  383. * ThemeVisualStyles.cs: Added support for StatusBar.
  384. 2008-05-02 Jonathan Pobst <[email protected]>
  385. * DataObject.cs: Add the other IDataObject interface.
  386. 2008-05-02 George Giolfan <[email protected]>
  387. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  388. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  389. 2008-05-02 Jonathan Pobst <[email protected]>
  390. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  391. * ListView.cs: Hide non-public API.
  392. * MaskedTextBox.cs: Remove extra attribute.
  393. 2008-05-02 Jonathan Pobst <[email protected]>
  394. * DataGridViewImageCell.cs: Use formatted value instead of value
  395. to calculate preferred size.
  396. 2008-05-01 Jonathan Pobst <[email protected]>
  397. * ListBox.cs: Move some initialization around so that selected_indices
  398. is not accessed before it is created.
  399. 2008-05-01 Jonathan Pobst <[email protected]>
  400. * InputLanguageCollection.cs: Implement the collection better.
  401. [Fixes bug #385506]
  402. 2008-05-01 Jonathan Pobst <[email protected]>
  403. * ToolStripDropDownItem.cs: Get the correct event object for
  404. DropDownItemClicked.
  405. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  406. [Fixes bug #385475]
  407. 2008-05-01 Jonathan Pobst <[email protected]>
  408. * DataGridViewRowCollection.cs: We don't currently support shared
  409. rows. Should fix test failures caused by previous commit.
  410. 2008-04-30 Jonathan Pobst <[email protected]>
  411. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  412. datagridview gets set. Only paint cells in visible columns.
  413. * DataGridViewCell.cs: Draw border after cell content.
  414. * DataGridView.cs: Invalidate after setting some properties. Only
  415. use visible columns. Fit hit test bug with areas in the col/row header
  416. area but not in a row or col. Implement UpdateCell/Row methods.
  417. 2008-04-30 Jonathan Pobst <[email protected]>
  418. * DataGridViewElement.cs: Don't throw NIEX.
  419. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  420. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  421. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  422. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  423. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  424. if the user filled in the formatting Value, use it.
  425. 2008-04-30 Jonathan Pobst <[email protected]>
  426. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  427. to a string.
  428. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  429. * BindingSource.cs: Some corrections to Filter property, as well as
  430. setting it for our list when resetting it.
  431. 2008-04-29 Jonathan Pobst <[email protected]>
  432. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  433. than the maximum. Fixes reopened bug #384182.
  434. 2008-04-28 Everaldo Canuto <[email protected]>
  435. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  436. Fixes remaining issues of #367490.
  437. 2008-04-28 Everaldo Canuto <[email protected]>
  438. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  439. SystemInformation.WorkingArea to get max_screen value.
  440. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  441. * BindingSource.cs: Implement Filter and RemoveFilter.
  442. 2008-04-28 Everaldo Canuto <[email protected]>
  443. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  444. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  445. * X11Dnd.cs: When trying to convert data and we know we started the
  446. dnd loop, don't try to use the cached data if the loop is not running,
  447. which means that the data has been resetted.
  448. Fixes #378191.
  449. 2008-04-28 Everaldo Canuto <[email protected]>
  450. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  451. win32 behavior.
  452. 2008-04-28 Everaldo Canuto <[email protected]>
  453. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  454. it to drawn off screen edge. Fixes bug #367490.
  455. 2008-04-28 Everaldo Canuto <[email protected]>
  456. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  457. menu position to have only one assignment of Location var.
  458. 2008-04-28 Everaldo Canuto <[email protected]>
  459. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  460. for this patch. Fixes bug #384115.
  461. 2008-04-28 Jonathan Pobst <[email protected]>
  462. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  463. the same. If LargeChange is zero, set a minimum size for the scroll
  464. thumb grip. [Fixes bug #384182]
  465. 2008-04-28 Jonathan Pobst <[email protected]>
  466. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  467. [Fixes bug #384181]
  468. 2008-04-28 Jonathan Pobst <[email protected]>
  469. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  470. 2008-04-28 George Giolfan <[email protected]>
  471. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  472. patch from Ernesto).
  473. 2008-04-28 George Giolfan <[email protected]>
  474. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  475. 2008-04-28 George Giolfan <[email protected]>
  476. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  477. 2008-04-28 George Giolfan <[email protected]>
  478. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  479. 2008-04-28 George Giolfan <[email protected]>
  480. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  481. 2008-04-27 George Giolfan <[email protected]>
  482. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  483. 2008-04-27 Andreia Gaita <[email protected]>
  484. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  485. supposed to return a reference to an mshtml interface, which we
  486. don't support).
  487. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  488. reference to an mshtml interface, which we don't support). Code
  489. formatting cleanup.
  490. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  491. DomDocument getter (it's supposed to return a reference to an
  492. mshtml interface, which we don't support). Code formatting cleanup.
  493. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  494. * ListView.cs: Ouch, forgot to commit.
  495. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  496. * ListView.cs:
  497. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  498. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  499. * ListView.cs: When calculating box selection for virtual mode, don't
  500. look for intersection with item's text, but item bounds, since that
  501. would mean read ListViewItem's text for _every_ item, and that's
  502. something we just can't do in virtual mode (items are only requested
  503. when drawn).
  504. 2008-04-26 George Giolfan <[email protected]>
  505. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  506. partial support for managed windows (based on the patch from Ernesto).
  507. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  508. * ListView.cs: When doing a key search use FindItemWithText method
  509. instead of doing the search by ourselves, this way we avoid
  510. duplicating the code and also we handle the special case for virtual
  511. mode. To achieve that make our private overload of FindItemWithText
  512. internal and also have a 'roundtrip' parameter.
  513. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  514. * ListView.cs: When doing the layout don't request the
  515. ListViewItem instance if we are in virtual mode (since we can't request it
  516. until the item is actully drawn).
  517. 2008-04-25 George Giolfan <[email protected]>
  518. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  519. from Ernesto).
  520. 2008-04-25 George Giolfan <[email protected]>
  521. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  522. the patch from Ernesto).
  523. 2008-04-25 George Giolfan <[email protected]>
  524. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  525. * ThemeVisualStyles.cs: Added.
  526. 2008-04-25 George Giolfan <[email protected]>
  527. * IDeviceContext.cs: Added a missing using.
  528. 2008-04-25 George Giolfan <[email protected]>
  529. * ButtonBase.cs: Made IsDefault protected internal.
  530. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  531. 2008-04-25 George Giolfan <[email protected]>
  532. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  533. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  534. RadioButtonRenderer.cs: Included in the 1.1 profile.
  535. * IDeviceContext.cs: Added.
  536. * TextRenderer.cs: Included a member in the 1.1 profile.
  537. 2008-04-25 George Giolfan <[email protected]>
  538. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  539. 2008-04-24 Jonathan Pobst <[email protected]>
  540. * ErrorProvider.cs: Make the error icons come after the control
  541. they refer to. It isn't the way the MS does it, but its better
  542. than what we were doing. See bug #368587.
  543. 2008-04-24 Jonathan Pobst <[email protected]>
  544. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  545. from Eric Albright that lazy loads the input language as ensures
  546. everything gets properly initialized. Fixes bug #373871.
  547. 2008-04-24 Jonathan Pobst <[email protected]>
  548. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  549. implicit mnemonics. [Fixes bug #383000]
  550. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  551. * X11Dnd.cs: When canceling the operation, automatically restore the
  552. default cursor - normally the default cursor is restored when the
  553. mouse buttons are released, but we should be able to restore it even
  554. if the buttons are still pressed (for example, when pressing ESC to
  555. cancel).
  556. Fixes #381894.
  557. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  558. * X11Dnd.cs: When starting a new drad and drop operation, set control
  559. field to null, just as the other fields, to avoid calling any
  560. operation on a previous control. Also, when calling DndLeave on a
  561. control, set it to null, thus we don't fire that event multiple times
  562. for that control.
  563. Fixes #209264.
  564. 2008-04-23 Geoff Norton <[email protected]>
  565. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  566. the whole_window object. Fixes #377084.
  567. 2008-04-23 Andreia Gaita <[email protected]>
  568. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  569. embedded browser)
  570. 2008-04-23 Jonathan Pobst <[email protected]>
  571. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  572. 2008-04-23 Andreia Gaita <[email protected]>
  573. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  574. invocation
  575. 2008-04-23 Andreia Gaita <[email protected]>
  576. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  577. attaching/detaching
  578. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  579. * X11Dnd.cs: When the drop was cancelled, or could just not be
  580. performed, return DragDropEffect.None always (match .net).
  581. 2008-04-22 Jonathan Pobst <[email protected]>
  582. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  583. 2008-04-22 Jonathan Pobst <[email protected]>
  584. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  585. 2008-04-22 Jonathan Pobst <[email protected]>
  586. * DataGridView.cs: Add support for error icon tool tips.
  587. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  588. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  589. 2008-04-22 Ivan N. Zlatev <[email protected]>
  590. * X11Structs.cs: Add mouse button masks enum.
  591. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  592. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  593. form resize/move operation instead of for each step of it.
  594. [Fixes bug #346529 for the x11 backend]
  595. 2008-04-21 Jonathan Pobst <[email protected]>
  596. * DataGridView*: Implement support for drawing error icons.
  597. 2008-04-21 Jonathan Pobst <[email protected]>
  598. * TreeView.cs: Make vbar and hbar internal.
  599. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  600. scrollbars, invalidate the whole thing.
  601. [Fixes bug #382001]
  602. 2008-04-21 Jonathan Pobst <[email protected]>
  603. * TreeView.cs: Calling Sort() sets Sorted = true.
  604. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  605. if the nodes need to be sorted.
  606. [Fixes bug #382028]
  607. 2008-04-21 Ivan N. Zlatev <[email protected]>
  608. * Form.cs: Fire SizeChanged for both when the form is minimized and
  609. restored.
  610. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  611. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  612. 2008-04-21 Jonathan Pobst <[email protected]>
  613. * ComboBox.cs: If the combobox is disabled, draw a disabled
  614. background before painting anything else.
  615. [Fixes bug #381729]
  616. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  617. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  618. forget to send a Leave event to the target window - just as .net does
  619. when cancelling dnd operations.
  620. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  621. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  622. soon as possible - this happens when we send the drop message to the
  623. target window. This way we avoid firing any DragOver _after_ drop finished.
  624. Fixes #378179.
  625. 2008-04-20 Ivan N. Zlatev <[email protected]>
  626. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  627. * Form.cs: Handle form minimization as a special state, where size doesn't
  628. change, but we have to fire SizeChanged.
  629. [Fixes bug #325122 for the win32 and x11 backends]
  630. 2008-04-20 Ivan N. Zlatev <[email protected]>
  631. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  632. if the handle is disabled.
  633. [Fixes bug #371751]
  634. 2008-04-20 Ivan N. Zlatev <[email protected]>
  635. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  636. for forms with FormBorderStyle.None.
  637. [Fixes bug #349571]
  638. 2008-04-20 Ivan N. Zlatev <[email protected]>
  639. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  640. WM_EXITSIZEMOVE.
  641. [Fixes bug #346529 for the X11 backend]
  642. 2008-04-19 Ivan N. Zlatev <[email protected]>
  643. * XplatUIX11.cs:
  644. - Send a mouse Enter message after say dragging the mouse with a
  645. button down and then release it in another client.
  646. - Reset the cursor to prevent X11 from remembering it and setting it
  647. before the control gets WM_SETCURSOR.
  648. - Qeueue a mouse move after a mouse enter like win32.
  649. [Fixes bug #323234]
  650. 2008-04-19 Ivan N. Zlatev <[email protected]>
  651. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  652. It's sent when the form gets moved, resized, closed.
  653. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  654. [Fixes bug #359193 for X11]
  655. 2008-04-19 Ivan N. Zlatev <[email protected]>
  656. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  657. the build.
  658. 2008-04-19 Ivan N. Zlatev <[email protected]>
  659. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  660. group. Fixes the 1.1 build.
  661. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  662. * ListView.cs: Use display indexes for selection in Details view, as
  663. well as do the proper layout based on display indexes for that view
  664. too.
  665. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  666. * ListView.cs: Focused item information is now stored as a display
  667. index, and display indexes are used all over the place for selection,
  668. instead of ListViewItem.Index values, which doesn't give us enough
  669. information to modify the selection in groups mode, and was broken.
  670. 2008-04-18 Ivan N. Zlatev <[email protected]>
  671. * Control.cs: Do not fire MouseDown if validation of the control has
  672. failed.
  673. * Form.cs: Validate the form before closing.
  674. [Fixes bugs #330501 and #353310]
  675. 2008-04-18 Andreia Gaita <[email protected]>
  676. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  677. CreateWebBrowserSiteBase implementations
  678. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  679. Style and TabIndex setters
  680. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  681. * ListViewGroup.cs: When returning the actual item count, return the
  682. proper count for default group.
  683. Fix the tests.
  684. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  685. * ListView.cs:
  686. * ListViewGroup.cs: When calculating groups layout, get the actual
  687. number of items per group, since groups added to the group BUT not
  688. added to the ListView are just ignored, and can cause some nasty
  689. exceptions because of the lack of synchronization. Also for
  690. ListViewGroup don't use lazy initialization for items, since we
  691. the common scenario is to use it always - and it helps us to refactor
  692. and clean the .ctor overloads.
  693. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  694. * ListView.cs: When adding an item to a ListViewItemCollection
  695. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  696. the added item hasn't beeen previously added to the ListView instance
  697. refered by the group, since it will be ignored. This should avoid some
  698. really nasty flickering.
  699. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  700. * ListView.cs: When accessing an item in a specific display
  701. position, use the helper method GetItemAtDisplayIndex, instead of
  702. direct access to the reordered_items_indices array. When doing layout
  703. for groups set the correct Items index for the display position (since
  704. in groups mode items don't have the same position as in Items
  705. collection).
  706. * ListViewGroup.cs: Add a field to store the starting item number,
  707. which is later used when calculating the layout.
  708. Fixes #360805.
  709. 2008-04-17 Gert Driesen <[email protected]>
  710. * Application.cs: Fixed ProductVersion to fallback to the assembly
  711. version. Fixes regression for bug #325413.
  712. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  713. * ListView.cs: New helper method to retrieve an item in a _specific
  714. display_ position (the items can be displayed in a different order
  715. than one of Items collection).
  716. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  717. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  718. specific display position (again remember that items can be sorted
  719. different than Items).
  720. 2008-04-16 Jonathan Pobst <[email protected]>
  721. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  722. list and update it when the collection changes. We were recreating
  723. this several times per row paint and for every pixel the mouse moved
  724. across the grid.
  725. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  726. changes.
  727. 2008-04-16 Jonathan Pobst <[email protected]>
  728. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  729. list to use generics.
  730. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  731. and remove unneccessay casts.
  732. 2008-04-16 Jonathan Pobst <[email protected]>
  733. * DataGridViewBand.cs: Add internal way to set displayed variable.
  734. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  735. * DataGridView.cs: Make sure we always keep track of Displayed
  736. rows and columns, and only draw things that are displayed.
  737. 2008-04-16 Atsushi Enomoto <[email protected]>
  738. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  739. whether the key events are filtered or not. Introduced
  740. PreFilter() process for this purpose. This fixes atokx3/iiimx
  741. shift state issue.
  742. 2008-04-16 Andreia Gaita <[email protected]>
  743. * HtmlHistory.cs: Implement Length property
  744. 2008-04-15 Jonathan Pobst <[email protected]>
  745. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  746. away the edit textbox. Refactor to reuse column sort code.
  747. 2008-04-12 Everaldo Canuto <[email protected]>
  748. * MenuAPI.cs: Remove the code that save and restore capture status of
  749. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  750. cause some others, I cant figure the possible problems of this patch but
  751. right now remove the code looks to be better than keep it. This patch fixes
  752. bugs #357638, #378721 and #379570.
  753. 2008-04-12 Andreia Gaita <[email protected]>
  754. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  755. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  756. add missing properties and event handlers.
  757. 2008-04-14 Jonathan Pobst <[email protected]>
  758. * ListBox.cs: Make sure the LargeChange we are setting is at least
  759. zero, to prevent an IOORE. [Fixes bug #379531]
  760. 2008-04-13 Andy Hume <[email protected]>
  761. * ComboBox.cs: Support item navigation by entering text. Firstly,
  762. in DropDownList mode, for each key-press select the next item
  763. starting with that letter.
  764. For other modes, when no item selected, on arrow-up/-down and open
  765. drop-down select the first item matching the text in the textbox.
  766. 2008-04-14 Atsushi Enomoto <[email protected]>
  767. * X11Keyboard.cs : Control.FromHandle() could return null
  768. in MoveCurrentCaretPos().
  769. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  770. * ListView.cs: When changing the size in VirtualMode, also Reset the
  771. selection.
  772. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  773. changing selection info for VirtualMode.
  774. Fixes #372618.
  775. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  776. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  777. view, don't use LineLimit for the first item - use NoWrap *always*
  778. instead, since ListView.LabelWrap is not used for this view.
  779. Fixes #378054.
  780. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  781. * Binding.cs: Call UpdateIsBinding when setting control - probably
  782. Binding is already usable and we don't need to wait to check the
  783. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  784. Created, just like 2.0 does.
  785. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  786. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  787. * Binding.cs: Just realized we don't need to have a handler for
  788. BindingContextChanged, since this info should be now consumed directly
  789. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  790. state info is checked directly, instead of caching it.
  791. * CurrencyManager.cs: IsSuspended should return always false if Count
  792. == 0.
  793. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  794. * Binding.cs: When calling PushData, return if manager.Count == 0,
  795. since we just don't have data to be read. Also, when setting the
  796. Control for binding, hook up some events to refresh the IsBinding
  797. state when BindingContext change or control gets created; use
  798. Control.IsHandleCreated instead of Control.Created check to set
  799. IsBinding state - we *actually* need to modify IsBinding when control
  800. is created, but we don't have any Created event, only HandleCreated.
  801. Fixes part of #349364.
  802. 2008-04-11 Geoff Norton <[email protected]>
  803. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  804. warping a null Caret.
  805. 2008-04-11 Jonathan Pobst <[email protected]>
  806. * DataGridView.cs: Implement row/column autosizing methods. Implement
  807. autosorting.
  808. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  809. * DataGridViewRowCollection.cs: Add an internal sorting method.
  810. 2008-04-11 Jonathan Pobst <[email protected]>
  811. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  812. value in ListView drawing code.
  813. 2008-04-11 Jonathan Pobst <[email protected]>
  814. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  815. is clicked. Respect the user setting Cancel in FileOk.
  816. 2008-04-11 Geoff Norton <[email protected]>
  817. * ListView.cs: Avoid setting and resetting control Width/Heights and
  818. calculate the final value and set it once. Prevents a feedback loop
  819. on the mac.
  820. 2008-04-10 Jonathan Pobst <[email protected]>
  821. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  822. [Fixes bug #378869]
  823. 2008-04-10 Atsushi Enomoto <[email protected]>
  824. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  825. Add some on-the-spot code, but it seems we don't need it.
  826. 2008-04-10 Jonathan Pobst <[email protected]>
  827. * Form.cs: Add method for DataGridView to trigger focus cues
  828. even when it handles the tab keypress.
  829. 2008-04-10 Jonathan Pobst <[email protected]>
  830. * DataGridView.cs: More keyboard handling, tab, esc.
  831. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  832. when at the beginning or end of the text in the text box.
  833. 2008-04-09 Jonathan Pobst <[email protected]>
  834. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  835. 2008-04-09 Jonathan Pobst <[email protected]>
  836. * DataGridView.cs: Some fixups for showing and adding the edit control.
  837. * DataGridViewButtonColumn.cs: Implement ToString.
  838. * DataGridViewCell.cs: Size and position the control simultaneously.
  839. * DataGridViewTextBoxCell.cs: Use base to position control.
  840. 2008-04-09 Jonathan Pobst <[email protected]>
  841. * DataGridViewCell.cs: Fix up some formatting and painting code.
  842. * DataGridViewImageCell.cs: Implement some NIEX methods.
  843. 2008-04-09 Jonathan Pobst <[email protected]>
  844. * ToolStripItemCollection.cs: What moving an item from one owner
  845. to another, remove from source owner before adding to destination.
  846. [Fixes bug #378109]
  847. 2008-04-09 Jonathan Pobst <[email protected]>
  848. * PictureBox.cs: Call Load when ImageLocation is set.
  849. [Fixes bug #378308]
  850. 2008-04-09 Atsushi Enomoto <[email protected]>
  851. * X11Keyboard.cs, XplatUIX11.cs :
  852. Implement over-the-spot mode (with some odd offsets).
  853. - set preedit position when caret is set.
  854. - Wrap XMoveResizeWindow() to move preedit position.
  855. 2008-04-08 Everaldo Canuto <[email protected]>
  856. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  857. array lenght.
  858. 2008-04-08 Everaldo Canuto <[email protected]>
  859. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  860. and ScanTableIndex public, it fix compilations errors when compiling
  861. WinForms to generate keyboard layout resources.
  862. 2008-04-08 Everaldo Canuto <[email protected]>
  863. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  864. different element count than scan table. It prevents some errors in non
  865. standard keyboards.
  866. 2008-04-08 Jonathan Pobst <[email protected]>
  867. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  868. 2008-04-08 Jonathan Pobst <[email protected]>
  869. * DataGridView.cs: Call OnContentClick.
  870. * DataGridViewCell.cs: Do a null check on ValueType instead
  871. of valueType.
  872. * DataGridViewCheckBoxCell.cs: Implement.
  873. 2008-04-08 Atsushi Enomoto <[email protected]>
  874. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  875. 2008-04-08 Atsushi Enomoto <[email protected]>
  876. * X11Keyboard.cs : Check XGetIMValues() return value in
  877. case it does not return input styles in some environment.
  878. 2008-04-08 Atsushi Enomoto <[email protected]>
  879. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  880. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  881. * BindingContext.cs: Stub UpdateBinding method.
  882. 2008-04-07 Atsushi Enomoto <[email protected]>
  883. * X11Structs.cs : added couple of structs for XIM support.
  884. * X11Keyboard.cs :
  885. Release XIM in case it failed to create XIC.
  886. Use consts for XNblah string.
  887. Add support for IM style customization and XIC creation
  888. for preedit-position and preedit-callback.
  889. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  890. (list of: over-the-spot | on-the-spot | root). Only root
  891. mode works so far.
  892. (redoing r99172 with fix.)
  893. 2008-04-07 Jonathan Pobst <[email protected]>
  894. * TreeView.cs: Center the checkbox a little better.
  895. 2008-04-07 Jonathan Pobst <[email protected]>
  896. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  897. Apply very nice patch from Ernesto Carrea that simplifies our
  898. scrollbar drawing. [From bug #376146]
  899. 2008-04-07 Jonathan Pobst <[email protected]>
  900. * TreeView.cs: Correct the location of the root node checkbox when
  901. ShowRootLines = false. Don't draw the root lines for the root node
  902. when ShowRootLines = false. [Fixes bug #377535]
  903. 2008-04-06 Gert Driesen <[email protected]>
  904. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  905. Fixed line endings.
  906. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  907. line endings.
  908. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  909. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  910. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  911. * ImeMode.cs: Added missing field.
  912. * HtmlWindow.cs: Code formatting. Fixed line endings.
  913. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  914. warnings.
  915. * HtmlHistory.cs: Code formatting. Fixed line endings.
  916. * HtmlDocument.cs: Code formatting. Fixed line endings.
  917. * ToolStripPanel.cs: Added missing IList implementation.
  918. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  919. 2008-04-06 Gert Driesen <[email protected]>
  920. * BindingContext.cs: Changed argument names to fix corcompare errors.
  921. * DataGridView.cs: Removed extra explicit interface implementation
  922. of IDropTarget. Code formatting.
  923. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  924. * ComboBox.cs: Changed argument names to fix corcompare errors.
  925. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  926. errors.
  927. * GridColumnStylesCollection.cs: Changed argument names to fix
  928. corcompare errors. Removed extra tabs.
  929. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  930. errors.
  931. * Control.cs: Changed argument names to fix corcompare errors. Code
  932. formatting. Removed extra explicit IList implementation.
  933. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  934. formatting. Use string.Empty instead of "".
  935. * GridItemCollection.cs: Changed argument names to fix corcompare
  936. errors. Code formatting.
  937. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  938. corcompare errors. Code formatting.
  939. * ImageList.cs: Changed argument names to fix corcompare errors.
  940. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  941. * DataGridViewRowCollection.cs: Changed argument names to fix
  942. corcompare errors. Code formatting.
  943. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  944. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  945. fix corcompare errors. Code formatting.
  946. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  947. corcompare errors. Code formatting.
  948. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  949. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  950. formatting.
  951. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  952. Code formatting.
  953. * BindingSource.cs: Changed argument names to fix corcompare errors.
  954. Removed extra explicit interface implementations.
  955. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  956. fix corcompare errors. Code formatting.
  957. * ToolStripItemCollection.cs: Removed extra explicit interface
  958. implementation of IList.ReadOnly.
  959. * DataGridViewColumnCollection.cs: Changed argument names to fix
  960. corcompare errors. Code formatting.
  961. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  962. * ListView.cs: Changed argument names to fix corcompare errors.
  963. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  964. errors.
  965. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  966. errors.
  967. * ListBindingHelper.cs: Changed argument names to fix corcompare
  968. errors.
  969. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  970. fix corcompare errors. Code formatting.
  971. * ToolStripPanel.cs: Removed extra explicit implementation of
  972. IDropTarget interface.
  973. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  974. formatting. Removed extra tabs and spaces.
  975. * DataGridViewCellCollection.cs: Changed argument names to fix
  976. corcompare errors.
  977. * Help.cs: Changed argument names to fix corcompare errors. Code
  978. formatting.
  979. * TabControl.cs: Changed argument names to fix corcompare errors.
  980. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  981. errors.
  982. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  983. errors.
  984. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  985. * ListBindingHelper.cs: When returning properties, only return those
  986. that are browsable. Also, don't do a linear search of the properties,
  987. but use the indexer of the PropertyDescriptorCollection class.
  988. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  989. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  990. Dictionary containing the related (child) currency managers. Also,
  991. when setting DataSource, add datasource to our List if it is not a list.
  992. 2008-04-05 Ivan N. Zlatev <[email protected]>
  993. * PropertyGridTextBox.cs: Fix background color of the buttons.
  994. * PropertyGridView.cs: Make the entry less jumpy.
  995. 2008-04-05 Ivan N. Zlatev <[email protected]>
  996. * PropertyGrid.cs: Fix unused variable warnings.
  997. 2008-04-05 Ivan N. Zlatev <[email protected]>
  998. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  999. double-click. It expanded it once in the mouse down and then
  1000. again in the double-click handler.
  1001. 2008-04-04 Ivan N. Zlatev <[email protected]>
  1002. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  1003. TypeConverter and UITypeEditors.
  1004. 2008-04-04 Ivan N. Zlatev <[email protected]>
  1005. * Control.cs: Visibility should be set synchronously,
  1006. so we must also redraw once it is and not rely on layouting or
  1007. other code to repaint.
  1008. [Fixes bug #339898]
  1009. 2008-04-04 Jonathan Pobst <[email protected]>
  1010. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  1011. 2008-04-03 Jonathan Pobst <[email protected]>
  1012. * Control.cs: Invalidate when the alpha channel is less than 255,
  1013. not only when control is transparent.
  1014. 2008-04-03 Jonathan Pobst <[email protected]>
  1015. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  1016. Implement some painting convenience methods that threw NIEX.
  1017. 2008-04-03 Jonathan Pobst <[email protected]>
  1018. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  1019. * DataGridViewLinkCell.cs: Implement.
  1020. 2008-04-03 Ivan N. Zlatev <[email protected]>
  1021. * GridEntry.cs: Report the conversion exception error description.
  1022. [Fixes bug #375792]
  1023. 2008-04-03 Ivan N. Zlatev <[email protected]>
  1024. * PropertyGridView.cs: Do not scroll to item on resize.
  1025. [Fixes bug #375789]
  1026. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  1027. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  1028. dataSource parameter is ICurrencyManagerProvider, then return
  1029. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  1030. instead of creating a new one.
  1031. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  1032. * BindingSource.cs: Implement support for Type instances as
  1033. DataSource.
  1034. 2008-04-02 Jonathan Pobst <[email protected]>
  1035. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  1036. * DataGridViewCell.cs: Make some painting routines internally virtual.
  1037. * DataGridViewButtonCell.cs: Implement.
  1038. 2008-04-02 Jonathan Pobst <[email protected]>
  1039. * Control.cs: We always need to invalidate our children with
  1040. transparent backgrounds when we are invalidated.
  1041. [Fixes bug #376081]
  1042. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  1043. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  1044. and CancelCurrentEdit on CurrencyManager respectively. Implement
  1045. support for ICancelAddNew too.
  1046. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  1047. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  1048. call EndNew/CancelNew if list is ICancelAddNew.
  1049. 2008-04-01 Jonathan Pobst <[email protected]>
  1050. * DataGridView.cs: Guard against an exception while painting
  1051. if there are no rows.
  1052. 2008-04-01 Jonathan Pobst <[email protected]>
  1053. * DataGridView.cs: Implement a bunch of keyboard commands.
  1054. 2008-03-31 Jonathan Pobst <[email protected]>
  1055. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  1056. isn't set, don't call OnPaint. [Fixes bug #375300]
  1057. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  1058. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  1059. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  1060. hookup the remaining events related to CurrencyManager, and fire
  1061. OnListChanged also for the Clear () method.
  1062. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  1063. * BindingSource.cs: Use Current and Position implementations in
  1064. CurrencyManager instead of using our own routines, since we need
  1065. to be in synch with it. Count should NEVER return a -1 value, and
  1066. also report ListChanged events for both simple IList data
  1067. sources (manually) as well for IBindingList ones (by hooking up an
  1068. event handler for it).
  1069. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  1070. * BindingSource.cs: Make one .ctor call the another, to avoid
  1071. duplicate code. Add the CurrencyManager property, and also for AddNew
  1072. throw the proper exceptions and show better error messages.
  1073. 2008-03-28 Jonathan Pobst <[email protected]>
  1074. * ComboBox.cs: Only adjust selectedindex if Handle has been
  1075. created. Fixes failing test.
  1076. 2008-03-28 Jonathan Pobst <[email protected]>
  1077. * ComboBox.cs: Adjust selectedindex if we insert a new item
  1078. above the current selectedindex in a sorted ComboBox.
  1079. [Fixes bug #374654]
  1080. 2008-03-28 Jonathan Pobst <[email protected]>
  1081. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  1082. [Fixes bug #374712]
  1083. 2008-03-28 Jonathan Pobst <[email protected]>
  1084. * DataGridViewTextBoxCell.cs: Implement stuffs.
  1085. 2008-03-27 Jonathan Pobst <[email protected]>
  1086. * TreeView.cs: Create the scrollbars even earlier to be
  1087. double dog certain they are created before they are accessed.
  1088. 2008-03-27 Jonathan Pobst <[email protected]>
  1089. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  1090. 2008-03-27 Jonathan Pobst <[email protected]>
  1091. * ScrollBar.cs: Create an internal safe Value setter so we
  1092. won't crash if we try to set a value outside the min and max.
  1093. * TextBoxBase.cs: Use safe value setter to guard against a
  1094. potential NRE that is being reported by Reflector.
  1095. 2008-03-27 Jonathan Pobst <[email protected]>
  1096. * TreeView.cs: Create the scrollbars earlier in the constructor
  1097. to attempt to guard against an NRE in SetTop in Reflector.
  1098. 2008-03-27 Jonathan Pobst <[email protected]>
  1099. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  1100. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  1101. show messagebox on data format error, use column display index
  1102. correctly, make sure HitTest supports new layout stuff,
  1103. make sure scrollbars support new layout stuff.
  1104. 2008-03-27 Atsushi Enomoto <[email protected]>
  1105. * XplatUIX11.cs : Patch by Doug Rintoul.
  1106. For some IM engines, keypress events need to delay call
  1107. to XPending() and XNextEvent() in the loop so that it
  1108. does not mess the orders in XIM commit callback.
  1109. Some KeyRelease events such as shift keys need to be
  1110. processed both in the IM engine and winforms driver
  1111. itself since winforms holds its own state check.
  1112. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  1113. 2008-03-27 Atsushi Enomoto <[email protected]>
  1114. * X11Keyboard.cs, XplatUIX11.cs :
  1115. add primitive support for XIM input support (preedit-
  1116. nothing and status-nothing). It requires precise event
  1117. capturing (XSelectInput/"filterEvents") and different
  1118. call to XFilterEvent against root window.
  1119. Get composed string and send dummy WM_IME_COMPOSITION.
  1120. Free XIM and XIC instances in finalizer.
  1121. (This first patch does not include suggested changes
  1122. by Doug Rintoul. It will follow.)
  1123. 2008-03-26 Jonathan Pobst <[email protected]>
  1124. * DataGridView.cs: When binding to a property, if the property
  1125. doesn't have a setter, set the column to readonly.
  1126. [Fixes bug #343965]
  1127. 2008-03-26 Jonathan Pobst <[email protected]>
  1128. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  1129. we aren't dropped down. Support Home/End in DropDownList mode.
  1130. [Fixes bug #371990]
  1131. 2008-03-26 Jonathan Pobst <[email protected]>
  1132. * TreeNodeCollection.cs: Don't increment count until we've
  1133. saved our index to return.
  1134. [Fixes bug #373603]
  1135. 2008-03-25 Jonathan Pobst <[email protected]>
  1136. * Label.cs: Add padding to the label's AutoSize calculation.
  1137. [Fixes bug #373792]
  1138. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  1139. * ListBindingHelper.cs: Actually implement GetListName method.
  1140. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  1141. * BindingSource.cs: Throw the propert expceptions for some methods, as
  1142. well as detect the list item type for Add method if DataSource is null.
  1143. 2008-03-25 Jonathan Pobst <[email protected]>
  1144. * DataGridViewCell.cs: I don't know why I commented this out,
  1145. putting it back for now.
  1146. 2008-03-25 Jonathan Pobst <[email protected]>
  1147. * DataGridViewCell.cs: Remove storage for owning column, just
  1148. use column index.
  1149. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  1150. * DataGridViewColumnHeaderCell.cs: If the header text has been
  1151. explicitly set, return it.
  1152. [Fixes bug #325979]
  1153. 2008-03-25 Jonathan Pobst <[email protected]>
  1154. * DataGridViewRowCollection.cs: Disable row sharing when
  1155. using data binding. Its a great feature, but lets work on
  1156. getting DGV usable first before we worry about optimizations.
  1157. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  1158. * BindingSource.cs: When resetting our internal list, compute list
  1159. item type information to be used for indirect list access. Also
  1160. implement/tune some properties and methods related to the list access
  1161. too.
  1162. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  1163. BindingSource.
  1164. 2008-03-24 Jonathan Pobst <[email protected]>
  1165. * DataGridView.cs: If RowCount is increased while ColumnCount
  1166. is zero, add a column. [Fixes bug #331649]
  1167. 2008-03-24 Jonathan Pobst <[email protected]>
  1168. * DataGridViewRowCollection.cs: When adding new rows for
  1169. databinding, make sure they are place before the add row.
  1170. [Fixes bug #343961]
  1171. 2008-03-24 Jonathan Pobst <[email protected]>
  1172. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  1173. instead of Index order.
  1174. 2008-03-24 Jonathan Pobst <[email protected]>
  1175. * DataGridView.cs: If columns are added by increasing ColumnCount,
  1176. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  1177. [Fixes bug #325588]
  1178. 2008-03-24 Jonathan Pobst <[email protected]>
  1179. * DataGridView.cs: Turn off and on the "new row" when
  1180. AllowUserToAddRows is toggled. When the handle is created,
  1181. set current cell and selected cell/row/col.
  1182. 2008-03-24 Jonathan Pobst <[email protected]>
  1183. * ComboBox.cs: When navigating the drop down by keyboard, we
  1184. need to scroll the list box if our selection moves out of the
  1185. currently shown items. [Fixes bug #371990]
  1186. 2008-03-24 Luke Page <[email protected]>
  1187. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  1188. on the control. Also now handles unicode compatibility characters and
  1189. stores the unicode compatibility length on the stack. Fixes Bugs
  1190. #355198 and #366436.
  1191. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  1192. * BindingSource..cs: Take into account DataMember when re-creating the
  1193. List property, and also create a specific kind of list as needed.
  1194. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  1195. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  1196. get an empty IEnumerable, try to detect whether the datamember is
  1197. valid or not for that type, if true, return null, and throw exception
  1198. otherwise.
  1199. 2008-03-22 Jonathan Pobst <[email protected]>
  1200. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  1201. retract it. [Fixes bug #371989]
  1202. 2008-03-22 Ivan N. Zlatev <[email protected]>
  1203. * PropertyGrid.cs: Initialize the sorting button as pushed.
  1204. 2008-03-22 Ivan N. Zlatev <[email protected]>
  1205. * PropertyGrid.cs:
  1206. - Visually select the PropertyTab.
  1207. - Filter Properties by Attributes properly.
  1208. 2008-03-21 Jonathan Pobst <[email protected]>
  1209. * MenuItem.cs: Remove menu item from parent when disposed.
  1210. [Fixes bug #372845]
  1211. 2008-03-21 Jonathan Pobst <[email protected]>
  1212. * ToolBar.cs: Don't reset layout_type if Dock = None.
  1213. 2008-03-21 Andreia Gaita <[email protected]>
  1214. * UserControl.cs: Select the first available control when we get focus.
  1215. Fixes #372616
  1216. 2008-03-21 Jonathan Pobst <[email protected]>
  1217. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  1218. the content if we are in edit mode. [Fixes bug #343964]
  1219. 2008-03-21 Jonathan Pobst <[email protected]>
  1220. * DataGridViewCell.cs: Fix border painting for column headers.
  1221. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  1222. * BindingSource.cs: When setting or resetting data source,
  1223. use ListBindingHelper.GetList () method, since it will get the list in
  1224. case datasource is IListSource.
  1225. 2008-03-20 Jonathan Pobst <[email protected]>
  1226. * DataGridViewCell.cs: Implement lots more stuffs.
  1227. 2008-03-20 Ivan N. Zlatev <[email protected]>
  1228. * PropertyGridView.cs, GridEntry.cs: Implement support for
  1229. UITypeEditor.IsDropDownResizable.
  1230. 2008-03-20 Jonathan Pobst <[email protected]>
  1231. * DataGridViewCell.cs: Remove unused variables, improve how
  1232. several of the property getters work.
  1233. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  1234. get its size from the parent row/col.
  1235. 2008-03-20 Ivan N. Zlatev <[email protected]>
  1236. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  1237. user alters manually the PropertyTabs collection via the
  1238. PropertyTabs property.
  1239. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  1240. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  1241. new tests for them to be sure to be compatible with .net.
  1242. 2008-03-20 Andreia Gaita <[email protected]>
  1243. * WebBrowserBase.cs: Fix attributes, add events
  1244. * WebBrowser.cs: Fix Padding signature
  1245. 2008-03-20 Ivan N. Zlatev <[email protected]>
  1246. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  1247. 2008-03-19 Jonathan Pobst <[email protected]>
  1248. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  1249. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  1250. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  1251. passes the new suite of tests for it.
  1252. 2008-03-18 Andreia Gaita <[email protected]>
  1253. * WebBrowser.cs: Add missing attributes, missing Padding and
  1254. DefaultSize properties, remove extraneous getters
  1255. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  1256. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  1257. method overloads.
  1258. 2008-03-16 Jonathan Pobst <[email protected]>
  1259. * ComboBox.cs: Move resetting the selected index to keypress
  1260. instead of textchanged. Changing the text programmatically
  1261. should not trigger resetting the selected index. Fixes test.
  1262. 2008-03-16 Jonathan Pobst <[email protected]>
  1263. * ComboBox.cs: When the user types into the textbox, reset
  1264. the selected index to -1. [Fixes bug #371672]
  1265. 2008-03-16 Jonathan Pobst <[email protected]>
  1266. * FileDialog.cs: Support Control-A for selecting everything
  1267. in an OpenFileDialog. [Fixes bug #371564]
  1268. 2008-03-15 Jonathan Pobst <[email protected]>
  1269. * DataGridView.cs: When row/column visible/height properties
  1270. change, invalidate. Take the NIEX out of InvalidateRow/Column
  1271. etc. We don't support them yet, but we can just invalidate
  1272. everything until we do support them. (Added MonoTODO). Set
  1273. proper control styles.
  1274. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  1275. are turned off.
  1276. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  1277. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  1278. 2008-03-14 Jonathan Pobst <[email protected]>
  1279. * DataGridViewRow.cs: Only paint the white background in
  1280. cell bounds, the row bounds extends past the cells if the
  1281. grid width isn't as wide as the DGV.
  1282. 2008-03-14 Jonathan Pobst <[email protected]>
  1283. * DataGridView*: Completely revamp the drawing to match the
  1284. public API. Our grids now look better, and call all the
  1285. appropriate methods and event to allow users to override
  1286. the painting and do their own.
  1287. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  1288. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  1289. 2008-03-13 Jonathan Pobst <[email protected]>
  1290. * DataGridView.cs: Implement BorderStyle.
  1291. 2008-03-13 Jonathan Pobst <[email protected]>
  1292. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  1293. are comparing attributes, make sure we only look at the
  1294. one we are interested. These calls were failing if there
  1295. were more than one attribute.
  1296. [Fixes bug #370385]
  1297. 2008-03-13 Jonathan Pobst <[email protected]>
  1298. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  1299. 2008-03-12 Jonathan Pobst <[email protected]>
  1300. * PageSetupDialog.cs: Stub EnableMetric.
  1301. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  1302. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  1303. ProcessTabKey.
  1304. 2008-03-12 Jonathan Pobst <[email protected]>
  1305. * MonthCalendar.cs: Remove unused variable.
  1306. 2008-03-12 Jonathan Pobst <[email protected]>
  1307. * DataGridView*.cs: corcompare stuffs.
  1308. 2008-03-11 Jonathan Pobst <[email protected]>
  1309. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  1310. The savings aren't worth the extra code to fix the optimization.
  1311. [Fixes bug #368585]
  1312. 2008-03-11 Jonathan Pobst <[email protected]>
  1313. * ToolBar.cs: Always call base.Dock in the Dock override so that
  1314. Control's layout_type gets reset correctly.
  1315. [Fixes bug #368882]
  1316. 2008-03-11 Ivan N. Zlatev <[email protected]>
  1317. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  1318. 2008-03-11 Jonathan Pobst <[email protected]>
  1319. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  1320. at the same time we do explicit ones, because we have to give all
  1321. other controls on the container a chance to handle explicit ones
  1322. first. If no one has an explicit mnemonic, then we can let the
  1323. MenuStrip have a shot at implicit mnemonics.
  1324. * MenuStrip.cs: Create an implicit mnemonic function.
  1325. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  1326. mnemonics for MenuStrips.
  1327. [Fixes bug #368493]
  1328. 2008-03-11 Jonathan Pobst <[email protected]>
  1329. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  1330. DataGridColumnStyle.cs: corcompare stuffs.
  1331. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  1332. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  1333. Details - This is needed after we added the bits to use any available
  1334. column also for List and SmallIcon view.
  1335. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  1336. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  1337. at the proper place, not only when changing SelectedIndex and changing
  1338. the selection using keys/mouse, as .net does.
  1339. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  1340. * ControlBindingsCollection.cs: Implement last 2.0
  1341. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  1342. in the new 2.0 Add methods.
  1343. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  1344. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  1345. return if no items are previously selected - this is done to avoid
  1346. firing OnSelectedIndexChanged without need to do so. Also,
  1347. when creating handle ensure that the focused item is visible (as
  1348. .net does).
  1349. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  1350. * ListBox.cs: Rewrote/refactored most of selection code. We require
  1351. the following things in selection: a) keep selection sorted (both
  1352. indices and items), b) SelectedIndices automatically detect the
  1353. selection mode, c) SelectedIndex should be the first selected item
  1354. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  1355. not only for SelectedIndex, which is specially important in Multi*
  1356. selection modes. To achieve this we are moving the selection core to
  1357. SelectedIndexCollection and make depend all selection modifications on
  1358. it.
  1359. Fixes #366438.
  1360. 2008-03-06 Jonathan Pobst <[email protected]>
  1361. * ToolStrip.cs: Enable implicit mnemonics for drop down
  1362. menu strips. [Fixes part of bug #367692]
  1363. 2008-03-06 Jonathan Pobst <[email protected]>
  1364. corcompare - fix parameter names [stragglers].
  1365. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  1366. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  1367. TabControl.cs.
  1368. 2008-03-06 Jonathan Pobst <[email protected]>
  1369. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  1370. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  1371. mnemonic, let the ToolStripManager have it even if it doesn't
  1372. have a matching mnemonic.
  1373. [Fixes bug #367499]
  1374. 2008-03-06 Jonathan Pobst <[email protected]>
  1375. corcompare - fix warning about implicit implementation
  1376. * ToolStrip.cs: Add IToolStripData interface.
  1377. * IToolStripData.cs: Add.
  1378. 2008-03-06 Jonathan Pobst <[email protected]>
  1379. corcompare - fix warning about implicit implementation
  1380. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  1381. * IBounds.cs: Add.
  1382. 2008-03-05 Jonathan Pobst <[email protected]>
  1383. corcompare - fix parameter names [N-Z].
  1384. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  1385. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  1386. PropertyManager.cs, RichTextBox.cs,
  1387. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  1388. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  1389. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  1390. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  1391. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  1392. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  1393. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  1394. ToolStripPanel.cs, ToolStripSeparator.cs,
  1395. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  1396. UICuesEventHandler.cs, UpDownBase.cs.
  1397. 2008-03-05 Jonathan Pobst <[email protected]>
  1398. corcompare - fix parameter names [G-M].
  1399. GridColumnStylesCollection.cs, GridItemCollection.cs,
  1400. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  1401. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  1402. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  1403. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  1404. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  1405. 2008-03-05 Jonathan Pobst <[email protected]>
  1406. corcompare - fix parameter names [A-F].
  1407. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  1408. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  1409. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  1410. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  1411. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  1412. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  1413. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  1414. 2008-03-03 Ivan N. Zlatev <[email protected]>
  1415. * GridEntry.cs: Do not convert not only if the types match,
  1416. but also if the property type is assigneable from the value's
  1417. type.
  1418. [Fixes bug #366566]
  1419. 2008-03-03 Ivan N. Zlatev <[email protected]>
  1420. * PropertyGridView.cs:
  1421. - Subscribe to the listbox only once and not everytime.
  1422. - Update the textbox even if SetValue fails.
  1423. - Close the listbox before calling TrySetValue just in case.
  1424. [Fixes bug #366569]
  1425. 2008-03-03 Jonathan Pobst <[email protected]>
  1426. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  1427. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  1428. * ListView.cs: Implement support for custom column width based on
  1429. Columns collection (we were previously using this collection only
  1430. with Details view).
  1431. Fixes #364484.
  1432. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  1433. * ListViewItem.cs: For Tile view, always set bounds for the first
  1434. subitem (which is the main one), and also don't let Width be larger
  1435. than ListView.TileSize.Width. Improve code readibility also.
  1436. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  1437. in Tile view, _always_ use the NoWrap flag.
  1438. Fixes #360798.
  1439. 2008-02-29 Ivan N. Zlatev <[email protected]>
  1440. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  1441. in case.
  1442. * GridEntry.cs: For MS compitability make all child properties
  1443. readonly if the parent is readonly. Ugh.
  1444. [Fixes bug #365945 and #365944]
  1445. 2008-02-29 Andreia Gaita <[email protected]>
  1446. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  1447. relative to the history
  1448. 2008-02-29 Andreia Gaita <[email protected]>
  1449. * HtmlElement.cs: More handlers for mouse and key events
  1450. 2008-02-28 Andreia Gaita <[email protected]>
  1451. * WebBrowserBase.cs: MouseClick sig changed.
  1452. * HtmlHistory.cs: Implement history navigation
  1453. * HtmlElement.cs: Add event handlers, and connect them.
  1454. 2008-02-28 Ivan N. Zlatev <[email protected]>
  1455. * GridEntry.cs:
  1456. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  1457. so that DisplayNameAttribute doesn't get ignored.
  1458. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  1459. - Add support for PasswordPropertyTextAttribute
  1460. * PropertyGridView.cs: Check if an entry is a password.
  1461. [Fixes bugs #365589, #365586, #365588]
  1462. 2008-02-28 Andreia Gaita <[email protected]>
  1463. * PropertyGridView.cs: Revert the message filtering change, as we
  1464. need it to block after all. Remove block parameter, unnecessary.
  1465. 2008-02-27 Jonathan Pobst <[email protected]>
  1466. * UserControl.cs: Better implementation of GetPreferredSize.
  1467. First step to fixing bug #361441.
  1468. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  1469. * Binding.cs: Actually implement data binding support for
  1470. classes implementing IBindableComponent.
  1471. * ControlBindingsCollection.cs: Likewise.
  1472. 2008-02-26 Andreia Gaita <[email protected]>
  1473. * PropertyGridView.cs: Use a message filter to check when to
  1474. close the dropdown
  1475. 2008-02-26 Andreia Gaita <[email protected]>
  1476. * Application.cs: Change the message_filters loop so a filter
  1477. can be removed while looping.
  1478. 2008-02-26 Ivan N. Zlatev <[email protected]>
  1479. * GridEntry.cs: Optimization in ToggleValue so that it caches
  1480. the current value.
  1481. * PropertyGridView.cs: An optimization so that the property isn't
  1482. re-read twice for each StandardValue added to the drop-down menu.
  1483. Patch by Andy Hume <[email protected]> under the MIT/X11
  1484. license.
  1485. [Fixes bug #362755]
  1486. 2008-02-26 Jonathan Pobst <[email protected]>
  1487. * Application.cs: Apply patch from Justin Cherniak to match
  1488. MS better for ProductName, ProductVersion, and CompanyName.
  1489. [Fixes bug #361709]
  1490. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  1491. * Binding.cs: Actually implement 2.0 NullValue property. Also
  1492. when changing the formatting related properties, only update the state
  1493. if formatting_enabled is true (we don't mind otherwise).
  1494. 2008-02-25 Jonathan Pobst <[email protected]>
  1495. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  1496. [Fixes bug #364486]
  1497. 2008-02-25 Ivan N. Zlatev <[email protected]>
  1498. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  1499. of GetType on the current value as it uses reflection to
  1500. determine the type. This fixes the case where the new value is
  1501. null.
  1502. 2008-02-25 Ivan N. Zlatev <[email protected]>
  1503. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  1504. past the view.
  1505. 2008-02-24 Luke Page <[email protected]>
  1506. * Line.cs, TextControl.cs: Implement offset x and y so that a
  1507. document doesn't have to begin at (0,0) on the viewpoint.
  1508. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  1509. bars and switches the text alignment (and therefore is now
  1510. implemented for textbox). Fixes #321383.
  1511. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  1512. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  1513. properties. Also when changing FormattingEnabled update the control
  1514. property -as .Net does-.
  1515. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  1516. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  1517. * Binding.cs: Add stubs for the overloads of the Add method in
  1518. CBCollection.
  1519. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  1520. * Binding.cs: PullData () returns a false value if we got an exception.
  1521. Also when validating the control and we get an error, instead of
  1522. setting the value of the previous one, cancel the event (tested in 1.1
  1523. and 2.0).
  1524. 2008-02-22 Jonathan Pobst <[email protected]>
  1525. * TreeView.cs: Make selected_node and highlighted_node internal.
  1526. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  1527. to null when Nodes.Clear is called.
  1528. [Fixes bug #363884]
  1529. 2008-02-21 Jonathan Pobst <[email protected]>
  1530. * FontDialog.cs: Ensure that when the Font is set in code,
  1531. all the gui pieces are updated accordingly.
  1532. [Fixes bug #361020]
  1533. 2008-02-21 Jonathan Pobst <[email protected]>
  1534. * TextRenderer.cs: Respect proposed size for MeasureString.
  1535. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  1536. autosize, use a proposed width to force wrapping for long text.
  1537. [Fixes bug #360981]
  1538. 2008-02-21 Jonathan Pobst <[email protected]>
  1539. * TreeView.cs: Factor in checkboxes = false and state images in
  1540. to HitTest. [Fixes bug #363360]
  1541. 2008-02-21 Jonathan Pobst <[email protected]>
  1542. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  1543. when drawing the selected range.
  1544. [Fixes bug #363648]
  1545. 2008-02-21 Jonathan Pobst <[email protected]>
  1546. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  1547. ResizeRedraw control styles.
  1548. [Fixes bug #363555]
  1549. 2008-02-20 Jonathan Pobst <[email protected]>
  1550. * TreeView.cs: StateImages are basically custom checkboxes, so
  1551. factor their size the same as real checkboxes when determining
  1552. what got clicked.
  1553. [Fixes bug #363367]
  1554. 2008-02-20 Jonathan Pobst <[email protected]>
  1555. * MessageBox.cs: Make the message box wider if the form caption
  1556. is longer than the text in the form.
  1557. [Fixes bug #361137]
  1558. 2008-02-20 Ivan N. Zlatev <[email protected]>
  1559. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  1560. 2008-02-20 Jonathan Pobst <[email protected]>
  1561. * TreeNode.cs: Guard against an NRE when the parent's
  1562. StateImageList hasn't been set.
  1563. [Fixes bug #363353]
  1564. 2008-02-20 Jonathan Pobst <[email protected]>
  1565. * SplitContainer.cs: Add SupportsTransparentBackColor and
  1566. OptimizedDoubleBuffering control styles.
  1567. [Fixes bug #363303]
  1568. 2008-02-20 Jonathan Pobst <[email protected]>
  1569. * Application.cs: For the app data paths and the registry key paths,
  1570. ensure they are created before returning them to the user.
  1571. [Fixes bug #361709]
  1572. 2008-02-20 Jonathan Pobst <[email protected]>
  1573. * Application.cs: Guard against an NRE in CompanyName and
  1574. ProductName.
  1575. 2008-02-20 Jonathan Pobst <[email protected]>
  1576. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  1577. make sure we handle all three cases correctly: attribute is present,
  1578. attribute is present but is an empty string, and attribute is not
  1579. present.
  1580. 2008-02-20 Ivan N. Zlatev <[email protected]>
  1581. * PropertyGridView.cs:
  1582. - Fix a NRE that caused a test failure
  1583. - Another performance improvement - cache the standard values
  1584. listbox.
  1585. 2008-02-19 Jonathan Pobst <[email protected]>
  1586. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  1587. code paths.
  1588. 2008-02-19 Ivan N. Zlatev <[email protected]>
  1589. * PropertyGridView.cs: Fix a big performance bug.
  1590. 2008-02-19 Jonathan Pobst <[email protected]>
  1591. * SelectionRange.cs: Apply patch from Andy Hume to make
  1592. constructor behavior more accurate. [Fixes bug #362117]
  1593. 2008-02-19 Andreia Gaita <[email protected]>
  1594. * Control.cs: Added a new flag is_disposing to track if the
  1595. window is currently in the process of being disposed of.
  1596. This is used so that, when firing visibility changes triggered
  1597. by unparenting controls during Dispose, the control doesn't
  1598. get created again.
  1599. 2008-02-19 Jonathan Pobst <[email protected]>
  1600. * ComboBox.cs: Set height to preferred height when the handle
  1601. is created. [Fixes bug #360862]
  1602. 2008-02-18 Andreia Gaita <[email protected]>
  1603. * XplatUIX11.cs: Create FosterParent with border width at 0.
  1604. With the previous value of 4, everytime a control got reparented
  1605. from parent = null, it's location would be shifted right and
  1606. down by 4, since these coordinates would be offset by the
  1607. FosterParent's border width.
  1608. 2008-02-18 Ivan N. Zlatev <[email protected]>
  1609. * Control.cs: During diposing firstly remove ourselfes from
  1610. the parent and *then* destroy our handle, because removing
  1611. ourselfes from the parent controls collection causes
  1612. VisibilityChange, etc events, which require a handle and end
  1613. up recreating the control.
  1614. 2008-02-17 Ivan N. Zlatev <[email protected]>
  1615. * GridEntry.cs: Set expanded state before notifying that the
  1616. expansion has taken place.
  1617. * PropertyGridView.cs:
  1618. - Set the propertygridtextbox text to the selected
  1619. StandardValue before proceeding to setting it.
  1620. - Scrolling bugfixes.
  1621. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1622. * GridEntry.cs:
  1623. - Fix ValueText to not return null.
  1624. - Fix conversion error reporting to actually happen.
  1625. * PropertyGridView.cs: Set entry only if the text has changed.
  1626. [Fixes bug #362116]
  1627. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1628. * GridEntry.cs:
  1629. - Fix handling of a null current value.
  1630. - Swallow editor exceptions.
  1631. [Fixes bug #362114]
  1632. 2008-02-16 Ivan N. Zlatev <[email protected]>
  1633. * PropertyGrid.cs: Clear current items first thing before
  1634. repopulating subitems.
  1635. * GridEntry.cs:
  1636. - Handle null StandardValuesCollection.
  1637. - Mark as not editable if there is no PropertyDescriptor and
  1638. if the Converter cannot convert from string.
  1639. [Part of fix for bugs #360666 and #358332]
  1640. 2008-02-15 Luke Page <[email protected]>
  1641. * MaskedTextBox.cs: Now skips non editable characters after a
  1642. character has been entered and we are progressing to the next
  1643. position in the MaskedTextBox.
  1644. 2008-02-15 Luke Page <[email protected]>
  1645. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  1646. that it changes the selection rather than just repositioning the
  1647. cursor. Fixes Bug #360873.
  1648. 2008-02-15 Luke Page <[email protected]>
  1649. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  1650. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  1651. correctly. See #359330
  1652. 2008-02-15 Andreia Gaita <[email protected]>
  1653. * XplatUIX11.cs: If the handle is null when posting a message, use the
  1654. current thread queue to post instead. Fixes #332409
  1655. * SendKeys.cs: Slight optimization
  1656. 2008-02-14 Ivan N. Zlatev <[email protected]>
  1657. * PropertyGrid.cs, PropertyGridView.cs:
  1658. Fix multiple scrolling and sizing issues.
  1659. [Fixes bug #359199]
  1660. 2008-02-12 Ivan N. Zlatev <[email protected]>
  1661. * PropertyGridView.cs: Ensure that drop down editors are shown
  1662. in the WorkingArea of the screen.
  1663. [Fixes bug #359807]
  1664. 2008-02-12 Ivan N. Zlatev <[email protected]>
  1665. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  1666. [Fixes bug #360666]
  1667. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  1668. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  1669. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1670. * PropertyGridView.cs:
  1671. - Clear the controls in the drop down form after it is hidden.
  1672. - Fix Width sizing of the dropdown editors to match MSFT.
  1673. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1674. * PropertyGridView.cs:
  1675. - Fix height for drawing the grid entry
  1676. text value, so that it clips multiline text properly.
  1677. - Fix unfocusing to match MSFT.
  1678. 2008-02-11 Ivan N. Zlatev <[email protected]>
  1679. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  1680. Fixes a bug where on repopulation after value changed items become
  1681. expandable.
  1682. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  1683. * Binding.cs: For the 2.0 profile, look for a
  1684. 'PropertyChanged' event in the target control, and add checks for
  1685. DataSourceUpdateMode property to change -or not- the data source
  1686. from validation/control property change.
  1687. 2008-02-10 Atsushi Enomoto <[email protected]>
  1688. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  1689. not compare struct with null in 2.0).
  1690. 2008-02-10 Luke Page <[email protected]>
  1691. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  1692. updates the provider and if not using a provider, uses the internal document
  1693. class implementation of password char. Also when showing text, uses display string
  1694. from the provider, instead of the actual text.
  1695. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  1696. * Binding.cs: Ooooops, forgot to take into account the data_source
  1697. and binding_member_info null case (it was breaking the Binding tests).
  1698. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  1699. * Binding.cs: Implement support for data source changes exposed by
  1700. 'PropertyNameChanged' events, and update the control property as
  1701. needed.
  1702. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  1703. * Binding.cs: Implement 2.0 WriteValue method.
  1704. 2008-02-08 Jonathan Pobst <[email protected]>
  1705. Commit patch from James Purcell for better AutoScale implementation:
  1706. * ScaleControl should call GetScaledBounds with the control's total size rather
  1707. than client size. GetScaledBounds should handle ignoring the borders in its
  1708. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  1709. (for the most part they just call the base code now since that is fixed).
  1710. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  1711. without having to override ScaleChildren (since none of .NET's controls do).
  1712. This is required for most controls in Mono that have scrollbars to prevent the
  1713. scrollbars from being moved/resized.
  1714. * Nested ContainerControls can have a different scale mode than their parent.
  1715. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  1716. designer produce different results both of which look incorrect).
  1717. * Default AutoScaleMode for ContainerControl should be Inherit.
  1718. * Simplified workaround for ComboBox scaling issue.
  1719. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  1720. 1.0 style auto scaling should scale the whole control's size instead of
  1721. ignoring the borders (except for Form) and the rounding is done differently to
  1722. preserve control alignment.
  1723. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  1724. GetAutoScaleSize.
  1725. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  1726. * CurrentAutoScaleDimensions should round the estimated character width instead
  1727. of truncating.
  1728. * ListBox's GetScaledBounds should always use the height it was set to instead
  1729. of the height that was passed in. This prevents rounding errors from
  1730. accumulating quickly with IntegralHeight.
  1731. [Bug #359098]
  1732. 2008-02-08 Andreia Gaita <[email protected]>
  1733. * Form.cs: Add a null check (darn it).
  1734. 2008-02-08 Jonathan Pobst <[email protected]>
  1735. * MdiClient.cs: Make sure the requesting form actually owns the
  1736. control menu items before removing them. Also, use
  1737. Suspend/ResumeLayout when adding or removing items so we only
  1738. layout once.
  1739. [Fixes bug #359887]
  1740. 2008-02-08 Jonathan Pobst <[email protected]>
  1741. * Control.cs: Guard against an NRE in ShowFocusCues.
  1742. [Fixes bug #359830]
  1743. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  1744. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  1745. property, as well as stubbing DataSourceUpdateMode.
  1746. 2008-02-08 Andreia Gaita <[email protected]>
  1747. * Form.cs: When closing forms, get focus back to the active control of the
  1748. active form. [Fixes #341314, corner case]
  1749. 2008-02-07 Jonathan Pobst <[email protected]>
  1750. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  1751. area, so any old scrollbar artifacts are cleaned up.
  1752. [Fixes bug #336305]
  1753. 2008-02-07 Jonathan Pobst <[email protected]>
  1754. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  1755. for our menus, display that control box menu instead of the 1.1
  1756. menu one.
  1757. 2008-02-07 Jonathan Pobst <[email protected]>
  1758. * MdiControlStrip.cs: Add property to access the mdi form tied to
  1759. each toolstripitem.
  1760. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  1761. to the implicitly merged menu. Every time we clicked the form, items
  1762. were getting removed and the re-added, causing the form to jump around
  1763. as the menu resized.
  1764. 2008-02-07 Jonathan Pobst <[email protected]>
  1765. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  1766. was being reset by the implicit menu merge for menustrips.
  1767. [Fixes bug #336296]
  1768. 2008-02-07 Jonathan Pobst <[email protected]>
  1769. * Form.cs: Don't do the previous change when WindowState = Normal,
  1770. or it messes up where the window is placed. Fixes test failure.
  1771. 2008-02-07 Jonathan Pobst <[email protected]>
  1772. * Form.cs: When becoming visible, if we are an MDI child, call
  1773. SetWindowState with a dummy old_state so that changes will actually
  1774. be made.
  1775. [Fixes the 2nd part of bug #325473]
  1776. 2008-02-07 Andreia Gaita <[email protected]>
  1777. * Control.cs: Reset properties to their pre parent-change values in case
  1778. the new parent == null (in which case we're basically removing the control,
  1779. and don't want any events fired due to fake property changes)
  1780. [Fixes #355850]
  1781. 2008-02-06 Ivan N. Zlatev <[email protected]>
  1782. * PropertyGridView.cs:
  1783. - Refactor SetValue to allow setting the value
  1784. when a custom editor is used, but the entry is not editable.
  1785. - Remove the custom editor control on CloseDropDown.
  1786. [Fixes #359196]
  1787. 2008-02-06 Andreia Gaita <[email protected]>
  1788. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  1789. reflection only on 1.1, this property is public on system.drawing on 2.0.
  1790. Fixed #359247
  1791. 2008-02-06 Andreia Gaita <[email protected]>
  1792. * WebBrowser.cs: Do a normal page refresh by default.
  1793. 2008-02-05 Andreia Gaita <[email protected]>
  1794. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  1795. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  1796. platforms. Fixes #359036
  1797. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  1798. platform-specific flags.
  1799. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  1800. * Binding.cs: Add 2.0 BindableComponent property - just return control
  1801. by now.
  1802. 2008-02-05 Everaldo Canuto <[email protected]>
  1803. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  1804. Jonathan for this patch. Fixes #358442.
  1805. 2008-02-05 Jonathan Pobst <[email protected]>
  1806. * Form.cs: If we change the active MDI child form, let the others
  1807. know they need to repaint their title bar so it will appear inactive.
  1808. [Fixes part 1 of bug #325473]
  1809. 2008-02-05 Ivan N. Zlatev <[email protected]>
  1810. * PropertyGridView.cs: Do not trucate custom editors' width
  1811. and align them to the left.
  1812. [Fixes #358353 and #358349]
  1813. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  1814. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  1815. Also fix the arguments passed to CollectionChangeEventArgs in the
  1816. related methods.
  1817. 2008-02-04 Geoff Norton <[email protected]>
  1818. * Hwnd.cs: The conversion to Quartz coordinates happens in
  1819. System.Drawing. Removing this translation from here.
  1820. 2008-02-04 Ivan N. Zlatev <[email protected]>
  1821. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  1822. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  1823. GridItemCollection.cs:
  1824. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  1825. 2008-02-04 Geoff Norton <[email protected]>
  1826. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  1827. SYSKEYUP if any other key has been pressed in the mean time.
  1828. Fixes #324404
  1829. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  1830. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  1831. when the item in current position is different than 0. Also, save the
  1832. item index in the beginning of the operation, instead of getting the
  1833. index of the item when the event is actually performed. Lastly clean
  1834. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  1835. triggered.
  1836. [Fixes #357873]
  1837. 2008-02-03 Jonathan Pobst <[email protected]>
  1838. * Form.cs: Alt-Minus for MDI children system menu should work
  1839. with both the minus keys on the keyboard.
  1840. [Fixes bug #336295]
  1841. 2008-02-03 Jonathan Pobst <[email protected]>
  1842. * Control.cs: Don't invalidate on region change. The WM should
  1843. take care of this automagically. Keeps us out of an infinite
  1844. paint loop if someone changes the Region in the OnPaint.
  1845. [Fixes bug #358327]
  1846. 2008-02-04 Ivan N. Zlatev <[email protected]>
  1847. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  1848. 2008-02-03 Jonathan Pobst <[email protected]>
  1849. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  1850. down the MonthCalendar only on F4, not Alt+F4.
  1851. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  1852. [Fixes bug #358340]
  1853. 2008-02-03 Jonathan Pobst <[email protected]>
  1854. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  1855. if its part of a DateTimePicker, else, use the back color.
  1856. [Fixes bug #358339]
  1857. 2008-02-03 Jonathan Pobst <[email protected]>
  1858. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  1859. [Fixes bug #358342]
  1860. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  1861. * CurrencyManager.cs: When we get a ListChanged event from our source,
  1862. always fire our own ListChanged event, as .Net does.
  1863. 2008-02-03 Luke Page <[email protected]>
  1864. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  1865. #358379.
  1866. 2008-02-03 Luke Page <[email protected]>
  1867. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  1868. property. Removed if for richtext property that was always true.
  1869. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  1870. 2008-02-03 Luke Page <[email protected]>
  1871. * TextBoxBase.cs - commited patch from James Purcell that
  1872. correctly sets the FixedHeight control style when the MultiLine
  1873. property is changed on a TextBox control. Fixes bug 358229.
  1874. 2008-02-02 Luke Page <[email protected]>
  1875. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  1876. Fixes bug 351938 - caret is positioned correctly when drawn
  1877. and when calculating textual position of caret, no longer
  1878. has a NRE in certain situations.
  1879. 2008-02-01 Geoff Norton <[email protected]>
  1880. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  1881. get that region removed from the paint event.
  1882. * XplatUICarbon.cs: Remove the window mapping after disposing of
  1883. window. Prevents a crash with handle reuse. Optimize exposes
  1884. only onto visible windows (rare; but possible).
  1885. 2008-02-01 Jonathan Pobst <[email protected]>
  1886. * UpDownBase.cs: Make sure the internal textbox calls the base's
  1887. OnMouseDown and OnMouseUp so the textbox will function correctly.
  1888. There were notes saying it doesn't chain up, but its an internal
  1889. class, so our implementation may differ.
  1890. [Fixes bug #357482]
  1891. 2008-02-01 Jonathan Pobst <[email protected]>
  1892. * ListBox.cs: Fix a logic error and don't process MouseDown
  1893. for mouse buttons other than Left.
  1894. 2008-02-01 Jonathan Pobst <[email protected]>
  1895. * Control.cs: Remove HeightInternal.
  1896. * ListBox.cs: Commit patch from James Purcell that correctly
  1897. calculates heights for ListBoxen.
  1898. [Fixes bug #357152]
  1899. 2008-02-01 Jonathan Pobst <[email protected]>
  1900. * Label.cs: Apply patch from James Purcell that corrects the
  1901. signature of the AutoSize property.
  1902. [Fixes bug #357605]
  1903. 2008-02-01 Jonathan Pobst <[email protected]>
  1904. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  1905. other than the left mouse button.
  1906. 2008-01-31 Jonathan Pobst <[email protected]>
  1907. * Control.cs: Remove my awesome optimization as it caused some
  1908. regressions with control ordering. :(
  1909. [Fixes bug #357467]
  1910. 2008-01-31 Ivan N. Zlatev <[email protected]>
  1911. * PropertyGridView.cs: Fix a NRE on double click when there is no
  1912. selected object.
  1913. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  1914. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  1915. 2008-01-30 Jonathan Pobst <[email protected]>
  1916. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  1917. [Fixes bug #357146]
  1918. 2008-01-29 Jonathan Pobst <[email protected]>
  1919. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  1920. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  1921. instead of Hwnd.bmp_g.
  1922. 2008-01-29 Jonathan Pobst <[email protected]>
  1923. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  1924. Use the Hwnd one instead.
  1925. 2008-01-29 Jonathan Pobst <[email protected]>
  1926. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  1927. 2008-01-29 Jonathan Pobst <[email protected]>
  1928. * Form.cs: corcompare for RestoreBounds.
  1929. 2008-01-29 Jonathan Pobst <[email protected]>
  1930. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  1931. 2008-01-29 Jonathan Pobst <[email protected]>
  1932. * Form.cs: Handle Alt-Minus for MDI children forms.
  1933. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  1934. Add mnemonics to the control menu.
  1935. [Fixes bug #336295]
  1936. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  1937. * Binding.cs: Initial implementation bits of FormattingEnabled
  1938. property and BindingComplete event (2.0).
  1939. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  1940. and exception.
  1941. 2008-01-28 Jonathan Pobst <[email protected]>
  1942. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  1943. table.Location. [Fixes bug #354672]
  1944. 2008-01-28 Jonathan Pobst <[email protected]>
  1945. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  1946. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  1947. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  1948. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  1949. of doing all the re-bound work, just invalidate and call SetControlText
  1950. to set the updated text of selected item to our textbox.
  1951. Fixes #333750.
  1952. 2008-01-28 Andreia Gaita <[email protected]>
  1953. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  1954. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  1955. missing properties and methods. Add Load, Unload, Error, GotFocus,
  1956. LostFocus, Resize, Scroll events (only load and unload are connected)
  1957. 2008-01-27 Gert Driesen <[email protected]>
  1958. * AccessibleObject.cs: Modified argument names to match MS.
  1959. * Button.cs: Modified argument names to match MS.
  1960. * BindingContext.cs: Modified argument names to match MS.
  1961. * BindingMemberInfo.cs: Modified argument names to match MS.
  1962. * ButtonBase.cs: Modified argument names to match MS.
  1963. * ComboBox.cs: Modified argument names to match MS.
  1964. * Control.cs: Modified argument names to match MS.
  1965. * CheckedListBox.cs: Modified argument names to match MS.
  1966. * CommonDialog.cs: Modified argument names to match MS.
  1967. * DataGrid.cs: Modified argument names to match MS.
  1968. * CursorConverter.cs: Modified argument names to match MS.
  1969. * ControlPaint.cs: Modified argument names to match MS.
  1970. * CheckBox.cs: Modified argument names to match MS.
  1971. * ControlBindingsCollection.cs: Modified argument names to match MS.
  1972. * BindingSource.cs: Modified argument names to match MS.
  1973. * DataFormats.cs: Modified argument names to match MS.
  1974. * ContainerControl.cs: Modified argument names to match MS.
  1975. * CurrencyManager.cs: Modified argument names to match MS.
  1976. * Application.cs: Modified argument names to match MS.
  1977. * ContextMenuStrip.cs: Modified argument names to match MS.
  1978. * ContextMenu.cs: Modified argument names to match MS.
  1979. * BindingManagerBase.cs: Modified argument names to match MS.
  1980. * WindowsFormsSection.cs: Fixed line ending.
  1981. 2008-01-27 Andreia Gaita <[email protected]>
  1982. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  1983. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  1984. while.
  1985. 2008-01-26 Gert Driesen <[email protected]>
  1986. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  1987. MS. Code formatting.
  1988. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  1989. * Binding.cs: Don't avoid the Format event if the control
  1990. property type is object. Also, if the value retrieved by
  1991. the data source is null _and_ the control proeprty type
  1992. is object, return Convert.DBNull (match .Net).
  1993. Fixes part of #324286.
  1994. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  1995. * ListControl.cs: Since we are getting two BinginContextChanged events
  1996. for the same binding context instance (when the control is added to
  1997. form, and when the form is actually shown), take it into account only the
  1998. first time for a given binding context instance.
  1999. Fixes part of #324286.
  2000. 2008-01-26 Ivan N. Zlatev <[email protected]>
  2001. * PropertryGridView.cs: Ops.
  2002. 2008-01-26 Ivan N. Zlatev <[email protected]>
  2003. * PropertyGridView.cs: Close dropdown form if the owner form is
  2004. moved or minimized.
  2005. [Fixes bug #322446]
  2006. 2008-01-25 Ivan N. Zlatev <[email protected]>
  2007. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  2008. RootGridEntry.cs, CategoryGridEntry.cs:
  2009. PropertyGrid rewrite.
  2010. - Rewrite all of the control logic in PropertyGrid.
  2011. - Rewrite all of the ComponentModel logic in GridEntry.
  2012. - Rewrite all UI work in PropertyGridView.
  2013. - Many bugfixes, etc.
  2014. 2008-01-24 Jonathan Pobst <[email protected]>
  2015. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  2016. when all contained controls are autosize or dock-fill. Also take into
  2017. account when the total percentage of column/row sizes is not 100%.
  2018. [Fixes bug #354672]
  2019. 2008-01-24 Andreia Gaita <[email protected]>
  2020. * HtmlDocument.cs:
  2021. - Save a reference to the IDocument in the instance and
  2022. use that one instead of going to WebHost.Document; the document that the
  2023. WebHost returns might not be the right one (in case of frames).
  2024. - Use the hashcode returned from the IDocument interface.
  2025. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  2026. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  2027. LinkColor, Url, VisitedColor, Window
  2028. * HtmlElement.cs:
  2029. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  2030. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  2031. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  2032. SetAttribute, Equals, equality operators.
  2033. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  2034. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  2035. * HtmlElementCollection.cs: Change implementation to use a generic
  2036. collection. Implemented Enumerator and CopyTo
  2037. * HtmlHistory.cs: Add constructor, no implementation yet.
  2038. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  2039. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  2040. Equals, equality operators.
  2041. * HtmlWindowCollection.cs: Implemented.
  2042. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  2043. has been deprecated).
  2044. * WebBrowserBase.cs: Use Completed event to track document loading
  2045. (Navigated has been deprecated)
  2046. 2008-01-24 Jonatham Pobst <[email protected]>
  2047. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  2048. level MenuItems do not respect tabs.
  2049. [Fixes bug #355196]
  2050. 2008-01-23 Geoff Norton <[email protected]>
  2051. * XplatUICarbon.cs: Ensure that windows are created in their initial
  2052. FormWindowState. Finished fixing Fullscreen windows on Carbon
  2053. 2008-01-23 Everaldo Canuto <[email protected]>
  2054. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  2055. be used as grab_control. Also save status of capture before show ContextMenu
  2056. and restore it after close.
  2057. 2008-01-23 Everaldo Canuto <[email protected]>
  2058. * Control.cs: Internal FindRootParent method added to return high control
  2059. in parent tree.
  2060. 2008-01-23 Geoff Norton <[email protected]>
  2061. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  2062. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  2063. it work again. Handle HITTEST events.
  2064. 2008-01-23 Geoff Norton <[email protected]>
  2065. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  2066. a crash in certain cases. Support for fullscreen windows in certain cases.
  2067. 2008-01-23 Jonathan Pobst <[email protected]>
  2068. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  2069. [Fixes bug #355703]
  2070. 2008-01-23 Geoff Norton <[email protected]>
  2071. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  2072. 2008-01-23 Geoff Norton <[email protected]>
  2073. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  2074. 2008-01-23 Everaldo Canuto <[email protected]>
  2075. * SplitContainer.cs: Remove unused declarations.
  2076. * Binding.cs: Remove unused declarations.
  2077. 2008-01-23 Everaldo Canuto <[email protected]>
  2078. * Form.cs: Remove unused declaration of 'active' in Activate method.
  2079. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  2080. prevent compilation warnings.
  2081. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  2082. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  2083. * Bindings.cs: Remove unused formatting_enabled declaration.
  2084. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  2085. warnings.
  2086. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  2087. warnings.
  2088. * PropertyGridView.cs: Remove usused 'ex' declaration.
  2089. * DataGridView.cs: Remove unused declarations.
  2090. 2008-01-23 Everaldo Canuto <[email protected]>
  2091. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  2092. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  2093. to Control class, it makes possible to grab menu to controls that can't
  2094. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  2095. WmMouseMove removed since it was used only to track menu events.
  2096. * Control.cs:
  2097. - Moved all active_tracker stuff from Form.
  2098. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  2099. can call this method instead of reimplement all necessary code handle for
  2100. menu tracker.
  2101. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  2102. and WmMouseMove).
  2103. * MenuAPI.cs:
  2104. - Remove special handle to ToolStripOverflow, now we can grab menu to
  2105. controls that can't reach Form using parent tree.
  2106. - Change type of grab_control from Form to Control.
  2107. 2008-01-22 Geoff Norton <[email protected]>
  2108. * TextBoxBase.cs: Split up the sizing of controls and placing of
  2109. controls. Fixes a bug where scrollbars in Reflector could be sized
  2110. wrong and have non-working thumbers.
  2111. 2008-01-23 Geoff Norton <[email protected]>
  2112. * XplatUI.cs: Refactor environment variables to default support to the
  2113. Carbon driver on the Mac.
  2114. 2008-01-23 Everaldo Canuto <[email protected]>
  2115. * Label.cs: Uses new LabelPainter for drawing operations.
  2116. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  2117. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  2118. 2008-01-22 Geoff Norton <[email protected]>
  2119. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  2120. 2008-01-22 Jonathan Pobst <[email protected]>
  2121. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  2122. through the normal flat button code and don't draw the checkbox glyph.
  2123. * Theme.cs: Button->ButtonBase signature change.
  2124. [Fixes bug #324755]
  2125. 2008-01-22 Everaldo Canuto <[email protected]>
  2126. * LinkLabel.cs: Uses new class LinkLabelPainter.
  2127. 2008-01-22 Everaldo Canuto <[email protected]>
  2128. * MessageBox.cs: Adjust right border space, we don't need to add
  2129. "space_border*2" two times.
  2130. 2008-01-22 Jonathan Pobst <[email protected]>
  2131. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  2132. becomes a wrapper around Padding.
  2133. [Fixes a part of bug #354676]
  2134. 2008-01-22 Geoff Norton <[email protected]>
  2135. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  2136. acquired. Also ensure the buffer is large enough to grab the header
  2137. we need on linux boxes.
  2138. 2008-01-22 Jonathan Pobst <[email protected]>
  2139. * Control.cs: Implement a custom enumerator so people can delete
  2140. from the Controls collection while in a foreach.
  2141. [Fixes bug #355074]
  2142. 2008-01-22 Ivan N. Zlatev <[email protected]>
  2143. * PropertyGridView.cs: Fix focusing behavior:
  2144. - Tab should focus the grid text box.
  2145. - Clicking on the labels shouldn't focus the grid text box.
  2146. 2008-01-22 Ivan N. Zlatev <[email protected]>
  2147. * PropertyGridView.cs: IsValueTypeGridItem should return true
  2148. for Arrays as well.
  2149. 2008-01-22 Ivan N. Zlatev <[email protected]>
  2150. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  2151. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  2152. reflect the property name role.
  2153. - PropertyGrid.GetTarget is not required as the target is known
  2154. (TargetObjects).
  2155. - Setting values will handle value types as a special case now and
  2156. populate them up in the chain.
  2157. [Fixes #354990]
  2158. 2008-01-21 Jonathan Pobst <[email protected]>
  2159. * Hwnd.cs: Create a public property for the Graphics we keep around.
  2160. 2008-01-21 Ivan N. Zlatev <[email protected]>
  2161. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  2162. when the current object selection changes.
  2163. Fixes failing test SelectedObject_Null2.B5.
  2164. 2008-01-21 Ivan N. Zlatev <[email protected]>
  2165. * PropertyGrid.cs: Process Browsable properties with
  2166. DesignerSerializationVisibilityAttribute.Content as being expandable.
  2167. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  2168. will not be expandable. We should be nested components-friendly now.
  2169. 2008-01-21 Andreia Gaita <[email protected]>
  2170. * WebBrowserBase.cs: Check if control was loaded properly,
  2171. don't bind if it wasn't.
  2172. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  2173. GetElementFromPoint, equality operators, OpenNew, Write.
  2174. Remove extra set_Body
  2175. 2008-01-18 Jonathan Pobst <[email protected]>
  2176. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  2177. that makes our AutoScale* stuff more tolerant to different orders
  2178. of being set. [Fixes bug #354669]
  2179. 2008-01-18 Ivan N. Zlatev <[email protected]>
  2180. * PropertyGridView.cs, PropertyGridTextBox.cs:
  2181. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  2182. [Fixes #339005 and #348209]
  2183. 2008-01-18 Ivan N. Zlatev <[email protected]>
  2184. * PropertyGridView.cs: Hide the grid text box before adjusting it
  2185. for the newly selected GridItem.
  2186. [Fixes #338999]
  2187. 2008-01-18 Jonathan Pobst <[email protected]>
  2188. * Form.cs: Give MDI children the opportunity to cancel the parent form
  2189. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  2190. properly for both the parent and child.
  2191. * Application.cs: Signature of internal method changed, pass the previous
  2192. default of false.
  2193. [Fixes bug #354286]
  2194. 2008-01-17 Ivan N. Zlatev <[email protected]>
  2195. * PropertyGridView.cs: Set the property value only if it has changed.
  2196. [Fixes bug #338997]
  2197. 2008-01-17 Jonathan Pobst <[email protected]>
  2198. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  2199. If the mouse hasn't actually moved, ignore these messages so the currently
  2200. highlighted menuitem isn't reset to the one under the mouse.
  2201. [Fixes bug #333668]
  2202. 2008-01-17 Ivan N. Zlatev <[email protected]>
  2203. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  2204. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  2205. to reflect the change visually.
  2206. [Fixes bug #338998]
  2207. 2008-01-17 Jonathan Pobst <[email protected]>
  2208. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  2209. to 2.0 button drawing.
  2210. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  2211. the button text is tall enough for one line. LineLimit says it will
  2212. always draw at least one line, but it is a lie.
  2213. [Fixes bug #324941]
  2214. 2008-01-17 Atsushi Enomoto <[email protected]>
  2215. * XplatUIStructs.cs, X11Keyboard.cs :
  2216. added some more VK_* keys to be handled.
  2217. 2008-01-16 Andreia Gaita <[email protected]>
  2218. * Control.cs: Check if there is a container before setting or getting
  2219. the validation flag.
  2220. 2008-01-16 Andreia Gaita <[email protected]>
  2221. * ContainerControl.cs: Add flag to track if a control cancels validation,
  2222. so we don't fire click events.
  2223. * Control.cs:
  2224. - (HandleClick) Check if validation was cancelled before firing the click
  2225. events (doubleclicks are fired, but not clicks)
  2226. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  2227. ContainerControl.set_ActiveControl, but in the case of non-selectable
  2228. controls, like a Label, activecontrol is not set.
  2229. * ButtonBase.cs: Only fire clicks if validation passes.
  2230. Fixes #353310
  2231. 2008-01-16 Geoff Norton <[email protected]>
  2232. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  2233. trunk
  2234. 2008-01-16 Jonathan Pobst <[email protected]>
  2235. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  2236. SelectedPath, just display the default dialog instead of crashing.
  2237. [Fixes bug #348989]
  2238. 2008-01-16 Geoff Norton <[email protected]>
  2239. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  2240. AddExpose instead of trusting apples compositing manager which doesn't
  2241. work for our use case. Remove some dead code causing warnings and
  2242. redecorate some other code to prevent warnings.
  2243. 2008-01-16 Geoff Norton <[email protected]>
  2244. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  2245. carbon signals us to redraw. Fixes another portion of the flickering bug
  2246. 2008-01-16 Everaldo Canuto <[email protected]>
  2247. * Form.cs: Prevent the MdiParent property to be set when value is the same
  2248. as value already set. Fixes bug #328019.
  2249. 2008-01-16 Everaldo Canuto <[email protected]>
  2250. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  2251. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  2252. 2008-01-16 Everaldo Canuto <[email protected]>
  2253. * InternalWindowManager.cs: Invalidade close button after mouse up when
  2254. mdi form is prevented to close.
  2255. 2008-01-16 Everaldo Canuto <[email protected]>
  2256. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  2257. thanks to Andy Hume. Fixes bug #325433.
  2258. 2008-01-16 Andreia Gaita <[email protected]>
  2259. * LinkLabel.cs: Reset focused_index when resellecting the control.
  2260. Fixes #323190
  2261. 2008-01-15 Geoff Norton <[email protected]>
  2262. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  2263. messages.
  2264. 2008-01-15 Jonathan Pobst <[email protected]>
  2265. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  2266. of truncate.
  2267. 2008-01-15 Jonathan Pobst <[email protected]>
  2268. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  2269. Form.AutoScale to false.
  2270. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  2271. AutoScaleBaseSize should be changed on Font change unless it has been
  2272. explicitly set.
  2273. [Fixes bug #353827]
  2274. 2008-01-15 Everaldo Canuto <[email protected]>
  2275. * MenuAPI.cs: On instance of MenuTracker check if source control is
  2276. ToolStripOverflow and use properly method to find form.
  2277. [Fixes bug #338511]
  2278. 2008-01-15 Everaldo Canuto <[email protected]>
  2279. [Fixes bug #323241 Transparent toolbar support]
  2280. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  2281. is flat.
  2282. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  2283. defined in control style to mimic win32 behavior.
  2284. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  2285. it will be transparent.
  2286. 2008-01-14 Everaldo Canuto <[email protected]>
  2287. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  2288. CreateParams for ToolBar controls.
  2289. 2008-01-14 Jonathan Pobst <[email protected]>
  2290. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  2291. FixedToolWindow, SizeableToolWindow, or None for border styles have
  2292. different minimum sizes than regular forms. Implemented to fix
  2293. regression in PDN with toolbox being too wide.
  2294. 2008-01-14 Andreia Gaita <[email protected]>
  2295. * HtmlElementCollection.cs: Implemented
  2296. * HtmlElement.cs: Implemented:
  2297. - All
  2298. - InnerHtml
  2299. - InnerText
  2300. - Id
  2301. - Name
  2302. - FirstChild
  2303. * HtmlDocument.cs: Implemented GetElementsByTagName.
  2304. 2008-01-14 Jonathan Pobst <[email protected]>
  2305. * Screen.cs: Stub BitsPerPixel to always return 32.
  2306. 2008-01-14 Jonathan Pobst <[email protected]>
  2307. * Form.cs: Implement RestoreBounds.
  2308. 2008-01-14 Jonathan Pobst <[email protected]>
  2309. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  2310. Sebastien and his fabulous magical problem-finding machine:
  2311. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  2312. respect the value set.
  2313. 2008-01-14 Everaldo Canuto <[email protected]>
  2314. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  2315. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  2316. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  2317. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  2318. messages (to match .Net), we need to remove the capture ourselves.
  2319. 2008-01-11 Jonathan Pobst <[email protected]>
  2320. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  2321. will process the message and close our window.
  2322. [Fixes bug #324328]
  2323. 2008-01-10 Geoff Norton <[email protected]>
  2324. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  2325. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  2326. window manager.
  2327. 2008-01-10 Jonathan Pobst <[email protected]>
  2328. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  2329. failing test.
  2330. 2008-01-10 Jonathan Pobst <[email protected]>
  2331. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  2332. Linux doesn't care, having a minimum matches MS and keeps the window
  2333. from becoming too small to use window decorations.
  2334. [Fixes bug #338996]
  2335. 2008-01-10 Jonathan Pobst <[email protected]>
  2336. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  2337. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  2338. control. [Fixes bug #325419]
  2339. 2008-01-10 Jonathan Pobst <[email protected]>
  2340. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  2341. SelectedIndexChanged event. This closes the combobox dropdown, and we
  2342. were trying to dispose it. [Fixes bug #352830]
  2343. 2008-01-09 Jonathan Pobst <[email protected]>
  2344. * Control.cs, Form.cs: Implement the necessary semantics for
  2345. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  2346. to determine if a focus rectangle should be drawn.
  2347. * PropertyGrid.cs: Fix property visibility to match override.
  2348. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  2349. 2008-01-09 Jonathan Pobst <[email protected]>
  2350. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  2351. [Fixes bug #323552]
  2352. 2008-01-09 Geoff Norton <[email protected]>
  2353. * XplatUICarbon.cs: Scroll windows in the correct direction.
  2354. 2008-01-09 Geoff Norton <[email protected]>
  2355. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  2356. when the app is deactivated or spaces is enabled.
  2357. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  2358. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  2359. extra separation pixel for the label rect origin if SmallImageList is
  2360. null, and thus we don't need that separation between icon and label
  2361. rects.
  2362. Patch by Ernesto Carrea.
  2363. Fixes # 340195.
  2364. 2008-01-08 Jonathan Pobst <[email protected]>
  2365. * StatusStrip.cs: Invalidate after completing a layout. The base
  2366. OnLayout does this, but we don't call the base.
  2367. * ToolStripItem.cs: Revert the previous change to invalidate after
  2368. the item moves.
  2369. [Fixes bug #351341 better.]
  2370. 2008-01-07 Geoff Norton <[email protected]>
  2371. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  2372. not a notification to exit the application. Listen for WM_QUIT
  2373. instead.
  2374. 2008-01-07 Andreia Gaita <[email protected]>
  2375. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  2376. 2008-01-07 Jonathan Pobst <[email protected]>
  2377. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  2378. so it can repaint at the correct location.
  2379. [Fixes bug #351341]
  2380. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  2381. * ListControl.cs: SelectedValue should return a null value if
  2382. SelectedIndex is -1. Also, when setting it, it should throw an
  2383. ArgumentNullException if the value is null, as well as taking
  2384. into account the String.Empty value, instead of ignoring it (we have
  2385. tests for that now).
  2386. Fixes part of #324286.
  2387. 2008-01-06 Jonathan Pobst <[email protected]>
  2388. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  2389. SelectionStart is updated after pressing enter. Fixes bug #351918.
  2390. 2008-01-05 Jonathan Pobst <[email protected]>
  2391. * TextControl.cs: Revert a piece r92316 that prevented the fix
  2392. from working when there were multiple tags in the text box.
  2393. Fixes bug #351881.
  2394. 2008-01-05 Jonathan Pobst <[email protected]>
  2395. * TextControl.cs: Apply patch from Luke Page that prevents an
  2396. NRE when determining the beginning of a paragraph.
  2397. Fixes bug #351886.
  2398. 2008-01-05 Jonathan Pobst <[email protected]>
  2399. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  2400. caret gets moved with clicking away from a selected block of
  2401. text. Fixes bug #351885.
  2402. 2008-01-05 Jonathan Pobst <[email protected]>
  2403. * TextControl.cs: Apply patch from Luke Page that takes line
  2404. alignment into account for mouse selection, so that center and
  2405. right aligned text can be selected.
  2406. Fixes bug #351881.
  2407. 2008-01-05 Jonathan Pobst <[email protected]>
  2408. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  2409. issues after loading an RTF file by using the correct line feeds.
  2410. Fixes bug #351841.
  2411. 2008-01-05 Jonathan Pobst <[email protected]>
  2412. * TextControl.cs: When deleting multiple line selections, we need
  2413. to invalidate every line beginning at the first line of the selection.
  2414. Patch from Luke Page fixes bug #351791.
  2415. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  2416. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  2417. event, don't set SelectedIndex if the number of items is 1. This is
  2418. because, for the first item, PositionChanged is fired _before_
  2419. ItemChanged (the place where we actually populate the items), and
  2420. leave us in a temporary invalid state (since items collection is
  2421. empty).
  2422. Fixes #349655.
  2423. 2008-01-04 Geoff Norton <[email protected]>
  2424. * XplatUICarbon.cs: Create native toolwindows instead of
  2425. the managed drawing ones.
  2426. 2008-01-03 Jonathan Pobst <[email protected]>
  2427. * LineTag.cs: If the line doesn't have any characters, return
  2428. 0 for GetCharIndex. Fixes an AOORE exception after certain
  2429. caret movements. Fixes bug #351683. Patch by Luke Page.
  2430. 2008-01-03 Jonathan Pobst <[email protected]>
  2431. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  2432. is hit when there is selected text, only the selected text gets
  2433. deleted, not the character in front of the selection as well.
  2434. Fixes bug #351578.
  2435. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  2436. * ComboBox.cs: When the values are displayed, calculate the
  2437. ComboListBox scrollbar's LargeChange based on the visible area's
  2438. height and the actuall ItemHeight, instead of calculating it
  2439. based on MaxDropItems value, since it's not used by our _current_
  2440. 2.0 profile.
  2441. Fixes #332366.
  2442. 2008-01-03 Jonathan Pobst <[email protected]>
  2443. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  2444. Patch from Luke Page that fixes issues with font colors and styles
  2445. not showing up in a readonly RichTextBox. Fixes bug #324354.
  2446. 2008-01-03 Jonathan Pobst <[email protected]>
  2447. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  2448. from Luke Page. This one fixes bug #349926.
  2449. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  2450. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  2451. an item in the IBindingList source changes with
  2452. ListChangedType.ItemAdded. Ignore for now firing the event for other
  2453. changes, since we want to have tests for those cases as well.
  2454. 2007-12-28 Jonathan Pobst <[email protected]>
  2455. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  2456. created.
  2457. 2007-12-28 Jonathan Pobst <[email protected]>
  2458. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  2459. character. This is effective because the typical usage of a
  2460. TextBox is with a limited amount of fonts and characters, and
  2461. the current implementation of TextBox measures everything one
  2462. character at a time. Another second or two speedup for bug #347238.
  2463. 2007-12-28 Jonathan Pobst <[email protected]>
  2464. * Control.cs: Rewrite the Font getter to only query the parent's
  2465. Font property once instead of twice. Since this operation is
  2466. recursive, the queries were growing exponentially as the control
  2467. tree got deeper. Another second or two speedup for bug #347238.
  2468. 2007-12-28 Jonathan Pobst <[email protected]>
  2469. * Control.cs: Avoid setting a parent (and more importantly, updating
  2470. the zorder of all its children) if the parent is already correct in
  2471. WmShowWindow. Decreases the startup time of the test case on bug
  2472. #347238 from 35 seconds to 11 seconds.
  2473. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  2474. * X11Dnd.cs: When the dnd operation has started and we are
  2475. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  2476. This is done to match .Net, which doesn't send those messages after
  2477. dnd operation was completed/cancelled.
  2478. Fixes #349922.
  2479. 2007-12-27 Jonathan Pobst <[email protected]>
  2480. * ToolStrip.cs: Previous change should be != null, not == null.
  2481. Thanks Gert!
  2482. 2007-12-27 Jonathan Pobst <[email protected]>
  2483. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  2484. user may have moved the mouse off the current item during the event.
  2485. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  2486. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  2487. calling GetItemAt for every MouseMove event by also taking into
  2488. account whether any mouse button is pressed (probably dragging);
  2489. if so, we can call GetItemAt, and if not, try to not call it
  2490. (GetItemAt can be quite expensive when used with a large number of items).
  2491. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  2492. * ListView.cs: Implement -finally- support for dnd, by calling
  2493. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  2494. authors list ;-).
  2495. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  2496. simple calculation of distances for all the items in the owner
  2497. listview.
  2498. 2007-12-21 Geoff Norton <[email protected]>
  2499. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  2500. for windows that are originally created as invisible. Fixes missing
  2501. main window in paint-mono.
  2502. 2007-12-21 Geoff Norton <[email protected]>
  2503. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  2504. subclass handler for com.novell.mwfview subclassing HIView. Implement
  2505. Pasteboard and Dnd methods.
  2506. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  2507. * ListBox.cs: When we got focus, give focus to first item if there
  2508. wasn't any pervious focused item. Also update navigation to depend on
  2509. SelectedIndex rather than FocusedItem, just as .Net does.
  2510. Fixes #349174.
  2511. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  2512. * ListBox.cs: Both FindString and FindStringExact methods must do an
  2513. case insensitive search, should allow the last valid index to be
  2514. passed in the overload taking an initial index, and should also
  2515. continue searching from the top back to the specified index when it
  2516. reaches the bottom.
  2517. 2007-12-19 Jonathan Pobst <[email protected]>
  2518. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  2519. redraw issue, and allows RichTextBox to draw colored text even while
  2520. disabled or readonly.
  2521. 2007-12-19 Jonathan Pobst <[email protected]>
  2522. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  2523. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  2524. and doesn't grey text in a disabled RichTextBox.
  2525. 2007-12-19 Jonathan Pobst <[email protected]>
  2526. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  2527. for many RTF commands: quad alignment, separate formatting for blocks
  2528. inside groups, and ParDef support. Makes the test case from bug #324589
  2529. look much better.
  2530. 2007-12-19 Jonathan Pobst <[email protected]>
  2531. * LineTag.cs: Fix an error in the new Draw method that caused
  2532. a crash when rendering the document on bug #324589.
  2533. 2007-12-19 Jonathan Pobst <[email protected]>
  2534. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  2535. TextControl.cs: Apply patch from Luke Page that adds support
  2536. for URL links in RichTextBox.
  2537. [Fixes enhancement #342516]
  2538. 2007-12-18 Everaldo Canuto <[email protected]>
  2539. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  2540. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  2541. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  2542. * ListBox.cs: When a key gets pressed, try to find a string
  2543. if the key is a character or a digit.
  2544. Fixes #343971.
  2545. 2007-12-17 Jonathan Pobst <[email protected]>
  2546. * TableLayoutPanel.cs: Remove some unused variables.
  2547. 2007-12-17 Jonathan Pobst <[email protected]>
  2548. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  2549. we don't end up at an invalid date when we click the up/down
  2550. spinner to change the month or year. Fixes bug #348682.
  2551. 2007-12-17 Jonathan Pobst <[email protected]>
  2552. * Application.cs: Calling Exit in 2.0 should chain to the
  2553. Exit (CancelEventArgs) version so it can be cancelled.
  2554. * Form.cs: Create a flag to allow raising the Closing
  2555. events to be skipped. We raise them once in Application.Exit
  2556. and don't want to raise them again when the Form is actually
  2557. closed. [Fixes bug #349073]
  2558. 2007-12-16 Jonathan Pobst <[email protected]>
  2559. * ToolStripDropDown.cs: Guard against an NRE when there
  2560. hasn't been a mainform set in the application context.
  2561. [Fixes bug #349108]
  2562. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  2563. * ListBox.cs: When SetBoundsCore gets called, besides
  2564. calling UpdateScrollBars, update the value of
  2565. last_visible_index, since we could need to show more items
  2566. than before, and we need to let the paint routines know that.
  2567. Fixes #344445.
  2568. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  2569. * ListView.cs: Add DesignerSerializationVisibility attribute to
  2570. InsertionMark property.
  2571. * ListViewItem.cs: Add same attribute to Position property.
  2572. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  2573. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  2574. is 2.0 only.
  2575. 2007-12-14 Jonathan Pobst <[email protected]>
  2576. * ThemeWin32Classic.cs: Don't draw the background on a
  2577. flat button if there is a background image.
  2578. [Fixes bug #348649]
  2579. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  2580. * ListBox.cs: If we remove the item currently selected,
  2581. remove it not only from SelectedItems, but also
  2582. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  2583. the items count decreased and focused_item has bigger value than that.
  2584. 2007-12-13 Jonathan Pobst <[email protected]>
  2585. * Control.cs: Perform our layout after we resize ourselves
  2586. if we had to adjust our AutoSize. Missed commit for bug
  2587. #346246.
  2588. 2007-12-13 Jonathan Pobst <[email protected]>
  2589. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  2590. we can provide an implementation of AutoSize.
  2591. [Fixes bug #346246]
  2592. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  2593. * ListBox.cs: Add the internal overload Sort (bool paint),
  2594. to indicate whether we actually need a paint or we will
  2595. call Refresh ourselves. This way we don't request a paint
  2596. _before_ having an updated and valid layout.
  2597. Fixes #347233.
  2598. 2007-12-12 Andreia Gaita <[email protected]>
  2599. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  2600. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  2601. properly invalidated.
  2602. Fixes #324237
  2603. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  2604. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  2605. don't simply assign it to our internal group field, but instead
  2606. use our Group property, which should do all the neccessary work
  2607. required to support groups. Fixes an issue reported to me (mail) by a
  2608. guy using this new feature.
  2609. 2007-12-11 Jonathan Pobst <[email protected]>
  2610. * Control.cs: Use Scale instead of ScaleControl to ensure the
  2611. whole hierarchy gets scaled.
  2612. [Fixes bug #347282]
  2613. 2007-12-10 Jonathan Pobst <[email protected]>
  2614. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  2615. Parent property. Doing this causes the control to be hosted by
  2616. the Form instead of being a popup window.
  2617. [Fixes bug #347665]
  2618. 2007-12-10 Jonathan Pobst <[email protected]>
  2619. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  2620. at an index higher than Count, just use Add instead of Insert.
  2621. [Fixes bug #347669]
  2622. 2007-12-10 Jonathan Pobst <[email protected]>
  2623. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  2624. DrawPictureBox, this is handled by Control.PaintBackground.
  2625. [Fixes bug #347276]
  2626. 2007-12-10 Everaldo Canuto <[email protected]>
  2627. * MenuAPI.cs: When process menu keys return true by default only if menu is
  2628. active. Fixes bug #342892.
  2629. 2007-12-09 Andreia Gaita <[email protected]>
  2630. * Control.cs: check if windows are actually mapped before
  2631. trying to zorder. Fixes #342509, #346955
  2632. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  2633. * ListView.cs:
  2634. * ListViewInsertionMark.cs:
  2635. * ThemeWin32Classic.cs: Implement the drawing side of the
  2636. new 2.0 ListView.InsertionMark property.
  2637. 2007-12-07 Jonathan Pobst <[email protected]>
  2638. * CurrencyManager.cs: Silence some debug spew.
  2639. 2007-12-07 Geoff Norton <[email protected]>
  2640. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  2641. masks for our children as well as siblings to avoid having to query
  2642. Quartz for this information.
  2643. * XplatUICarbon.cs: Implement a delegate based system to pass
  2644. information to System.Drawing. Implement Async methods. Remove
  2645. the hack for the resize thumb and imlpement a transparent Grow Box.
  2646. Rework the messaging system to proplery create window's and messages,
  2647. fixes TabControl.
  2648. 2007-12-06 Andreia Gaita <[email protected]>
  2649. * X11Keyboard.cs: Use Xutf8LookupString to support international
  2650. characters under alternate codepages. Patch from #340878
  2651. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  2652. * ListView.cs: When doing layout computations, set position in the
  2653. ListView instances (we cache the position just as .Net does).
  2654. * ListViewItem.cs: New internal setter method for Position. Also set
  2655. position field as also available in 1.1, since we are going to use it
  2656. now in the common case.
  2657. 2007-12-06 Andreia Gaita <[email protected]>
  2658. * Control.cs: When removing controls, get the actual container
  2659. to notify about active control changes. Fixes 341314.
  2660. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  2661. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  2662. 2007-12-05 Andreia Gaita <[email protected]>
  2663. * Control.cs: When updating the zorder, ignore windows that are not
  2664. mapped. Fixes #342509
  2665. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  2666. * ListViewItem.cs: Actually implement serialization on this class.
  2667. 2007-12-05 Gert Driesen <[email protected]>
  2668. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  2669. LinkCollection. Spaces to tabs, and removed extra tabs.
  2670. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  2671. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  2672. tests to fail (hopefully).
  2673. 2007-12-03 Jonathan Pobst <[email protected]>
  2674. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  2675. the image margin so custom renderers can correctly place it.
  2676. 2007-12-03 Jonathan Pobst <[email protected]>
  2677. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  2678. so custom renderers can correctly place it.
  2679. 2007-12-03 Jonathan Pobst <[email protected]>
  2680. * Application.cs: Let WM_CHAR messages flow through to controls
  2681. hosted in Strips. [Fixes bug #343972]
  2682. 2007-12-02 Jonathan Pobst <[email protected]>
  2683. * ToolStripManager.cs: Guard against an NRE I ran into.
  2684. 2007-12-02 Jonathan Pobst <[email protected]>
  2685. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  2686. a Link is manually added to the Links collection, we need to set
  2687. its owner, so it can invalidate properly.
  2688. [Fixes bug #344012]
  2689. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  2690. * ListView.cs: When changing ListViewItem.Position (which calls
  2691. ListView.ChangeItemLocation), invalidate not only the area
  2692. corresponding to the main item, but also to the area occupied
  2693. by the items being moved.
  2694. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  2695. * ListView.cs: When changing the position of a given item,
  2696. don't use item bounds, but item areas (which includes the item spacing
  2697. between them). Also, use first/last position if the requested
  2698. position is outside bounds (as .Net does). Invalidate the previous and
  2699. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  2700. in a specific position, instead of directly accessing Items collection
  2701. (this is done to get the right item - remember an Item can have a
  2702. different position in the grid than in the Items collection).
  2703. 2007-11-23 Everaldo Canuto <[email protected]>
  2704. * MessageBox.cs: Calculate text area instead of just top left, this rect
  2705. area will be used in DrawString. Fixes bug #343364.
  2706. 2007-11-23 Everaldo Canuto <[email protected]>
  2707. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  2708. screen width. Partially fixes bug #343364.
  2709. 2007-11-23 Everaldo Canuto <[email protected]>
  2710. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  2711. code inside recalculate, it makes code more simple.
  2712. 2007-11-22 Everaldo Canuto <[email protected]>
  2713. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  2714. between update or add icon. Fixes bug #324344.
  2715. 2007-11-21 Andreia Gaita <[email protected]>
  2716. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  2717. window manager, since that stretches the drawing area to include
  2718. the window decorations, and they get hidden. Reverts r84444 and fixes
  2719. #335849 and #342790 (mdi and pdn3 regression)
  2720. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  2721. * ListView.cs: When setting focused item, try to give focus to the
  2722. previous one _only_ if the previous one remains valid.
  2723. Fixes #342504.
  2724. 2007-11-20 Jonathan Pobst <[email protected]>
  2725. * Application.cs: Revert r89650, as it broke a common case to fix
  2726. an obscure case. Fixes bug #342606.
  2727. 2007-11-20 Everaldo Canuto <[email protected]>
  2728. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  2729. 2007-11-20 Everaldo Canuto <[email protected]>
  2730. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  2731. alignment. [Fixes #324228]
  2732. 2007-11-19 Jonathan Pobst <[email protected]>
  2733. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  2734. [Fixes bug #342123]
  2735. 2007-11-19 Everaldo Canuto <[email protected]>
  2736. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  2737. it prevent problems when empty captions. [Fixes #342141]
  2738. 2007-11-19 Jonathan Pobst <[email protected]>
  2739. * Label.cs: Use Size instead of None. Fixes bug #342077.
  2740. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  2741. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  2742. 2007-11-17 Jonathan Pobst <[email protected]>
  2743. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  2744. but there isn't a MdiContainer.
  2745. [Fixes bug #342358]
  2746. 2007-11-17 Jonathan Pobst <[email protected]>
  2747. * TextControl.cs: Don't recalculate document if the recalc_start and
  2748. recalc_end hasn't changed.
  2749. [Fixes bug #342505]
  2750. 2007-11-17 Gert Driesen <[email protected]>
  2751. * DataGridViewTextBoxCell.cs: Removed CWL.
  2752. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2753. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  2754. 2007-11-16 Jonathan Pobst <[email protected]>
  2755. * TextControl.cs: Missed some code for bug 341534 to trigger a
  2756. recalculation when the font changes.
  2757. 2007-11-16 Andreia Gaita <[email protected]>
  2758. * Control.cs: When updating the zorder, check if the child to update is
  2759. the same control that is set to always be on top (i.e., scrollbars), and
  2760. just put it on top directly. Fixes BadMatch error on pdn3
  2761. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2762. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  2763. 2007-11-16 Jonathan Pobst <[email protected]>
  2764. * Control.cs: Don't perform a new layout when a label changes its text,
  2765. cause label handles its own autosizing.
  2766. [Fixes bug #342077]
  2767. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  2768. * ListView.cs: Implement 2.0 FindNearestItem methods.
  2769. 2007-11-15 Jonathan Pobst <[email protected]>
  2770. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  2771. even if the rest of what Join does isn't supported. Add some more
  2772. support for vertical toolbars.
  2773. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  2774. [Fixes the application breaking parts of bug #341998]
  2775. 2007-11-15 Jonathan Pobst <[email protected]>
  2776. * ToolStripItem.cs: When determining if we have a check/image margin,
  2777. we need to look at ShowCheckMargin as well as ShowImageMargin.
  2778. 2007-11-15 Geoff Norton <[email protected]>
  2779. * XplatUIOSX.cs: Rename to...
  2780. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  2781. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  2782. 2007-11-15 Jonathan Pobst <[email protected]>
  2783. * KeysConverter.cs: The default values should be an array of Keys, not
  2784. strings. Also, the array has more values for 2.0.
  2785. [Fixes bug #341851]
  2786. 2007-11-14 Jonathan Pobst <[email protected]>
  2787. * Application.cs: Change ExecutablePath to use
  2788. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  2789. [Fixes bug #323552]
  2790. 2007-11-14 Jonathan Pobst <[email protected]>
  2791. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  2792. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  2793. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  2794. be ignored. Create a new GetLineEnding that can specify which types of
  2795. line endings to look for. On Insert, only create new lines for \n and \r\n.
  2796. [Fixes bug #324274]
  2797. 2007-11-14 Jonathan Pobst <[email protected]>
  2798. * TextBoxBase.cs: As we loop through each line changing the font, tell
  2799. the document that the line needs to be recalculated. Fixes bug #341534.
  2800. 2007-11-13 Jonathan Pobst <[email protected]>
  2801. [Another round of refactoring]
  2802. * Line.cs: Add DeleteCharacters.
  2803. * LineTag.cs: Add Delete.
  2804. * TextBoxBase.cs: Update to use new methods.
  2805. * TextControl.cs: Refactor the Delete* methods.
  2806. 2007-11-13 Everaldo Canuto <[email protected]>
  2807. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  2808. the patch. [Fixes #324856]
  2809. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  2810. * ListView.cs:
  2811. * ListViewItem.cs: Add an initial implementation of
  2812. 2.0 ListViewItem.Position getter.
  2813. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  2814. * ListView.cs: Add a reordered_items_indices array, to allow us
  2815. to have a different sorting than that of Items (the sorting in Items
  2816. could not match the actual sorting in screen). This is needed to
  2817. implement a pair of 2.0 features.
  2818. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  2819. actual position in the ListView grid, since it could have a position
  2820. different than its Index (position in ListViewItemCollection).
  2821. 2007-11-09 Jonathan Pobst <[email protected]>
  2822. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  2823. not draw partial lines.
  2824. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  2825. LineLimit flag from the base is preserved.
  2826. Fixes the windows part of bug #338965.
  2827. 2007-11-09 Jonathan Pobst <[email protected]>
  2828. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  2829. so that it can be canceled in KeyPress.
  2830. Fixes bug #340078.
  2831. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  2832. * ListView.cs: In ItemControl, reset mouse-handling related
  2833. fields even if we dont' have items (we still should reset them when
  2834. we had items but then called Items.Clear). Partially based in a patch
  2835. by George Giolfan.
  2836. Fixes #338399.
  2837. 2007-11-08 Gert Driesen <[email protected]>
  2838. * Application.cs: In ProductVersion first try AssemblyFileVersion
  2839. before falling back to assembly version. Fixes bug #339787.
  2840. 2007-11-08 Andreia Gaita <[email protected]>
  2841. * HtmlElement.cs: Implement InnerText setter.
  2842. * WebBrowserBase.cs: Implement Navigated event support.
  2843. Add flag to track when the browser "document" is ready to be retrieved.
  2844. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  2845. Make sure browser document is ready before retrieving it.
  2846. Clean up cached objects (document) when moving to a new page through
  2847. any of the navigation methods.
  2848. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  2849. Implement OnNavigated event.
  2850. 2007-11-07 Jonathan Pobst <[email protected]>
  2851. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  2852. DrawLinkLabel, this is handled by OnPaintBackground.
  2853. Fixes bug #339565, part II.
  2854. 2007-11-07 Andreia Gaita <[email protected]>
  2855. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  2856. getting a Select call on click, so this call needs to be here for now.
  2857. Unfixes #325809
  2858. 2007-11-07 Geoff Norton <[email protected]>
  2859. * OSXStructs.cs: Add the kEventClassApplication constants.
  2860. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  2861. application is deactivated otherwise Menu overlays linger on top of
  2862. other application windows.
  2863. 2007-11-07 Geoff Norton <[email protected]>
  2864. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  2865. dont support cursors yet anyways. This allows Reflector to run.
  2866. 2007-11-07 Geoff Norton <[email protected]>
  2867. * XplatUIOSX.cs: Implement DragSize.
  2868. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  2869. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  2870. ItemControl, request the focus, as .Net does. This is needed after
  2871. Control does not request focus anymore when it receives a
  2872. WM_LBUTTONDOWN.
  2873. 2007-11-06 Jonathan Pobst <[email protected]>
  2874. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  2875. Remove the DrawImage call from OnPaint.
  2876. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  2877. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  2878. but before we draw the text for DrawLabel and DrawLinkLabel.
  2879. Fixes bug #339565.
  2880. 2007-11-05 Andreia Gaita <[email protected]>
  2881. * Control.cs: Remove select call on click. Fixes #325809
  2882. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  2883. * ListViewItem.cs: Add 2.0 Position property getter.
  2884. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2885. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  2886. Also, to make it work properly, change item's BackColor and
  2887. BackgroundImageLayout as needed.
  2888. * ThemeWin32Classic.cs: Don't fill any background rectangle
  2889. in ListView.ItemControl when drawing items; just let the Control
  2890. base implementation fill it.
  2891. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2892. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  2893. as well as adding a custom 'dummy' Converter, as .net does.
  2894. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2895. * PropertyGridView.cs: When clicking drop-down button,
  2896. select an index in the listbox only if our standard values collection
  2897. has one or more items.
  2898. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  2899. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  2900. property.
  2901. 2007-11-04 Gert Driesen <[email protected]>
  2902. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  2903. the value is not changed. This ensure a pushed button remains in that
  2904. state when clicked again. When switching the value of PropertySort
  2905. between Categorized and CategorizedAlphabetical, do not update the
  2906. grid items and do not fire a PropertyChangedEvent. When clicking the
  2907. sorting buttons, do not modify the PropertySort value when switching
  2908. between Categorized and CategorizedAlphabetical but only update the
  2909. button state.
  2910. 2007-11-04 Gert Driesen <[email protected]>
  2911. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  2912. formatting.
  2913. * PropertyGrid.cs: Also put Categorized button in pushed state when
  2914. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  2915. for help description label.
  2916. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  2917. * ListView.cs: When calculating the biggest item for a given column,
  2918. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  2919. the item's width.
  2920. 2007-11-03 Gert Driesen <[email protected]>
  2921. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  2922. value for PropertySort on 1.0 profile. PropertySortChanged event
  2923. should only be fired on 2.0 profile. Fixed NullReferenceException
  2924. in UpdateSortLayout when PropertyGrid contains no items.
  2925. 2007-11-02 Jonathan Pobst <[email protected]>
  2926. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  2927. [Fixes bug #338554]
  2928. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  2929. * ListViewItem.cs: Implement 2.0 IndentCount property.
  2930. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  2931. * X11Dnd.cs: When sending status in a dnd operation, compare current
  2932. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  2933. the later is only created when a Winforms application is both the
  2934. source and the target, but not when we are the target only.
  2935. Fixes part of #324251.
  2936. 2007-11-01 Geoff Norton <[email protected]>
  2937. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  2938. order of Z-Order.
  2939. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  2940. children out of the drawing view on mac.
  2941. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  2942. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  2943. 2007-11-01 Jonathan Pobst <[email protected]>
  2944. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  2945. on the non-hosted-control part of it shouldn't do anything.
  2946. Fixes part of bug #327498.
  2947. 2007-11-01 Andreia Gaita <[email protected]>
  2948. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  2949. 2007-11-01 Jonathan Pobst <[email protected]>
  2950. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  2951. it does not use flow through to controls that are hosted in menus.
  2952. Same with mouse clicks.
  2953. * Form.cs: Don't close all menus on click if the click is on a
  2954. control hosted in a menu.
  2955. Fixes part of bug #327498, and part of bug #325969.
  2956. 2007-10-31 Andreia Gaita <[email protected]>
  2957. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  2958. 2007-10-31 Jonathan Pobst <[email protected]>
  2959. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  2960. Addresses an issue raised in bug #336218.
  2961. 2007-10-30 Jonathan Pobst <[email protected]>
  2962. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  2963. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  2964. 2007-10-30 Andreia Gaita <[email protected]>
  2965. * ContainerControl.cs: Check if the active control is a
  2966. child of a removed control and update active_control accordingly.
  2967. Fixes #329718
  2968. 2007-10-29 Jonathan Pobst <[email protected]>
  2969. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  2970. or the MaxDate. Fixed bug #337693.
  2971. 2007-10-29 Jonathan Pobst <[email protected]>
  2972. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  2973. after calling SetWindowLong for a form, to force an immediate NC refresh.
  2974. Fixes first part of bug #325150.
  2975. 2007-10-29 Jonathan Pobst <[email protected]>
  2976. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  2977. simple. Fixes the last part of bug #322668.
  2978. 2007-10-29 Jonathan Pobst <[email protected]>
  2979. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  2980. needs to be TopMost as well, or else the MessageBox is under the form.
  2981. Patch by George fixes bug #325300.
  2982. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  2983. * X11Dnd.cs: When starting a new drag operation, reset the static
  2984. 'dropped' field to false (previously the implementation didn't reset
  2985. it and got confused after the first drag).
  2986. Fixes #325071.
  2987. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  2988. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  2989. items instead of re-creating them all. For this purpose we now cache
  2990. both CategoryGridEntry items and the GridEntries for the main object's
  2991. properties.
  2992. * GridItem.cs: Make SetParent method abstract.
  2993. * GridEntry.cs: Override the SetParent method (already there, but now
  2994. we override it).
  2995. Fixes #324866.
  2996. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  2997. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  2998. depending on its depth (as .Net does). Update the needed values in
  2999. MouseDown handler. Also draw the plus/minus rect after the label,
  3000. so we don't draw on top of it.
  3001. 2007-10-24 Everaldo Canuto <[email protected]>
  3002. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  3003. processed by forms or controls when menu is active. [Fixes #333548]
  3004. 2007-10-24 Jonathan Pobst <[email protected]>
  3005. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  3006. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  3007. focus on mouse over.
  3008. 2007-10-24 Jonathan Pobst <[email protected]>
  3009. * TextControl.cs: Code cleaning, simplifying.
  3010. 2007-10-24 Geoff Norton <[email protected]>
  3011. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  3012. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  3013. 2007-10-24 Jonathan Pobst <[email protected]>
  3014. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  3015. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  3016. 2007-10-24 Andreia Gaita <[email protected]>
  3017. * SendKeys.cs: apply jpobst's patch to bug #332409
  3018. 2007-10-23 Andreia Gaita <[email protected]>
  3019. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  3020. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  3021. for some reason
  3022. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  3023. * PropertyGridView.cs: If a property has an UIEditor available,
  3024. make the drop-down/editor button available only if the property
  3025. is _not_ read only.
  3026. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  3027. * PropertyGridView.cs: Don't make the grid item textbox
  3028. editable when a drop-down control is available, but
  3029. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  3030. true. The same bur the color of the grid item value's label.
  3031. 2007-10-22 Geoff Norton <[email protected]>
  3032. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  3033. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  3034. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  3035. driver. Padd the bottom of all real windows so the resize thumb doesn't
  3036. obscure scroll/status bars.
  3037. 2007-10-22 Jonathan Pobst <[email protected]>
  3038. * WindowsFormsSection.cs: Implement.
  3039. 2007-10-22 Everaldo Canuto <[email protected]>
  3040. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  3041. closed see #325434 patch.
  3042. 2007-10-22 Everaldo Canuto <[email protected]>
  3043. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  3044. see #325434 patch.
  3045. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  3046. * PropertyGridView.cs: When showing the textbox for a grid item,
  3047. have two local variables to store the read-only and non-editable
  3048. status of a grid item (we were previously using just one variable
  3049. to do this, when actually they are slightly different).
  3050. Fixes part of #325023.
  3051. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  3052. * PropertyGridView.cs: When showing a drop-down list, try to get the
  3053. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  3054. part of #325023.
  3055. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  3056. * PropertyGrid.cs: When updating a property and populating sub grid
  3057. items, remove the previous ones, and invalidate the specific area.
  3058. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  3059. area behind a grid item.
  3060. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  3061. clean the items if needed (specially for controls implementing
  3062. ICustomTypeDescriptor and returning a variable number of properties).
  3063. Fixes #324865.
  3064. 2007-10-19 Jonathan Pobst <[email protected]>
  3065. * TextControl.cs: Clean up and document the Insert function.
  3066. 2007-10-17 Jonathan Pobst <[email protected]>
  3067. * TextControl.cs: Make sure we know our start point for updating the view
  3068. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  3069. update the view.
  3070. 2007-10-17 Jonathan Pobst <[email protected]>
  3071. * ListView: Couple of corcompare fixes.
  3072. 2007-10-17 Geoff Norton <[email protected]>
  3073. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  3074. the title caption of real window.
  3075. 2007-10-17 Jonathan Pobst <[email protected]>
  3076. * ErrorProvider.cs: Add the error provider's internal window to a
  3077. containercontrol when the parent changes. [Fixes bug #329714]
  3078. 2007-10-17 Geoff Norton <[email protected]>
  3079. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  3080. When we make a new window; restore the old active window - fixes dialogs.
  3081. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  3082. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  3083. when modifying a property, and if found then invalidate as
  3084. requested.
  3085. Fixes part of #324865.
  3086. 2007-10-17 Geoff Norton <[email protected]>
  3087. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  3088. highly experimental. Fixed coordinate translation. Fixed window locations.
  3089. Initial support for clipping. Implemented NC areas and menus. Support for
  3090. launching from command line from Will Johansson ([email protected]).
  3091. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  3092. [email protected])
  3093. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  3094. Hwnds now track the existence of all of their children for Mac clipping.
  3095. * XplatUI.cs: Re-enabled the native driver on the Mac.
  3096. 2007-10-17 Jonathan Pobst <[email protected]>
  3097. * Line.cs: Move the InsertString function to here.
  3098. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  3099. functionality to Line.
  3100. 2007-10-17 Geoff Norton <[email protected]>
  3101. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  3102. 2007-10-16 Gert Driesen <[email protected]>
  3103. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  3104. always setting value to true.
  3105. * Form.cs: When changing AcceptButton, notify new and original button.
  3106. 2007-10-16 Jonathan Pobst <[email protected]>
  3107. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  3108. a custom control that implements IButtonControl instead of an actual
  3109. button. [Fixes bug #334244]
  3110. 2007-10-15 Everaldo Canuto <[email protected]>
  3111. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  3112. MdiWindowManager.
  3113. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  3114. active control when activate a new mdi window.
  3115. [Fixes bug #330495]
  3116. 2007-10-15 Everaldo Canuto <[email protected]>
  3117. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  3118. is already added.
  3119. [Fixes bug #333617]
  3120. 2007-10-15 Jonathan Pobst <[email protected]>
  3121. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  3122. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  3123. so we always recalculate the whole document instead of just the new part.
  3124. [Fixes bug #325082]
  3125. 2007-10-15 Jonathan Pobst <[email protected]>
  3126. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  3127. when the mouse was to the left of the first character in the line.
  3128. 2007-10-15 Jonathan Pobst <[email protected]>
  3129. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  3130. character, use the property instead of the variable so that the
  3131. UseSystemPasswordChar property is taken into account.
  3132. [Fixes bug #333748]
  3133. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  3134. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  3135. folder" contex menu appears, actually add the new folder to it, even
  3136. if the node is not currently selected. Still use SelectedNode in case
  3137. there wasn't found a node under the pointer.
  3138. Fixes #325452.
  3139. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  3140. * ListViewItem.cs: When retrieving the focused state, the index check
  3141. should be done only when ListView is in virtualmode, as it is an
  3142. expensive check for normal mode.
  3143. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  3144. * ListViewItem.cs: Make the focus state information be stored
  3145. in the ListView, not in the items. This is done to match the MS
  3146. behaviour for items that are not yet part of a ListView control;
  3147. besides that, since just one item can be focused at the same time,
  3148. we save a little space in our items.
  3149. Fixes part of #331643.
  3150. 2007-10-13 Gert Driesen <[email protected]>
  3151. * ComboBox.cs: When focus is lost, deselect the text. When setting
  3152. text of control, select all text. Do not hide selection when control
  3153. does not have focus. Fixes bug #333663.
  3154. 2007-10-13 Gert Driesen <[email protected]>
  3155. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  3156. instead of ArgumentException when SelectionLength is set to negative
  3157. value. Added same check to SelectionStart. Code formatting.
  3158. 2007-10-13 Gert Driesen <[email protected]>
  3159. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  3160. or SelectionStart. Code formatting.
  3161. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  3162. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  3163. indicating that there was not a previous drag-and-drop operation going
  3164. on.
  3165. Fixes part of #325071.
  3166. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  3167. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  3168. AllowedEffect, don't let the drop operation happen.
  3169. Fixes #32580.
  3170. 2007-10-12 Jonathan Pobst <[email protected]>
  3171. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  3172. 2007-10-12 Jonathan Pobst <[email protected]>
  3173. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  3174. is called.
  3175. 2007-10-12 Jonathan Pobst <[email protected]>
  3176. * Line.cs: Add a method that finds the tag that contains an x-coord.
  3177. * LineTag.cs: Add a method that finds the character at an x-coord using
  3178. a binary search, the old way was a linear search.
  3179. * TextControl.cs: Change FindCursor to use the above new methods.
  3180. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  3181. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  3182. value different than AllowedEffect). This should be possible to
  3183. indicate that dragging is not possible in some control/area.
  3184. 2007-10-11 Jonathan Pobst <[email protected]>
  3185. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  3186. descent internally when font changes instead of outside code being responsible
  3187. for setting it.
  3188. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  3189. instead of accessing internal variables.
  3190. 2007-10-09 Everaldo Canuto <[email protected]>
  3191. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  3192. remove special treatment for ArrangeIcons since it is already arranged.
  3193. 2007-10-09 Jonathan Pobst <[email protected]>
  3194. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  3195. the Win32 backend uses Color.
  3196. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  3197. Refactor to store a Color instead of a Brush for Color.
  3198. 2007-10-09 Jonathan Pobst <[email protected]>
  3199. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  3200. away. I didn't realize I needed this when I refactored these earlier.
  3201. 2007-10-09 Jonathan Pobst <[email protected]>
  3202. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  3203. store a Color structure and use the ResPool for back color instead of
  3204. holding onto brushes.
  3205. 2007-10-09 Jonathan Pobst <[email protected]>
  3206. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  3207. [Fixes bug #325592]
  3208. 2007-10-08 Jonathan Pobst <[email protected]>
  3209. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  3210. to recalculate its size. Fixes a part of bug #331052.
  3211. 2007-10-08 Jonathan Pobst <[email protected]>
  3212. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  3213. button. Fixes a part of bug #331052.
  3214. 2007-10-08 Jonathan Pobst <[email protected]>
  3215. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  3216. the CreateParams.
  3217. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  3218. decorations.
  3219. [Fixes bug #330986]
  3220. 2007-10-08 Jonathan Pobst <[email protected]>
  3221. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  3222. doesn't exist in 1.1. (Thanks jb!)
  3223. 2007-10-08 Jonathan Pobst <[email protected]>
  3224. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  3225. class to allow us to use different backends on different platforms.
  3226. Linux uses the current [Draw|Measure]String backend. Windows uses
  3227. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  3228. of GDI+. This leads to better looking text and more accurate measurements
  3229. on Windows, fixing many of the reported issues.
  3230. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  3231. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  3232. * FolderBrowserDialog.cs: When running on Windows,
  3233. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  3234. since we must match both "C:" and "C:\" forms. A little hackish, but
  3235. works.
  3236. Fixes #325247.
  3237. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  3238. * ListView.cs: When calling EndEdit (after editing an item),
  3239. create a new instance of LabelEditEventArgs to keep clean the fields
  3240. in case we get a new call to BeginEdit; also do Application.DoEvents
  3241. to have focus in synch. This is a fix similar to TreeView's #325244.
  3242. 2007-10-07 Andreia Gaita <[email protected]>
  3243. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  3244. * WebBrowserBase.cs: Added dialog support, calling the
  3245. WebBrowserDialogs classes for each specific dialog type.
  3246. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  3247. * ListView.cs: When the last item is focused and is removed,
  3248. move the focus to the previous item (in Items order). This is what MS
  3249. does.
  3250. Fixes #330415.
  3251. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  3252. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  3253. instead of the opposite (RemoveAt call Remove). This is a better
  3254. approach since we don't need to to a pair of traversals when using
  3255. RemoveAt.
  3256. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  3257. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  3258. check that the node actually has nodes, and if not, move to the
  3259. parent node instead.
  3260. Fixes #325265.
  3261. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  3262. * TreeView.cs: Move the previous change to the general case (to
  3263. call Application.DoEvents in cases where the method was called by
  3264. different places).
  3265. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  3266. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  3267. call Application.DoEvents. This is neccessary when we get a call to
  3268. BeginEdit from an AfterLabelEdit handler, because the focus always
  3269. goes to the TreeView, even if we try to give it to our
  3270. LabelEditTextBox. The call do Application.DoEvents seems to
  3271. synchronize the focus, basically.
  3272. Fixes #325244.
  3273. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  3274. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  3275. should be false. This also removes some nasty recursive paths. Fixes
  3276. part of #325244.
  3277. 2007-10-04 Everaldo Canuto <[email protected]>
  3278. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  3279. state to normal. Also resize window when cascading. Fixes #325433.
  3280. 2007-10-04 Jonathan Pobst <[email protected]>
  3281. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  3282. DefaultForeColor, as drawing empty colored lines isn't very useful.
  3283. [Fixes the not drawn lines part of bug #324358]
  3284. 2007-10-04 Jonathan Pobst <[email protected]>
  3285. * TextControl.cs: Move Line and LineTag classes into separate files to
  3286. make things easier to find.
  3287. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  3288. * RichTextBox.cs: Capitalize LineTag.Length property access.
  3289. - This is purely an organizational/formatting change, no logic changed. -
  3290. 2007-10-03 Everaldo Canuto <[email protected]>
  3291. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  3292. text is empty.
  3293. 2007-10-03 Everaldo Canuto <[email protected]>
  3294. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  3295. text is empty.
  3296. 2007-10-03 Everaldo Canuto <[email protected]>
  3297. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  3298. prevent calling of OnBackColorChanged. Fixes #325321.
  3299. 2007-10-03 Everaldo Canuto <[email protected]>
  3300. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  3301. because control can be disabled because owner is disabled.
  3302. 2007-10-02 Jonathan Pobst <[email protected]>
  3303. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  3304. string.Empty, test failed from previous change.
  3305. 2007-10-02 Jonathan Pobst <[email protected]>
  3306. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  3307. is null, not String.Empty. See bug #323038.
  3308. 2007-10-01 Jonathan Pobst <[email protected]>
  3309. * TextControl.cs: Change the margins to match MS a little better.
  3310. Still not perfect for X11 due to some DrawString differences, but
  3311. is still an improvement over the old stuff.
  3312. Partially fixes #324467.
  3313. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  3314. * FolderBrowserDialog.cs: When using MyComputer as
  3315. RootFolder, let absolute paths be considered as valid ones. Also, use
  3316. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  3317. for Windows compatibility.
  3318. Partially fixes #325247.
  3319. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  3320. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  3321. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  3322. method, since it causes the dialog to not select folders directly
  3323. under the root path (when setting SelectedPath property).
  3324. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  3325. * TreeNode.cs: When calling Expand/Collapse and need to call
  3326. ExpandBelow/CollapseBelow respectively, take into account
  3327. partially visible nodes (previously Expanding/Collapsing
  3328. a partially visible node in the bottom was not updating its +- sign).
  3329. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  3330. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  3331. expand nodes below (ExpandBelow), scroll the entire Viewport
  3332. area if the node is above it and not visible (instead of scrolling
  3333. the area from node's Bottom, which applies only when the node is
  3334. visible).
  3335. Fixes #325266.
  3336. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  3337. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  3338. node in the bottom area (as .Net does). This is done to preserve the
  3339. scroll position when ExpandAll is called before handle is created for
  3340. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  3341. Fixes #324103.
  3342. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  3343. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  3344. bottom area if we are in fact not using the vertical scroll bar.
  3345. Fixes #324824.
  3346. 2007-09-27 Jonathan Pobst <[email protected]>
  3347. * Control.cs: Comment out a double buffering optimization that doesn't
  3348. take into account invalidates created in OnPaint, causing the control
  3349. to never be redrawn. It would take quite a bit of work to work around
  3350. this, but I left it commented with an explanation for later possible
  3351. optimization.
  3352. [Fixes bug #328681]
  3353. 2007-09-27 Jonathan Pobst <[email protected]>
  3354. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  3355. the text changes.
  3356. * RadioButton.cs: Implement GetPreferredSizeCore.
  3357. [Fixes bug #328672]
  3358. 2007-09-26 Jonathan Pobst <[email protected]>
  3359. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  3360. corcompare stuffs.
  3361. 2007-09-26 Jonathan Pobst <[email protected]>
  3362. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  3363. so that it doesn't get uninstalled on modal forms.
  3364. * Control.cs: Install a sync context when a control is created.
  3365. * WindowsFormsSyncronizationContext.cs: Create a private static control
  3366. to invoke on. This is easier than trying to find a created control we
  3367. can use.
  3368. [Fixes bug #327608]
  3369. 2007-09-25 Jonathan Pobst <[email protected]>
  3370. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  3371. run loop, and uninstall it when done.
  3372. * WindowsFormsSynchronizationContext.cs: Implement.
  3373. [Fixes the common case in bug #327608]
  3374. 2007-09-23 Gert Driesen <[email protected]>
  3375. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  3376. Use case-insensitive lookup of column name in indexer. Code
  3377. formatting.
  3378. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  3379. * TreeNode.cs: When collapsing or expanding a node, check whether its
  3380. change will affect the visible area (we were previously doing a
  3381. IsVisible check, but that check is not enough since children nodes
  3382. could be still visible). Fixes part of #325266.
  3383. 2007-09-21 Jonathan Pobst <[email protected]>
  3384. * TreeView.cs: Always select the first node when the TreeView gets
  3385. focus if there is no currently selected node.
  3386. [Fixes bug #324279]
  3387. 2007-09-21 Jonathan Pobst <[email protected]>
  3388. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  3389. node being selected is null.
  3390. [Patch from Yves Bastide fixes bug #326858]
  3391. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  3392. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  3393. whether all the parent nodes are expanded.
  3394. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  3395. call RecalculateVisibleOrder if all previous nodes are expanded.
  3396. Before that we were doing a IsVisible check, but sometimes the node
  3397. is not in the visible area, but _should_already be ready, because of
  3398. all previous nodes are expanded. Fixes #325259.
  3399. 2007-09-20 Jonathan Pobst <[email protected]>
  3400. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  3401. portion of the item is clicked.
  3402. 2007-09-20 Jonathan Pobst <[email protected]>
  3403. * TextControl.cs: Do not tell the system to move the cursor if the
  3404. textbox isn't focused. Fixes part of bug #322668.
  3405. 2007-09-20 Jonathan Pobst <[email protected]>
  3406. * ComboBox.cs: When there are no items, do not show the dropdown if
  3407. the down arrow is clicked. Fixes part of bug #322668.
  3408. 2007-09-20 Jonathan Pobst <[email protected]>
  3409. * ToolStripComboBox.cs: Manually set the size of this control in the
  3410. constructor, as it doesn't seem to be the same as DefaultSize.
  3411. Fixes a failing monobuild test.
  3412. 2007-09-19 Jonathan Pobst <[email protected]>
  3413. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  3414. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  3415. 2007-09-19 Jonathan Pobst <[email protected]>
  3416. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  3417. Desktop. This lets it work for people who have moved their desktops
  3418. from the default location on windows. For people who have not, both
  3419. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  3420. 2007-09-18 Jonathan Pobst <[email protected]>
  3421. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  3422. but when the base constructor sets this, the control is null. Set it
  3423. again in the constructor. Fixes a failing monobuild test.
  3424. 2007-09-18 Jonathan Pobst <[email protected]>
  3425. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  3426. get called.
  3427. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  3428. called.
  3429. 2007-09-18 Jonathan Pobst <[email protected]>
  3430. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  3431. will handle it themselves.
  3432. * ToolStripItem.cs: When deciding what the text of a tooltip should
  3433. be, use the Text property instead of the text field.
  3434. * ToolStripTextBox.cs: Handle tooltips.
  3435. [Fixes bugs #325417 and #325973]
  3436. 2007-09-18 Jonathan Pobst <[email protected]>
  3437. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  3438. left click. Fixes the easy part of bug #325969.
  3439. 2007-09-18 Jonathan Pobst <[email protected]>
  3440. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  3441. bug #325406, but set a minimum for StatusStrip to 22 to keep
  3442. bug #325390 fixed. I think this minimum would have been figured
  3443. up automatically if the grip was actually a ToolStripItem, but it
  3444. currently is not.
  3445. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  3446. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  3447. as this is apparently the actual value used by .Net. Also apply
  3448. ItemPadding in Details view only, and decrease the general width padding,
  3449. to have only the needed. This should fix #324340 in Windows too.
  3450. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  3451. * ListViewItem.cs: Don't Invalidate item if parent is inside
  3452. a BeginUpdate/EndUpdate block. This prevents to have differences
  3453. between the ListView and items state, as well as avoid some exceptions
  3454. there.
  3455. * ListView.cs: Make 'updating' field internal.
  3456. 2007-09-17 Jonathan Pobst <[email protected]>
  3457. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  3458. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  3459. size if appropriate.
  3460. Fixes reopened bug #325414.
  3461. 2007-09-17 Jonathan Pobst <[email protected]>
  3462. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  3463. * ToolStripItem.cs: Invalidate before and after our new autosize when
  3464. text changes.
  3465. Fixes reopened bug #325390.
  3466. 2007-09-17 Jonathan Pobst <[email protected]>
  3467. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  3468. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  3469. #325044.
  3470. 2007-09-17 Jonathan Pobst <[email protected]>
  3471. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  3472. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  3473. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  3474. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  3475. #82734.
  3476. 2007-09-14 Jonathan Pobst <[email protected]>
  3477. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  3478. item to select when the ToolStrip is selected.
  3479. * ToolStripControlHost: Realign the control when the bounds or visibility
  3480. change.
  3481. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  3482. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  3483. preferred height.
  3484. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  3485. base.OnPaint. Was causing text not to be drawn.
  3486. 2007-09-14 Jonathan Pobst <[email protected]>
  3487. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  3488. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  3489. * TreeView.cs: When creating the label edit text box,
  3490. set is initially to Visible = false. This is done to
  3491. prevent a confusion in the layout which makes it to lose
  3492. focus when shown the first time. Fixes part of #82592.
  3493. 2007-09-13 Andreia Gaita <[email protected]>
  3494. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  3495. 2007-09-13 Jonathan Pobst <[email protected]>
  3496. * ToolStrip.cs: Take Margin into account when calculating preferred
  3497. size. Also, allow preferred size to get smaller than the explicit
  3498. size.
  3499. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  3500. First step towards fixing bug #82747.
  3501. 2007-09-13 Jonathan Pobst <[email protected]>
  3502. * TreeView.cs: Applied patch from [email protected] to not paint the
  3503. full row select background over the plus/minus glyph. Also, turn
  3504. off the focus rectangle for full row select since MS doesn't seem
  3505. to ever paint it. [Fixes bug #81839]
  3506. 2007-09-13 Jonathan Pobst <[email protected]>
  3507. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  3508. This was causing keyboard opened dropdowns to lose focus.
  3509. [Fixes bug #82803]
  3510. 2007-09-13 Jonathan Pobst <[email protected]>
  3511. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  3512. ClientRectangle instead. [Fixes bug #82838]
  3513. 2007-09-13 Jonathan Pobst <[email protected]>
  3514. * SplitContainer.cs: We can't reset Visible on every layout because
  3515. someone may have set Visible = false explicitly on a SplitterPanel.
  3516. Make sure when we switch orientation the SplitterDistance does not
  3517. change. Fixes two failing tests.
  3518. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  3519. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  3520. TextRenderer, since the latter is only available in 2.0.
  3521. 2007-09-13 Ivan N. Zlatev <[email protected]>
  3522. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  3523. * SplitContainer.cs: Implement FixedPanel layouting.
  3524. 2007-09-12 Andreia Gaita <[email protected]>
  3525. * WebBrowserBase.cs: setup shutdown routine
  3526. 2007-09-12 Andreia Gaita <[email protected]>
  3527. * Application.cs: Let keyboard events that are targetted
  3528. to non-mwf windows hosted inside mwf (as in, webbrowser),
  3529. propagate properly. Fixes keyboard handling on the webbrowser.
  3530. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  3531. * ListView.cs: When handling MouseUp event and we are
  3532. highligting a node with the mouse right button, don't trigger
  3533. Before/AfterSelecting event, since we are not actually selecting
  3534. the node.
  3535. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  3536. * TreeView.cs: When editing a node, modify the edit text box
  3537. depending on the text length (as you are typing), like MS does.
  3538. 2007-09-12 Jonathan Pobst <[email protected]>
  3539. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  3540. Override GetPreferredSizeCore to perform calculations. Remove custom
  3541. autosize logic. [Fixes bug #82739]
  3542. 2007-09-12 Jonathan Pobst <[email protected]>
  3543. * TextBoxBase.cs: Modified should default to false.
  3544. 2007-09-11 Jonathan Pobst <[email protected]>
  3545. * Control.cs: Update the anchoring distances even when layout is supspended.
  3546. Patch provided by George fixes bug #82805.
  3547. 2007-09-11 Jonathan Pobst <[email protected]>
  3548. * Control.cs: Provide a setter for ExplicitHeight.
  3549. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  3550. remove the hacks in here for requested_height.
  3551. [Fixes bug #82749]
  3552. 2007-09-11 Jonathan Pobst <[email protected]>
  3553. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  3554. Maximum to lower that its current Value caused an ArgumentException by setting
  3555. the Value to the new Maximum.
  3556. 2007-09-11 Jonathan Pobst <[email protected]>
  3557. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  3558. handle moves to the closest tick when it is being dragged.
  3559. [Fixes bug #82751]
  3560. 2007-09-11 Jonathan Pobst <[email protected]>
  3561. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  3562. can't let them count as real items when calculating where to merge in the
  3563. user's items. [Fixed bug #82786]
  3564. 2007-09-10 Jonathan Pobst <[email protected]>
  3565. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  3566. who want to add a menu item directly onto a toolstrip.
  3567. [Fixes bug #82775, part II]
  3568. 2007-09-10 Jonathan Pobst <[email protected]>
  3569. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  3570. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  3571. don't set it to available.
  3572. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  3573. [Fixes bug #82727, part II]
  3574. 2007-09-10 Jonathan Pobst <[email protected]>
  3575. * StatusStrip.cs: Change item placement to None if not visible.
  3576. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  3577. These should have been committed to fix 82723, but I missed them.
  3578. 2007-09-10 Jonathan Pobst <[email protected]>
  3579. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  3580. Click, and that it is only called once.
  3581. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  3582. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  3583. dropped down.
  3584. [Fixes bug #82775]
  3585. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  3586. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  3587. to match .Net.
  3588. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  3589. instead of 8, just like above. Partially fixes #82734.
  3590. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  3591. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  3592. fixes #82734.
  3593. * ListView.cs: Remove extra space between rows in Details view (match
  3594. .Net).
  3595. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  3596. the DefaultFont.
  3597. 2007-09-08 Gert Driesen <[email protected]>
  3598. * Application.cs: Modified ProductVersion to return value of
  3599. AssemblyInformationVersion if available, and fallback to assembly
  3600. version. Fixes bug #82746. Code formatting.
  3601. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  3602. instead.
  3603. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  3604. * Control.cs: When updating ZOrder for a child control,
  3605. take into account the implicit ones (we need it in our controls
  3606. using them). Fixes #82642.
  3607. 2007-09-07 Jonathan Pobst <[email protected]>
  3608. * ToolStripItem.cs: Add support for animated images.
  3609. [Fixes bug #82726]
  3610. 2007-09-07 Jonathan Pobst <[email protected]>
  3611. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  3612. visible. [Fixes bug #82727]
  3613. 2007-09-06 Jonathan Pobst <[email protected]>
  3614. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  3615. so we repaint using the new size. [Fixes bug #82723]
  3616. 2007-09-06 Jonathan Pobst <[email protected]>
  3617. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  3618. option. [Fixes bug #81779]
  3619. 2007-09-06 Jonathan Pobst <[email protected]>
  3620. * TreeView.cs: Override HandleClick because the StandardClick style is
  3621. set to false. According to MSDN (and testing), the click events should
  3622. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  3623. 2007-09-06 Jonathan Pobst <[email protected]>
  3624. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  3625. the border will disappear. Fixes reopened #82653.
  3626. 2007-09-06 Jonathan Pobst <[email protected]>
  3627. * Control.cs: If the control is autosize, and its preferred size changes
  3628. when it lays out its children, tell its parent so it can be re-layed out.
  3629. Fixing some of the fallout from r85433.
  3630. 2007-09-06 Jonathan Pobst <[email protected]>
  3631. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  3632. and CheckBox share some code.
  3633. 2007-09-06 Jonathan Pobst <[email protected]>
  3634. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  3635. the TrackBar, not every mouse move. [Fixed bug #82718]
  3636. 2007-09-06 Jonathan Pobst <[email protected]>
  3637. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  3638. under 2.0 rendering. [Fixes bug #82657]
  3639. 2007-09-06 Jonathan Pobst <[email protected]>
  3640. * TreeView.cs: If we found a TreeNode to display a context menu, but
  3641. it doesn't have one to show, let the TreeView display its menu
  3642. instead. [Fixes bug #82680]
  3643. 2007-09-06 Jonathan Pobst <[email protected]>
  3644. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  3645. OnPaintInternal instead. Give the internal TextBox a Border property
  3646. so it can draw itself more correctly. [Fixes bug #82653]
  3647. 2007-09-06 Zoltan Varga <[email protected]>
  3648. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  3649. 2007-09-05 Everaldo Canuto <[email protected]>
  3650. * ComboBox.cs: Adjust combobox button state to reflect current state when
  3651. back to enabled = true. Fixes first issue of #82654.
  3652. 2007-09-05 Everaldo Canuto <[email protected]>
  3653. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  3654. setting visible property.
  3655. 2007-09-05 Everaldo Canuto <[email protected]>
  3656. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  3657. fix zorder for controls initially created as non visible. Fixes #82667.
  3658. 2007-09-04 Everaldo Canuto <[email protected]>
  3659. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  3660. mimic win32 look. Fixes #82656.
  3661. 2007-09-01 Zoltan Varga <[email protected]>
  3662. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  3663. Stubs for new net 3.5 classes.
  3664. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  3665. * ListViewItem.cs: In ListViewItemCollection operations calculate
  3666. Layout for owner as well as invalidate it. Fixes part of #82642.
  3667. 2007-08-31 Jonathan Pobst <[email protected]>
  3668. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  3669. when returning Enabled. [Fixes bug #82651]
  3670. 2007-08-30 Everaldo Canuto <[email protected]>
  3671. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  3672. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  3673. * ListView.cs: Put item padding info in a single place
  3674. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  3675. columns again.
  3676. * ThemeWin32Classic.cs:
  3677. * Theme.cs: Likewise.
  3678. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  3679. * ListView.cs: When a ListViewSubItem instance is invalidated,
  3680. invoke Invalidate on parent ListViewItem, not parent ListView.
  3681. Fixes #81570.
  3682. 2007-08-30 Jonathan Pobst <[email protected]>
  3683. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  3684. 2007-08-30 Jonathan Pobst <[email protected]>
  3685. * BindingMemberInfo.cs: Implement == and != operators.
  3686. 2007-08-30 Jonathan Pobst <[email protected]>
  3687. * HtmlElementEventArgs.cs: Implement properties.
  3688. 2007-08-29 Jonathan Pobst <[email protected]>
  3689. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  3690. 2007-08-29 Jonathan Pobst <[email protected]>
  3691. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  3692. Add (string,string,string) to implement the imagekey. It turns out, we
  3693. use the requested imagekey whereas .Net does not. So I broke ours to match
  3694. theirs. :(
  3695. 2007-08-29 Jonathan Pobst <[email protected]>
  3696. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  3697. 2007-08-29 Jonathan Pobst <[email protected]>
  3698. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  3699. 2007-08-29 Gert Driesen <[email protected]>
  3700. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  3701. up-to-date. Fixes bug #82618.
  3702. 2007-08-29 Everaldo Canuto <[email protected]>
  3703. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  3704. reflect document changes. Fixes #82367.
  3705. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  3706. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  3707. as well as add new ones. This should make work the BackgroundImage
  3708. property for ListView again.
  3709. 2007-08-28 Jonathan Pobst <[email protected]>
  3710. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  3711. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  3712. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  3713. 2007-08-28 Jonathan Pobst <[email protected]>
  3714. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  3715. IsKeyLocked.
  3716. 2007-08-28 Jonathan Pobst <[email protected]>
  3717. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  3718. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  3719. 2007-08-28 Jonathan Pobst <[email protected]>
  3720. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  3721. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  3722. 2007-08-27 Ivan N. Zlatev <[email protected]>
  3723. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  3724. 2007-08-27 Ivan N. Zlatev <[email protected]>
  3725. * GridEntry.cs: Implement GetService.
  3726. 2007-08-27 Jonathan Pobst <[email protected]>
  3727. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  3728. for label editting, make sure we focus back on the TreeView.
  3729. [Fixes bug #82590]
  3730. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  3731. * ListView.cs: Add some 2.0 overrides.
  3732. 2007-08-27 Everaldo Canuto <[email protected]>
  3733. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  3734. because getter dont returns right value before handle creation. Thanks
  3735. to George. Fixes #82569.
  3736. 2007-08-27 Everaldo Canuto <[email protected]>
  3737. * Theme.cs: Revert last patch, it causes error under win32.
  3738. 2007-08-27 Everaldo Canuto <[email protected]>
  3739. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  3740. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  3741. logical Desktop rather than the physical file system location. Fixes #82603.
  3742. 2007-08-26 Everaldo Canuto <[email protected]>
  3743. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  3744. for the patch. Fixes #82568.
  3745. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  3746. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  3747. methods.
  3748. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  3749. * ListViewInsertionMark.cs: New stubbed class.
  3750. 2007-08-25 Gert Driesen <[email protected]>
  3751. * FolderBrowserDialog.cs: When adding folder, immediately create the
  3752. directory with temporary name and rename the directory when editing
  3753. finishes. This matches MS. Ensure the node for the new folder is
  3754. selected and LabelEdit is disabled, when editing is either finished
  3755. or cancelled.
  3756. 2007-08-25 Gert Driesen <[email protected]>
  3757. * TreeView.cs: When editing label of node, ensure node is visible.
  3758. 2007-08-25 Ivan N. Zlatev <[email protected]>
  3759. * PropertyGridView.cs: Set the value only if it has changed.
  3760. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3761. * ListView.cs: Some more code refactoring to add support sorting
  3762. with groups (now for Details view). Remove unused code also.
  3763. 2007-08-24 Jonathan Pobst <[email protected]>
  3764. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  3765. Not a big fan of reacting immediately to a field in an EventArg, but that's
  3766. the way it's done. (This is part of the previous commit that got left out.)
  3767. 2007-08-25 Gert Driesen <[email protected]>
  3768. * FolderBrowserDialog.cs: Removed need for separate description field.
  3769. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  3770. has focus when dialog box is displayed again, regardless of what
  3771. button was pressed the previous time. Set RootFolder and SelectedPath
  3772. each time dialog box is displayed. This ensures the treeview is
  3773. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  3774. when it does not have focus. Added support for more special folders.
  3775. 2007-08-24 Jonathan Pobst <[email protected]>
  3776. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  3777. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  3778. it resets the edit_args.
  3779. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  3780. [Fixes bug #82577]
  3781. 2007-08-24 Gert Driesen <[email protected]>
  3782. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  3783. button to match MS. Provide more meaningful exception message for
  3784. invalid RootFolder value. Use zero-length string when SelectedPath
  3785. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  3786. them in FolderBrowserTreeView. Allow folders to be created in
  3787. RootFolder. Fixes bug #82576.
  3788. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3789. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  3790. since we need to take into account the group headers and the margin
  3791. between them.
  3792. * ListViewGroup.cs: Add a rows field to store the number of rows per
  3793. group.
  3794. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  3795. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  3796. Anyways, let's just follow the lead.
  3797. 2007-08-24 Jonathan Pobst <[email protected]>
  3798. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  3799. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  3800. controls in GetPreferredSizeCore.
  3801. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  3802. [Fixes bug #82488]
  3803. 2007-08-24 Jonathan Pobst <[email protected]>
  3804. * PrintDialog.cs: Need to instantiate the form variable here too.
  3805. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  3806. * ListView.cs: Do some reorganization to support sorting in groups,
  3807. by doing the layout sequentially in ListView.Items. Also add support
  3808. for the Default Group, which should be available for items with no
  3809. group assigned.
  3810. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  3811. for storing layout info also.
  3812. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  3813. collection, as well as providing internal members to do a traversal
  3814. including the default group (needed when doing layout/drawing).
  3815. * ThemeWin32Classic.cs: When drawing group headers use internal
  3816. ListViewGroupCollection members to take into account the default
  3817. group.
  3818. 2007-08-23 George Giolfan <[email protected]>
  3819. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  3820. 2007-08-23 Jonathan Pobst <[email protected]>
  3821. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  3822. been created. If handle is created, we want arror keys. If we are editing
  3823. a node, we want things like enter, esc, home, end, page up, page down.
  3824. Allows Esc to work for FolderBrowserDialog.
  3825. 2007-08-23 Jonathan Pobst <[email protected]>
  3826. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  3827. they close when ESC is pressed. Thanks Andy!
  3828. 2007-08-23 Jonathan Pobst <[email protected]>
  3829. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  3830. This way we can tell if this is a CommonDialog provided with mono, or one
  3831. that is being implemented outside by a developer. If it is an external one,
  3832. the developer is responsible for showing their own form. We were showing
  3833. our blank form after the developer showed his.
  3834. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  3835. PageSetupDialog.cs: Instantiate form variable in our constructor.
  3836. [Fixes bug #82531]
  3837. 2007-08-23 Jonathan Pobst <[email protected]>
  3838. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  3839. and always return true. [Fixes bug #81616]
  3840. 2007-08-23 Jonathan Pobst <[email protected]>
  3841. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  3842. TextBox. [Fixes bug #82549]
  3843. 2007-08-23 Gert Driesen <[email protected]>
  3844. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  3845. or entered then do not close the dialog. Fixes bug #82539. Removed
  3846. CWLs.
  3847. 2007-08-22 Everaldo Canuto <[email protected]>
  3848. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  3849. code to this method. It is calling every time filter changes. This method
  3850. will help to fix the bug #80887.
  3851. 2007-08-22 Jonathan Pobst <[email protected]>
  3852. * CheckBox.cs: Implement AutoSize calculation.
  3853. 2007-08-22 Jonathan Pobst <[email protected]>
  3854. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  3855. * Theme.cs: Method declarations for 2.0 rendering path.
  3856. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  3857. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  3858. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  3859. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  3860. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  3861. only call Redraw on the parent one time.
  3862. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  3863. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  3864. GetClipboardContent.
  3865. * DataGridViewCell.cs: Implemented GetClipboardContent,
  3866. GetEditedFormattedValue, GetFormattedValue.
  3867. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  3868. 2007-08-21 Jonathan Pobst <[email protected]>
  3869. * TableLayoutStyleCollection.cs: corcompare fix.
  3870. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  3871. * DataObject.cs: Implemented retrieval of convertible / not convertible
  3872. objects.
  3873. 2007-08-21 Jonathan Pobst <[email protected]>
  3874. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  3875. ourselves. This ensures the entire old bounds are repainted, in case our new
  3876. size is smaller. [Fixes bug #82518]
  3877. 2007-08-20 Everaldo Canuto <[email protected]>
  3878. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  3879. flag to make fast handle of mouse events, without this the mouse move is
  3880. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  3881. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  3882. * ListView.cs: When doing layout calculations don't use a ref
  3883. param to keep the current item; instead use its Index value (this
  3884. is specially important when doing the layout with Groups
  3885. and Items being sparse). Also don't take into account items added to
  3886. the Group but not yet added to the main ListView.Items collection.
  3887. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  3888. * ListViewGroupCollection.cs: Forgot to mimic an issue
  3889. in the indexer (don't assign the ListView owner for new values).
  3890. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  3891. * ListViewGroupCollection.cs: Make the string indexer use
  3892. the int based indexer to re-use code, instead of duplicate the code.
  3893. Also Redraw as needed and take into account null values.
  3894. 2007-08-20 Jonathan Pobst <[email protected]>
  3895. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  3896. [Fixes bug #82481]
  3897. 2007-08-20 Jonathan Pobst <[email protected]>
  3898. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  3899. when other buttons are clicked or navigated to.
  3900. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3901. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  3902. it's XplatUIX11 that attaches them.
  3903. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3904. * DataGridView.cs: If a column has been added, recreate the editing row.
  3905. Fixes #82226.
  3906. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3907. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  3908. of the tag to draw. Makes disappearing text show up again.
  3909. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  3910. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  3911. Contents. Fixes #82487.
  3912. 2007-08-19 Andreia Gaita <[email protected]>
  3913. * Added HtmlElement.cs, HtmlElementCollection.cs,
  3914. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  3915. 2007-08-19 Andreia Gaita <[email protected]>
  3916. * BindingSource.cs: Implement this, dispose and getenumerator.
  3917. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  3918. out of AddInternal, throw it only on public Add calls. The
  3919. UsingWebBrowser sample was blowing up with this when setting the
  3920. DataSource after adding DataBindings, so it's likely that .net
  3921. only throws this exception when Add is called directly.
  3922. * ToolStripControlHost.cs: Return the hosted control's text
  3923. property, and not the ToolStripItem one (it would always return
  3924. the initial value).
  3925. * HtmlDocument.cs: Implement GetElementById and All
  3926. * WebBrowser.cs: Remove exception on set_DocumentStream.
  3927. 2007-08-19 Everaldo Canuto <[email protected]>
  3928. * Form.cs: Fix the max and min value for opacity (0~1).
  3929. 2007-08-19 Everaldo Canuto <[email protected]>
  3930. [Fixes #80118]
  3931. * DataGridTableStyle.cs: Default header font is now null, on getter it
  3932. returns datagrid font when is null. On setter permits null.
  3933. * DataGrid.cs:
  3934. - When ResetHeaderFont set header font to null.
  3935. - On EndInit set grid_style.DataGrid.
  3936. 2007-08-19 Everaldo Canuto <[email protected]>
  3937. * TabControl.cs: Fix regression in default padding x.
  3938. 2007-08-19 Everaldo Canuto <[email protected]>
  3939. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  3940. 2007-08-19 Everaldo Canuto <[email protected]>
  3941. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  3942. not 2. Fixes #82229.
  3943. 2007-08-18 Everaldo Canuto <[email protected]>
  3944. * TabControl.cs: Fix tab size when image height is less than text height.
  3945. Partially fixes #81837.
  3946. 2007-08-18 Everaldo Canuto <[email protected]>
  3947. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  3948. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  3949. from taskbar and keep it on "alt_tab". Fixes #81722.
  3950. 2007-08-18 Everaldo Canuto <[email protected]>
  3951. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  3952. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  3953. Fixes #80877 and #79418.
  3954. 2007-08-18 Everaldo Canuto <[email protected]>
  3955. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  3956. between position and one of the screen borders. Fixes #82349.
  3957. 2007-08-18 Everaldo Canuto <[email protected]>
  3958. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  3959. the MessageBox in the taskbar. Fixes #82457.
  3960. 2007-08-18 Everaldo Canuto <[email protected]>
  3961. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  3962. than icon. Fixes #82468.
  3963. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  3964. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  3965. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  3966. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  3967. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  3968. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  3969. FormBorderStyle to decide if we're calculating a new size from the
  3970. client size or not. CreateParams: Don't fake tool windows, only the X11
  3971. backend manages toolwindows manually.
  3972. 2007-08-17 Jonathan Pobst <[email protected]>
  3973. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  3974. ObjectDisposedException.
  3975. 2007-08-17 Jonathan Pobst <[email protected]>
  3976. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  3977. in OnLoad should not have any effect. [Fixes bug #82470]
  3978. 2007-08-17 Jonathan Pobst <[email protected]>
  3979. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  3980. paint for controls that create their own ToolTipWindow instead of
  3981. going through ToolTip.
  3982. 2007-08-17 Jonathan Pobst <[email protected]>
  3983. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  3984. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  3985. * ListViewGroupCollection.cs: Use generic List instead of an
  3986. ArrayList, since this collection is 2.0 only.
  3987. 2007-08-17 Jeffrey Stedfast <[email protected]>
  3988. * ToolTip.cs (Hide): Made public to make the build work (should
  3989. this not be public?).
  3990. 2007-08-17 Jonathan Pobst <[email protected]>
  3991. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  3992. ToolTipWindow.
  3993. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  3994. 2007-08-17 Jonathan Pobst <[email protected]>
  3995. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  3996. PopupEventHandler.cs: Make these internal for 1.1.
  3997. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  3998. use ToolTipWindow internals.
  3999. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  4000. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  4001. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4002. * X11Dnd.cs: Add a null check.
  4003. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4004. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  4005. nothing else succeeds. Fixes #82453.
  4006. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4007. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  4008. rectangle if we're painting to another window than the one the paint
  4009. message was generated on. Simplify the code somewhat, which makes
  4010. PaintEventEnd also simpler.
  4011. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4012. * Control.cs: When changing parent of a form, let the form decide whether
  4013. XplatUI.SetParent should be called or not.
  4014. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  4015. recreating the handle. If the new parent's handle isn't created, don't
  4016. recreate our handle, just destroy it. CreateParams: Check if the
  4017. parent's handle is created before fetching it.
  4018. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4019. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  4020. Update calls to PaintEventStart/End to take a Message argument.
  4021. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  4022. take a Message argument.
  4023. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  4024. Message argument, and handle the case where we don't paint to the window
  4025. for which the paint message was generated.
  4026. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  4027. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  4028. Marshal.GetLastWin32Error. Plug nasty memory leak in
  4029. PaintEventStart/End, we were creating a DC we weren't releasing.
  4030. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  4031. * ListView.cs: Add Groups support in Details view. Also have a small
  4032. method to do the layout of the group header. Don't use a separate
  4033. method to do the groups calculation in Icons view, since our methods
  4034. are now a little simpler.
  4035. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  4036. `Bounds'.
  4037. * ThemeWin32Classic.cs: Likewise.
  4038. 2007-08-16 Jonathan Pobst <[email protected]>
  4039. * Application.cs: Add FilterMessage method and rework our message loop
  4040. logic to use it.
  4041. 2007-08-16 Jonathan Pobst <[email protected]>
  4042. * Application.cs: Add some methods and stub a few methods that are
  4043. pretty much never used.
  4044. 2007-08-15 Jonathan Pobst <[email protected]>
  4045. * TreeNode.cs: Add some serialization methods.
  4046. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  4047. * ListView.cs: In ListViewItemCollection have a
  4048. 'is_main_collection' field to not modify ListViewItem.ListView
  4049. when using it as ListViewGroup.Items (and not ListView.Items)
  4050. and also don't modify selection state (.Net behaviour).
  4051. Instead, set group for items contained in a ListViewGroup.Items collection.
  4052. * ListViewItem.cs: Simplify some code in Group setter.
  4053. * ListViewGroup.cs: use the new .ctor to pass the current instance
  4054. to the ItemsCollection.
  4055. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  4056. instances when adding/removing. Also make Remove use RemoveAt, which
  4057. should perform better.
  4058. 2007-08-14 Jonathan Pobst <[email protected]>
  4059. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  4060. that crept into the 1.1 profile.
  4061. 2007-08-14 Jonathan Pobst <[email protected]>
  4062. * ToolBarButton.cs: Implement ImageKey.
  4063. 2007-08-14 Jonathan Pobst <[email protected]>
  4064. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  4065. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  4066. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  4067. created, it might have gotten destroyed since we last checked. Fixes
  4068. #82405.
  4069. 2007-08-11 Jonathan Pobst <[email protected]>
  4070. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  4071. tooltip will hide when mouse is moved off the control.
  4072. [Fixes bug #82407]
  4073. 2007-08-11 Andreia Gaita <[email protected]>
  4074. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  4075. using Mono.Mozilla for loading and navigating webcontrol
  4076. with xulrunner.
  4077. The initial implementation was done on
  4078. /trunk/mozembed/tests/browser , and copied here.
  4079. 2007-08-11 Gert Driesen <[email protected]>
  4080. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  4081. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  4082. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  4083. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  4084. RowTemplateFull: throw an exception if a column doesn't have a template.
  4085. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  4086. add the row just before it.
  4087. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  4088. selected.
  4089. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  4090. DataGridView field to be able to reach the grid's editing row.
  4091. 2007-08-10 Jonathan Pobst <[email protected]>
  4092. * ToolTip.cs: If the control's handle hasn't been created when it has a
  4093. tooltip set on it, don't check to see if we need to show the tooltip. This
  4094. check was causing the control's handle to be created.
  4095. [Fixes bug #82399]
  4096. 2007-08-10 Jonathan Pobst <[email protected]>
  4097. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  4098. 1.1 2.0
  4099. Handle Not Created -1 0
  4100. Handle Created 0 0
  4101. [Fixes bug #82371]
  4102. 2007-08-10 Jonathan Pobst <[email protected]>
  4103. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  4104. [Fixes bug #82348]
  4105. 2007-08-09 Jonathan Pobst <[email protected]>
  4106. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  4107. * ToolTip.cs: Implement some properties and owner draw.
  4108. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4109. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  4110. show them again, since setting visibility causes a paint, causing an
  4111. endless loop (instead use a temporary and set it all when it's known if
  4112. they should be shown or not). Fixes #79265.
  4113. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4114. * DataGridView.cs: Only do a full column/row selection if a header was
  4115. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  4116. isn't pressed, deselect everything before selecting something.
  4117. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4118. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  4119. behaviour according to bug #81075 - they are returned in the order they
  4120. are selected. Fix HitTest to check if the point is within any of the
  4121. headers. Allow for row/column selection when in ColumnHeader or
  4122. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  4123. the row and column to call when their selected state changes, and
  4124. updated selected_[rows|columns] whenever SetSelected* is called.
  4125. * DataGridViewBand.cs: Initialize isRow correctly. Call
  4126. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  4127. add a SelectedInternal to avoid StackOverflows.
  4128. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  4129. ReadOnly no matter what.
  4130. * DataGridViewSelectedColumnCollection.cs,
  4131. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  4132. the items in reverse order (just as MS does...)
  4133. 2007-08-09 Jonathan Pobst <[email protected]>
  4134. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  4135. itself, not part of a mnemonic. [Fixes bug #82378]
  4136. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4137. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  4138. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  4139. the DGV, the column, the row, or the cell itself is readonly.
  4140. 2007-08-09 Gert Driesen <[email protected]>
  4141. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  4142. OSVersion.Platform.
  4143. * FileDialog.cs: Same.
  4144. * TextRendered.cs: Same.
  4145. * FolderBrowserDialog.cs: Same.
  4146. * TextBoxBase.cs: Same.
  4147. * Application.cs: Same.
  4148. * Cursors.cs: Same.
  4149. * ThemeClearLooks.cs: Same.
  4150. 2007-08-09 Gert Driesen <[email protected]>
  4151. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  4152. instead of duplicating these checks everywhere.
  4153. * FileDialog.cs: Use case-insensitive comparison for populating the
  4154. DirComboBox when not running on unix. Fixes bug #82385.
  4155. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  4156. "Look in".
  4157. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4158. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  4159. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  4160. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  4161. cell and column selection with ctrl and shift pressed. Call the correct
  4162. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  4163. the corresponding virtual method (PaintBackground to paint background,
  4164. etc).
  4165. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  4166. either the column, row or the cell itself is selected.
  4167. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  4168. OnRowsAdded.
  4169. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  4170. here. When the row is selected, don't select all cells. Each cell now
  4171. queries the row to see if the row is selected.
  4172. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  4173. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  4174. SelectionMode.
  4175. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  4176. * ListView.cs: In ListViewItemsCollection check that owner is
  4177. not null before trying to access it (this happens quite often
  4178. using Groups). Also don't duplicate calls by calling CollectionChanged
  4179. method.
  4180. 2007-08-08 Jonathan Pobst <[email protected]>
  4181. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  4182. when we are dismissed to clear keyboard mnemonics.
  4183. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  4184. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  4185. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  4186. was activated by keyboard or the OS tells us to always draw them.
  4187. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  4188. [Fixes bugs #82376, #82377]
  4189. 2007-08-08 Jonathan Pobst <[email protected]>
  4190. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  4191. shot at having it because Alt was pressed.
  4192. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  4193. the first real menu item.
  4194. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  4195. a mnemonic if Text is null.
  4196. [Fixes bug #82374]
  4197. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  4198. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  4199. search do check whether the item is already contained in the
  4200. collection or not; instead check if the owner of the item is the same
  4201. as ours. Also, remove a redundant check in the same method.
  4202. 2007-08-08 Jonathan Pobst <[email protected]>
  4203. * Control.cs: Allow the clip region to be set back to null.
  4204. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  4205. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  4206. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  4207. * GridEntry.cs: Add a null check.
  4208. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  4209. entries. Fixes #82297.
  4210. 2007-08-07 Jonathan Pobst <[email protected]>
  4211. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  4212. for 2.0.
  4213. 2007-08-07 Jonathan Pobst <[email protected]>
  4214. * ListBox.cs: Implement ScaleControl.
  4215. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4216. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  4217. have a menu strip.
  4218. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  4219. parent has a menu strip. Fixes #81689.
  4220. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4221. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  4222. moments, so apply some fuzzy logic to determine if the mouse is still
  4223. inside a control or not. Fixes #82288 (for the third time).
  4224. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4225. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  4226. Don't create the child if it has been disposed already (may happen if
  4227. the user closes the form the Load event).
  4228. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4229. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  4230. #82288.
  4231. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  4232. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  4233. might call us after we've been destroyed, in which case our own private
  4234. parent field is null. Fixes #82326.
  4235. 2007-08-06 Jonathan Pobst <[email protected]>
  4236. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  4237. check for setting the dropdown's owner.
  4238. 2007-08-06 Jonathan Pobst <[email protected]>
  4239. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  4240. before removing system menu items.
  4241. 2007-08-02 Jonathan Pobst <[email protected]>
  4242. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  4243. folding.
  4244. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  4245. folding.
  4246. * ToolStrip.cs: Add a null check to mnemonics.
  4247. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  4248. no ConnectedArea.
  4249. [Fixes most of bug #81689]
  4250. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  4251. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  4252. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  4253. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  4254. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  4255. * DataGridViewCell.cs: EditType: returns
  4256. DataGridViewTextBoxEditingControl always.
  4257. 2007-08-01 Jonathan Pobst <[email protected]>
  4258. * TextRenderer.cs: Remove the LineLimit string format flag from the
  4259. DrawString fallback method so that things like buttons that aren't
  4260. tall enough to draw a full line will still draw part of the text.
  4261. [Fixes part of bug #82272]
  4262. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  4263. * DataGridView.cs: Implemented AutoResizeColumn(s).
  4264. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  4265. according to the Alignment.
  4266. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  4267. Implement alignment and padding when painting.
  4268. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  4269. exists.
  4270. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  4271. way.
  4272. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  4273. a column is added.
  4274. 2007-07-31 Jonathan Pobst <[email protected]>
  4275. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  4276. which is internal.
  4277. 2007-07-31 Jonathan Pobst <[email protected]>
  4278. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  4279. hide GetPreferredSize from public API.
  4280. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  4281. * ToolStripItem.cs: Stub out drag and drop methods and events.
  4282. * ToolStripManager.cs: Stub out Save/LoadSettings.
  4283. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  4284. * ToolStripPanel.cs: Fix corcompare error.
  4285. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  4286. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  4287. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  4288. 2007-07-31 Jonathan Pobst <[email protected]>
  4289. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  4290. bounds height instead of PreferredHeight. Puts things back the way
  4291. they were for height while still fixing the width. Fixes broken unit
  4292. tests.
  4293. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4294. * Binding.cs: Implement 2.0 constructors and add a null check.
  4295. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4296. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  4297. and fix row index (off by one).
  4298. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4299. * PropertyGridView.cs: Remove debug output.
  4300. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  4301. * Control.cs: We need to reset the is_created flags when the handle is
  4302. destroyed. Fixes #82187.
  4303. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  4304. client coordinates if the window doesn't have a parent.
  4305. Win32GetParent returns the parent or the owner, and for top-level
  4306. windows with no parent (but with an owner) we were calculating the
  4307. location from the location of the owner.
  4308. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  4309. form has been disposed.
  4310. * MdiClient.cs: Add a null-check.
  4311. 2007-07-30 Jonathan Pobst <[email protected]>
  4312. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  4313. actually do auto-sizing. Override the internal GetPreferredSizeCore
  4314. so we can provide an implementation that returns the current width
  4315. and preferred height. Allows anchor = right to work with TextBox 2.0.
  4316. [Fixes bug #82233]
  4317. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  4318. * ListView.cs: Add support for navigating items in Groups mode, by
  4319. creating a big matrix containing all rows and cols of all groups. When
  4320. are in other mode than Details, pressing Up should have a similar
  4321. behaviour as that one of Down (moving to the next available column if
  4322. current one doesn't have an item in the requested row). Also, don't
  4323. proceed to use groups if ShowGroups is false.
  4324. * ListViewGroup.cs: Add an internal int field to store the starting
  4325. row of the group (used by the big matrix used for navigating the
  4326. ListView).
  4327. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  4328. false.
  4329. 2007-07-30 Jonathan Pobst <[email protected]>
  4330. * ToolStripDropDown.cs: When we do Show, start with the
  4331. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  4332. modify the direction to keep it on screen. [Fixes bug #82210]
  4333. 2007-07-29 Gert Driesen <[email protected]>
  4334. * FileDialog.cs: Accept any FilterIndex value, and store it
  4335. unmodified. When FilterIndex is less than 1, or greater than number
  4336. of filters, then default to first filter. Only add filter extension to
  4337. file if user did not specifiy an extension. When type of dialog is
  4338. OpenFileDialog and DefaultExt is set, then only use filter extension
  4339. if: CheckFileExists is true and no file wih the default extension
  4340. exists, or CheckFileExists is false, and user specified file does not
  4341. exist. When CheckFileExists is true, then add first extension of
  4342. selected filter that matches existing file. Perform checks for
  4343. existing file, overwrite and create after extension has been added to
  4344. file name. When CheckFileExists is true and type is SaveFileDialog,
  4345. then only consider first filter extension if DefaultExt is set.
  4346. When CheckFileExists is true, then ignore DefaultExt if file with that
  4347. extension does not exist. Also perform check for existing file when
  4348. type is SaveFileDialog. Changed some field to constants.
  4349. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  4350. * ListView.cs: Take into account the region used by header
  4351. control when doing the vertical scroll (this way we invalidate
  4352. the precise area, and don't get any dirty one).
  4353. 2007-07-27 Everaldo Canuto <[email protected]>
  4354. * FileDialog.cs: Check for valid filterIndex on button open/save.
  4355. Fixes #82184.
  4356. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  4357. * ListView.cs: Update some layout calculations in details view
  4358. and clean the code in a pair of assignations.
  4359. 2007-07-26 Jonathan Pobst <[email protected]>
  4360. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  4361. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  4362. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  4363. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  4364. 2007-07-26 Jonathan Pobst <[email protected]>
  4365. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  4366. performance of thread-safe Graphic methods. (Thanks rolf!)
  4367. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  4368. * ListView.cs: When doing the layout calculations, don't calculate
  4369. scroll bars before handle is created. This is unnecessary and also
  4370. calculating them before handle creation item causes a number of random
  4371. bugs (which begin to appear after Chris' big patch for handle creation
  4372. fixes).
  4373. 2007-07-26 Jonathan Pobst <[email protected]>
  4374. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  4375. for things that don't have a Graphics object. Currently, things just use
  4376. the static Hwnd.bmp_g which is not thread safe.
  4377. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  4378. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  4379. dialog. Fixes #82187.
  4380. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  4381. * DataGridViewElement.cs: Initialize state.
  4382. * DataGridView.cs: Forward a few Mouse events to cells. Add
  4383. GetRowInternal and GetCellInternal that doesn't unshare rows.
  4384. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  4385. don't use the index, but look it up. Add
  4386. DataGridViewControlCollection.RemoveInternal to remove controls
  4387. that Remove won't remove (scrollbars, edit control).
  4388. * DataGridViewColumn.cs: Initialize State correctly.
  4389. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  4390. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  4391. implementing this.
  4392. * DataGridViewRowCollection.cs: Implemented shared rows.
  4393. * DataGridViewRow.cs: Throw exceptions as MS do.
  4394. * DataGridViewCell.cs: A few properties are implemented by a
  4395. Get<Property> method, so move implementation there and remove the
  4396. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  4397. calls when necessary.
  4398. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  4399. complicates matters.
  4400. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  4401. unshare any rows.
  4402. 2007-07-25 Jonathan Pobst <[email protected]>
  4403. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  4404. the children controls. Instead, we will just set up the proper docking for the
  4405. children controls so we don't have to worry about it. [Fixes bug #82188]
  4406. 2007-07-25 Jonathan Pobst <[email protected]>
  4407. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  4408. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  4409. 81847. [Fixes bug #81847]
  4410. 2007-07-25 Jonathan Pobst <[email protected]>
  4411. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  4412. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  4413. an explicit size based on the design-time size of the text. Since our fonts
  4414. may not match this explicit size, we tend to cut off the ends of people's labels.
  4415. 2007-07-24 Jonathan Pobst <[email protected]>
  4416. * Menu.cs: Add some missing methods to MenuItemCollection.
  4417. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  4418. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  4419. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  4420. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  4421. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  4422. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  4423. * DataGridViewElement.cs: State defaults to Visible.
  4424. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  4425. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  4426. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  4427. * Control.cs: Minor 1.1 corcompare fix.
  4428. 2007-07-23 Jonathan Pobst <[email protected]>
  4429. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  4430. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  4431. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  4432. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  4433. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  4434. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  4435. DataGridViewSelectedColumnCollection.cs,
  4436. DataGridViewSelectedRowCollection.cs: Corcompare work.
  4437. 2007-07-23 Jonathan Pobst <[email protected]>
  4438. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  4439. it is autoset by VS2005 designer and the effect is barely noticeable.
  4440. 2007-07-23 Jonathan Pobst <[email protected]>
  4441. * TreeView.cs: Implement HitTest.
  4442. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  4443. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  4444. manually adding and removing the control from the Controls
  4445. collecftion.
  4446. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  4447. EditingControlInternal property that tracks the editing control.
  4448. Always keeping the scrollbars in the Controls collection, as MS
  4449. testing confirms is the right behaviour.
  4450. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  4451. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  4452. according to MSDN and new test.
  4453. 2007-07-20 Jonathan Pobst <[email protected]>
  4454. * TreeNode.cs: Implement ToolTipText.
  4455. * TreeView.cs: Implement tooltips, NodeMouse* events.
  4456. 2007-07-20 Jonathan Pobst <[email protected]>
  4457. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  4458. 2007-07-20 Jonathan Pobst <[email protected]>
  4459. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  4460. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  4461. 2007-07-20 Ivan N. Zlatev <[email protected]>
  4462. * Control.cs, Form.cs, ContainerControl.cs,
  4463. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  4464. for misc properties.
  4465. 2007-07-20 Jonathan Pobst <[email protected]>
  4466. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  4467. * TreeView.cs: Implement StateImageList.
  4468. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4469. * Form.cs: Don't check if the current form is the active form before
  4470. activating it. Fixes #81904.
  4471. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4472. * Form.cs: Don't check if the current form is the active form before
  4473. activating it. Fixes #81904.
  4474. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4475. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  4476. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4477. * Form.cs: Don't try to position the form after loading if the form was
  4478. disposed. Fixes #81969.
  4479. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4480. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  4481. properties. Had to change ToolBar into ToolStrip, which required a
  4482. few #ifs.
  4483. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  4484. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  4485. resized, fixes part of #79829 (vertical lines in toolbar).
  4486. PropertyGrid: Refactored Populate* to something that's easier to
  4487. follow at least for me, as well as splitting it up into several new
  4488. methods, required to update only subitems when something has
  4489. changed by a popup editor or listbox. Don't use events to check
  4490. when any values are changed, since the events are unreliable (we're
  4491. changing the objects the events are registered with, and if the
  4492. event handling requires the objects to be immutable (objects stored
  4493. in hashtables for instance), the events will never be raised).
  4494. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  4495. everytime we change a value, since events are unreliable.
  4496. DropDownButtonClicked: For the same reason don't compare objects to
  4497. check if it has changed or not, it would require all objects to
  4498. derive Equals. Fix dialog location on windows, MS is doing weird
  4499. things when creating parented forms.
  4500. * GridEntry.cs: Add a SelectedObject setter.
  4501. 2007-07-19 Jonathan Pobst <[email protected]>
  4502. * TreeNode.cs: Add some corcompare attributes.
  4503. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  4504. * TreeView.cs: Implement some 2.0 stuffs.
  4505. 2007-07-18 Andreia Gaita <[email protected]>
  4506. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  4507. for moma.
  4508. 2007-07-19 Jonathan Pobst <[email protected]>
  4509. * ListBox.cs: Implement custom tab offsets.
  4510. 2007-07-18 Jonathan Pobst <[email protected]>
  4511. * ToolStripContentPanel.cs: Support System renderer.
  4512. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  4513. 2007-07-18 Jonathan Pobst <[email protected]>
  4514. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  4515. 2007-07-18 Jonathan Pobst <[email protected]>
  4516. * CheckBox.cs: Chain TextAlign to base implementation instead of
  4517. maintaining another one.
  4518. 2007-07-18 Jonathan Pobst <[email protected]>
  4519. * ButtonBase.cs: Fix an incorrect string constant.
  4520. 2007-07-18 Jonathan Pobst <[email protected]>
  4521. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  4522. of creating one for measuring strings.
  4523. 2007-07-18 Jonathan Pobst <[email protected]>
  4524. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  4525. Implement MaxItemSize.
  4526. 2007-07-17 Jonathan Pobst <[email protected]>
  4527. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  4528. for DeviceContext. Instead, use the static one available in Hwnd.
  4529. Informal tests show this saves about 500k on formtest.exe.
  4530. 2007-07-17 Jonathan Pobst <[email protected]>
  4531. * ContainerControl.cs: Implement 2.0 AutoScaling.
  4532. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  4533. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  4534. 2007-07-16 Jonathan Pobst <[email protected]>
  4535. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  4536. Darken the focus color.
  4537. 2007-07-16 Jonathan Pobst <[email protected]>
  4538. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  4539. for the checkbox.
  4540. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  4541. X, Y instead of a rect for drawing text.
  4542. - For ControlPaint.DrawCheckBox, center the check a little better when the
  4543. checkbox is odd width. When drawing a flat checkbox, use a white background
  4544. when state != inactive.
  4545. [Fixes bugs #82097, 82100]
  4546. 2007-07-16 Gert Driesen <[email protected]>
  4547. * ListControl.cs: When changing CurrencyManager, disconnect event
  4548. handlers from previous one. Fixes bug #81771. Code formatting.
  4549. 2007-07-15 Andreia Gaita <[email protected]>
  4550. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  4551. full preview invalidation from layout invalidation, and only invalidate
  4552. the layout when setting zoom or other properties. Invalidation should
  4553. always be done even when resetting properties with the same values as
  4554. what is there. Fixes #81744 and #79830.
  4555. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  4556. * ListView.cs: Implement initial support for Groups. Split some of the
  4557. LayoutIcons code to render a partial list of the items (needed by
  4558. items contained in ListViewGroup instances). Let the
  4559. ListViewItemsCollection.ListView property be modifiable (needed when
  4560. using Groups, too).
  4561. * ListViewGroup.cs: Use a Bounds property rather than a Location
  4562. one. Also invalidate the bounds when they get changed.
  4563. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  4564. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  4565. method as well.
  4566. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  4567. * ListView.cs: When space gets pressed and CheckBoxes is true,
  4568. don't invoke the Begin and EndUpdate methods. We are generating
  4569. a redraw of the entire control without need to do so.
  4570. 2007-07-13 William Holmes <[email protected]>
  4571. * Control.cs: Changing logic in FindFlatForward and
  4572. FindFlatBackward to handle multiple Controls with
  4573. the same TabIndex.
  4574. This fixes bug 81687.
  4575. 2007-07-13 Jonathan Pobst <[email protected]>
  4576. * OSFeature.cs: Enable IsPresent.
  4577. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  4578. * Control.cs: Don't do anything in WmShowWindow if the control has been
  4579. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  4580. control is created, put on a form, the control is disposed (the
  4581. form is never shown), and then we get a MapNotify, triggering a
  4582. WM_SHOWWINDOW.
  4583. * Form.cs: Exclude the current form when sending Deactivate to all
  4584. MdiChildren.
  4585. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  4586. there was a race condition because assigning the handle raises
  4587. events, we can get more messages, therefore trying to assign the
  4588. handle again, which would fail if any of those event handlers
  4589. closed/disposed the control.
  4590. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  4591. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  4592. 2007-07-12 Jonathan Pobst <[email protected]>
  4593. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  4594. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  4595. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  4596. * DateTimePicker.cs: If there's no part format specifier, return an
  4597. empty string.
  4598. 2007-07-12 Jonathan Pobst <[email protected]>
  4599. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  4600. Transparent BorderColor.
  4601. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  4602. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  4603. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  4604. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  4605. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  4606. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  4607. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  4608. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  4609. Remove warnings.
  4610. * X11Structs.cs: Remove warnings, add ToString implementations.
  4611. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4612. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  4613. size, and not the current size. Fixes #81798.
  4614. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4615. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  4616. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  4617. to the control yet).
  4618. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4619. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  4620. mousedowns to the contained textbox.
  4621. * X11Structs.cs: More ToString implementation.
  4622. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  4623. #81791.
  4624. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  4625. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  4626. 2007-07-10 Jonathan Pobst <[email protected]>
  4627. * TableLayoutPanelCellPosition.cs: TypeConverter.
  4628. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  4629. [ Fixes #79761]
  4630. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  4631. controls.
  4632. * PropertyGridView.cs: A few color fixes.
  4633. 2007-07-10 Jackson Harper <[email protected]>
  4634. * TextControl.cs: Remove some old unused text formatting stuff.
  4635. 2007-07-10 Jackson Harper <[email protected]>
  4636. * TreeView.cs: Update full row select invalidation to match the
  4637. newer DrawSelection... method.
  4638. - Make sure to invalidate the entire width when selecting a new
  4639. node, if we have full row selection enabled.
  4640. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  4641. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  4642. display of properties again.
  4643. 2007-07-10 Jonathan Pobst <[email protected]>
  4644. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  4645. to existing collections.
  4646. 2007-07-09 Jonathan Pobst <[email protected]>
  4647. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  4648. that changed between 1.1 and 2.0.
  4649. 2007-07-09 Jonathan Pobst <[email protected]>
  4650. * PowerStatus.cs: Added. This is just a data class, it is filled
  4651. in by SystemInformation.
  4652. 2007-07-09 Jonathan Pobst <[email protected]>
  4653. * Message.cs: Add op_Equality and op_Inequality.
  4654. 2007-07-09 Jonathan Pobst <[email protected]>
  4655. * MenuStrip.cs: Finish corcompare work.
  4656. 2007-07-09 Jonathan Pobst <[email protected]>
  4657. * LinkArea.cs: Add op_Equality and op_Inequality.
  4658. 2007-07-09 Jonathan Pobst <[email protected]>
  4659. * Application.cs: Add MessageLoopCallback delegate.
  4660. 2007-07-09 Jonathan Pobst <[email protected]>
  4661. * ListBox.cs: First set of 2.0 stuffs.
  4662. 2007-07-09 Jonathan Pobst <[email protected]>
  4663. * Control.cs: Make an internal Height property we can override
  4664. without messing up the public API.
  4665. * ListBox.cs: Override HeightInternal to always return the size
  4666. the user set. [Fixes bug #80466]
  4667. 2007-07-08 Jonathan Pobst <[email protected]>
  4668. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  4669. paint cell borders if we haven't calculated where they go yet.
  4670. [Fixes bugs #82040 and #82041]
  4671. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  4672. * ListView.cs: In Details view, set the location of item_control
  4673. in the (0,0) position (and the header_control is thus on the
  4674. item_control). This way the Bounds of the Items are relative to the
  4675. ListView control (before this, they had a Bounds value without the
  4676. header_control offset, which wasn't matching .Net). Fixes #82004.
  4677. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  4678. * ListControl.cs: When DataSource is set to null, pass an empty
  4679. array of object to SetItemsCore. This is done to clean the items
  4680. in the ListContol children. Fixes #81788.
  4681. 2007-07-06 Jonathan Pobst <[email protected]>
  4682. * ListControl.cs: Add 2.0 stuffs.
  4683. 2007-07-06 Jonathan Pobst <[email protected]>
  4684. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  4685. Refresh is overkill for just about every repaint request.
  4686. 2007-07-06 Jonathan Pobst <[email protected]>
  4687. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  4688. so remove my custom Get method and fix the property getter.
  4689. 2007-07-06 Jonathan Pobst <[email protected]>
  4690. * Label.cs: DefaultMargin for 2.0.
  4691. 2007-07-06 Jonathan Pobst <[email protected]>
  4692. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  4693. reported issue where other controls with mnemonics would steal strokes
  4694. from a selected ComboBox.
  4695. 2007-07-06 Jonathan Pobst <[email protected]>
  4696. * ScrollOrientation.cs: Make internal for 1.1.
  4697. * ScrollEventArgs.cs: Add 2.0 stuffs.
  4698. 2007-07-05 Jonathan Pobst <[email protected]>
  4699. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  4700. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  4701. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  4702. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4703. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  4704. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4705. * ListView.cs: Implement the so-incredibly broken 2.0
  4706. VirtualItemsSelectionRangeChanged event.
  4707. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4708. * ListView.cs: When enter is pressed and selection is non empty,
  4709. an OnItemActivate event must be fired.
  4710. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  4711. * ListView.cs: Store the FocusedItem information as an
  4712. int instead of a ListViewItem (needed by VirtualMode).
  4713. Update the calls to SetFocusedItem to pass an index instead of
  4714. an item.
  4715. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  4716. the Focused state from the owner ListView.
  4717. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  4718. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  4719. property. Also, invalidate previous focused item in the mentioned
  4720. property (match .Net).
  4721. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  4722. * ListView.cs: Implement 2.0 FocusedItem property setter.
  4723. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  4724. * ListView.cs: Implement 2.0 TopItem property setter.
  4725. 2007-07-03 Jonathan Pobst <[email protected]>
  4726. * StatusStrip.cs: The default renderer is System.
  4727. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  4728. if the user specifies it.
  4729. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  4730. if we are ManagerRenderMode.
  4731. * ToolStripMenuItem.cs: Calculate our text color better.
  4732. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  4733. from Professional to the base class based off working with the System renderer.
  4734. * ToolStripSystemRenderer.cs: Added.
  4735. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  4736. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  4737. 2007-07-02 Jonathan Pobst <[email protected]>
  4738. * ToolTip.cs: Implement 2.0 Tag property.
  4739. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  4740. * ListView.cs: Implement 2.0 HitTest methods.
  4741. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  4742. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  4743. item is under the pointer or not (sugar). Also remove the TODO
  4744. regarding to the cursor changes in OneClick activation.
  4745. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  4746. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  4747. true; otherwise don't show the underline style.
  4748. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  4749. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  4750. the code to retrieve the item at position only one time. Also
  4751. change cursor when Activation is ItemActivation.OneClick as well
  4752. as invalidate the item if HotTracking is true (to show/hide the
  4753. underline style). Add an internal HotItemIndex property to retrieve
  4754. the current hot item's index.
  4755. * ListViewItem.cs: Add an internal HotFont property to cache the
  4756. font used when HotTracking is true and the pointer moves within the
  4757. item's borders.
  4758. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  4759. HotFont depending on the hot state of the item.
  4760. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  4761. * ListView.cs: Implement 2.0 HotTracking property.
  4762. 2007-06-21 Jonathan Pobst <[email protected]>
  4763. * ToolStripControlHost.cs: If our hosted control never got created,
  4764. don't try to dispose it. [Fixes bug #81909]
  4765. 2007-06-21 Jonathan Pobst <[email protected]>
  4766. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  4767. 2007-06-21 Jonathan Pobst <[email protected]>
  4768. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  4769. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  4770. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  4771. Details view.
  4772. * DrawListViewColumnHeaderEventArgs.cs:
  4773. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  4774. using the DrawText () methods.
  4775. 2007-06-19 Jonathan Pobst <[email protected]>
  4776. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  4777. background which got erased in my changes yesterday.
  4778. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  4779. * ListViewItem.cs: Actually set bounds for subitems in Details view
  4780. (2.0 feature).
  4781. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  4782. can invoke from the owner draw routines if we need it. Also, add
  4783. support for Owner draw in Details view.
  4784. 2007-06-18 Jonathan Pobst <[email protected]>
  4785. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  4786. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  4787. ShowImageMargin setting, properly align text in a ToolStripLabel
  4788. hosted on a ToolStripDropDown.
  4789. 2007-06-18 Jonathan Pobst <[email protected]>
  4790. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  4791. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  4792. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  4793. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  4794. 2007-06-18 Jonathan Pobst <[email protected]>
  4795. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  4796. location to match ToolStripMenuItems.
  4797. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  4798. * DrawListViewColumnHeaderEventArgs.cs:
  4799. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  4800. column headers in ListView.
  4801. 2007-06-15 Jonathan Pobst <[email protected]>
  4802. * UserControl.cs: Implement AutoSize.
  4803. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  4804. * DrawListViewItemEventArgs.cs:
  4805. * ListView.cs:
  4806. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  4807. ListView.
  4808. 2007-06-15 Jonathan Pobst <[email protected]>
  4809. * ToolStripDropDownItemAccessibleObject.cs: Added.
  4810. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  4811. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  4812. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  4813. ToolStripTextBox.cs: corcompare work.
  4814. 2007-06-14 Jonathan Pobst <[email protected]>
  4815. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  4816. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  4817. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  4818. corcompare.
  4819. 2007-06-14 Jonathan Pobst <[email protected]>
  4820. * OSFeature.cs: Add IsPresent.
  4821. * PrintPreviewControl.cs: Add RightToLeft.
  4822. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  4823. * SplitterPanel.cs: Add AutoSizeMode.
  4824. 2007-06-13 Jonathan Pobst <[email protected]>
  4825. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  4826. * MdiClient.cs: Add 2.0 ScaleControl.
  4827. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  4828. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  4829. 2007-06-13 Jonathan Pobst <[email protected]>
  4830. * Form.cs: Implement some scaling methods, stub some RTL methods,
  4831. corcompare work.
  4832. 2007-06-13 Jonathan Pobst <[email protected]>
  4833. * Control.cs: corcompare work.
  4834. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  4835. 2007-06-13 Jonathan Pobst <[email protected]>
  4836. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  4837. ControlPaint 2.0 stuffs.
  4838. 2007-06-12 Jonathan Pobst <[email protected]>
  4839. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  4840. 2007-06-12 Jonathan Pobst <[email protected]>
  4841. * UpDownBase.cs: Add 2.0 stuffs.
  4842. 2007-06-12 Jonathan Pobst <[email protected]>
  4843. * NumericUpDown.cs: Add 2.0 stuffs.
  4844. 2007-06-12 Jonathan Pobst <[email protected]>
  4845. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  4846. 2007-06-12 Jonathan Pobst <[email protected]>
  4847. * ErrorProvider.cs: Implement 2.0 stuffs.
  4848. 2007-06-12 Jonathan Pobst <[email protected]>
  4849. * DomainUpDown.cs: Implement 2.0 stuffs.
  4850. 2007-06-12 Jonathan Pobst <[email protected]>
  4851. * CheckedListBox.cs: Fix RefreshItems signature.
  4852. 2007-06-12 Jonathan Pobst <[email protected]>
  4853. * PictureBox.cs: Implement 2.0 stuffs.
  4854. 2007-06-12 Andreia Gaita <[email protected]>
  4855. * TabControl.cs: Check if there are tabpages before checking
  4856. the selected index - fix #81802 (font changes raise a ResizeTabs
  4857. call on controls.add, which blew up nicely with no tabpages)
  4858. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  4859. * ListView.cs:
  4860. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  4861. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  4862. * ListView.cs:
  4863. * ListViewItem.cs: In VirtualMode the selection information
  4864. resides in the ListView, rather than in the Items. Also, throw
  4865. InvalidOperationExceptions when VirtualMode is being used and
  4866. CheckedItemCollection is accessed.
  4867. 2007-06-08 Jonathan Pobst <[email protected]>
  4868. * ComboBox.cs: Add ScaleControl.
  4869. 2007-06-08 Jonathan Pobst <[email protected]>
  4870. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  4871. 2007-06-08 Jonathan Pobst <[email protected]>
  4872. * GroupBox.cs: Add 2.0 stuffs.
  4873. 2007-06-08 Jonathan Pobst <[email protected]>
  4874. * Panel.cs: Add autosize properties/event.
  4875. 2007-06-07 Jonathan Pobst <[email protected]>
  4876. * Control.cs:
  4877. - When we remove a control, remove it from the collection before performing the layout.
  4878. - Setup an internal property for explicit_bounds.
  4879. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  4880. - Perform a layout when we set a new AutoSizeMode.
  4881. 2007-06-07 Jonathan Pobst <[email protected]>
  4882. * ScrollableControl.cs: Add 2.0 stuffs.
  4883. 2007-06-06 Jonathan Pobst <[email protected]>
  4884. * ScrollBar.cs: Add 2.0 stuffs.
  4885. 2007-06-06 Jonathan Pobst <[email protected]>
  4886. * Splitter.cs: Add 2.0 stuffs.
  4887. 2007-06-06 Jonathan Pobst <[email protected]>
  4888. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  4889. to have BindingContext simply use base implementation.
  4890. 2007-06-06 Jonathan Pobst <[email protected]>
  4891. * ColumnHeader.cs: corcompare fix.
  4892. 2007-06-06 Jonathan Pobst <[email protected]>
  4893. * Button.cs: corcompare fixes.
  4894. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  4895. 2007-06-06 Jonathan Pobst <[email protected]>
  4896. * Button.cs: Override GetPreferredSizeCore.
  4897. * ButtonBase.cs: PerformLayout after changing properties that can affect
  4898. AutoSize. Simplify some mouse/keyboard code.
  4899. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  4900. * MouseEventArgs.cs: Make Location internal for 1.1.
  4901. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  4902. * Theme.cs: Add CalculateButtonAutoSize.
  4903. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  4904. 2007-06-05 Miguel de Icaza <[email protected]>
  4905. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  4906. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  4907. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  4908. since we can get different item instances every time we retrieve it.
  4909. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  4910. * ListView.cs: Work around for #81602, since an unkown an pretty
  4911. infrequent condition appears only in some systems (old linux boxes, it
  4912. seems).
  4913. 2007-06-04 Jonathan Pobst <[email protected]>
  4914. * Button.cs: Completely reformat and a little refactor to bring
  4915. this closer to Mono circa 2007.
  4916. 2007-06-04 Jonathan Pobst <[email protected]>
  4917. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  4918. to be ButtonBase.Invalidate.
  4919. 2007-06-04 Jonathan Pobst <[email protected]>
  4920. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  4921. 2007-06-04 Jonathan Pobst <[email protected]>
  4922. * ButtonBase.cs: Completely reformat and a little refactor to bring
  4923. this closer to Mono circa 2007.
  4924. 2007-06-01 Everaldo Canuto <[email protected]>
  4925. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  4926. values for autosize. Fixes #80137.
  4927. 2007-06-01 Jonathan Pobst <[email protected]>
  4928. * Control.cs: Don't perform layout when AutoSize changes.
  4929. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  4930. directly when autosizing, use SetBounds with BoundsSpecified.None.
  4931. Fixes unit tests my last commit broke.
  4932. 2007-06-01 Jonathan Pobst <[email protected]>
  4933. * Control.cs: Perform layout when AutoSize changes.
  4934. * Form.cs: Implement AutoSizing.
  4935. 2007-06-01 Chris Toshok <[email protected]>
  4936. * DataGrid.cs: remove the XXX'ed check at the top of
  4937. ProcessGridKey. fixes #80464.
  4938. 2007-06-01 Chris Toshok <[email protected]>
  4939. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  4940. adding idempotent (add/remove in Edit()), and also make sure we
  4941. don't add it until after we set the text, so it's not tripped in
  4942. Edit(). Fixes unit test regression.
  4943. 2007-06-01 Jonathan Pobst <[email protected]>
  4944. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  4945. change is user explicit, not when the layout engine moves stuff. Fixes
  4946. anchoring to bottom and right. [Fixes bug #81790]
  4947. 2007-06-01 Andreia Gaita <[email protected]>
  4948. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  4949. 2007-06-01 Andreia Gaita <[email protected]>
  4950. * ContainerControl.cs:
  4951. Fire enter event for common ancestor if it is not a ContainerControl.
  4952. Send focus to the active_control and not the 'value', the active
  4953. control might have been changed in one of the events fired.
  4954. Definitely fixes #80159.
  4955. 2007-06-01 Andreia Gaita <[email protected]>
  4956. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  4957. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  4958. * PropertyGrid.cs: Anchor the help description to the bottom of the
  4959. help panel and refactor SelectGridItem into a
  4960. SelectGridItemInternal that can be set to null (and update it to
  4961. clear the help texts when it is set to null). Set root item to null
  4962. when there's no SelectedObject. Fixes #80438.
  4963. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  4964. when we're recalculating after a resize (only).
  4965. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  4966. * ListView.cs: Implement 2.0 RedrawItems method.
  4967. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  4968. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  4969. handlers from previous data manager when DataSource is set to
  4970. null. Fixes #81771.
  4971. 2007-05-31 Jackson Harper <[email protected]>
  4972. * TextBoxBase.cs: These seem to be the correct values.
  4973. 2007-05-31 Everaldo Canuto <[email protected]>
  4974. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  4975. value. Fixes #81784.
  4976. 2007-05-31 Jonathan Pobst <[email protected]>
  4977. * Control.cs: Implement 2.0 scaling methods.
  4978. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4979. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  4980. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  4981. corcompare issues.
  4982. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4983. * ProgressBar.cs: Implemented missing 2.0 members.
  4984. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4985. * Control.cs: Corcompare issues.
  4986. * MessageBox.cs: Implemented missing 2.0 functions.
  4987. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4988. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  4989. Implemented more 2.0 members.
  4990. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  4991. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  4992. null (strange, but it seems to happen when running unit tests).
  4993. 2007-05-30 Andreia Gaita <[email protected]>
  4994. * ContainerControl.cs: Set active_control even earlier, before
  4995. firing any events, and undo it if validation returns false.
  4996. 2007-05-30 Andreia Gaita <[email protected]>
  4997. * ContainerControl.cs: Raise Validation and Enter/Leave events
  4998. even if there is no Form and set active_control earlier, just
  4999. before firing Enter events (toshok's patches). Fixes #80647.
  5000. 2007-05-30 Jackson Harper <[email protected]>
  5001. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  5002. things and fix bug #81311.
  5003. 2007-05-30 Jackson Harper <[email protected]>
  5004. * X11Dnd.cs: Now that we have our own event loop, we need to
  5005. cancel when we get a mouseup but it won't be accepted.
  5006. 2007-05-30 Chris Toshok <[email protected]>
  5007. * DataGrid.cs (set_CurrentCell): guard against negative
  5008. column/row.
  5009. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  5010. array index syntax instead of looping over the property names.
  5011. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  5012. and set IsInEditOrNavigateMode to false there.
  5013. 2007-05-30 Jackson Harper <[email protected]>
  5014. * TreeView.cs: Make sure we don't get a bad visible order when
  5015. setting to the top node. Fixes some misc crashing in
  5016. ControlInspector.
  5017. 2007-05-30 Andreia Gaita <[email protected]>
  5018. * UserControl.cs: Add 2.0 AutoSizeMode
  5019. 2007-05-29 Everaldo Canuto <[email protected]>
  5020. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  5021. 2007-05-29 Everaldo Canuto <[email protected]>
  5022. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  5023. lines. Fixes #80285.
  5024. 2007-05-29 Everaldo Canuto <[email protected]>
  5025. * DataGridColumnStyle.cs: Add char trimming column header text format.
  5026. 2007-05-29 Everaldo Canuto <[email protected]>
  5027. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  5028. Fixes #80147.
  5029. 2007-05-29 Jackson Harper <[email protected]>
  5030. * TreeNode.cs: Fix off by one on calculating whether or not a node
  5031. is visible.
  5032. 2007-05-29 Jonathan Pobst <[email protected]>
  5033. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  5034. * ScrollableControl.cs: Force an UpdateDistances when we move the
  5035. scrollbars.
  5036. [Fixes bug #80605]
  5037. 2007-05-29 Andreia Gaita <[email protected]>
  5038. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  5039. update the page setup screen.
  5040. 2007-05-29 Andreia Gaita <[email protected]>
  5041. * PageSetupDialog.cs: Fix landscape mode.
  5042. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  5043. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  5044. IconSizeHorizontalSpacing.
  5045. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  5046. * ListView.cs: The declaration of prev_tooltip_item should be inside
  5047. a NET_2_0 conditional (avoid a warning).
  5048. 2007-05-28 Andreia Gaita <[email protected]>
  5049. * PageSetupDialog.cs: Implement PrintPreview control to display
  5050. the preview thumbnail. Change unit conversion to use
  5051. PrinterUnitConvert methods.
  5052. Note: there is a huge bug in ms.net where the default margins are
  5053. interpreted as centimeters (?), when in fact they are set in inches. When
  5054. loading the page setup dialog initially (ms.net), the default margins
  5055. are set to 1 inch, and the dialog shows them with value 10, when in fact
  5056. it should be 25 (properly converted). Our dialog doesn't have this bug.
  5057. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  5058. RectangleF.
  5059. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  5060. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  5061. * ListView.cs:
  5062. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  5063. items.
  5064. 2007-05-28 Andreia Gaita <[email protected]>
  5065. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  5066. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  5067. bug?), convert the ptr to Int32 first.
  5068. 2007-05-28 Jackson Harper <[email protected]>
  5069. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  5070. recieved, we will exit the dnd tracking loop.
  5071. 2007-05-28 Jackson Harper <[email protected]>
  5072. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  5073. recieved. TODO: I should probably stick a timer on the dropped
  5074. event, and finish the drag if the XDND Finished event never shows
  5075. (because some apps don't seem to send it).
  5076. 2007-05-28 Everaldo Canuto <[email protected]>
  5077. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  5078. #81733.
  5079. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  5080. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  5081. handled.
  5082. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  5083. * MonthCalendar.cs: Set the size after initializing all the relevant
  5084. variables. Fixes #81742.
  5085. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  5086. * KeyEventArgs.cs: Fix typo.
  5087. 2007-05-28 Gert Driesen <[email protected]>
  5088. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  5089. to match MS. Fixed MinDate to only accept value less than or equal
  5090. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  5091. Removed TODO's that are now verified by unit tests.
  5092. 2007-05-27 Gert Driesen <[email protected]>
  5093. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  5094. MS.
  5095. 2007-05-25 Jackson Harper <[email protected]>
  5096. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  5097. it's own message loop.
  5098. * XplatUIX11.cs: Remove some of the dnd hooks
  5099. 2007-05-25 Gert Driesen <[email protected]>
  5100. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  5101. instead of MinimizedWindowSize.
  5102. 2007-05-25 Jackson Harper <[email protected]>
  5103. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  5104. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  5105. * KeyEventArgs.cs: Added SuppressKeyPress.
  5106. * Control.cs: Added support for SuppressKeyPress.
  5107. 2007-05-24 Andreia Gaita <[email protected]>
  5108. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  5109. problems with PieChart. suppress_validation should not be a counter,
  5110. if there are several BeginInit calls, the first EndInit will
  5111. activate validation. Fix exceptions thrown by set_Value.
  5112. * UpDownBase.cs: ValidateText only if it's the user editing it.
  5113. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  5114. * ListControl.cs: FilterItemOnProperty should return the filtered
  5115. item proeprty even if DataSource is null. The same applies for
  5116. GetItemText. Fixes #80427.
  5117. 2007-05-24 Jonathan Pobst <[email protected]>
  5118. * Control.cs: If a control doesn't have a parent when it's Dock is
  5119. set, but it has children, it needs to do a layout. Fixes some nested
  5120. controls issues. [Fixes bug #81199]
  5121. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  5122. * ComboBox.cs: If there are few items in the drop down list, make it
  5123. the exact size the items need, no bigger. Fixes #81612.
  5124. 2007-05-24 Jonathan Pobst <[email protected]>
  5125. * Application.cs: When we have captured the keyboard for a menu,
  5126. check for mouse down events in case we need to close the menu.
  5127. * Control.cs, Form.cs: Remove mouse down checks for menus.
  5128. 2007-05-24 Jackson Harper <[email protected]>
  5129. * TextControl.cs: Handle tabs in non multiline mode a little
  5130. differently.
  5131. 2007-05-24 Jackson Harper <[email protected]>
  5132. * TextControl.cs: We need to manually break apart tabbed text and
  5133. move the tabs, since the system.drawing tabbing mechanism relies
  5134. on tab stops.
  5135. * TextBoxBase.cs: Move the caret properly when the user enters a
  5136. tab.
  5137. 2007-05-24 Jonathan Pobst <[email protected]>
  5138. * ContainerControl.cs: Don't check CanSelect before calling
  5139. ProcessMnemonic.
  5140. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  5141. release a KeyboardActive on click if it's not ours.
  5142. 2007-05-23 Andreia Gaita <[email protected]>
  5143. * ColumnHeader.cs: Add TypeConverter
  5144. 2007-05-23 Everaldo Canuto <[email protected]>
  5145. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  5146. 2007-05-23 Everaldo Canuto <[email protected]>
  5147. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  5148. 2007-05-23 Everaldo Canuto <[email protected]>
  5149. * LinkLabel.cs: Implement public Padding property.
  5150. 2007-05-23 Everaldo Canuto <[email protected]>
  5151. * LinkLabel.cs: Implement public FlatStyle.
  5152. 2007-05-23 Jonathan Pobst <[email protected]>
  5153. * Control.cs: Apply patch from George to call parent.PerformLayout
  5154. when Visible is changed. [Fixes bugs #81118, 81718]
  5155. 2007-05-23 Everaldo Canuto <[email protected]>
  5156. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  5157. 2007-05-23 Everaldo Canuto <[email protected]>
  5158. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  5159. 2007-05-23 Everaldo Canuto <[email protected]>
  5160. * ContextMenu.cs: Implement Collapse.
  5161. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  5162. * ToolBarButton.cs: Implement Name.
  5163. 2007-05-22 Everaldo Canuto <[email protected]>
  5164. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  5165. use current_item, it prevents some NRE. Fixes #81675.
  5166. 2007-05-22 Andreia Gaita <[email protected]>
  5167. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  5168. without updating the text.
  5169. 2007-05-22 Jonathan Pobst <[email protected]>
  5170. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  5171. without calling DeleteObject. [Should fix bug #81709]
  5172. 2007-05-22 Jackson Harper <[email protected]>
  5173. * RichTextBox.cs: Set the line endings correctly, when flushing
  5174. RTF text.
  5175. 2007-05-22 Gert Driesen <[email protected]>
  5176. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  5177. {Width=0,Height=0}.
  5178. 2007-05-22 Jackson Harper <[email protected]>
  5179. * TreeView.cs: Setting top with a null node should set to the very
  5180. top.
  5181. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5182. * Form.cs: ShowDialog: destroy the handle when message loop is
  5183. finished, matches MS behaviour. Refactor parts of WmClose into
  5184. RaiseCloseEvents, that only raises events if they haven't already
  5185. been raised. Fixes #81688 and #81521.
  5186. * Application.cs: Don't call close on the form when exiting a modal
  5187. loop, it will raise all the (Form)Closed/Closing events again if
  5188. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  5189. which doesn'r raise any events it they have been raised before.
  5190. 2007-05-22 Jonathan Pobst <[email protected]>
  5191. * Control.cs: Add OnPrint.
  5192. * ToolStrip.cs: Add GetChildAtPoint.
  5193. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  5194. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  5195. 2007-05-22 Everaldo Canuto <[email protected]>
  5196. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  5197. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5198. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  5199. isn't visible anymore. Fixes #81651.
  5200. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5201. * Control.cs: WmShowWindow: Update children's z-order after setting
  5202. their parent. SetParent may show the window, thereby corrupting
  5203. z-order, since the window will be shown on top.
  5204. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  5205. multiple (and redundant) WM_SHOWWINDOW messages.
  5206. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  5207. event has already been raised.
  5208. * Form.cs: Change is_changing_visible_state to a counter, since
  5209. SetVisibleCore can be called recursively. CreateHandle: when
  5210. creating mdi children, send (De)Activated events.
  5211. * MdiClient.cs: Update use of is_changing_visible_state.
  5212. * Application.cs: OnThreadException: Surround exception handling with
  5213. try/finally to ensure we always reset the error-handling state
  5214. before leaving.
  5215. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  5216. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  5217. (#81704).
  5218. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  5219. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  5220. SmallIcon views, now that we have a standarized horizontal spacing.
  5221. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  5222. 4, just like the other views (Match .Net).
  5223. 2007-05-21 Jonathan Pobst <[email protected]>
  5224. * Control.cs: Delay calculating anchor distances until we actually layout.
  5225. Always query the WM for the actual size and location it put us at instead of
  5226. only when we send negative values.
  5227. [Fixes bugs #81694, 81695]
  5228. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  5229. * Application.cs: Avoid a possible stack overflow when trying to exit
  5230. the application.
  5231. 2007-05-19 Marek Safar <[email protected]>
  5232. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  5233. enum value.
  5234. 2007-05-19 Andreia Gaita <[email protected]>
  5235. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  5236. * NumericUpDownAcceleration.cs,
  5237. NumericUpDownAccelerationCollection.cs: Added 2.0
  5238. implementation.
  5239. 2007-05-19 Gert Driesen <[email protected]>
  5240. * RichTextBox.cs: Recalculate the document after the ScrollBars
  5241. property is changed. Fixes bug #81681.
  5242. 2007-05-18 Jonathan Pobst <[email protected]>
  5243. * DataObject.cs: Implement 2.0 methods.
  5244. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  5245. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  5246. in the center of the checkbox, not in the left-top corner.
  5247. Fixes #80037.
  5248. 2007-05-18 Jackson Harper <[email protected]>
  5249. * RichTextBox.cs: Recalculate the document after the scrollbars
  5250. property is changed.
  5251. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  5252. 81486.
  5253. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  5254. * CreateParams.cs: Make HasWindowManager marginally faster.
  5255. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  5256. into Hwnd so that other drivers can use it as well.
  5257. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  5258. the default location from Hwnd. Fixes MDI client windows always
  5259. showing up at (0,0) in Windows (Win32 won't set the default
  5260. location since the window styles aren't correct).
  5261. 2007-05-18 Gert Driesen <[email protected]>
  5262. * TreeView.cs: Modified DoubleBuffered to just use the base
  5263. implementation.
  5264. 2007-05-18 Jackson Harper <[email protected]>
  5265. * TreeView.cs: Set the top node to the last child node when
  5266. expanding all
  5267. - When we get focus, if there is no selected node, use the top
  5268. node.
  5269. 2007-05-18 Jonathan Pobst <[email protected]>
  5270. * KeysConverter.cs: Add CanConvertTo.
  5271. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  5272. * LinkConverter.cs: Added.
  5273. 2007-05-18 Everaldo Canuto <[email protected]>
  5274. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  5275. it prevents error when file dont have write access. Fixes #81669 and #81667.
  5276. 2007-05-18 Everaldo Canuto <[email protected]>
  5277. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  5278. button text. Fixes #79640.
  5279. 2007-05-18 Everaldo Canuto <[email protected]>
  5280. * Control.cs: According to MSDN controls created in the designer theres
  5281. keyboard accelerators visible by default. So included check for design
  5282. in ShowKeyboardCuesInternal.
  5283. 2007-05-18 Everaldo Canuto <[email protected]>
  5284. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  5285. text. Fixes #81621.
  5286. 2007-05-18 Everaldo Canuto <[email protected]>
  5287. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  5288. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  5289. 2007-05-17 Everaldo Canuto <[email protected]>
  5290. * Control.cs: Finish implementation of UI State using WmChangeUIState
  5291. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  5292. in some controls to check for show_keyboard_cues to draw accell keys "_".
  5293. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  5294. * ListBox.cs: When calculating the horizontal scrollbar
  5295. in single column mode, don't use values less than 0 for
  5296. Maximum. Fixes #81474.
  5297. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  5298. * ListBox.cs: Throw the some missing exceptions in
  5299. ListBox.ObjectCollection methods.
  5300. 2007-05-17 Jackson Harper <[email protected]>
  5301. * TextBoxBase.cs: Recalculate the document when the word wrap
  5302. value has changed. This fixes 81488.
  5303. 2007-05-17 Jonathan Pobst <[email protected]>
  5304. * Clipboard.cs: Implement missing GetText overload.
  5305. 2007-05-17 Chris Toshok <[email protected]>
  5306. * Control.cs (CheckDataBindings): remove the binding_context arg
  5307. to binding.Check.
  5308. * CurrencyManager.cs (OnItemChanged): fix this now that
  5309. BindingManagerBase is fixed. also remove the comment telling where
  5310. the fix should go. We set transfering_data to true/false around
  5311. the call to PushData to keep UpdateIsBinding from being called.
  5312. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  5313. PropertyDescriptorAdded in the 1.1 case. The extra call is
  5314. actually generated by System.Data generating 2 metadata changed
  5315. events of its own per column add. The fix should go there. Add a
  5316. comment to that affect in our test's Assert.Ignore.
  5317. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  5318. we keep a boolean flag (transfering_data) that keeps us from
  5319. calling UpdateIsBinding multiple times if we re-enter either of
  5320. them.
  5321. * ControlBindingsCollection.cs (AddCore): remove the
  5322. binding_context arg to binding.Check.
  5323. * Binding.cs (IsBinding): don't check if we're binding here, just
  5324. return our cached value. we update it in UpdateIsBinding.
  5325. (Check): don't take the binding_context arg, we'll just use our
  5326. control's. Also, for some reason MS doesn't use the data member
  5327. field when getting the bindingmanager for this binding. it just
  5328. uses the datasource. Make this method callable multiple times,
  5329. and only do the is_null_desc stuff if manager.Position != -1 (so
  5330. we don't get an exception accessing manager.Current).
  5331. (UpdateIsBinding): move the code from IsBinding here.
  5332. (PositionChangedHandler): call Check here to we can initialize
  5333. things that require a non- -1 position.
  5334. 2007-05-17 Everaldo Canuto <[email protected]>
  5335. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  5336. control.
  5337. 2007-05-17 Andreia Gaita <[email protected]>
  5338. * TabControl.cs: Add 2.0 methods and events, including
  5339. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  5340. * TabPage.cs: Add 2.0 methods
  5341. 2007-05-17 Everaldo Canuto <[email protected]>
  5342. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  5343. keyboard_cues is properly handled by message method.
  5344. 2007-05-17 Jonathan Pobst <[email protected]>
  5345. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  5346. 2007-05-17 Jonathan Pobst <[email protected]>
  5347. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  5348. 2007-05-16 Everaldo Canuto <[email protected]>
  5349. * Control.cs:
  5350. - WmUpdateUIState added to handle state changes, it make call to
  5351. OnChangeUICues event.
  5352. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  5353. SystemInformation.
  5354. 2007-05-16 Jonathan Pobst <[email protected]>
  5355. * ImageKeyConverter.cs: Added.
  5356. * TreeViewImageKeyConverter.cs: Added.
  5357. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  5358. * ToolTips.cs: Update Text if SetToolTip is called for a control
  5359. already showing the tooltip, as well as restarting its timer; show
  5360. tooltip if we are inside the control bounds by the time of calling
  5361. SetToolTip. Inside ShowTooltip remove the check to not show the
  5362. tooltip again for the active control (it is allowed by .Net to
  5363. show the tooltip on the same control multiple times).
  5364. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  5365. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  5366. 2007-05-16 Andreia Gaita <[email protected]>
  5367. * ContainerControl.cs: only process tab key if there are no
  5368. modifier keys present, otherwise the control does the
  5369. tab processing, if it needs to. Fixes #81622
  5370. * TabControl.cs: Fixes calculation for which tab to select on
  5371. shift+ctrl+tab.
  5372. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  5373. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  5374. 2007-05-15 Jonathan Pobst <[email protected]>
  5375. * Control.cs: Make IsInputCharInternal to allow controls to
  5376. override it and still match MS API.
  5377. * TextBoxBase.cs: Override IsInputCharInternal and always
  5378. return true.
  5379. [Fixes bug #81616]
  5380. 2007-05-15 Jackson Harper <[email protected]>
  5381. * TextBox.cs: Disable some of the menu options when using a
  5382. readonly textbox.
  5383. 2007-05-15 Jackson Harper <[email protected]>
  5384. * TextBox.cs:
  5385. * TextBoxBase.cs:
  5386. * RichTextBox.cs: Some new 2.0 methods
  5387. 2007-05-15 Gert Driesen <[email protected]>
  5388. * FileDialog.cs: On 1.0 profile, do not support multidotted
  5389. extensions.
  5390. 2007-05-14 Jackson Harper <[email protected]>
  5391. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  5392. * RichTextBox.cs: We need to override these methods on 2.0.
  5393. * MaskedTextBox.cs: These are implemented now
  5394. * TextControl.cs: This was off by one.
  5395. 2007-05-14 Jackson Harper <[email protected]>
  5396. * TextControl.cs: Because the line endings are including in the
  5397. text, we don't need to add them in anymore.
  5398. 2007-05-11 Everaldo Canuto <[email protected]>
  5399. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  5400. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  5401. 2007-05-11 Everaldo Canuto <[email protected]>
  5402. * ToolBar.cs: Adjust size to default size when button theres no text and
  5403. image, it fixes remaining issues from #81524.
  5404. 2007-05-11 Everaldo Canuto <[email protected]>
  5405. * ToolBar.cs:
  5406. - When not flat call redraw to recalculate sizes on creare handle to match
  5407. win32 behavior.
  5408. - Revert 77220 because it causes some regressions in toobar
  5409. button.
  5410. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  5411. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  5412. now actually enters a usable state.
  5413. 2007-05-11 Everaldo Canuto <[email protected]>
  5414. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  5415. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  5416. 3 buttons.
  5417. 2007-05-11 Everaldo Canuto <[email protected]>
  5418. * ToolBar.cs: Save default_size on create handle to use later for buttons
  5419. without text, needed to mimic win32 behavior.
  5420. 2007-05-11 Everaldo Canuto <[email protected]>
  5421. * ToolBar.cs: Fix button layour to best fit width or height according to
  5422. vertical or not. Fixes #81524.
  5423. 2007-05-10 Everaldo Canuto <[email protected]>
  5424. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  5425. toolbar size info because different styles theres different sizes.
  5426. Fixes #81522.
  5427. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  5428. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  5429. if we are using checkboxes, checked is true, and we have less
  5430. than two images in StateImageList; for the 1.1 in the same scenario
  5431. draw the first image if we have at least one image in StateImageList.
  5432. Fixes part of #81191.
  5433. 2007-05-10 Jonathan Pobst <[email protected]>
  5434. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  5435. the owner's Items collection on merge.
  5436. 2007-05-10 Jonathan Pobst <[email protected]>
  5437. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  5438. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  5439. and parent/owner gets changed based on gert's unit tests.
  5440. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  5441. * MaskedTextBox.cs: Started implementing parts of it.
  5442. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  5443. * ListView.cs: When clicking the checkbox on the items
  5444. take into account the double clicks even if we have only
  5445. one image in StateImageList (only for 1.0/1.1). Also
  5446. generate an extra change of checked state when we receive
  5447. the second click on checkbox (match .Net behaviour).
  5448. Fixes part of #81191.
  5449. 2007-05-10 Everaldo Canuto <[email protected]>
  5450. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  5451. 2007-05-10 Jonathan Pobst <[email protected]>
  5452. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  5453. even if OnLoad is overriden and base.OnLoad is not called.
  5454. [Fixes bug #81582]
  5455. 2007-05-10 Andreia Gaita <[email protected]>
  5456. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  5457. shame. (I blame my ever-persisting and annoying cold)
  5458. 2007-05-09 Jonathan Pobst <[email protected]>
  5459. * ListView.cs: Don't eat navigation keys. Let them flow through to
  5460. KeyDown/KeyPress routines. [Fixes bug #81569]
  5461. 2007-05-09 Jonathan Pobst <[email protected]>
  5462. * ListView.cs: When handling keys for selecting the item based off
  5463. keyboard input, do not consider keys pressed with Alt or Control. Also,
  5464. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  5465. 2007-05-09 Jonathan Pobst <[email protected]>
  5466. * Control.cs: When using UseWaitCursor, we have to store the requested
  5467. Cursor to use when UseWaitCursor is turned off.
  5468. 2007-05-09 Jonathan Pobst <[email protected]>
  5469. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  5470. to false.
  5471. * Application.cs: Use PreProcessControlMessage instead of
  5472. PreProcessMessage.
  5473. * PreProcessControlMessage.cs: Make internal for 1.1.
  5474. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  5475. * Control.cs: Add InternalContains focus property, which hast the same
  5476. functionality of ContainsFocus, but also including implicit controls.
  5477. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  5478. since we need to know if the focus is contained in our implicit
  5479. ItemControl when calculating Layout. Fixes part of #80888.
  5480. 2007-05-08 Everaldo Canuto <[email protected]>
  5481. * ToolTip.cs: Remove center form string alignment as it must be align to
  5482. left.
  5483. 2007-05-08 Jonathan Pobst <[email protected]>
  5484. * ToolStripItemCollection.cs: Set the new item's parent and owner
  5485. in Insert like we do in Add. [Fixes bug #81568]
  5486. 2007-05-08 Jackson Harper <[email protected]>
  5487. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  5488. - Off by one error in SetTop
  5489. - Disable DoubeBuffering
  5490. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  5491. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  5492. control as much as necessary in order to make it entirely visible,
  5493. instead of centering the control in the container (matches MS
  5494. behaviour). CalculateCanvasSize: we need to take the current scroll
  5495. position into account when calculating the maximum canvas,
  5496. otherwise the following scenario will fail: resize so that the
  5497. scrollbars appear, use the scrollbars to scroll, resize again
  5498. smaller, and now the canvas size is too small. Recalculate: when
  5499. showing scrollbars make sure they start off at 0, and try to scroll
  5500. the active control into view. Fixes #79540. HandleScrollBar: don't
  5501. scroll anywhere if the scrollbar isn't visible.
  5502. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  5503. * ListView.cs: When focus changed, call Layout/Invalidate
  5504. in the focused item to update the selected state (should show
  5505. entire label when ListView is focused, and a part of it if is not).
  5506. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  5507. for displaying the entire label not only the Focused state of the
  5508. item, but also the Focused state of the ListView (match .Net
  5509. behaviour).
  5510. 2007-05-07 Jonathan Pobst <[email protected]>
  5511. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  5512. Implement UseWaitCursor.
  5513. 2007-05-07 Jonathan Pobst <[email protected]>
  5514. Applying contributed patch from Sergey Volk.
  5515. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  5516. of SetDataObject.
  5517. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  5518. 2007-05-07 Jonathan Pobst <[email protected]>
  5519. * Control.cs: Implement DrawToBitmap.
  5520. 2007-05-07 Jonathan Pobst <[email protected]>
  5521. Applying contributed patch from Stefan Noack.
  5522. * Control.cs: Add [Get|Set]AutoSizeMode.
  5523. 2007-05-07 Jonathan Pobst <[email protected]>
  5524. * MdiClient.cs: Unmerge menus when the last child is closed.
  5525. 2007-05-07 Jonathan Pobst <[email protected]>
  5526. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  5527. * ToolStripManager.cs: Call Merge on DropDowns.
  5528. [Fixes bug #81477]
  5529. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  5530. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  5531. uints.
  5532. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  5533. visibility. We can't create forms visible, since we have to set the
  5534. owner before making the form visible (otherwise Win32 will do
  5535. strange things with task bar icons). The problem is that we set the
  5536. internal is_visible to true before creating the control, so
  5537. is_changing_visible_state is the only way of determining if we're
  5538. in the process of creating the form due to setting Visible=true -
  5539. this works because SetVisibleCore explicitly makes the form
  5540. visibile afterwards anyways. Fixes #80775.
  5541. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  5542. * ThemeWin32Classic.cs: When drawing ListViewItems,
  5543. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  5544. or LargeIcon _and_ item is not focused (match .Net behaviour).
  5545. 2007-05-04 Jonathan Pobst <[email protected]>
  5546. * Control.cs, Form.cs: Fix some obsolete method warnings.
  5547. 2007-05-04 Jonathan Pobst <[email protected]>
  5548. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  5549. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  5550. 2007-05-04 Andreia Gaita <[email protected]>
  5551. * ContainerControl.cs: Fix active_control attribution when going
  5552. up the parent chain so that the first parent container gets the control
  5553. and the rest of the parent containers get the child containers (skips
  5554. non-containers). Fixes #80729
  5555. 2007-05-04 Randolph Chung <[email protected]>
  5556. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  5557. [Fixes bug #81499]
  5558. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  5559. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  5560. takes a size parameter, since the CreateParam's size isn't true for
  5561. minimized forms. Fixes #81518,
  5562. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  5563. * Form.cs: Add OnDeactivateInternal.
  5564. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  5565. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  5566. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  5567. accessing the parent. Fixes #81508.
  5568. 2007-05-03 Chris Toshok <[email protected]>
  5569. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  5570. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  5571. was added before the current listposition. Fixes the
  5572. TestInsertRowBeforeCurrent unit test.
  5573. 2007-05-03 Jonathan Pobst <[email protected]>
  5574. * Application.cs: Add RaiseIdle.
  5575. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5576. XplatUIX11.cs: Implement RaiseIdle.
  5577. 2007-05-02 Jonathan Pobst <[email protected]>
  5578. corcompare work: N - Z
  5579. * NotifyIcon.cs
  5580. * ProgressBar.cs
  5581. * RadionButton.cs
  5582. * ScrollableControl.cs
  5583. * SplitContainer.cs
  5584. * SplitterPanel.cs
  5585. * StatusBar.cs
  5586. * SystemInformation.cs
  5587. * TabControl.cs
  5588. * TableLayoutControlCollection.cs
  5589. * TableLayoutPanel.cs
  5590. * TabPage.cs
  5591. * ToolBar.cs
  5592. * ToolBarButton.cs
  5593. * ToolStrip.cs
  5594. * ToolStripComboBox.cs
  5595. * ToolStripContainer.cs
  5596. * ToolStripContentPanel.cs
  5597. * ToolStripDropDown.cs
  5598. * ToolStripDropDownItem.cs
  5599. * ToolStripDropDownMenu.cs
  5600. * ToolStripItem.cs
  5601. * ToolStripItemCollection.cs
  5602. * ToolStripMenuItem.cs
  5603. * ToolStripPanel.cs
  5604. * ToolStripSplitButton.cs
  5605. * ToolTip.cs
  5606. * TreeNode.cs
  5607. * TreeNodeCollection.cs
  5608. * TreeNodeMouseHoverEventArgs.cs
  5609. * TreeView.cs
  5610. 2007-05-01 Everaldo Canuto <[email protected]>
  5611. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  5612. stuff. Thanks aatdark for the patch.
  5613. 2007-05-01 Jonathan Pobst <[email protected]>
  5614. * GridItem.cs: Implement 2.0 Tag property.
  5615. 2007-05-01 Frederik Carlier <[email protected]>
  5616. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  5617. count instead of Nodes.Length. [Fixes bug #81448]
  5618. 2007-05-01 Jonathan Pobst <[email protected]>
  5619. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  5620. [Fixes bug #81506]
  5621. 2007-05-01 Jonathan Pobst <[email protected]>
  5622. corcompare work: A - M
  5623. * BindingNavigator.cs
  5624. * Button.cs
  5625. * ButtonBase.cs
  5626. * CheckBox.cs
  5627. * Control.cs
  5628. * FlowLayoutPanel.cs
  5629. * Form.cs
  5630. * Label.cs
  5631. * LinkLabel.cs
  5632. * ListView.cs
  5633. 2007-05-01 Jonathan Pobst <[email protected]>
  5634. * Application.cs: Give toolstrips a chance to process mnemonics.
  5635. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  5636. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  5637. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  5638. 2007-05-01 Jackson Harper <[email protected]>
  5639. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  5640. wider area too.
  5641. - Don't set the BoundsSpecified
  5642. 2007-04-30 Jonathan Pobst <[email protected]>
  5643. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  5644. message to pass through to a regular control if it hosted by a toolstrip.
  5645. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  5646. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  5647. 2007-04-30 Jonathan Pobst <[email protected]>
  5648. * TextRenderer.cs: Use the flags argument when using the MeasureString
  5649. fallback algorithm.
  5650. 2007-04-30 Jonathan Pobst <[email protected]>
  5651. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  5652. the MDI menu item. [Fixes bug #81483]
  5653. 2007-04-30 Gert Driesen <[email protected]>
  5654. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  5655. string. When setting Name to null, use zero-length string instead.
  5656. 2007-04-29 Andreia Gaita <[email protected]>
  5657. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  5658. DeselectTab). Implement missing 2.0 TabPageCollection methods
  5659. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  5660. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  5661. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  5662. 2007-04-29 Gert Driesen <[email protected]>
  5663. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  5664. Fixes bug #81479. Include details of exception when LoadFile fails.
  5665. 2007-04-28 Alan McGovern <[email protected]>
  5666. * DrawListViewSubItemEventArgs.cs: Added missing setter
  5667. 2007-04-27 Andreia Gaita <[email protected]>
  5668. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  5669. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  5670. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  5671. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  5672. removed in ly last commit (it was breaking the Label edit feature).
  5673. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  5674. StringAlignment.Near for LineAlignment (match .Net).
  5675. 2007-04-27 Andreia Gaita <[email protected]>
  5676. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  5677. of controls if it isn't already there - was blowing up when doing
  5678. tabcontrol.TabPages[i]=new TabPage().
  5679. SetTab now does a replace by removing the page at the index.
  5680. Add a new InsertTab method that inserts a page in a given index
  5681. instead of replacing.
  5682. Implements TabPageCollection.Insert(int, TabPage).
  5683. 2007-04-27 Chris Toshok <[email protected]>
  5684. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  5685. internal handler that can be invoked from our subclasses.) Also,
  5686. add a comment to PushData about how we need to fix it.
  5687. * CurrencyManager.cs: tons of changes here. trying to get things
  5688. matching the behavior of .net wrt event orders (ItemChanged,
  5689. CurrentChanged, PositionChanged.) I've implemented a private .net
  5690. symbol (ChangeRecordState) that appears in stack traces because
  5691. it's actually easier to do this than to effective inline all its
  5692. various behaviors at every call site.
  5693. * RelatedPropertyManager.cs: guard against an exception here by
  5694. not using parent.Current if the position is set to -1 (if the
  5695. parent datasource is cleared, for instance).
  5696. * Binding.cs: don't parse data in PushData (this might be wrong,
  5697. but it jives with MS's behavior.) Also, don't call PushData when
  5698. we get a CurrentChanged event.
  5699. 2007-04-27 Andreia Gaita <[email protected]>
  5700. * WebBrowser.cs,
  5701. WebBrowserBase.cs,
  5702. WebBrowserSiteBase.cs,
  5703. HtmlDocument.cs: Added stubbed out classes, no real implementations
  5704. yet.
  5705. 2007-04-27 Everaldo Canuto <[email protected]>
  5706. * MainMenu.cs: In draw method without parameters call draw method with
  5707. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  5708. as Rect property is already adjusted. Fixes #80694.
  5709. 2007-04-27 Jonathan Pobst <[email protected]>
  5710. * Application.cs: Need to handle keyboard menu deselection here.
  5711. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  5712. navigation, allowing keyboard to work on X11.
  5713. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  5714. 2007-04-27 Everaldo Canuto <[email protected]>
  5715. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  5716. menu bar. It fixes some drawing issues in menu bar.
  5717. 2007-04-27 Everaldo Canuto <[email protected]>
  5718. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  5719. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  5720. when <alt> key is pressed.
  5721. 2007-04-26 Everaldo Canuto <[email protected]>
  5722. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  5723. example just set visible to false and make this prevent from other problems.
  5724. In SystrayAdd always remove pending expose. Fixes #81072.
  5725. 2007-04-26 Marek Safar <[email protected]>
  5726. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  5727. value is set.
  5728. 2007-04-26 Alan McGovern <[email protected]>
  5729. * ListView.cs: Added three missing 2.0 events and corresponding
  5730. EventHandlers. Added the OwnerDraw property.
  5731. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  5732. 2007-04-26 Alan McGovern <[email protected]>
  5733. * DrawListViewItemEventArgs.cs
  5734. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  5735. 2007-04-26 Alan McGovern <[email protected]>
  5736. * TextControl.cs: Fixed typo in constructor
  5737. 2007-04-26 Jonathan Pobst <[email protected]>
  5738. * Application.cs: Create a shortcut path so that currently selected
  5739. MenuStrips can intercept keyboard events without having focus.
  5740. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  5741. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  5742. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  5743. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  5744. generate WM_SYSCOMMAND message in X11 for other platforms.
  5745. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  5746. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  5747. * ToolStripSplitButton.cs: Add DefaultItem property.
  5748. 2007-04-26 Everaldo Canuto <[email protected]>
  5749. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  5750. fixes some menu draw problem on Windows with border diferent from default
  5751. it also fixes #81403.
  5752. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  5753. * Form.cs: Refactor WndProc into separate methods, just like Control is
  5754. doing it.
  5755. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  5756. * Control.cs: set_Text: move the call to the driver into a seperate
  5757. virtual method so that Form can override it.
  5758. * MaskedTextBox.cs: Corcompare fixes.
  5759. * Form.cs: Override UpdateWindowText and only update the styles if the
  5760. form has been shown (fixes #81405).
  5761. 2007-04-25 Jonathan Pobst <[email protected]>
  5762. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  5763. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  5764. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  5765. the form lost focus or another control was clicked.
  5766. 2007-04-25 Gert Driesen <[email protected]>
  5767. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  5768. fixed.
  5769. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  5770. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  5771. DrawListViewItemEventHandler.cs,
  5772. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  5773. Added.
  5774. * X11Structs.cs: More ToString implementation.
  5775. 2007-04-25 Jonathan Pobst <[email protected]>
  5776. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  5777. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  5778. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  5779. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  5780. handle.
  5781. * FormCollection.cs: Don't add a form if it's already in the
  5782. collection.
  5783. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  5784. according to behaviour and MSDN. The ownerWin32 is the active
  5785. window at the moment when we call ShowDialog, not the context's
  5786. main form (the context's main form may open another form that opens
  5787. a form with ShowDialog, the win32 owner is the second form). Add
  5788. and remove forms to the Application.OpenForms in other places to
  5789. better match MS behaviour. Add an IsActive property that raises
  5790. On(de)Activated only if the active state has changed (we were
  5791. raising OnDeactivated before OnActivated while creating forms).
  5792. * Application.cs: Refactor Enabling/Disabling of windows for modal
  5793. dialog loops out to separate methods, and restore the thread
  5794. context when we quit the method. Fixes #81407.
  5795. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  5796. * ListView.cs: In ItemControl.HandleClicks, also fire
  5797. 2.0 MouseClick or MouseDoubleClick events on the parent,
  5798. not only the Click/DoubleClick events.
  5799. 2007-04-24 Andreia Gaita <[email protected]>
  5800. * TableLayoutSettings.cs:
  5801. - Added a GetControls method and a support structure to help the
  5802. TypeConverter to enumerate the controls for serialization.
  5803. - Added a new serialization constructor.
  5804. - Added a isSerialized flag initialized to true on the
  5805. serialization constructor so that the TableLayoutPanel.LayoutSettings
  5806. setter does not throw the designed NotSupportedOperation exception
  5807. when the object is built through deserialization.
  5808. - Implemented GetObjectData
  5809. * TableLayoutPanel.cs: Added check on LayoutSettings.
  5810. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  5811. * ListView.cs: Report Click and DoubleClick events to the parent
  5812. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  5813. from breaking the click count state when using dialog forms (Control
  5814. reports the clicks in a similar fashion). In the previous behaviour
  5815. the last WM_LBUTTONUP message in a double click was sent to the
  5816. ListView's form, instead of the ListView, which was breaking the click
  5817. count for it. Fixes #80387.
  5818. 2007-04-24 Alan McGovern <[email protected]>
  5819. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  5820. 2007-04-24 Jonathan Pobst <[email protected]>
  5821. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  5822. us from created dropdowns for menu items that do not have subitems.
  5823. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  5824. Check HasDropDownItems before calling DropDown so a dropdown will not be
  5825. created if it isn't needed.
  5826. 2007-04-24 Jackson Harper <[email protected]>
  5827. * TreeView.cs: Set the first node to the selected node when we get
  5828. focus if there is no selected node.
  5829. 2007-04-24 Andreia Gaita <[email protected]>
  5830. * MimeIcon.cs: remove using blocks so that image streams are
  5831. not disposed of. Fixes #80151
  5832. 2007-04-24 Jackson Harper <[email protected]>
  5833. * TextBoxBase.cs: Fixup the height of textboxes when the control
  5834. is created.
  5835. 2007-04-24 Jonathan Pobst <[email protected]>
  5836. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  5837. for each ToolStripItem when the parent's RightToLeftChanged is called.
  5838. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5839. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  5840. Fixes #80163.
  5841. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  5842. property, so that the setter can be overriden too.
  5843. * TextBox.cs: Change GetContextMenuInternal() to use
  5844. ContextMenuInternal.
  5845. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5846. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  5847. #81406.
  5848. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5849. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  5850. #81406.
  5851. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  5852. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  5853. avoid duplicate work. Mostily skeleton code, it's not working at
  5854. all yet.
  5855. 2007-04-20 Leszek Ciesielski <[email protected]>
  5856. * NotifyIcon.cs : stub for MouseClick event
  5857. * Application.cs: stub for SetUnhandledExceptionMode
  5858. 2007-04-24 Alan McGovern <[email protected]>
  5859. * BindingNavigator.cs : Initial (partial) implementation
  5860. 2007-04-23 Jackson Harper <[email protected]>
  5861. * TreeView.cs: Do not create the treeview's handle when setting
  5862. the scroll position.
  5863. - ExpandAll needs to compute the scrollbars so it knows which
  5864. position to set the bar too.
  5865. * TreeNode.cs:
  5866. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  5867. 2007-04-23 Jackson Harper <[email protected]>
  5868. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  5869. key. Fixes #81408.
  5870. 2007-04-23 Jonathan Pobst <[email protected]>
  5871. * ToolStripItem.cs: Make GetImageSize internal.
  5872. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  5873. need to draw an item. Fixes a reported issue where images on menus
  5874. that were not 16x16 were drawing incorrectly.
  5875. 2007-04-21 Miguel de Icaza <[email protected]>
  5876. * Padding.cs: Use the converter, fixes the resgen2 issue with
  5877. XMLNotePad.
  5878. 2007-04-21 Jackson Harper <[email protected]>
  5879. * TreeView.cs: Dont try to unhighlight the selected node if there
  5880. isn't a selected node.
  5881. 2007-04-21 Jackson Harper <[email protected]>
  5882. * UpDownBase.cs:
  5883. * TextBoxBase.cs:
  5884. * ListView.cs:
  5885. * ListBox.cs:
  5886. * TreeView.cs: Use the InternalBorderStyle property to set the
  5887. initial border style, this forces the client rectangle to be sized
  5888. correctly.
  5889. 2007-04-20 Jackson Harper <[email protected]>
  5890. * TreeView.cs: Simplify scrolling to the last node after expanding
  5891. all.
  5892. - Fix some off by ones with setting the bottom.
  5893. 2007-04-20 Jonathan Pobst <[email protected]>
  5894. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  5895. that. We were incorrectly doing it the other way around. Also,
  5896. update ClientSize if we change the BorderStyle before the control
  5897. is created.
  5898. 2007-04-20 Gert Driesen <[email protected]>
  5899. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  5900. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  5901. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  5902. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  5903. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  5904. Caption to CaptionHeight.
  5905. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  5906. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  5907. and FixedFrameBorderSize to return value from current XplatUI driver.
  5908. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  5909. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  5910. and FixedFrameBorderSize using win32 API. Renamed Caption to
  5911. CaptionHeight.
  5912. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  5913. * SystemInformation.cs: Fixed typo in BorderSize.
  5914. 2007-04-20 Gert Driesen <[email protected]>
  5915. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  5916. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  5917. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  5918. returning false.
  5919. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  5920. value from XplatUI driver.
  5921. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  5922. SystemParametersInfo.
  5923. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  5924. override.
  5925. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  5926. returning false.
  5927. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  5928. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  5929. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  5930. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  5931. 2007-04-20 Jonathan Pobst <[email protected]>
  5932. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  5933. MenuStrips that contain ToolStripSeparators.
  5934. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  5935. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  5936. DefineStdCursorBitmap.
  5937. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  5938. has been created off a standard cursor. This is used to get a
  5939. bitmap of the standard cursor when Draw or DrawStretched is called
  5940. in order to draw the cursor.
  5941. * X11Structs.cs: Added XcursorImage and XcursorImages.
  5942. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  5943. DefineStdCursorBitmap.
  5944. * Cursors.cs: Update all relevant creations of Cursor to use the new
  5945. internal constructor.
  5946. 2007-04-19 Jackson Harper <[email protected]>
  5947. * TextBox.cs: Move the has_been_focused into the base control, so
  5948. some of the text adding methods can manipulate it (probably time
  5949. for a better name for this flag too).
  5950. - Call a new version of selectall that doesn't scroll
  5951. * TextBoxBase.cs: When we append text, if the document is empty,
  5952. don't scroll. If the document has text already, we scroll to the
  5953. end of the appended text.
  5954. - When the text is changed, we reset the has_been_focused, so the
  5955. next time the control gets focused, all the text is selected.
  5956. 2007-04-19 Jackson Harper <[email protected]>
  5957. * TextControl.cs: Move the margins to the document, add a method
  5958. so the margin sizes can be updated.
  5959. * TextBoxBase.cs: When the border style is changed, update the
  5960. border sizes.
  5961. 2007-04-19 Jonathan Pobst <[email protected]>
  5962. * Control.cs: Respect DefaultPadding.
  5963. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  5964. padding into account.
  5965. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  5966. 2007-04-19 Jackson Harper <[email protected]>
  5967. * TextControl.cs: Oops, we need to use the ClientRect not the
  5968. bounds here.
  5969. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  5970. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  5971. account the double clicks when CheckBoxes are used and
  5972. the pointer is inside the checkbox. Fixes part of #81191.
  5973. 2007-04-18 Jackson Harper <[email protected]>
  5974. * TextControl.cs: Pressing the end key shouldn't move the caret
  5975. past the line ending.
  5976. * TextBoxBase.cs: We can still delete if we are in the line
  5977. ending and the combine will just kill the existing line ending.
  5978. 2007-04-18 Jackson Harper <[email protected]>
  5979. * TextControl.cs: We can't move lines, then invalidate their
  5980. bounds, we need to get the old bounds and combine that with the
  5981. new bounds.
  5982. * TextBoxBase.cs: Before combining two lines for a delete, we need
  5983. to invalidate the area of the old line, since that will be moved
  5984. in the combine operation.
  5985. 2007-04-18 Everaldo Canuto <[email protected]>
  5986. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  5987. with transparent background. Fixes #80482.
  5988. 2007-04-18 Jonathan Pobst <[email protected]>
  5989. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  5990. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  5991. [Fixes bug #81391]
  5992. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  5993. * CreateParams.cs: Add a couple of helper methods and do a less string
  5994. concatenation in ToString.
  5995. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  5996. overload that takes a Control parameter, since this method may be
  5997. called before a control is assigned to the hwnd (from
  5998. CreateWindow), and update CreateWindow to use the new overload. In
  5999. GetMenuOrigin subtract the title bar from the y position if the
  6000. form has a window manager (since we're painting it and not X).
  6001. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  6002. CreateParams to calculate the origin (since border sizes may vary).
  6003. In ScreenToMenu only subtract the title height if we actually have
  6004. a title.
  6005. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  6006. mdi children never have menus of themselves.
  6007. * InternalWindowManager.cs: Implement menu handling like form does.
  6008. Added GetMenuOrigin to calculate the menu origin, can't use the
  6009. CreateParams from the form like normally since it's lying.
  6010. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  6011. windows-like) and add Inflate and comparison operators to the
  6012. Borders type. When calculating MenuOrigin and it's a form with a
  6013. window manager, use the window manager to calculate it.
  6014. 2007-04-17 Chris Toshok <[email protected]>
  6015. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  6016. OnBindingContextChanged thing here. It's only generated from
  6017. ContainerControl.OnCreateControl. Fixes a newly written unit test
  6018. - BindingTest.BindingContextChangedTest4.
  6019. 2007-04-17 Jackson Harper <[email protected]>
  6020. * ScrollBar.cs: When setting values, make sure the current
  6021. position stays within the new values range.
  6022. 2007-04-17 Chris Toshok <[email protected]>
  6023. * Control.cs (CreateControl): talk about a bizarre corner case.
  6024. Don't emit OnBindingContextChanged here if we're a parentless
  6025. control (i.e. if we're a form.). Fixes
  6026. BindingTest.BindingContextChangedTest2.
  6027. 2007-04-17 Everaldo Canuto <[email protected]>
  6028. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  6029. from win32. Fixes #81255.
  6030. 2007-04-17 Everaldo Canuto <[email protected]>
  6031. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  6032. already present in CalculateButtonTextAndImageLayout.
  6033. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  6034. * XplatUIX11.cs: When setting min/max size for a window we need to
  6035. translate the coordinates to x coordinates. Create an overload of
  6036. SetWindowMinMax that takes a CreateParams handling this, and change
  6037. SetWMStyles to call this function (can't use Control.FromHandle in
  6038. the SetWindowMinMax to get the control/CreateParams from the handle
  6039. because the handle might not have been assigned to the control
  6040. yet). Fixes #81371.
  6041. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  6042. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  6043. if StateImageList is non-null and it has less than two items (match MS
  6044. behaviour). Also, in HandleNavKeys handle the Space key, calling
  6045. the new ToggleItemsCheckState method, which tries to change the
  6046. checked state of the selected items. Fixes part of #81191.
  6047. 2007-04-16 Jackson Harper <[email protected]>
  6048. * RichTextBox.cs: namespace cleanup.
  6049. 2007-04-16 Everaldo Canuto <[email protected]>
  6050. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  6051. 2007-04-16 Everaldo Canuto <[email protected]>
  6052. [Fixes #79447]
  6053. * Control.cs: Call invalidate in set_Region.
  6054. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  6055. it dont works here.
  6056. 2007-04-16 Jackson Harper <[email protected]>
  6057. * TextBoxBase.cs: When enter is pressed, we need to update all
  6058. lines below the current.
  6059. 2007-04-16 Jonathan Pobst <[email protected]>
  6060. * MdiClient.cs: Implement implicit menu merging for MDI
  6061. children. When a child form is active, if it has a menustrip
  6062. and the parent form has a MainMenuStrip, automatically merge
  6063. the menus.
  6064. 2007-04-15 Andreia Gaita <[email protected]>
  6065. * TabControl.cs: Refactored sizing methods to not repeat
  6066. code all over the place. Tab bounds are now calculated
  6067. as if alignment is top and single line, and only when
  6068. setting the bounds are the positions adjusted according
  6069. to alignment. Replaced hardcoded positions, spacings and
  6070. paddings by getting the values the ThemeEngine.
  6071. Fixes #79619.
  6072. * Theme.cs: Change TabControl properties and methods so
  6073. that all start with TabControl*. Added more properties
  6074. to help remove hardcoded values on tabcontrol.
  6075. Add CPDrawBorder3D declaration so the Theming classes
  6076. can access it.
  6077. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  6078. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  6079. on the Theming namespace, and call the appropriate methods here.
  6080. Change CPDrawBorder3D to public.
  6081. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  6082. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  6083. the control after firing the OnMouseUp event, instead of sending
  6084. the message before the mentioned event. This is so we can match the
  6085. MS behaviour. Fixes part of #80385.
  6086. 2007-04-13 Jonathan Pobst <[email protected]>
  6087. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  6088. RightToLeft property.
  6089. 2007-04-13 Jonathan Pobst <[email protected]>
  6090. * ToolStrip.cs: Add properties and internal methods to support merging.
  6091. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  6092. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  6093. not trigger reparenting or layouts.
  6094. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  6095. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  6096. is hosting the overflow menu.
  6097. 2007-04-13 Jackson Harper <[email protected]>
  6098. * TextControl.cs: Set the line ending correctly for the first
  6099. inserted line.
  6100. 2007-04-13 Sebastien Pouliot <[email protected]>
  6101. * Theme.cs: Update GetMethod to get the new definition for
  6102. KnownColors.Update (and fix theme color updates).
  6103. 2007-04-12 Everaldo Canuto <[email protected]>
  6104. * MessageBox.cs: Fix some test and button position.
  6105. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  6106. * Form.cs: Consider the implicit controls in
  6107. GetRealChildAtPoint. We need it since this method
  6108. is called on Form when handling the some messages in
  6109. WndProc, and need to consider those implicit ones too.
  6110. Fixes #80385.
  6111. 2007-04-12 Jonathan Pobst <[email protected]>
  6112. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  6113. if there are no ShortcutKeys set.
  6114. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  6115. set, use it when painting.
  6116. 2007-04-12 Jackson Harper <[email protected]>
  6117. * TextControl.cs: Fix some off-by-one issues in line duplication
  6118. and insertion in the undo manager. Also, overwrite the first tag
  6119. of a line on insert, if it is just a zero lengthed tag. This
  6120. prevents us from getting an extra stranded tag at the beginning of
  6121. the first line.
  6122. 2007-04-11 Everaldo Canuto <[email protected]>
  6123. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  6124. to calculated proper size including when handle was not created yet.
  6125. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  6126. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  6127. when the mouse is outside of it's parent's client rectangle. Fixes
  6128. #79982 (take 3, part 2).
  6129. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  6130. * X11Structs.cs: Add a few ToString() overrides.
  6131. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  6132. the window location in a window-manager independent way. Reworked
  6133. FrameExtents, it now actually works. Reworked AddConfigureNotify
  6134. and ReparentNotify handling to use GetTopLevelWindowLocation
  6135. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  6136. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  6137. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  6138. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  6139. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  6140. and generally refactored to do as few calculations as possible
  6141. inside the lock.
  6142. 2007-04-09 Sebastien Pouliot <[email protected]>
  6143. * Theme.cs: Change "reflective-contract" between MWF and SD to
  6144. minimize # of calls, avoid Color serialization and avoid updating
  6145. every "known colors" each time a single one is updated.
  6146. 2007-04-09 Gert Driesen <[email protected]>
  6147. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  6148. when not readonly and the text is explicitly set. Code style updates.
  6149. * DataGridTableStyle.cs: Removed extra line.
  6150. * DataGrid.cs: Code style updates. Removed extra whitespace.
  6151. * DataGridColumnStyle.cs: Code style updates. Removed extra
  6152. whitespace.
  6153. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  6154. * XplatUIX11.cs: Added comment that "fixes" #80021.
  6155. 2007-04-09 Jackson Harper <[email protected]>
  6156. * TextControl.cs: We don't need this -1 on the line count anymore.
  6157. 2007-04-09 Gert Driesen <[email protected]>
  6158. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  6159. entered value to underlying type, and convert it back to a string to
  6160. apply formatting. Modified GetFormattedValue to use TypeConverter
  6161. if available.
  6162. 2007-04-08 Gert Driesen <[email protected]>
  6163. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  6164. Use SubItems property when we want to ensure there's at least one
  6165. subitem. Modified SubItems property to ensure there's always at least
  6166. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  6167. the NRE's reported by MS.
  6168. 2007-04-07 Gert Driesen <[email protected]>
  6169. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  6170. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  6171. Spaces to tabs. Removed extra tabs.
  6172. 2007-04-06 Jonathan Pobst <[email protected]>
  6173. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  6174. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  6175. 2007-04-06 Jackson Harper <[email protected]>
  6176. * TextBoxBase.cs: When a delete removes a line, recalculate all
  6177. lines below that line (they need to get offsets setup correctly)
  6178. and invalidate.
  6179. 2007-04-05 Jackson Harper <[email protected]>
  6180. * TextControl.cs: We need to invalidate across the width of the
  6181. document when we are invalidating multiple lines.
  6182. * TextBoxBase.cs: Don't delete into the line ending.
  6183. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  6184. * ListView.cs: Restore the check for the MouseHover event
  6185. in ListView. It looks like the ListView fires more than one MouseHover
  6186. event when HoverSelection is true _only_ in weird-corner scenarios, but
  6187. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  6188. event.
  6189. 2007-04-05 Mike Kestner <[email protected]>
  6190. * ListView.cs : raise MouseDown before updating selection.
  6191. [Fixes #80373 tab 1&3]
  6192. 2007-04-05 Jonathan Pobst <[email protected]>
  6193. * ToolStripRenderer.cs: Add static method to mirror image.
  6194. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  6195. and RightToLeftAutoMirrorImage.
  6196. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  6197. 2007-04-05 Jonathan Pobst <[email protected]>
  6198. * ToolStripSplitStackLayout.cs: Support Alignment property.
  6199. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  6200. 2007-04-05 Jackson Harper <[email protected]>
  6201. * TextControl.cs: Move around the line endings when crossing line
  6202. boundaries.
  6203. - When combining lines, strip the ending text off the first line.
  6204. 2007-04-05 Jackson Harper <[email protected]>
  6205. * TextControl.cs:
  6206. * TextBoxBase.cs: Try to never move the cursor into the line
  6207. ending.
  6208. 2007-04-04 Jonathan Pobst <[email protected]>
  6209. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  6210. the item is disabled. Also add a few missing methods.
  6211. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  6212. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  6213. to fire just one MouseHover event when HoverSelection is true, since
  6214. .Net does fire more than one MouseHover event in that scenario. Also,
  6215. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  6216. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  6217. Finally, we need to reset the Hover logic in MouseMove, even when we
  6218. don't have a selected item.
  6219. 2007-04-04 Jonathan Pobst <[email protected]>
  6220. * ToolStrip.cs: Add several missing methods, properties, and events.
  6221. 2007-04-04 Chris Toshok <[email protected]>
  6222. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  6223. (0,0,0,0) in Commit, as MS does.
  6224. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  6225. make sure we set CurrentRow on a row header click *before* calling
  6226. Select. This moves the current cell (and the textbox) to the new
  6227. row. The call to Select then hides the textbox, giving us the
  6228. correct behavior. Fixes #80362.
  6229. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  6230. (ListChangedHandler): reorder the position/current changed events,
  6231. and call UpdateIsBinding in the ItemAdded case.
  6232. * GridColumnStylesCollection.cs: add some columns events, one of
  6233. which raises the CollectionChanged event.
  6234. 2007-04-04 Jackson Harper <[email protected]>
  6235. * TextControl.cs: When we delete multiple selection lines
  6236. invalidate the selection area, don't need to do that for single
  6237. lines because the final update view will handle it.
  6238. 2007-04-04 Jonathan Pobst <[email protected]>
  6239. * Control.cs: When we CreateControl, we need to also create all of the
  6240. control's children. The child's OnLoad must also fire before the parent's
  6241. OnLoad. Fixes the toolbox size in PDN.
  6242. 2007-04-04 Jackson Harper <[email protected]>
  6243. * TextBoxBase.cs: When the user presses enter, insert a line
  6244. ending into the text. (Maybe this would be a good spot for
  6245. Environment.NewLine).
  6246. * TextControl.cs: Remove undo manager hack, line endings get
  6247. inserted properly now.
  6248. 2007-04-04 Everaldo Canuto <[email protected]>
  6249. * MenuAPI.cs:
  6250. - Remove unneeded parameters in UpdateCursor.
  6251. - Fix UpdateCursor to check if menu is active.
  6252. - Call UpdateCursor when menu deactivate my click.
  6253. [Fixes remaining issues from #80410]
  6254. 2007-04-04 Everaldo Canuto <[email protected]>
  6255. * Control.cs: GetRealChildAtPoint method added, it make an
  6256. recursive child control search for the point.
  6257. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  6258. menu.
  6259. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  6260. 2007-04-03 Everaldo Canuto <[email protected]>
  6261. * Form.cs: Fix mouse position when send back mouse event after closes
  6262. menu.
  6263. 2007-04-03 Everaldo Canuto <[email protected]>
  6264. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  6265. 2007-04-03 Jonathan Pobst <[email protected]>
  6266. * Control.cs: Fix an issue where if a user resized a control inside
  6267. a sizing method like OnResize, we would overwrite their explicit
  6268. value. Also, only call DefaultSize once in the constructor instead
  6269. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  6270. nothing actually changed.
  6271. 2007-04-03 Jackson Harper <[email protected]>
  6272. * TextControl.cs: Don't attempt to copy text for lines with no
  6273. text in them (technically this shouldn't happen, but we aren't
  6274. always inserting line endings when we should be).
  6275. 2007-04-03 Jackson Harper <[email protected]>
  6276. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  6277. document, because this sets some of the document size properties
  6278. that are needed.
  6279. 2007-04-03 Jackson Harper <[email protected]>
  6280. * TextBoxBase.cs: We need to calculate maximums even if this is
  6281. not a multiline control, because the maxs are used for scrolling.
  6282. - Display the caret after doing a page up/down, we need to
  6283. manually display it because a proper CaretMoved event isn't
  6284. triggered (this is because of the way the math is done to
  6285. determine how far to scroll).
  6286. 2007-04-03 Jonathan Pobst <[email protected]>
  6287. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  6288. (ToolBar was relying on SetBoundsCore to default the values sent
  6289. base off of BoundsSpecified.)
  6290. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6291. * DateTimePicker.cs: Change Text so that when a null value or empty
  6292. string is assigned to the test we always raise ValueChanged and
  6293. TextChanged (earlier implementation would only raise ValueChanged
  6294. if the current date value was different from DateTime.Now).
  6295. 2007-04-03 Andreia Gaita <[email protected]>
  6296. * ButtonBase: Call update after invalidation, fixes #80194
  6297. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6298. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  6299. #79335.
  6300. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6301. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  6302. FormBorderStyle = None, don't give the window any decorations.
  6303. Fixes #81276.
  6304. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  6305. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  6306. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  6307. to check for is a mix of several styles (such as WS_CAPTION for
  6308. instance).
  6309. * Control.cs: Don't paint an area bigger than the client area when
  6310. painting the background colour. Add an internal GetCreateParams.
  6311. Update calls to XplatUI.CalculateWindowRect due to API change.
  6312. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  6313. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  6314. the size if it hasn't been handled by any windows. When creating
  6315. and moving windows, X wants the location of the entire window, but
  6316. the size of the client window, so add
  6317. TranslateClientRectangleToXClientRectangle,
  6318. TranslateWindowSizeToXWindowSIze and
  6319. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  6320. before every window creation and move. Update CalculateWIndowRect
  6321. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  6322. In AddConfigureNotify don't do anything if the hwnd is a zombie
  6323. (fixes the BadWindow we were getting while running the tests),
  6324. always calculate the offsets when it's a parentless window, not
  6325. only when reparented, and translate the window size, since we're
  6326. getting the client size of the whole window, excluding entire
  6327. window.
  6328. * Theme.cs: Added BorderSizableSize.
  6329. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  6330. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  6331. chang
  6332. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  6333. change. Fake the window styles here instead of in XplatUIWin32 so
  6334. that all back-ends get the same window styles (and it's Form that's
  6335. deciding when to use wm, not the Win32 backend anyways)
  6336. * Hwnd.cs: Completely reworked GetWindowRectangle and
  6337. GetClientRectangle - they are now passed a CreateParams and they
  6338. only use Style and ExStyle to determine the rectangles (they should
  6339. now work just like Win32AdjustWindowRectEx - though quite a few
  6340. special cases are probably missing). They should also be 100%
  6341. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  6342. == rect), and all numbers (borders, menu sizes) are taken from the
  6343. current theme. Added a GetBorders helper function that will return
  6344. the borders for any given CreateParams (including captions and
  6345. menus), and GetBorderSize that returns the given border size only.
  6346. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  6347. Hwnd.GetClientRectangle.
  6348. 2007-04-02 Chris Toshok <[email protected]>
  6349. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  6350. logic between the values we present to the user and the values
  6351. which are stored in the column's property. Also, don't call
  6352. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  6353. 2007-04-02 Jackson Harper <[email protected]>
  6354. * TextBoxBase.cs: Scroll faster!
  6355. 2007-04-02 Jonathan Pobst <[email protected]>
  6356. * StatusStrip.cs: Layout fixes for PDN.
  6357. * ToolStrip.cs: Set item's available to true, and placement to main when
  6358. added.
  6359. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  6360. changing in setter before doing any work, add InternalVisible.
  6361. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  6362. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  6363. infinite loop.
  6364. 2007-04-02 Jackson Harper <[email protected]>
  6365. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  6366. text on focus.
  6367. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  6368. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  6369. Makes ToolStripComboBoxes show up again.
  6370. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  6371. * ListView.cs: Add a hover_pending field in ListView
  6372. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  6373. cycle (we are resetting the MouseHover logic in XplatUI
  6374. to handle HoverSelection). Fixes #80429.
  6375. 2007-04-02 Jackson Harper <[email protected]>
  6376. * TextControl.cs: Make sure the attributes get set on the last
  6377. tag.
  6378. - Still have to do the end tag if we have stepped all the ways to
  6379. the end.
  6380. 2007-04-02 Sebastien Pouliot <[email protected]>
  6381. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  6382. on an internal libgdiplus call when the information is already
  6383. available via the public API.
  6384. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  6385. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  6386. control is removed from a control collecftion.
  6387. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  6388. Fixes FormPropertyTest (failed on rare occasions).
  6389. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  6390. of Win32SetParent (when changing from no parent to a parent it
  6391. might add the new parent's location in screen coordinates to this
  6392. window's location).
  6393. * Form.cs: Rework ChangingParent once again, now the handle is
  6394. recreated whenever a FormWindowManager is added or removed (that is
  6395. whenever a normal form is parented or abandoned). Also change
  6396. CreateParams so that all non-toplevel windows always get the
  6397. specified sice (StartupPosition is never considered for
  6398. non-TopLevel forms).
  6399. * ContainerControl.cs: Add ChildControlRemoved, the container control
  6400. needs to be notified when a control is removed from it's
  6401. collection, in the case the removed control is the active control.
  6402. 2007-04-02 Jackson Harper <[email protected]>
  6403. * RichTextBox.cs: Use the new methods for setting the font and
  6404. color, these methods set the specified attribute without
  6405. overriding the other attributes.
  6406. 2007-04-02 Jonathan Pobst <[email protected]>
  6407. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  6408. 2007-03-31 Gert Driesen <[email protected]>
  6409. * TextBox.cs: Added internal ChangeBackColor method to special-case
  6410. Color.Empty. Added check for invalid ScrollBars value.
  6411. * TextBoxBase.cs: Added internal ChangeBackColor method.
  6412. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  6413. internal ChangeBackColor method to special-case Color.Empty. Added
  6414. check for invalid ScrollBars value.
  6415. 2007-03-30 Everaldo Canuto <[email protected]>
  6416. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  6417. 2007-03-30 Jonathan Pobst <[email protected]>
  6418. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  6419. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  6420. [Based on submitted patch from Olivier Duff.]
  6421. 2007-03-30 Jackson Harper <[email protected]>
  6422. * TextBox.cs: Only select all on initial focus if the user has not
  6423. specified a selection area.
  6424. 2007-03-30 Jonathan Pobst <[email protected]>
  6425. * UserControl.cs: Override CreateParams.
  6426. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  6427. [ Fixes #80995 ]
  6428. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  6429. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  6430. check for is a mix of several styles (such as WS_CAPTION for instance).
  6431. * Control.cs: Don't paint an area bigger than the client area when painting
  6432. the background colour. Add an internal GetCreateParams. Update calls to
  6433. XplatUI.CalculateWindowRect due to API change.
  6434. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  6435. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  6436. hasn't been handled by any windows. When creating and moving windows, X
  6437. wants the location of the entire window, but the size of the client
  6438. window, so add TranslateClientRectangleToXClientRectangle,
  6439. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  6440. to cope with this, and call them before every window creation and move.
  6441. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  6442. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  6443. hwnd is a zombie (fixes the BadWindow we were getting while running the
  6444. tests), always calculate the offsets when it's a parentless window, not
  6445. only when reparented, and translate the window size, since we're getting
  6446. the client size of the whole window, excluding entire window.
  6447. * Theme.cs: Added BorderSizableSize.
  6448. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  6449. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  6450. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  6451. Fake the window styles here instead of in XplatUIWin32 so that all
  6452. back-ends get the same window styles (and it's Form that's deciding when
  6453. to use wm, not the Win32 backend anyways)
  6454. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  6455. they are now passed a CreateParams and they only use Style and ExStyle
  6456. to determine the rectangles (they should now work just like
  6457. Win32AdjustWindowRectEx - though quite a few special cases are probably
  6458. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  6459. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  6460. sizes) are taken from the current theme. Added a GetBorders helper
  6461. function that will return the borders for any given CreateParams
  6462. (including captions and menus), and GetBorderSize that returns the given
  6463. border size only.
  6464. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  6465. Hwnd.GetClientRectangle.
  6466. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  6467. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  6468. layout of the mdi children is handled by CreateParams. Fixes
  6469. #79964,
  6470. 2007-03-29 Everaldo Canuto <[email protected]>
  6471. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  6472. processed.
  6473. * Form.cs: When active tracker mouse down is not processed, send event
  6474. back to control inside mouse position. [Fixes #81227]
  6475. 2007-03-29 Jonathan Pobst <[email protected]>
  6476. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  6477. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  6478. stealing focus from the active form on Windows. (Control will be made
  6479. visible in ShowWindow.)
  6480. 2007-03-29 Mike Kestner <[email protected]>
  6481. * ImageList.cs : add internal Changed event.
  6482. * ListView.cs : hook up to StateImageList.Changed to perform
  6483. invalidations when the the state icon list changes. [Fixes #81191]
  6484. 2007-03-29 Jonathan Pobst <[email protected]>
  6485. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  6486. to prevent tooltips from stealing focus from the active form on Windows.
  6487. 2007-03-29 Everaldo Canuto <[email protected]>
  6488. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  6489. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  6490. 2007-03-29 Everaldo Canuto <[email protected]>
  6491. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  6492. balloons.
  6493. 2007-03-29 Jackson Harper <[email protected]>
  6494. * TextControl.cs: When deleting text from non multiline textboxes,
  6495. we need to update the entire document, because line offsets will
  6496. be shifting.
  6497. 2007-03-29 Everaldo Canuto <[email protected]>
  6498. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  6499. added to theme, now we can create themes that uses diferent notify engines
  6500. like notification-daemon from galago project or growl for Mac OS.
  6501. 2007-03-28 Everaldo Canuto <[email protected]>
  6502. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  6503. 2007-03-28 Everaldo Canuto <[email protected]>
  6504. * XplatUIX11.cs: Prevent system to open more than one balloon.
  6505. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  6506. some compiler warning messages.
  6507. 2007-03-28 Everaldo Canuto <[email protected]>
  6508. [Fixes #79149]
  6509. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  6510. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  6511. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  6512. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  6513. systems.
  6514. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  6515. * ListViewItem.cs: Forgot to make Invalidate internal.
  6516. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  6517. * ListView.cs: Add a InvalidateSelection method to
  6518. invalidate methods which are currently selected, and call
  6519. it when setting FullRowSelect and HideSelection, instead of
  6520. calling Redraw.
  6521. 2007-03-28 Chris Toshok <[email protected]>
  6522. * XplatUIX11.cs (UnmapWindow): reindent this block.
  6523. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  6524. the selection_start if we're moving the selection (that is, not
  6525. extending it). Fixes bug #80461.
  6526. 2007-03-28 Jonathan Pobst <[email protected]>
  6527. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  6528. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  6529. create private ControlCollection.
  6530. 2007-03-28 Jonathan Pobst <[email protected]>
  6531. * Control.cs: We need to call OnVisibleChanged for our implicit
  6532. children as well as our normal children. Fixes scrollbars in
  6533. comboboxes not showing up.
  6534. 2007-03-28 Jonathan Pobst <[email protected]>
  6535. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  6536. the check for IsHandleCreated first. The check in CreateHandle is not
  6537. good enough because CreateHandle can be overriden, and the override
  6538. should not be called if the handle is already created.
  6539. 2007-03-28 Jonathan Pobst <[email protected]>
  6540. * ToolStrip.cs: Remove MonoTODO for tooltips.
  6541. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  6542. * ToolStripContainer.cs: Add custom ControlCollection class.
  6543. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  6544. * ToolStripDropDown.cs: Add some missing properties/methods.
  6545. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  6546. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  6547. * ToolStripManager.cs: Add IsShortcutDefined.
  6548. * ToolStripOverflow.cs: Override LayoutEngine.
  6549. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  6550. * ToolStripSeparator.cs: Add ImageKey.
  6551. 2007-03-28 Jackson Harper <[email protected]>
  6552. * TextControl.cs: If a char delete removes a line ending, we need
  6553. to update the ending style.
  6554. - Make sure the line ending calcs get called.
  6555. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  6556. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  6557. it was making the new code not work. Fixed a typo in the new code
  6558. as well. Fixes #79826.
  6559. 2007-03-27 Everaldo Canuto <[email protected]>
  6560. * XplatUIWin32.cs:
  6561. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  6562. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  6563. - SystrayBalloon method implemented.
  6564. [Add support for notifyicon balloon on win32, #79149]
  6565. 2007-03-27 Mike Kestner <[email protected]>
  6566. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  6567. the ms behavior when only one image is added to the list.
  6568. [Fixes #81191]
  6569. 2007-03-27 Jackson Harper <[email protected]>
  6570. * TextControl.cs: Improvements to non multiline line ending
  6571. drawing/measuing.
  6572. 2007-03-27 Everaldo Canuto <[email protected]>
  6573. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  6574. 2007-03-27 Everaldo Canuto <[email protected]>
  6575. * NotifyIcon.cs:
  6576. - Balloon message handling added.
  6577. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  6578. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6579. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  6580. to SystrayBalloon to me like other Systray method, also a
  6581. handle parameter added.
  6582. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  6583. * ListView.cs: Show scrollbars even when items.Count == 0
  6584. but the columns Width is bigger than the ListView.Width.
  6585. Also, when columns.Count == 0 set layout_wd and layout_ht
  6586. to the ClientRectangle values, so we don't show any scrollbar
  6587. in that case.
  6588. 2007-03-27 Everaldo Canuto <[email protected]>
  6589. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  6590. 2007-03-27 Jackson Harper <[email protected]>
  6591. * RichTextBox.cs: The RTF library decodes the text properly for us
  6592. now.
  6593. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  6594. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  6595. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  6596. ListView header (HeaderControl), instead of Control.BackColor.
  6597. 2007-03-27 Jonathan Pobst <[email protected]>
  6598. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  6599. Fixes tab control issues where controls would not show up because they
  6600. never received their OnVisibleChanged call.
  6601. 2007-03-27 Everaldo Canuto <[email protected]>
  6602. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  6603. BalloonTipShown).
  6604. 2007-03-27 Jonathan Pobst <[email protected]>
  6605. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  6606. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  6607. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  6608. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  6609. the handle. Fix WindowState by using the internal variable until we are
  6610. sure that we've been shown.
  6611. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  6612. max or min.
  6613. [Fixes bug #81198]
  6614. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  6615. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  6616. (at least borders). Fixes #79386 on Linux (with a small difference
  6617. in behaviour: when trying to resize a caption-less window metacity
  6618. shows the sysmenu. Resizing is still possible though).
  6619. * XplatUIWin32.cs: When setting window styles send request an extra
  6620. WM_NCCALCSIZE when it's a form without title (due to no text and no
  6621. caption), since Win32 seems to calculate it wrong the first time we
  6622. get the message, though the second time things work as they should.
  6623. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  6624. newly reparented window might show up unparented. Update
  6625. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  6626. there's no title text. Fixes #79386.
  6627. 2007-03-27 Mike Kestner <[email protected]>
  6628. * ListBox.cs : don't perform invalidations if the handle hasn't been
  6629. created. [Fixes #80753]
  6630. 2007-03-27 Mike Kestner <[email protected]>
  6631. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  6632. [Fixes #80428]
  6633. 2007-03-26 Everaldo Canuto <[email protected]>
  6634. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  6635. needed to implement Balloon.
  6636. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  6637. * ListViewItem.cs: In the constructors that take
  6638. an array of strings, don't use ListViewSubItemCollection.AddRange
  6639. method to add items, since we need to have a different behaviour (in
  6640. the constructors we add an item for each null string, opposed to
  6641. the behaviour of AddRange, which adds nothing).
  6642. 2007-03-26 Andreia Gaita <[email protected]>
  6643. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  6644. 2007-03-26 Jackson Harper <[email protected]>
  6645. * TextControl.cs: Draw and measure line endings when in non
  6646. multiline mode.
  6647. - When searching the text, count the end of the last line as a
  6648. word boundary.
  6649. 2007-03-26 Jackson Harper <[email protected]>
  6650. * RichTextBox.cs: The selection_start and selection_end don't
  6651. really track the correct tags for the selection. So we'll manually
  6652. compute the correct tag here.
  6653. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  6654. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  6655. and Continuous styles. Fixes #79469.
  6656. 2007-03-26 Jonathan Pobst <[email protected]>
  6657. * ToolStrip.cs: Implement Tooltips.
  6658. * ToolStripItem.cs: Create internal method for determining tooltip.
  6659. 2007-03-26 Jonathan Pobst <[email protected]>
  6660. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  6661. 2007-03-26 Everaldo Canuto <[email protected]>
  6662. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  6663. it prevents a problem thak keeps icon visible after application
  6664. closes on win32.
  6665. 2007-03-26 Everaldo Canuto <[email protected]>
  6666. * NotifyIcon.cs: Balloon properties and methods created.
  6667. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  6668. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  6669. 2007-03-25 Jonathan Pobst <[email protected]>
  6670. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  6671. 2007-03-24 Jonathan Pobst <[email protected]>
  6672. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  6673. parameter indicates which aspects were explicit/user-set.
  6674. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  6675. 2007-03-24 Jonathan Pobst <[email protected]>
  6676. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  6677. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  6678. SmallChange, and Value (2.0).
  6679. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  6680. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  6681. * ListView.cs: Always set item_control.Width in LayoutDetails
  6682. if View is Details. Setting it later in CalculateScrollBars
  6683. in a not-so-corner scenario (the sum of columns width is
  6684. not bigger than the ListView width when handle is created, and then
  6685. that sum gets bigger by increasing the width of the columns)
  6686. causes a very weird recursion path (which shouldn't be happening,
  6687. since header_control sets it in CalculateScrollBars too). This bug
  6688. appeared after Chris' fixes for handle created issues, so probably
  6689. it's related to some handle-creation time.
  6690. 2007-03-23 Chris Toshok <[email protected]>
  6691. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  6692. case where there's an add row, just so we don't end up in a case
  6693. where it's not displayed (this happens when the row is partially
  6694. obscured). Fixes bug #79574.
  6695. 2007-03-23 Jackson Harper <[email protected]>
  6696. * TextControl.cs:
  6697. * TextBoxBase.cs:
  6698. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  6699. also added an enum that represents the line ending type.
  6700. 2007-03-23 Andreia Gaita <[email protected]>
  6701. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  6702. messed with in every method call, but only from DownButton,
  6703. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  6704. 2007-03-23 Chris Toshok <[email protected]>
  6705. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  6706. format objects if the format spec is "". Fixes bug #80889.
  6707. 2007-03-22 Miguel de Icaza <[email protected]>
  6708. * ToolStripPanel.cs (Join): added stubs to build PDN3
  6709. * Control.cs (AutoScrollOffset): Add.
  6710. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  6711. property, its only implemented for Win32, on X11 it defaults to
  6712. some hardcoded value.
  6713. * ToolStripItem.cs (AllowDrop): Add property
  6714. 2007-03-22 Mike Kestner <[email protected]>
  6715. * ListView.cs : in FullRowSelect Details mode, only enable box
  6716. selection if the user clicks over the "item" column outside of the
  6717. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  6718. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  6719. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  6720. handle is not created yet.
  6721. * Form.cs: Select: Don't call CreateHandle if the handle is already
  6722. created, avoids a stack overflow on Windows when we are recreating
  6723. controls.
  6724. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  6725. they are made visible, and override AfterTopMostControl to keep
  6726. them on top when other controls are brought to front.
  6727. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  6728. or force_*scroll_visible is true (old implementation always shows
  6729. scrollbars when needed, no matter what auto_scroll was set to).
  6730. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  6731. IsHandleCreated check.
  6732. 2007-03-22 Andreia Gaita <[email protected]>
  6733. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  6734. row or col separator.
  6735. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  6736. 2007-03-22 Everaldo Canuto <[email protected]>
  6737. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  6738. 2007-03-22 Everaldo Canuto <[email protected]>
  6739. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  6740. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  6741. every time. Fixes #80410.
  6742. 2007-03-22 Chris Toshok <[email protected]>
  6743. * BindingSource.cs (AddNew): partially implement.
  6744. remove a couple of NotImplementedException's
  6745. to get bug #81148 closed.
  6746. 2007-03-22 Everaldo Canuto <[email protected]>
  6747. [Fixes #80380]
  6748. * Control.cs:
  6749. - UpdateCursor method added to update the screen cursor.
  6750. - GetAvailableCursor method added to return cursor for enabled tree,
  6751. it searches for cursor on control and it's parent's for enabled control.
  6752. - Call UpdateCursor method on setter of Cursor property.
  6753. - On setter of Enabled call UpdateCursor when it is false, we need to
  6754. change cursor to normal (or to this parent cursor) because cursor
  6755. setting theres no effect to disabled controls.
  6756. - Some minor source changes to follow the coding style guidelines.
  6757. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  6758. controls.
  6759. 2007-03-22 Chris Toshok <[email protected]>
  6760. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  6761. generates.
  6762. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  6763. * XplatUIX11.cs: Implement default locations for forms.
  6764. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  6765. * Hwnd.cs: Add previous_child_startup_location (to track the current
  6766. startup location for any child forms of the current form) and
  6767. previous_main_startup_location (to track the startup location for
  6768. the current toplevel form).
  6769. 2007-03-21 Jonathan Pobst <[email protected]>
  6770. * Control.cs: Don't trigger a layout if an implicit control is added
  6771. that isn't visible. Also, don't notify the owner when an implicit control
  6772. is added. (Owners shouldn't even know about their implicit controls.)
  6773. 2007-03-21 Jonathan Pobst <[email protected]>
  6774. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  6775. to save some re-layouts.
  6776. 2007-03-21 Everaldo Canuto <[email protected]>
  6777. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  6778. [Fixes #81203]
  6779. 2007-03-21 Jonathan Pobst <[email protected]>
  6780. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  6781. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  6782. 2007-03-21 Mike Kestner <[email protected]>
  6783. * ListView.cs : disable selection update for non-left button clicks
  6784. with mods and over selected items. [Fixes #80524]
  6785. 2007-03-20 Jackson Harper <[email protected]>
  6786. * TextControl.cs:
  6787. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  6788. \r\r\n, \n.
  6789. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6790. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  6791. very probably a more complicated calculation there. Update the
  6792. textbox' ForeColor and BackColor when the ComboBox' colors are
  6793. changed. Change the border change in LayoutComboBox to only affect
  6794. the textbox, not all the calculations there. Seems to fix most of
  6795. #79436.
  6796. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6797. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  6798. modifiers + navigation keys as input keys, enables advanced text
  6799. selection in the combobox (like Shift+Left Arrow for instance).
  6800. ComboTextBox now overrides Focused and returns whatever
  6801. ComboBox.Focused returns, since it really should be focused
  6802. whenever the ComboBox is. Fixes #80795. Also make the border around
  6803. the text box one pixel bigger, as mentioned in #79436.
  6804. 2007-03-20 Jackson Harper <[email protected]>
  6805. * TreeView.cs: Don't offset the images, this was causing some
  6806. artifacts when expanding/collapsing with images that were the
  6807. exact height of the treenode.
  6808. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6809. * TrackBar.cs: Query the theme for the correct value when the mouse
  6810. moves and the thumb is pressed.
  6811. * Theme.cs: Added TrackBarValueFromMousePosition
  6812. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  6813. implementation was updating the trackbar value when drawing, now
  6814. the drawing methods only draw. Fixes #80900. Refactored the
  6815. calculations out to TrackBarValueFromMousePosition and
  6816. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  6817. according to the mouse position whenever it wants to. Changed the
  6818. light coloured pen when drawing the thumb from ControlLight to
  6819. ControlLightLight, because the ControlLight is the same colour as
  6820. the background so the 3D effect is lost.
  6821. 2007-03-20 Everaldo Canuto <[email protected]>
  6822. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  6823. defined. Fixes #80784.
  6824. 2007-03-20 Marek Habersack <[email protected]>
  6825. * ContextMenuStrip.cs: align with the change introduced in
  6826. revision 74664.
  6827. 2007-03-20 Everaldo Canuto <[email protected]>
  6828. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  6829. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  6830. in SetTopmost.
  6831. 2007-03-19 Chris Toshok <[email protected]>
  6832. * Control.cs (WmPaint): don't make use of the Handle property
  6833. after an event is emitted, as the user could have closed the
  6834. form/destroyed the control. Store the Handle in a local variable
  6835. and make use of that. Fixes bug #80768.
  6836. 2007-03-20 Everaldo Canuto <[email protected]>
  6837. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  6838. behavior in X11 environments.
  6839. 2007-03-20 Everaldo Canuto <[email protected]>
  6840. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  6841. because on setter of topmost we dont call SetTopmost when handle is not
  6842. created.
  6843. 2007-03-20 Jackson Harper <[email protected]>
  6844. * TextControl.cs: Need to use SelectionLength () not
  6845. selection_length, since that var is reset to -1.
  6846. - Draw the caret when we don't have focus.
  6847. * TextBox.cs: The selectall actually doesn't occur until the first
  6848. focus.
  6849. * TextBoxBase.cs: Need to update the caret position after a
  6850. selectall.
  6851. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  6852. * ListView.cs: Enable scrolling when using Tile view.
  6853. 2007-03-20 Everaldo Canuto <[email protected]>
  6854. [Fixes #80902]
  6855. * XplatUIDriver.cs: Abstract SetOwner method created.
  6856. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  6857. must be implemented and was masked as todo.
  6858. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  6859. GWL_HWNDPARENT.
  6860. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  6861. cheking for null owner to remove transient. The SetTopmost will be change
  6862. on a decond step.
  6863. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  6864. SetTopmost. Now owned forms will work properly in win32 and X11.
  6865. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  6866. * MdiWindowManager.cs: Update function name.
  6867. * Form.cs: After closing a form MdiParent is always null.
  6868. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  6869. better what it should do: necessary book-keeping when the form is
  6870. closed, it should not close the form itself.
  6871. 2007-03-19 Andreia Gaita <[email protected]>
  6872. * ListViewItem.cs: Fix back and fore color. The subitems only
  6873. use their own colors if they are set, otherwise use the listview's
  6874. colors. Don't set default colors on constructor for subitem.
  6875. Fixes #79315.
  6876. 2007-03-19 Mike Kestner <[email protected]>
  6877. * ListView.cs : make box selection for Details views with
  6878. FullRowSelect conform to MS behavior when clicking in the "item"
  6879. column and clicking outside the defined columns.
  6880. [Fixes case 5-6 of #80374]
  6881. 2007-03-19 Chris Toshok <[email protected]>
  6882. * ScrollableControl.cs: create the controls from within the ctor,
  6883. but don't actually add them until our handle is created. this
  6884. fixes a NRE possibility jpobst found (if you override OnLayout in
  6885. a subclass, it's called before your ctor). Also, add a
  6886. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  6887. 2007-03-19 Jackson Harper <[email protected]>
  6888. * TextBox.cs: Reduce the amount of invalidation we do.
  6889. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  6890. some of them are true by default on MS.
  6891. - Add some functions to reduce the amount of invalidates we do.
  6892. * TextControl.cs: Less invalidation.
  6893. 2007-03-19 Chris Toshok <[email protected]>
  6894. [ Fixes #81773, and *seems* to fix #81553 as well ]
  6895. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  6896. AccumulateDestroyedHandles. We need to do it *after* we send
  6897. WM_DESTROY, as the user's code can access Control.Handle in
  6898. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  6899. move the WM_DESTROY/zombie handling to before the call to
  6900. XDestroyWindow. For some reason without this ordering
  6901. FormTest.RecreateHandle hangs. This ordering is semantically
  6902. equivalent, however, as XDestroyWindow is async anyway.
  6903. 2007-03-19 Gert Driesen <[email protected]>
  6904. * RichTextBox.cs: Reset backcolor_set after setting default.
  6905. 2007-03-19 Chris Toshok <[email protected]>
  6906. * ScrollableControl.cs: the scroll position should not effect the
  6907. canvas size. commit patch from [email protected], which
  6908. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  6909. 2007-03-19 Chris Toshok <[email protected]>
  6910. * ScrollableControl.cs: clean this up a bit. create the
  6911. scrollbars in the ctor and just show/hide them as needed. Also,
  6912. make hscroll_visible/vscroll_visible internal to Recalculate, and
  6913. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  6914. everywhere else. This seems to fix the scrollbars appearing
  6915. beneath the content for me (i have *no* idea why that is,
  6916. however.)
  6917. 2007-03-19 Jonathan Pobst <[email protected]>
  6918. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  6919. some redundacy for stuff in Anchor and Dock that base will take care of.
  6920. [Fixes #80762]
  6921. 2007-03-19 Mike Kestner <[email protected]>
  6922. * ListView.cs : make box selection for Details views without
  6923. FullRowSelect dependent on the text bounds, not item bounds.
  6924. * ListViewItem.cs : add an internal property to obtain the TextBounds
  6925. in Details view. [Fixes case 1-4 of #80374]
  6926. 2007-03-19 Andreia Gaita <[email protected]>
  6927. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  6928. we're < 2.0. #78448 && #80316
  6929. 2007-03-19 Jonathan Pobst <[email protected]>
  6930. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  6931. have the same style available as the previously selected one. Also,
  6932. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  6933. 2007-03-19 Jackson Harper <[email protected]>
  6934. * TextControl.cs: Add an alignment property that all new lines
  6935. will be given.
  6936. - Make sure to use the align shift when calculating the line's X
  6937. position.
  6938. * TextBox.cs: Set the alignment on the document as well as on all
  6939. the document lines.
  6940. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  6941. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  6942. throw if setting the parent of an mdichild that already has an
  6943. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  6944. AssemblyProductAttribute in the assembly, use the type's namespace (as
  6945. MS seems to do). CreateControl: don't create the handle if the control
  6946. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  6947. create handle if the control is not a form. Change FocusInternal to
  6948. virtual so that it can be overriden by Form.
  6949. * TextBox.cs: Update call to FocusInternal.
  6950. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  6951. form is not a toplevel form when it's a mdi child, so update is_toplevel
  6952. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  6953. hasn't been created. Show (IWin32Window): Don't allow this overload for
  6954. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  6955. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  6956. parent isn't visible yet, save the visibility and restore it when the
  6957. parent is made visible.
  6958. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  6959. methods, since the visibility of the scrollbars can be changed from
  6960. several places, not only from AutoScroll.
  6961. [Fixes #81179]
  6962. 2007-03-19 Jackson Harper <[email protected]>
  6963. * RichTextBox.cs: Enable shortcuts by default.
  6964. * TextBoxBase.cs: Add conditional shortcuts.
  6965. 2007-03-19 Everaldo Canuto <[email protected]>
  6966. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  6967. 2007-03-19 Chris Toshok <[email protected]>
  6968. [ Fixes bug #80604]
  6969. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  6970. swallow the message we're waiting on, instead of delivering it, as
  6971. this is only used for the WM_SHOWWINDOW raised from
  6972. MapWindow/UnmapWindow, and the message needs to be generated
  6973. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  6974. before doing the Map/Unmap. Also make sure that the Hwnd is still
  6975. alive after the message has been handled.
  6976. *before* the window is shown.
  6977. * Control.cs (CreateControl): guard a few more things inside the
  6978. if (!is_created) block, as we might end up being called again -
  6979. yay .net.
  6980. (WmShowWindow): call CreateControl if we're showing the control.
  6981. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  6982. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  6983. controls without a handle if they have any parent with a handle. In
  6984. Dispose add a check whether the handle is created or not before
  6985. calling BeginInvoke, this removes the need of the extra disposing
  6986. parameter (which was bogus anyway since it didn't prevent the
  6987. invoke from happening, it only skipped the check for an existing
  6988. handle, meaning that the invoke would call on an inexistent
  6989. handle).
  6990. 2007-03-19 Everaldo Canuto <[email protected]>
  6991. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  6992. appears in taskbar.
  6993. 2007-03-18 Everaldo Canuto <[email protected]>
  6994. * MessageBox.cs:
  6995. - Fixed a problem that dont show help button for messages with 3 buttons.
  6996. - Refactory button size and position calculations, now dont use fixed
  6997. values, also fixed button sizes (#80043) and form's border space.
  6998. - AddButton method created, now all other AddButton methods call this one.
  6999. - Some other source code cosmetic changes.
  7000. 2007-03-18 Jackson Harper <[email protected]>
  7001. * RichTextBox.cs: Don't do this all fonts must match check if
  7002. there is only one char selected.
  7003. 2007-03-18 Jackson Harper <[email protected]>
  7004. * TreeView.cs: ScrollWindow works properly now, so we don't need
  7005. to screw around with the scroll area. This fixes some artifacts
  7006. when expanding and collapsing.
  7007. 2007-03-18 Jackson Harper <[email protected]>
  7008. * TextBoxBase.cs: Allow updating the selection position when the
  7009. cursor is outside the textarea, but we have a capture.
  7010. * TextControl.cs: A special case for when the cursor is outside
  7011. the bounds of the TB.
  7012. 2007-03-18 Jackson Harper <[email protected]>
  7013. * TextBoxBase.cs: Remove image pasting code for now. There is no
  7014. way to get an image on the clipboard right now anyways.
  7015. * TextControl.cs:
  7016. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  7017. 2007-03-18 Everaldo Canuto <[email protected]>
  7018. * MessageBox.cs:
  7019. - Set window properties in constructor intead of on CreateParams.
  7020. - Remove topmost from Window ExStyle.
  7021. - Set ShowInTaskbar to false.
  7022. - Set form border to FixedDialog.
  7023. - Some cosmetic changes and remove unneeded comments.
  7024. - It fixes itens 2,3 and 4 of bug #80043.
  7025. 2007-03-18 Gert Driesen <[email protected]>
  7026. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  7027. none was explicitly set. Fixes part of bug #79949.
  7028. 2007-03-16 George Giolfan <[email protected]>
  7029. * ToolStripComboBox.cs: Add AutoComplete*.
  7030. 2007-03-16 George Giolfan <[email protected]>
  7031. * ToolStripComboBox.cs: Add FlatStyle.
  7032. 2007-03-16 Jonathan Pobst <[email protected]>
  7033. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  7034. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  7035. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  7036. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  7037. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  7038. DataGridColumnStyle.cs: Remove warnings.
  7039. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  7040. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  7041. it.
  7042. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  7043. visibility of mdi child forms. FormSizeChangedHandler: update the
  7044. maximized size if size has changed while maximized.
  7045. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  7046. creating the handle.
  7047. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  7048. avoid creating the handle if not created.
  7049. * XplatUI.cs: Update debug output.
  7050. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  7051. 2007-03-16 Jonathan Pobst <[email protected]>
  7052. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  7053. ProcessCmdKey().
  7054. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  7055. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  7056. Implement keyboard shortcuts.
  7057. 2007-03-15 Everaldo Canuto <[email protected]>
  7058. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  7059. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  7060. ColorDialog and all derived classes.
  7061. 2007-03-15 Everaldo Canuto <[email protected]>
  7062. [ Fixes bug #79828 ]
  7063. * ToolBar.cs:
  7064. - Rename ToolBarButtonInfor to ToolBarItem.
  7065. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  7066. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  7067. collection to be able add same button more than one time on a toolbar.
  7068. - Refactory all properties and methods to use ToolBarItem.
  7069. * ToolBarButton.cs:
  7070. - Remove all propeties and methods that is now in ToolBarItem.
  7071. - Rectangle propery now gets the rectangle from first ToolBarItem to
  7072. mimic win32 behavior.
  7073. - Size calculation and layout methods also removed.
  7074. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  7075. ToolBarItem instead of ToolBarButton to right drawing buttons when
  7076. same button/separator was added more than one time to ToolBar.
  7077. * ThemeNice.cs: Same as above.
  7078. 2007-03-15 Andreia Gaita <[email protected]>
  7079. * XplatUIX11.cs: Fire extra MouseMove events right after
  7080. MouseDown and MouseUp, emulating win32's <censored> behaviour
  7081. for apps that rely on it.
  7082. 2007-03-15 Jackson Harper <[email protected]>
  7083. * TextControl.cs:
  7084. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  7085. it is drawn on the controls client window and there is no NC
  7086. area.
  7087. - Set the background color to gray on 2.0 when we are readonly.
  7088. 2007-03-15 Chris Toshok <[email protected]>
  7089. [ Fixes bug #81144 ]
  7090. * XplatUIX11.cs: implement VirtualScreen independently of
  7091. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  7092. property.
  7093. 2007-03-15 Chris Toshok <[email protected]>
  7094. * Hwnd.cs: add an internal field for the cached_window_state.
  7095. * XplatUIX11.cs: cache the window state, invalidating the cache
  7096. (and thus re-querying the X server) only when we see an update to
  7097. the _NET_WM_STATE property.
  7098. 2007-03-15 Chris Toshok <[email protected]>
  7099. * BindingSource.cs: get a lot of the unit tests working.
  7100. 2007-03-15 Jonathan Pobst <[email protected]>
  7101. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  7102. 0 instead of just bounds > 0. [Fixes bug #80912]
  7103. 2007-03-15 Jonathan Pobst <[email protected]>
  7104. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  7105. and methods.
  7106. 2007-03-15 Ivan N. Zlatev <[email protected]>
  7107. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  7108. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  7109. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  7110. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  7111. 2007-03-15 Chris Toshok <[email protected]>
  7112. [ Fixes #81101 ]
  7113. * Control.cs: add Ivan's fix for 81101, with a slight modification
  7114. - you can set control.Target to null.
  7115. 2007-03-14 Jonathan Pobst <[email protected]>
  7116. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  7117. HideDropDown, use Hide instead to prevent an NRE.
  7118. [Fixes bug #81147]
  7119. 2007-03-14 Jackson Harper <[email protected]>
  7120. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  7121. to calculate the document before the handle is created, in some
  7122. cases. (Actually just one case).
  7123. 2007-03-14 Jackson Harper <[email protected]>
  7124. * TextBoxBase.cs: Need to display the caret after letting the base
  7125. wndproc handle the focus methods, because the caret display
  7126. methods check the focus state.
  7127. - Try to display the caret after updating it's position with SelectWord.
  7128. - Don't need to do an immediate update on this recalc, since there
  7129. will be an invalidate anyways.
  7130. 2007-03-14 Jackson Harper <[email protected]>
  7131. * TreeView.cs: Some workarounds so that we can match event order a
  7132. little better.
  7133. 2007-03-14 Gert Driesen <[email protected]>
  7134. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  7135. #80803. Avoid NullReferenceException when Control does not have
  7136. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  7137. event a single time. Only draw error icon when control is created and
  7138. visible. Fixes failing unit tests.
  7139. 2007-03-14 Andreia Gaita <[email protected]>
  7140. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  7141. Selecting events. Fire Leave and Enter events when changing tabs.
  7142. 2007-03-14 George Giolfan <[email protected]>
  7143. * TreeView.cs: Add TreeViewNodeSorter.
  7144. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  7145. 2007-03-14 Chris Toshok <[email protected]>
  7146. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  7147. removed earlier and I had him add back it. It turns out metacity
  7148. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  7149. just doesn't redraw the window titlebar until you resize the
  7150. window. This also means we aren't recreating the entire window
  7151. hierarchy on X when you change this property. And it looks better
  7152. on windows, too.
  7153. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  7154. * ListViewItem.cs:
  7155. * ListView.cs: Collecting selection information
  7156. is now done in SelectedIndexCollection rather than in
  7157. SelectedListViewItemCollection. This is done so we can
  7158. have the selection information code in one single place
  7159. (virtual mode selection information entirely depends on
  7160. SelectedIndexCollection).
  7161. 2007-03-13 Miguel de Icaza <[email protected]>
  7162. * ErrorProvider.cs: Add stubs for ISupportInitialize
  7163. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  7164. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  7165. in the right order with the right values, from the Checked property,
  7166. just as MS does (instead of triggering them from ListView).
  7167. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  7168. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  7169. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  7170. the correct handler in OnItemCheck method (ItemCheckEventHandler
  7171. instead of EventHandler). This used to throw an InvalidCastException.
  7172. 2007-03-13 Jackson Harper <[email protected]>
  7173. * TextBoxBase.cs: Calculate the document before the handle is
  7174. created, so there isn't an extra invalidate called.
  7175. 2007-03-13 Jonathan Pobst <[email protected]>
  7176. * Form.cs: Don't set owner in ShowDialog until we are sure
  7177. that we aren't going to throw an exception. [Fixes bug #80773]
  7178. 2007-03-12 George Giolfan <[email protected]>
  7179. * TreeView.cs: Make it compile.
  7180. 2007-03-12 Jonathan Pobst <[email protected]>
  7181. * Control.cs: Another place we don't call SizeFromClientSize.
  7182. * Form.cs: Another place we don't call SizeFromClientSize.
  7183. [Fixes bug #81125]
  7184. 2007-03-12 Jackson Harper <[email protected]>
  7185. * TreeView.cs: Basically emulating some strangness here with
  7186. exanding nodes and setting node positions when windows aren't
  7187. created.
  7188. - Also attempting to walk the node tree less than previously, and
  7189. just use visible order calculations for determining offsets.
  7190. - oops made scrolling backwards.
  7191. * TreeNode.cs: We need to start nodes with a zero visible order,
  7192. because the order calcs are based on the first nodes order.
  7193. 2007-03-12 Jonathan Pobst <[email protected]>
  7194. * Form.cs: Don't exit the program if RecreateHandle is called on
  7195. the main form.
  7196. 2007-03-12 Chris Toshok <[email protected]>
  7197. * XEventQueue.cs: remove the use of PostQuitState.
  7198. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  7199. WM_QUIT message in GetMessage, return false (and if we're in the
  7200. nested WaitForHwndMessage, repost the WM_QUIT message).
  7201. 2007-03-12 Jonathan Pobst <[email protected]>
  7202. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  7203. or the MaximizeBox properties. [Part of bug #80640]
  7204. 2007-03-12 Everaldo Canuto <[email protected]>
  7205. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  7206. no links.
  7207. 2007-03-12 Jonathan Pobst <[email protected]>
  7208. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  7209. instead of visible.
  7210. 2007-03-12 Gert Driesen <[email protected]>
  7211. * FileDialog.cs: Use text of File name combobox to determine what
  7212. files the user selected. Added tokenizer to parse the file names.
  7213. Fixes bug #81123.
  7214. 2007-03-12 Jonathan Pobst <[email protected]>
  7215. * Control.cs: We can't call SizeFromClientSize in the constructor,
  7216. but we still need to do the same work, so make an internal version.
  7217. [Fixes bug #80621]
  7218. 2007-03-12 Jackson Harper <[email protected]>
  7219. * TreeView.cs:
  7220. * TreeNode.cs:
  7221. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  7222. IsExpanded.
  7223. 2007-03-12 Jackson Harper <[email protected]>
  7224. * TextBoxBase.cs: Now that the handles are being created a little
  7225. later, we need to make sure that the document is recalculated when
  7226. the handle is created.
  7227. 2007-03-11 Everaldo Canuto <[email protected]>
  7228. * Theme.cs: GetLinkFont abstract method added.
  7229. * LinkLabel.cs:
  7230. - Remove CalcTrimRectangle, no longer needed.
  7231. - Factor also remove, position issues must be fixed in libgdiplus.
  7232. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  7233. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  7234. care about font used to draw links.
  7235. - Set TabStop to true when control is "Selectable", control is selectable
  7236. when have one or more links. Fixes #80501 (test case is also added).
  7237. - Set the LinkArea values after links change, LinkArea values must be
  7238. based in first link position and size, a test case was created.
  7239. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  7240. the attribute must be true LinkArea.Length > 0. The same was applied to
  7241. TabStop.
  7242. * ThemeWin32Classic.cs:
  7243. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  7244. in draw method.
  7245. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  7246. color change.
  7247. - Draw focus rectangle for every parts focused, including parts that
  7248. is on another line, its because regions returns various rectangles
  7249. and not only one. Needed to mimic W32 look.
  7250. - Uses Graphics.Clip to delimite region painted, it mean that now
  7251. complete text is passed to DrawString, with this we solve layout
  7252. issues without create another text renderer.
  7253. - Uses Region.Intersect to fix some flickers problems, now only needed
  7254. parts will redrawed.
  7255. - This changes fixes #79614 and some other unreported issues, on Linux
  7256. some layout problems still remain, the problem is under
  7257. MeasureCharacterRanges but it is an libgdiplus bug.
  7258. 2007-03-10 Gert Driesen <[email protected]>
  7259. * TextBox.cs: Set for foreground color.
  7260. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  7261. this is already done in Control.
  7262. 2007-03-10 Jackson Harper <[email protected]>
  7263. * TextBox.cs: Set the background color, but reset the
  7264. backcolor_set flag which is just for the user setting the
  7265. background color.
  7266. 2007-03-09 Chris Toshok <[email protected]>
  7267. * Control.cs: really remove the call to XplatUI.SetVisible from
  7268. CreateHandle(), like I said I did when I merged the branch.
  7269. * BindingSource.cs: implement some more of this stuff.
  7270. 2007-03-09 Jackson Harper <[email protected]>
  7271. * TextBox.cs: Don't explicitly set our background colors.
  7272. * TextControl.cs:
  7273. * TextBoxBase.cs: Draw readonly text.
  7274. - Need to invalidate when backcolor or readonly are changed.
  7275. 2007-03-09 Jackson Harper <[email protected]>
  7276. * TextBoxBase.cs: Don't set the forecolor until the handle is
  7277. created.
  7278. - Do not raise OnPaint, and removed some old debug code.
  7279. 2007-03-09 George Giolfan <[email protected]>
  7280. * ScrollableControl.cs: Fix mouse wheel scrolling.
  7281. 2007-03-09 Jonathan Pobst <[email protected]>
  7282. * Control.cs: Wire up MouseDoubleClick event.
  7283. 2007-03-09 Jonathan Pobst <[email protected]>
  7284. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  7285. top or bottom.
  7286. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  7287. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  7288. item is added. This logic was moved to ToolStrip.OnItemAdded.
  7289. [Fixes bug #81090]
  7290. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  7291. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  7292. 2007-03-08 Jackson Harper <[email protected]>
  7293. * TreeView.cs: Show the correct image for selected node (this used
  7294. to work, not sure how the code got deleted). Also implemented 2.0 feature
  7295. SelectedImageKey.
  7296. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  7297. * ListView.cs:
  7298. * ListViewItem.cs: Cache index in items when retrieving them
  7299. in VirtualMode.
  7300. 2007-03-08 Jonathan Pobst <[email protected]>
  7301. * ToolStripItem.cs: Don't return the explicit_size if we are using
  7302. AutoSize. Fixes invalidation issue when user has explicitly set a
  7303. size and has AutoSize = true.
  7304. 2007-03-08 Jonathan Pobst <[email protected]>
  7305. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  7306. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7307. * DataGridView.cs: Remove event handler from DataView when a
  7308. DataTable is used as DataSource.
  7309. 2007-03-08 Jonathan Pobst <[email protected]>
  7310. * Control.cs: Create internal setter for client_size to allow it to be
  7311. set without triggering resizing code.
  7312. * Form.cs: Calculate client_size in constructor, only change client_size
  7313. in FormBorderStyle property if Handle has been created.
  7314. [Fixes #80574, #80791]
  7315. 2007-03-08 George Giolfan <[email protected]>
  7316. * SystemInformation.cs: Add TerminalServerSession.
  7317. 2007-03-07 Jonathan Pobst <[email protected]>
  7318. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  7319. TreeView code.
  7320. 2007-03-07 Jonathan Pobst <[email protected]>
  7321. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  7322. Handle before we were supposed to. Now checks ActivateOnShow property
  7323. in Control.
  7324. * Control.cs: Add internal ActivateOnShow property.
  7325. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  7326. for ActivateOnShow.
  7327. * Hwnd.cs Remove no longer needed no_activate field.
  7328. 2007-03-07 Jackson Harper <[email protected]>
  7329. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  7330. 2.0 properties
  7331. * DrawTreeNodeEventHandler.cs: Add
  7332. * DrawTreeNodeEventArgs.cs: Correct default value.
  7333. 2007-03-07 Chris Toshok <[email protected]>
  7334. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  7335. to be called before NativeWindow.WndProc. Put the HwndCreating
  7336. magic there to hook up our Hwnd's to handles.
  7337. 2007-03-07 Gert Driesen <[email protected]>
  7338. * DataGridView.cs: Comment out debug code.
  7339. 2007-03-07 Chris Toshok <[email protected]>
  7340. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  7341. to make the rest of the world happy]
  7342. * Control.cs (CreateHandle): there's no need to call
  7343. XplatUI.SetVisible here, it's effectively done by
  7344. XplatUI.CreateWindow on X now, and always was on windows.
  7345. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  7346. shortcircuit out of the loop if we have a message loop running on
  7347. this thread.
  7348. [Changelog from merge]
  7349. 2007-03-05 Chris Toshok <[email protected]>
  7350. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  7351. causes handle creation.
  7352. 2007-02-28 Chris Toshok <[email protected]>
  7353. * ApplicationContext.cs: Add a flag to make sure we only raise the
  7354. ThreadExit event once (ExitThreadCore can be indirectly called
  7355. from a few places.) I don't like the additional flag, but it
  7356. makes the event ordering/count correct.
  7357. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  7358. without locking the collection. An enumerator doesn't give us any
  7359. protection from modification anyway. Lock the thread hash and
  7360. replace the complicated enumerator loop with a foreach.
  7361. (Application.CloseForms): make internal so it can be called from
  7362. ApplicationContext. This should probably be moved to MWFThread.
  7363. (Application.ExitThread): don't call MWFThread.Current.Exit()
  7364. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  7365. when the runloop exits (in response to WM_QUIT.)
  7366. (Application.RunLoop): add a comment (and check) for
  7367. context.MainForm being null after setting context.MainForm.Visible
  7368. = true. This is because you're perfectly free to dispose of a
  7369. form in VisibilityChanged. Chalk this up to another case where we
  7370. need to synchronously generate WM_ACTIVATE from Control.Show.
  7371. Also, add handling for WM_QUIT here so we'll exit the loop.
  7372. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  7373. fact that we don't wait if we're only unmapping the whole_window
  7374. makes me a bit nervous, but it doesn't seem to cause any problems
  7375. yet.
  7376. also, add a comment about the stupid, broken and wrong resetting
  7377. of PostQuitState to false in GetMessage().
  7378. In PostQuitMessage, we need to add a WM_QUIT message to the
  7379. thread's queue. We use the FosterParent to get the right
  7380. handle/hwnd/queue.
  7381. Lastly, in SetVisible, we need to unmap both windows, since the
  7382. waiting only happens when we're unmapping the client window. So
  7383. now, the *only* time we unmap just the whole_window is in the hack
  7384. for resizing a control to 0,0.
  7385. 2007-02-21 Chris Toshok <[email protected]>
  7386. * Application.cs (CloseForms): rewrite this so that we don't
  7387. modify the list while we're traversing it.
  7388. 2007-02-20 Chris Toshok <[email protected]>
  7389. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  7390. of OnHandleCreated.
  7391. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  7392. handle is created. otherwise we'll create it here.
  7393. (VerticalScrollEvent): same here.
  7394. * Application.cs (CloseForms): call Form.Dispose, don't post
  7395. WM_CLOSE_INTERNAL.
  7396. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  7397. here. Application should Dispose() of the Form's.
  7398. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  7399. WM_DESTROY as well.
  7400. (MapWindow,UnmapWindow): only actually do the waiting for
  7401. SHOWWINDOW if the control we're dealing with is a Form.
  7402. (CreateWindow): if the control isn't a form, SendMessage
  7403. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  7404. * Control.cs (SetVisibleCore): always use is_visible here, not
  7405. value. If we use value, we can end up re-setting something
  7406. visible if, for instance, you do Control.Hide() in a delegate
  7407. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  7408. 2007-02-20 Chris Toshok <[email protected]>
  7409. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  7410. the message we need. PeekMessage returning false should not be a
  7411. condition under which we exit the loop.
  7412. 2007-02-15 Chris Toshok <[email protected]>
  7413. * Control.cs (Refresh): only refresh if we've got a handle and are
  7414. visible.
  7415. (CreateAccessibilityInstance): CreateControl() here.
  7416. (UpdateChildrenZOrder): complicate the code loop even more by
  7417. taking into account controls that haven't had their handle
  7418. created, and those that aren't visible. But on the flip side,
  7419. simplify the code by splitting it into two loops. one which
  7420. builds up the list of child controls we're interested in, and the
  7421. other that sets the z order of those children.
  7422. 2007-02-14 Chris Toshok <[email protected]>
  7423. * Control.cs: Control.AccessibilityObject causes the control to be
  7424. created, not just the handle.
  7425. 2007-02-14 Chris Toshok <[email protected]>
  7426. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  7427. problem on X where a window might have its handle created (and be
  7428. visible) while the window is unmapped. calling XConfigureWindow
  7429. on an unmapped window is bad, and generates X errors.
  7430. 2007-02-13 Chris Toshok <[email protected]>
  7431. * Control.cs (CreateHandle): don't loop over our children setting
  7432. their parent here. do it when in WndProc when we're shown.
  7433. (UpdateChildrenZOrder): make this internal so we can call it from
  7434. ScrollableControl.
  7435. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  7436. creating its handle. Also, remove the calls to PerformLayout from
  7437. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  7438. OnVisibleChanged only seems to be called directly here for the
  7439. toplevel control. It's propagated down the window hierarchy by
  7440. calls to child.OnParentVisibleChanged.
  7441. (OnVisibleChanged): don't do layout here - it's done (oddly
  7442. enough, according to a glance at stack traces on ms.net..) in
  7443. ScrollableControl.
  7444. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  7445. z order of our children before calling PerformLayout.
  7446. 2007-02-12 Chris Toshok <[email protected]>
  7447. [big change, fixes #80020]
  7448. * AccessibleObject.cs: we need to make owner internal again to fix
  7449. some of ControlAccessibleObject.
  7450. * Control.cs: lots of changes here. add support for WM_CREATE,
  7451. for which we generate OnHandleCreated. Remove the OnHandleCreated
  7452. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  7453. we create child controls. leave the MonoTODO's for the
  7454. accessibility calls, but fix the exceptions so the tests pass.
  7455. Add the InvalidOperationExceptions to Invoke methods, and remove a
  7456. couple of InvokeInternal methods we aren't using.
  7457. Also, add a couple of CreateHandle calls in places where we know
  7458. the handles are being created but our code doesn't reference
  7459. .Handle.
  7460. Make SetVisibleCore call OnVisibleChange if the handle isn't
  7461. created. If the handle is created, we rely on XplatUI.SetVisible
  7462. generating the event synchronously.
  7463. Lastly, make sure we don't use this.Handle inside CreateHandle,
  7464. because we can call back into client (and that code can dispose of
  7465. the control).
  7466. * XplatUIStructs.cs: misc/cleanup.
  7467. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  7468. although we don't populate the wParam properly.
  7469. (CreateWindow): generate WM_CREATE.
  7470. (MapWindow,UnmapWindow): make these calls synchronous, at great
  7471. performance expense (particularly in the unmap case), to match
  7472. win32 behavior.
  7473. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  7474. to call it.
  7475. (set_MdiParent): don't recreate the handle unless it's been
  7476. created already.
  7477. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  7478. it's created.
  7479. * NativeWindow.cs: this is probably the weirdest part of the
  7480. patch. We need a way to link up the window being created to the
  7481. WM_CREATE message. Since we can only be creating one window at a
  7482. time on a given thread, we keep track of a per-thread reference so
  7483. we can dispatch it properly. We also need to keep track of the
  7484. Hwnd currently being created so that the win32 backend doesn't
  7485. have problems.
  7486. * XplatUIWin32.cs: a similar change to the one we made in
  7487. NativeWindow.cs.
  7488. 2007-03-07 Jonathan Pobst <[email protected]>
  7489. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  7490. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  7491. to draw the menu shortcut string.
  7492. 2007-03-07 Jackson Harper <[email protected]>
  7493. * TreeNode.cs: Add the 2.0 collapse method.
  7494. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7495. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  7496. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7497. * DataGridView.cs: Change DataSource will clear column and row
  7498. lists. Call Invalidate() to reflect DataSource change.
  7499. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7500. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  7501. and a new row is added to it.
  7502. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  7503. * DataGridView.cs: Add columns when DataSource is en empty list but
  7504. is a System.Data.DataView (from a System.Data.DataTable).
  7505. 2007-03-06 Andreia Gaita <[email protected]>
  7506. * Label.cs: Implement AutoEllipsis (2.0)
  7507. 2007-03-06 Jackson Harper <[email protected]>
  7508. * TreeView.cs: Implement 2.0 TopNode setter property.
  7509. - Use a local var instead of the skipped_nodes field for computing
  7510. how many nodes to skip. Otherwise we won't scroll because the
  7511. valuechanged handler checks if skipped_nodes is equal to the new
  7512. value.
  7513. - Implement 2.0 Sort method.
  7514. - Add useless 2.0 DoubleBuffer property
  7515. - Implement 2.0 LineColors property. Lets you change the color of
  7516. the lines in the tree. Terribly useful for creating non cohesive
  7517. desktops.
  7518. - Implement 2.0 image key feature.
  7519. 2007-03-06 Jackson Harper <[email protected]>
  7520. * TreeView.cs: We can't get the bounds of the nodes before raising
  7521. the AfterSelect event, because that event could change the node's
  7522. bounds (scrolling, font change, etc).
  7523. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  7524. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  7525. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  7526. update window styles. In CreateParams us VisibleInternal instead of
  7527. VIsible to get the actual visible flag set for this form.
  7528. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  7529. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  7530. handle the case when the form is already maximized, in which case
  7531. it should be restored. Fixes #81043.
  7532. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  7533. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  7534. 2007-03-05 Jackson Harper <[email protected]>
  7535. * TreeViewHitTestInfo.cs: implement.
  7536. 2007-03-05 Jackson Harper <[email protected]>
  7537. * InternalWindowManager.cs: class status fix.
  7538. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  7539. * InternalWindowManager.cs: All windows that have a parent
  7540. are confined to their parent when they're being moved.
  7541. Fixes #80822.
  7542. 2007-03-04 Gert Driesen <[email protected]>
  7543. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  7544. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  7545. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  7546. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  7547. buttons invisible before deciding which ones should be visible
  7548. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  7549. an unused variable.
  7550. * InternalWindowManager.cs: Remove warning.
  7551. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  7552. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  7553. to throw an InvalidOperationException is virtual mode is being used.
  7554. 2007-03-02 Jonathan Pobst <[email protected]>
  7555. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  7556. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  7557. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  7558. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  7559. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  7560. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  7561. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  7562. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  7563. driver.KeyboardDelay from XplatUI.KeyboardDelay
  7564. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  7565. (patch by Sergey Volk)
  7566. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  7567. * ToolWindowManager.cs: Added, contains logic for
  7568. tool windows.
  7569. * CreateParams.cs: Add a few helper methods and an
  7570. internal variable to know which control the CreateParams belongs
  7571. to.
  7572. * Control.cs: Call Form.ChangingParent when the
  7573. parent is about to be changed.
  7574. * XplatUIX11.cs: DeriveStyles (): Set
  7575. caption_height for all windows that have captions and are children.
  7576. Update to use ToolWindowManager instead of InternalWindowManager
  7577. for ToolWindows.
  7578. * XplatUIWin32.cs: Set fake window styles for all
  7579. windows that have window managers.
  7580. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  7581. now duplicated for mdi windows when they are
  7582. maximized, first for the buttons the window itself has, then for
  7583. the buttons that appear in the menu bar. Makes things a little
  7584. easier). Updated UpdateWindowDecorations, SetWindowState and the
  7585. mouse eventhandlers accordingly.
  7586. * Form.cs: Add ChangingParent (), contains the
  7587. logic of what should happen when the parent changes. In MdiParent
  7588. don't set things that ChangingParent () is doing. When handling
  7589. WM_CLOSE, we can close the form if there are any other modal forms
  7590. and the current form is a descendent of the modal form.
  7591. * InternalWindowManager.cs: A lot of refactoring,
  7592. the title buttons are now extracted to a separate container class
  7593. that takes care of all button code (clicks, tooltips, etc). Moved
  7594. Iconic|Maximized|Normal Bounds properties to this class from
  7595. MdiWindowManager, so that the window state logic can succeed for
  7596. other than mdi wm's. Implemented general window state change logic.
  7597. Moved CreateButtons to ThemeWin32Classic, since the theme might
  7598. override which buttons are available when as well as the exact
  7599. location.
  7600. * FormWindowManager.cs: Added, contains logic for
  7601. normal forms.
  7602. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  7603. which buttons go where (and if they are at all visible).
  7604. Removed special handling of maximized windows, since they aren't special.
  7605. In DrawManagedWindowDecorations don't try to draw the text if it is
  7606. empty.
  7607. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  7608. use whatever the wm gives us.
  7609. 2007-03-02 Jonathan Pobst <[email protected]>
  7610. * ButtonBase.cs: Add 2.0 properties.
  7611. * Button.cs: Override Draw for 2.0.
  7612. * Control.cs: Add Entered and Selected properties.
  7613. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  7614. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  7615. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  7616. buttons.
  7617. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  7618. 2007-03-01 Jonathan Pobst <[email protected]>
  7619. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  7620. 2007-03-01 Jonathan Pobst <[email protected]>
  7621. * XplatUIWin32.cs: Register a new class with Windows each time we get
  7622. a new ClassStyle. [Fixes bugs #79432, #80817]
  7623. * Controls.cs: Set the correct ClassStyle in CreateParams.
  7624. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  7625. 2007-03-01 Gert Driesen <[email protected]>
  7626. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  7627. ColumnReordered event must not be signaled when modifying DisplayIndex
  7628. of a ColumnHeader. Added internal ReorderColumns method which takes
  7629. care of drawing, and updating the internal DisplayIndex of the
  7630. ColumnHeader. Added AddColumn method which is invoked from
  7631. ColumnHeaderCollection when adding or inserting columns, and which
  7632. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  7633. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  7634. Recalculated dispay indices after removing a ColumnHeader.
  7635. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  7636. match MS. Allows last display index to be returned after ListView
  7637. is disposed. Update actual location of ColumnHeader when DisplayIndex
  7638. is modified.
  7639. 2007-03-01 Everaldo Canuto <[email protected]>
  7640. * LinkLabel.cs: Improve CalcTrimRectangle.
  7641. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  7642. 2007-02-28 Everaldo Canuto <[email protected]>
  7643. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  7644. get rectangle as a result value.
  7645. 2007-02-28 Everaldo Canuto <[email protected]>
  7646. * LinkLabel.cs: Theres some diferences between rectangle return from
  7647. MeasureCharacterRanges and the area used for DrawString to fix this
  7648. CalcMeasurementFactor method was created, it calcules the diferences
  7649. to be use later to adjust rectangle in draw operations. Fixes #80473.
  7650. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  7651. to adjust draw rectangle.
  7652. 2007-02-27 Everaldo Canuto <[email protected]>
  7653. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  7654. text and some other changes to reduce and optimize source code.
  7655. 2007-02-27 Jonathan Pobst <[email protected]>
  7656. * RadioButton.cs: Implement 2.0 event.
  7657. * RelatedImageListAttribute.cs: Implement new class.
  7658. 2007-02-27 Everaldo Canuto <[email protected]>
  7659. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  7660. 2007-02-27 Jonathan Pobst <[email protected]>
  7661. * CheckBox.cs: Implement 2.0 functionality.
  7662. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  7663. * ListView.cs: Refactor Add and AddRange methods of
  7664. ListViewItemCollection, to not update the ListView
  7665. everytime an item is added in AddRange. Also move the update
  7666. code to a new CollectionChanged method, and call it
  7667. from other methods that need it as well (this should also fix some
  7668. bugs when Sorting is used).
  7669. 2007-02-27 Jackson Harper <[email protected]>
  7670. * TextControl.cs: Try to never let the caret stay in a non-text
  7671. tag.
  7672. * TextBoxBase.cs: Update the caret.
  7673. 2007-02-26 Jonathan Pobst <[email protected]>
  7674. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  7675. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  7676. delete POINT structure, duplicate of one in XplatUIStructs.
  7677. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  7678. 2007-02-26 Gert Driesen <[email protected]>
  7679. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  7680. edit box since otherwise the Label would immediately be set (even if
  7681. the user did not modify the label). In OnKeyDown set Handled to true
  7682. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  7683. columns that are to be removed. In ListViewItemCollection unlink items
  7684. that are to be removed.
  7685. 2007-02-24 Jonathan Pobst <[email protected]>
  7686. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  7687. it when we are done. [Fixes bug #80949]
  7688. 2007-02-23 Jonathan Pobst <[email protected]>
  7689. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  7690. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  7691. * ListView.cs: I forgot to commit the changes for ListView
  7692. in my previous patch.
  7693. 2007-02-23 Jonathan Pobst <[email protected]>
  7694. * Clipboard.cs: Partially implement an overload of SetDataObject.
  7695. * Form.cs: Implement ShowWithoutActivation.
  7696. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  7697. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  7698. This is a first set of changes to make the Virtual mode works,
  7699. by avoiding the retrieval of ListViewItem instances until
  7700. draw time.
  7701. * ListView.cs: Store item position in the ListView instead of the
  7702. ListViewItem, this way we don't request the Bounds property of
  7703. ListViewItem inside the ListView calculations, as well as cache the item
  7704. size in item_size field. Store indexes instead of ListViewItem
  7705. instances in the matrix used by icon view. Add a ItemMatrixLocation
  7706. struct to hold the row and col info of the matrix info.
  7707. * ListViewItem.cs: Don't store the location anymore, and only cache
  7708. the rectangles for GetBounds. Use the ListView.GetItemLocation
  7709. method to retrieve the actual location.
  7710. 2007-02-23 Jonathan Pobst <[email protected]>
  7711. * TextRenderer.cs: Add clipping support, thanks to George.
  7712. [Fixes bug #80949]
  7713. 2007-02-23 Gert Driesen <[email protected]>
  7714. * ListViewItem.cs: Cancel label edit when item is removed from
  7715. ListView.
  7716. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  7717. event before the edit textbox is displayed. Added CancelEdit method
  7718. which is used end to editing while ignoring the value set by the
  7719. user. In EndEdit, set focus to ListView to avoid losing focus to
  7720. other controls. In ListViewItemCollection.Clear, cancel editing of
  7721. any of the items. In Remove, cancel editing of item being removed.
  7722. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  7723. 2007-02-23 Gert Driesen <[email protected]>
  7724. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  7725. bug #80948.
  7726. 2007-02-23 Everaldo Canuto <[email protected]>
  7727. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  7728. compatible with non X11 systems. Fixes #80901.
  7729. 2007-02-23 Gert Driesen <[email protected]>
  7730. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  7731. whether the item should be unselected and reselect. We do no want this
  7732. when we're starting to edit the label. Do not fire the
  7733. SelectedIndexChanged event from ListView when its already been fired
  7734. by modifying ListViewItem.Selected. Fixes bug #80943.
  7735. 2007-02-23 Jonathan Pobst <[email protected]>
  7736. * TextRenderer.cs: Previos commit logic was backwards.
  7737. 2007-02-23 Jonathan Pobst <[email protected]>
  7738. * TextRenderer.cs: Don't add padding on MeasureText if we were
  7739. sent the NoPadding flag.
  7740. 2007-02-23 Everaldo Canuto <[email protected]>
  7741. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  7742. after DrawButton. To prevent image overlaps button borders SetClip and
  7743. ResetClip added before and after draw image. Fixes #79129.
  7744. 2007-02-23 Everaldo Canuto <[email protected]>
  7745. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  7746. window size, it fix problem when you run under win32 that theres
  7747. Size diferent than ClientSize. Also fix controls size and positions
  7748. to mimic Win32. Fixes #80837.
  7749. 2007-02-22 Everaldo Canuto <[email protected]>
  7750. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  7751. menu area to fix some problems for non X11 systems. Fixes #80613.
  7752. 2007-02-22 Jackson Harper <[email protected]>
  7753. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  7754. even if it doesn't have any children.
  7755. 2007-02-22 Jackson Harper <[email protected]>
  7756. * TreeView.cs: Calculate the top node 'on the fly', this
  7757. eliminates issues where you need to click on the tree before
  7758. scrolling it to get the top node computed correctly.
  7759. * TreeNodeCollection.cs: We don't need to mess with the top node
  7760. anymore.
  7761. 2007-02-22 Jackson Harper <[email protected]>
  7762. * DataGridViewRow.cs: Fix typo so height can actually be set.
  7763. Patch by Peter Grimm.
  7764. 2007-02-22 Gert Driesen <[email protected]>
  7765. * FileDialog.cs: Fixed support for renaming files and directories.
  7766. * ListView.cs: Do not lose focus when edit is canceled. Process
  7767. Escape as regular key (to prevent closing of dialogs).
  7768. 2007-02-22 Gert Driesen <[email protected]>
  7769. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  7770. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  7771. 2007-02-22 Gert Driesen <[email protected]>
  7772. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  7773. did not modify label.
  7774. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  7775. modified the text. Reset Label when user presses Escape in edit mode.
  7776. Move focus to ListView after having cancelled or finished editing the
  7777. label.
  7778. 2007-02-21 Gert Driesen <[email protected]>
  7779. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  7780. private. Clear textbox when Text is set to null and SelectedIndex is
  7781. already -1.
  7782. * FileDialog.cs: Removed unnecessary initializations. Removed
  7783. workarounds for ComboBox bugs that are now fixed. Modified
  7784. DefaultExt, InitialDirectory and Title property to change null to
  7785. zero-length string in getters. Avoid directly accessing fields.
  7786. 2007-02-20 Jackson Harper <[email protected]>
  7787. * TextControl.cs: Remove RecalAlignments call, that was some
  7788. debugging leftovers.
  7789. - Don't use the line indent when we shouldn't.
  7790. * RichTextBox.cs: Add support for paragraph left indents.
  7791. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  7792. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  7793. Seems like the class status pages doesn't catch params differences.
  7794. 2007-02-19 Gert Driesen <[email protected]>
  7795. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  7796. 2007-02-19 Gert Driesen <[email protected]>
  7797. * ComboBox.cs: Setting Text should have no effect if item text of
  7798. selected item exactly matches value. First lookup text using
  7799. case-sensitive comparison, and fallback to case-insensitive comparison.
  7800. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  7801. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  7802. paramname to match MS. Restart from first item if string is not found
  7803. after startIndex. Fixed paramname of ArgumentNullException that is
  7804. thrown for null value in ObjectCollection.Contains.
  7805. 2007-02-19 Everaldo Canuto <[email protected]>
  7806. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  7807. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  7808. * ListControl.cs: In SelectedValue use value.Equals to compare for
  7809. equality instead of ==, otherwise it will fail for strings.
  7810. Fixes #80794.
  7811. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  7812. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  7813. since the caret won't show up unless ShowSelection is true.
  7814. Fixes #80795.
  7815. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  7816. * Application.cs: When disabling all forms but the main form, do not
  7817. disable any descendants of the main form (such as mdi children or
  7818. other parented forms). Fixes #80822 on Windows.
  7819. * Form.cs: If we have a parent, set the WS_CHILD style.
  7820. * Control.cs: Update the window styles if the control whose parent has
  7821. changed is a form (the WS_CHILD style has to be switched).
  7822. 2007-02-19 Everaldo Canuto <[email protected]>
  7823. * XplatUIStructs.cs: MsgUIState structure added.
  7824. 2007-02-18 Gert Driesen <[email protected]>
  7825. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  7826. profile, do not check filename(s) for illegal character if filename(s)
  7827. were set non-interactively but always check on 1.0 profile. Fixed NRE
  7828. in DefaultExt and only strip off first leading dot. Improve exception
  7829. message when invalid Filter is set. Do not ignore InitialDirectory if
  7830. it does no exist. Store specified Title, and if empty use default
  7831. title (depending on type of dialog). Added an internal DialogTitle
  7832. property for retrieving dialog title. Fixed logic of displayed dir to
  7833. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  7834. string as its buggy.
  7835. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  7836. FileName is a zero-length string (it can never be null). Override
  7837. DialogTitle property to set default title of dialog box.
  7838. * SaveFileDialog.cs: Override DialogTitle property to set default
  7839. title of dialog box.
  7840. 2007-02-18 Gert Driesen <[email protected]>
  7841. * FileDialog.cs: Modify default text of filename and filetype labels
  7842. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  7843. after we've updated the SelectedIndex. Fixes part of bug #80887.
  7844. * SaveFileDialog.cs: Set text of filetype label.
  7845. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  7846. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  7847. label field. Needed by latest Jackson's fixes for ListView.
  7848. 2007-02-16 Andreia Gaita <[email protected]>
  7849. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  7850. print preview images.
  7851. 2007-02-16 Jackson Harper <[email protected]>
  7852. * ListView.cs: Make AfterLabelEdit work correctly.
  7853. * FileDialog.cs: After changing the name of the folder, we have to
  7854. make sure that it is created, or that we pop up an error because
  7855. it already exists.
  7856. 2007-02-16 Jackson Harper <[email protected]>
  7857. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  7858. System.String are mapped to text.
  7859. - Handle dataobjects, getting all the possible formats out of them
  7860. - We dont need the drag event args before we give feedback. This
  7861. allows feedback cursors to be immediate before selections have
  7862. been converted.
  7863. 2007-02-16 Jackson Harper <[email protected]>
  7864. * TextBoxBase.cs: Modified the method for inserting images to
  7865. taking a line and position instead of tag and position.
  7866. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  7867. into the RTF file.
  7868. * TextControl.cs: Allow images to be inserted as the first tag of
  7869. a line.
  7870. - Fix some off by one issues when we assume the first tag is a
  7871. text tag, not an image tag.
  7872. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  7873. * ListView.cs: Set focus to ListView when ItemControl gets a
  7874. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  7875. Fixes part of #80467.
  7876. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  7877. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  7878. validate Text input (if null or empty string reset Value to default
  7879. value). Fixes #80830.
  7880. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  7881. * ListView.cs: Set owner as null for columns and items when
  7882. Dispose is invoked. Fixes #80607.
  7883. 2007-02-14 Jonathan Pobst <[email protected]>
  7884. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  7885. showing DropDowns, don't show a Grip when doing Flow layout.
  7886. [This fixes the toolbox in PDN 2.72.]
  7887. * ToolStripItem.cs: Add Anchor property and some internal properties to
  7888. reduces needed changes to FlowLayout.
  7889. * ToolStripOverflow.cs: Remove unused variable.
  7890. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  7891. use it in the layout calculations.
  7892. 2007-02-13 Everaldo Canuto <[email protected]>
  7893. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  7894. reported in #79640.
  7895. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  7896. size calculation.
  7897. 2007-02-13 Everaldo Canuto <[email protected]>
  7898. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  7899. MeasureString format, it can make button very large in some cases, it is
  7900. strange but is what win32 do.
  7901. 2007-02-13 Everaldo Canuto <[email protected]>
  7902. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  7903. size calculation.
  7904. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  7905. rendering, the value is based on MenuAccessKeysUnderlined.
  7906. 2007-02-13 Everaldo Canuto <[email protected]>
  7907. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  7908. for most themes.
  7909. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  7910. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  7911. and use MenuAccessKeysUnderlined instead.
  7912. 2007-02-13 Andreia Gaita <[email protected]>
  7913. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  7914. A selected control would not get a Focus call if:
  7915. - the default active control of the container is the same as
  7916. the one that was selected
  7917. - we are switching from one container to another
  7918. Under these conditions, the container being selected already has
  7919. an active_control, which is the same as the one being activated,
  7920. so set_ActiveControl would always return and not send the Focus
  7921. call. Fix to check if the currently active control of the container
  7922. is actually focused.
  7923. 2007-02-13 Jonathan Pobst <[email protected]>
  7924. * StatusStrip.cs: Implement the spring layout.
  7925. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  7926. always matches the host.
  7927. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  7928. and TextAfterImage.
  7929. 2007-02-13 Andreia Gaita <[email protected]>
  7930. * Control.cs: Code reorganization only.
  7931. - Reorganize the WndProc cases so that each case has it's own handling method,
  7932. to help with the no-line-numbering stack traces.
  7933. - Formatting changes (it's vstudio's fault, really :p)
  7934. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  7935. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  7936. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  7937. behaviour.
  7938. 2007-02-12 Jackson Harper <[email protected]>
  7939. * RichTextBox.cs:
  7940. * TextBox.cs: By default we have a non multiline document
  7941. - use the multiline property instead of the internal variable
  7942. * TextBoxBase.cs: Treat multiline and non multiline the same in
  7943. most places.
  7944. - Use the documents multiline flag instead of tracking it ourself
  7945. * TextControl.cs: Attempt at getting multiline to match MS
  7946. behavior. Lines now track an offset, which is either their X or Y
  7947. offset depending on whether or not we are in multiline mode.
  7948. - Update all the methods to understand that lines have an X value.
  7949. - Fix crash in Undo::Duplicate when empty lines are deleted.
  7950. 2007-02-12 Everaldo Canuto <[email protected]>
  7951. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  7952. code moved to properties PreferredHeight and PreferredWidth. It solve the
  7953. all problems when preferred sizes must be recalculated. Fixes #80801.
  7954. 2007-02-12 Everaldo Canuto <[email protected]>
  7955. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  7956. font height when compatible_text_rendering is false. Partially fix #80801.
  7957. 2007-02-09 Gert Driesen <[email protected]>
  7958. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  7959. 2007-02-09 Gert Driesen <[email protected]>
  7960. * Form.cs: Improved exception messages in ShowDialog.
  7961. 2007-02-09 Gert Driesen <[email protected]>
  7962. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  7963. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  7964. if not set. Fixes bug #80764. Avoid accessing current_settings field
  7965. directly.
  7966. 2007-02-08 Everaldo Canuto <[email protected]>
  7967. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  7968. false.
  7969. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  7970. public in 2.0 and for easy maintenance and dont break compatibility it is
  7971. internal in 1.1.
  7972. 2007-02-08 Jonathan Pobst <[email protected]>
  7973. * ToolStripItem.cs: Implement using images from ImageList.
  7974. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7975. * DateTimePicker.cs: Change default date-formatting culture from
  7976. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  7977. seems to be the way MS does it.
  7978. 2007-02-08 Andreia Gaita <[email protected]>
  7979. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  7980. (the 6 was cut off on the right side)
  7981. 2007-02-08 Jonathan Pobst <[email protected]>
  7982. * Form.cs: Tell MenuStrips to close when the form is clicked.
  7983. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  7984. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  7985. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  7986. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  7987. support for Overflow, where items that do not fit are automatically
  7988. reparented to a drop down menu.
  7989. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  7990. Also: fixes bug #80747.
  7991. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7992. * ComboBox.cs: Remove warning (unused code).
  7993. * ScrollableControl.cs: Remove warning for 1.1 profile.
  7994. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7995. * Form.cs: Remove a warning.
  7996. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  7997. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  7998. 'g' specifier, not documented anywhere, but seems to always show up
  7999. as a single space (might have something to do with the DateTime 'g'
  8000. specifier, which is the era format, but since DateTimePicker can't
  8001. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  8002. won't crash if the format has an unmatched quote. Now shows
  8003. single-character formats correctly. Fixes #80744.
  8004. 2007-02-08 Jonathan Pobst <[email protected]>
  8005. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  8006. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  8007. 2007-02-07 Chris Toshok <[email protected]>
  8008. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  8009. background color. it overwrites the background image we've
  8010. already painted. Fixes #80599.
  8011. 2007-02-07 Chris Toshok <[email protected]>
  8012. * DataGrid.cs: return immediately from Edit() when there are no
  8013. columns. Fixes #80662.
  8014. 2007-02-07 Chris Toshok <[email protected]>
  8015. * MessageBox.cs: fix #80625. don't always show the Help button in
  8016. 2.0. use the displayHelpButton parameter to determine if we
  8017. should show it. Also, make the internal show_help field private.
  8018. 2007-02-07 Chris Toshok <[email protected]>
  8019. * Control.cs (SetVisibleCore): check in the proposed patch for
  8020. 80604, and set is_visible before calling CreateControl.
  8021. 2007-02-07 Jonathan Pobst <[email protected]>
  8022. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  8023. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  8024. on it.
  8025. 2007-02-06 Everaldo Canuto <[email protected]>
  8026. * MenuAPI.cs: hotkey_active internal field added, it is required because
  8027. we need to know when hotkeys must be draw, before this change a keystate
  8028. Navigating was used but we can have menu in navigating state without
  8029. hotkeys. Fixes #80694.
  8030. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  8031. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  8032. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  8033. corresponding events and methods to be internal for 1.1 profile and
  8034. public for 2.0 profile (required by SizeGrip).
  8035. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  8036. implicit control list). Don't set the size nor the location of the
  8037. SizeGrip anymore as it's not needed.
  8038. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  8039. draw directly on the captured control (fixes #80656). Removed
  8040. ShowGrip (it wasn't used anywhere), redraw (always true), added
  8041. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  8042. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  8043. be called from SizeGrip.
  8044. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  8045. * Timer.cs: Throw ArgumentException if Interval <= 0.
  8046. 2007-02-05 Jackson Harper <[email protected]>
  8047. * TreeView.cs: We need to check scrollbar visibility when window
  8048. visibility is updated, because non visible trees don't ever add
  8049. scrollbars.
  8050. * Cursor.cs: We want the override cursor to be reset to NULL when
  8051. we set current cursor to the default cursor.
  8052. 2007-02-05 Jackson Harper <[email protected]>
  8053. * TextControl.cs: Don't have crlfs when we are non multiline.
  8054. - Consolidate the line position.
  8055. 2007-02-05 Jackson Harper <[email protected]>
  8056. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  8057. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  8058. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  8059. handling LeaveNotify->NotifyUngrab in order to send
  8060. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  8061. after calling XUngrabPointer, so we call WindowUngrabbed directly
  8062. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  8063. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  8064. MouseCaptureChanged correctly. Also create handles if changing
  8065. Capture (matches MS behaviour).
  8066. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8067. * SizeGrip.cs: Make the last change 2.0 only.
  8068. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8069. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  8070. changes to initial size (fixes #80597).
  8071. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8072. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  8073. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  8074. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  8075. background) and only allow dragging if enabled. This way the
  8076. sizegrip can be used to fill the open square that otherwise would
  8077. have been shown in the bottom right corner of ScrollableControl
  8078. when ScrollableControl is not suppose to support sizing.
  8079. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  8080. sizegrip is shown and enabled, and hook up with necessary events.
  8081. 2007-02-01 Chris Toshok <[email protected]>
  8082. * DataGridTextBoxColumn.cs: clean up the
  8083. GetFormattedString/GetColumnValueAtRow combination of functions.
  8084. Also fix UpdateUI, and the initial state of
  8085. IsInEditOrNavigateMode.
  8086. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  8087. aren't supposed to scroll the textbox here, we're supposed to
  8088. scroll the datagrid.
  8089. 2007-02-01 Chris Toshok <[email protected]>
  8090. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  8091. setting the position.
  8092. 2007-02-01 Chris Toshok <[email protected]>
  8093. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  8094. here, since the most recent focus fixes keep us from generating
  8095. the Leave event when our textbox gets focus.
  8096. (Edit): we should be passing null for the column style's
  8097. instantText parameter.
  8098. 2007-02-01 Jonathan Pobst <[email protected]>
  8099. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  8100. raised. Fixes menu text/icons not showing up in PDN.
  8101. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  8102. * Control.cs: Remove code in constructor that makes every
  8103. control with WS_CHILD set have initial location -1, -1.
  8104. 2007-01-31 Jackson Harper <[email protected]>
  8105. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  8106. XplatUIX11.
  8107. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  8108. 2007-01-31 Jackson Harper <[email protected]>
  8109. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  8110. - Remove some debug code.
  8111. 2007-01-31 Jackson Harper <[email protected]>
  8112. * XplatUIX11.cs: If you set the override cursor during a grab, it
  8113. should actually override the grab cursor. This comes into play
  8114. when you are setting custom cursors in a DND feedback method.
  8115. 2007-01-31 Jackson Harper <[email protected]>
  8116. * X11Dnd.cs: Add support for handling the QueryContinue and
  8117. GiveFeedback events.
  8118. - Cancel drag and drop actions when the escape key is clicked.
  8119. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  8120. can handle the ESCAPE key.
  8121. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  8122. done when dnd events are continued after the button is released.
  8123. - Add a new helper method so that dnd can translate key events.
  8124. 2007-01-31 Alexander Olk <[email protected]>
  8125. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  8126. make it more obvious what is happening.
  8127. 2007-01-30 Jackson Harper <[email protected]>
  8128. * XplatUIX11.cs: Don't break when handling button release in drag
  8129. and drop operations. We need that BUTTONUP message to get through
  8130. so capture is released.
  8131. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  8132. this is handled automatically when the mouse is down.
  8133. 2007-01-30 Jackson Harper <[email protected]>
  8134. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  8135. is closed, so we need to make sure that we aren't changing the
  8136. dialog result when the OK (Open or Save) button has been clicked
  8137. and we are closing the window ourselves. Note we don't need to
  8138. worry about the cache being written in this case, because it was
  8139. already done in the previous FilOk call.
  8140. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  8141. * DateTimePicker.cs: Remove a warning.
  8142. * ComboBox.cs: Remove a couple of warnings.
  8143. 2007-01-29 Chris Toshok <[email protected]>
  8144. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  8145. set one, if SetIcon is passed a null icon.
  8146. 2007-01-29 Andreia Gaita <[email protected]>
  8147. * TextBox.cs: Redraw when the password characters changes
  8148. * TextControl.cs: Check if textbox has a password char and draw
  8149. a line of password chars instead of the text in the line. LineTag gets
  8150. an extra Draw() method which allows document.Draw to override the text
  8151. that will be drawn. Removes 1024 char limitation on length of passworded
  8152. lines.
  8153. 2007-01-29 Jackson Harper <[email protected]>
  8154. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  8155. single chars is not.
  8156. 2007-01-28 Jonathan Pobst <[email protected]>
  8157. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  8158. one pixel. Fix a StackOverflowException caused by an overload wrongly
  8159. calling itself.
  8160. 2007-01-26 Everaldo Canuto <[email protected]>
  8161. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  8162. also remove ProcessArrowKey and put the code inside ProcessKeys.
  8163. 2007-01-26 Jonathan Pobst <[email protected]>
  8164. * PaddingConverter.cs: Added.
  8165. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  8166. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  8167. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  8168. of text (fixes #80601). For panels clip the text to draw to the
  8169. panel (fixes #80603).
  8170. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  8171. * ComboBox.cs: Fixed implementation of ResetText.
  8172. 2007-01-25 Jackson Harper <[email protected]>
  8173. * TextControl.cs: For the last char of a line we need to use the
  8174. line size, not that chars width, since it won't actually be
  8175. computed since the right side of a char is based on the start of
  8176. the left side of the next char, and the next char does not exist.
  8177. 2007-01-25 Chris Toshok <[email protected]>
  8178. * Splitter.cs: fix the new unit tests, and reindent some switch
  8179. statements.
  8180. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8181. * ComboBox.cs: Implemented 2.0 methods and events.
  8182. * TextBoxBase.cs: Added OnTextUpdate, so that
  8183. ComboBox.ComboTextBox can inform ComboBox of it.
  8184. 2007-01-25 Jackson Harper <[email protected]>
  8185. * TextControl.cs: Respect ShowSelection when deciding whether or
  8186. not to display the caret, this allows comboboxes to have carets
  8187. when the combotextbox does not have focus.
  8188. 2007-01-25 Jackson Harper <[email protected]>
  8189. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  8190. same as the Suspend/Resume for recalc, except this will do actual
  8191. Invalidates.
  8192. - New Undo manager, works much like the MS version.
  8193. - Implemented Redo
  8194. * TextBoxBase.cs: The Cut operation is undoable.
  8195. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8196. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  8197. on Windows (no difference on Linux).
  8198. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8199. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  8200. we don't want to activate any windows. Fixes #79433.
  8201. 2007-01-25 Jonathan Pobst <[email protected]>
  8202. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  8203. [Fixes bug #80609]
  8204. 2007-01-25 Alexander Olk <[email protected]>
  8205. * FileDialog.cs:
  8206. - Move to using System.ComponentModel.EventHandlerList
  8207. - Replace Refresh with Invalidate
  8208. - Clear the mime filecache on closing
  8209. - Some other memory reducing work. After beeing closed FD now uses
  8210. only about 300 KB for the fdo mime stuff plus the memory of the
  8211. cached icons.
  8212. * Mime.cs: Changed coding style and removed unnecessary commented
  8213. code. Some more memory memory reducing work.
  8214. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  8215. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  8216. a few other missing 2.0 properties.
  8217. * Theme.cs: Added DrawFlatStyleComboBox.
  8218. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  8219. 2007-01-24 Chris Toshok <[email protected]>
  8220. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  8221. wake_waiting flag, not just when there's data to be read. if we
  8222. don't, then future wakeup's won't reach us and we'll be doomed to
  8223. wait for the entire 1 second timeout forever (unless there are X
  8224. events to be had).
  8225. 2007-01-24 Jonathan Pobst <[email protected]>
  8226. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  8227. until you pass Items.Count, not Items.Count - 1 like 1.1.
  8228. 2007-01-24 Gert Driesen <[email protected]>
  8229. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  8230. 2007-01-24 Jonathan Pobst <[email protected]>
  8231. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  8232. adding the panels in the wrong order.
  8233. 2007-01-24 Jackson Harper <[email protected]>
  8234. * TextBoxBase.cs: When we move the caret we also need to move the
  8235. selection, this fixes some random crashing after doing select
  8236. text, unselect, delete a char, paste.
  8237. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  8238. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  8239. 2007-01-23 Everaldo Canuto <[email protected]>
  8240. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  8241. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  8242. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  8243. 2007-01-23 Everaldo Canuto <[email protected]>
  8244. * ToolBar.cs:
  8245. - Implement support for vertical toolbars. Fixes #80539;
  8246. - Call LayoutToolBar when resize, it fix some other problems in layout.
  8247. - Rename requested_height to requested_size, as we can have width on it
  8248. when toolbar is vertical.
  8249. - Create a private property "Vertical" that uses Dock to verify when
  8250. toolbar is vertical or not.
  8251. - Set ControlStyles when change Dock property.
  8252. - Refactory in LayoutToolBar to have better variables names and to support
  8253. vertical toolbars.
  8254. - Fixes default value for ButtonSize when button count is equal zero, size
  8255. must be (39, 36) test case writed.
  8256. 2007-01-23 Chris Toshok <[email protected]>
  8257. * Control.cs: fix the checks so that they work correctly for mdi
  8258. parents/children.
  8259. 2007-01-23 Chris Toshok <[email protected]>
  8260. * Control.cs: ControlCollection seems to have super-secret
  8261. abstraction breaking knowledge of Mdi containers. allow MdiClient
  8262. to add toplevel controls.
  8263. 2007-01-23 Chris Toshok <[email protected]>
  8264. * Control.cs: throw an ArgumentException if a toplevel control is
  8265. added to our control collection from ControlCollection.Add, as
  8266. well as from ControlCollection.IList.Add. This fixes the
  8267. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  8268. Also, in ControlCollection.IList.Add, don't through an
  8269. ArgumentNullException, throw an ArgumentException, when value ==
  8270. null. This matches MS.
  8271. 2007-01-23 Chris Toshok <[email protected]>
  8272. * BindingSource.cs: initial, incomplete, implementation of
  8273. BindingSource.
  8274. 2007-01-23 Jackson Harper <[email protected]>
  8275. * TextControl.cs:
  8276. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  8277. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  8278. 2007-01-23 Everaldo Canuto <[email protected]>
  8279. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  8280. 2007-01-23 Andreia Gaita <[email protected]>
  8281. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  8282. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  8283. IndexOfKey() for 2.0
  8284. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  8285. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  8286. to prevent it from changing z-order.
  8287. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  8288. leave UI updates in MdiWindowManager.
  8289. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  8290. 1 sized (NC handling goes weird on Linux otherwise).
  8291. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  8292. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  8293. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  8294. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  8295. and SetWindowState(s) to allow for changing the size of an activated child
  8296. before activating it (reduces a lot of flicker).
  8297. 2007-01-22 Jonathan Pobst <[email protected]>
  8298. * Form.cs: Changing FormBorderStyle has different semantics based
  8299. on whether the Form is visible or not. If not visible, don't change
  8300. the Size. But InvalidateNC needs to be called to force the window
  8301. to pick up the changes and redraw itself. [Fixes bug #80574]
  8302. 2007-01-22 Jonathan Pobst <[email protected]>
  8303. [Moma work]
  8304. * ContainerControl.cs: ProcessCmdKey.
  8305. * ErrorProvider.cs: new constructor.
  8306. * Form.cs: fix AutoValidateEvent compiler warning.
  8307. * Label.cs: fix OnAutoSizeChanged compiler warning.
  8308. * MenuStrip.cs: fix CanOverflow compiler warning.
  8309. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  8310. * TextBox.cs: Dispose.
  8311. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  8312. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  8313. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  8314. * ToolStripItem.cs: Overflow, RightToLeft properties.
  8315. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  8316. * Form.cs: Move the layout of the main form to MdiWindowManager.
  8317. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  8318. do a layout of the main window to update MdiClient's client area to
  8319. the right area. Fixes #80533. Remove the calculation of nc size,
  8320. it was just wrong and the correct one is the same as for
  8321. InternalWindowManager.
  8322. 2007-01-20 Jonathan Pobst <[email protected]>
  8323. * Control.cs: Setting Anchor or Dock needs to reset the other
  8324. to its default. [Fixes bug #80556]
  8325. 2007-01-20 Chris Toshok <[email protected]>
  8326. * CheckedListBox.cs: class status changes.
  8327. * ScrollableControl.cs: same.
  8328. * RichTextBox.cs: same.
  8329. * ContainerControl.cs: same.
  8330. * ListView.cs: same.
  8331. * NotifyIcon.cs: same.
  8332. * MenuStrip.cs: same.
  8333. * RadioButton.cs: same.
  8334. * CheckBox.cs: same.
  8335. * PrintPreviewDialog.cs: same.
  8336. * Form.cs: same.
  8337. 2007-01-19 Jonathan Pobst <[email protected]>
  8338. * TreeNode.cs: Apply Alan's patch for Name property.
  8339. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  8340. * Form.cs: Implemented SizeGripStyle.
  8341. * SizeGrip.cs: Check for minimum and maximum size for the
  8342. control being resized and only resize if size has actually
  8343. changed.
  8344. 2007-01-19 Chris Toshok <[email protected]>
  8345. * DataGridColumnStyle.cs: stop setting _readonly in the
  8346. PropertyDescriptor setter. fixes a unit test failure.
  8347. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  8348. just consult our table style (if we have one). We don't need to
  8349. consult the datagrid readonly attribute because that's passed in
  8350. as the _ro arg to Edit. this simplifies things a little.
  8351. * DataGrid.cs: use CurrentColumn instead of
  8352. current_cell.ColumnNumber just to simplify some of the code.
  8353. switch the order of some things in the CurrentCell setter to keep
  8354. the previous cell from getting a textbox again -
  8355. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  8356. So we need to set the new cell before calling it.
  8357. call Edit in OnEnter, as does Microsoft.
  8358. also, make sure the current table style isn't the one we create
  8359. initially when checking to see if it's different than the one
  8360. we're setting it to in BindColumns (this fixes #80421).
  8361. * GridTableStylesCollection.cs: table styles can have "" for a
  8362. mapping name. part of the fix for #80421.
  8363. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  8364. Edit significantly.
  8365. 2007-01-18 Jonathan Pobst <[email protected]>
  8366. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  8367. and less GDI object leaky-er.
  8368. 2007-01-18 Andreia Gaita <[email protected]>
  8369. * LinkLabel.cs: Add opaque control style
  8370. 2007-01-18 Jackson Harper <[email protected]>
  8371. * TextControl.cs: Calculate width properly.
  8372. - Don't store the tag's X offset, this can be figured out very
  8373. easily.
  8374. - When getting the caret tag make sure to get the last empty tag.
  8375. 2007-01-18 Jonathan Pobst <[email protected]>
  8376. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  8377. [Fixes bug #79959]
  8378. * Control.cs: Color.Empty shouldn't count for previous transparent
  8379. redraw changes.
  8380. 2007-01-18 Jackson Harper <[email protected]>
  8381. * TextBox.cs:
  8382. * RichTextBox.cs:
  8383. * TextControl.cs: Starting to merge in some pieces of my older
  8384. undo work. Basically just some slight cleanup of the undo API.
  8385. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  8386. * TrackBar.cs: Fix signature of RightToLeftLayout.
  8387. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  8388. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  8389. * Application.cs: Implemented UseWaitCursor.
  8390. 2007-01-18 Jackson Harper <[email protected]>
  8391. * TextControl.cs: We can't skip tags if any part of the tag is
  8392. visible.
  8393. 2007-01-18 Jonathan Pobst <[email protected]>
  8394. * ContainerControl.cs: Override OnLayout.
  8395. 2007-01-18 Jonathan Pobst <[email protected]>
  8396. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  8397. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  8398. everything else.
  8399. 2007-01-18 Chris Toshok <[email protected]>
  8400. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  8401. (leftover from the container_selected days, I'd wager). fixes bug
  8402. #80546.
  8403. 2007-01-18 Jonathan Pobst <[email protected]>
  8404. * Control.cs: Apply patch from George to fix the new testcase on
  8405. bug #80451. We can't just check for Color.Transparent, we need
  8406. to check if the back color's alpha channel is < 255.
  8407. 2007-01-18 Jonathan Pobst <[email protected]>
  8408. * Form.cs: Move setting show_icon = true to before the constructor
  8409. so that the base constructor has that information when it calculates
  8410. the form's size. Was causing forms to be (6, 6) bigger than they
  8411. were supposed to be. Thanks for catching this Rolf!
  8412. 2007-01-18 Jackson Harper <[email protected]>
  8413. * TextControl.cs: When replacing a selection we need to invalidate
  8414. from the initial selection start, because selection start is moved
  8415. to the end of the replacement.
  8416. 2007-01-18 Andreia Gaita <[email protected]>
  8417. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  8418. 2007-01-18 Chris Toshok <[email protected]>
  8419. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  8420. I just added.
  8421. 2007-01-17 Everaldo Canuto <[email protected]>
  8422. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  8423. layout methods and properties from ToolBarButton must be available
  8424. into ToolBarButtonInfo.
  8425. 2007-01-17 Jonathan Pobst <[email protected]>
  8426. * Control.cs: If the control has a transparent background, we
  8427. need to refresh it when it moves and when it's parent's background
  8428. image changes. [Fixes bug #80451]
  8429. 2007-01-17 Jonathan Pobst <[email protected]>
  8430. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  8431. 2007-01-17 Jonathan Pobst <[email protected]>
  8432. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  8433. [Fixes bug #80447, and probably speeds up things as well]
  8434. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8435. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  8436. * XplatUIWin32.cs: We need to recalculate NC size after changing
  8437. window style to toolwindow (otherwise the client rectangle will be
  8438. 3 pixels to small for some reason).
  8439. * MdiWindowManager.cs: Revert NC size calculations to match how
  8440. they are calculated only based on window styles (to match
  8441. Win32AdjustWindowRectEx, since otherwise when setting size or
  8442. location, Control will call Win32AdjustWindowRectEx to update client
  8443. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  8444. calculate a different value of client size causing another paint
  8445. (and flickering))
  8446. * InternalWindowManager.cs: When moving or resizing a window only
  8447. update size or location if they actually changed.
  8448. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  8449. (seems to match Windows behaviour better). Cleaned up
  8450. ManagedWindowDecorations to draw what's needed and nothing else
  8451. (was drawing borders and lines where they shouldn't be)
  8452. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  8453. (style = 0xFFFF) and takes into account caption height when
  8454. calculating window rectangle.
  8455. 2007-01-16 Everaldo Canuto <[email protected]>
  8456. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  8457. can be added to toolbar multiple times, we need to maintain a list of
  8458. button information for each positions.
  8459. 2007-01-16 Everaldo Canuto <[email protected]>
  8460. * ToolBar.cs: Some small stetic changes.
  8461. 2007-01-16 Jackson Harper <[email protected]>
  8462. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  8463. that allow us to have nested recalc = false blocks.
  8464. - Add paste support for images in the RichTextBox
  8465. * RichTextBox.cs: flush the text after the color is changed, so
  8466. the change takes effect.
  8467. - Use SuspendRecalc
  8468. - Some extra debugging info
  8469. * TextControl.cs: Tags no longer track their length, it is just
  8470. computed from the next tags length, this makes things a little
  8471. simpler and reduces places that we have to track length changes.
  8472. - Refactored the linetag class a little so we could make it
  8473. a base class for different kinds of tags
  8474. - Created a image tag, a tag that can have a single image inserted
  8475. into it
  8476. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  8477. that we can call suspend multiple times.
  8478. - Add some debugging methods
  8479. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8480. * MdiClient.cs: Add ActivatePreviousChild for
  8481. mdi child window navigation.
  8482. * Form.cs: Use MdiClient.ActivateNextChild/
  8483. ActivatePreviousChild instead of Form.SelectNextControl
  8484. to select the next/previous child since
  8485. SelectNextControl doesn't do it in the same order
  8486. as mdi children should do it.
  8487. 2007-01-16 Chris Toshok <[email protected]>
  8488. * Control.cs: remove container_selected field.
  8489. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8490. * MdiClient.cs: Update main form's ActiveChild when
  8491. updating keyboard focus for the mdi child.
  8492. 2007-01-16 Jonathan Pobst <[email protected]>
  8493. * Control.cs: PreferredSize fix.
  8494. * Form.cs: Add several 2.0 events, properties, and methods.
  8495. 2007-01-16 Gert Driesen <[email protected]>
  8496. * Form.cs: Provide meaningful message when MdiParent is assigned a
  8497. Form that is not an MdiContainer.
  8498. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8499. * MdiClient.cs: Update main form's ActiveChild when
  8500. activating a mdi child.
  8501. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  8502. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  8503. doesn't have a menu.
  8504. * Form.cs: Request NCRecalc after creating a mdi child window.
  8505. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  8506. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  8507. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  8508. sends keyboard focus to the active child, or to the MdiClient
  8509. if there are no child forms.
  8510. 2007-01-15 Chris Toshok <[email protected]>
  8511. * ListView.cs: drop the *Internal overrides, just do our work in
  8512. ItemControl's WndProc instead.
  8513. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  8514. of the various controls, and forward the events properly (in the
  8515. same manner as MS) from the textbox to the UpDown. Also the
  8516. ActiveControl of the UpDownBase gets set properly now. Finally,
  8517. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  8518. * NumericUpDown.cs: set Text in the ctor.
  8519. * DomainUpDown.cs: call UpdateEditText in the ctor.
  8520. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  8521. so even a Selectable = false textbox can be focused if you click
  8522. in it. Go figure.
  8523. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  8524. just add their handling in their respective WndProc's. Also add
  8525. an explicit FocusInternal method that doesn't consult CanFocus
  8526. before calling Select(this).
  8527. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  8528. do our work in WndProc instead.
  8529. * TabControl.cs: same.
  8530. * ComboBox.cs: same.
  8531. 2007-01-15 Everaldo Canuto <[email protected]>
  8532. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  8533. Fixes #80006.
  8534. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  8535. * ListViewItem.cs:
  8536. * ThemeWin32Classic.cs: Don't draw the item text outside
  8537. item bounds in Details view, as well as use trimming.
  8538. Fixes bug #80376.
  8539. 2007-01-15 Jonathan Pobst <[email protected]>
  8540. * Form.cs: Implement Form.ShowIcon.
  8541. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  8542. null, which when combined with the DlgModalFrame window style removes
  8543. the icon from the title bar.
  8544. 2007-01-15 Jonathan Pobst <[email protected]>
  8545. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  8546. 2007-01-15 Everaldo Canuto <[email protected]>
  8547. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  8548. menu when mdi child windows theres a menu, uses insert to get icon
  8549. at first position. Partially fix #80006.
  8550. 2007-01-15 Jonathan Pobst <[email protected]>
  8551. * Clipboard.cs: Implement 2.0 methods.
  8552. 2007-01-15 Everaldo Canuto <[email protected]>
  8553. * Menu.cs: Implement Insert method of MenuItemCollection class
  8554. to fix MenuMerge.
  8555. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  8556. * ListView.cs: Implement 2.0 FindItemWithText method.
  8557. 2007-01-11 Everaldo Canuto <[email protected]>
  8558. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  8559. to calculate menu bar size. Fixes #80290.
  8560. 2007-01-11 Everaldo Canuto <[email protected]>
  8561. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  8562. 2007-01-11 Chris Toshok <[email protected]>
  8563. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  8564. initial form.
  8565. 2007-01-11 Chris Toshok <[email protected]>
  8566. * LinkLabel.cs: make sure to call base.Select in our Select method
  8567. if it turns out we're going to be selected (i.e. if we have a link
  8568. that is going to receive focus). That way our container's
  8569. ActiveControl is updated properly.
  8570. 2007-01-11 Chris Toshok <[email protected]>
  8571. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  8572. they have 1 or more links. this fixes the crash gert reported.
  8573. 2007-01-11 Andreia Gaita <[email protected]>
  8574. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  8575. anymore.
  8576. * Control.cs (Controls.Add): Check if control to be added to the collection
  8577. is a top level control, and throw an ArgumentException if it is.
  8578. Remove ContainerSelectedFlag, not needed anymore.
  8579. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  8580. top most control doesn't activate the form. This fixes a problem in the
  8581. MessageBox, where the default button wouldn't get focus because the form
  8582. was activated before being Loaded - when the Owner is set, SetTopMost is
  8583. called, and it would activate it.
  8584. 2007-01-11 Jonathan Pobst <[email protected]>
  8585. * Button.cs: When clicked and setting the parent form's DialogResult,
  8586. use FindForm instead of Parent, since parent could be a container
  8587. control and not the Form. Fixes bug #80495.
  8588. 2007-01-10 Chris Toshok <[email protected]>
  8589. * Form.cs: move the call to SendControlFocus into the same
  8590. is_loaded check.
  8591. 2007-01-10 Chris Toshok <[email protected]>
  8592. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  8593. It breaks in the face of the new ActiveControl stuff, and should
  8594. be unnecessary.
  8595. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  8596. activecontrol's focus if it's not already set, after we set
  8597. ActiveControl, but before we call OnActivated. Re-fixes #79667
  8598. after the previous focus/active control fixes regressed it.
  8599. * Control.cs: reindent some code.
  8600. 2007-01-10 Chris Toshok <[email protected]>
  8601. * Splitter.cs: clearing some outstanding changes from my tree.
  8602. Replace all accesses (not writes) to the internal dock_style field
  8603. with the Dock property.
  8604. 2007-01-10 Chris Toshok <[email protected]>
  8605. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  8606. FireValidated virtual.
  8607. * Form.cs: override and don't chain up calls to FireEnter and
  8608. FireLeave.
  8609. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  8610. * ListView.cs: Add more text padding space when using
  8611. auto resize for columns (the previous value didn't work fine).
  8612. * ThemeWin32Classic.cs: Update text position inside columns,
  8613. to match the appeareance of .Net.
  8614. * ColumnHeader.cs: When using auto resize, only the Width should
  8615. depend on the sub items, not the Height. Also, set width after
  8616. auto resizing (the value of Width should never remain as -1 or -2).
  8617. 2007-01-10 Chris Toshok <[email protected]>
  8618. * Application.cs: fix compilation errors when debug is enabled.
  8619. 2007-01-10 Chris Toshok <[email protected]>
  8620. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  8621. add some nice ascii art pictures and explanation of the process).
  8622. (GetMostDeeplyNestedActiveControl): new utility function we need
  8623. because our ActiveControl can refer to a child container with its
  8624. own ActiveControl.
  8625. * Form.cs (OnActivated): remove the call to SelectActiveControl
  8626. from here, since you can override this method and not chain up,
  8627. and winforms still sets the active control.
  8628. (OnCreateControl): also remove the unnecessary SelectActiveControl
  8629. call from here.
  8630. (WndProc): it's actually called from the WM_ACTIVATE block, just
  8631. before calling OnActivated.
  8632. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  8633. inside the else. the ActiveControl setter will end up setting
  8634. focus on @control. This keeps us from setting it again (and
  8635. generating an extra LostFocus/GotFocus pair).
  8636. (Select (bool, bool)): reindent.
  8637. 2007-01-10 Jonathan Pobst <[email protected]>
  8638. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  8639. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  8640. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  8641. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  8642. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  8643. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  8644. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  8645. ToolStripTextBox.cs: Another wave of corcompare work.
  8646. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  8647. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  8648. the Width property.
  8649. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  8650. methods by callling Column.AutoResize method on columns.
  8651. 2007-01-09 Jonathan Pobst <[email protected]>
  8652. * Control.cs: Provide proper implementations of PreferredSize
  8653. and GetPreferredSize (2.0).
  8654. 2007-01-09 Jonathan Pobst <[email protected]>
  8655. * Form.cs: Remove one character (!) to make my previous OnClosing
  8656. stuff work for modal windows like MessageBox.
  8657. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  8658. * ListView.cs:
  8659. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  8660. ListView.Columns to get the last displayed column. Fixes #80452.
  8661. 2007-01-09 Everaldo Canuto <[email protected]>
  8662. * Label.cs, LinkLabel.cs: Source code identation fixes.
  8663. 2007-01-08 Everaldo Canuto <[email protected]>
  8664. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  8665. we dont need to invalidate only borders because when we invalidate four
  8666. border lines the invalidate's generates a complete redraw of button,
  8667. because it now invalidate a complete rect some other redraws operations
  8668. are fixed. Fixes #80196.
  8669. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  8670. Remove ToolBarInvalidateEntireButton as it is not used.
  8671. 2007-01-08 Jonathan Pobst <[email protected]>
  8672. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  8673. called for 2.0 profile.
  8674. * CloseReason.cs: Make class internal for 1.1.
  8675. 2007-01-08 Jonathan Pobst <[email protected]>
  8676. * ToolStripManager.cs: Implement FindToolStrip functionality.
  8677. * ToolStrip.cs: Register and unregister with ToolStripManager.
  8678. 2007-01-07 Jonathan Pobst <[email protected]>
  8679. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  8680. to ArrangedElementCollection. Implemented this with as few #if's as
  8681. possible (which is still too many).
  8682. 2007-01-07 Jonathan Pobst <[email protected]>
  8683. * Control.cs: Implement SizeFromClientSize() [2.0].
  8684. 2007-01-07 Everaldo Canuto <[email protected]>
  8685. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  8686. use Theme.BorderSize to calculate area instead of static value 1,
  8687. by the way use new BorderStaticSize instead Border3DSize when
  8688. border_static is true. Fixes #79537.
  8689. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  8690. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  8691. it is not needed.
  8692. 2007-01-06 Everaldo Canuto <[email protected]>
  8693. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  8694. 2007-01-06 Everaldo Canuto <[email protected]>
  8695. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  8696. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  8697. * Hwnd.cs:
  8698. - border_static field added, it will used to define when a control
  8699. theres 3D border but it must be static (thin).
  8700. - In GetWindowRectangle use Theme.BorderSize to calculate area
  8701. instead of static value 1, by the way use new BorderStaticSize instead
  8702. Border3DSize when border_static is true.
  8703. * XplatUIX11.cs, XplatUIOSX.cs:
  8704. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  8705. * Theme.cs: BorderStaticSize field added.
  8706. 2007-01-05 Everaldo Canuto <[email protected]>
  8707. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  8708. 2007-01-05 Everaldo Canuto <[email protected]>
  8709. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  8710. mimic same behavior than win32 that set border only in CreateParams,
  8711. it fix problems under CreateParams overrides. Fix #79442 and partial
  8712. fix #79537.
  8713. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  8714. of thi control you must call recreate handle.
  8715. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  8716. need to do anything as RecreateHangle will take care about borders.
  8717. 2007-01-05 Mike Kestner <[email protected]>
  8718. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  8719. cycles between the ItemControl and parent. Fixes #80388.
  8720. 2007-01-05 Gert Driesen <[email protected]>
  8721. * Control.cs: Lazy init layout engine. Do not directly use
  8722. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  8723. 2007-01-05 Chris Toshok <[email protected]>
  8724. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  8725. unless our list manager has changed (i.e. unless we have reason to
  8726. believe our columns have changed). Fixes #80422.
  8727. also, disable the call do BindColumns in
  8728. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  8729. 1.1 the event isn't raised in response to a column addition on a
  8730. table.)
  8731. 2007-01-05 Jonathan Pobst <[email protected]>
  8732. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  8733. that inheritors can not call it if they choose. Fixes bug #80456.
  8734. 2007-01-05 Andreia Gaita <[email protected]>
  8735. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  8736. doesn't blow up with a null exception on marshalling.
  8737. 2007-01-05 Jonathan Pobst <[email protected]>
  8738. * Control.cs: Implement several 2.0 protected properties and methods.
  8739. Ensure that all necessary events are being called when properties
  8740. are set.
  8741. 2007-01-05 Mike Kestner <[email protected]>
  8742. * ListView.cs: implement PgUp/PgDn for Details view. Also
  8743. fixes First/LastVisibleIndex to use the item_control.ClientRect
  8744. instead of the parent control. Fixes #80378.
  8745. 2006-01-05 Atsushi Enomoto <[email protected]>
  8746. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  8747. determine whether to use yard-pound or not (bug #78399).
  8748. 2006-01-04 Alexander Olk <[email protected]>
  8749. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  8750. problems. So it is time to bring back the old popupbutton colors.
  8751. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  8752. * ColumnHeader.cs:
  8753. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  8754. property by using the internal information of the
  8755. columns order in ListView.
  8756. 2007-01-04 Jonathan Pobst <[email protected]>
  8757. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  8758. Add 2.0 Tag properties.
  8759. * LinkArea.cs: Add 2.0 ToString method.
  8760. 2007-01-03 Chris Toshok <[email protected]>
  8761. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  8762. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  8763. when we're editing, which fixes #80047.
  8764. 2007-01-03 Chris Toshok <[email protected]>
  8765. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  8766. #80404.
  8767. 2007-01-03 Jonathan Pobst <[email protected]>
  8768. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  8769. property and implementation.
  8770. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  8771. for MdiWindowListItem property.
  8772. * ToolStripDropDown.cs: Don't consider hidden menu items while
  8773. laying out the menu.
  8774. 2007-01-03 Andreia Gaita <[email protected]>
  8775. * SendKeys.cs: window handle is not needed in win32, so just
  8776. get the active window for X after parsing keys and don't use
  8777. it when building the message; it is passed by parameter to the
  8778. Xplat method and used there to build the message instead. Also,
  8779. wait for events to be processed on SendWait, as opposed to Send,
  8780. which doesn't wait :) Playing with threads and Send() completely
  8781. hangs on ms.net, only SendWait() works.
  8782. XplatUIX11.cs
  8783. X11Display.cs: Check for valid window handle.
  8784. 2007-01-03 Jackson Harper <[email protected]>
  8785. * TextControl.cs: Need to prevent wrap calculations when replacing
  8786. text (this was there before i removed it accidently).
  8787. - Don't update the cursor during the positioning, just set it to
  8788. selection_start at the end of the operaion.
  8789. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  8790. * Control.cs:
  8791. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  8792. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  8793. * MonthCalendar.cs: Added Click and DoubleClick events again,
  8794. but this time they only hide Control's Click and DoubleClick.
  8795. 2007-01-03 Gert Driesen <[email protected]>
  8796. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  8797. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  8798. 2007-01-02 Jackson Harper <[email protected]>
  8799. * TextBoxBase.cs: We move the caret with the split now, so we
  8800. don't need to explicitly move the caret after splitting. This
  8801. fixes the caret bumping down an extra line on Enter.
  8802. 2007-01-02 Miguel de Icaza <[email protected]>
  8803. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  8804. 2.72).
  8805. * ScrollableControl.cs: Add Scroll event.
  8806. 2007-01-02 Mike Kestner <[email protected]>
  8807. * ListView.cs: one more try with help from [email protected]
  8808. to fix all hdr height padding codepaths. Fixes #80207.
  8809. 2007-01-02 Chris Toshok <[email protected]>
  8810. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  8811. setting it to the Control defaults anyway, and it being after the
  8812. Dock set was screwing up layout.
  8813. (set_Dock): don't short circuit out of setting base.Dock. Also,
  8814. no need to call UpdateStatusBar here, as it'll be re-layed out if
  8815. it needs to be.
  8816. 2007-01-02 Mike Kestner <[email protected]>
  8817. * ListView.cs: patch from [email protected] to add padding
  8818. to header height for width == -1. Fixes the rest of #80207.
  8819. 2007-01-02 Mike Kestner <[email protected]>
  8820. * ListView.cs: rework the mouse event forwarding everaldo added
  8821. to translate the coordinates to the parent control not
  8822. raise the parent events until after we've done our work. Hover
  8823. needs more work, in the case where HoverSelection is on, because
  8824. the item control receives more than one MouseHover per Enter
  8825. event, so we need to ensure only the "first" hover gets forwarded.
  8826. Opening a minor bug for that.
  8827. 2007-01-02 Gert Driesen <[email protected]>
  8828. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  8829. * ListControl.cs: Implemented AllowSelection property. Removed extra
  8830. tabs.
  8831. * ListBox.cs: Implemented AllowSelection property.
  8832. 2007-01-02 Everaldo Canuto <[email protected]>
  8833. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  8834. SelectedItem, it prevent for errors when you must disable item
  8835. before perform click. Fixes #80409.
  8836. 2007-01-02 Everaldo Canuto <[email protected]>
  8837. * MenuAPI.cs: Prevent second level and beyond submenus to close
  8838. until first level when move out side of popup.
  8839. 2007-01-02 Everaldo Canuto <[email protected]>
  8840. * MenuAPI.cs:
  8841. - Down submenu positin in three pixels.
  8842. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  8843. 2007-01-02 Everaldo Canuto <[email protected]>
  8844. * ThemeWin32Classic.cs:
  8845. - Fix popup menu size adding one pixel on the top.
  8846. - Down menu item border from two to one to mimic Win32.
  8847. - Some source identation fixes.
  8848. 2007-01-01 Everaldo Canuto <[email protected]>
  8849. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  8850. position of menu arrows, it fix wrong arrow size.
  8851. 2007-01-01 Everaldo Canuto <[email protected]>
  8852. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  8853. instead of line, it simplify draw operation and fix it using 3D
  8854. borders to mimic Win32.
  8855. 2007-01-01 Jonathan Pobst <[email protected]>
  8856. * StatusStrip.cs: Add implementation of the sizing grip.
  8857. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  8858. StatusStrip rendering.
  8859. 2006-12-31 Chris Toshok <[email protected]>
  8860. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  8861. override the layout style (anchor/dock) of the control. assign to
  8862. Dock instead. Fixes bug #80416.
  8863. * ToolStrip.cs: same.
  8864. 2006-12-31 Andreia Gaita <[email protected]>
  8865. * ContainerControl.cs: Use ContainerSelected flag to check if
  8866. a Container is directly selected, or if Select is called on a
  8867. non-container. If a container is directly selected, focus events
  8868. should not be raised.
  8869. Apply #80411 patch to throw exception on set_ActiveControl if
  8870. control is the same as the current one.
  8871. * Control.cs: Use ContainerSelected flag (see above).
  8872. Add invalidation check to raise event but not invalidate if
  8873. dimensions are 0.
  8874. Apply #80411 patch.
  8875. 2006-12-31 Everaldo Canuto <[email protected]>
  8876. * MenuAPI.cs: After click, dont close popup menu when menu is
  8877. ContextMenu. Fixes #80399.
  8878. 2006-12-30 Chris Toshok <[email protected]>
  8879. * ContainerControl.cs: make sure we throw the exception if the
  8880. container control doesn't contain the control we're setting
  8881. ActiveControl to.
  8882. 2006-12-30 Chris Toshok <[email protected]>
  8883. * Control.cs (SetTopLevel): fix the exception raised by
  8884. SetTopLevel for child controls.
  8885. (set_Anchor): call UpdateDistances when setting the anchor type.
  8886. This fixes bug #80336.
  8887. 2006-12-29 Gert Driesen <[email protected]>
  8888. * Theme.cs: For now, revert back to 8pt font.
  8889. 2006-12-29 Everaldo Canuto <[email protected]>
  8890. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  8891. Fixes #80395.
  8892. 2006-12-29 Chris Toshok <[email protected]>
  8893. * Control.cs: reorder the code in OnResize to give the same event
  8894. ordering as MS.
  8895. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  8896. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  8897. TileHorizontally and TileVertically.
  8898. 2006-12-29 Alexander Olk <[email protected]>
  8899. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  8900. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  8901. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  8902. Corrected copyright and email adress.
  8903. 2006-12-29 Gert Driesen <[email protected]>
  8904. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  8905. of Exception in FullPath property if no TreeView is associated with
  8906. the TreeNode.
  8907. 2006-12-29 Gert Driesen <[email protected]>
  8908. * Theme.cs: Marked default_font as private, and initialize it in ctor
  8909. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  8910. on 2.0 profile.
  8911. * ThemeGtk.cs: Removed default_font intialization.
  8912. * ThemeWin32Classic.cs: Removed default_font initialization.
  8913. 2006-12-28 Chris Toshok <[email protected]>
  8914. * Control.cs: fix a couple of place where we were creating handles
  8915. more aggressively than we should be. Fixes ControlRefresh unit
  8916. tests.
  8917. 2006-12-28 Chris Toshok <[email protected]>
  8918. * Control.cs: contrary to what the comment said, Control.Dock does
  8919. not supercede Control.Anchor - the last one you assign to decides
  8920. the layout behavior. so we need to keep track of which was the
  8921. last set. Also, fix some of the affected property arguments in
  8922. PerformLayout calls, and remove an redundant parent.PerformLayout
  8923. call in OnResized.
  8924. Add a VisibleInternal property, which returns is_visible. We
  8925. can/should get rid of all the usage of this field elsewhere.
  8926. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8927. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  8928. control style, not DoubleBuffer. Added UseDoubleBuffering property
  8929. that indicates whether doublebuffering is enabled and supported.
  8930. (comment from and code based on Gert Driesen's patch in #80324).
  8931. Fixes #80324.
  8932. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8933. * Control.cs: Fixed a NRE.
  8934. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8935. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  8936. for 2.0.
  8937. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  8938. * Control.cs: Rewrote double buffering, now a seperate
  8939. class handles all the buffering, no Graphics is disposed of
  8940. until the painting is finished (earlier implementation
  8941. would crash if the control was resized in the OnPaint,
  8942. since it would cause the double buffer to be recreated
  8943. and the old one disposed), a separate Graphics is
  8944. created for every paint (MS behaviour and anyways the state
  8945. of the Graphics would have to be saved and restored otherwise)
  8946. * XplatUIDriver.cs:
  8947. * XplatUIX11.cs:
  8948. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  8949. so that we can get the graphics for the back buffer without
  8950. having to create a new one and remove the offscreen_dc parameter
  8951. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  8952. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  8953. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  8954. Also make virtual all the key-related methods.
  8955. * ListViewItem.cs: Make virtual the key related methods for
  8956. ListViewSubItemCollection.
  8957. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  8958. * ListView.cs:
  8959. * ListViewItem.cs:
  8960. * ThemeWin32Classic.cs:
  8961. * Theme.cs: Initial support for Tile view in ListView,
  8962. as well as the implementation of the required bits for it (Item
  8963. and Subitem).
  8964. 2006-12-27 Gert Driesen <[email protected]>
  8965. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  8966. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  8967. Provide useful exception messages.
  8968. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  8969. * TrackBar.cs: Remove a warning.
  8970. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  8971. when used by DateTimePicker, fixes #80287. This also requires that
  8972. MonthCalendar implements it's own drawing for the yearly updown control,
  8973. otherwise the Capture tracking would be too complicated. Removed the Click
  8974. and DoubleClick events (according to comments they were hiding the base class
  8975. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  8976. raise these events, not that they cannot be raised. It is possible to raise
  8977. them by calling OnClick and OnDoubleClick). Added two internal fields in
  8978. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  8979. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  8980. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  8981. event, no longer needed.
  8982. 2006-12-27 Gert Driesen <[email protected]>
  8983. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  8984. true if new value differs from current value.
  8985. 2006-12-27 Gert Driesen <[email protected]>
  8986. * Control.cs: ControlCollection.Count must be public. Fixed build of
  8987. unit tests.
  8988. 2006-12-27 Gert Driesen <[email protected]>
  8989. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  8990. 2006-12-27 Gert Driesen <[email protected]>
  8991. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  8992. 2006-12-26 Everaldo Canuto <[email protected]>
  8993. * Control.cs: Invalidates control including when Width and Height is
  8994. equal zero or is not visible, only Paint event must be care about
  8995. this. Fixes #79913.
  8996. 2006-12-26 Chris Toshok <[email protected]>
  8997. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  8998. more corcompare work.
  8999. * DataGridView.cs: fix compiler warning.
  9000. * ColumnHeader.cs: some corcompare work, and also take the
  9001. opportunity to make the internal fields private.
  9002. * ListView.cs: fix the fallout from the above field change.
  9003. 2006-12-26 Jonathan Pobst <[email protected]>
  9004. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  9005. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  9006. ToolStripTextBox.cs: Fixes to events and corcompare.
  9007. 2006-12-26 Everaldo Canuto <[email protected]>
  9008. * ListView.cs: Call owner.OnMousexx event to propagate events from
  9009. item to ListView. Fixes #80367.
  9010. 2006-12-26 Gert Driesen <[email protected]>
  9011. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  9012. if value is less than one. ItemHeight should not be set to a value
  9013. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  9014. Removed extra tabs.
  9015. 2006-12-26 Jonathan Pobst <[email protected]>
  9016. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  9017. * ToolStripStatusLabel.cs: Add Spring for Moma.
  9018. 2006-12-26 Gert Driesen <[email protected]>
  9019. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  9020. Fixed code formatting. Removed debug code.
  9021. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  9022. 2006-12-26 Gert Driesen <[email protected]>
  9023. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  9024. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  9025. ArgumentOutOfRangeException if ColumnCount is negative. In
  9026. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  9027. less than 4 or higher than 32768.
  9028. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  9029. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  9030. Fixed IsFormatProviderDefault to return true if FormatProvider has
  9031. not been explicitly set.
  9032. 2006-12-25 Chris Toshok <[email protected]>
  9033. * Application.cs: add a couple of 2.0 events.
  9034. 2006-12-25 Chris Toshok <[email protected]>
  9035. * Control.cs: fix compiler warning.
  9036. * AxHost.cs: corcompare fixes.
  9037. * ApplicationContext.cs: corcompare fixes.
  9038. 2006-12-25 Chris Toshok <[email protected]>
  9039. * Control.cs: only update dist_right/dist_bottom if the
  9040. width/height is > 0. this fixes anchored controls being resized
  9041. smaller until they disappear and then resized larger again.
  9042. 2006-12-25 Chris Toshok <[email protected]>
  9043. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  9044. since they're nothing more than X/Left and Y/Top, respectively.
  9045. Also, move back to a per-control Bitmap/Graphics for
  9046. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  9047. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  9048. Height.
  9049. 2006-12-25 Miguel de Icaza <[email protected]>
  9050. * MessageBox.cs: Implemented overload that takes a new "bool
  9051. displayHelpButton" by adding a new internal field "show_help".
  9052. When clicked this will raise the HelpRequested on the owner or the
  9053. main form.
  9054. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  9055. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  9056. * ListView.cs: Add support ColumnWidthChanged and
  9057. ColumnWidthChanging.
  9058. Add support for ColumnReordered event.
  9059. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  9060. reorder.
  9061. Very nice codebase!
  9062. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  9063. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  9064. 2006-12-24 Chris Toshok <[email protected]>
  9065. * GridTablesFactory.cs: 2.0 corcompare work.
  9066. * ToolStripContainer.cs: add "override" to
  9067. ContextMenuStripChanged, and remove the local event object.
  9068. * ToolStripDropDown.cs: same with a couple properties.
  9069. * ToolStripPanel.cs: same with AutoSizeChanged event.
  9070. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  9071. * Form.cs: add the remaining 2.0 events, and do some corcompare
  9072. attribute work.
  9073. * DateTimePicker.cs: add "new" to padding.
  9074. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  9075. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  9076. * DataGridView.cs: PaddingChanged is overridden.
  9077. 2006-12-24 Chris Toshok <[email protected]>
  9078. * Control.cs: corecompare work here too.
  9079. * DataGridViewElement.cs, DataGridView.cs,
  9080. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  9081. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  9082. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  9083. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  9084. work.
  9085. 2006-12-24 Miguel de Icaza <[email protected]>
  9086. * Control.cs: Switched the error message on the console for a
  9087. todo. A review of the code will have to cope with this anyways
  9088. (since its a large feature, it is in our radar) and it was
  9089. producing too much output when running PDN.
  9090. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  9091. changes. Applications depend on this (PDN 2.72)
  9092. 2006-12-23 Chris Toshok <[email protected]>
  9093. * TableLayoutSettings.cs: finish up the corcompare work for this
  9094. class.
  9095. 2006-12-23 Chris Toshok <[email protected]>
  9096. * Control.cs: make SetImplicitBounds internal, do some futzing
  9097. with LayoutEngine so that it's available in 1.1, and remove the
  9098. entire duplicated code mess from PerformLayout. Use
  9099. System.Windows.Forms.Layout.DefaultLayout instead.
  9100. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  9101. 2006-12-23 Jonathan Pobst <[email protected]>
  9102. * Form.cs: Add MainMenuStrip property.
  9103. 2006-12-23 Jonathan Pobst <[email protected]>
  9104. * Control.cs: Add ContextMenuStrip property and implementation.
  9105. Fix ContextMenu implementation to show menu centered on control when
  9106. activated using the keyboard instead of showing at screen (0,0).
  9107. * ToolStripDropDown.cs: Fix needed overload of Show ().
  9108. 2006-12-23 Everaldo Canuto <[email protected]>
  9109. * Menu.cs: Name property added for 2.0 profile.
  9110. 2006-12-23 Everaldo Canuto <[email protected]>
  9111. * Menu.cs: Update information about FindMenuItem, method to be
  9112. implemented soon.
  9113. 2006-12-23 Everaldo Canuto <[email protected]>
  9114. * MenuAPI.cs: When deselect items deselect also selected subitems.
  9115. 2006-12-23 Everaldo Canuto <[email protected]>
  9116. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  9117. FindSubItemByCoord to found itens that is not active, also an
  9118. cheking added to FindSubItemByCoord to search for items only
  9119. in visible popup windows. Fixes #80274.
  9120. 2006-12-22 Everaldo Canuto <[email protected]>
  9121. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  9122. internal property, it be care about change ExStyle.
  9123. 2006-12-22 Andreia Gaita <[email protected]>
  9124. * ContainerControl.cs: set activeControl for parent forms up the
  9125. tree when the new activecontrol is a container.
  9126. When validating the active control, if it is a container, also
  9127. raise up the validation for it's active control. Fixes #80280
  9128. * Control.cs: Add internal property flag and check to prevent
  9129. Focus events from getting raised when Select() is called for
  9130. a ContainerControl. There are still too many focus events being
  9131. raised at the moment though.
  9132. Cleaned up the code a bit.
  9133. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  9134. * Control.cs: Added all missing 2.0 events.and
  9135. fixed a couple of corcompare issues.
  9136. * TrackBar.cs: Implemented missing 2.0 bits.
  9137. * MonthCalendar.cs,
  9138. * DateTimePicker.cs,
  9139. * MdiClient.cs: Fixed some corcompare issues.
  9140. 2006-12-21 Jonathan Pobst <[email protected]>
  9141. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  9142. SplitterPanel.cs: corecompare work.
  9143. 2006-12-21 Jonathan Pobst <[email protected]>
  9144. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  9145. Clean up warnings for BackgroundImageChanged and PaddingChanged
  9146. events now that they are implemented in Control.cs.
  9147. 2006-12-21 Jonathan Pobst <[email protected]>
  9148. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  9149. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  9150. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  9151. of TableLayoutPanel and supporting cast.
  9152. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  9153. * XplatUIWin32.cs:
  9154. - GrabWindow now confines the mouse pointer to the confine window.
  9155. - Added Win32ClipCursor and Win32GetClipCursor.
  9156. * Control.cs:
  9157. - Added CaptureWithConfine to be able to capture and confine
  9158. mouse pointer.
  9159. * InternalWindowManager.cs:
  9160. - Call CaptureWithConfine instead of Capture if we're an
  9161. MdiChild (fixes #79982).
  9162. 2006-12-21 Chris Toshok <[email protected]>
  9163. * DataGrid.cs: guard against the initial state of selection, where
  9164. selection_start == -1. make sure we only select from index >= 0.
  9165. Fixes bug #80291.
  9166. 2006-12-21 Chris Toshok <[email protected]>
  9167. * Control.cs: we don't need to be so draconian with
  9168. UpdateDistances, and we thusly don't need to call it before
  9169. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  9170. 2006-12-21 Daniel Nauck <[email protected]>
  9171. * ComboBox.cs,
  9172. TextBox.cs: Implemented AutoComplete properties.
  9173. 2006-12-20 Chris Toshok <[email protected]>
  9174. * DataGridView*.cs: some corecompare work.
  9175. 2006-12-20 Jackson Harper <[email protected]>
  9176. * XplatUIX11.cs: We need to hide the caret when deleting it,
  9177. otherwise you get carets left lying around everywhere.
  9178. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  9179. prevents getting some weird half drawn caret tracers when
  9180. scrolling.
  9181. * TextControl.cs: Attempt to reduce the number of times we need to
  9182. recreate the caret.
  9183. 2006-12-20 Gert Driesen <[email protected]>
  9184. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  9185. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  9186. * DateTimePicker.cs:
  9187. - Implemented missing 2.0 bits.
  9188. - Changed some default values to match MS.
  9189. 2006-12-20 Jackson Harper <[email protected]>
  9190. * TextBoxBase.cs: When changing the font across the document we
  9191. can't recalculate after changing each line, since that will cahnge
  9192. the line count.
  9193. - PreferredHeight is a little different than i thought.
  9194. - When backspacing, move the caret before we do the actual char
  9195. delete, because when that delete crosses a wrap boundary the
  9196. positional information will change.
  9197. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  9198. * Control.cs: Added some missing 2.0 bits:
  9199. BackgroundImageLayout, BackgroundImageLayoutChanged,
  9200. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  9201. add IBindableComponent and IDropTarget implementation.
  9202. * MonthCalendar.cs:
  9203. - Added all missing 2.0 features:
  9204. BackgroundImageLayout, RightToLeftLayout,
  9205. OnHandleDestroyed, RightToLeftLayoutChanged,
  9206. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  9207. PaddingChanged.
  9208. - Rewrote all the BoldDate code, it was completely broken.
  9209. - Fixed all the tests (the tests can now be re-enabled, the
  9210. problems were not with the tests, but with the control, it was
  9211. mostly broken).
  9212. * DateTimePicker.cs: Changed the location where the
  9213. MonthCalendar is shown.
  9214. 2006-12-19 Chris Toshok <[email protected]>
  9215. * DataGridView.cs: add IDropTarget implementation.
  9216. * ToolStripPanel.cs: add IDropTarget implementation.
  9217. 2006-12-19 Jackson Harper <[email protected]>
  9218. * TextControl.cs: soft now means something different than what it
  9219. used to mean, we want to move the caret regardless of whether or
  9220. not this break was soft (would we really have wanted the caret
  9221. to not move with the break in the old context?)
  9222. * TreeView.cs: Make sure we factor in the vert scrollbar when
  9223. calculating the horizontal scrollbar's maximum.
  9224. 2006-12-19 Andreia Gaita <[email protected]>
  9225. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  9226. check for keywords in alternate casing, close bug #80049.
  9227. 2006-12-19 Chris Toshok <[email protected]>
  9228. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  9229. methods (which all do nothing).
  9230. * IDropTarget.cs: add the 4 missing methods.
  9231. 2006-12-19 Chris Toshok <[email protected]>
  9232. * TableLayoutRowStyleCollection.cs: corcompare work.
  9233. * TableLayoutSettings.cs: same.
  9234. * TableLayoutStyle.cs: same.
  9235. * TableLayoutColumnStyleCollection.cs: same.
  9236. 2006-12-19 Jonathan Pobst <[email protected]>
  9237. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  9238. TableLayoutPanel I've had in my local tree for way too long.
  9239. 2006-12-19 Miguel de Icaza <[email protected]>
  9240. * TableLayoutSettings.cs: Finish the public API (still needs all
  9241. the logic to update on changes).
  9242. * TableLayoutPanelCellPosition.cs: new file.
  9243. * TableLayoutRowStyleCollection.cs,
  9244. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  9245. TableLayoutSettings.cs: Track the final 2.0 table api.
  9246. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  9247. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  9248. and Image List 2.0 members for ColummnHeader.
  9249. * ListView.cs: Add key-related 2.0 methods for
  9250. ColumnHeaderCollection.
  9251. 2006-12-19 Gert Driesen <[email protected]>
  9252. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  9253. ArgumentNullException if items argument is null. Ignore null item in
  9254. arrays. Removed extra tabs.
  9255. 2006-12-19 Gert Driesen <[email protected]>
  9256. * MonthCalendar.cs: Fixed InvalidCastException.
  9257. 2006-12-19 Jackson Harper <[email protected]>
  9258. * TextControl.cs: Don't increment the position here.
  9259. - When calculating char positions only add in the line break size
  9260. for hard line breaks.
  9261. 2006-12-19 Andreia Gaita <[email protected]>
  9262. * SendKeys.cs: Changed some things to match ms.net behaviour
  9263. when parsing shifted capital letters.
  9264. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  9265. Add window handle as parameter to SendInput. X11 needs the
  9266. window handle, and the handle being passed to it in the keys
  9267. queue is the active control handle (which windows needs), not
  9268. the window handle.
  9269. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  9270. to support SendKeys on X.
  9271. * X11Keyboard: Implement helper method to lookup a linux keycode
  9272. given the virtual keycode. Added table of keycode-2-virtualkey
  9273. values to support this.
  9274. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  9275. * ListView.cs: Add support for SelectedIndexCollection
  9276. and SelectedItemCollection 2.0 methods. Implement support
  9277. for ImageKey too.
  9278. * ListViewItem.cs: Add support for ListViewSubItemCollection
  9279. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  9280. (it shouldn't call Clear).
  9281. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  9282. 2006-12-19 Jackson Harper <[email protected]>
  9283. * RichTextBox.cs:
  9284. * TextBoxBase.cs: New args for FormatText
  9285. * TextControl.cs: Rewrote the main drawing method, this version
  9286. feels a little easier to understand and debug to me. Hopefully it
  9287. does to others also
  9288. - Fix FormatText to OR in the new formating values. Added
  9289. FormatSpecified param, basically this works in the same way as
  9290. BoundsSpecified in Control.
  9291. - Set the caret properties when the caret is positioned.
  9292. - When wrapping text make sure that we calculate the width of the
  9293. last character
  9294. - when calculating alignments we might have wrapped down to the
  9295. next line, so don't search for an individual tag, search for the
  9296. end of the line
  9297. - We need to invalidate the selection area when we replace the
  9298. selection.
  9299. 2006-12-19 Daniel Nauck <[email protected]>
  9300. * Application.cs: add Restart () 2.0 support
  9301. 2006-12-18 Everaldo Canuto <[email protected]>
  9302. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  9303. property. Fixes #80268.
  9304. 2006-12-18 Everaldo Canuto <[email protected]>
  9305. * MenuAPI.cs: Dont trigger select event when closes top menu
  9306. item. Fixes #80270.
  9307. 2006-12-18 Everaldo Canuto <[email protected]>
  9308. * MenuAPI.cs: When you click on menuitem only trigger onselect
  9309. event for top menu itens. Fixes #80271.
  9310. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  9311. * MdiWindowManager.cs: Make IconicBounds depend on
  9312. the bottom of MdiClient, not the top (fixes #80267)
  9313. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  9314. * MdiClient.cs: Added missing 2.0 attribute
  9315. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  9316. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  9317. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  9318. 2006-12-18 Everaldo Canuto <[email protected]>
  9319. * MenuAPI.cs: Fix click when menuitem is not popup,
  9320. this regression was caused by last commit (#80272).
  9321. 2006-12-17 Everaldo Canuto <[email protected]>
  9322. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  9323. fire click event or close menu. Fixes #80272.
  9324. 2006-12-17 Daniel Nauck <[email protected]>
  9325. * ListViewHitTestInfo.cs: add
  9326. 2006-12-17 Daniel Nauck <[email protected]>
  9327. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  9328. * FlatButtonAppearance.cs: add
  9329. * DockingAttribute.cs: add
  9330. 2006-12-17 Chris Toshok <[email protected]>
  9331. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  9332. and rebind our columns when it does - this way, if you make
  9333. changes to the DataTable (or set the Table attribute on a DataView
  9334. after setting it as the DataGrid's DataSource, the changes are
  9335. made visible.) Fixes bug #80107.
  9336. 2006-12-17 Daniel Nauck <[email protected]>
  9337. * ListViewGroup.cs: add internal Location property for layouting.
  9338. * Theme.cs: add abstract ListViewGroupHeight function.
  9339. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  9340. 2006-12-16 Andreia Gaita <[email protected]>
  9341. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  9342. Added reset of selected index to 0 when adding first tab page.
  9343. Fixes #80264
  9344. * NumericUpDown.cs: Fix NET_2_0 check
  9345. 2006-12-16 Daniel Nauck <[email protected]>
  9346. * ListViewGroup.cs: fixed DefaultValueAttribute value
  9347. 2006-12-16 Daniel Nauck <[email protected]>
  9348. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  9349. 2006-12-15 Miguel de Icaza <[email protected]>
  9350. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  9351. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  9352. ScrollableControl.cs: Add a handful of methods that are
  9353. overwritten in 2.0
  9354. 2006-12-15 Chris Toshok <[email protected]>
  9355. * XplatUIWin32.cs: initial implementation of the Reversible
  9356. drawing functions. there are some problems. DrawReversibleFrame
  9357. doesn't seem to work at all for Dashed FrameStyle, and in the
  9358. Thick case there are drawing errors at the corners (we probably
  9359. need to bind Rectangle instead of doing moveto/lineto's.)
  9360. 2006-12-16 Andreia Gaita <[email protected]>
  9361. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  9362. to send blocks of key messages. Send accumulates keys to send with Flush,
  9363. while SendWait sends all keys immediately.
  9364. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  9365. XplatUIX11.cs, XplatUIX11-new.cs:
  9366. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  9367. to Win32 SendInput.
  9368. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  9369. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  9370. testing for ms.net on this class is very tricky, as the tests run too fast
  9371. to allow the hook to release, essentially freezing the keyboard and the
  9372. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  9373. category :p
  9374. 2006-12-16 Daniel Nauck <[email protected]>
  9375. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  9376. added missing attributes.
  9377. 2006-12-15 Daniel Nauck <[email protected]>
  9378. * ListViewGroup.cs: Added missing attributes.
  9379. * ListViewGroupCollection.cs: Added missing attributes.
  9380. 2006-12-15 Daniel Nauck <[email protected]>
  9381. * ListViewItem.cs: fixed ListViewSubItem text property.
  9382. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9383. * Control.cs: Added missing 2.0 attributes
  9384. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9385. * MdiClient.cs: Added missing 2.0 attribute.
  9386. * MonthCalendar.cs: Added some missing 2.0 attributes
  9387. and properties.
  9388. 2006-12-15 Daniel Nauck <[email protected]>
  9389. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  9390. 2006-12-15 Jonathan Pobst <[email protected]>
  9391. * MainMenu.cs: Add the new 2.0 constructor to help out people
  9392. using the MainMenu in VS2005.
  9393. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9394. * MdiChildContext.cs: Removed it, no longer used.
  9395. * MdiClient.cs: Added missing 2.0 attributes.
  9396. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9397. * InternalWindowManager.cs: Fix a NullRef with previous
  9398. changes for toolwindows.
  9399. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  9400. * Control.cs:
  9401. - Added AfterTopMostControl to allow for certain controls
  9402. to always stay on top when normal controls are brought to
  9403. front.
  9404. * XplatUIWin32.cs:
  9405. - (DrawInversibleRectangle): Get window rectangle from Win32
  9406. in stead of from control, since Win32 doesn't calculate
  9407. screen coords correctly from control's Location if it
  9408. have docked siblings.
  9409. * MdiWindowManager.cs:
  9410. - Correct the control menu popup location when clicked on
  9411. the maximized form icon. (fixes #80223.1)
  9412. - Don't show moving rectangle if mouse hasn't moved from
  9413. the original clicked point.
  9414. - Removed FormGotFocus handler (not used).
  9415. - Calculate the control buttons location from the main
  9416. window's size and not client size (fixes #79770).
  9417. - Form is now closed when the form icon is double-clicked
  9418. (fixes #79775).
  9419. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  9420. * InternalWindowManager.cs:
  9421. - Moved some MDI-only methods to MdiWindowManager.
  9422. - Removed unused properties and methods.
  9423. - Unified method naming for methods handling wm messages.
  9424. - Moved all message handling to seperate methods for
  9425. each message.
  9426. * ThemeWin32Classic.cs:
  9427. - DrawManagedWindowDecorations now draws the title bar
  9428. with a gradient brush.
  9429. - Add a CPDrawButtonInternal that allows us to specify
  9430. light, normal and dark colors for the buttons (control
  9431. buttons for MDI children were drawn with the same light
  9432. color as the background, therefore loosing the 3D effect).
  9433. * SizeGrip.cs:
  9434. - Add a CapturedControl property that is used to
  9435. determine the control to resize (defaults to parent).
  9436. Needed for MdiClient, since its SizeGrip's parent is
  9437. MdiClient, but the control to resize is the main form.
  9438. * MdiClient.cs:
  9439. - Set SizeGrip's CapturedControl to the main form in order
  9440. to resize the main form and not the MdiClient.
  9441. - Override AfterTopMostControl to leave the scrollbars
  9442. always on top.
  9443. 2006-12-15 Daniel Nauck <[email protected]>
  9444. * ListView.cs: fixed ListViewItemCollection AddRange and
  9445. implemented ListViewItemCollection AddRange 2.0 support.
  9446. 2006-12-15 Daniel Nauck <[email protected]>
  9447. * ListViewGroup.cs: Add.
  9448. * ListViewGroupCollection.cs: Add
  9449. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  9450. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  9451. stub for ImageKey 2.0 support.
  9452. 2006-12-14 Mike Kestner <[email protected]>
  9453. * ListView.cs: add text padding to the autocalculation for columns
  9454. of width -2. Fixes #80207.
  9455. 2006-12-14 Mike Kestner <[email protected]>
  9456. * ListView.cs: add some index guarding for partial row navigation
  9457. logic. Fixes #80250.
  9458. 2006-12-14 Mike Kestner <[email protected]>
  9459. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  9460. are added or inserted to the collection. Fixes #81099.
  9461. 2006-12-13 Everaldo Canuto <[email protected]>
  9462. * MenuAPI.cs: Closes menu when right click out side of popup
  9463. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  9464. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  9465. * ListViewItem.cs: Fix dumb error.
  9466. * ListView.cs: Add Find and ContainsKey methods in
  9467. ListViewItemCollection, and also return true for IsReadOnly
  9468. and IsFixedSize (changes for 2.0).
  9469. 2006-12-13 Gert Driesen <[email protected]>
  9470. * Control.cs: Allow Region to be set to null.
  9471. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  9472. * MdiWindowManager.cs: Remove unused (commented out) code.
  9473. * Form.cs: When the MdiChild is maximized, the form needs
  9474. WM_NCMOUSELEAVE, so request it.
  9475. * InternalWindowManager.cs:
  9476. - Added tooltips to control buttons.
  9477. - Removed duplicated control button handling code.
  9478. - Removed unused (commented out) code.
  9479. 2006-12-12 Everaldo Canuto <[email protected]>
  9480. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  9481. was used because we must set cursor without trigger ChangeCursor event
  9482. and without change Cursor control property. Fixes #79963.
  9483. 2006-12-12 Andreia Gaita <[email protected]>
  9484. * Control.cs: Check if Region setter value is null, and ignore
  9485. 2006-12-12 Jackson Harper <[email protected]>
  9486. * TextControl.cs: We were almost always drawing one more line then
  9487. needed, since the GetLineByPixel will return the last line found
  9488. at that pixel. In most cases though, we were invalidating up to
  9489. the junction between two lines.
  9490. - Improve debug code.
  9491. 2006-12-12 Chris Toshok <[email protected]>
  9492. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  9493. and FillReversibleRectangle.
  9494. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  9495. and FillReversibleRectangle.
  9496. * XplatUIWin32.cs: add stubs which do nothing for
  9497. DrawReversibleFrame, DrawReversibleLine, and
  9498. FillReversibleRectangle.
  9499. * XplatUIOSX.cs: add stubs which raise NIE for
  9500. DrawReversibleFrame, DrawReversibleLine, and
  9501. FillReversibleRectangle.
  9502. * XplatUIX11.cs: add working implementation for
  9503. DrawReversibleFrame, DrawReversibleLine, and
  9504. FillReversibleRectangle.
  9505. * ControlPaint.cs: implement DrawReversibleFrame,
  9506. DrawReversibleLine, and FillReversibleRectangle, by calling into
  9507. the appropriate XplatUI method.
  9508. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9509. * Form.cs: Make MdiClient have the focus even if it's
  9510. not selectable, since it should receive WM_KEY* and WM_MOUSE
  9511. messages. Fixes #79907.
  9512. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9513. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  9514. queried after the window is created.
  9515. * XplatUIX11.cs: Added SendParentNotify to implement
  9516. WM_PARENTNOTIFY logic. Fixes #79965.
  9517. * Control.cs: Added MakeParam.
  9518. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9519. * MdiClient.cs: Resume Layout before setting window
  9520. states (fixes #80201).
  9521. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  9522. * MenuAPI.cs: Deselect a menu item after performing
  9523. the click (fixes #80197).
  9524. 2006-12-11 Jackson Harper <[email protected]>
  9525. * TextBoxBase.cs: We need to cap this value, since Maximum -
  9526. ViewPortHeight can be less than zero.
  9527. - Only do selection with the left mouse button.
  9528. * TextBox.cs: Don't tell the world that we have a context menu.
  9529. * Control.cs: New method so that we can control whether or not the
  9530. context menu is visible outside MWF.
  9531. 2006-12-11 Everaldo Canuto <[email protected]>
  9532. * ToolBarButton.cs: Fix text positon.
  9533. 2006-12-11 Miguel de Icaza <[email protected]>
  9534. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  9535. * Control.cs (DoubleBuffered): Add implementation.
  9536. * Application.cs (OpenForms): Add.
  9537. 2006-12-11 Jonathan Pobst <[email protected]>
  9538. * Form.cs: Use opacity instead of Opactiy to determine if we need
  9539. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  9540. 2006-12-11 Jonathan Pobst <[email protected]>
  9541. * Control.cs: Fix NRE if Control.Site was set to null.
  9542. 2006-12-11 Chris Toshok <[email protected]>
  9543. * Control.cs: ControlCollection.Remove should return if the arg is
  9544. null, and ControlCollection.SetChildIndex should raise a ANE.
  9545. 2006-12-11 Gert Driesen <[email protected]>
  9546. * Control.cs: Verify value set for Dock property. Code formatting
  9547. updates.
  9548. 2006-12-11 Jackson Harper <[email protected]>
  9549. * TextControl.cs: Draw the caret and the selection when a flag is
  9550. set on the owner.
  9551. * TextBoxBase.cs: We want to draw the caret and the selection for
  9552. TextBox but not for TextBoxBase.
  9553. - If the window is resized and scrolling is no longer needed (the
  9554. whole doc is visible) set the scroll position to zero.
  9555. - The default SelectWord (the one TextBox uses) should move the
  9556. caret to the end of the word.
  9557. - SelectAll moves the caret to the end of the selection.
  9558. * TextBox.cs: We don't selectall on focus, we just do it when the
  9559. control is created.
  9560. 2006-12-11 Mike Kestner <[email protected]>
  9561. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  9562. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  9563. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  9564. 2.0 support.
  9565. * ListViewItem.cs: Add Name 2.0 property.
  9566. 2006-12-11 Andreia Gaita <[email protected]>
  9567. * TabControl.cs: Set visibility on selected or default tab
  9568. when tabcontrol handle is created, so that it's contents
  9569. actually show up (duh). Fixes #80193
  9570. Don't redraw the control if there is no handle created, as
  9571. the selected index might be completely invalid. Added some tests
  9572. to check for this.
  9573. 2006-12-11 Everaldo Canuto <[email protected]>
  9574. * ToolBar.cs: Uses maximun width and height of all buttons as
  9575. button rectangle when ButtonSize specified, it looks strange but
  9576. is what happens in Win32. Fixes #80189.
  9577. 2006-12-11 Jackson Harper <[email protected]>
  9578. * TextControl.cs: Need to track undo levels ourself, since
  9579. compound actions will mess them up.
  9580. 2006-12-10 Andreia Gaita <[email protected]>
  9581. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  9582. SelectedIndex value is changed (even if it's not valid).
  9583. Reset SelectedIndex to 0 when the handle is created and if
  9584. the current index is invalid.
  9585. Fixes SelectdeIndex unit tests and #80128
  9586. 2006-12-08 Chris Toshok <[email protected]>
  9587. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  9588. calls EndEdit, it needs to be called before we set current_cell to
  9589. its new value. Otherwise, we end up committing the value in the
  9590. textbox to the new cell as well. Fixes bug #80160.
  9591. 2006-12-08 Chris Toshok <[email protected]>
  9592. * Form.cs (set_CancelButton): if the button's DialogResult is
  9593. None, set it to Cancel. Fixes bug 80180.
  9594. 2006-12-08 Jackson Harper <[email protected]>
  9595. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  9596. to watch ourselves when setting the canvas size and setting the
  9597. scrollbar values.
  9598. 2006-12-08 Chris Toshok <[email protected]>
  9599. * DataGrid.cs: comment out the two MakeTransparent calls for the
  9600. time being so people using trunk (and not 1.2.2) on windows can
  9601. actually use the datagrid. This deals with bug #80151.
  9602. 2006-12-08 Jonathan Pobst <[email protected]>
  9603. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  9604. Graphics.DrawImage (image, int, int, int, int) overload instead
  9605. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  9606. the dpi difference and was blurring images it drew.
  9607. [Fixes bug #79960]
  9608. 2006-12-08 Chris Toshok <[email protected]>
  9609. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  9610. rowcnt is 0 (such as with an empty datasource), and make sure we
  9611. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  9612. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  9613. 2006-12-08 Chris Toshok <[email protected]>
  9614. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  9615. grid.
  9616. 2006-12-08 Chris Toshok <[email protected]>
  9617. [ Fixes bug #80167 ]
  9618. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  9619. style is FlatStyle.System.
  9620. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  9621. ButtonBase.flat_style private, and switch uses of it to the public
  9622. property.
  9623. 2006-12-08 Chris Toshok <[email protected]>
  9624. [ Fixes bug #80121 ]
  9625. * ThemeWin32Classic.cs: center the caption text in the datagrid
  9626. when we draw it.
  9627. * DataGrid.cs: lessen the amount we add to the caption height from
  9628. 6 to 2. 6 was making it huge.
  9629. 2006-12-08 Andreia Gaita <[email protected]>
  9630. * UpDownBase: Handle MouseWheel call directly instead of capturing
  9631. the inner textbox's OnMouseWheel. Fixes #80166
  9632. 2006-12-08 Jackson Harper <[email protected]>
  9633. * TextControl.cs: We need to invalidate the textbox when we empty
  9634. it (how had this not been discovered before?)
  9635. 2006-12-08 Jackson Harper <[email protected]>
  9636. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  9637. to behave like MS, we now ignore the eventargs.Click and just
  9638. track state ourself, which we were already doing anyways.
  9639. - Constrain the double click handler to the double click size.
  9640. 2006-12-08 Chris Toshok <[email protected]>
  9641. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  9642. direction if that scrollbar isn't shown. fixes bug #80158.
  9643. 2006-12-08 Andreia Gaita <[email protected]>
  9644. * NumericUpDown.cs: Update value on getter. Fixes #79950
  9645. 2006-12-08 Chris Toshok <[email protected]>
  9646. * MenuItem.cs: add back in the event cloning code. I didn't know
  9647. how to do it in the face of the EventHandlerList work i'd done
  9648. last week. Fixes bug #80183.
  9649. 2006-12-08 Jonathan Pobst <[email protected]>
  9650. * Control.cs: Add an invalidate to the BackgroundImage setter.
  9651. [Fixes 80184]
  9652. 2006-12-07 Jonathan Pobst <[email protected]>
  9653. * ToolStrip*: Add some small properties reported by MoMA, fix event
  9654. firing and default properties based off of unit tests, and add some
  9655. attributes based off of the class status page.
  9656. 2006-12-07 Jackson Harper <[email protected]>
  9657. * TextBoxBase.cs: Take HideSelection into account when determining
  9658. whether or not to show the selection.
  9659. * RichTextBox.cs: After inserting the RTF into the document move
  9660. the cursor to the beginning of the document.
  9661. 2006-12-07 Jonathan Pobst <[email protected]>
  9662. * Control.cs: Remove static ArrayList "controls" which maintained
  9663. a reference to every control created.
  9664. * Application.cs: Create a static FormCollection to maintain a reference
  9665. to every form created. Use it in places that formerly enumerated through
  9666. the controls one looking for forms.
  9667. * Form.cs: Add and remove self from above FormCollection.
  9668. 2006-12-07 Alexander Olk <[email protected]>
  9669. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  9670. not libgdk (though it makes me wonder why I didn't have any
  9671. problems)
  9672. 2006-12-07 Chris Toshok <[email protected]>
  9673. [ you had to know this was coming after that last commit...]
  9674. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  9675. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  9676. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  9677. XCopyArea).
  9678. 2006-12-07 Chris Toshok <[email protected]>
  9679. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  9680. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  9681. all the behavior we need for double buffering.
  9682. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  9683. client side Bitmap, just like the old Control-based double buffer
  9684. code did. The methods are virtual, so each XplatUI driver
  9685. subclass can replace the implementation to use a faster, platform
  9686. specific approach.
  9687. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  9688. double buffer code, and clean things up a bit in the process.
  9689. 2006-12-06 Chris Toshok <[email protected]>
  9690. * Control.cs: reindent WndProc.
  9691. 2006-12-06 Chris Toshok <[email protected]>
  9692. [ I wanna be like BenM when I grow up ]
  9693. * Hwnd.cs: create a single static Graphics object on the static
  9694. Bitmap we create. use this for our text measurements.
  9695. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  9696. This was causing us to allocate a backbuffer for every control,
  9697. even when it wasn't flagged as double buffered. Instead use the
  9698. single graphics instance. This might have implications for
  9699. multithreaded applications. If we run into problems we can switch
  9700. to creating 1 Graphics per control, on the static Hwnd bitmap.
  9701. this change nets us a 7M savings in private dirty mappings when
  9702. running FormsTest.exe.
  9703. 2006-12-06 Chris Toshok <[email protected]>
  9704. * ListView.cs: the BackgroundImage override is just to set
  9705. attributes. chain up to base.BackgroundImage.
  9706. * RichTextBox.cs: same.
  9707. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  9708. changes, so instead a handler for BackgroundImageChanged.
  9709. * Control.cs: make background_image private.
  9710. 2006-12-06 Chris Toshok <[email protected]>
  9711. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  9712. sure we even need this assignment, but roll with it for now.
  9713. * Control.cs: make the cursor field private.
  9714. 2006-12-06 Chris Toshok <[email protected]>
  9715. * Form.cs: we don't need to explicitly set ImeMode to
  9716. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  9717. behavior in the face of ImeMode.Inherit.
  9718. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  9719. change the ctor's assignment to use ImeMode instead of ime_mode.
  9720. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  9721. ImeModeInherit. Only check for the parent's imemode (and return
  9722. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  9723. This fixes the button unit test, which sets both ImeMode and
  9724. DefaultImeMode to ImeMode.Disable.
  9725. also make the ime_mode field private.
  9726. 2006-12-06 Chris Toshok <[email protected]>
  9727. * Control.cs: make control_style private.
  9728. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  9729. setting the styles to true, then setting them to false instead of
  9730. reverting to their previous values.
  9731. also, call SetStyle on the scrollbars instead of using
  9732. control_style directly.
  9733. 2006-12-06 Jonathan Pobst <[email protected]>
  9734. * FormCollection.cs: Implement. [2.0]
  9735. 2006-12-06 Chris Toshok <[email protected]>
  9736. * Control.cs: make tab_stop private.
  9737. * Label.cs: set TabStop, not tab_stop. reformat some event
  9738. add/remove methods to make them more compact.
  9739. 2006-12-06 Chris Toshok <[email protected]>
  9740. * RadioButton.cs: fix TabStop handling.
  9741. 2006-12-06 Chris Toshok <[email protected]>
  9742. * TextBox.cs: remove the explicit assignments to has_focus.
  9743. Control does that.
  9744. * ButtonBase.cs: remove the assignment to has_focus. Control will
  9745. manage that.
  9746. 2006-12-06 Chris Toshok <[email protected]>
  9747. * ButtonBase.cs: remove all uses of is_enabled from this code.
  9748. it's always true when any of the code containing the checks is
  9749. executed.
  9750. 2006-12-06 Chris Toshok <[email protected]>
  9751. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  9752. with different semantics (some are present in both 1.1 and 2.0
  9753. profiles) so that we match MS's behavior in our unit tests.
  9754. 2006-12-06 Jackson Harper <[email protected]>
  9755. * TextControl.cs: Make this operation undoable.
  9756. * TextBoxBase.cs: Factor the border width into the preferred
  9757. height.
  9758. - implement Modified as per the spec.
  9759. 2006-12-06 Chris Toshok <[email protected]>
  9760. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  9761. 2006-12-06 Chris Toshok <[email protected]>
  9762. * Control.cs: make right_to_left and context_menu fields private.
  9763. 2006-12-06 Chris Toshok <[email protected]>
  9764. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  9765. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  9766. Control.child_controls private. switch all uses over to
  9767. Control.Controls.
  9768. 2006-12-06 Chris Toshok <[email protected]>
  9769. * System.Windows.Forms/GroupBox.cs,
  9770. System.Windows.Forms/AccessibleObject.cs,
  9771. System.Windows.Forms/ErrorProvider.cs,
  9772. System.Windows.Forms/Control.cs,
  9773. System.Windows.Forms/UpDownBase.cs,
  9774. System.Windows.Forms/ScrollBar.cs,
  9775. System.Windows.Forms/DateTimePicker.cs,
  9776. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  9777. System.Windows.Forms/ToolTip.cs,
  9778. System.Windows.Forms/RadioButton.cs,
  9779. System.Windows.Forms/LinkLabel.cs,
  9780. System.Windows.Forms/Splitter.cs,
  9781. System.Windows.Forms/TextBoxBase.cs,
  9782. System.Windows.Forms/ToolStripTextBox.cs,
  9783. System.Windows.Forms/ContainerControl.cs,
  9784. System.Windows.Forms/ThemeWin32Classic.cs,
  9785. System.Windows.Forms/SizeGrip.cs,
  9786. System.Windows.Forms/ToolStripDropDown.cs,
  9787. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  9788. private. switch all uses over to Control.Parent.
  9789. 2006-12-06 Chris Toshok <[email protected]>
  9790. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  9791. Control does this before calling emitting these events.
  9792. * TabControl.cs: same.
  9793. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  9794. Control.client_rect.
  9795. * ButtonBase.cs: use the ClientSize property instead of the
  9796. client_size field.
  9797. * ScrollableControl.cs: same.
  9798. * Control.cs: another pass at making properties private. also,
  9799. move the initialization of tab_stop to the ctor.
  9800. 2006-12-05 Andreia Gaita <[email protected]>
  9801. * TabControl.cs: Let the selected index be set freely if the
  9802. control handle is not yet created.
  9803. 2006-12-05 Jonathan Pobst <[email protected]>
  9804. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  9805. internal until I can rewrite DefaultLayout.
  9806. * ToolStrip.cs: Fix build error and some general cleaning.
  9807. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  9808. Fix build errors caused by making some of Control's fields private.
  9809. 2006-12-05 Jackson Harper <[email protected]>
  9810. * TextControl.cs: Redo Insert a little so that it use IndexOf
  9811. instead of Split, this prevents it from messing up on things like
  9812. \n\n\n. Also more effecient since the split array doesn't need to
  9813. be created.
  9814. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  9815. multiline text differently, this is the first of many fixes that
  9816. will make multiline/non-multiline the same thing as far as the
  9817. TextBoxBase is concerned.
  9818. - Don't split the text and insert lines, this can lose some line
  9819. endings (like is the last line a soft or hard break). Instead use
  9820. the new Insert.
  9821. - Fix an off by one when combining all the lines in the Text
  9822. getter.
  9823. - Remove separate multiline handling from the Text getter/setter.
  9824. 2006-12-05 Chris Toshok <[email protected]>
  9825. * ButtonBase.cs: a few changes:
  9826. - don't reinitialize internal Control fields in the ctor when they
  9827. have the same values as Control sets them.
  9828. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  9829. this before calling those methods.
  9830. - we don't need to call Refresh for anything. use Invalidate
  9831. instead.
  9832. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  9833. calls Refresh in its OnEnabledChanged.
  9834. - several of the events we were registered for in the ctor to
  9835. redraw ourselves already include calls to Invalidate in the
  9836. property setters that raise the events. remove the extra
  9837. invalidation.
  9838. - reformat a switch statement that was 83274658 columns wide.
  9839. 2006-12-05 Mike Kestner <[email protected]>
  9840. * ComboBox.cs: fix a unit test regression from a TextBox
  9841. SelectionLength return of -1 when there's no selection.
  9842. 2006-12-05 Chris Toshok <[email protected]>
  9843. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  9844. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  9845. cleaning up some of the internal Control fields being used by
  9846. subclasses.
  9847. 2006-12-05 Mike Kestner <[email protected]>
  9848. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  9849. listbox after AddImplicit calls since it defaults to hidden. Add a
  9850. hack to preserve requested heights across DropDownStyle changes.
  9851. 2006-12-05 Jonathan Pobst <[email protected]>
  9852. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  9853. 2006-12-05 Chris Toshok <[email protected]>
  9854. * DataGridView.cs: fix compiler warnings.
  9855. * PrintControllerWithStatusDialog.cs: same.
  9856. * ToolBar.cs: same.
  9857. * FolderBrowserDialog.cs: same.
  9858. * Splitter.cs: same.
  9859. * DataGridViewComboBoxCell.cs: same.
  9860. * XplatUIWin32.cs: same.
  9861. * PictureBox.cs: same.
  9862. * Win32DnD.cs: same.
  9863. * PageSetupDialog.cs: same.
  9864. * FileDialog.cs: same.
  9865. * PrintDialog.cs: same.
  9866. * DataGridTextBoxColumn.cs: same.
  9867. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  9868. 2006-12-05 Chris Toshok <[email protected]>
  9869. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  9870. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  9871. System.ComponentModel.EventHandlerList work.
  9872. 2006-12-05 Jonathan Chambers <[email protected]>
  9873. * DrawTreeNodeEventArgs.cs: Added.
  9874. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  9875. * InternalWindowManager.cs: Remove an unused field.
  9876. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  9877. * InternalWindowManager.cs:
  9878. - Save the point where the title bar is clicked.
  9879. * MdiWindowManager.cs:
  9880. - Only allow moving of the window as long as the
  9881. clicked point on the title bar does not get out of
  9882. MdiClient's rectangle. Fixes #79982.
  9883. * MdiClient.cs:
  9884. - Added Horizontal/VerticalScrollbarVisible.
  9885. - Simplified the scrollbar sizing algorithm.
  9886. - Cache the difference in scrolled value in
  9887. H/VBarValueChanged and move the calculation out
  9888. of the for loop.
  9889. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  9890. * Control.cs: Make the Console.WriteLine in WndProc
  9891. write more info.
  9892. 2006-12-05 Chris Toshok <[email protected]>
  9893. * ToolStripManager.cs, ToolStripButton.cs,
  9894. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  9895. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  9896. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  9897. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  9898. ToolStripProgressBar.cs, ToolStripContainer.cs,
  9899. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  9900. to using System.ComponentModel.EventHandlerList.
  9901. 2006-12-04 Chris Toshok <[email protected]>
  9902. * LinkLabel.cs: fix up compiler warnings.
  9903. * TableLayoutSettings.cs: same.
  9904. * TreeView.cs: same.
  9905. * ToolBar.cs: same.
  9906. * TabControl.cs: same.
  9907. * RichTextBox.cs: same.
  9908. * ListViewItem.cs: same.
  9909. * PropertyGrid.cs: same.
  9910. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  9911. * ToolTip.cs same.
  9912. * TextRenderer.cs: fix up compiler warnings.
  9913. * Label.cs: same.
  9914. * Form.cs: corcompare fixes.
  9915. * PictureBox.cs: fix up compiler warnings.
  9916. * ImageListStreamer.cs: same.
  9917. * TrackBar.cs: corcompare fix.
  9918. * Control.cs: fix up compiler warnings.
  9919. * SplitterPanel.cs: same.
  9920. * NumericTextBox.cs: same.
  9921. * ImageList.cs: same.
  9922. * StatusStrip.cs: same.
  9923. * ProgressBar.cs: corcompare fix.
  9924. * ToolStripButton.cs: fix up compiler warnings.
  9925. * ToolStripStatusLabel.cs: same.
  9926. * ToolStripSplitButton.cs: same.
  9927. * ToolStripSeparator.cs: same.
  9928. * ToolStripProgressBar.cs: same.
  9929. * ToolStripDropDownMenu.cs: same
  9930. * ToolStripDropDown.cs: same.
  9931. * ToolStripDropDownButton.cs: same.
  9932. * ToolStrip.cs: same.
  9933. * ToolStripControlHost.cs: same.
  9934. * ToolStripContentPanel.cs: same.
  9935. * ToolStripDropDown.cs: same.
  9936. * ToolStripContainer.cs: same.
  9937. * ToolStripPanel.cs: same, and add "new" where we need it to work
  9938. with the new ArrangedElementCollection.
  9939. * ToolStripItemCollection.cs: add "new" where we need it to work
  9940. with the new ArrangedElementCollection.
  9941. 2006-12-04 Andreia Gaita <[email protected]>
  9942. * TabControl.cs: Fix default tab selection to after TabControl
  9943. gets focus and not before. Fixes #80128
  9944. 2006-12-04 Chris Toshok <[email protected]>
  9945. * DataGridTableStyle.cs: remove the gross calling of
  9946. datagrid.Refresh from here. It's a broken idea and it doesn't
  9947. work anyway.
  9948. * DataGrid.cs: instead, just register/unregister from the
  9949. DataGridTableStyle events in CurrentTableStyle. we play it
  9950. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  9951. even though some would most likely not require it. Fixes bug
  9952. #80115 (and one portion of #80117 as a side effect).
  9953. 2006-12-04 Chris Toshok <[email protected]>
  9954. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  9955. so the textbox (if any) goes away. Fixes bug #80117.
  9956. 2006-12-04 Chris Toshok <[email protected]>
  9957. * DataGridColumnStyle.cs: set the column's readonly property
  9958. initially based on the property descriptor's IsReadOnly. Fixes
  9959. bug #80044.
  9960. 2006-12-04 Chris Toshok <[email protected]>
  9961. * ComboBox.cs: wrap the dropdown style changing work in
  9962. SuspendLayout/ResumeLayout. Fixes bug #79968.
  9963. 2006-12-04 Jackson Harper <[email protected]>
  9964. * TextBoxBase.cs: Fix off by one, since these are one-based.
  9965. * TextBox.cs: Select all the text when we get focus. The TextBox
  9966. does this but the RTB does not.
  9967. 2006-12-04 Chris Toshok <[email protected]>
  9968. * DataGridTextBoxColumn.cs: remove some spew.
  9969. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  9970. but some part of me is saying "it shouldn't be here.." At any
  9971. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  9972. setting the value.
  9973. 2006-12-04 Chris Toshok <[email protected]>
  9974. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  9975. to reassign the propertydescriptor.
  9976. 2006-12-04 Jackson Harper <[email protected]>
  9977. * TextBoxBase.cs:
  9978. * TextControl.cs: Remove some unused variables. Maybe this will
  9979. patch things up between mike and I.
  9980. - don't split lines less then one char wide, if the viewport is
  9981. that small text won't be visible anyways.
  9982. 2006-12-04 Jackson Harper <[email protected]>
  9983. * TextBoxBase.cs: Default selection length is -1, need to do some
  9984. more testing on windows to see when this is used for the property.
  9985. - Redid the Lines [] property to that we properly remove soft line
  9986. breaks
  9987. - added support for preserving carriage returns
  9988. - CanUndo is not a variable like 'is undo enabled' it just returns
  9989. true if there is undo operations available.
  9990. - AppendText doesn't need to grab the last tag itself anymore,
  9991. this happens automatically when we move the cursor.
  9992. * TextControl.cs: Add CompoundActions to the undo class. This
  9993. allows combining the other operations into one big option. ie a
  9994. paste will combine { delete old, insert new, move cursor }
  9995. - Add InsertString undo operation
  9996. - New method for deleting multiline text
  9997. - Add carriage returns to lines. So we can preserve carriage
  9998. returns when text is 'roundtripped'
  9999. 2006-12-04 Chris Toshok <[email protected]>
  10000. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  10001. minimum 0. Fixes the scrollbar exception in bug #80136.
  10002. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  10003. * MdiClient.cs:
  10004. * MdiWindowManager: Removed unused fields and methods.
  10005. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  10006. * StatusBar.cs: Update all panels when a AutoSize=Contents
  10007. panel needs updating.
  10008. * StatusBarPanel.cs: Remove twidth and only use initialize.
  10009. Fixes #80031.
  10010. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  10011. * Form.cs: When a form's MdiParent is set add it directly
  10012. on top of the z-order in stead of relying on MdiClient's
  10013. ActivateChild to do it. Fixes #80135.
  10014. * MdiClient.cs:
  10015. - Remove original_order, mdi_child_list is already doing
  10016. the same thing.
  10017. - Create mdi_child_list on construction in
  10018. stead of first use (avoids a few null checks).
  10019. * MenuItem.cs: Use an already existing list of mdi children
  10020. to get the correct order of children and remove the other
  10021. redundant list.
  10022. 2006-12-04 Chris Toshok <[email protected]>
  10023. * PropertyGridView.cs: cached_splitter_location is only used in
  10024. !DOUBLEBUFFER code.
  10025. * PropertyGrid.cs: implement the ComComponentNameChanged event
  10026. using Events, hoping that would fix the warning. Looks like a
  10027. compiler bug instead (#80144).
  10028. * PropertyManager.cs: remove unused method.
  10029. 2006-11-04 Everaldo Canuto <[email protected]>
  10030. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  10031. include parentesis to fix expression evaluation. Fixes #79634.
  10032. 2006-11-02 Everaldo Canuto <[email protected]>
  10033. * MenuAPI.cs:
  10034. - Changes to fix behavior in Menu control, some reported in #80097
  10035. and other detected during behavior refactory like a select event
  10036. problems.
  10037. - Remove unneded "if's" conditions.
  10038. - Created an internal to flag when popup is active in control, we need
  10039. it because in .NET you can have menu active but without popup active
  10040. when you active menu using popup without visible items.
  10041. - Mimic win32 behavior for Select and Popup events.
  10042. - Dont open popup menu when you dont have visible subitems.
  10043. - Do nothing when click on disabled menu item.
  10044. - Some small changes to follow the coding style guidelines.
  10045. - Unselect menu only when another control gives focus. Fixes #80097.
  10046. - Remove unused code.
  10047. * MenuItem.cs: internal VisibleItems method to check if menu
  10048. theres visible subitems, it will be usefull to fix some
  10049. behavior in Menu control.
  10050. 2006-11-01 Everaldo Canuto <[email protected]>
  10051. * Timer.cs: Tag property for 2.0 profile.
  10052. 2006-12-01 Chris Toshok <[email protected]>
  10053. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  10054. * Win32DnD.cs: comment out some unused fields.
  10055. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  10056. some unused properties/methods.
  10057. * XplatUIX11.cs: fix MousePosition so we override the base class's
  10058. property instead of conflicting with it.
  10059. * PictureBox.cs: comment out some unused fields
  10060. * OSXStructs.cs: make some struct fields public.
  10061. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  10062. MousePosition so we override the base class's property instead of
  10063. conflicting with it.
  10064. * X11Dnd.cs: comment out some unused fields
  10065. * X11DesktopColors.cs: fix some struct field visibility to quiet
  10066. the compiler.
  10067. * X11Dnd.cs: remove some debug code.
  10068. * ThemeClearlooks.cs: comment out unused field.
  10069. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  10070. * ThemeGtk.cs: comment out some unused pinvokes.
  10071. * Timer.cs: remove some unused fields.
  10072. * ThemeClearlooks.cs: comment out unused field.
  10073. * UpDownBase.cs: comment out unused field.
  10074. * DataObject.cs: comment out unused field.
  10075. * DataGridBoolColumn.cs: reomve unused field.
  10076. * DataGrid.cs: remove unused field.
  10077. * Cursor.cs: remove old ToBitmap code.
  10078. * ControlPaint.cs: remove unused method.
  10079. * ScrollBar.cs: remove unused fields.
  10080. * ComboBox.cs: remove unused field, and chain up to
  10081. AccessibleObject ctor.
  10082. * ListBox.cs: remove unused field.
  10083. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  10084. * GridEntry.cs: remove unused fields.
  10085. * Binding.cs: remove unused fields.
  10086. * AxHost.cs: remove unused method.
  10087. * ContainerControl.cs: remove unused field.
  10088. * ScrollableControl.cs: remove unused fields.
  10089. 2006-12-01 Chris Toshok <[email protected]>
  10090. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  10091. the Where/WhereString stuff. it's easy enough to CWL
  10092. Environment.StackTrace.
  10093. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  10094. unused private fields.
  10095. 2006-12-01 Jackson Harper <[email protected]>
  10096. * TextControl.cs: Do not update the view while inserting multiline
  10097. text. If we update the view we might wrap lines, before entering
  10098. the new lines, which causes the new line insertion calculations to
  10099. be totally fubared.
  10100. - Remove an old TODO
  10101. - Make debug output a little nicer
  10102. 2006-12-01 Chris Toshok <[email protected]>
  10103. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  10104. 2006-12-01 Chris Toshok <[email protected]>
  10105. [ fix the majority of the CS0108 warnings we've been suppressing ]
  10106. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  10107. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  10108. to "LayoutToolBar" to quiet mcs.
  10109. * TabControl.cs: mark our ControlCollection class as 'new'.
  10110. * TextBoxBase.cs: mark some events as 'new'.
  10111. * Splitter.cs: TabStop is 'new'.
  10112. * ControlBindingsCollection.cs: mark a few methods as new since
  10113. they change the visibility from protected to public.
  10114. * RadioButton.cs: DoubleClick -> base class, and remove unused
  10115. HaveDoubleClick.
  10116. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  10117. events as new.
  10118. * NumericUpDown.cs: TextChanged -> base class.
  10119. * CheckedListBox.cs: mark our ObjectCollection class as new to
  10120. quiet mcs.
  10121. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  10122. muck with the base class.
  10123. * StatusBar.cs: fix some mcs warnings about Update being the same
  10124. name as a base class method.
  10125. * RichTextBox.cs: mark some events as new, and make them do things
  10126. to the base class impl.
  10127. * UserControl.cs: mark TextChanged as new, and have it manipulate
  10128. base.TextChanged.
  10129. * UpDownBase.cs: mark some things new.
  10130. * CheckBox.cs: mark DoubleClick "new", and add some text about
  10131. what we need to look at.
  10132. * Panel.cs: make the events "new", and manipulate the base
  10133. version. these are just here for attributes.
  10134. * AccessibleObject.cs: make owner private.
  10135. * Control.cs: deal with AccessibleObject.owner being private.
  10136. cache our own copy if we need it.
  10137. * Button.cs: add "new" to the DoubleClickEvent.
  10138. * ListBox.cs: no need to track our own has_focus here. let
  10139. Control.has_focus do it for us. Also some other work to clear up
  10140. warnings about not overriding base class methods of the same name.
  10141. * ComboBox.cs: clear up some warnings about not override base
  10142. class methods of the same name.
  10143. 2006-12-01 Chris Toshok <[email protected]>
  10144. * Form.cs: flag a few things as "new" to quiet some of the mcs
  10145. warnings.
  10146. * AxHost.cs: same.
  10147. * PrintPreviewDialog.cs: same.
  10148. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  10149. now DGV isn't so horrible on the class status page. also, move
  10150. all events to using System.ComponentModel.EventHandlerList. my
  10151. wrists hurt.
  10152. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  10153. * MdiWindowManager.cs:
  10154. - Set form to active mdi child if shown,
  10155. and update the active mdi child to the next
  10156. remaining child in the z-order if the form is hidden.
  10157. * Form.cs:
  10158. - Track if the form has been visible and if its
  10159. visibility is beeing changed, so that the MdiClient
  10160. can properly decide the ActiveMdiChild. The MdiClient
  10161. cannot track this since the form can change visibility
  10162. before MdiClient is created.
  10163. * MdiClient.cs:
  10164. - Don't activate anything of the parent form is changing
  10165. its visibility.
  10166. - Rework ActiveMdiChild to only return visible mdi
  10167. children and take into account several other corner
  10168. cases.
  10169. 2006-12-01 Chris Toshok <[email protected]>
  10170. * IBindableComponent.cs: new 2.0 interface.
  10171. 2006-12-01 Gert Driesen <[email protected]>
  10172. * DataGrid.cs: Font for caption area is bold by default.
  10173. 2006-12-01 Everaldo Canuto <[email protected]>
  10174. * Menu.cs: Tag property for 2.0.
  10175. 2006-11-01 Everaldo Canuto <[email protected]>
  10176. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  10177. 2006-12-01 Chris Toshok <[email protected]>
  10178. * TreeView.cs: doh, the Begin* events should be
  10179. TreeViewCancelEventHandler.
  10180. 2006-12-01 Chris Toshok <[email protected]>
  10181. * Form.cs: Form.ControlCollection already stores off the
  10182. form_owner field. don't access the base class's internal "owner"
  10183. field.
  10184. * Control.cs: make all the fields in Control.ControlCollection
  10185. private. there's no need for any internal fields here.
  10186. 2006-12-01 Chris Toshok <[email protected]>
  10187. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  10188. OnHandleCreated. Fixes bug #80109.
  10189. 2006-12-01 Chris Toshok <[email protected]>
  10190. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  10191. SplitContainer.cs, Control.cs, StatusStrip.cs,
  10192. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  10193. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  10194. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  10195. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  10196. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  10197. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  10198. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  10199. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  10200. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  10201. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  10202. do most of the work to convert our code over to use
  10203. System.ComponentModel.Component.Events for
  10204. adding/removing/dispatching events.
  10205. 2006-11-30 Jonathan Pobst <[email protected]>
  10206. * DataGridView.cs: Fix an ArgumentNullException reported
  10207. twice today in IRC.
  10208. 2006-11-30 Mike Kestner <[email protected]>
  10209. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  10210. grabbed listbox. Fixes #80036 and #80101.
  10211. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  10212. * Message.cs: Changed ToString() to match MS.
  10213. 2006-11-30 Jackson Harper <[email protected]>
  10214. * TextBoxBase.cs: You can still change the selected text on a read
  10215. only textbox.
  10216. * TextControl.cs: Lower magic number for wrap calculations. This
  10217. lets text get closer to the right (far) edge.
  10218. 2006-11-30 Jonathan Pobst <[email protected]>
  10219. * Control.cs: Tweak 2.0 layout properties.
  10220. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  10221. * TextRenderer.cs: Add a new overload.
  10222. * ToolStrip*: Huge amount of changes and new features.
  10223. 2006-11-30 Mike Kestner <[email protected]>
  10224. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  10225. scroll range correct. Fixes #79994.
  10226. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  10227. * MdiWindowManager.cs: Update main form's text when
  10228. a form is closed. (fixes #80038)
  10229. 2006-11-30 Everaldo Canuto <[email protected]>
  10230. * ToolBar.cs:
  10231. - Fix an regression in ButtonSize.
  10232. - Get ImeMode default value change to "Disable".
  10233. - Get ShowTooltips default value change to true, default value is
  10234. "false" but after make a test in .NET we get "true" result as default.
  10235. 2006-11-29 Jonathan Pobst <[email protected]>
  10236. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  10237. 2006-11-29 Chris Toshok <[email protected]>
  10238. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  10239. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  10240. SetWindowTransparency hasn't been called.
  10241. 2006-11-29 Chris Toshok <[email protected]>
  10242. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  10243. if it's supported.
  10244. (set_AllowTransparency): reorder things a little so that the
  10245. WS_EX_LAYERED style is removed properly.
  10246. 2006-11-29 Chris Toshok <[email protected]>
  10247. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  10248. * Form.cs: only call the XplatUI transparency method (get/set) if
  10249. SupportsTransparency says it's supported. Otherwise fallback to
  10250. doing nothing (in the set case) or returning the instance field we
  10251. cache (in the get case).
  10252. * XplatUIStructs.cs: add TransparencySupport flag enum.
  10253. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  10254. change to SupportsTransparency.
  10255. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  10256. TransparencySupport.None from SupportsTransparency.
  10257. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  10258. TransparencySupport.Set from SupportsTransparency.
  10259. * XplatUIWin32.cs: implement GetWindowTransparency calling
  10260. GetLayeredWindowAttributes, and implement SupportsTransparency by
  10261. checking whether or not both
  10262. GetWindowTransparency/SetWindowTransparency are available
  10263. entrypoints. We need to do this since SetWindowTransparency is
  10264. available as of win2k, but GetWindowTransparency requires winxp.
  10265. yay win32 api.
  10266. * XplatUI.cs: Add GetWindowTransparency, and change
  10267. SupportsTransparency to allow for either/both Get/Set.
  10268. 2006-11-29 Chris Toshok <[email protected]>
  10269. * DataGrid.cs: keep from going into an infinite loop redrawing a
  10270. datagrid that has no datasource. Fixes bug #80033.
  10271. 2006-11-29 Chris Toshok <[email protected]>
  10272. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  10273. Invalidate) before the mainmenu has been assigned to a control.
  10274. 2006-11-29 Chris Toshok <[email protected]>
  10275. * DataGrid.cs: detect when we should be double the double click
  10276. row/column autosize stuff, although that codepath has yet to be
  10277. written. part of the work for bug #79891.
  10278. 2006-11-29 Chris Toshok <[email protected]>
  10279. * Binding.cs (SetControl): fix unit test.
  10280. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  10281. * PageSetupDialog.cs: Validate the margins and set them in
  10282. PageSettings.
  10283. * NumericTextBox.cs: New class to mimic the behavior of the
  10284. textboxes used in the printing dialogs.
  10285. 2006-11-29 Andreia Gaita <[email protected]>
  10286. * Form.cs: Revert previous change (remove call UpdateBounds
  10287. from form constructor), because it messes with the handle creation
  10288. order, and that one needs lots and lots of love.
  10289. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  10290. for valid printer and throw InvalidPrinterException if document
  10291. is set but printer not valid), adding a MonoTODO. Once
  10292. handle creation is done properly, we can put this back in.
  10293. 2006-11-28 Everaldo Canuto <[email protected]>
  10294. * MenuItem.cs: Create a invalidate method for menu item, to be
  10295. calling from set text, it make text changes to imadiate update
  10296. on screen. Fixes #80013.
  10297. 2006-11-28 Everaldo Canuto <[email protected]>
  10298. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  10299. fixes bug #80070 and some other problem on toolbar buttons
  10300. layout.
  10301. 2006-11-28 Everaldo Canuto <[email protected]>
  10302. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  10303. with dotted brush. Fixes #79564
  10304. 2006-11-28 Andreia Gaita <[email protected]>
  10305. * Form.cs: Removed call to UpdateBounds on Form
  10306. constructor, it was causing a call to CreateHandle
  10307. before it was supposed to.
  10308. * PrintControllerWithStatusDialog: Applied patch
  10309. by Chris Toshok to hide controller when there are
  10310. no printers available.
  10311. PrintDialog.cs: initialize printer settings to
  10312. null - correct DefaultValues test #5
  10313. * PrintPreviewControl.cs: Move PrintController
  10314. initialization to GeneratePreview
  10315. * PrintPreviewDialog.cs:
  10316. - Remove Preview generation from Document_set(). It is
  10317. called on OnPaint
  10318. - Throw InvalidPrinterException on CreateHandle if
  10319. a Document is set but there are no printers or
  10320. printer is not valid.
  10321. * ThemeWin32Classic: don't paint PrintPreviewControl
  10322. if there is nothing to paint
  10323. 2006-11-28 Miguel de Icaza <[email protected]>
  10324. * Form.cs: Add another popular method.
  10325. * TabPage.cs: ditto.
  10326. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10327. * MenuItem.cs: Fixed a warning.
  10328. * InternalWindowManager: Fixed a warning.
  10329. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10330. * MenuItem.cs:
  10331. - When cloning a menu also clone MdiList and clone the
  10332. window menu items properly (as the forms and menuitems
  10333. are kept in an internal hashtable, these need updating
  10334. as well)
  10335. - Rewrote the window menu code, menu items are added in the
  10336. order the forms were added to their parent, and they are
  10337. updated every time the window menu is shown (before the
  10338. list was only generated once, in the current order of the
  10339. forms, and would never be updated). A checkmark is shown
  10340. next to the item corresponding to the active mdi child.
  10341. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10342. * XplatUIStructs.cs:
  10343. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  10344. * XplatUIWin32.cs:
  10345. - Added TME_NONCLIENT to TMEFlags.
  10346. - Handles WM_NCMOUSEMOVE in GetMessage to
  10347. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  10348. * MdiWindowManager:
  10349. - Now merges mdi child menu to parent menu when maximized.
  10350. - Recalculate NC areas of both mdi child and mdi parent.
  10351. Fixes #79757 (4).
  10352. on window state and size changes.Fixes #79844 (3).
  10353. - Handle WM_NCCALCSIZE to properly calculate borders.
  10354. * Form.cs:
  10355. - Add/remove to the mdi containers list of mdi children
  10356. in the order they are added.
  10357. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  10358. to the maximized mdi child.
  10359. * InternalWindowManager.cs:
  10360. - Only execute a click on the control buttons on the mouse up,
  10361. not on the mouse down. Show the state of the button
  10362. (was only showing Normal state, never Pressed state). The
  10363. pressed button now follows the mouse (if you click the Close
  10364. button and move the mouse over the Maximize button, the
  10365. Maximize button will be shown as pressed). Since Win32 does
  10366. not generate WM_NCLBUTTONUP if you release the button outside
  10367. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  10368. it as a mouse up.
  10369. * ThemeWin32Classic.cs:
  10370. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  10371. * MdiClient.cs:
  10372. - Added a list of forms which contains the order the forms are
  10373. added to the mdi parent.
  10374. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  10375. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  10376. - If the active form changes set the scrollbars to the top
  10377. of the Z order, otherwise the form could hide them.
  10378. - Scrollbars are now sized according to ClientSize, not
  10379. to Size, and they take into account the other scrollbar
  10380. to determine maximum.
  10381. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  10382. * XplatUI.cs:
  10383. * XplatUIDriver.cs:
  10384. * XplatUIX11.cs:
  10385. * XplatUIWin32.cs:
  10386. * XplatUIOSX.cs:
  10387. - Added RequestAdditionalWM_NCMessages for windows to
  10388. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  10389. Currently only implemented in XplatUIWin32.
  10390. 2006-11-27 Chris Toshok <[email protected]>
  10391. * Hwnd.cs: only add the hwnd to the windows hash in
  10392. set_WholeWindow and set_ClientWindow if whole_window/client_window
  10393. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  10394. 2006-11-27 Mike Kestner <[email protected]>
  10395. * ComboBox.cs: remove redundant OnDropDown call. It is called
  10396. from the ComboListBox.ShowWindow code. Fixes #79969.
  10397. 2006-11-27 Chris Toshok <[email protected]>
  10398. * Hwnd.cs: remove the setters for ExposePending and
  10399. NCExposePending - noone uses them.
  10400. 2006-11-27 Jackson Harper <[email protected]>
  10401. * TextControl.cs: new param for ReplaceSelection which determines
  10402. whether we select the new selection, or set the cursor to the end
  10403. of the new selection.
  10404. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  10405. pasting, select the new text.
  10406. * RichTextBox.cs: Use new param for ReplaceSelection.
  10407. 2006-11-27 Jackson Harper <[email protected]>
  10408. * TextBoxBase.cs: Set the selection to the caret after the caret
  10409. is moved, otherwise they get out of sync.
  10410. 2006-11-26 Everaldo Canuto <[email protected]>
  10411. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  10412. it fixes #80015
  10413. 2006-11-26 Everaldo Canuto <[email protected]>
  10414. * ThemeWin32Classic.cs:
  10415. - Fix toolbar drop down arrow position.
  10416. - Fix drop down appearance when ToolBar.Appearance is normal,
  10417. it fixes #80018.
  10418. 2006-11-26 Gert Driesen <[email protected]>
  10419. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  10420. * Control.cs: Same.
  10421. * UpDownBase.cs: Same.
  10422. * ButtonBase.cs: Same.
  10423. * ScrollBar.cs: Same.
  10424. * TrackBar.cs: Same.
  10425. * PictureBox.cs: Same.
  10426. * UserControl.cs: Same.
  10427. * Label.cs: Same.
  10428. * ListControl.cs: Same.
  10429. * TextBoxBase.cs: Same.
  10430. * ListView.cs: Same.
  10431. * RichTextBox.cs: Same.
  10432. * TreeView.cs: Same.
  10433. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  10434. * PrintDialog.cs:
  10435. - Text label for where
  10436. - Text label comment was not shown
  10437. 2006-11-23 Everaldo Canuto <[email protected]>
  10438. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  10439. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  10440. * InternalWindowManager.cs:
  10441. - Handle WM_PARENTNOTIFY to activate the form
  10442. if any child control is clicked.
  10443. - The form is only sizable if not minimized.
  10444. * MdiWindowManager.cs:
  10445. - Save the IconicBounds if the form is moved.
  10446. - Rework SetWindowState, now the window bounds
  10447. are stored only if the old window state is Normal.
  10448. * MdiClient.cs:
  10449. - In SetWindowStates store the old window state if
  10450. the window is maximized and restore window state if
  10451. the window looses focus.
  10452. - Don't handle any scrollbar value changes if
  10453. initializing the scroll bars. Fixes #79771.
  10454. - Reworked ArrangeIconicWindows. Current algorithm
  10455. tests bounds agains all other minimized windows, if
  10456. any intersections create new bounds (going left to
  10457. right, bottom to top) and then test again. When
  10458. successful the bounds are saved and never computed
  10459. again. Fixes #79774.
  10460. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  10461. * InternalWindowManager.cs: Added HandleTitleBarUp.
  10462. 2006-11-23 Gert Driesen <[email protected]>
  10463. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  10464. hexadecimal in ParseUserEdit.
  10465. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  10466. * MdiWindowManager.cs:
  10467. - Handle a click on the form's icon to show the
  10468. system menu (when maximized). Fixes #79775.
  10469. - Change the existing click handler for the form's
  10470. icon when not maximized to show on MouseUp.
  10471. Fixes #79776.
  10472. * Form.cs: In OnResize only layout the mdi child's
  10473. parent if it actually has a parent. Might not if
  10474. the window is closing.
  10475. 2006-11-23 Gert Driesen <[email protected]>
  10476. * MdiClient.cs: Ignore active MDI client for text of parent, if
  10477. child has no text set.
  10478. 2006-11-23 Gert Driesen <[email protected]>
  10479. * ToolBar.cs: Fixed ToString to match MS.
  10480. 2006-11-22 Andreia Gaita <[email protected]>
  10481. * NumericUpDown:
  10482. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  10483. update inner values on set. Fixes #79966.
  10484. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  10485. - Fix hexadecimal parsing.
  10486. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  10487. parent. Fixes #79957
  10488. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  10489. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  10490. the actual size has to be queried, since if height /
  10491. width is negative Win32 changes it to 0.
  10492. Fixes #79999 on Windows.
  10493. * XplatUIX11.cs: Set height / width to 0 if negative
  10494. in SetWindowPos. Fixes #79999 on Linux.
  10495. 2006-11-22 Everaldo Canuto <[email protected]>
  10496. * ThemeWin32Classic.cs: Fix text redenring when button is
  10497. pressed.
  10498. 2006-11-22 Everaldo Canuto <[email protected]>
  10499. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  10500. and later navigate by mouse. Fixes #79528.
  10501. 2006-11-21 Everaldo Canuto <[email protected]>
  10502. * ToolBar.cs: Set default value for TabStop to false in
  10503. constructor, it fixes remaining behavior of bug #79863.
  10504. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  10505. * MdiWindowManager.cs:
  10506. * InternalWindowManager.cs:
  10507. - Moved a few methods specific to Mdi from
  10508. InternalWindowManager to MdiWindowManager.
  10509. Fixes #79996.
  10510. 2006-11-21 Chris Toshok <[email protected]>
  10511. * XplatUIOSX.cs: stub out InvalidateNC.
  10512. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  10513. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  10514. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  10515. * XplatUIDriver.cs: add InvalidateNC abstract method.
  10516. * XplatUI.cs: add InvalidateNC.
  10517. 2006-11-21 Everaldo Canuto <[email protected]>
  10518. * ToolBar.cs: Invalidate complete button area when pressed status
  10519. was changed.
  10520. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  10521. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  10522. by 1 when button is pressed.
  10523. 2006-11-20 Everaldo Canuto <[email protected]>
  10524. * ToolButton.cs: Invalidate middle of DropDown button when
  10525. ToolBar theres DropDownArrows.
  10526. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  10527. fix DropDown drawing operations.
  10528. 2006-11-20 Chris Toshok <[email protected]>
  10529. * NativeWindow.cs: fix the formatting of functions ('{' on the
  10530. following line), and enable the thread exception dialog.
  10531. * Application.cs: remove the duplicate exception catching from
  10532. here.
  10533. 2006-11-20 Everaldo Canuto <[email protected]>
  10534. * Toolbar.cs: Triggers button click event when click on icon
  10535. of dropdown ToolBarButton. Fixes #79912.
  10536. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  10537. * Theme.cs:
  10538. * ThemeWin32Classic.cs:
  10539. - Added a property WindowBorderFont to enable themeing
  10540. of mdi child windows' Text.
  10541. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  10542. * InternalWindowManager.cs:
  10543. * Form.cs:
  10544. * MdiClient.cs:
  10545. * MdiWindowManager.cs:
  10546. - If mdi child is maximized, set mdi parent's
  10547. text to "Parent - [Child]". Fixes #79770.
  10548. - If there is any maximized mdi child windows, only the active
  10549. window (and any new windows) is maximized, the rest are normal.
  10550. - On a WindowState change only save mdi child's window bounds
  10551. if the old window state was normal. Fixes #79774.
  10552. - The scroll bars are now calculated on hopefully all
  10553. necessary events. Fixed #79771 / #79844->6 / #79906.
  10554. - MdiClient.SizeScrollBars() now takes into account docked
  10555. controls in the parent when calculating available space.
  10556. - InternalWindowManager now always repaints the entire title
  10557. area. Fixes #79844->1/4/5.
  10558. - Added RequestNCRecalc on mdi child windowstate changes.
  10559. Fixes #79772.
  10560. 2006-11-20 Mike Kestner <[email protected]>
  10561. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  10562. in the MouseUp handler of the listbox and move the return handling
  10563. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  10564. 2006-11-20 Everaldo Canuto <[email protected]>
  10565. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  10566. 2006-11-17 Alexander Olk <[email protected]>
  10567. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  10568. working in 1.2.x anymore. So, updated.
  10569. 2006-11-19 Gert Driesen <[email protected]>
  10570. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  10571. NumberGroupSeparator of current culture instead of assuming en-US.
  10572. Fixed bug #79967.
  10573. 2006-11-17 Mike Kestner <[email protected]>
  10574. * Control.cs: Add the concept of implicit bounds setting so that
  10575. dock/undock round trips preserve explicitly set size/locations.
  10576. Fixes #79313.
  10577. 2006-11-17 Alexander Olk <[email protected]>
  10578. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  10579. can't handle those filters. (Fixes bug #79961)
  10580. 2006-11-17 Chris Toshok <[email protected]>
  10581. [ fixes the exit/crashes associated with #79835. it's clearly
  10582. suboptimal though, we need to figure out a better way to solve
  10583. this. ]
  10584. * PrintPreviewControl.cs: deal with the new invalid printer
  10585. exceptions.
  10586. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  10587. and return false (so CommonDialog.ShowDialog doesn't actually show
  10588. the form.)
  10589. * PrintDialog.cs: enable/disable the Ok button depending on
  10590. whether or not the printer is valid.
  10591. * CommonDialog.cs (ShowDialog): only actually show the form if
  10592. RunDialog returns true.
  10593. 2006-11-17 Jackson Harper <[email protected]>
  10594. * TextControl.cs: When soft splitting a line, mark it as a soft
  10595. split line. Also carry over the current line break to the next
  10596. line.
  10597. 2006-11-17 Chris Toshok <[email protected]>
  10598. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  10599. only want to shift the part of the invalid area that overlaps the
  10600. area we're scrolling. we also don't want to clear the invalid
  10601. area unless the invalid area was entirely contained within the
  10602. scrolling area.
  10603. 2006-11-16 Chris Toshok <[email protected]>
  10604. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  10605. also make sure to free the memory returned by XGetWindowProperty
  10606. in GetText().
  10607. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  10608. 2006-11-16 Chris Toshok <[email protected]>
  10609. * XplatUI.cs: add a new super secret way to get at the totally
  10610. unsupported X11 backend.
  10611. 2006-11-16 Gert Driesen <[email protected]>
  10612. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  10613. 2006-11-16 Jackson Harper <[email protected]>
  10614. * TreeView.cs: Allow more explicit setting of top node position
  10615. for scrollbars. Slower algo, but more accurate.
  10616. - CollapseAll should maintain the current top node.
  10617. * TextBoxBase.cs: When positioning the caret, use the line, pos
  10618. method, since the x, y method does not grab the correct tag, and
  10619. the caret height never gets set correctly. (Maybe I should just do
  10620. away with the caret having its own height, and always use the
  10621. carets current tag for height).
  10622. 2006-11-16 Jonathan Pobst <[email protected]
  10623. [Fixes 79778, 79923]
  10624. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  10625. Parent to the FosterParent instead.
  10626. 2006-11-16 Jackson Harper <[email protected]>
  10627. * TreeView.cs: Need to recalc the topnode when we expand or
  10628. collapse. The scrolling methods can't handle this on their own,
  10629. since they use differences between the last scroll position, and
  10630. those difference get completely messed up since we are expanding
  10631. nodes. This problem should probably be fixed in the scrolling
  10632. methods, so they can figure out exactly where they are, but this
  10633. will slow things down a little.
  10634. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  10635. strings, makes nunit-gui look a lot nicer.
  10636. 2006-11-16 Chris Toshok <[email protected]>
  10637. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  10638. the broken multithreaded event handling we have in here. File
  10639. this entry under "Why we should move to the new X11 backend".
  10640. Any thread can make it into UpdateMessageQueue, which gets events
  10641. from the X socket - some of which could belong to hwnds being
  10642. managed by a different thread. We can also have multiple threads
  10643. in UpdateMessageQueue at the same time, with each one reading from
  10644. the X socket. This leads to many problems, with the following
  10645. solutions:
  10646. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  10647. EnqueueLocked.
  10648. The MotionNotify compression we do can't work across threads
  10649. (without locking the entire queue, perhaps) since we call
  10650. hwnd.Queue.Peek, so we just punt and don't compress motion events
  10651. unless the owning thread is the one which got the X event.
  10652. ConfigureNotify is another fun one, since it modifies the hwnd's
  10653. bounds and then enqueues the event. We add a lock to Hwnd which
  10654. is held when setting configure_pending to true (and enqueuing the
  10655. event).
  10656. There is a race wrt the wake socket. we need to make sure that
  10657. only 1 thread is waiting on that socket, or else a thread could
  10658. sleep waiting for data that never comes. It's difficult (but not
  10659. impossible) to make happen, because it seems to require something
  10660. like the following:
  10661. 1. Thread 1 polls on wake_receive
  10662. 2. poll returns saying there's data to be read on
  10663. wake_receive.
  10664. 3. Thread 2 polls on wake_receive and immediately returns
  10665. saying there's data to be read.
  10666. 4. Thread 2 reads the wakeup byte from wake_receive
  10667. 5. Thread 1 attempts to read the wakeup byte from
  10668. wake_receive.
  10669. 6. Thread 2 exits (due to a form closing, perhaps).
  10670. 7. Thread 1 blocks forever.
  10671. Fun, eh?
  10672. Fixing the Expose handling isn't done yet, and the races inherent
  10673. in that piece of code are responsible for the drawing mistakes you
  10674. see when generating expose events in a MT app (like NPlot). This
  10675. one is the likely to be the hardest to bandaid, and it doesn't
  10676. appear to cause anything but drawing problems. The other issues
  10677. caused apps to exit or hang.
  10678. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  10679. called from a different thread than the one that should be calling
  10680. these functions.
  10681. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  10682. 2006-11-15 Chris Toshok <[email protected]>
  10683. * Application.cs: null out the context's MainForm when we exit
  10684. RunLoop. Fixes a newly checked in unit test as well as the last
  10685. ODE from bug #79933.
  10686. 2006-11-15 Chris Toshok <[email protected]>
  10687. * Form.cs (set_Owner): allow a null value so we can clear the
  10688. form's owner.
  10689. (Dispose): set all our owned_form's Owner properties to null, and
  10690. clear the owned_forms collection.
  10691. (WM_CLOSE): clean up this a little bit.. still not right though.
  10692. * ApplicationContext.cs: OnMainFormClosed should only call
  10693. ExitThreadCore if the main form isn't recreating. Fixes unit
  10694. test.
  10695. 2006-11-15 Jonathan Pobst <[email protected]>
  10696. [Fixes 78346]
  10697. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  10698. 2006-11-15 Jonathan Pobst <[email protected]>
  10699. [Fixes 79433]
  10700. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  10701. keep popup window types from stealing focus from the main form
  10702. on Windows.
  10703. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  10704. * MenuAPI.cs: Set above flag to true.
  10705. 2006-11-15 Chris Toshok <[email protected]>
  10706. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  10707. the button being released is not in wParam.
  10708. 2006-11-15 Jonathan Pobst <[email protected]>
  10709. * Form.cs: Add the released button to MouseEventArgs.Button
  10710. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  10711. on Win32.
  10712. 2006-11-15 Chris Toshok <[email protected]>
  10713. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  10714. GetText(). untested because it's unused in our implementation.
  10715. Control.Text always caches the text, even if
  10716. ControlStyles.CacheText is not set.
  10717. fixes bug #79939.
  10718. 2006-11-15 Chris Toshok <[email protected]>
  10719. [ fixes #79933 ]
  10720. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  10721. message. no hiding, no disposing.
  10722. in the WM_CLOSE handler, hide the form if it's modal.
  10723. 2006-11-15 Chris Toshok <[email protected]>
  10724. * XplatUIX11.cs: use AddExpose instead of sending a message.
  10725. fixes textbox border drawing.
  10726. 2006-11-15 Chris Toshok <[email protected]>
  10727. * PropertyGridView.cs: keep from crashing on mouse move/down when
  10728. the property grid is empty.
  10729. 2006-11-14 Jackson Harper <[email protected]>
  10730. * TextControl.cs: Make PageUp and PageDown more like the MS
  10731. versions.
  10732. * TextBoxBase.cs: When we set the text property position the
  10733. cursor at the beginning of the document.
  10734. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  10735. * Form.cs: if a mdi child's WindowState has changed
  10736. before it's creation, it would display wrong control
  10737. buttons.
  10738. 2006-11-14 Alexander Olk <[email protected]>
  10739. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  10740. (Fixes bug #79927)
  10741. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  10742. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  10743. the window gets to paint its borders even if the window is
  10744. getting smaller.
  10745. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  10746. otherwise the old control buttons would still be painted
  10747. if the window gets bigger.
  10748. * PaintEventArgs.cs: add an internal method so that the clip
  10749. rectangle can be changed.
  10750. 2006-11-13 Chris Toshok <[email protected]>
  10751. [ fixes bug #79745 ]
  10752. * NotifyIcon.cs: lots of cleanup.
  10753. * X11Structs.cs: add an enum for XEMBED messages.
  10754. * XplatUIX11.cs: reindent one of the giant switch statements, it
  10755. was taking up an additional tab stop, and this file is already way
  10756. too wide for my laptop's screen.
  10757. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  10758. we get it, resize the hwnd to the WMNormalHints max_width/height.
  10759. 2006-11-13 Jackson Harper <[email protected]>
  10760. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  10761. teh simple way.
  10762. 2006-11-13 Chris Toshok <[email protected]>
  10763. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  10764. #79898. force a reference to the Region to stick around so the
  10765. unmanaged object isn't collected (rendering our handle in the MSG
  10766. stale).
  10767. 2006-11-13 Chris Toshok <[email protected]>
  10768. * XplatUIX11.cs: fix #79917 for window managers which support
  10769. using XStoreName on the raw utf8, and we need to convert to
  10770. COMPOUND_TEXT if it's non-latin1.
  10771. 2006-11-13 Chris Toshok <[email protected]>
  10772. * Form.cs (set_DialogResult): we need to set closing to false if
  10773. we're setting our result to None. fixes bug #79908.
  10774. 2006-11-13 Jackson Harper <[email protected]>
  10775. * TextControl.cs: When formatting text, compute the adjusted tag
  10776. lengths correctly, using FindTag for the end tag instead of trying
  10777. to figure it out outselves.
  10778. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  10779. the item, ItemHeight doesn't work, because trees with large
  10780. imagelists use those for their height
  10781. * TreeView.cs: ActualItemHeight factors in the image height
  10782. - compute left edge of checkboxes correctly
  10783. - when expanding/collapsing move the bottom down one pixel, so we
  10784. aren't moving part of the node
  10785. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  10786. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  10787. stack in PaintEventStart so that it won't get disposed by the gc
  10788. before reaching PaintEventEnd.
  10789. 2006-11-13 Jackson Harper <[email protected]>
  10790. * TextBoxBase.cs: Don't select the word if we are on a line with
  10791. no text.
  10792. - We don't need to position the caret on mouse up, since the mouse
  10793. move handler should be doing this
  10794. - When double clicking a blank line, the caret is advanced to the
  10795. next line.
  10796. 2006-11-13 Gert Driesen <[email protected]>
  10797. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  10798. 2006-11-12 Gert Driesen <[email protected]>
  10799. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  10800. Fixes part of bug #79910.
  10801. 2006-11-11 Alexander Olk <[email protected]>
  10802. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  10803. (bug #79903). Some minor string updates to match ms.
  10804. 2006-11-10 Alexander Olk <[email protected]>
  10805. * FileDialog.cs: Don't add an extension if the filename
  10806. already ends with that extension.
  10807. 2006-11-10 Jackson Harper <[email protected]>
  10808. * TreeView.cs: Use the currently highlighted node for the
  10809. BeforeSelect event.
  10810. * TextBoxBase.cs: There is no need to expand selection on
  10811. MouseMove.
  10812. - CanUndo means 'is there any undo operations', not 'is undo
  10813. allowed on this textcontrol. Fixed ClearUndo unit test.
  10814. 2006-11-10 Andreia Gaita <[email protected]>
  10815. * Button.cs: only perform click when button is Selectable (so as
  10816. not to activate default buttons when they're disabled)
  10817. * Control.cs: Rewrite of the SelectNextControl and related
  10818. methods. HandleClick now selects next control if the current one
  10819. is being disabled.
  10820. * Form.cs: OnActivated selects next active control only if Load
  10821. has already occurred. If Load hasn't run, there's no point in
  10822. selecting here, Load might change the state of controls.
  10823. * FocusTest.cs: Tests marked as working again for these fixes
  10824. 2006-11-10 Chris Toshok <[email protected]>
  10825. * XplatUIX11.cs: a couple of fixes.
  10826. - use XInternAtoms with almost all the atoms we need to register,
  10827. instead of many, many calls to XInternAtom. should help a bit on
  10828. startup time, at the expense of making the code look a little
  10829. worse.
  10830. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  10831. isn't reparented (which seems to be a clue that we're running fon
  10832. compiz) and they have an Owner form. This fixes the tool windows
  10833. in paint.net when running under compiz.
  10834. - when setting the opacity of a window, support both the case
  10835. where the window has been reparented and also when it hasn't been.
  10836. Since compiz/beryl doesn't seem to reparent windows, and these are
  10837. the only window managers which support translucency, I'm not sure
  10838. why we need the hwnd.reparented case at all.. but leave it in.
  10839. now we get translucent windows in paint.net under compiz/beryl.
  10840. 2006-11-10 Alexander Olk <[email protected]>
  10841. * FileDialog.cs: Always return the value for FilterIndex that
  10842. was set. Internally convert it to values that make sense.
  10843. 2006-11-10 Everaldo Canuto <[email protected]>
  10844. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  10845. 2006-11-10 Everaldo Canuto <[email protected]>
  10846. * Toolbar.cs: Change default value of DropDownArrows to true, the
  10847. signature still using false to make it compatible with MS but the
  10848. initial value is true. Fixes #79855.
  10849. 2006-11-10 Alexander Olk <[email protected]>
  10850. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  10851. only available on Linux.
  10852. 2006-11-09 Everaldo Canuto <[email protected]>
  10853. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  10854. reduce number of calls to redraw method during toolbar creation.
  10855. 2006-11-09 Mike Kestner <[email protected]>
  10856. * ListView.cs : raise SelectedIndexChanged when an item is selected
  10857. programmatically via the Item.Selected property. Gert's nice
  10858. ListViewSelectedIndexChanged test fixture now runs clean.
  10859. 2006-11-09 Mike Kestner <[email protected]>
  10860. * ListView.cs : raise SelectedIndexChanged when a selected item is
  10861. removed from the item collection using Remove or RemoveAt.
  10862. 2006-11-09 Mike Kestner <[email protected]>
  10863. * ListView.cs : raise SelectedIndexChanged once per selected item
  10864. for compat with MS. Fixes #79849+.
  10865. 2006-11-09 Chris Toshok <[email protected]>
  10866. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  10867. we need to (if we have any tab pages). Fixes unit test.
  10868. 2006-11-09 Chris Toshok <[email protected]>
  10869. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  10870. width is 0, not 3. Fixes a unit test.
  10871. 2006-11-09 Mike Kestner <[email protected]>
  10872. * ListView.cs : use Implicit scrollbars so that focus isn't
  10873. stolen from the listview when they are clicked. Fixes #79850.
  10874. 2006-11-09 Chris Toshok <[email protected]>
  10875. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  10876. have a root item. Fixes #79879.
  10877. 2006-11-09 Alexander Olk <[email protected]>
  10878. * FileDialog.cs:
  10879. - Fix ToString ()
  10880. - An ArgumentException is now thrown if a wrong filter
  10881. is applied (matches ms). The previous filter doesn't change
  10882. anymore if an exception is thrown.
  10883. - Changing the FileName property also affects FileNames
  10884. * ColorDialog.cs: The length of the CustomColors array is always
  10885. 16. It doesn't matter if we use a smaller array or null to update
  10886. or change the custom colors property.
  10887. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  10888. for RootFolder if we get a undefined value.
  10889. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  10890. * StatusBarPanel.cs:
  10891. - Width is set to MinWidth if Width is smaller than
  10892. MinWidth. Fixes #79842.
  10893. - MinWidth now always overrides Width (MSDN says MinWidth
  10894. is set to Width when AutoSize = None, but they do not
  10895. behave like that).
  10896. - Style has now the the correct default value.
  10897. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  10898. * TrackBar.cs:
  10899. - The control is completely invalidated on
  10900. Got/LostFocus to draw the focus rectangle correctly.
  10901. - When AutoSize then height is always 45 (width for
  10902. vertical controls).
  10903. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  10904. on the mouse when moved and it doesn't move when grabbed
  10905. until the mouse moves as well. Also fixed some wrong
  10906. calculations when clicking on the thumb (control thought
  10907. click was outside of thumb and didn't grab it).
  10908. Fixes some of the issues in #79718.
  10909. 2006-11-08 Everaldo Canuto <[email protected]>
  10910. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  10911. 2006-11-08 Chris Toshok <[email protected]>
  10912. * PropertyGridView.cs: only call ToggleValue if the item is not
  10913. readonly.
  10914. 2006-11-08 Jackson Harper <[email protected]>
  10915. * TextBoxBase.cs: The RichTextBox and textbox have very different
  10916. word selection methods. Implement the textbox's simple word
  10917. selection here, and let the RichTextBox override and provide it's
  10918. own.
  10919. - Don't do extra selection on mouseup
  10920. * RichTextBox.cs: Use the documents word selection algorithm, I
  10921. think ideally, this function will be pulled into the
  10922. RichTextBox.cs code someday.
  10923. 2006-11-08 Chris Toshok <[email protected]>
  10924. * RootGridEntry.cs: new class to represent GridItemType.Root.
  10925. * CategoryGridEntry.cs: reformat, and add boilerplate.
  10926. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  10927. returns the UI parent anyway, and we need special handling to
  10928. implement the GetTarget method in the face of it. Also, implement
  10929. Select().
  10930. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  10931. a root grid item, and use that instead of PropertyGrid.grid_items.
  10932. Also, make use of TypeConverters (and add limitted support for
  10933. ICustomTypeDescriptors) when initially populating the grid.
  10934. Arrays now show up more or less properly.
  10935. 2006-11-08 Chris Toshok <[email protected]>
  10936. * Application.cs: set the modal dialog to non modal after we close
  10937. it. Fixes bug #79866.
  10938. 2006-11-08 Jackson Harper <[email protected]>
  10939. * TextControl.cs: When combining lines carry over the line end
  10940. style from the end line.
  10941. - Invalidate the selected area when setting it, if it is visible.
  10942. * TextBoxBase.cs: Only rich text box can do full line selects.
  10943. - Make sure to set the cursor position when there is a click,
  10944. otherwise two clicks in separate areas could cause a large chunk
  10945. to be selected.
  10946. 2006-11-07 Everaldo Canuto <[email protected]>
  10947. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  10948. Fixes #79863.
  10949. 2006-11-07 Everaldo Canuto <[email protected]>
  10950. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  10951. time. Remove tooltips when ToolButton click events. Fixes #79856.
  10952. 2006-11-07 Everaldo Canuto <[email protected]>
  10953. * MenuAPI.cs: Ignore right click for menu actions and fixes
  10954. menu border when clicked. Fixes #79846.
  10955. 2006-11-07 Everaldo Canuto <[email protected]>
  10956. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  10957. MouseState after create wParam for message, this fixes mouse button
  10958. equal none in mouse up events.
  10959. 2006-11-07 Andreia Gaita <[email protected]>
  10960. * Control.cs : Focus() now calls Select to set the Container's
  10961. Active Control and to give it focus. To avoid infinite recursion
  10962. (because ActiveControl also calls Focus at one point), a check
  10963. is made in Focus with the help of a new internal variable
  10964. is_focusing.
  10965. 2006-11-07 Mike Kestner <[email protected]>
  10966. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  10967. if there's a selection. Fixes #79849.
  10968. 2006-11-07 Gert Driesen <[email protected]>
  10969. * PropertyGrid.cs: Avoid fixed height of help description label.
  10970. Fixes part of bug #79829.
  10971. 2006-11-07 Chris Toshok <[email protected]>
  10972. * XplatUIX11.cs: fix #79790 again, by using the
  10973. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  10974. 2006-11-07 Everaldo Canuto <[email protected]>
  10975. * ToolBar.cs: Fix left click checking.
  10976. 2006-11-07 Chris Toshok <[email protected]>
  10977. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  10978. 2006-11-07 Chris Toshok <[email protected]>
  10979. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  10980. PropertyManager unit tests.
  10981. * PropertyManager.cs: make property_name internal.
  10982. 2006-11-07 Chris Toshok <[email protected]>
  10983. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  10984. pass a unit test. Also, don't set image_index to anything in
  10985. response to setting the ImageList property.
  10986. 2006-11-07 Everaldo Canuto <[email protected]>
  10987. * ToolBar.cs: Ignore click events when mouse button is not a
  10988. left button, only accepts other button for dropdown menus.
  10989. Fixes #79854.
  10990. 2006-11-07 Chris Toshok <[email protected]>
  10991. * DataGrid.cs: make the back and parent row buttons a little less
  10992. ugly.
  10993. 2006-11-07 Jackson Harper <[email protected]>
  10994. * TextBoxBase.cs: When converting to Text don't put line breaks in
  10995. for soft line breaks.
  10996. * TextControl.cs: There is an initial "fake" line in the document,
  10997. this is now a soft break line, so that an extra line feed doesn't
  10998. get added to the end of documents.
  10999. 2006-11-07 Chris Toshok <[email protected]>
  11000. [ fix bug #79778 ]
  11001. * CurrencyManager.cs: if the list is readonly, don't bother
  11002. checking if IBindingList.AllowNew is true.
  11003. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  11004. for non-DataRowView datasources.. or rather, make it not crash.
  11005. (DataGridPaintRelationRow): make sure we limit the row painting to
  11006. the area not covered by the row header, and make our cell width at
  11007. least large enough to cover the relation area. This allows grids
  11008. that have relations but no rows to render correctly.
  11009. (DataGridPaintRowContents): same type of changes here.
  11010. (SetDataSource): move back to always calling
  11011. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  11012. navigating back through relations.
  11013. (HitTest): handle the case where we have no cells but have
  11014. relations. Right now we generate a hit in cell 0 of whatever the
  11015. row is, not sure if this is strictly correct, but it works for our
  11016. purposes.
  11017. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  11018. bother doing anything.
  11019. 2006-11-07 Jonathan Pobst <[email protected]>
  11020. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  11021. early version of StatusStrip. Not responsible for eaten
  11022. application or firstborn children.
  11023. 2006-11-06 Chris Toshok <[email protected]>
  11024. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  11025. call GetTabRect with a -1 index. Fixes #79847.
  11026. 2006-11-06 Jackson Harper <[email protected]>
  11027. * TreeNodeCollection.cs: Update scrollbars after clearing.
  11028. 2006-11-06 Chris Toshok <[email protected]>
  11029. * NumericUpDown.cs: fix the ToString method for some unit test
  11030. love.
  11031. 2006-11-06 Chris Toshok <[email protected]>
  11032. * PropertyGrid.cs:
  11033. - set the initial SelectedGridItem if we can.
  11034. - Exclude non-mergable properties only if we're merging > 1
  11035. object. Merging 1 object isn't really merging, obviously.
  11036. - Handle PropertySort.NoSort just like Alphabetical, which is
  11037. wrong of course, but at least gets things on the screen.
  11038. * PropertyGridView.cs:
  11039. - Add method "FindFirstItem" which finds the first property grid
  11040. item, so we can select it by default.
  11041. - make use of GridEntry.CanResetValue.
  11042. - Don't call RedrawBelowItemOnExpansion here anymore, the
  11043. individual GridEntry's will do that.
  11044. - Remove the ITypeDescriptorContextImpl internal class.
  11045. * GridEntry.cs:
  11046. - this class needs to implement ITypeDescriptorContext, as it's
  11047. what MS's PropertyDescriptorGridEntry does, which means we can
  11048. remove the ITypeDescriptorContextImpl internal class from
  11049. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  11050. - keep a reference to our PropertyGridView, and move the call to
  11051. RedrawBelowItemOnExpansion here from PGV. This means
  11052. programmaticly setting Expanded actually does something visible.
  11053. - add a CanResetValue() function which takes into account our
  11054. possibly multiple "selected_objects" in the merged case. Shifting
  11055. PropertyGridView to use this method fixes another unreported
  11056. crasher found running the test for #79829.
  11057. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  11058. is updated to reflect this.
  11059. * CategoryGridEntry.cs: the ctor takes the PGV now.
  11060. 2006-11-06 Jackson Harper <[email protected]>
  11061. * TextControl.cs: These are 1 based.
  11062. * TextBoxBase.cs: When setting the selected text, don't change the
  11063. selected text tags, this is done by ReplaceText, just position the
  11064. cursor at the end of the new text.
  11065. 2006-11-06 Alexander Olk <[email protected]>
  11066. * ListView.cs: Allow label edit only when, when LabelEdit is
  11067. set to true.
  11068. 2006-11-06 Jackson Harper <[email protected]>
  11069. * TextControl.cs: If a suitable wrapping position isn't found,
  11070. just wrap right in the middle of a word.
  11071. 2006-11-06 Alexander Olk <[email protected]>
  11072. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  11073. bug #79820.
  11074. 2006-11-06 Jackson Harper <[email protected]>
  11075. * TreeView.cs: Can't use the VisibleCount property when setting
  11076. scrollbar heights, because this doesn't take into account whether
  11077. or not the horz scrollbar just came visible.
  11078. 2006-11-05 Everaldo Canuto <[email protected]>
  11079. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  11080. activated. Fixes #79369, #79832.
  11081. 2006-11-05 Alexander Olk <[email protected]>
  11082. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  11083. had to remove support for links that point to a directory. FileInfo
  11084. returns no usefull information (means, the directory they point to)
  11085. for such links. Replaced some empty string ("") with String.Empty.
  11086. 2006-11-04 Gert Driesen <[email protected]>
  11087. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  11088. NullReferenceException when attempting to remove node that is not in
  11089. collection. Throw NullReferenceException when null is passed to
  11090. Remove. Allow first element of the collection to be removed. Fixes
  11091. bug #79831. In GetEnumerator ().Current return null if positioned
  11092. before the first element of the collection. In GetEnumerator ().Reset,
  11093. position before first element of the collection.
  11094. 2006-11-04 Gert Driesen <[email protected]>
  11095. * PropertyGrid.cs: To match MS, remove default title and description
  11096. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  11097. buttons.
  11098. 2006-11-04 Chris Toshok <[email protected]>
  11099. * Theme.cs: add a Clamp method, just for kicks.
  11100. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  11101. 2006-11-04 Chris Toshok <[email protected]>
  11102. * Form.cs: if the form isn't visible, Close() does nothing.
  11103. 2006-11-03 Chris Toshok <[email protected]>
  11104. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  11105. Hide it.
  11106. (WndProc): don't Dispose after handling the WM_CLOSE message.
  11107. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  11108. them as such, instead of using casts from Control to Form. Also,
  11109. don't Dispose of the modal dialog when we fall out of the loop -
  11110. Close() it instead.
  11111. fixes bug #79813.
  11112. 2006-11-03 Chris Toshok <[email protected]>
  11113. * Control.cs (Dispose): only go through the dispose thing if we're
  11114. @disposing, and we haven't already been disposed. Fixes bug
  11115. #79814.
  11116. * Form.cs: no reason to call "base.Dispose()" here instead of
  11117. "Dispose()".
  11118. 2006-11-03 Mike Kestner <[email protected]>
  11119. * ComboBox.cs : use ToString instead of casts in AddItem for
  11120. sorting functionality. Fixes #79812.
  11121. 2006-11-03 Chris Toshok <[email protected]>
  11122. * Application.cs: pave the way for actually using the thread
  11123. exception dialog. it's ifdefed out at the moment.
  11124. 2006-11-03 Chris Toshok <[email protected]>
  11125. * ThreadExceptionDialog.cs: until we get a better layout, actually
  11126. hide the details textbox and label when we shouldn't see them.
  11127. 2006-11-03 Jackson Harper <[email protected]>
  11128. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  11129. multiline textboxes anymore. This method also determines the
  11130. width/height of a textboxes canvas area.
  11131. - Sorta a revert of the last patch. For multiline just position
  11132. the controls, then bail. This way the scrollbar width won't be
  11133. altered.
  11134. 2006-11-03 Everaldo Canuto <[email protected]>
  11135. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  11136. it dont need. Fixes #79537.
  11137. 2006-11-02 Jackson Harper <[email protected]>
  11138. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  11139. send the status after firing the DndOver event.
  11140. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  11141. * TrackBar.cs: Now orientation only switches height / width if
  11142. the control's handle is created (Win32 does it like this). Also
  11143. fixed a typo in ToString() for a test to pass, changed the
  11144. exception thrown in set_LargeChange and set_SmallChange to
  11145. match Win32 behaviour, and added TrackBar tests to the unit
  11146. tests.
  11147. 2006-11-02 Chris Toshok <[email protected]>
  11148. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  11149. not _NET_WM_STATE_NO_TASKBAR.
  11150. 2006-11-02 Jackson Harper <[email protected]>
  11151. * TextControl.cs: Increment count by one, since in the update view
  11152. count - 1 is used.
  11153. 2006-11-02 Jackson Harper <[email protected]>
  11154. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  11155. the mouse is in the client rectangle (duh).
  11156. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  11157. * TrackBar.cs: Fixed trackbar jumping around when clicking
  11158. on it - the trackbar was not detecting correctly at which
  11159. side of the thumb the click was done. (fixes #79718)
  11160. 2006-11-02 Everaldo Canuto <[email protected]>
  11161. * ListBox.cs: scroll visible area when change SelectedIndex to
  11162. a non visible area. Fixes #79481.
  11163. 2006-11-01 Jackson Harper <[email protected]>
  11164. * TextControl.cs: When replacing the selection move the selection
  11165. start/end/anchor to the end of the new text.
  11166. 2006-11-01 Jackson Harper <[email protected]>
  11167. * XplatUIWin32.cs: When setting the parent change the controls
  11168. visibility to it's visibility flag, not to it's old parents
  11169. visibility (.Visible walks the parent chain).
  11170. 2006-11-01 Chris Toshok <[email protected]>
  11171. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  11172. XSetTransientForHint fix breaks paint .net's tool windows. more
  11173. work needed for that one.
  11174. 2006-11-01 Chris Toshok <[email protected]>
  11175. * ScrollBar.cs: throw ArgumentException instead of Exception in
  11176. LargeChange/SmallChange setters. fixes unit tests.
  11177. 2006-10-31 Andreia Gaita <[email protected]>
  11178. * ContainerControl.cs: reverted rev.67183 (which was itself
  11179. a reversion of rev.66853... eh).
  11180. * Control.cs: Fixes Reflector hang by changing Focus() call
  11181. to what it was before rev.66643 (calling Select() here sets
  11182. ActiveControl, which in some situations calls back Focus and
  11183. eventually does a stack overflow). Temp fix.
  11184. Changes to GetNextControl() to not look for children to select when
  11185. parent cannot be selectable (so it looks for siblings instead)
  11186. 2006-10-31 Mike Kestner <[email protected]>
  11187. * CheckedListBox.cs : off by one error in returned index from
  11188. ObjectCollection.Add. Fixes #79758.
  11189. 2006-10-31 Chris Toshok <[email protected]>
  11190. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  11191. calls for the textbox/spinner, to keep from recursing to the point
  11192. where we crash. Fixes #79760.
  11193. 2006-10-31 Chris Toshok <[email protected]>
  11194. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  11195. null/"" value, just return. matches ms's behavior and fixes some
  11196. failing tests.
  11197. 2006-10-31 Chris Toshok <[email protected]>
  11198. * Control.cs (set_Capture): make a logic a little easier to
  11199. follow.
  11200. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  11201. if it's being destroyed. A necessary fix surely, but a bandaid
  11202. also, to fix the stuck capture problem in bug #78413.
  11203. 2006-10-31 Chris Toshok <[email protected]>
  11204. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  11205. convention of clearing hwnd.ClientRect when we set the
  11206. width/height (so it'll be recalculated by Hwnd).
  11207. 2006-10-31 Andreia Gaita <[email protected]>
  11208. * ContainerControl.cs: reversed Contains check from
  11209. ActiveControl due to hanging problems. This fix
  11210. partly regresses #79667 (button does not have
  11211. initial focus), so this might be a symptom for
  11212. a larger parenting problem (set_ActiveControl
  11213. is being called but the child control does
  11214. not have the parent set yet?)
  11215. 2006-10-31 Mike Kestner <[email protected]>
  11216. * MenuAPI.cs : fix keynav when menu is click activated.
  11217. 2006-10-31 Jonathan Pobst <[email protected]>
  11218. * ToolStrip*: Version 0.2.
  11219. * MenuStrip.cs: Version 0.1.
  11220. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  11221. 2006-10-30 Chris Toshok <[email protected]>
  11222. [ fixes the oversized notify icon issue in bug #79745 ]
  11223. * NotifyIcon.cs: scale the icon down to the size we're given by
  11224. the XplatUI layer (this would be faster if we did it once instead
  11225. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  11226. since it's never invoked.
  11227. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  11228. pixels high by default, so let's hardcode our systray icon to that
  11229. size. The SYSTEM_TRAY protocol should really have a way for
  11230. client apps to query for the correct icon size.. but oh well. A
  11231. couple of patches to deal with the screwy client_window ==
  11232. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  11233. instance, and also make sure we don't XSelectInput twice).
  11234. 2006-10-30 Chris Toshok <[email protected]>
  11235. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  11236. recreating forms. Control recreation is the bane of my existence.
  11237. Fix it in a way that keeps everyone happy.
  11238. 2006-10-30 Chris Toshok <[email protected]>
  11239. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  11240. just non-CHILD ones. otherwise sometimes scrollbars end up with
  11241. client_windows not being resized to the proper size (ReportBuilder
  11242. shows this extremely well).
  11243. 2006-10-30 Chris Toshok <[email protected]>
  11244. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  11245. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  11246. showing up in the gnome taskbar. Fixes bug #79790.
  11247. 2006-10-30 Chris Toshok <[email protected]>
  11248. * ApplicationContext.cs: guard against a NRE.
  11249. * Application.cs: null out the old MainForm for the context, so we
  11250. don't try to use it again once it's disposed. Fixes bug #79783.
  11251. 2006-10-30 Chris Toshok <[email protected]>
  11252. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  11253. BindingContext, set the data source directly, otherwise do the
  11254. lazy approach - the actual ListManager will be created when we get
  11255. a BindingContext. Fixes bug #79700.
  11256. 2006-10-30 Jonathan Pobst <[email protected]>
  11257. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  11258. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  11259. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  11260. 2006-10-30 Jonathan Pobst <[email protected]>
  11261. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  11262. of SetVisible that allows a window to be shown, but not activated.
  11263. This is needed on Windows for MenuStrip, and can probably be used
  11264. with MainMenu and ComboBox to fix the focus stealing issues on
  11265. Windows.
  11266. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  11267. 2006-10-30 Alexander Olk <[email protected]>
  11268. * PictureBox.cs: Fix the output of the ToString method.
  11269. 2006-10-29 Chris Toshok <[email protected]>
  11270. * Control.cs (get_TopLevelControl): fix bug #79781.
  11271. 2006-10-29 Chris Toshok <[email protected]>
  11272. * ListControl.cs (set_DataSource): throw Exception here, not
  11273. ArgumentException, to match MS behavior.
  11274. 2006-10-29 Chris Toshok <[email protected]>
  11275. * Form.cs: remove the try-catch's around calls to GetWindowState.
  11276. We can just check the return value.
  11277. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  11278. Instead return -1.
  11279. * XplatUI.cs: Add note about additional return value for
  11280. GetWindowState.
  11281. 2006-10-29 Chris Toshok <[email protected]>
  11282. * Control.cs (CreateHandle): when we create our handle, we also
  11283. create the handles of our child controls. Fixes one of the
  11284. Control unit tests (CH11).
  11285. 2006-10-28 Alexander Olk <[email protected]>
  11286. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  11287. 2006-10-28 Alexander Olk <[email protected]>
  11288. * ThemeClearlooks.cs: A little speedup.
  11289. 2006-10-27 Chris Toshok <[email protected]>
  11290. * Control.cs: implement Control.FromChildHandle in a way that
  11291. matches the docs (and fixes the failed test.)
  11292. 2006-10-27 Chris Toshok <[email protected]>
  11293. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  11294. comments).
  11295. * DataGrid.cs: implement ResetForeColor such that the tests
  11296. succeed.
  11297. 2006-10-27 Chris Toshok <[email protected]>
  11298. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  11299. being set to "". Fixes bug #79759.
  11300. 2006-10-27 Jackson Harper <[email protected]>
  11301. * TextControl.cs: We need to clear the entire selection area when
  11302. setting the start, otherwise multiline selections are still
  11303. visible.
  11304. 2006-10-26 Chris Toshok <[email protected]>
  11305. * PropertyGridView.cs:
  11306. - ifdef all the code specific to the double
  11307. buffer case, and provide some alternatives in the non-doublebuffer
  11308. code, which makes heavy use of XplatUI.ScrollWindow to move things
  11309. around without having to invalidate (and cause flicker). There
  11310. are still some drawing problems in the non-doublebuffered case, so
  11311. DOUBLEBUFFER is defined by default.
  11312. - Fix the way dropdowns are handled. now we explicitly watch for
  11313. the events which might cause the dropdown to close, and break out
  11314. of the nested event loop there. This gets rid of all Capture
  11315. code, at the expense of the Msg special casing. Seems to work,
  11316. though, and fixes bug #79743.
  11317. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  11318. * Control.cs: SetIsRecreating now recreates implicitly added
  11319. child controls as well. Finally fixes #79629. The flag passed to
  11320. SetIsRecreating has also been removed since it wasn't used.
  11321. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  11322. * PageSetupDialog.cs: Clean some code, fix some bits,
  11323. add some checks, and add a printer sub-dialog.
  11324. 2006-10-26 Chris Toshok <[email protected]>
  11325. * PropertyGrid.cs: make set_SelectedObject call
  11326. set_SelectedObjects, and move the duplicate logic to the
  11327. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  11328. * PropertyGridView.cs: hide the textbox when we get a
  11329. SelectedObjectsChanged event.
  11330. Fixes bug #79748.
  11331. 2006-10-26 Chris Toshok <[email protected]>
  11332. * PropertyGridView.cs: deal with the type converter not supporting
  11333. GetStandardValues() or GetStandardValues() returning null, which
  11334. is does in the default case. Fixes #79742.
  11335. 2006-10-25 Andreia Gaita <[email protected]>
  11336. * CheckedListBox.cs: nunit no longer crashes when selecting
  11337. Project/Edit menu option
  11338. 2006-10-25 Andreia Gaita <[email protected]>
  11339. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  11340. is no menu selected. fixes #79739
  11341. 2006-10-25 Chris Toshok <[email protected]>
  11342. * PropertyGridView.cs: factor out the splitter invalidation code
  11343. into the SplitterPercent setter, and for kicks implement the
  11344. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  11345. amount in either direction.
  11346. 2006-10-25 Chris Toshok <[email protected]>
  11347. * PropertyGridView.cs: do some cleanup of the brush used to draw
  11348. text - read only fields should be grayed out. not sure how to do
  11349. this with the textbox, though. but the textbox's should also be
  11350. readonly now at least. Also, hide/show the textbox when resizing
  11351. the control.
  11352. * CursorConverter.cs: use System.Reflection when getting the
  11353. properties of Cursors, as TypeDescriptor.GetProperties isn't
  11354. returning static properties.
  11355. 2006-10-25 Chris Toshok <[email protected]>
  11356. * PropertyGridView.cs: factor out the up/down handling, and reuse
  11357. it for page up/down. also add End/Home support.
  11358. 2006-10-25 Chris Toshok <[email protected]>
  11359. * PropertyGridView.cs:
  11360. - ensure the selected grid item is visible in the scrolled area,
  11361. fixes bug #79572.
  11362. - fix Keys.Down handling when you're on the last item in the
  11363. propertygrid.
  11364. 2006-10-25 Mike Kestner <[email protected]>
  11365. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  11366. clicks too. Fixes #79725.
  11367. 2006-10-24 Chris Toshok <[email protected]>
  11368. * PropertyGrid.cs: use property.Converter instead of
  11369. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  11370. TypeConverters declared on the property as well as on the
  11371. PropertyType. Fixes bug #79678.
  11372. 2006-10-24 Alexander Olk <[email protected]>
  11373. * MimeIcon.cs, Mime.cs:
  11374. Fallback to the default platform handler if no shared mime info
  11375. stuff exists (fixes #79693).
  11376. 2006-10-20 Andreia Gaita <[email protected]>
  11377. * ContainerControl.cs: Incorrect contains check in ActiveControl
  11378. from previous fix (duh).
  11379. 2006-10-20 Chris Toshok <[email protected]>
  11380. * PropertyGridView.cs: the dropdown should be MIN(number of items
  11381. in list, 15). Fixes #79551.
  11382. 2006-10-20 Andreia Gaita <[email protected]>
  11383. Fixes #79384, #79394, #79652, #79667
  11384. * Application.cs:
  11385. - Modal windows are now destroyed in the proper order for windows
  11386. * ContainerControl.cs:
  11387. - ActiveControl setter has more conditions on when to return:
  11388. - if we're reselecting the active control, but it actually
  11389. didn't have focus (window hidden or some such), it runs
  11390. - if the active control being selected doesn't actually
  11391. exist in the container, it returns
  11392. * Form.cs
  11393. - The ShowDialog now gets the current form as the owner when
  11394. invoking without parameters, and correctly activates the owner
  11395. when returning
  11396. * MessageBox.cs
  11397. - MessageBox now catches the Escape key to exit
  11398. 2006-10-20 Chris Toshok <[email protected]>
  11399. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  11400. most of bug #79676):
  11401. - you can navigate around the property grid with the arrow keys.
  11402. - the dropdown is sized properly when the pg has a vertical
  11403. scrollbar.
  11404. - fix the indentation for subentries, and properly select the
  11405. entire label rect.
  11406. - fix the gray bar's drawing (only draw it to the last element,
  11407. not for the height of the control. Also make sure we draw that
  11408. last horizontal grid line.
  11409. - use the same mechanism the datagrid uses wrt the editing textbox
  11410. when scrolling/resizing/etc. Namely, we hide it first, do the
  11411. operation, then show it again (if it's still visible).
  11412. - aggressively remove a lot of unnecessary refreshes (and also
  11413. calls to Invalidate(). call more limited variants, and only redraw
  11414. what we need.)
  11415. * PropertyGrid.cs:
  11416. - when we're populating the merged collection, fill in the UI
  11417. parent with either the passed in item, or the category item we
  11418. create.
  11419. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  11420. * GridItem.cs: drop some fully qualified names.
  11421. * GridEntry.cs: add a "UIParent", which is basically the parent
  11422. treenode.
  11423. * GridItemCollection.cs: add an IndexOf method.
  11424. 2006-10-20 Mike Kestner <[email protected]>
  11425. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  11426. a working win32 NC invalidation mechanism, we can't invalidate
  11427. menus. [Fixes #79705]
  11428. 2006-10-20 Mike Kestner <[email protected]>
  11429. * ListBox.cs : don't update the VScrollbar if the list is empty,
  11430. just hide it. [Fixes #79692]
  11431. 2006-10-20 Jackson Harper <[email protected]>
  11432. * RichTextBox.cs: Handle some special chars better, and don't skip
  11433. the entire group when we encounter a special char that we don't
  11434. handle correctly.
  11435. 2006-10-18 Chris Toshok <[email protected]>
  11436. * PropertyGridView.cs: address a number of issues from bug #79676,
  11437. mostly of the cosmetic variety.
  11438. - The highlight rectangle for indented items not extends all the
  11439. way to the left.
  11440. - Indented items aren't indented so much.
  11441. - the dropdown is properly sized width-wise if the pg has a
  11442. vertical scrollbar.
  11443. 2006-10-18 Chris Toshok <[email protected]>
  11444. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  11445. systray stuff is rather convoluted to begin with.
  11446. systray icons are a single window for some reason (that I haven't
  11447. figured out yet), and for them, client_window == whole_window.
  11448. Given the way the tests are structured elsewhere to determine
  11449. which paints are pending (client vs. nc), that situation will
  11450. always yield PAINT, not NCPAINT. So, if we have a pending
  11451. nc_expose and no pending expose, remove the hwnd from the paint
  11452. queue, and also set nc_expose_pending to false, to keep us from
  11453. blocking further expose's adding the hwnd to the paint queue.
  11454. phew. like i said, a rather convoluted change. Fixes the
  11455. notifyicon repaint issues in bug #79645.
  11456. 2006-10-18 Chris Toshok <[email protected]>
  11457. * Form.cs: when getting the backcolor of the form, don't get
  11458. base.BackColor, as this allows parents to influence the background
  11459. color. This breaks mdi forms. Instead, if the background_color
  11460. is empty, return the default.
  11461. 2006-10-18 Chris Toshok <[email protected]>
  11462. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  11463. to being private instead of internal static.
  11464. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  11465. crap, it wasn't working for more deeply nested controls anyway,
  11466. and we already have the is_recreating flag - use that instead.
  11467. Before calling DestroyHandle in RecreateHandle, recurse through
  11468. the control tree setting it to true. this returns the recreate
  11469. code to much of its original simplicity, while now guaranteeing we
  11470. actually recreate everything we're supposed to. This change gets
  11471. fyireporting actually showing mdi children.
  11472. 2006-10-17 Chris Toshok <[email protected]>
  11473. * Form.cs: remove some debug spew, and collapse some duplicate
  11474. code at the end of SetClientSizeCore.
  11475. * XplatUIX11.cs:
  11476. - add some more debug spew here too wrt Destroy handling.
  11477. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  11478. in Control's handling of WM_DESTROY.
  11479. - Remove the handling of zombie window DestroyNotifies from the
  11480. event loop - we don't need it. Now the only DestroyNotifies we
  11481. actually handle are ones generated by X.
  11482. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  11483. match gtk's (functioning) handling of this. This keep metacity
  11484. from leaving droppings in the form of wm borders with no window
  11485. contents all over the place.
  11486. * Control.cs:
  11487. - add a bunch of debug spew wrt control recreation.
  11488. - fix a bug where we weren't tracking Visible properly on
  11489. recreated hwnds.
  11490. - fixed the WM_PAINT double buffer handling to support re-entrant
  11491. calls (yes, i know it's gross, but it's happening to us).
  11492. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  11493. * ThemeWin32Classic.cs: changed drawing of selected days
  11494. to make them look better.
  11495. 2006-10-16 Chris Toshok <[email protected]>
  11496. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  11497. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  11498. * XplatUIX11.cs: move away from using hwnd.client_dc and
  11499. hwnd.non_client_dc and on to a stack of dc's (and in window's
  11500. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  11501. without puking or not disposing of Graphics objects.
  11502. * XplatUIOSX.cs: same.
  11503. * XplatUIWin32.cs: same.
  11504. 2006-10-03 Alexander Olk <[email protected]>
  11505. * FileDialog.cs: Don't call on_directory_changed inside
  11506. OnSelectedIndexChanged (it changes the SelectedIndex too).
  11507. Instead move it to OnSelectionChangeCommitted.
  11508. 2006-10-13 Chris Toshok <[email protected]>
  11509. * XplatUIX11.cs: more Destroy work. the current code does the
  11510. following things, in order:
  11511. 1. Enumerates all handles of all controls at or below the one
  11512. being destroyed, in pre-order. As it is doing this, it marks the
  11513. handles as zombie and clears all references to them.
  11514. 2. calls XDestroyWindow on the window passed in.
  11515. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  11516. list.
  11517. 2006-10-13 Chris Toshok <[email protected]>
  11518. * XplatUIX11.cs: set hwnd.zombie to true before calling
  11519. SendMessage (WM_DESTROY). this keeps us from marking the new
  11520. window a zombie, and also keeps us from calling sendmessage at
  11521. all.
  11522. 2006-10-13 Jackson Harper <[email protected]>
  11523. * TextControl.cs: Do not show the caret and selection at the same
  11524. time. Reduces ugliness by 35%.
  11525. 2006-10-13 Chris Toshok <[email protected]>
  11526. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  11527. zombie after we do the recursive call, so we actually do call
  11528. SendMessage on the children controls.
  11529. (GetMessage): if we find a pending paint event for a zombie hwnd,
  11530. remove the hwnd from the paint queue, or else it will always be
  11531. there (and we'll effectively loop infinitely)
  11532. 2006-10-13 Mike Kestner <[email protected]>
  11533. * MenuItem.cs : add Selected format under keynav too.
  11534. Fixes #79528.
  11535. 2006-10-13 Gert Driesen <[email protected]>
  11536. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  11537. implementation and that of MS.
  11538. 2006-10-13 Chris Toshok <[email protected]>
  11539. * Control.cs (OnInvalidated) only futz with the invalid_region if
  11540. the control is double buffered. this fixes the apparent hang in
  11541. the ListView unit tests. Someone needs to make the
  11542. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  11543. 2006-10-13 Chris Toshok <[email protected]>
  11544. * PropertyGridView.cs:
  11545. - do a little refactoring so that only one place calls
  11546. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  11547. else call that. Also make it Refresh, since there are redraw bugs
  11548. otherwise (we should take a look at that...)
  11549. - do a little more refactoring work to share the body of code
  11550. involved with the drop down. it was duplicated in the code
  11551. dealing with the listbox handling and in the code dealing with the
  11552. UITypeEditors.
  11553. - add a Capture to the dropdown form's control once it's
  11554. displayed, and add a MouseDown handler that checks to make sure
  11555. the position is inside the control. If it's not, close the
  11556. dropdown. This fixes #78190.
  11557. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  11558. if the value is different than the initial value.
  11559. 2006-10-13 Andreia Gaita <[email protected]>
  11560. * Control.cs: see #78650
  11561. - Fixed GetNextControl for several cases:
  11562. - Changed FindFlatForward to return
  11563. correct sibling control when more than one
  11564. control has same TabIndex as the currently
  11565. focused one.
  11566. - Changed FindFlatBackward to loop children
  11567. from last to first and apply same logic as in
  11568. FindFlatForward
  11569. - Changed FindControlForward to search for
  11570. children when control is not a container
  11571. but has children, or search for siblings if
  11572. control is a container...
  11573. - Changed FindControlBackward to continue
  11574. searching for child controls when hitting
  11575. Panel-like parents
  11576. - Fixed Focus method to update ActiveControl
  11577. (FocusTest.FocusSetsActive failure)
  11578. * TabControl.cs:
  11579. - Focus rectangle now refreshes when gaining
  11580. or losing focus
  11581. - Removed grab for Tab key on IsInputKey that
  11582. was keeping tab navigation from working (#78650)
  11583. 2006-10-13 Chris Toshok <[email protected]>
  11584. * PropertyGridView.cs:
  11585. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  11586. SelectedObjects.
  11587. - Deal with GridItem.Value == null a few places.
  11588. * PropertyGrid.cs:
  11589. - replace the PopulateGridItemCollection with a pair of methods
  11590. which compute the intersection of all the properties in the
  11591. SelectedObjects array. Fixes #79615.
  11592. - Throw ArgumentException from set_SelectedObjects if there's a
  11593. null in the array.
  11594. - Add GetTarget method which can be used to traverse up the
  11595. GridItem.Parent chain. It depends on the assumption that
  11596. selected_objects for different GridEntries are always in the same
  11597. order (a safe assumption). Use this method and loop over all the
  11598. selected objects in the entry when calling RemoveValueChanged and
  11599. AddValueChanged.
  11600. * GridEntry.cs: Make this handle multiple selected objects.
  11601. .Value returns null if not all the selected objects share the same
  11602. value.
  11603. 2006-10-12 Jonathan Pobst <[email protected]>
  11604. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  11605. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  11606. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  11607. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  11608. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  11609. add additional functionality.
  11610. 2006-10-12 Mike Kestner <[email protected]>
  11611. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  11612. * HelpProvider.cs : new ToolTipWindow ctor sig.
  11613. * ToolTip.cs : remove ToolTip param from Window sig since it is
  11614. not used.
  11615. * ToolBar.cs : add tooltip support. Fixes #79565.
  11616. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  11617. * ComboBox.cs: move the events in set_SelectedIndex to
  11618. after the call to HighlightIndex in order to avoid
  11619. possible recursion and subsequent problems with the call
  11620. to HighlightIndex and include a range check in
  11621. set_HighlightIndex. Fixes #79588
  11622. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  11623. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  11624. to ui thread's settings instead of sunday.
  11625. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  11626. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  11627. * DateTimePicker.cs
  11628. * MonthCalendar.cs
  11629. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  11630. and implement missing functionality (selecting different parts
  11631. of the date and edit them individually with the keyboard).
  11632. 2006-10-11 Chris Toshok <[email protected]>
  11633. * Control.cs (OnInvalidated): fix NRE relating to last change.
  11634. 2006-10-11 Chris Toshok <[email protected]>
  11635. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  11636. atoms in _NET_WM_STATE here if the window is maximized. We need
  11637. to do this because we're *replacing* the existing _NET_WM_STATE
  11638. property, so those atoms will be lost otherwise, and any further
  11639. call to GetWindowState will return Normal for a window which is
  11640. actually maximized. Fixes #79338.
  11641. 2006-10-11 Jackson Harper <[email protected]>
  11642. * TextControl.cs: Special case for setting selection end to
  11643. selection start, we basically kill the anchor.
  11644. - some todo comments.
  11645. 2006-10-11 Chris Toshok <[email protected]>
  11646. * Control.cs: switch to using an "invalid_region" to track which
  11647. parts of the image buffer need updating. This is more code than
  11648. the simple fix from r66532. That version just attempted to always
  11649. fill the entire buffer on redraw, which turns out to be
  11650. inefficient when invalidating small rectangles. This version
  11651. simply adds the invalid rectangle to the invalid region. When we
  11652. get any WM_PAINT message we see if it can be filled using the
  11653. image buffer, and if it can't (if the paint event's clip rectangle
  11654. is visible in the invalid region) we first fill the image buffer.
  11655. So, the image buffer is still a cache, we just fill it lazily.
  11656. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  11657. need it any longer.
  11658. 2006-10-11 Chris Toshok <[email protected]>
  11659. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  11660. well as size after calling XMoveResizeWindow. This keeps us from
  11661. ignoring future SetWindowPos calls. Fixes the disappearing
  11662. DateTimePicker in the ToolBarDockExample from bug #72499.
  11663. 2006-10-11 Chris Toshok <[email protected]>
  11664. * TextBoxBase.cs: reorder things a bit when it comes to
  11665. resizing-causing-recalculation. we were recalculating the
  11666. document when our position was changed, which shouldn't happen.
  11667. We only care about size changes. Clear up some more redundant
  11668. recalculation calls while I'm at it. This makes the toolbar dock
  11669. example snappy when you're just dragging toolbars around (since it
  11670. causes a relayout whenever you move one.)
  11671. 2006-10-11 Chris Toshok <[email protected]>
  11672. * ToolBarButton.cs (get_Rectangle): this only returns
  11673. Rectangle.Empty if Visible == false, or Parent == null.
  11674. Parent.Visible doesn't matter.
  11675. 2006-10-10 Chris Toshok <[email protected]>
  11676. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  11677. by .net 1.1, so switch to an internal method instead.
  11678. 2006-10-10 Chris Toshok <[email protected]>
  11679. * Control.cs (WM_PAINT): when a control is double buffered we draw
  11680. initially to the ImageBuffer and then copy from there. But when a
  11681. parent control which has child controls is double buffered, the
  11682. initial drawing doesn't encompass the entire ClientRectangle of
  11683. the parent control, so we end up with uninitialized bits (this is
  11684. easily seen by dragging the top toolbar in
  11685. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  11686. manually set the ClipRectangle of the paint_event (only the one we
  11687. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  11688. of the nastiness in bug #72499.
  11689. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  11690. which we use in Control.cs's WM_PAINT handling.
  11691. 2006-10-10 Jackson Harper <[email protected]>
  11692. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  11693. 2006-10-10 Chris Toshok <[email protected]>
  11694. * Cursor.cs: Apply a slightly different patch to the one suggested
  11695. in #79609.
  11696. 2006-10-10 Jackson Harper <[email protected]>
  11697. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  11698. not the parent form.
  11699. * TextControl.cs: use difference in old line count vs new count to
  11700. calculate how many lines were added, this takes into account soft
  11701. line breaks properly.
  11702. 2006-10-10 Chris Toshok <[email protected]>
  11703. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  11704. rectangle located at 0,0 and the size of the text. Use
  11705. ClientRectangle instead. This fixes rendering of non-left aligned
  11706. link labels.
  11707. 2006-10-10 Jackson Harper <[email protected]>
  11708. * TextBoxBase.cs: When we set the selection start position the
  11709. caret.
  11710. * TextControl.cs: Need to update the caret when we decrement it to
  11711. zero.
  11712. - Make sure that the selection_visible flag gets reset to false if
  11713. the selection isn't visible. Before this you could get it set to
  11714. visible by changing the selection start, then changing the end to
  11715. equal the start.
  11716. 2006-10-09 Jackson Harper <[email protected]>
  11717. * TreeView.cs: Don't update scrollbars when we aren't visible.
  11718. * TreeNodeCollection.cs: Only need to update scrollbars if being
  11719. added to an expanded visible node or the root node.
  11720. 2006-10-09 Chris Toshok <[email protected]>
  11721. * XplatUIX11.cs (SendMessage): fix NRE.
  11722. 2006-10-09 Jackson Harper <[email protected]>
  11723. * TextBoxBase.cs: Implement horizontal autoscrolling.
  11724. * TextControl.cs: Add a movement types that allows moving forward
  11725. and backwards without wrapping.
  11726. 2006-10-09 Mike Kestner <[email protected]>
  11727. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  11728. with focus "expansion" of labels. Fixes #79532 and then some.
  11729. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  11730. when wrapping.
  11731. 2006-10-09 Jackson Harper <[email protected]>
  11732. * TextBoxBase.cs: Set the default max values to MaxValue since
  11733. we use the scrollbar for autoscrolling and the default value is
  11734. 100. If we don't do this the caret won't keep up with typing
  11735. after about 18 characters.
  11736. * TextControl.cs: Make sure the selection is offset by the
  11737. viewport x. This fixes selection when using auto scrolling.
  11738. 2006-10-07 Andreia Gaita <[email protected]>
  11739. * Form.cs: The active control should be selected after the
  11740. OnLoad so that any child control initialization that affects
  11741. the selection is done. Fixes #79406
  11742. 2006-10-06 Chris Toshok <[email protected]>
  11743. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  11744. to have no evil effects.
  11745. - Stop selecting StructureNotifyMask on non-toplevel windows.
  11746. The only way children should be resized is by using the SWF api,
  11747. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  11748. Toplevel windows can be interacted with via the window manager,
  11749. and so we keep the input mask there.
  11750. The other event StructureNotifyMask gives us (that we care
  11751. about) is DestroyNotify. The code is already structured such
  11752. that it assumes we won't be getting a DestroyNotify event for
  11753. the window we pass to XDestroyWindow (which is what
  11754. StructureNotifyMask is supposed to guarantee.) So, that code
  11755. shouldn't be affected by this either.
  11756. - Stop selecting VisibilityChangeMask altogether.
  11757. We weren't doing anything with the resulting events anyway.
  11758. This vastly reduces the number of X requests and events we see
  11759. when resizing/laying out a large ui.
  11760. 2006-10-06 Chris Toshok <[email protected]>
  11761. * ScrollableControl.cs (DisplayRectangle): we need to take into
  11762. account the DockPadding regardless of whether or not auto_scroll
  11763. == true. rework this slightly to this effect, and fix bug #79606,
  11764. and part of #72499 (you can now see the drag handles and drag
  11765. toolbars around).
  11766. 2006-10-06 Gert Driesen <[email protected]>
  11767. * ListViewItem.cs: Collections of selected and checked items are now
  11768. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  11769. we mark the collection "dirty".
  11770. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  11771. to only clear SelectedItems when a new item is selected and MultiSelect
  11772. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  11773. event of ListViewItemCollection, and mark its list dirty whenever
  11774. that event is fire. This allows us to return selected/checked items
  11775. in the same order as they are in the Items collection. This matches
  11776. the MS behavior.
  11777. 2006-10-06 Chris Toshok <[email protected]>
  11778. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  11779. right mouse clicks. Fixes bug #79593.
  11780. 2006-10-06 Chris Toshok <[email protected]>
  11781. * Splitter.cs: doh, fix splitters that don't want to cancel the
  11782. movement when you drag them. Also, impose the limits on the
  11783. values we send to the SplitterMovingEvent. Fixes #79598.
  11784. 2006-10-06 Jackson Harper <[email protected]>
  11785. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  11786. since we use this for auto scrolling also.
  11787. 2006-10-05 Chris Toshok <[email protected]>
  11788. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  11789. beginning to think that most datagrid column types don't need this
  11790. method. Fixes bug #79392.
  11791. 2006-10-05 Chris Toshok <[email protected]>
  11792. * DataGrid.cs: move back to a more lazy scheme for creating the
  11793. CurrencyManager, so we aren't updating it every time you set
  11794. either DataSource or DataMember. Also, don't call
  11795. RecreateDataGridRows if the currency manager hasn't changed.
  11796. 2006-10-05 Chris Toshok <[email protected]>
  11797. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  11798. emitted, SelectedIndex should already be updated. Fixes bug
  11799. #78929.
  11800. 2006-10-05 Jonathan Pobst <[email protected]>
  11801. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  11802. ToolStripTextBox.cs: Initial commit.
  11803. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  11804. 2006-10-05 Jackson Harper <[email protected]>
  11805. * TabControl.cs: We need to invalidate the tab control area when
  11806. new ones are added (duh).
  11807. 2006-10-03 Chris Toshok <[email protected]>
  11808. * Form.cs (ProcessDialogKey): if the focused control is in this
  11809. form and is a button, call its PerformClick method here. Fixes
  11810. #79534.
  11811. 2006-10-04 Jackson Harper <[email protected]>
  11812. * TabPage.cs: Ignore setting of Visible, and add an internal
  11813. method for setting the controls visibility. TabPage's Visible
  11814. property is a little strange on MS, this seems to make us
  11815. compatible, and fixes cases where people set all the tab pages to
  11816. visible.
  11817. * TabControl.cs: Use the new internal setting on tab pages
  11818. visibility.
  11819. 2006-10-03 Mike Kestner <[email protected]>
  11820. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  11821. 2006-10-03 Mike Kestner <[email protected]>
  11822. * ListView.cs : use is_visible instead of Visible to check if
  11823. scrollbars should be placed/sized. Also some max_wrap_width
  11824. love for LargeIcon view. [Fixes #79533]
  11825. 2006-10-03 Atsushi Enomoto <[email protected]>
  11826. * TextControl.cs :
  11827. Make set_TextAlign() do actually update the align. Fixed #78403.
  11828. 2006-10-03 Chris Toshok <[email protected]>
  11829. * DataGrid.cs: fix a crash when switching datasources if the
  11830. vertical scrollbar is at someplace other than Value = 0. Also,
  11831. reduce the number of recalculation passes we do in SetDataSource
  11832. from 2 to 1.
  11833. 2006-10-03 Jackson Harper <[email protected]>
  11834. * TextBoxBase.cs: Move the if value the same bail check up, we
  11835. don't want to empty the document if it is already empty, this
  11836. seems to severly mess up the caret. TODO: I should probably fix
  11837. the empty statement to update teh caret somehow.
  11838. 2006-10-03 Chris Toshok <[email protected]>
  11839. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  11840. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  11841. reflection, an internal row type, properties on said type, etc.)
  11842. will work with our datagrid. Fixes #79531.
  11843. 2006-10-03 Alexander Olk <[email protected]>
  11844. * FileDialog.cs: Don't crash if a path is not accessible
  11845. (System.UnauthorizedAccessException). Fixes #79569.
  11846. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  11847. a ':' too. Return unknown icon for those paths/files.
  11848. 2006-10-03 Sebastien Pouliot <[email protected]>
  11849. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  11850. GetContainerControl returns null.
  11851. 2006-10-02 Chris Toshok <[email protected]>
  11852. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  11853. call to XGetWindowAttributes instead of "handle". fixes an X
  11854. error using notifyicon after the NotifyIconWindow to Form base
  11855. class switch.
  11856. 2006-10-02 Chris Toshok <[email protected]>
  11857. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  11858. server grab and looping we need to do to get down to the most
  11859. deeply nested child window.
  11860. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  11861. QueryPointer again after the WarpPointer so we can generate a
  11862. proper (fake) MotionNotify event to be enqueued in the destination
  11863. window's queue.
  11864. (GetCursorPos): call QueryPointer.
  11865. Fixes #79556.
  11866. 2006-10-02 Jackson Harper <[email protected]>
  11867. * NotifyIcon.cs: Derive the notify icon from a form, so things
  11868. like FindForm work on it.
  11869. - Swallow the WM_CONTEXTMENU message, since that is generated on
  11870. mouse down, and context menu is a mouse up kinda guy. I believe
  11871. the correct fix here is probably to make the notify icon entirely
  11872. NC area, but this seems to work fine for anyone not manipulating
  11873. WndProc.
  11874. 2006-10-02 Jonathan Pobst <[email protected]>
  11875. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  11876. ToolStripItemCollection.cs, ToolStripLabel.cs,
  11877. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  11878. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  11879. Initial implementation.
  11880. * TextRenderer.cs: Provide padding to MeasureText.
  11881. 2006-10-02 Sebastien Pouliot <[email protected]>
  11882. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  11883. of ButtonBaseAccessibleObject. Fix bug #79552.
  11884. 2006-10-02 Jackson Harper <[email protected]>
  11885. * MdiWindowManager.cs: When maximizing use the containers client
  11886. rect, not it's bounds, so nc area is accounted correctly.
  11887. - Use the parent form's size for the menu position, since the
  11888. client isn't always the full form size.
  11889. 2006-10-01 Chris Toshok <[email protected]>
  11890. * ScrollableControl.cs: make sure neither right_edge or
  11891. bottom_edge are < 0, since they're used as LargeChange for the
  11892. horiz/vert scrollbars respectively. Fixes #79539.
  11893. 2006-10-01 Chris Toshok <[email protected]>
  11894. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  11895. the xplatuix11 code can cause us to destroy/recreate our handle.
  11896. * XplatUIX11.cs
  11897. (SystrayAdd):
  11898. - this code can be invoked many times for the same Hwnd. Make
  11899. sure we only destroy the client window once (the first time this
  11900. method is called). This fixes bug #79544.
  11901. - Remove the call to the improperly bound XSync. why we had two
  11902. bindings to this, I will never know, but this call resulted in
  11903. events being discarded from the queue(!).
  11904. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  11905. not our current state but the state we wish to be in. So, 0 if
  11906. we don't want to be mapped. Change it to 1.
  11907. (SystrayRemove): The XEMBED spec makes mention of the fact that
  11908. gtk doesn't support the reparent of client windows away from the
  11909. embedder. Looking at gtksocket-x11.c seems to agree with this.
  11910. The only avenue we have for removing systray icons is to destroy
  11911. them. We don't want the handle to go away for good, though, so
  11912. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  11913. #79545.
  11914. 2006-10-01 Chris Toshok <[email protected]>
  11915. * Form.cs (WndProc): inline the native_enabled variable usage into
  11916. the cases in which it's used. Fixes #79536.
  11917. 2006-09-29 Mike Kestner <[email protected]>
  11918. * ListView.cs : toggle the selection state for ctrl clicks in
  11919. multiselect mode. [Fixes #79417]
  11920. 2006-09-29 Mike Kestner <[email protected]>
  11921. * ListView.cs : kill CanMultiSelect and refactor the selection
  11922. code to support multiselection in the absence of mod keys. Steal
  11923. arrow/home/end keys by overriding InternalPreProcessMessage to
  11924. restore regressed keynav behavior.
  11925. [Fixes #79416]
  11926. 2006-09-29 Jackson Harper <[email protected]>
  11927. * MdiClient.cs: Repaint the titlebars when the active window is
  11928. changed.
  11929. 2006-09-29 Chris Toshok <[email protected]>
  11930. * Application.cs: when entering a runloop with a modal, make sure
  11931. the hwnd is enabled. Fixes #79480.
  11932. 2006-09-29 Chris Toshok <[email protected]>
  11933. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  11934. when ListManager.CanAddRows == false, bump us back one.
  11935. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  11936. listmanager.CanAddRows check. This makes ArrayLists uneditable
  11937. using a datagrid, which is not right.
  11938. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  11939. is an IEditable, but call property_descriptor.SetValue regardless.
  11940. fixes #79435.
  11941. 2006-09-29 Chris Toshok <[email protected]>
  11942. * DataGridBoolColumn.cs: we need to test equality in the face of
  11943. possible null values (as is the case with the default NullValue).
  11944. This patch keeps us from crashing in that case.
  11945. 2006-09-29 Jackson Harper <[email protected]>
  11946. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  11947. here, since it will get called for every node collection in the
  11948. tree. This is now done in the treeview once the sorting is
  11949. finished.
  11950. * TreeView.cs: Recalculate the visible order, and update the
  11951. scrollbars after sorting, set the top nope to the root so that the
  11952. recalc actually works.
  11953. 2006-09-29 Chris Toshok <[email protected]>
  11954. * LinkLabel.cs: more handling of the default link collection in
  11955. the face of LinkArea manipulation. The default link collection
  11956. contains 1 element (start=0,length=-1). If the user sets LinkArea
  11957. to anything and the links collection is the default, clear it.
  11958. Then only add the link if its nonempty. Fixes #79518.
  11959. 2006-09-29 Chris Toshok <[email protected]>
  11960. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  11961. piece correctly when we hit a '\n'. Fixes #79517.
  11962. 2006-09-29 Chris Toshok <[email protected]>
  11963. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  11964. change the binding of gdk_init_check to take two IntPtr's, and
  11965. pass IntPtr.Zero for both of them. Fixes #79520.
  11966. 2006-09-29 Mike Kestner <[email protected]>
  11967. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  11968. [Fixes #78779]
  11969. 2006-09-28 Jackson Harper <[email protected]>
  11970. * XplatUIX11.cs: When translating NC messages make sure we go from
  11971. whole window to screen, not client window to screen.
  11972. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  11973. method doesn't exist
  11974. - Skip over controls that aren't forms when arranging.
  11975. 2006-09-28 Jackson Harper <[email protected]>
  11976. * XplatUIWin32.cs: Clip the rect to the parent window.
  11977. * XplatUIStructs.cs: Add clipping modes struct.
  11978. * InternalWindowManager.cs: New private method that factors title
  11979. bar heights in when calculating the pos of an NC mouse message.
  11980. - Use SendMessage to force a paint when the form's size is changed
  11981. instead of painting the decorations immediately.
  11982. - Don't let the NC button click messages get to DefWndProc,
  11983. because they will attempt to handle windowing themself, and this
  11984. messes up z-order (it will put them in front of the scrollbars).
  11985. * XplatUIX11.cs: Make sure that we don't reset window managers if
  11986. we already have one (ie the window is an MDI window).
  11987. 2006-09-28 Chris Toshok <[email protected]>
  11988. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  11989. menu code really needs going over.
  11990. 2006-09-27 Chris Toshok <[email protected]>
  11991. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  11992. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  11993. window is maximizable. So, we need to make sure that even if we
  11994. clear the border/wm frame of those functions, they're still
  11995. available (basically, we remove the decoration without removing
  11996. the function). Half the fix for #79338.
  11997. 2006-09-27 Chris Toshok <[email protected]>
  11998. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  11999. Fixes bug #79515.
  12000. 2006-09-27 Chris Toshok <[email protected]>
  12001. * Splitter.cs: reorder things a bit so that we don't actually
  12002. draw/move the splitter until after calling OnSplitterMoving. This
  12003. lets users cancel/disallow the movement by explicitly setting
  12004. event.SplitX/SplitY. Fixes #79372.
  12005. 2006-09-27 Jackson Harper <[email protected]>
  12006. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  12007. because it is most likely on a window being destroyed, and that
  12008. will give us an X11 error.
  12009. 2006-09-27 Chris Toshok <[email protected]>
  12010. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  12011. the dropdown button now toggles between showing and hiding the
  12012. dropdown. Also, get rid of dropdown_form_showing and just use
  12013. dropdown_form.Visible. We still don't do a grab, but I'll leave
  12014. that part to someone who has handled Capture-fu before.
  12015. 2006-09-27 Chris Toshok <[email protected]>
  12016. * DataGrid.cs: return false if alt isn't pressed when '0' is
  12017. pressed. this keeps the '0' key from being swallowed, and fixes
  12018. bug #79350.
  12019. 2006-09-27 Chris Toshok <[email protected]>
  12020. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  12021. Calling Refresh (in response to a scrollbar event) screws up the
  12022. scrollbar painting. Fixes bug #78923.
  12023. 2006-09-27 Chris Toshok <[email protected]>
  12024. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  12025. then insert into hashtable" blocks threadsafe.
  12026. 2006-09-27 Chris Toshok <[email protected]>
  12027. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  12028. baseclass's, since otherwise the
  12029. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  12030. effect. This gets the close button back in messageboxes.
  12031. 2006-09-27 Chris Toshok <[email protected]>
  12032. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  12033. flag, not just != 0. this makes flags that are actually multiple
  12034. bits (like WS_CAPTION) work. fixes bug #79508.
  12035. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  12036. * PageSetupDialog.cs: add support for getting and settings the
  12037. paper size, source and orientation.
  12038. 2006-09-26 Chris Toshok <[email protected]>
  12039. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  12040. and caption == "", we need to remove the resize handles as well as
  12041. the title bar.
  12042. * Control.cs (set_Text): turns out that setting Text on a form
  12043. should change the WM styles on the window, since if ControlBox ==
  12044. false, the only way to get a window border is to have a non-""
  12045. Text property. check winforms/forms/text.cs for an example. so,
  12046. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  12047. update both window styles and title. This fixes a lot of dialogs
  12048. (including the preferences dialog in MonoCalendar.)
  12049. 2006-09-26 Chris Toshok <[email protected]>
  12050. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  12051. control isn't a Form), call Win32ShowWindow to hide the window,
  12052. but don't update the control Visible property. When we reparent
  12053. back to a parent control, call SetVisible in order for the
  12054. window's visibility to be reinstated.
  12055. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  12056. the FosterParent.
  12057. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  12058. call for good, since it breaks MonoCalendar (and other things I'm
  12059. sure.) Also, set all_controls to null *after* the owner calls,
  12060. which end up regenerating it.
  12061. (ChangeParent): allow new_parent to be == null, passing
  12062. IntPtr.Zero down to XplatUI.
  12063. this fixes #79294 the right way.
  12064. 2006-09-26 Mike Kestner <[email protected]>
  12065. * GridEntry.cs : internal SetParent method.
  12066. * PropertyGrid.cs : attach to property changed on the proper
  12067. target if we have a hierarchical grid with subobjects. Setup
  12068. GridItem.Parent for hierarchical items.
  12069. * PropertyGridView.cs : Set value on the correct target for
  12070. hierarchical grids. [Fixes #78903]
  12071. 2006-09-26 Chris Toshok <[email protected]>
  12072. * Control.cs (ChildNeedsRecreating): this should return true if
  12073. either we're being recreated and the child is in our list, or our
  12074. parent is waiting for our recreation.
  12075. 2006-09-26 Chris Toshok <[email protected]>
  12076. * Control.cs (ControlCollection.Remove): reinstate the
  12077. value.Hide() call as suggested in bug #79294.
  12078. 2006-09-26 Sebastien Pouliot <[email protected]>
  12079. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  12080. coordinates (versus a relative move).
  12081. 2006-09-26 Chris Toshok <[email protected]>
  12082. * Control.cs: rework child recreation a little bit. It turns out
  12083. that we race between the DestroyNotify the WM_DESTROY message. If
  12084. the parent gets its DestroyNotify before the child gets the
  12085. WM_DESTROY message, the child ends up not recreating (since the
  12086. parent finishes its recreation on DestroyNotify, and the child
  12087. checks ParentIsRecreating.)
  12088. So, instead we store off a list of all the child controls which
  12089. need to be recreated when the parent control starts to recreate
  12090. itself. Then, when child controls get their WM_DESTROY message we
  12091. check to see if they're in the parent's pending recreation list,
  12092. and if so, we recreate. This removes all dependency on ordering
  12093. from the code and fixes the initial MonoCalendar upgrade dialog.
  12094. 2006-09-26 Jackson Harper <[email protected]>
  12095. * TextControl.cs: Use the Line to get the length of the line,
  12096. since soft line breaks can change the end line.
  12097. 2006-09-26 Chris Toshok <[email protected]>
  12098. * Control.cs (ControlCollection.AddImplicit): don't add the
  12099. control again if it's already in one of our lists. This keeps us
  12100. from adding controls over and over again for comboboxes when their
  12101. handle gets recreated (as the combobox adds implicit controls in
  12102. OnHandleCreated). Fixes the X11 errors in bug #79480.
  12103. 2006-09-26 Jackson Harper <[email protected]>
  12104. * TextControl.cs: When deleting characters make sure that any
  12105. orphaned zero lengthed tags get deleted.
  12106. - Fix ToString for zero lengthed tags.
  12107. 2006-09-25 Jackson Harper <[email protected]>
  12108. * TextControl.cs: When getting a tag at the location there can be
  12109. multiple tags at the same spot, these are 0-lengthed tags that
  12110. appear when extra formatting has been stuck in a location. We
  12111. need to pull out the last of these 0 lengthed tags.
  12112. 2006-09-25 Jackson Harper <[email protected]>
  12113. * TextControl.cs: Fix print out in debug method.
  12114. * TextBoxBase.cs: When text is set bail if we are setting to the
  12115. previous value.
  12116. 2006-09-24 Alexander Olk <[email protected]>
  12117. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  12118. It is now possible to change the selected index in a FontXXXListBox
  12119. with the up and down arrow keys from the FontXXXTextBoxes.
  12120. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  12121. FontXXXListBoxes to match ms.
  12122. 2006-09-22 Sebastien Pouliot <[email protected]>
  12123. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  12124. anyone can dispose it, anytime. All other properties returns enums,
  12125. structs or basic types so they don't need such tricks.
  12126. 2006-09-22 Jackson Harper <[email protected]>
  12127. * XplatUI.cs:
  12128. * XplatUIWin32.cs:
  12129. * Clipboard.cs:
  12130. * DataFormats.cs:
  12131. * XplatUIOSX.cs:
  12132. * XplatUIDriver.cs: Update interface to add a primary selection
  12133. flag, so the driver can use the primary selection buffer if
  12134. needed.
  12135. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  12136. * RichTextBox.cs: We need to supply the data object to paste now
  12137. (so we can choose to supply CLIPBOARD or PRIMARY).
  12138. * TextBoxBase.cs: Supply data object to paste (see above).
  12139. - Middle click uses the primary selection data object.
  12140. 2006-09-21 Chris Toshok <[email protected]>
  12141. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  12142. of SetWMStyles. It's still a rat's nest and is largely
  12143. order-dependent which I dislike immensely. This also fixes the X
  12144. button disappearing from toplevel forms.
  12145. 2006-09-21 Mike Kestner <[email protected]>
  12146. * ListBox.cs: move Jordi's click/dblclick raising code to the
  12147. mouse up handler.
  12148. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  12149. * ListBox.cs: Fixes 79450
  12150. 2006-09-21 Mike Kestner <[email protected]>
  12151. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  12152. to deal with people updating the TreeNodeCollection after the tree
  12153. is disposed. "Fixes" 79330.
  12154. 2006-09-20 Jackson Harper <[email protected]>
  12155. * TextControl.cs: Push the cursor record onto the undo stack
  12156. before the delete action. This fixes 78651.
  12157. 2006-09-20 Jonathan Chambers <[email protected]>
  12158. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  12159. CreateParams. Fixes 79329.
  12160. 2006-09-19 Chris Toshok <[email protected]>
  12161. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  12162. things up a bit. First, get rid of the NetAtoms array (and the NA
  12163. enum), and just embed the atoms as static fields. Also, add a
  12164. couple of functions (StyleSet and ExStyleSet) to clean up all the
  12165. bitmask testing of styles.
  12166. * X11Structs.cs: remove the NA enum, not needed anymore.
  12167. 2006-09-19 Chris Toshok <[email protected]>
  12168. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  12169. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  12170. added cleanup to get MessageBox titles appearing again, which were
  12171. broken by my earlier fix for caption-less/ControlBox-less windows.
  12172. 2006-09-18 Jonathan Pobst <[email protected]>
  12173. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  12174. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  12175. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  12176. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  12177. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  12178. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  12179. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  12180. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  12181. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  12182. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  12183. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  12184. Inital import.
  12185. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  12186. ToolStripButton.cs: Stubs needed for above.
  12187. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  12188. 2006-09-15 Chris Toshok <[email protected]>
  12189. * XplatUIX11.cs:
  12190. - make the MessageQueues hashtable Synchronized.
  12191. - SendMessage: if the Hwnd is owned by a different thread, use the
  12192. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  12193. thread. Fixes bug #79201.
  12194. 2006-09-15 Chris Toshok <[email protected]>
  12195. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  12196. ControlBox == false, we disallow maximize/minimize/close. If the
  12197. form Caption is "" we also disallow move (and get rid of the Title
  12198. decoration). Unfortunately, regardless of how things are set,
  12199. we're stuck with the Title and WM menu.
  12200. 2006-09-15 Chris Toshok <[email protected]>
  12201. * Application.cs: add locking around the static message_filters
  12202. ArrayList, part of #79196.
  12203. 2006-09-15 Chris Toshok <[email protected]>
  12204. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  12205. Form.ControlBox == false, the window has no titlebar nor resize
  12206. handles. fixes bug #79368.
  12207. 2006-09-15 Chris Toshok <[email protected]>
  12208. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  12209. >= 0. Fixes bug #79370.
  12210. 2006-09-15 Jonathan Pobst <[email protected]>
  12211. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  12212. * Control.cs:
  12213. Add properties: LayoutEngine, Margin, DefaultMargin.
  12214. Add method: GetPreferredSize.
  12215. Move layout logic from PerformLayout to layout engines.
  12216. 2006-09-13 Chris Toshok <[email protected]>
  12217. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  12218. fix for #79326 broke #78718, so this change addresses that.
  12219. - in SendWMDestroyMessages remove the call to
  12220. CleanupCachedWindows, since we might be recreating the control and
  12221. need to maintain the references to right Hwnd handles. Also, set
  12222. the zombie flag to true for each of the children in the hierarchy
  12223. instead of calling hwnd.Dispose. This will cause GetMessage to
  12224. ignore all events for the window except for DestroyNotify.
  12225. - In GetMessage, ignore messages except for DestroyNotify for
  12226. zombie hwnds.
  12227. * Control.cs: revert the is_recreating fix from the last
  12228. ChangeLog. It's definitely "right", but it breaks switching from
  12229. an MDI form to a non-MDI form. Will need to revisit that.
  12230. * Hwnd.cs: add a zombie flag, which means "the
  12231. client_window/whole_window handles are invalid, but we're waiting
  12232. for the DestroyNotify event to come in for them". Set the flag to
  12233. false explicitly if setting WholeWindow/ClientWindow, and also
  12234. when Disposing.
  12235. 2006-09-13 Chris Toshok <[email protected]>
  12236. * XplatUIX11.cs: rework window destruction slightly.
  12237. - when destroying the windows associated with a control, we don't
  12238. need 2 separate XDestroyWindow calls. Just the one for the
  12239. whole_window (or for client_window if whole_window is somehow
  12240. IntPtr.Zero -- can this happen?) is enough.
  12241. - reworked SendWMDestroyMessages slightly, so we always dispose
  12242. the child control hwnd's after sending the messages.
  12243. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  12244. the two places it was used (one was even using hwnd.Handle and the
  12245. other hwnd.client_window. ugh), adding another call in
  12246. SendWMDestroyMessages. We need this new call because now the
  12247. DestroyNotify events in the queue will be ignored for the child
  12248. controls (as their hwnd's were disposed, and the window id's
  12249. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  12250. - this fixes bug #79326.
  12251. 2006-09-13 Chris Toshok <[email protected]>
  12252. * Control.cs: don't always set is_recreating to false at the end
  12253. of RecreateHandle, since sometimes we're not done (and won't be
  12254. until WndProc handles the WM_DESTROY message). Also, set
  12255. is_recreating to false in the WM_DESTROY handling code. Part of
  12256. the fix for bug #79326.
  12257. 2006-09-13 Miguel de Icaza <[email protected]>
  12258. * X11DesktopColors.cs: Start the droppage of debugging messages.
  12259. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  12260. 2006-09-13 Jonathan Pobst <[email protected]>
  12261. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  12262. 2006-09-12 Chris Toshok <[email protected]>
  12263. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  12264. to create it using SetDataSource. Fixes bug #79151.
  12265. 2006-09-11 Chris Toshok <[email protected]>
  12266. * XEventQueue.cs: add a DispatchIdle property.
  12267. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  12268. either the queue is null, or the queue has DispatchIdle set to
  12269. true.
  12270. (DoEvents): set queue.DispatchIdle to false around the
  12271. peek/translate/dispatch message loop in this method. This keeps
  12272. Application.Doevents from emitting idle events. Part of the fix
  12273. for #78823.
  12274. 2006-09-11 Chris Toshok <[email protected]>
  12275. * DataGrid.cs (set_DataSource): make this work for both the
  12276. winforms/datagrid test and ReportBuilder. It seems as though when
  12277. we've created a ListManager (or maybe it's if we have a
  12278. BindingContext?), when we set the DataSource it clears the
  12279. DataMember to "". otherwise we reuse the datamember. Fixes bug
  12280. #79333.
  12281. 2006-09-11 Chris Toshok <[email protected]>
  12282. * XplatUIX11.cs: deal with queue being null, which happens in all
  12283. the Clipboard functions. Fixes one of the two problems mentioned
  12284. in #78612.
  12285. 2006-09-11 Chris Toshok <[email protected]>
  12286. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  12287. button on various spots (including outside the menu) works closer
  12288. to MS, and doesn't crash. Fixes #79343.
  12289. 2006-09-11 Gert Driesen <[email protected]>
  12290. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  12291. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  12292. and the internal comparer is set. When a new ListViewItemSorter is set,
  12293. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  12294. was specified. No further processing is necessary if SortOrder is set
  12295. to it's current value. If Sorting is modified to None, and View is
  12296. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  12297. (either custom or our internal ItemComparer) to null, on 1.0 profile
  12298. only set item_sorter to null if its our internal IComparer. If Sorting
  12299. is modified to Ascending or Descending, then use our internal IComparer
  12300. if none is set, and if the current IComparer is our internal one then:
  12301. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  12302. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  12303. Enum.IsDefined to verify whether a valid View value is specified in
  12304. its setter. Automatically sort listview items when listview is
  12305. created. In Sort, do nothing if ListView is not yet created, or if
  12306. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  12307. to None or ListViewItemSorter was set to null). Added Sort overload
  12308. taking a bool to indicate whether the ListView should be redrawn when
  12309. items are sorted (we use this in ListViewItemCollection to avoid double
  12310. redraws). Modified our internal IComparer to take the sort order into
  12311. account. In Add and AddRange methods of ListViewItemCollection, also
  12312. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  12313. view), but use overload with noredraw option to avoid double redraw.
  12314. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  12315. true when View is Tile, and do the same when attempting to set View to
  12316. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  12317. for selected/checked indices, as it involves overhead when sorting is
  12318. done while these collections are not used all that often. Instead
  12319. we'll build the indices on demand. Modified IList implementation of
  12320. CheckedIndexCollection to use public methods if object is int.
  12321. Modified CheckedListViewItemCollection to hide checked items if
  12322. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  12323. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  12324. IList implementation in SelectedIndexCollection to use public methods
  12325. if object is int. Modified SelectedListViewItemCollection to hide
  12326. selected items if listview is not yet created.
  12327. * ListViewItem.cs: CheckedIndices list no longer needs to be
  12328. maintained separately (see ListView changes). Also clone font, fixes
  12329. test failure.
  12330. 2006-09-11 Mike Kestner <[email protected]>
  12331. * ComboBox.cs: if we are updating the contents of the currently
  12332. selected index, refresh the control or the textbox selection.
  12333. [Fixes #79066]
  12334. 2006-09-11 Mike Kestner <[email protected]>
  12335. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  12336. the 'specified' logic has been moved there. This seems like a bug
  12337. in Control.cs, since our current SetBoundsCore completely ignores
  12338. the specified parameter. Peter's commit seems to indicate that is
  12339. the way the MS control implementation works. [Fixes #79325]
  12340. 2006-09-10 Jonathan Chambers <[email protected]>
  12341. * XplatUI.cs: Set default_class_name to be composed
  12342. of current domain id. This allows MWF to be loaded in multiple
  12343. domains on Win32.
  12344. 2006-09-09 Miguel de Icaza <[email protected]>
  12345. * X11Keyboard.cs: If we are unable to obtain the input method, do
  12346. not call CreateXic to create the input context. Should fix
  12347. #78944/79276.
  12348. 2006-09-08 Alexander Olk <[email protected]>
  12349. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  12350. Simplified gnome support by adding more pinvokes to get the
  12351. icon for a file or mime type.
  12352. 2006-09-08 Jackson Harper <[email protected]>
  12353. * MenuAPI.cs: Deslect popup context menu items before closing the
  12354. window, so that you don't see the previously selected item
  12355. selected when you reopen the menu.
  12356. * TextControl.cs: Update the cursor position even if we don't have
  12357. focus. This fixes typing in things like the ComboBox. I'm not
  12358. totally sure we should always set the visibility if we don't have
  12359. focus, but couldn't find any corner cases where the cursor showed
  12360. up when it shouldn't.
  12361. 2006-09-08 Chris Toshok <[email protected]>
  12362. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  12363. our arrays are length 256. & 0xff before indexing. Fixes the
  12364. crash in bug #78077.
  12365. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  12366. * ThemeWin32Classic.cs:
  12367. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  12368. is true. Handle that check box too.
  12369. 2006-09-07 Chris Toshok <[email protected]>
  12370. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  12371. 79244.
  12372. 2006-09-07 Chris Toshok <[email protected]>
  12373. * Control.cs: in set_BackColor only do the work if
  12374. background_color != value.
  12375. * XplatUIX11.cs: move the clearing of invalid areas (both client
  12376. and nc) to the same block of code where we set (nc_)expose_pending
  12377. to false. That is, move it from PaintEventEnd to PaintEventStart,
  12378. so things that cause invalidates from within OnPaint will trigger
  12379. another call to OnPaint. Fixes bug #79262.
  12380. 2006-09-07 Alexander Olk <[email protected]>
  12381. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  12382. * FileDialog.cs: Fix typo
  12383. 2006-09-07 Jackson Harper <[email protected]>
  12384. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  12385. for tab pages if they have any.
  12386. 2006-09-06 Mike Kestner <[email protected]>
  12387. * Splitter.cs: use the "current" rect when finishing drag handle
  12388. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  12389. 2006-09-06 Mike Kestner <[email protected]>
  12390. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  12391. support offset splitters. [Fixes #79298]
  12392. 2006-09-06 Alexander Olk <[email protected]>
  12393. * Mime.cs: Fixed a bug that could override the global mime type
  12394. result.
  12395. 2006-09-05 Jackson Harper <[email protected]>
  12396. * TabControl.cs: Better calculation method for setting the slider
  12397. pos. Prevents crashes on really wide tabs.
  12398. - Draw Image on tab pages if an image list is used.
  12399. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  12400. * MonthCalendar.cs: When Font changes, the Size should be
  12401. updated to fit the new font's space requirements.
  12402. 2006-09-02 Alexander Olk <[email protected]>
  12403. * ListBox.cs: If the items are cleared with Items.Clear set
  12404. top_index to 0.
  12405. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  12406. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  12407. fire DateChanged event instead of DateSelected event when
  12408. the date was changed by keyboard interaction.
  12409. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  12410. * DateTimePicker.cs: Handle DateChanged for the associated
  12411. month_calendar control, and set month_calendar.Font from
  12412. OnFontChanged method, as well as resize the height of the
  12413. control when needed. Make PreferredHeight proportional.
  12414. 2006-09-01 Chris Toshok <[email protected]>
  12415. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  12416. properties.
  12417. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  12418. 2006-09-01 Peter Dennis Bartok <[email protected]>
  12419. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  12420. for decorations (Fixes #79219)
  12421. 2006-09-01 Mike Kestner <[email protected]>
  12422. * ComboBox.cs: first stab at sorting plus some selection handling
  12423. fixes to bring us more in line with MS behavior. Also switches back
  12424. to index based selection. Alternative patches for index-based
  12425. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  12426. and [email protected] on bug 78848. I assume they were similar to this
  12427. code I've had simmering in my tree forever.
  12428. [Fixes #78848]
  12429. 2006-09-01 Chris Toshok <[email protected]>
  12430. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  12431. when setting list position guard against ending up with a -1 index
  12432. (the other part of the fix for #78812). Should probably make sure
  12433. we don't need the analogous fix in the ItemDeleted case.
  12434. * DataGrid.cs:
  12435. - in SetDataSource, work around the fact that the way
  12436. OnBindingContextChanged is invoked will cause us to re-enter this
  12437. method. I'll remove the hack once I investigate
  12438. OnBindingContextChanged.
  12439. - fix the logic in set_DataSource and set_DataMember (basically
  12440. what to do if the other of the two is null.)
  12441. - in OnListManagerItemChanged, we need to take into account the
  12442. edit row when deciding whether or not to call RecreateDataGridRows
  12443. (part of the fix for #78812).
  12444. 2006-09-01 Jackson Harper <[email protected]>
  12445. * Splitter.cs: Don't do anything if there is no control to affect
  12446. (prevents us from crashing in weird tet cases).
  12447. * TreeView.cs: Bounding box for the mouse movement reverting
  12448. focus/selection back to previously selected node. This matches
  12449. MS, and makes the tree a lot more useable.
  12450. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  12451. use clipping so they are not drawn. This fixes when the control
  12452. is set to have a transparent background, or if it was over an
  12453. image.
  12454. 2006-09-01 Alexander Olk <[email protected]>
  12455. * MimeIcon.cs: Improved handling for reading default icons when
  12456. using gnome (2.16 made it necessary). Check and read svg icons
  12457. first, then 48x48 and then 32x32 icons.
  12458. 2006-08-31 Chris Toshok <[email protected]>
  12459. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  12460. visible.
  12461. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  12462. ProcessKeyPreview. Fixes part of #77806.
  12463. * DataGrid.cs: big patch.
  12464. - revert the queueing up of DataSource/DataMember if inside
  12465. BeginInit/EndInit calls. That's not the way the datagrid achieves
  12466. its delayed databinding. Instead, call SetDataSource in
  12467. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  12468. #78811.
  12469. - Also, it wasn't mentioned in #78811, but the test case exhibits
  12470. behavior that was lacking in our datagrid implementation - Columns
  12471. that have mapping names that don't exist in the datasource's
  12472. properties aren't shown. Yuck. To fix this I added the bound
  12473. field to the column style, and basically any calculation to figure
  12474. out anything about columns uses a loop to find the bound columns.
  12475. still need to investigate if I can cache an array of the bound
  12476. columns or if the indices must be the same.
  12477. - When setting CurrentCell, we no longer abort if the cell being
  12478. edited was in the add row. This fixes the other part of #77806.
  12479. - The new code also fixes #78807.
  12480. * ThemeWin32Classic.cs: perpetrate the same disgusting
  12481. column.bound field hack, and only render bound fields.
  12482. 2006-08-31 Chris Toshok <[email protected]>
  12483. * DataGridColumnStyle.cs: add bound field. this field is true if
  12484. the datasource has a property corresponding to the mapping name.
  12485. * DataGridTableStyle.cs: set the bound field on the column styles
  12486. depending on whether or not we have a column for that property.
  12487. 2006-08-31 Peter Dennis Bartok <[email protected]>
  12488. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  12489. splitter control (fixes #79228)
  12490. 2006-08-31 Chris Toshok <[email protected]>
  12491. * DataGridColumnStyle.cs: we need to delay the assignment of
  12492. property descriptor until the last possible moment due to the lazy
  12493. databinding stuff in the datagrid. Also, fix the exceptions
  12494. thrown by CheckValidDataSource to match MS.
  12495. 2006-08-31 Jackson Harper <[email protected]>
  12496. * Form.cs: When activated select the active control, if there is
  12497. no active control, we select the first control.
  12498. * XplatUIX11.cs: If there is no focus control when we get a
  12499. FocusIn event, find the toplevel form and activate it. This
  12500. occurs when you popup a window, it becomes the focus window, then
  12501. you close that window, giving focus back to the main window.
  12502. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  12503. * MonthCalendar.cs:
  12504. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  12505. as StringFormat with Center alignments in MonthCalendar,
  12506. instead of creating new ones when drawing the control.
  12507. Also, draw the month name in bold style.
  12508. 2006-08-30 Peter Dennis Bartok <[email protected]>
  12509. * Control.cs:
  12510. - PerformLayout(): It would seem MS performs the fill even if the
  12511. control is not visible (part of #79218 fix)
  12512. - ResetBackColor(): Use the setter to reset the color, to allow
  12513. overriders to catch the change.
  12514. * Form.cs:
  12515. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  12516. - CreateHandle(): dito (part of $79218 fix)
  12517. - Don't set an icon if we have a dialog
  12518. * ScrollableControl.cs:
  12519. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  12520. - ScrollIntoView(): No need to scroll if control is already visible
  12521. (resolves fixme and fixes #79218)
  12522. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  12523. * MonthCalendar.cs: Change proportions in SingleMonthSize
  12524. to match the aspect of the original control.
  12525. 2006-08-29 Alexander Olk <[email protected]>
  12526. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  12527. get updated when they get maximized.
  12528. 2006-08-29 Peter Dennis Bartok <[email protected]>
  12529. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  12530. 2006-08-29 Chris Toshok <[email protected]>
  12531. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  12532. 2006-08-29 Jackson Harper <[email protected]>
  12533. * TreeView.cs: Need to track selected node and highlighted node,
  12534. they aren't always the same thing, when the mouse is down on a
  12535. node it is hilighted, but not selected yet.
  12536. - Do the HideSelection stuff right
  12537. - Need to focus on rbutton mouse down. And redraw selection when
  12538. right click is mouse upped.
  12539. 2006-08-29 Mike Kestner <[email protected]>
  12540. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  12541. when SubItems.Count < Columns.Count. [Fixes #79167]
  12542. 2006-08-28 Peter Dennis Bartok <[email protected]>
  12543. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  12544. 2006-08-28 Peter Dennis Bartok <[email protected]>
  12545. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  12546. from X. Only send based on ConfigureNotify if we don't have the
  12547. correct location in hwnd (if the window manager moved us)
  12548. 2006-08-28 Mike Kestner <[email protected]>
  12549. * ListView.cs: remove a TODO.
  12550. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  12551. [Fixes ListView part of #79166]
  12552. 2006-08-28 Mike Kestner <[email protected]>
  12553. * ListView.cs: move wheel handler to parent since it is focused
  12554. instead of the item_control now. [Fixes #79177]
  12555. 2006-08-28 Mike Kestner <[email protected]>
  12556. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  12557. when the control is focused. [Fixes #79171]
  12558. 2006-08-28 Mike Kestner <[email protected]>
  12559. * ListView.cs: size the item and header controls for empty and
  12560. unscrollable views.
  12561. * ThemeWin32Classic.cs: draw disabled backgrounds.
  12562. [Fixes #79187]
  12563. 2006-08-28 Chris Toshok <[email protected]>
  12564. * Form.cs: remove unused "active_form" static field.
  12565. * Hwnd.cs: lock around accesses to static windows collection.
  12566. * Application.cs: lock threads in Exit ().
  12567. 2006-08-28 Chris Toshok <[email protected]>
  12568. * NativeWindow.cs: lock around accesses to window_collection.
  12569. 2006-08-28 Chris Toshok <[email protected]>
  12570. * Control.cs: err, fix this the right way, by locking on controls
  12571. when using it. not by making it synchronized.
  12572. 2006-08-28 Chris Toshok <[email protected]>
  12573. * Control.cs: make the static "controls" field synchronized, as it
  12574. gets updated from multiple threads.
  12575. 2006-08-27 Peter Dennis Bartok <[email protected]>
  12576. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  12577. Prevent other threads from exiting when calling thread sets quit state.
  12578. * XEventQueue.cs: Added PostQuitState property
  12579. 2006-08-27 Chris Toshok <[email protected]>
  12580. * AsyncMethodData.cs: add a slot for the window handle.
  12581. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  12582. window (the destination control's window, not the foster window).
  12583. * Control.cs (BeginInvokeInternal): store the window's handle in
  12584. the AsyncMethodData.
  12585. 2006-08-27 Peter Dennis Bartok <[email protected]>
  12586. * XplatUIX11.cs:
  12587. - PostQuitMessage: Removed resetting S.D display handle, we might have
  12588. another loop started after calling PostQuitMessage (Fixes #79119)
  12589. - Created destructor to reset S.D handle
  12590. 2006-08-27 Peter Dennis Bartok <[email protected]>
  12591. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  12592. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12593. * TextControl.cs (Insert): Update the caret position even if we don't
  12594. have a handle yet, just don't call the driver in that case.
  12595. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  12596. to the end of the new selection text (Fixes #79184)
  12597. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12598. * Form.cs (Activate): Only activate if the handle is created)
  12599. * Control.c:
  12600. - Mark window as invisible when it's disposed
  12601. - Check if window handle is created when setting window visible,
  12602. instead of relying just on the is_created variable
  12603. - Check if object is disposed when creating the control (Fixes #79155)
  12604. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12605. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  12606. when allowing layout again. Otherwise we re-generate the anchoring
  12607. distance to the border again and actually alter what the user wanted
  12608. This is ugly, it'd be better if we used DisplayRectangle instead of
  12609. ClientRectangle for Control.UpdateDistances, but that causes us to
  12610. have other problems (initial anchoring positons would be wrong)
  12611. (Fixes #78835)
  12612. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12613. * Control.cs:
  12614. - The size and location setters shouldn't go directly to
  12615. SetBoundsCore, but to SetBounds, which triggers layout on the
  12616. parent, then calls SetBoundsCore. (Related to fix for #78835)
  12617. - SetBounds: Moved actual location update code into this function
  12618. from SetBoundsCore, to match MS. Added call to PerformLayout if
  12619. we have a parent (to trigger resizing of anchored parents if the
  12620. child size has changed (see testcase for #78835)
  12621. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  12622. new control code
  12623. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  12624. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12625. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  12626. System.Drawing when a toplevel window gets closed; there might
  12627. be other toplevel windows belonging to the same app (Fixes #78052)
  12628. 2006-08-26 Alexander Olk <[email protected]>
  12629. * FileDialog.cs: After reading FileDialog settings from mwf_config
  12630. use Desktop prefix only if a real folder doesn't exist anymore.
  12631. * FontDialog.cs: Added char sets.
  12632. It is now possible to select the font, size or style with the
  12633. textboxes.
  12634. 2006-08-25 Kornél Pál <[email protected]>
  12635. * PrintPreviewDialog.cs: Use assembly name constants.
  12636. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12637. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  12638. scrollbar from whacking it's buttons)
  12639. 2006-08-24 Chris Toshok <[email protected]>
  12640. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  12641. in this patch (aggregating setting Left/Top/Width/Height to
  12642. setting Bounds on the scrollbars), but the crux of the fix is in
  12643. Recalculate, where we scroll by the remaining scroll_position if
  12644. we're hiding a scrollbar. The 2*$5 reward in the comment is
  12645. serious.
  12646. 2006-08-24 Jackson Harper <[email protected]>
  12647. * MdiClient.cs:
  12648. * MdiWindowManager.cs: If the form is made a non-mdi window we
  12649. need to remove the form closed event so that closing forms works
  12650. correctly.
  12651. 2006-08-24 Jackson Harper <[email protected]>
  12652. * Control.cs: Make IsRecreating internal so that the driver can
  12653. check it
  12654. - Temporarily remove the Hide when controls are removed, its
  12655. making a whole bunch of things not work because visibility isn't
  12656. getting reset elsewhere correctly
  12657. * Form.cs: Need to do a full handle recreation when the mdi parent
  12658. is set.
  12659. * XplatUIX11.cs: If we are recreating handles don't dispose the
  12660. HWNDs. What was happening is the handles were being recreated in
  12661. SendWMDestroyMessages, but then flow continued on in that method
  12662. and destroyed the new handles.
  12663. 2006-08-23 Jackson Harper <[email protected]>
  12664. * Form.cs: MdiClient is always at the back of the bus
  12665. * Control.cs: When the order of items in the collection is changed
  12666. we need to reset the all_controls array
  12667. - do the same sorta setup thats done when adding a control when a
  12668. control is set on the collection.
  12669. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12670. * TextBoxBase.cs (get_Text): Return an empty array if our document
  12671. is empty (fixes #79052)
  12672. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12673. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  12674. on WM_SYSCHAR messages (fixes #79053)
  12675. 2006-08-23 Chris Toshok <[email protected]>
  12676. * DataGrid.cs: fix flickering when scrolling vertically.
  12677. 2006-08-23 Chris Toshok <[email protected]>
  12678. * DataGrid.cs (EndEdit): only invalidate the row header when we
  12679. need to.
  12680. 2006-08-23 Chris Toshok <[email protected]>
  12681. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  12682. methods. fixes the flicker when scrolling around.
  12683. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12684. * FileDialog.cs: Making sure the control is created before we get a
  12685. chance to use it with BeginInvoke (Fixes #79096)
  12686. 2006-08-23 Chris Toshok <[email protected]>
  12687. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  12688. width to use when painting the rows.
  12689. 2006-08-23 Peter Dennis Bartok <[email protected]>
  12690. * TextBoxBase.cs:
  12691. - Throw ArgumentException if a negative value is passed to SelectionLength
  12692. - Update the selection end if start is moved. end needs to be always
  12693. after start. (Fixes #79095)
  12694. - Track selection length; MS keeps the selection length even if start
  12695. is changed; reset on all other operations affection selection
  12696. 2006-08-22 Jackson Harper <[email protected]>
  12697. * TreeView.cs: Make sure both scrollbars get displayed and sized
  12698. correctly when the other bar is visible.
  12699. - Use the original clip rectangle for checking if the area between
  12700. the two scrollbars is visible, not the viewport adjusted clipping
  12701. rectangle.
  12702. 2006-08-22 Jackson Harper <[email protected]>
  12703. * Binding.cs: We don't use IsBinding because it requires the
  12704. control to be created, which really shouldn't be necessary just to
  12705. set a property on the control.
  12706. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  12707. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  12708. ArgumentNullReferenceException when the argument is null.
  12709. 2006-08-21 Jackson Harper <[email protected]>
  12710. * Timer.cs: Track the thread that the timer is started in (NOT
  12711. CREATED), this way messages for it will only be triggered on its
  12712. queue.
  12713. * XEventQueue.cs: Track the timers here, this makes timers per
  12714. thread, like MS.
  12715. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  12716. 2006-08-19 Chris Toshok <[email protected]>
  12717. * XplatUIX11.cs: after further communication with pdb, we get the
  12718. best of both worlds. SetZOrder working for un-Mapped windows, and
  12719. no X errors for un-mapped windows.
  12720. 2006-08-19 Chris Toshok <[email protected]>
  12721. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  12722. as it was causing pdn toolbars to not have the correct stacking.
  12723. 2006-08-18 Mike Kestner <[email protected]>
  12724. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  12725. calculation. Not sure why control should ever be setting a negative
  12726. width though. Fixes #78931.
  12727. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  12728. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  12729. null items in ObjectCollection class.
  12730. * ListBox.cs.: Likewise.
  12731. 2006-08-18 Atsushi Enomoto <[email protected]>
  12732. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  12733. as the base method in ThemeWin32Classic should work fine.
  12734. Fixed bug #78607.
  12735. 2006-08-18 Jackson Harper <[email protected]>
  12736. * Binding.cs: When validating if the value entered doesn't convert
  12737. properly reset to the old value.
  12738. * RadioButton.cs: Don't fire click when we get focus.
  12739. 2006-08-18 Jackson Harper <[email protected]>
  12740. * FileDialog.cs: Paint the selection on the directory combobox the
  12741. same way as on MS.
  12742. 2006-08-17 Jackson Harper <[email protected]>
  12743. * ErrorProvider.cs: Don't allow the error control to be selected.
  12744. * Control.cs: Don't send the SetFocus messages, the control
  12745. activation will do this, and if we do it blindly here validation
  12746. does not work.
  12747. 2006-08-17 Jackson Harper <[email protected]>
  12748. * Control.cs:
  12749. * ContainerControl.cs: Make validation events fire in the correct
  12750. order. TODO: For some reason the first validation event is not
  12751. getting fired.
  12752. 2006-08-17 Mike Kestner <[email protected]>
  12753. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  12754. 2006-08-17 Mike Kestner <[email protected]>
  12755. * ComboBox.cs : implement scroll wheel support for popped-down
  12756. state. Fixes #78945.
  12757. 2006-08-17 Jackson Harper <[email protected]>
  12758. * TreeView.cs: Specify treeview actions (old patch that didn't get
  12759. committed for some reason).
  12760. - Don't let the mouse wheel scroll us too far. Just want to make
  12761. the bottom node visible, not scroll it all the ways to the top.
  12762. 2006-08-17 Jackson Harper <[email protected]>
  12763. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  12764. 2006-08-17 Mike Kestner <[email protected]>
  12765. * ComboBox.cs : don't do mouseover selection in simple mode.
  12766. 2006-08-16 Jackson Harper <[email protected]>
  12767. * Form.cs: Fire the closing events for all the mdi child windows
  12768. when a window is closed. If the cancel args are set to true, the
  12769. main window still gets the event fired, but it doesn't not close.
  12770. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  12771. handler, instead of when the button is clicked, so cancelling the
  12772. close works correctly.
  12773. * ComboBox.cs: Send the mouse down to the scrollbar.
  12774. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  12775. * ListBox.cs: When passing 'null' to SelectedItem,
  12776. set SelectedIndex to -1, to unselect items. This is the
  12777. observed behaviour in .Net.
  12778. 2006-08-16 Peter Dennis Bartok <[email protected]>
  12779. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  12780. MS flags saying there won't be any. (fixes #78800)
  12781. * Control.cs (HandleClick): Made virtual
  12782. 2006-08-16 Atsushi Enomoto <[email protected]>
  12783. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  12784. cultures. Fixed bug #78399.
  12785. 2006-08-16 Jackson Harper <[email protected]>
  12786. * Form.cs: Use the MdiClients MdiChildren property to access
  12787. MdiChildren instead of creating the array from the child controls.
  12788. * MdiClient.cs: Maintain a separate array of the mdi children, so
  12789. that insertion order is maintained when the Z-order is changed.
  12790. 2006-08-16 Mike Kestner <[email protected]>
  12791. * ListView.cs : add an ItemComparer and default to it for sorting.
  12792. Fixes #79076, but sorting needs a complete overhaul to be compat with
  12793. MS.
  12794. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12795. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  12796. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12797. * Hwnd.cs (Mapped): Properly traverse the tree
  12798. 2006-08-15 Chris Toshok <[email protected]>
  12799. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  12800. pass manager.Current.GetType() to ParseData. It has to be the
  12801. property type. So, hold off doing the ParseData until we're in
  12802. SetPropertyValue where we know the type. This fixes the crash in
  12803. #78821 but the textbox is still empty.
  12804. 2006-08-15 Chris Toshok <[email protected]>
  12805. * DataGrid.cs:
  12806. - when we're scrolling, only call Edit() again if the
  12807. current cell is still unobscured. Fixes bug #78927.
  12808. - when handling mousedown on a cell, ensure the cell is visible
  12809. before calling Edit.
  12810. - remove the properties from DataGridRow, and remove the
  12811. DataGridParentRow class altogether.
  12812. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12813. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  12814. fire OnTextChanged by ourselves. There's no point calling base,
  12815. we don't set the base value anywhere else. Fixes #78773.
  12816. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  12817. * ListBox.cs: Call CollectionChanged when modifying
  12818. an item from Items indexer, to update the actual items
  12819. in the list box.
  12820. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  12821. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  12822. to match .Net behaviour.
  12823. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12824. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  12825. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12826. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  12827. 2006-08-15 Peter Dennis Bartok <[email protected]>
  12828. * MessageBox.cs: Prevent potential NRE exception.
  12829. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  12830. 2006-08-14 Peter Dennis Bartok <[email protected]>
  12831. * MessageBox.cs: Calculate the owner of a messagebox, also make
  12832. it topmost. Fixes #78753
  12833. 2006-08-14 Chris Toshok <[email protected]>
  12834. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  12835. programmatically move windows. first, set the PPosition hint as
  12836. well as the USPosition hint. Second include some code from pdb
  12837. that sets the window type to NORMAL when we set the transient for
  12838. hint. This is because, in the absence of a window type, metacity
  12839. thinks any window with TransientFor set is a dialog, and refuses
  12840. to let us move it programmatically. fascists.
  12841. 2006-08-14 Peter Dennis Bartok <[email protected]>
  12842. * XplatUIX11.cs: When setting normal hints, take into consideration
  12843. an different hints previously set so we don't delete them (fixes #78866)
  12844. 2006-08-12 Chris Toshok <[email protected]>
  12845. * ToolBarButton.cs: make Layout return a boolean, if something to
  12846. do with the button's layout changed.
  12847. * ToolBar.cs:
  12848. - add another parameter to Redraw, @force, which all existing
  12849. calls set to true.
  12850. - make the Layout function return a boolean which is true if the
  12851. layout has actually changed. Redraw now uses this (and @force)
  12852. to determine when to invalidate. At present the only place
  12853. where @force can be false is the call from OnResize, when
  12854. background_image == null. So, resizing a toolbar when the
  12855. layout doesn't change results in no drawing.
  12856. 2006-08-12 Chris Toshok <[email protected]>
  12857. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  12858. the VScrollBar and HScrollbar reversed. oops.
  12859. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  12860. scrollbars. we were assigning them twice (once in
  12861. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  12862. therefore causing two scrollbar resizes (and redraws?) to happen
  12863. per grid resize.
  12864. 2006-08-12 Chris Toshok <[email protected]>
  12865. * ToolBarButton.cs: redraw the entire button if the theme tells us
  12866. to.
  12867. * Theme.cs: add ToolBarInvalidateEntireButton.
  12868. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  12869. buttons, just the border.
  12870. * ThemeNice.cs: redraw the entire toolbar button since we need to
  12871. draw the highlight image.
  12872. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  12873. we need to redraw the entire button (not just the border).
  12874. 2006-08-11 Peter Dennis Bartok <[email protected]>
  12875. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  12876. for vertical bars. Fixes the mismatches shown by #78513
  12877. 2006-08-11 Alexander Olk <[email protected]>
  12878. * FileDialog.cs: If a saved/remembered path doesn't exist
  12879. anymore, fall back to "Desktop".
  12880. 2006-08-11 Peter Dennis Bartok <[email protected]>
  12881. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  12882. parent. It's apparently legal to not have one
  12883. * XplatUIX11.cs:
  12884. - SetZOrder: Don't try to set Z-Order on an unmapped window
  12885. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  12886. it unless the coordinates are negative
  12887. 2006-08-10 Mike Kestner <[email protected]>
  12888. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  12889. when setting to null per msdn docs. Fixes #78854.
  12890. 2006-08-10 Chris Toshok <[email protected]>
  12891. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  12892. flickering by setting a clip rectangle on the Graphics when we
  12893. need to redraw just a particular menuitem. Also, rename "OnClick"
  12894. to "OnMouseDown" to reflect what it actually is.
  12895. * Form.cs: track the OnMouseDown change.
  12896. 2006-08-10 Peter Dennis Bartok <[email protected]>
  12897. * CommonDialog.cs: Properly inherit the CreateParams from the form
  12898. and only change what we need. Fixes #78865
  12899. 2006-08-10 Chris Toshok <[email protected]>
  12900. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  12901. flickering in flat mode (and most of the flickering in general) by
  12902. only invalidating the button border (and not the entire rectangle)
  12903. when the state changes. A couple of cases still flicker:
  12904. ToggleButtons, and the dropdown arrow case when the user mouse
  12905. ups.
  12906. 2006-08-10 Alexander Olk <[email protected]>
  12907. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  12908. for german keyboards. Numlock state shouldn't affect the behaviour
  12909. of the Del key. Fixes bug #78291.
  12910. 2006-08-10 Chris Toshok <[email protected]>
  12911. * ListControl.cs: remove the items.Clear line from BindDataItems,
  12912. as this is the first thing done by both subclasses in their
  12913. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  12914. passed -1, refresh the list. This gets databinding working when
  12915. the datasource is set on the list before the datasource is
  12916. populated (as in wf-apps/ReportBuilder.)
  12917. * ComboBox.cs: remove the argument to BindDataItems. This call
  12918. should really go away, and be initiated by the ListControl code.
  12919. * ListBox.cs: same.
  12920. 2006-08-09 Peter Dennis Bartok <[email protected]>
  12921. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  12922. if no data is in the document when the control is displayed
  12923. 2006-08-09 Peter Dennis Bartok <[email protected]>
  12924. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  12925. yes (fixes #78806)
  12926. * TextControl.cs:
  12927. - PositionCaret: Allow positioning of caret but don't call methods
  12928. requiring a handle if the window isn't created yet
  12929. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  12930. - owner_HandleCreated: Don't position the caret, just update it's
  12931. location. User might have already set a different position
  12932. 2006-08-09 Peter Dennis Bartok <[email protected]>
  12933. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  12934. windows. Screws up the returned coordinates for child windows.
  12935. Fixes #78825. I'm hoping this doesn't break something, since the
  12936. code was explicitly put in 8 months ago, but no bug was attached.
  12937. Menus still seem to work properly.
  12938. 2006-08-08 Chris Toshok <[email protected]>
  12939. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  12940. supposed to do - delay data binding until the EndInit call. Also,
  12941. make the table style collection's CollectionChangeAction.Refresh
  12942. work properly.
  12943. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  12944. (with action = Refresh) when a consituent table's MappingName is
  12945. changed.
  12946. 2006-08-08 Chris Toshok <[email protected]>
  12947. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  12948. Invalidate, since changing the text can change the size of the all
  12949. toolbar buttons.
  12950. 2006-08-08 Peter Dennis Bartok <[email protected]>
  12951. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  12952. we don't have it yet
  12953. 2006-08-08 Chris Toshok <[email protected]>
  12954. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  12955. dialog, as this causes X errors later on, since we actually
  12956. destroy the window. Instead, .Hide() it.
  12957. 2006-08-08 Peter Dennis Bartok <[email protected]>
  12958. * ComboBox.cs: Added focus reflection for popup window
  12959. * XplatUIX11.cs:
  12960. - Removed transient setting for non-app windows for now, not sure it
  12961. was needed
  12962. - Fixed logic checking if we have captions when deciding
  12963. override_redirect, WS_CAPTION is two bits and a 0 check was not
  12964. sufficient
  12965. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  12966. complicated
  12967. * Form.cs:
  12968. - AddOwnedForm: Don't just add the form to the list, call the property
  12969. to ensure the driver is informed about the ownership as well
  12970. - CreateHandle: Set the TopMost status in the driver if we have an owner
  12971. * XplatUI.cs: Fixed debug statement
  12972. 2006-08-08 Jonathan Pobst <[email protected]>
  12973. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  12974. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  12975. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  12976. TrackBarRenderer.cs: Make constructor private.
  12977. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  12978. * ProfessionalColorTable.cs: Make properties virtual.
  12979. 2006-08-06 Duncan Mak <[email protected]>
  12980. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  12981. is not changing.
  12982. 2006-08-04 Jonathan Pobst <[email protected]>
  12983. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  12984. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  12985. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  12986. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  12987. Initial import of new 2.0 classes.
  12988. 2006-08-04 Jonathan Pobst <[email protected]>
  12989. * Application.cs: Add 2.0 VisualStyles properties.
  12990. 2006-08-04 Jonathan Pobst <[email protected]>
  12991. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  12992. XplatUIX11.cs: Create property to allow access to existing private
  12993. variable "themes_enabled"
  12994. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  12995. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  12996. file size, as otherwise our class libraries fail using windows. Fixes
  12997. bug #78759.
  12998. 2006-08-04 Jackson Harper <[email protected]>
  12999. * Form.cs:
  13000. * XplatUIX11.cs: Move the toolwindow window manager creation into
  13001. the X11 driver, this way on win32 we can let windows create/handle
  13002. the toolwindows.
  13003. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  13004. * PrintDialog.cs: Remove some redundant checks, add some others,
  13005. clean some code, and move the focus to the text boxes when the
  13006. values are incorrect.
  13007. 2006-08-04 Alexander Olk <[email protected]>
  13008. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  13009. 2006-08-03 Alexander Olk <[email protected]>
  13010. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  13011. handled correctly. Fixes bug #79001.
  13012. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  13013. * PrintDialog.cs: The "Copies" numeric up down must have
  13014. set the Minimum property to 1; only if the value is bigger
  13015. than 1, activate "Collate" check box. This is the behaviour of .Net.
  13016. Also modify the Document elements only if it is not null.
  13017. 2006-08-03 Jackson Harper <[email protected]>
  13018. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  13019. length. (We have a larger array then actual node count).
  13020. 2006-08-03 Jackson Harper <[email protected]>
  13021. * ComboBox.cs: Don't show selection by default.
  13022. - The SelectAll isn't needed here, since the focus code should do
  13023. that
  13024. - DDL style lists to manual selection drawing, so when they
  13025. get/lose focus they have to invalidate.
  13026. 2006-08-03 Peter Dennis Bartok <[email protected]>
  13027. * TextBoxBase.cs: Don't always show all selections by default.
  13028. 2006-08-03 Jonathan Pobst <[email protected]>
  13029. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  13030. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  13031. Fixed various typos.
  13032. 2006-08-03 Alexander Olk <[email protected]>
  13033. * Control.cs: Removing the controls in a ControlCollection with
  13034. Clear now hides the controls as expected. Fixes bug #78804.
  13035. 2006-08-03 Jackson Harper <[email protected]>
  13036. * Control.cs: Revert previous focus patch, it breaks reflector.
  13037. 2006-08-03 Jackson Harper <[email protected]>
  13038. * ComboBox.cs: Cleanup selection and focus with the combobox.
  13039. This also eliminates some duplicated keyboard code, since now
  13040. everything is handled by the main class.
  13041. - Make list selection work on mouse up instead of down, to match
  13042. MS.
  13043. 2006-08-02 Jackson Harper <[email protected]>
  13044. * Control.cs: Setting focus needs to go through the whole
  13045. selection mechanism.
  13046. 2006-08-02 Chris Toshok <[email protected]>
  13047. * PrintPreviewDialog.cs: change MinimumSize to use
  13048. base.MinimumSize so it works.
  13049. 2006-08-02 Peter Dennis Bartok <[email protected]>
  13050. * TextControl.cs:
  13051. - UpdateCaret: Added sanity check in case caret isn't defined yet
  13052. - Line.Delete: Now updating selection and caret markers if we're
  13053. transfering a node (Properly fixes #78323)
  13054. - SetSelectionEnd: Added sanity check
  13055. * TextBoxBase.cs: Removed broken attempt to fix #78323
  13056. 2006-08-01 Chris Toshok <[email protected]>
  13057. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  13058. Close() call is handled in Form, not here.
  13059. 2006-08-01 Chris Toshok <[email protected]>
  13060. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  13061. layout/rendering.
  13062. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  13063. for sizes < 100% zoom. The code now aggressively attempts to keep
  13064. from calling document.Print (), and tries not to use the scaling
  13065. g.DrawImage whenever possible (it still does if you scale to >
  13066. 100%, since usually that involves huge images).
  13067. * PrintPreviewControl.cs: hook up the close button.
  13068. 2006-08-01 Jonathan Pobst <[email protected]>
  13069. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  13070. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  13071. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  13072. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  13073. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  13074. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  13075. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  13076. Removed [Serializable] for 2.0 Event Handlers.
  13077. 2006-07-31 Jackson Harper <[email protected]>
  13078. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  13079. * TextControl.cs: Uncomment out the body of this method.
  13080. 2006-07-31 Alexander Olk <[email protected]>
  13081. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  13082. standard cursors.
  13083. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13084. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  13085. that embed TextBox and need selections visible even if textbox is not
  13086. focused to enforce that behaviour.
  13087. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  13088. selection drawing
  13089. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13090. * TextControl.cs:
  13091. - Added new SetSelectionStart/SetSelectionEnd overloads
  13092. - Fixed viewport width assignment to be accurate
  13093. - Adjusted alignment line shift calculations to allow cursor on right
  13094. aligned lines to be always visible at the right border (like MS)
  13095. * TextBoxBase.cs:
  13096. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  13097. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  13098. - CalculateScrollBars: Use ViewPort size instead of window size, to
  13099. properly consider space occupied by the border and scrollbars
  13100. (Fixes #78661)
  13101. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  13102. calculations; no longer leaves artifacts
  13103. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  13104. calculation bugs (Still missing right/center align calculations)
  13105. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13106. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  13107. use of both scroll rect and clip rect, as they do the same.
  13108. 2006-07-31 Peter Dennis Bartok <[email protected]>
  13109. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  13110. in the event handler (fixes #78912)
  13111. 2006-07-31 Chris Toshok <[email protected]>
  13112. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  13113. grid.ListManager.Count, since grid.ListManager might be null.
  13114. This of course begs the question "why are we drawing rows for a
  13115. grid with no list manager (and therefor no rows)?" Fixes the
  13116. crash in bug #78929.
  13117. 2006-07-31 Chris Toshok <[email protected]>
  13118. * RelatedPropertyManager.cs: Don't always chain up to the parent
  13119. ctor. instead, call SetDataSource if the parent's position is !=
  13120. -1. Fixes the crash in #78822.
  13121. 2006-07-31 Chris Toshok <[email protected]>
  13122. * DataGrid.cs (get_ListManager): use field instead of property
  13123. accessors for datasource and datamember.
  13124. (RowsCount): make internal again.
  13125. (OnMouseDown): end edits before resizing columns/rows.
  13126. (OnMouseUp): restart edits after resizing columns/rows.
  13127. 2006-07-30 Peter Dennis Bartok <[email protected]>
  13128. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  13129. This fixes the situation where the last set cursor is displayed
  13130. whenever the mouse is over scrollbars.
  13131. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  13132. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  13133. Document properties, as well as initial values.
  13134. 2006-07-29 Peter Dennis Bartok <[email protected]>
  13135. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  13136. and ClientEdge results in a 3-pixel border, which is
  13137. wrong.
  13138. 2006-07-28 Jackson Harper <[email protected]>
  13139. * TreeNodeCollection.cs: Fix the clear method.
  13140. - Fix the Shrink also
  13141. 2006-07-27 Jackson Harper <[email protected]>
  13142. * TreeView.cs: Make sure the visible order is computed when we
  13143. attempt to size the scrollbars (for trees that mess with the
  13144. scrolling when they shouldn't.
  13145. - Make sure to give the scrollbars valid values.
  13146. 2006-07-26 Peter Dennis Bartok <[email protected]>
  13147. * XplatUIX11.cs: Move motion compression code to where it
  13148. has less performance impact
  13149. 2006-07-26 Jackson Harper <[email protected]>
  13150. * UpDownBase.cs: When the control is selected make the child
  13151. controls non selectable, so that a click on them won't do a
  13152. focus/unfocus cycle.
  13153. - Don't give focus to the text box when the spinner is selected.
  13154. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  13155. 2006-07-26 Chris Toshok <[email protected]>
  13156. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  13157. satisfied with this solution. If the bitmaps are small, we should
  13158. just cache them in the PrintPreviewDialog and draw them here.
  13159. Also, the layout is broken for the 2-up and 3-up cases.
  13160. * Theme.cs: add PrintPReviewControlPaint.
  13161. * PrintPreviewDialog.cs: first pass implementation.
  13162. * PrintPreviewControl.cs: first pass implementation. No
  13163. scrollbars yet.
  13164. * PrintDialog.cs: only validate fields if that particular portion
  13165. of the UI is enabled. Also, set the document's controller to a
  13166. PrintControllerWithStatusDialog wrapping the document's print
  13167. controller.
  13168. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  13169. bring up a SaveFileDialog (i hope we don't want to match the
  13170. behavior of the crappy windows file entry) and set the
  13171. PrinterSettings.PrintFileName accordingly.
  13172. 2006-07-26 Jackson Harper <[email protected]>
  13173. * ContainerControl.cs: Add a field that disables auto selecting
  13174. the next control in a container when the container is activated.
  13175. * UpDownBase.cs: Don't select the text box when the up down is
  13176. selected.
  13177. 2006-07-26 Peter Dennis Bartok <[email protected]>
  13178. * XEventQueue.cs: Added methods for peeking (used for compression
  13179. of successive events)
  13180. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  13181. mouse move events (fixes #78732)
  13182. 2006-07-25 Jackson Harper <[email protected]>
  13183. * UpDownBase.cs: Use an internal class for the textbox so that we
  13184. can control focus. the updown control should always have focus,
  13185. if either the text area or the buttons are clicked.
  13186. - Send the key messages to the textbox, since it never actually
  13187. has focus
  13188. - Activate and decativate the textbox caret.
  13189. 2006-07-24 Jackson Harper <[email protected]>
  13190. * Control.cs: Use the directed select when selecting a control,
  13191. this way the container controls override will get called and the
  13192. whole ActiveControl chain will get triggered. TODO: probably need
  13193. to make sure this gets done everywhere instead of the old
  13194. Select(Control).
  13195. * ContainerControl.cs: Implement the directed Select method to
  13196. find and activate the correct child control.
  13197. 2006-07-22 Mike Kestner <[email protected]>
  13198. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  13199. menu handling code so that clicks without a grab work too.
  13200. [Fixes #78914]
  13201. 2006-07-22 Alexander Olk <[email protected]>
  13202. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  13203. Added some small optimizations.
  13204. 2006-07-21 Matt Hargett <[email protected]>
  13205. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  13206. 2006-07-21 Peter Dennis Bartok <[email protected]>
  13207. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  13208. tests pass and match MS in some strange border cases.
  13209. 2006-07-21 Chris Toshok <[email protected]>
  13210. * ThemeWin32Classic.cs: handle drawing of the relation links and
  13211. parent row buttons.
  13212. * Theme.cs: change args to DataGridPaintParentRow.
  13213. * DataGrid.cs: Don't use controls for the relation links and
  13214. parent buttons, so we have to handle all their interactions in
  13215. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  13216. when we're navigating through child tables, so we can reinstate
  13217. selection, expanded state, current cell, etc.
  13218. 2006-07-20 Chris Toshok <[email protected]>
  13219. * ToolBar.cs: When we redraw a button, for whatever reason,
  13220. there's no reason to redraw the entire toolbar. Also, don't call
  13221. Control.Refresh from within Redraw, as it's much heavier than
  13222. Invalidate (which is really what we want).
  13223. 2006-07-20 Chris Toshok <[email protected]>
  13224. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  13225. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  13226. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  13227. traces from within a debug IBindingList datasource
  13228. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  13229. to work in a similar fashion.
  13230. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  13231. * ListBox.cs: Don't call Sort () when setting
  13232. the Sorted property to false (avoid an unnecessary sort).
  13233. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  13234. * ListControl.cs: DataSource should throw an ArgumentException
  13235. instead of a normal exception when the argument is not of the
  13236. correct type.
  13237. 2006-07-20 Mike Kestner <[email protected]>
  13238. * Control.cs: add InternalPreProcessMessage to allow us to steal
  13239. key events before MWF gets its paws on them. Adapted from a
  13240. suggestion by eno.
  13241. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  13242. up/down/left/right navigation. Override the new internal control
  13243. method to steal the events since they never make it to WndProc.
  13244. * ToolBarButton.cs: don't worry about pushed when setting hilight
  13245. since the drawing code prefers pushed to hilight. Invalidate on
  13246. Hilight changes. Fixes #78547 and #78525.
  13247. 2006-07-20 Peter Dennis Bartok <[email protected]>
  13248. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  13249. the canvas size. Fixes #78868
  13250. 2006-07-20 Peter Dennis Bartok <[email protected]>
  13251. * Splitter.cs: Track requested split position until first layout
  13252. is performed. Fixes #78871
  13253. 2006-07-20 Peter Dennis Bartok <[email protected]>
  13254. * Application.cs: Removed code that forces 1.x for the version
  13255. number if the version started with 0. Not sure why that code was
  13256. there and I couldn't find any bugs that indicated we needed it.
  13257. Fixes #78869
  13258. 2006-07-20 Alexander Olk <[email protected]>
  13259. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  13260. ResetDefaults(), just write some output to the console until it's
  13261. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  13262. 2006-07-19 Jonathan Chambers <[email protected]>
  13263. * PropertyGridView.cs: set StartPosition of drop down forms
  13264. so they appear in correct initial spot. Fixes #78190.
  13265. 2006-07-19 Mike Kestner <[email protected]>
  13266. * ThemeWin32Classic.cs: use parent background color when drawing
  13267. flat toolbars. Restructure the conditionals to make sure non-flat
  13268. non-Divider toolbars are filled too. Fixes #78837.
  13269. 2006-07-19 Mike Kestner <[email protected]>
  13270. * ListBox.cs: Sort on collection changes even if the handle
  13271. isn't created yet. Fixes #78813.
  13272. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  13273. * ListControl.cs: DisplayMember should never be null,
  13274. and now we assign String.Empty when null is passed to it (this
  13275. is the .Net way).
  13276. 2006-07-17 Mike Kestner <[email protected]>
  13277. * ListViewItem.cs: restructure Font and subitem Font handling
  13278. to hold a specific font and refer back to owner on null.
  13279. Fixes #78761.
  13280. 2006-07-17 Mike Kestner <[email protected]>
  13281. * ToolBar.cs: bandaid for side-effect of previous patch which was
  13282. discarding explicit heights for non-AutoSize toolbars. Need to
  13283. extend my format tester to deal with AutoSize=false. Fixes #78864.
  13284. 2006-07-15 Jackson Harper <[email protected]>
  13285. * LabelEditTextBox.cs:
  13286. * TreeView.cs: Use a new LabelEdit class for node editing, this
  13287. class automatically 'closes' itself when it gets the enter key or
  13288. loses focus.
  13289. - Use the client rectangle when setting the trees scrollbars, so
  13290. border style is taken into account.
  13291. 2006-07-14 Jackson Harper <[email protected]>
  13292. * TreeNode.cs:
  13293. * TreeView.cs: Make the editing work similar to MSs, firing the
  13294. events correctly and ending edits correctly.
  13295. 2006-07-14 Mike Kestner <[email protected]>
  13296. * ToolBarButton.cs:
  13297. * ToolBar.cs: layout restructuring and redraw enhancements to support
  13298. formatting changes gracefully, like setting TextAlign, ImageList,
  13299. ButtonSize, and Appearance. Handles explicit button sizing quirks
  13300. of the MS controls. Things like flat toolbars ignoring button size
  13301. but becoming constant sized at the largest button's size. Normal
  13302. toolbars with an image set cannot be shrunk smaller than the image,
  13303. but text can be clipped/ignored.
  13304. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  13305. is zero. Seems like DrawString should be smart enough to not put
  13306. anything on screen though. Also trim labels and ellipsize at the char
  13307. boundary, not word.
  13308. Fixes #78711 and #78483.
  13309. 2006-07-14 Alexander Olk <[email protected]>
  13310. * FolderBrowserDialog.cs: Disable "New Folder" button and
  13311. "New Folder" contextmenu menuitem if a folder like "My Computer"
  13312. is selected.
  13313. 2006-07-14 Alexander Olk <[email protected]>
  13314. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  13315. * FolderBrowserDialog.cs:
  13316. - Use MWFConfig to store and read size and position settings
  13317. - Added code to create a new folder (button or context menu).
  13318. Use TreeView labeledit to change the name of the new folder.
  13319. 2006-07-14 Jackson Harper <[email protected]>
  13320. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  13321. when the tree is scrolled we end editing.
  13322. 2006-07-14 Alexander Olk <[email protected]>
  13323. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  13324. Down arrows
  13325. 2006-07-14 Jonathan Pobst <[email protected]>
  13326. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  13327. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  13328. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  13329. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  13330. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  13331. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  13332. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  13333. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  13334. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  13335. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  13336. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  13337. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  13338. ListViewItemSelectionChangedEventHandler.cs,
  13339. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  13340. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  13341. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  13342. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  13343. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  13344. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  13345. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  13346. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  13347. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  13348. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  13349. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  13350. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  13351. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  13352. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  13353. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  13354. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  13355. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  13356. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  13357. WebBrowserNavigatingEventHandler.cs,
  13358. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  13359. 2006-07-14 Jonathan Pobst <[email protected]>
  13360. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  13361. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  13362. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  13363. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  13364. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  13365. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  13366. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  13367. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  13368. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  13369. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  13370. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  13371. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  13372. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  13373. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  13374. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  13375. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  13376. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  13377. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  13378. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  13379. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  13380. ListViewItemStates.cs, MaskFormat.cs: Added
  13381. 2006-07-13 Jonathan Chambers <[email protected]>
  13382. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  13383. Patch from eno for bug 78558.
  13384. 2006-07-13 Jackson Harper <[email protected]>
  13385. * TreeView.cs: When an edit is finished make sure that the
  13386. selected node is visible.
  13387. - When setting the top/bottom use the scrollbars is_visible, so
  13388. everything will be set correctly even if the tree isn't visible
  13389. yet.
  13390. 2006-07-13 Jackson Harper <[email protected]>
  13391. * ComboBox.cs: Revert the item->index part of my previous patch.
  13392. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  13393. the edit box has lost focus (duh).
  13394. - Just make the edit box not visible when we get return, that will
  13395. take the focus, which will call EndEdit
  13396. * TreeNode.cs When we start editing, notify the treeview.
  13397. 2006-07-12 Jackson Harper <[email protected]>
  13398. * ComboBox.cs: Clear out old items before setting the item list.
  13399. This prevents databound controls from having their items added
  13400. twice.
  13401. - Switch the combobox to use indices whereever possible instead of
  13402. using Item's. This allows usto navigate through lists that have
  13403. more then one item with the same string value (ie a, b, b, a).
  13404. - Scroll the listboxes scrollbar when a non visible item is
  13405. highlighted
  13406. - Allow keypress to cycle through all the possible values. For
  13407. example if you have b1, b2, b3 and hold down the B key all the
  13408. values will be cycled through.
  13409. 2006-07-12 Jackson Harper <[email protected]>
  13410. * TextBoxBase.cs:
  13411. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  13412. this using the internal methods.
  13413. * Control.cs: Add OnGotFocusInternal. A new method that allows
  13414. controls to "override" OnGotFocus and change focus behavior if
  13415. needed.
  13416. - Same thing for LostFocus
  13417. * ComboBox.cs: Pass off focus to the text control properly.
  13418. 2006-07-12 Alexander Olk <[email protected]>
  13419. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  13420. * FolderBrowserDialog.cs: Almost a complete rewrite.
  13421. - Better support for Environment.Specialfolders
  13422. - Added support for MWFVFS
  13423. - Made setting SelectedPath work
  13424. 2006-07-12 Jackson Harper <[email protected]>
  13425. * Control.cs: Optimze getting all the controls.
  13426. 2006-07-11 Jackson Harper <[email protected]>
  13427. * ContainerControl.cs: Override SETFOCUS in the container control,
  13428. so that it is not selected on mouse click.
  13429. 2006-07-11 Peter Dennis Bartok <[email protected]>
  13430. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  13431. Hopefully we will have a better way once all of focus is complete.
  13432. 2006-07-11 Peter Dennis Bartok <[email protected]>
  13433. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  13434. a compile error with csc.
  13435. 2006-07-11 Jackson Harper <[email protected]>
  13436. * Control.cs: When hiding a control only select the next control
  13437. if the current control was focused.
  13438. - Don't handle enter/leave when setting/killing focus, this is
  13439. done by the container control.
  13440. - Remove is_selected, it's not needed anymore.
  13441. - Add utility methods for selecting a child control, and for
  13442. firing the Enter/Leave events.
  13443. * ContainerControl.cs: When a control is activated fire the
  13444. enter/leave events.
  13445. - Don't wrap when processing the tab key, so that focus can be
  13446. moved outside of the container.
  13447. - Use the correct active control
  13448. 2006-07-11 Jackson Harper <[email protected]>
  13449. * ComboBox.cs: Remove some debug code that was blinding me.
  13450. * UpDownBase.cs: These controls actually aren't implicit, they are
  13451. visible to the user.
  13452. 2006-07-10 Chris Toshok <[email protected]>
  13453. * DataGrid.cs: move back to the is_adding boolean field. god i
  13454. hate this is_editing/is_adding/is_changing stuff.
  13455. 2006-07-10 Chris Toshok <[email protected]>
  13456. * DataGridTableStyle.cs: just check if the property type is bool.
  13457. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  13458. Don't use CanRenderType.
  13459. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  13460. if our text == NullText. Remove CanRenderType.
  13461. * DataGridBoolColumn.cs: nuke CanRenderType.
  13462. * DataGrid.cs: reenable some code to end the current edit inside
  13463. of set_CurrentCell. This fixes the other 1.1.16 regression.
  13464. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  13465. Also, remove the visible_row_count arg from CalcRowHeaders, since
  13466. we don't need to worry about the actual height of the area.
  13467. 2006-07-10 Chris Toshok <[email protected]>
  13468. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  13469. mode, just return.
  13470. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  13471. the real sense of the IsInEditOrNavigateMode property (true =
  13472. navigate, false = edit). Also, update OnKeyPress to reflect this.
  13473. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  13474. column style exists, we still need to set its property descriptor
  13475. to match up with our list manager.
  13476. 2006-07-10 Chris Toshok <[email protected]>
  13477. * ThemeWin32Classic.cs: implement the new row/header painting
  13478. approach. The parent row painting will likely go away and
  13479. replaced with label controls, but the rest seems to work ok (and
  13480. efficiently).
  13481. * Theme.cs: change the way we draw datagrid rows. we don't draw
  13482. the row headers as a block now. Instead we draw them in the
  13483. normal draw-row loop. Add some calls for drawing parent rows and
  13484. relation rows.
  13485. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  13486. a default table style. Set the defaults from ThemeEngine.Current,
  13487. not SystemColors. Fix lots of misc issues with property setters.
  13488. * DataGrid.cs: move loads of style information out of this class
  13489. as it's being duplicated with DataGridTableStyle. keep track of a
  13490. special DataGridTableStyle for the properties we used to mirror
  13491. here. Switch all the style properties to access this table style
  13492. instead of instance fields of this class. Also add a internal
  13493. class to represent parent rows (more needs to be stored here, like
  13494. the selection state from the parent table, as well as the
  13495. expansion state.) Also, for datasources with relations, do the
  13496. right thing for collapse/expand, and add support for the
  13497. navigation/parent row buttons.
  13498. Lastly, fix the crash in the 1.1.16 build.
  13499. * GridTableStylesCollection.cs: make the explicit interface
  13500. implementations call the class's methods as opposed to duplicating
  13501. them.
  13502. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  13503. 0 so the text doesn't jump around when we move the cursor.
  13504. 2006-07-10 Jackson Harper <[email protected]>
  13505. * TextBoxBase.cs:
  13506. * ListBox.cs: Match MS's ToString (this makes debugging focus
  13507. stuff infinitely easier).
  13508. 2006-07-10 Jackson Harper <[email protected]>
  13509. * Control.cs (SelectNextControl): When checking the control's
  13510. parent use this instead of ctrl.parent so that null can be passed
  13511. to SelectNextControl. (I have unit tests for this).
  13512. - Remove unused var.
  13513. 2006-07-10 Chris Toshok <[email protected]>
  13514. * CurrencyManager.cs: correct one regression, the removal of the
  13515. finalType field. Also, add a MonoTODO on CanAddRows, implement
  13516. Refresh() correctly, and fix some event emission in
  13517. ListChangedHandler.
  13518. 2006-07-07 Alexander Olk <[email protected]>
  13519. * FileDialog.cs: Don't use brackets for new folders if they exist
  13520. under *nix. Instead use -(number of existing folders +1).
  13521. 2006-07-07 Alexander Olk <[email protected]>
  13522. * FileDialog.cs:
  13523. - Fixed really nasty bug #78771
  13524. - Don't block the whole GUI when reading directories with a lot of
  13525. entries. Use an other thread instead and call BeginInvoke to
  13526. update the ListView in MWFFileView
  13527. 2006-07-07 Chris Toshok <[email protected]>
  13528. * Control.cs (Dispose): release any Capture when disposing.
  13529. 2006-07-07 Chris Toshok <[email protected]>
  13530. * LinkLabel.cs (Select): if we chain up to the parent, set
  13531. focused_index to -1 so we'll search for the first available link
  13532. the next time the user tabs into us. Also, if the direction is
  13533. backward and focused_index == -1, start the search from the last
  13534. element.
  13535. 2006-07-07 Chris Toshok <[email protected]>
  13536. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  13537. is beyond the end of the text, don't do anything.
  13538. (CreateLinkPieces): set our ControlStyles.Selectable based on
  13539. whether or not we have any links.
  13540. (Link.Invalidate): use a loop instead of foreach.
  13541. (Link.set_Start): null out owner.sorted_links so it'll be
  13542. recreated by CreateLinkPieces.
  13543. 2006-07-06 Chris Toshok <[email protected]>
  13544. * LinkLabel.cs: revert the SetStyle change.
  13545. 2006-07-06 Chris Toshok <[email protected]>
  13546. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  13547. (OnEnableChanged): s/Refresh/Invalidate
  13548. (OnGotFocus): if we have a focused index already, refocus it (so
  13549. if we mouse out/in to the window it'll focus the right link).
  13550. (OnKeyDown): move the tab handling out of here.
  13551. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  13552. when we lose focus.
  13553. (OnMouseDown): don't Capture here - Control handles it. Also,
  13554. focus the active link.
  13555. (OnMouseUp): don't deal with Capture.
  13556. (OnPaintBackgroundInternal): remove.
  13557. (OnTextAlignChanged): CreateLinkPieces before calling the
  13558. superclass's method.
  13559. (OnTextChanged): call CreateLinkPieces before calling superclass's
  13560. method.
  13561. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  13562. move around.
  13563. (Select): implement this, moving the selection between different
  13564. links, and call parent.SelectNextControl if we don't have another
  13565. link to focus in the given direction.
  13566. (CreateLinkPieces): call Invalidate instead of Refresh.
  13567. 2006-07-06 Chris Toshok <[email protected]>
  13568. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  13569. new LinkLabel internals.
  13570. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  13571. over pieces looking for active/focused/etc links. also, deal with
  13572. runs of text (and links) with embedded \n's in them, and use
  13573. MeasureCharacterRanges instead of MeasureString to figure out the
  13574. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  13575. two-step.
  13576. 2006-07-04 Jackson Harper <[email protected]>
  13577. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  13578. XKB or key auto repeat, do it manually. Without key auto repeat,
  13579. when a key is held down we get key press, key release, key press,
  13580. key release, ... with auto repeat we get key press, key press, key
  13581. press ..., and then a release when the key is actually released.
  13582. 2006-07-03 Jackson Harper <[email protected]>
  13583. * TabControl.cs:
  13584. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  13585. rules, they are always control color regardless of the background
  13586. color.
  13587. 2006-07-02 Alexander Olk <[email protected]>
  13588. * FileDialog.cs: Added internal class MWFConfig.
  13589. Removed Registry support and replaced it with support for the new
  13590. MWFConfig class. See MWFConfig comments for more information.
  13591. 2006-06-30 Alexander Olk <[email protected]>
  13592. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  13593. rectangle. Added some patches from eno from bug #78490 and fixed
  13594. the arrow position for small up and down CPDrawScrollButtons.
  13595. 2006-06-30 Jackson Harper <[email protected]>
  13596. * InternalWindowManager.cs: Remove some debug code.
  13597. * Form.cs: When an MdiParent is set to null, the window is
  13598. "detatched" and becomes a normal window.
  13599. * MdiClient.cs: Don't bring the new child form to the front until
  13600. it is activated (setting it as active does this), this makes the
  13601. previously active forms titlebar get redrawn as inactive.
  13602. 2006-06-29 Peter Dennis Bartok <[email protected]>
  13603. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  13604. with later controls
  13605. 2006-06-29 Mike Kestner <[email protected]>
  13606. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  13607. arrow in keynav state. Fixes #78682.
  13608. 2006-06-28 Atsushi Enomoto <[email protected]>
  13609. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  13610. order (fixes #78393)
  13611. 2006-06-28 Jonathan Pobst <[email protected]>
  13612. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  13613. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  13614. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  13615. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  13616. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  13617. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  13618. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  13619. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  13620. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  13621. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  13622. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  13623. values)
  13624. 2006-06-28 Mike Kestner <[email protected]>
  13625. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  13626. 2006-06-28 Atsushi Enomoto <[email protected]>
  13627. * PropertyGrid.cs,
  13628. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  13629. item lines from other area (It also makes BackColor consistent and
  13630. compatible with .NET). Fixed bug #78564.
  13631. 2006-06-28 Jonathan Chambers <[email protected]>
  13632. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  13633. Patch from Eno for #78555.
  13634. 2006-06-27 Chris Toshok <[email protected]>
  13635. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  13636. * DataGridColumnStyle.cs: same.
  13637. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  13638. * DataGridDrawingLogic.cs: nuke.
  13639. 2006-06-27 Chris Toshok <[email protected]>
  13640. * DataGridTableStyle.cs: clean up the constructors, and build the
  13641. list of child relations for this table. I have no idea if this is
  13642. where we should be doing it (it probably isn't), but since we're
  13643. already iterating over the properties..
  13644. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  13645. struct and array for keeping track of row information, similar to
  13646. what's shown in a hack on
  13647. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  13648. * Theme.cs: be consistent about the naming of DataGrid methods,
  13649. prefering ColumnWidths and RowHeights over columnsWidths and
  13650. RowsHeights.
  13651. * ThemeWin32Classic.cs: same, and also add support for variable
  13652. sized rows (and the +/- expansion icons for related rows).
  13653. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13654. * TextBoxBase.cs: Applied Eno's patch from #78660
  13655. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13656. * Form.cs (ScaleCore): We don't want to scale our form if it's
  13657. state is minimized or maximized, but we still need to scale our
  13658. child windows. Also, added try/finally block to ensure layout
  13659. gets reset (Fixes #78697)
  13660. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13661. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  13662. 2006-06-27 Peter Dennis Bartok <[email protected]>
  13663. * Form.cs: Fixed c+p error and added check to resize form if minimum
  13664. size is bigger than current size (Fixes #78709)
  13665. 2006-06-26 Peter Dennis Bartok <[email protected]>
  13666. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  13667. 2006-06-26 Mike Kestner <[email protected]>
  13668. * ComboBox.cs: only do Keypress handling in the combo when there
  13669. are items in the collection. Fixes #78710.
  13670. 2006-06-26 Chris Toshok <[email protected]>
  13671. * Binding.cs: make this work bi-directionally. also, clear up
  13672. other mixups between Push/Pull Data (e.g. we're supposed to pull
  13673. data when validating).
  13674. * BindingManagerBase.cs: trim some fully qualified collection
  13675. types.
  13676. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  13677. 2006-06-23 Chris Toshok <[email protected]>
  13678. * PropertyManager.cs: It appears (according to the unit tests)
  13679. that PropertyManager doesn't use
  13680. PropertyDescriptor.AddValueChanged to track propery value changes
  13681. in its datasource, but uses the same scheme as Binding, where it
  13682. looks for a <Property>Changed event and binds to it.
  13683. Also, according to the docs, IsSuspended always returns false for
  13684. a property manager with a non-null datasource.
  13685. 2006-06-22 Peter Dennis Bartok <[email protected]>
  13686. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  13687. need to update the actual DialogResult. (Fixes #78613)
  13688. 2006-06-22 Peter Dennis Bartok <[email protected]>
  13689. * Form.cs (ShowDialog): Release any captures before running the
  13690. new message pump (fixes #78680)
  13691. 2006-06-22 Mike Kestner <[email protected]>
  13692. * ListView.cs: Layout column widths properly in details mode even
  13693. if HeaderStyle.None is set. Fixes #78691.
  13694. 2006-06-21 Peter Dennis Bartok <[email protected]>
  13695. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  13696. 2006-06-21 Peter Dennis Bartok <[email protected]>
  13697. * Control.cs (ContainsFocus): Using new driver method to get focused
  13698. window, instead of trying to use internal tracking var, which can
  13699. recursion issues (Fixes #78685)
  13700. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  13701. XplatUIWin32.cs: Added GetFocus method to return focused window
  13702. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  13703. * ColorDialog.cs: when the mouse button is pressed inside the color
  13704. matrix, don't let the cursor move out of it until the button is
  13705. released, which is the behavior on windows. Changed 'colours' by
  13706. 'colors' to use the same word consistently.
  13707. 2006-06-21 Chris Toshok <[email protected]>
  13708. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  13709. child relation and back, using a stack). Also, remove
  13710. GetDataSource and the code that calls it - it's not needed. Also,
  13711. track CurrencyManager.ListName's removal.
  13712. 2006-06-21 Chris Toshok <[email protected]>
  13713. * CurrencyManager.cs: push some of the original type checking from
  13714. BindingContext.CreateBindingManager to here, and remove some of
  13715. the finalType stuff. Need more tests to make sure I've got the
  13716. ListName part right, and we might need more in SetDataSource.
  13717. * PropertyManager.cs: add a ctor that takes just the datasource,
  13718. and no property name. Make SetDataSource work with a null
  13719. property_name, and make Current return the data_source if the
  13720. property descriptor is null. this makes 'string foo = "hi";
  13721. BindingContext[foo].Current' return "hi" as it should.
  13722. * RelatedCurrencyManager.cs: make this code more generic - there's
  13723. no reason the parent manager has to be CurrencyManager, and
  13724. there's no reason to pass the DataRelation. It suffices to use a
  13725. BindingManagerBase and PropetyDescriptor.
  13726. * RelatedPropertyManager.cs: make a similar change here.
  13727. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  13728. flower I knew it could be.
  13729. 2006-06-20 Chris Toshok <[email protected]>
  13730. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  13731. data in the source has changed and we need to update the control,
  13732. so s/PullData/PushData.
  13733. * CurrencyManager.cs: Refresh is meant to update the control from
  13734. data in the datasource. So, s/PullData/PushData.
  13735. * BindingContext.cs: add more ugliness (we weren't handling the
  13736. case where data_source = DataTable and data_member = column_name).
  13737. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  13738. from the perspective of the datasource. PullData pulls from the
  13739. control, PushData pushes to the control.
  13740. 2006-06-20 Chris Toshok <[email protected]>
  13741. * BindingContext.cs: rewrite the CreateBindingManager code to
  13742. handle navigation paths more or less properly. This could
  13743. definitely stand some more work, in particular to push the
  13744. recursion up to the toplevel. But that relies on fixes in other
  13745. places (System.Data comes to mind).
  13746. Also, move to a flat hashtable (and encode the twolevel nature of
  13747. the dictionary into the hash key). This lets us implement the
  13748. IEnumerable.GetEnumerator method.
  13749. * RelatedCurrencyManager.cs: new class. Update our view based on
  13750. our relation and our parent CurrencyManager's position.
  13751. * CurrencyManager.cs: split out some logic from the ctor into
  13752. SetView, so it can be called from the new RelatedCurrencyManager
  13753. subclass.
  13754. * RelatedPropertyManager.cs: new class. Update our datasource
  13755. based on the position of our parent CurrencyManager.
  13756. * PropertyManager.cs: split out some logic from the ctor into
  13757. SetDataSource, so it can be called from the new RelatedDataSource
  13758. subclass. Also, make the Current getter return the value
  13759. of the PropertyDescriptor, not the data_source.
  13760. * Binding.cs: no need to duplicate the string splitting code here.
  13761. 2006-06-19 Peter Dennis Bartok <[email protected]>
  13762. * Control.cs:
  13763. - set_Enabled: OnEnabledChanged is not called if the inherited state
  13764. of the control is not altered, even though we might be changing the
  13765. internal state of the control (#78458)
  13766. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  13767. OnEnabledChanged, to allow easy altering of any child window state
  13768. - OnEnabledChanged: Added code to enable/disable driver window state
  13769. - OnParentEnabledChanged: Instead of firing the event, call
  13770. OnEnabledChanged, which will fire the event and also a) set driver
  13771. window state and pass the enabled state to any grandchildren (#78458)
  13772. 2006-06-19 Jackson Harper <[email protected]>
  13773. * InternalWindowManager.cs: We don't set the cursor explicitly
  13774. thats done via the response to NCHITTESTs.
  13775. - Don't need to adjust for titlebar heights anymore, the
  13776. coordinates are coming in the correct coordinates now (see peters
  13777. last patch).
  13778. 2006-06-19 Peter Dennis Bartok <[email protected]>
  13779. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  13780. being translated relative to whole window, instead of client window.
  13781. That caused broken offsets on mouseclick (and caused gas for our
  13782. InternalWindowManager)
  13783. 2006-06-15 Peter Dennis Bartok <[email protected]>
  13784. * TextControl.cs:
  13785. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  13786. - Undo(): Added replay of cursor move on DeleteChars action; added
  13787. calling Undo() again if a recorded cursor move is invalid (to
  13788. ensure that some action is performed on Undo)
  13789. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  13790. 2006-06-16 Jackson Harper <[email protected]>
  13791. * MdiClient.cs: Instead of just sizing maximized windows when
  13792. there is a resize we also have to adjust the Y of minimized
  13793. windows, so they stay pinned to the bottom of the mdi container.
  13794. - Eliminate separate tracking of the active control, we can just
  13795. get this from the controls collection.
  13796. - Paint the decorations for the newly activated titlebar so we get
  13797. a pretty blue bar.
  13798. * InternalWindowManager.cs:
  13799. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  13800. even if they are a tool window.
  13801. 2006-06-15 Peter Dennis Bartok <[email protected]>
  13802. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  13803. undo buffer, these can happen when text was deleted and the cursor
  13804. was recorded first. Since we will also have a recorded cursor
  13805. after the delete this is not an issue. (Fixes #78651)
  13806. 2006-06-14 Peter Dennis Bartok <[email protected]>
  13807. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  13808. instead properly track control states internally (allows us to
  13809. remove is_selected from Control)
  13810. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  13811. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  13812. whose width is not a multiple of 8.
  13813. 2006-06-13 Jackson Harper <[email protected]>
  13814. * MdiClient.cs: Only maximize the next child if the current one
  13815. is maximized.
  13816. 2006-06-13 Chris Toshok <[email protected]>
  13817. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  13818. modified. Also, guard against grid or grid_drawing being null in
  13819. Invalidate.
  13820. * DataGrid.cs: Reformat tons of getters/setters. In the
  13821. DataMember setter, just call SetNewDataSource instead of
  13822. duplicating some of its functionality. In SetNewDataSource, don't
  13823. check ListManager for null, since the property getter creates the
  13824. object if needed.
  13825. * DataGridTableStyle.cs: don't set TableStyle or call
  13826. SetDataGridInternal on the column here, it's done in
  13827. GridColumnStylesCollection.Add.
  13828. * GridColumnStylesCollection.cs: fix all the explicit interface
  13829. implementations to just call our methods. Nuke AddInternal() and
  13830. move the body of it to Add(). Also, add a call to
  13831. column.SetDataGridInternal to Add().
  13832. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  13833. base()+duplicate code. Also, use the Format property instead of
  13834. format to generate an Invalidate ala MS. Lastly, create the
  13835. textbox here, unconditionally.
  13836. (set_Format): call Invalidate.
  13837. (get_TextBox): no need to call EnsureTextBox.
  13838. (Commit): remove the message box.
  13839. (Edit) remove the call to EnsureTextBox.
  13840. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  13841. (EnterNullValue): no need to check textbox for null.
  13842. (HideEditBox): no need to check textbox for null.
  13843. (SetDataGridInColumn): add the textbox to the grid's controls.
  13844. (EnsureTextBox): nuke.
  13845. 2006-06-13 Jackson Harper <[email protected]>
  13846. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  13847. and redraw the buttons when needed. Unhook when the window is
  13848. unmaximized.
  13849. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  13850. needs this so that it can redraw its buttons when the menu is
  13851. repainted.
  13852. * InternalWindowManager.cs:
  13853. * Form.cs: The method order has changed for DrawMaximizedButtons,
  13854. so that it can be a PaintEventHandler.
  13855. 2006-06-13 Jackson Harper <[email protected]>
  13856. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  13857. window is activated and maximized, even if it wasn't before.
  13858. - When a new window is activated repaint the decorations of the
  13859. old one, so that it no longer has the Active "look" (the blue
  13860. titlebar).
  13861. * InternalWindowManager.cs: Open up CreateButtons to base classes
  13862. so they can recreate the buttons on state changes.
  13863. - If a window is maximized give it all three buttons
  13864. * MdiWindowManager.cs: Create the titlebar buttons when the state
  13865. is changed, this is needed because a toolwindow will not have all
  13866. three buttons until it is maximized.
  13867. 2006-06-13 Atsushi Enomoto <[email protected]>
  13868. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  13869. Fixed bug #78609.
  13870. 2006-06-12 Jackson Harper <[email protected]>
  13871. * KeysConverter.cs: Make sure we handle the Ctrl special case
  13872. if its the only key.
  13873. 2006-06-12 Jackson Harper <[email protected]>
  13874. * Theme.cs: Add a method to get the size of a managed window
  13875. toolbar button.
  13876. * InternalWindowManager.cs: Remove the ButtonSize property, this
  13877. should be retrieved from the theme.
  13878. * MdiWindowManager.cs: Get the button size from the theme
  13879. * ThemeWin32Classic.cs: Make the method to get the managed window
  13880. titlebar button size public.
  13881. - Handle the different button sizes of maximized toolwindows
  13882. (should match any maximized window).
  13883. - Get the titlebar height from the theme, not the WM (which gets
  13884. it from the theme).
  13885. 2006-06-12 Jackson Harper <[email protected]>
  13886. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  13887. event down to the mdi window manager.
  13888. - Expose some extra stuff to base classes
  13889. - Make sure to end the Capture on an NC Mouse up, so that we can
  13890. get double clicks properly, and the sizing doens't stick.
  13891. - When doing PointToClient contain it in the workable desktop
  13892. area, this prevents windows from changing size when the cursor is
  13893. pulled outside of the working area while sizing.
  13894. * MdiWindowManager.cs: When we get a double click maximize the
  13895. window.
  13896. - Reset the cursor after handling mode changes.
  13897. 2006-06-12 Peter Dennis Bartok <[email protected]>
  13898. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  13899. current desktop, instead of just assuming a 0, 0 origin. This
  13900. is needed for our internal window manager, to know the top
  13901. margin of the desktop
  13902. 2006-06-12 Chris Toshok <[email protected]>
  13903. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  13904. we need this to get rid of the selected background in the bool
  13905. column.
  13906. (CancelEditing): move the ConcedeFocus call to above the Abort
  13907. call. Also, set is_changing to false and invalidate the row
  13908. header if we were changing before.
  13909. (ProcessKeyPreviewInternal): remove, since noone outside this
  13910. class calls it anymore. Roll the code into ProcessKeyPreview.
  13911. (EndEdit): remove the internal version.
  13912. (InvalidateCurrentRowHeader): make private.
  13913. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  13914. Keys.Escape handling (and with it the last call to
  13915. DataGrid.EndEdit from outside the class.)
  13916. 2006-06-12 Chris Toshok <[email protected]>
  13917. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  13918. (OnKeyPress): set isedit to true.
  13919. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  13920. already handled by the grid.
  13921. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  13922. right. ugh.
  13923. (set_DataSource): SetDataSource always returns true, so stop
  13924. putting it in an if statement.
  13925. (EndEdit): get rid of some {}'s
  13926. (ProcessGridKey): return true in case Keys.Escape.
  13927. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  13928. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  13929. PositionChanged, stopped connecting to CurrentChanged.
  13930. (GetDataSource): simplify this a bunch.
  13931. (SetDataSource): change return type from bool to void.
  13932. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  13933. to this, and make sure we don't set ListManager.Position inside
  13934. set_CurrentCell.
  13935. (OnListManagerItemChanged): if we're passed an actual index,
  13936. redraw that row.
  13937. * CurrencyManager.cs (set_Position): don't call PullData here.
  13938. 2006-06-09 Jackson Harper <[email protected]>
  13939. * TreeNode.cs: Recalculate the visible order before doing the
  13940. Expand/Collapse Below calls, because those calls generate an
  13941. expose.
  13942. - Reduce calls to the TreeView property, which is mildly expensive
  13943. by using a local var.
  13944. * Form.cs: Layout the MDI child windows when creating the parent
  13945. form.
  13946. - Don't use the internal constructor anymore
  13947. * MdiClient.cs: use the parent form width/height (if available)
  13948. when laying out the child windows, we do this because the
  13949. mdiclient isn't docked yet when the initial layout is done.
  13950. - Don't need an internal constructor anymore.
  13951. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  13952. * FileDialog.cs: handle access errors when trying to create a folder
  13953. or changing to a directory. No need to initialize out parameters.
  13954. 2006-06-08 Alexander Olk <[email protected]>
  13955. * FileDialog.cs: Append a number when creating a new folder if the
  13956. folder already exists (use parenthesis instead of square brackets)
  13957. 2006-06-08 Alexander Olk <[email protected]>
  13958. * FileDialog.cs:
  13959. - Disabled registry support for windows and added better registry
  13960. error checking for other systems (need to investigate why it
  13961. works perfectly on my system)
  13962. - If a folder already exist show an error MessageBox instead of
  13963. trying to create an indexed name.
  13964. - Fixed a non intentional typo.
  13965. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  13966. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  13967. 2006-06-08 Alexander Olk <[email protected]>
  13968. * FileDialog.cs: When creating a new folder don't crash if the
  13969. folder already exists.
  13970. 2006-06-08 Alexander Olk <[email protected]>
  13971. * FileDialog.cs: Allmost a complete rewrite.
  13972. - added a "virtual" file system that handles the differences
  13973. between unix and windows file systems (especially the directory
  13974. structure). Moved most of the directory and file handling code
  13975. into the vfs.
  13976. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  13977. UnixFileSystem and FSEntry.
  13978. - Recently used folder/directory, size, location and used file names
  13979. (file name ComboBox) are now stored in the registry and get read
  13980. before the dialog shows up (fixes part 6 of bug #78446).
  13981. - Creation of new folders/directories is now possible (context menu
  13982. or ToolBar). Added TextEntryDialog for this that fills in the gap
  13983. until ListView.LabelEdit works.
  13984. - Fixed cursor handling (bug #78527) and focus handling for
  13985. PopupButtonPanel
  13986. - Various "Search in" ComboBox enhancements. The content of the
  13987. dropdown listbox now almost matches ms.
  13988. - Changed the behaviour when the user switches to SpecialFolder
  13989. Recent to show the ListView in View.Details.
  13990. - Beside using the ToolBar to change the View property of the
  13991. file ListView it is now possible to use the context menu too.
  13992. 2006-06-08 Alexander Olk <[email protected]>
  13993. * ComboBox.cs: Don't create a new ObjectCollection when an item
  13994. gets inserted. Just insert the item in the existing object_items
  13995. ArrayList.
  13996. 2006-06-08 Jackson Harper <[email protected]>
  13997. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  13998. that the treeview and root node checks are done also, this fixes a
  13999. regression i caused in the unit tests.
  14000. 2006-06-07 Wade Berrier <[email protected]>
  14001. * RichTextBox.cs: More ISO8859-1 -> unicode
  14002. 2006-06-07 Mike Kestner <[email protected]>
  14003. * ComboBox.cs : use items to hold highlight/selection so that
  14004. collection insertions don't require synchronization.
  14005. 2006-06-07 Jackson Harper <[email protected]>
  14006. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  14007. routine. We now always keep the sized edge at the cursor instead
  14008. of computing movement and adjusting rects. There is one buglet
  14009. with this method though when the cursor is moved over area that
  14010. the window can not expand too (such as the toolbars on the desktop).
  14011. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  14012. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  14013. here. Fixes crash on startup in AlbumSurfer.
  14014. 2006-06-07 Peter Dennis Bartok <[email protected]>
  14015. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  14016. values
  14017. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  14018. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  14019. statement to avoid calling XNextEvent which will block if another thread
  14020. took the event that we were expecting. Fixes bug #78605.
  14021. 2006-06-07 Mike Kestner <[email protected]>
  14022. * ListView.cs : isolated checkbox clicking from the selection logic.
  14023. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  14024. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  14025. * Form.cs: Check that the value passed to Form.DialogResult
  14026. is a valid enum value.
  14027. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  14028. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  14029. Computer'. Clicking it in the network view goes to 'My Computer'.
  14030. Added CIFS filesystem type. Display the mount point of filesystems.
  14031. Avoid duplicate mount points (happens for me with CIFS);
  14032. 2006-06-06 Jackson Harper <[email protected]>
  14033. * InternalWindowManager.cs: Draw the maximized windows buttons
  14034. when resizing.
  14035. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  14036. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  14037. all other dialogs. Fixes bug #78585.
  14038. 2006-06-06 Mike Kestner <[email protected]>
  14039. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  14040. Only invalidate checkbox on checkstate changes to avoid flicker.
  14041. * ListBox.cs : avoid unselect/select when clicking selected item.
  14042. avoid reselection flicker for already multiselected items.
  14043. Fixes #78382.
  14044. 2006-06-06 Jackson Harper <[email protected]>
  14045. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  14046. the parent form so that the menu is removed if needed.
  14047. 2006-06-06 Mike Kestner <[email protected]>
  14048. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  14049. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  14050. 2006-06-06 Mike Kestner <[email protected]>
  14051. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  14052. 2006-06-06 Jackson Harper <[email protected]>
  14053. * Control.cs: Use the property (instead of the field) to get the
  14054. default cursor so it is instantiated correctly.
  14055. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  14056. resizes so we need to manually repaint the window decorations here.
  14057. - Set the titlebar button locations as soon as they are created,
  14058. otherwise they are not set correctly on win32.
  14059. 2006-06-06 Chris Toshok <[email protected]>
  14060. * CurrencyManager.cs (set_Position): call PullData before
  14061. OnCurrentChanged.
  14062. (AddNew): after calling IBindingList.AddNew, update our
  14063. listposition, and call OnCurrentChanged/OnPositionChanged (without
  14064. calling PullData).
  14065. (OnCurrentChanged): remove the call to PullData from here.
  14066. (OnItemChanged): remove the call to PushData from here.
  14067. (OnPositionChanged): change the test from == null to != null to
  14068. match the other methods.
  14069. (ListChangedHandler): the grossest part of the patch. Implement
  14070. this such that it passes the unit tests in CurrencyManagerTest and
  14071. the output more or less matches that of MS's implementation.
  14072. 2006-06-06 Mike Kestner <[email protected]>
  14073. * ListView.cs : only update check state on single click.
  14074. * ThemeWin32Classic.cs : fix focus drawing for details view without
  14075. fullrowselect. Fixes #78454.
  14076. * XplatUIX11.cs : fix for double click emission.
  14077. 2006-06-05 Jonathan Chambers <[email protected]>
  14078. * PropertyGridView.cs : Applied Atsushi's patch to fix
  14079. font dialog bug (#78197).
  14080. 2006-06-05 Jackson Harper <[email protected]>
  14081. * TreeNode.cs: Compute the next node for expanding/collapsing
  14082. correctly. We now factor in nodes without a NextNode
  14083. correctly. (Fixes somes cases in nunit-gui).
  14084. * InternalWindowManager.cs: Set the bounds when updating the
  14085. virtual position of a tool window.
  14086. 2006-06-05 Chris Toshok <[email protected]>
  14087. * DataGrid.cs: rename cached_currencymgr to list_manager.
  14088. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  14089. some.
  14090. (CurrentRow, CurrentColumn): single accessors so we can make the
  14091. cursor movement code a lot easier to understand.
  14092. (CurrentRowIndex): implement this in terms of CurrentRow.
  14093. (BeginEdit): clean this up a bit.
  14094. (CancelEditing): sort out the is_editing/is_changing/is_adding
  14095. stuff a little.
  14096. (EndEdit): minor changes.
  14097. (OnKeyDown): add a comment about a (most likely) unnecessary
  14098. check.
  14099. (OnMouseDown): cancel editing when we click on a row header. And
  14100. use the CurrentRow setter, not CurrentCell.
  14101. (ProcessDialogKey): directly call ProcessGridKey.
  14102. (UpdateSelectionAfterCursorMove): factor out this common block of
  14103. code (it's used everywhere that we move the cursor by updating row
  14104. or column).
  14105. (ProcessGridKey): pretty substantial overhaul. Use the
  14106. CurrentRow/CurrentColumn properties to make the code a lot more
  14107. readable. Only use the CurrentCell property when we have to
  14108. modify both row and column at once. Tab behavior is still broken,
  14109. and Delete is untested.
  14110. (Select): if we have no selected rows, set selection_start to
  14111. @row.
  14112. (EditCurrentCell): rename EditCell this. It was only ever invoked
  14113. with CurrentCell as the arg, so drop the arg and rename it.
  14114. * DataGridColumnStyle.cs: clean up the constructors a little, and
  14115. drop CommonConstructor().
  14116. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  14117. actually get notified when the user hits it.
  14118. (ProcessKeyMessage): *substantially* simplify this method.
  14119. There's no reason (that I can see) for the textbox to be making
  14120. calls into the datagrid at all. Remove all of them but the ones
  14121. for Enter handling. those will take some more work.
  14122. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  14123. calling HideEditBox.
  14124. (HideEditBox): if we have an active textbox, render it invisible
  14125. without causing a re-layout of the datagrid.
  14126. 2006-06-05 Mike Kestner <[email protected]>
  14127. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  14128. collection changes by resetting it to Items[0]. Fixes #78587.
  14129. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  14130. * MessageBox.cs: if the height of the text is larger than the icon_size,
  14131. use that. Fixes bug #78575.
  14132. 2006-06-05 Jackson Harper <[email protected]>
  14133. * TreeView.cs: Fix line drawing when scrolling. To do this each
  14134. node is basically responsible for drawing its entire horizontal
  14135. area. When drawing a node it draws its parent node lines if
  14136. needed.
  14137. - Adjust the clip area to the viewport rectangle
  14138. - Fix Left/Right key handling to match MS. (It expand/collapses
  14139. and moves to parents/first child but does not move selection to
  14140. sibling nodes).
  14141. - Fix SetTop to work with new bound calculation code
  14142. - When scrollbars are no longer needed we need to reset scrolling
  14143. vars and recalculate the visible order so the redraw is correct
  14144. * TreeNode.cs: We can't expand/collapse nodes with no children.
  14145. 2006-06-03 John Luke <[email protected]>
  14146. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  14147. so the colors work without dev packages
  14148. 2006-06-02 Peter Dennis Bartok <[email protected]>
  14149. * Control.cs
  14150. - Select: Implemented to just use activate. Seems to match MS
  14151. behaviour closest. Documented to only do actual control walking
  14152. based on it's parameters if in a container control so I moved
  14153. the code there.
  14154. - Removed selection check logic from our internal Select() method
  14155. * ContainerControl.cs:
  14156. - Select: Moved selection logic from Control here, since MS documents
  14157. that containers obey the bool arguments. No longer calling base
  14158. 2006-06-02 Jackson Harper <[email protected]>
  14159. * TreeView.cs: If the selected node isn't changed when we get
  14160. focus update the previously selected node so that we see the
  14161. selection box.
  14162. 2006-06-02 Mike Kestner <[email protected]>
  14163. * ComboBox.cs: restructure grab and general mouse event handling.
  14164. Make the composite control raise mouse events like it was a single
  14165. control for leaves/enters/motion/up/down events. fix dropdown list
  14166. coordinate mangling and refactor it into the scrollbar subclass to
  14167. reduce code duplication. Fixes #78282 #78361 and #78457.
  14168. 2006-06-02 Mike Kestner <[email protected]>
  14169. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  14170. automatically in the Control.WndProc.
  14171. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  14172. * FileDialog.cs: fix crash when running SharpChess, which sets the
  14173. FilterIndex to 2 with only one Filter.
  14174. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  14175. * ToolBar.cs: add SizeSpecified property.
  14176. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  14177. try to figure out our real size, otherwise fallback to what the
  14178. container says.
  14179. 2006-06-01 Peter Dennis Bartok <[email protected]>
  14180. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  14181. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  14182. up the event
  14183. 2006-06-01 Mike Kestner <[email protected]>
  14184. * ListView.cs: revamp the focus management in ListView. It still
  14185. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  14186. better than not handling focus at all. Will revisit when pdb feels
  14187. the general focus handling is solid. Fixes #78526.
  14188. 2006-06-01 Jackson Harper <[email protected]>
  14189. * TreeView.cs: Set the default border style in the constructor.
  14190. - Move painting to use OnPaintInternal instead of capturing
  14191. WM_PAINT, this is the correct way of doing things
  14192. - UpdateBelow shouldn't invalidate the scrollbar area
  14193. - Cap the top on update below in case the node was above the top
  14194. of the viewport rectangle.
  14195. - ExpandBelow and Collapse below need to obey Begin/End Update.
  14196. * TreeNode.cs: Make is_expanded internal so the treenode
  14197. collection can change it without firing the whole event chain.
  14198. * TreeNodeCollection.cs: When clearing all the child nodes make
  14199. sure to recalc the visible order.
  14200. - Improve algo for remove the top node
  14201. 2006-06-01 Peter Dennis Bartok <[email protected]>
  14202. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  14203. SendMessage directly calling window procedures, which in turn might
  14204. call SetFocus()
  14205. 2006-06-01 Peter Dennis Bartok <[email protected]>
  14206. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  14207. has focus (works around X11 sending a FocusIn after our SetFocus)
  14208. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  14209. 2006-06-01 Alexander Olk <[email protected]>
  14210. * Mime.cs: Fix for the NET_2_0 build.
  14211. NameValueCollection needs StringComparer now.
  14212. 2006-05-31 Chris Toshok <[email protected]>
  14213. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  14214. return (via an out parameter) the starting X of the column.
  14215. (UpdateVisibleColumn): track change to FromPixelToColumn.
  14216. (HitTest): add a ColumnResize case here.
  14217. (DrawResizeLine): new function, probably poorly named.
  14218. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  14219. only need to keep one reference.
  14220. (set_ListManager): same.
  14221. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  14222. Also, add support for HitTestType.ColumnResize.
  14223. (OnMouseMove): add column resize behavior here, and change the
  14224. cursor to the correct one as we move around the datagrid.
  14225. (OnMouseUp): terminate the column resize if we're resizing.
  14226. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  14227. for the current cell.
  14228. (ConnectListManagerEvents): use cached_currencymgr.
  14229. (DisconnectListManagerEvents): fill this in, using
  14230. cached_currencymgr.
  14231. (SetCurrentCell): remove cached_currencymgr_events handling.
  14232. (SetDataMember): only call DisconnectListManagerEvents if
  14233. cached_currencymgr is != null.
  14234. (SetDataSource): same.
  14235. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  14236. cached_currencymgr.
  14237. 2006-05-31 Jackson Harper <[email protected]>
  14238. * BindingManagerBase.cs: Remove somedebug code that creeped into
  14239. SVN.
  14240. * TreeNode.cs: We get the indent level dynamically right now, so
  14241. don't track it as a member.
  14242. * TreeNodeCollection.cs: Make sure all nodes added to the list
  14243. have parents, treeviews/topnodes setup properly.
  14244. - Don't attempt to track indent level.
  14245. 2006-05-30 Jackson Harper <[email protected]>
  14246. * BindingContext.cs: Create the currency manager tables here.
  14247. This allows us to more easily create null tables (when bad data
  14248. members are used), and more easily create related currency
  14249. managers.
  14250. * CurrencyManager.cs: All the table creation stuff is done by the
  14251. binding context now.
  14252. - Current should throw an exception if listposition is -1.
  14253. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  14254. been bound yet.
  14255. 2006-05-30 Mike Kestner <[email protected]>
  14256. * ListView.cs: allow reexpansion of zero-width column headers.
  14257. Fixes #78528.
  14258. 2006-05-28 Chris Toshok <[email protected]>
  14259. * CurrencyManager.cs (get_Current): after the late binding
  14260. listposition = -1 fix, we need to guard against it here and return
  14261. null, otherwise we raise an exception (which is swallowed
  14262. elsewhere, and breaks datagrid databinding.)
  14263. 2006-05-26 Peter Dennis Bartok <[email protected]>
  14264. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  14265. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  14266. 2006-05-26 Jackson Harper <[email protected]>
  14267. * ControlPaint.cs:
  14268. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  14269. values, it's faster and it's all we care about (we don't care if
  14270. the names aren't equal).
  14271. * KeyboardLayouts.cs: Eliminate some dead code.
  14272. - Lazy init things
  14273. * X11Keyboard.cs: Lazy init keyboard detection.
  14274. - Cleanup access modifiers a little.
  14275. 2006-05-26 Peter Dennis Bartok <[email protected]>
  14276. * XplatUIX11.cs: Once again, attempting to get layout just right.
  14277. 2006-05-26 Peter Dennis Bartok <[email protected]>
  14278. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  14279. the sizes of each link section, that will result in sizes that
  14280. match DrawString's layout (Fixes #78391)
  14281. 2006-05-27 Alexander Olk <[email protected]>
  14282. * FileDialog.cs: If AddExtension property is true autocomplete the
  14283. extensions in SaveFileDialog correctly. Fixes bug #78453.
  14284. Set MyNetwork and MyComputer to "C:\" for windows. This should
  14285. fix part 8 of bug #78446 for now.
  14286. 2006-05-26 Chris Toshok <[email protected]>
  14287. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  14288. invalidate the current row header if we need to, but presumably
  14289. we'll invalidate the row corrsponding to the bounds or
  14290. editingControl.
  14291. (GridHScrolled): switch back to this method, as it's part of the
  14292. public api. *sigh*.
  14293. (GridVScrolled): same.
  14294. (OnMouseWheel): hack up something that more or less works. Call
  14295. GridHScrolled/GridVScrolled directly, instead of duplicating much
  14296. of their code here.
  14297. (EnsureCellVisibility): reinstate a bunch of this code, since we
  14298. can't just set the scrollbar Value and expect to do all the work
  14299. in the ValueChanged handler. Also, Call Update() after scrolling
  14300. in one direction so the other XplatX11.ScrollWindow call has the
  14301. proper stuff in the proper places.
  14302. (EditCell): set is_editing to true before calling .Edit.
  14303. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  14304. don't bother comparing first.
  14305. (OnKeyPress): call grid.ColumnStartedEditing before calling
  14306. base.OnKeyPress. this will set is_changing and invalidate the row
  14307. header if necessary.
  14308. (ProcessKeyMessage): for WM_CHAR messages, call
  14309. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  14310. and WM_KEYDOWN.
  14311. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  14312. it's done in the DataGrid.
  14313. (NextState): call grid.ColumnStartedEditing, which takes care of
  14314. invalidating the row header (and setting is_changing).
  14315. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  14316. here. it's done in the DataGrid.
  14317. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  14318. * Control.cs: allow changing the cursor when the mouse position is
  14319. out of bounds but Capture is set.
  14320. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  14321. linklabel but released somewhere else.
  14322. 2006-05-25 Jackson Harper <[email protected]>
  14323. * TreeView.cs: When we get focus if there is no selected node make
  14324. it the top node
  14325. - Remove some uneeded setup code from Draw.
  14326. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  14327. a new node is inserted make the new node the top.
  14328. * XplatUIX11.cs:
  14329. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  14330. be used (should be faster).
  14331. 2006-05-25 Chris Toshok <[email protected]>
  14332. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  14333. problem with the last commit.
  14334. 2006-05-25 Chris Toshok <[email protected]>
  14335. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  14336. need the invalidate call here, while scrolling right-to-left via
  14337. the left arrow key (i.e. moving the editing cell while scrolling).
  14338. * DataGrid.cs (.ctor): remove the initialization of
  14339. ctrl_pressed/shift_pressed. We no longer track them using key
  14340. up/down handlers, but by using Control.ModifierKeys. Also, switch
  14341. to using ValueChanged handlers on the scrollbars instead of
  14342. Scrolled event handlers. This simplifies a bunch of the scrolling
  14343. code.
  14344. (GridHValueChanged): rename from GridHScrolled, and change it to
  14345. work with the new event args.
  14346. (GridVValueChanged): same.
  14347. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  14348. (OnMouseWheel): actually scroll the datagrid. Don't change the
  14349. selected cell.
  14350. (ProcessGridKey): correct all the keyboard navigation stuff I
  14351. could find. Ctrl up/down/left/right/home/end work now.
  14352. (EnsureCellVisibility): correct method name spelling. Also,
  14353. simplify this a touch by not explicitly calling the
  14354. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  14355. scrollbar value.
  14356. (OnKeyUpDG): no need for this method now.
  14357. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  14358. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  14359. Fixes bug #78392.
  14360. 2006-05-25 Chris Toshok <[email protected]>
  14361. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  14362. r61019.
  14363. 2006-05-25 Peter Dennis Bartok <[email protected]>
  14364. * Application.cs: Moved setting of is_modal and closing to before
  14365. we create the control, to allow the event handlers called as a
  14366. result of creation affect closing. Also removed Gonzalo's previous
  14367. change to setting DialogResult, the behaviour has been moved to
  14368. Form.ShowDialog()
  14369. * Form.cs:
  14370. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  14371. handle it instead
  14372. - ShowDialog(): If no dialog result is set, we need to return Cancel
  14373. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  14374. the close is cancelled
  14375. 2006-05-25 Jackson Harper <[email protected]>
  14376. * StatusBar.cs: We only need to update the sizes of the other
  14377. panels when we have auto size contents. Also we are only updating
  14378. the contents of the panel, not the borders, so compensate for the
  14379. border width (TODO: get this width from the theme somehow).
  14380. * TreeView.cs: Scrollable is true by default
  14381. - Use invalidate instead of refresh where needed
  14382. - Factor the scrollable value into scrollbar updating
  14383. - Update the scrollbars if the Scrollable property is altered
  14384. - Update the selected node if its ImageIndex is changed
  14385. - Handle null nodes in UpdateNode (mainly so we don't have to
  14386. check if selected is null when updating it
  14387. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  14388. are factored into the visible count
  14389. - Use VisibleCount for clarity in the code
  14390. - When the font is changed we need to recurse through all the
  14391. nodes and invalidate their sizes
  14392. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  14393. * Application.cs: set the DialogResult to fixed when the main form is
  14394. hidden or destroyed while being modal.
  14395. 2006-05-25 Miguel de Icaza <[email protected]>
  14396. * Theme.cs: Use Tangoified messagebox icons.
  14397. (GetSizedResourceImage): Also cope with width = 0 and do not
  14398. trigger a warning in that case (0 means "give me your icon from
  14399. the resouce, no special size needed).
  14400. 2006-05-25 Peter Dennis Bartok <[email protected]>
  14401. * Application.cs: Leave runloop if the the main modal form is
  14402. hidden (fixes #78484)
  14403. 2006-05-25 Atsushi Enomoto <[email protected]>
  14404. * BindingContext.cs : reject null datasource in Contains() and
  14405. Item[].
  14406. * CurrencyManager.cs : check data_member validity when data_source
  14407. is dataset. When it is late binding, the initial position is -1.
  14408. 2006-05-24 Jackson Harper <[email protected]>
  14409. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  14410. inserted nodes that aren't visible. This changes the
  14411. max_visible_order which confuses scrollbar settings.
  14412. - Use the enumerator to get the prev node instead of duplicating
  14413. code.
  14414. * TreeView.cs: Use new method for setting scrollbar values
  14415. - Don't set the bounds every time the scrollbar is updated
  14416. - When updating below the root node use an invalidate instead of a
  14417. refresh to prevent the child controls (scrollbars) from being
  14418. refreshed. (UpdateBelow still needs to be reworked anyways).
  14419. - Reenable SetBottom now that visible orders are set correctly,
  14420. added some debug code incase we ever get bad values there again.
  14421. - Set the scrollbar max to 2 less then the max value, this
  14422. compensates for the max value being one above the node count, and
  14423. for scrollbars adding one extra "notch".
  14424. - When drawing image nodes if there is an imagelist we draw the
  14425. first image in the list if the supplied image index is out of the
  14426. image list's bounds.
  14427. 2006-05-24 Peter Dennis Bartok <[email protected]>
  14428. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  14429. we receive a size change from the WM (Fixes #78503)
  14430. 2006-05-24 Peter Dennis Bartok <[email protected]>
  14431. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  14432. rectangle (Fixes #78501)
  14433. 2006-05-24 Peter Dennis Bartok <[email protected]>
  14434. * ButtonBase.cs:
  14435. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  14436. as a bitfield.
  14437. - Fixed MouseMove to no longer switch pressed state unless the left
  14438. mouse button is pressed. Atsushi provided the original patch (#78485)
  14439. 2006-05-24 Jackson Harper <[email protected]>
  14440. * ScrollBar.cs: New internal methods that allow us to change a
  14441. couple values on the scrollbar (the most common case is maximum
  14442. and large change) without getting multiple invalidates.
  14443. 2006-05-24 Chris Toshok <[email protected]>
  14444. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  14445. (Edit): save off the original state in oldState, and set
  14446. grid.is_editing to true.
  14447. (OnKeyDown): abort editing if escape is pressed. also, call
  14448. NextState if space is pressed.
  14449. (OnMouseDown): call NextState.
  14450. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  14451. here. Also, only invalidate the row header once (on the initial
  14452. is_changing switch) to save on redraws.
  14453. 2006-05-24 Chris Toshok <[email protected]>
  14454. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  14455. if the value in the cell is different than it was before. This
  14456. keeps us from triggering a layout when we move around a datarid
  14457. with a highlighted cell.
  14458. (Edit): suspend layout when creating/positining the text box, and
  14459. resume passing false so we don't ever actually re-layout.
  14460. (ReleaseHostedControl): same.
  14461. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  14462. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  14463. control-key sequences should go to the datagrid - remove that
  14464. lock. Also, modify the conditions under which we move between
  14465. cells when moving the cursor within a cell, and remove the "this"
  14466. and "base" from field accesses. We weren't even consistent, given
  14467. they all were in the base class.
  14468. 2006-05-24 Atsushi Enomoto <[email protected]>
  14469. * Binding.cs : (.ctor)
  14470. An obvious NRE fix for BindingTest.CtorNullTest().
  14471. 2006-05-23 Chris Toshok <[email protected]>
  14472. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  14473. them between lines. This fixes some quirks editing cells in the
  14474. datagrid.
  14475. 2006-05-23 Jackson Harper <[email protected]>
  14476. * TreeView.cs: Use begin/end update when doing expand/collapse all
  14477. so that we don't get flicker on the scrollbar.
  14478. 2006-05-23 Jackson Harper <[email protected]>
  14479. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  14480. treenode calculations to be independant of the painting code. To
  14481. do this nodes track a visible order which is calculated by the
  14482. treeview.
  14483. - Call new methods for expanding/collapsing nodes. These methods
  14484. use scrollwindow so we don't have to update everything below the
  14485. node.
  14486. * TreeView.cs: Refactored drawing and scrolling code. We don't
  14487. need to update nodes when drawing anymore or calculate scrollbar
  14488. stuff.
  14489. - Added new methods for expanding/collapsing nodes. These methods
  14490. use ScrollWindow so as to not have to redraw all the nodes below.
  14491. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  14492. we add/remove nodes or sort.
  14493. - Handle removing the selected and the top node properly.
  14494. 2006-05-23 Chris Toshok <[email protected]>
  14495. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  14496. maybe this should actually happen in the datagrid code?
  14497. (EndEdit): no need to invalidate anything, given that
  14498. ReleaseHostedControl causes the datagrid to relayout, which
  14499. invalidates everything anyway.
  14500. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  14501. in SetCurrentCell).
  14502. (set_SelectionBackColor): call InvalidateSelection instead of
  14503. Refresh.
  14504. (set_SelectionForeColor): same.
  14505. (BeginEdit): Flesh this out a bit.
  14506. (CancelEditing): only do any of this if we're editing/adding.
  14507. (EndEdit): same.
  14508. (OnMouseDown): there's no need to cancel editing here, it's done
  14509. in SetCurrentCell.
  14510. (SetCurrentCell): only invalidate the current row header if it's a
  14511. different row than the new one.
  14512. (ShiftSelection): fix this to work like MS does.
  14513. (ResetSelection): factor out the invalidation of selected_rows to
  14514. InvalidateSelection.
  14515. (SetDataSource): cancel any editing that's going on.
  14516. * DataGridColumnStyle.cs
  14517. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  14518. call the non-interface version.
  14519. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  14520. header rectangle with the clip rectangle so we don't redraw the
  14521. entire header for just a small area. Gets rid of the last flicker
  14522. when horizontally scrolling.
  14523. (DataGridPaintRow): same.
  14524. 2006-05-23 Mike Kestner <[email protected]>
  14525. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  14526. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  14527. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  14528. Critical bug report.
  14529. 2006-05-23 Peter Dennis Bartok <[email protected]>
  14530. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  14531. and this fixes #78493
  14532. 2006-05-23 Miguel de Icaza <[email protected]>
  14533. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  14534. size is not found.
  14535. * FileDialog.cs: Do not change the background for the side bar as
  14536. it wont work nicely with the theme, and also reduces the artifacts
  14537. in rendering the icons (which I want to fix too).
  14538. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  14539. resources, not resgen resources.
  14540. (PlatformDefaultHandler): Pull images using the new API.
  14541. 2006-05-23 Peter Dennis Bartok <[email protected]>
  14542. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  14543. a reference to the hwnd and will not remove it unless there are
  14544. no pending exposures (fixes #78341)
  14545. * XplatUI.cs: Improved debug
  14546. 2006-05-23 Atsushi Enomoto <[email protected]>
  14547. * MenuAPI.cs : don't handle OnClick event when it was not the left
  14548. button. Fixed bug #78487.
  14549. 2006-05-23 Mike Kestner <[email protected]>
  14550. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  14551. prefer submenus to the top menu for item lookup, to avoid popping down
  14552. top-row items.
  14553. 2006-05-23 Alexander Olk <[email protected]>
  14554. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  14555. Graphics.FillRectangle as the visual results are really bad (even
  14556. on win). We now draw perfect arrows (and perfect shadows when the
  14557. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  14558. Pen.DashPattern to draw the dots of each line.
  14559. 2006-05-22 Alexander Olk <[email protected]>
  14560. * FileDialog.cs: Update the filename combobox when navigating through
  14561. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  14562. 2006-05-22 Mike Kestner <[email protected]>
  14563. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  14564. Fixes #78463.
  14565. 2006-05-22 Mike Kestner <[email protected]>
  14566. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  14567. requests. Fix a misspelled parameter and a copy paste exception error
  14568. in Select.
  14569. 2006-05-22 Peter Dennis Bartok <[email protected]>
  14570. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  14571. to get the same width/height (5/13) on X11 as the default font has on
  14572. win32. This means that our DefaultFont emSize is smaller than the
  14573. the MS SWF equivalent (even thought the width/height stays the same)
  14574. 2006-05-20 Jackson Harper <[email protected]>
  14575. * MdiClient.cs:
  14576. * MdiWindowManager.cs:
  14577. * InternalWindowManager.cs: Make sure to use the border width from
  14578. the theme.
  14579. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  14580. * PrintDialog.cs: Implements printer details
  14581. 2006-05-19 Alexander Olk <[email protected]>
  14582. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  14583. Fixes part 1 and 2 of bug #78446
  14584. 2006-05-19 Peter Dennis Bartok <[email protected]>
  14585. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  14586. instead of sticking to the first ever calculated value
  14587. 2006-05-19 Mike Kestner <[email protected]>
  14588. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  14589. PointToClient, since Capture is set. Fixes #78344.
  14590. 2006-05-19 Mike Kestner <[email protected]>
  14591. * ListView.cs: match MS behavior in Details view where items are not
  14592. drawn if Columns.Count == 0.
  14593. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  14594. Use a separate pen to draw the check, since changing the width affects
  14595. the box as well. Fixes #78454.
  14596. 2006-05-18 Miguel de Icaza <[email protected]>
  14597. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  14598. exception should throw the name of the invalid argument.
  14599. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  14600. there are no files listed.
  14601. 2006-05-18 Jackson Harper <[email protected]>
  14602. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  14603. up.
  14604. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14605. * Control.cs: Brought back our old UpdateZOrder method as a private
  14606. function and switched our calls from UpdateZOrder to the new one.
  14607. This fixes the Paint.Net canvas disappearing bug.
  14608. 2006-05-18 Jackson Harper <[email protected]>
  14609. * Theme.cs:
  14610. * ThemeWin32Classic.cs:
  14611. * InternalWindowManager.cs: Move the drawing into the theme,
  14612. expose everything the theme should need from the window manager.
  14613. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14614. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  14615. from the call to NativeWindow to avoid walking up the parent chain
  14616. further than needed (speeds up setting cursors and avoids setting
  14617. the wrong cursor if a parent has another cursor defined)
  14618. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  14619. the icon as hotspot, not what's contained as hotspot in the icon
  14620. file. This fixes the perceived drawing offset seen with Paint.Net
  14621. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14622. * XplatUIX11.cs:
  14623. - Store the calculated rectangle in Hwnd object and use it when
  14624. setting the client size
  14625. - Force Toolwindows to always be type Dock, to ensure they're on top
  14626. 2006-05-18 Mike Kestner <[email protected]>
  14627. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  14628. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  14629. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  14630. Substantial refactoring to remove confusing nested classes. Coding
  14631. standard and Get+Set->property refactorings. Shift to index based
  14632. highlighting in ComboListBox instead of constantly using IndexOf and
  14633. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  14634. in FileDialog growth. Draw borders manually since Simple mode needs
  14635. to look like two independent controls. Make listbox border
  14636. conditional to DropDownStyle. Improved OwnerDraw support.
  14637. 2006-05-18 Sebastien Pouliot <[email protected]>
  14638. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  14639. Don't set the disposed graphics to null, so we can throw the "right"
  14640. exception if the graphics is reused later (added a flag to avoid
  14641. double disposing). Some behaviours are different under 2.0 and are
  14642. filled under bug #78448.
  14643. 2006-05-18 Peter Dennis Bartok <[email protected]>
  14644. * Control.cs: When double-buffering is enabled, we need to reset
  14645. our graphics context between paint calls. Otherwise, any
  14646. transformations and other alterations on the context will
  14647. become cumulative (#77734)
  14648. 2006-05-18 Mike Kestner <[email protected]>
  14649. * ListView.cs: do focused item selection like MS on clicks.
  14650. Rework focus handling for ItemControl so LostFocus invalidates as
  14651. well.
  14652. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  14653. the ListView ItemControl has focus.
  14654. 2006-05-17 Peter Dennis Bartok <[email protected]>
  14655. * XplatUIX11.cs: If client_window ends up being width or height zero
  14656. due to border settings, move it off window inside whole_window (#78433)
  14657. 2006-05-17 Alexander Olk <[email protected]>
  14658. * Mime.cs: Shrink the mime file cache correctly.
  14659. 2006-05-17 Alexander Olk <[email protected]>
  14660. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  14661. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14662. * XplatUIX11.cs (AddExpose): More sanity checks
  14663. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14664. * XplatUIX11.cs:
  14665. - AddExpose: Don't add expose ranges outside the size of our
  14666. window
  14667. - Cast opacity values to Int32 to avoid crashes with certain
  14668. values
  14669. - Added disabled code paths that protect against illegal cross-
  14670. thread painting (Developers.exe)
  14671. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14672. * ProgressBar.cs: Invalidate the control when it's resized
  14673. since block size is based on control size. (#78388)
  14674. 2006-05-16 Miguel de Icaza <[email protected]>
  14675. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  14676. of setting the incoming argument to the "reset" value, we set the
  14677. this.datamember to string.empty (before we were invalidating the
  14678. incoming data).
  14679. Fixes 78420
  14680. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14681. * Form.cs: Only apply transparency settings after the form
  14682. is created. (Fixes #77800)
  14683. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14684. * ApplicationContext.cs: Grab the HandleDestroyed event so
  14685. we know when to fire OnMainFormClosed
  14686. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14687. * Application.cs: Introduced sub-class to allow tracking of
  14688. threads and centralized triggering of the event mess for
  14689. ThreadExit, AppExit, etc.. (#76156)
  14690. 2006-05-16 Alexander Olk <[email protected]>
  14691. * MimeIcon.cs:
  14692. - Do not return a null icon index value for a mime subclass.
  14693. Instead try the main mime type class too.
  14694. - Seems that some newer distributions don't have a link to some
  14695. gnome default icons anymore. So check the default gnome dir too.
  14696. 2006-05-16 Jackson Harper <[email protected]>
  14697. * MdiClient.cs: Don't paint the parent background image if we have
  14698. our own background image.
  14699. 2006-05-16 Peter Dennis Bartok <[email protected]>
  14700. * Control.cs:
  14701. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  14702. controls, all filled controls are supposed to overlap (#78080)
  14703. - UpdateZOrder is supposed to update the control's z-order in the
  14704. parent's z-order chain. Fixed to behave like that
  14705. - BringToFront: Removed obsolete code
  14706. - SendToBack: Simplyfied
  14707. - SetChildIndex: Trigger layout calculations when Z-order changes
  14708. since layout is done by z-order
  14709. 2006-05-16 Chris Toshok <[email protected]>
  14710. [ fixes bug #78410 ]
  14711. * DataGrid.cs (set_AlternatingBackColor): use
  14712. grid_drawing.InvalidateCells instead of Refresh().
  14713. (set_BackColor): call grid_drawing.InvalidateCells.
  14714. (set_BackgroundColor): use Invalidate instead of Refresh.
  14715. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  14716. invalidate the cell area.
  14717. 2006-05-15 Chris Toshok <[email protected]>
  14718. [ fixes bug #78011 ]
  14719. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  14720. on to DataGridPaintRow.
  14721. (DataGridPaintRow): take a clip argument, and only draw the cells
  14722. which intersect it. same with the not_usedarea.
  14723. * Theme.cs (DataGridPaintRow) add @clip parameter.
  14724. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  14725. XplatUI.ScrollWindow.
  14726. (ScrollToRow): same.
  14727. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  14728. with last column which was causing a gray swath to appear with the
  14729. XplatUI.ScrollWindow code.
  14730. 2006-05-15 Chris Toshok <[email protected]>
  14731. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  14732. use XplatUI.ScrollWindow.
  14733. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  14734. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14735. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  14736. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14737. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  14738. file since there are no equivalent X11 cursors
  14739. 2006-05-15 Atsushi Enomoto <[email protected]>
  14740. * MonthCalendar.cs : DateTimePicker should reflect selected date
  14741. on mouse*up*, not mouse*down*. Fixed originally reported part of
  14742. bug #76474.
  14743. 2006-05-15 Atsushi Enomoto <[email protected]>
  14744. * TabControl.cs : When argument index is equal or more than tab
  14745. count, just ignore. Fixed bug #78395.
  14746. 2006-05-15 Peter Dennis Bartok <[email protected]>
  14747. * Control.cs: Dispose all child controls when control is diposed (#78394)
  14748. 2006-05-14 Alexander Olk <[email protected]>
  14749. * ColorDialog.cs: Finally it is possible to select the color with
  14750. the text boxes
  14751. 2006-05-14 Alexander Olk <[email protected]>
  14752. * PrintDialog.cs: Fix typo
  14753. 2006-05-14 Alexander Olk <[email protected]>
  14754. * PrintDialog.cs: PrintDialog is not resizable
  14755. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  14756. color. Made some ToolBar drawing methods protected virtual.
  14757. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  14758. * PrintDialog.cs: Implementation of the PrintDialog
  14759. 2006-05-12 Chris Toshok <[email protected]>
  14760. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  14761. thumb, instead use MoveThumb. This has the side effect of making
  14762. most of the other thumb moving machinery use MoveThumb as well.
  14763. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  14764. need to actually invalidate the rectangle where the new thumb will
  14765. go.
  14766. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  14767. We force an Update() after, so it's not as fast as it could be,
  14768. but at least there's zero flicker and no droppings.
  14769. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  14770. (UpdateThumbPos): add another argument (dirty), which says whether
  14771. or not to calculate/add dirty regions which we later invalidate.
  14772. For cases where we know we're going to use MoveThumb, we pass
  14773. false for this. Otherwise, pass true.
  14774. 2006-05-12 Jackson Harper <[email protected]>
  14775. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  14776. the status bar.
  14777. 2006-05-12 Peter Dennis Bartok <[email protected]>
  14778. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  14779. and GetClipRegion methods and UserClipWontExposeParent property.
  14780. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  14781. overriding UserClipWontExposeParent property, setting to false, since
  14782. Win32 handles the required expose messages to draw our clipped parent
  14783. areas internally
  14784. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  14785. PaintEventStart to set the user clip region if set.
  14786. * Control.cs:
  14787. - Now internally tracking the Region for the control since we need to
  14788. store it if the handle is not yet created and only set it when it
  14789. becomes created. Before setting the region forced handle creation
  14790. - Added code to draw the parents underneath a user-clipped region
  14791. * Hwnd.cs: Added UserClip property
  14792. 2006-05-12 Chris Toshok <[email protected]>
  14793. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  14794. (set_Maximum): same.
  14795. (set_Minimum): same.
  14796. (set_SmallChange): same.
  14797. (OnMouseUpSB): remove the call to refresh when releasing the
  14798. thumb. We shouldn't need it.
  14799. 2006-05-12 Miguel de Icaza <[email protected]>
  14800. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  14801. AutoSize set to None, we do not need to relayout everything, we
  14802. just need to invalidate the current region.
  14803. (Draw): Do not draw the entire ClientArea, just redraw the
  14804. clip area being passed.
  14805. * MdiClient.cs: Make MdiClient constructor with the Form argument
  14806. internal.
  14807. 2006-05-12 Jackson Harper <[email protected]>
  14808. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  14809. parents background image, but strangely not their own.
  14810. - (DrawStatusBarPanel): Take into account horizontal alignment
  14811. when drawing the strings and icons.
  14812. 2006-05-12 Mike Kestner <[email protected]>
  14813. * ListBox.cs: avoid invalidations for focus when the collection is
  14814. empty.
  14815. 2006-05-12 Chris Toshok <[email protected]>
  14816. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  14817. invalidate the entire thumb area. Call InvalidateDirty which
  14818. limits the redraw to the thumb itself and surrounding pixels.
  14819. * XplatUIX11.cs (ScrollWindow): optimize copying.
  14820. 2006-05-12 Chris Toshok <[email protected]>
  14821. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  14822. Figure out the positioning/layout in a single pass instead of
  14823. multiple recursive invocations. Speeds up the initial display of
  14824. the data grid. Also, make many things private that were
  14825. originally public but unused outside this class.
  14826. 2006-05-11 Jackson Harper <[email protected]>
  14827. * MdiClient.cs: Improved layout code.
  14828. 2006-05-11 Jonathan Chambers <[email protected]>
  14829. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  14830. not SelectedObject.
  14831. 2006-05-11 Chris Toshok <[email protected]>
  14832. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  14833. union of that will always be {0,0,width,height}.
  14834. 2006-05-11 Jackson Harper <[email protected]>
  14835. * Form.cs: Match MS's DefaultSize for forms (they must have
  14836. changed the size in sp2).
  14837. 2006-05-11 Atsushi Enomoto <[email protected]>
  14838. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  14839. 2006-05-11 Atsushi Enomoto <[email protected]>
  14840. * TextControl.cs : Fixed bug #78109. This incorrect position
  14841. comparison caused crash on automatic line split.
  14842. * TextBoxBase.cs : reduce duplicate code.
  14843. 2006-05-10 Jackson Harper <[email protected]>
  14844. * MdiClient.cs: Active form is only sent to the back when using
  14845. the Next form functionality, when a form is clicked the current
  14846. active shouldn't be sent to the back.
  14847. - Layout the mdi windows when the container is first made visible.
  14848. * Form.cs: Give the MdiClient a ref to the containing form when we
  14849. create it.
  14850. 2006-05-10 Atsushi Enomoto <[email protected]>
  14851. * LinkLabel.cs : link_font could be uninitialized, so populate one
  14852. before actual use. Fixed bug #78340.
  14853. 2006-05-10 Atsushi Enomoto <[email protected]>
  14854. * XplatUIX11.cs : clipboard format native value is IntPtr.
  14855. Fixed bug #78283.
  14856. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14857. * Control.cs:
  14858. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  14859. which is passed up the parent chain by DefWndProc
  14860. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  14861. to DefWndProc (#77956)
  14862. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  14863. 2006-05-10 Jackson Harper <[email protected]>
  14864. * MdiClient.cs: We need to remove the controls from the mdi
  14865. collection, when we close the window.
  14866. * MdiWindowManager.cs: Special handling of closing mdi windows.
  14867. * InternalWindowManager.cs: Make the close method virtual so the
  14868. mdi window manager can handle it specially.
  14869. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  14870. * DataGrid.cs:
  14871. - Recalculate grid when the data source has changed
  14872. - Matches styles provided by user from all data sources types
  14873. * DataGridTableStyle.cs: For columns that provided by the user set the
  14874. with the preferred value is there was unassigned.
  14875. * CurrencyManager.cs: throw OnItemChanged event
  14876. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14877. * PictureBox.cs: Don't animate until handle is created. Start animation
  14878. when handle is created.
  14879. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14880. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  14881. current codebase.
  14882. * XEventQueue.cs: We don't need to provide the extra info
  14883. 2006-05-10 Jackson Harper <[email protected]>
  14884. * MdiClient.cs: If the mdi clients parent form has a background
  14885. image set, we draw that background image for the mdi area's
  14886. background.
  14887. 2006-05-10 Peter Dennis Bartok <[email protected]>
  14888. * TextBoxBase.cs: Set IBeam cursor (#78347)
  14889. 2006-05-10 Mike Kestner <[email protected]>
  14890. * ToolBar.cs: fix some text padding issues with ButtonSize
  14891. calculation. Update the default size to match MS documentation.
  14892. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  14893. button size. Fixes #78296.
  14894. 2006-05-10 Mike Kestner <[email protected]>
  14895. * ListBox.cs: use is_visible for scrollbar positioning in case the
  14896. control isn't on screen yet. Fix off by one with Right vs Width
  14897. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  14898. 2006-05-10 Jackson Harper <[email protected]>
  14899. * X11Dnd.cs: Drop to a control with another control on top of it.
  14900. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  14901. be modified in click handlers. TODO: Look for similar problems in
  14902. other controls.
  14903. 2006-05-09 Jackson Harper <[email protected]>
  14904. * Form.cs: Window managers need the old window state when setting
  14905. window state now.
  14906. * InternalWindowManager.cs: Allow the base mdi window manager to
  14907. handle more of the MDI only stuff (like maximize buttons).
  14908. * MdiWindowManager.cs: Fix some snafus in changing the window
  14909. state. Add all the menu functionality, for both popup and
  14910. maximized menus.
  14911. * MdiClient.cs: When a new form is selected the currently
  14912. activated form is sent to the back, this matches MS.
  14913. - Implement a new method to activate the next mdi child window.
  14914. 2006-05-08 Peter Dennis Bartok <[email protected]>
  14915. * Control.cs:
  14916. - Added new InternalCapture method to allow controls to prevent
  14917. the capture behaviour on the click handlers
  14918. - Switched to use InternalCapture
  14919. * ComboBox.cs:
  14920. - Using InternalCapture to prevent mouse captures from being released
  14921. on mouse button release (Fixes #78100)
  14922. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  14923. returns Form borders if a caption is present. (Fixes #78310)
  14924. 2006-05-08 Peter Dennis Bartok <[email protected]>
  14925. * TreeNode.cs: Changed serialization .ctor to not require every field
  14926. to be present. (#78265)
  14927. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  14928. 2006-05-05 Alexander Olk <[email protected]>
  14929. * MimeIcon.cs: for is faster than foreach for strings.
  14930. 2006-05-05 Mike Kestner <[email protected]>
  14931. * CheckedListBox.cs: update check handling code to not use selected.
  14932. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  14933. behavior for visual feedback, motion response, shift/ctrl handling,
  14934. and properly deal with all 4 selection modes. Updates to bounds
  14935. handling logic. Add scroll wheel support. [Fixes #77842]
  14936. 2006-05-05 Peter Dennis Bartok <[email protected]>
  14937. * ListView.cs:
  14938. - Moved adding of Implicit controls into .ctor. That way, subsequent
  14939. creation of the controls will not cause them to think they are
  14940. toplevel windows (fixes #78200 header problem)
  14941. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  14942. - Switched visibility setting of header control to use internal field
  14943. to avoid triggering handle creation
  14944. - Now checking if handle is created before causing a refresh when items
  14945. are added (This makes us now match handle creation time with MS)
  14946. * Splitter.cs: Removed loading of private splitter cursor, switched to
  14947. Cursors version now that that is loading the right ones
  14948. * Cursors.cs: Load proper splitter cursors from resources
  14949. * Cursor.cs: Added second method of loading resource cursors for the
  14950. VS.Net users amongst us
  14951. 2006-05-05 Mike Kestner <[email protected]>
  14952. * ListView.cs: give header_control a minimum size based on the
  14953. ListView size.
  14954. 2006-05-05 Peter Dennis Bartok <[email protected]>
  14955. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  14956. window seems to do that with metacity, so set that type. (#78120)
  14957. 2006-05-05 Mike Kestner <[email protected]>
  14958. * ListViewItem.cs: fix Details mode checkbox layout bug.
  14959. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  14960. at the end of the header, if it exists. [Fixes for #78200]
  14961. 2006-05-04 Jackson Harper <[email protected]>
  14962. * MdiClient.cs: Add a helper property to get the container form.
  14963. * MdiWindowManager.cs: We have to make sure to use the menu origin
  14964. when drawing the icons and buttons, this fixes maximized window
  14965. icons/buttons on win32.
  14966. * InternalWindowManager.cs: Reset the restore captions when a
  14967. window goes from Maximized to Minimized and vice versa. Move the
  14968. DrawMaximizedButtons into the MdiWindowManager source, tool
  14969. windows can't be maximized. NOTE: This could use a little
  14970. refactoring if time ever permits.
  14971. 2006-05-03 Jonathan Chambers <[email protected]>
  14972. * TextBox.cs: Add MWFCategoryAttributes
  14973. * TextBoxBase.cs: Add MWFCategoryAttributes
  14974. * Form.cs: Add MWFCategoryAttributes
  14975. 2006-05-03 Jonathan Chambers <[email protected]>
  14976. * Control.cs: Add MWFCategoryAttributes
  14977. * ScrollableControl.cs: Add MWFCategoryAttributes
  14978. 2006-05-03 Alexander Olk <[email protected]>
  14979. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  14980. Divider is true. Fix a little glitch in PropertyToolBar
  14981. drawing code
  14982. 2006-05-02 Peter Dennis Bartok <[email protected]>
  14983. * Control.cs:
  14984. - Dispose: Call base.Dispose, this causes the disposed event
  14985. to be fired (and probably other, more important stuff)
  14986. - SetVisibleCore: Set is_visible to true after creating the
  14987. window so that the window still gets created invisible (if
  14988. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  14989. to generate a WM_ACTIVE message
  14990. * Form.cs: Call Dispose when we want to destroy the window, instead of
  14991. just destroying the handle (Dispose will do that for us)
  14992. * XplatUIX11.cs:
  14993. - RootWindow also needs a queue, so we can properly process the
  14994. property change events from RootWindow (like Activate)
  14995. - Generatic synthetic WM_ACTIVE message when the active window is
  14996. being destroyed
  14997. 2006-05-01 Peter Dennis Bartok <[email protected]>
  14998. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  14999. bounds are changed
  15000. 2006-05-01 Peter Dennis Bartok <[email protected]>
  15001. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  15002. for determining width and height (image might not be assigned if
  15003. we're drawing an imagelist)
  15004. 2006-05-01 Peter Dennis Bartok <[email protected]>
  15005. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  15006. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  15007. height from system
  15008. * Theme.cs: No longer returns hardcoded menu height, instead calls
  15009. new driver method
  15010. * Form.cs (OnLoad): Scaling happens before triggering Load events
  15011. on MS (# 78257)
  15012. 2006-05-01 Mike Kestner <[email protected]>
  15013. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  15014. 2006-04-30 Peter Dennis Bartok <[email protected]>
  15015. * TextBoxBase.cs: Removed Fixme
  15016. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  15017. 2006-04-30 Peter Dennis Bartok <[email protected]>
  15018. * XplatUIX11.cs:
  15019. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  15020. the rectangle relative to the parent, considering borders. We
  15021. don't really want that.
  15022. - ScrollWindow: Fixed warning to be more understandable
  15023. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  15024. scrollbars and scroll only the visible area
  15025. * RichTextBox.cs: Removed debug output
  15026. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15027. * NumericUpDown.cs (Text): Just use base
  15028. * UpDownBase.cs: Ensure txtView is created before using it
  15029. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15030. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  15031. casting to IntPtr to avoid 64bit overflow errors
  15032. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15033. * Control.cs:
  15034. - AllowDrop: Don't force handle creation.
  15035. - CreateHandle: Added call to tell driver if we're allowed to drop
  15036. 2006-04-27 Alexander Olk <[email protected]>
  15037. * FileDialog.cs: Remember the last directory not only for the
  15038. current instance but also for new FileDialog instances.
  15039. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15040. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  15041. broke sending async messages
  15042. 2006-04-29 Peter Dennis Bartok <[email protected]>
  15043. * XplatUIX11.cs:
  15044. - ScrollWindow: Fixed method. We finally generate expose events again
  15045. for scrolled areas. This was causing 'garbage' when scrolling
  15046. textbox and other controls that used ScrollWindow
  15047. - Switched from using the regular queue for paint events to the MS
  15048. model of 'generating' paint events when the queue is empty.
  15049. We use the new XQueueEvent.Paint subclass to store which windows
  15050. need painting.
  15051. - AddExpose now takes the x/y/width/height of the exposed area
  15052. and inserts the window into the paint queue if not already there
  15053. - InvalidateWholeWindow: Switched to use new AddExpose method
  15054. - UpdateMessageQueue: Added which queue to monitor for paint events
  15055. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  15056. the unlikely case nothing above handles it. We reset the expose
  15057. pending states to get them off the queue.
  15058. - GetMessage: Now pulls a paint event if no other events are in the
  15059. queue
  15060. - Invalidate: Switched to new AddExpose method
  15061. - PeekMessage: Updated to understand pending paint events
  15062. - UpdateWindow: Fixed logic bug. We were only updating if the window
  15063. didn't need updating. Also switched to sending WM_PAINT directly,
  15064. like MS does.
  15065. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  15066. and random access Remove(). The random access is needed to handle
  15067. UpdateWindow() where a WM_PAINT is sent directly without accessing
  15068. the queue.
  15069. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  15070. allow for better feedback when scrolling. Scrollbars are small and
  15071. the immediate update should make it 'feel' more responsive without
  15072. slowing things down. ScrollBar still needs it's invaliate logic
  15073. updated to not always invalidate the whole bar on certain changes.
  15074. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  15075. * Control.cs:
  15076. (BackColor): if the control does not support a transparent background,
  15077. return the default backcolor when the parent backcolor is transparent.
  15078. 2006-04-28 Peter Dennis Bartok <[email protected]>
  15079. * Application.cs: Updated to new StartLoop/GetMessage API
  15080. * RichTextBox.cs: Provide some output on RTF parsing errors
  15081. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  15082. new queue_id argument to GetMessage and PeekMessage to allow faster
  15083. handling of per-thread queues in drivers.
  15084. * Hwnd.cs: Added Queue tracking and property
  15085. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  15086. * XEventQueue.cs: Added thread trackingA
  15087. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  15088. * XplatUIX11.cs:
  15089. - Implemented new per-thread queue
  15090. - GetMessage: Fixed return/break behaviour on several cases. We were
  15091. returning stale messages in some cases, instead of just processing
  15092. the next message
  15093. 2006-04-27 Jonathan Chambers <[email protected]>
  15094. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  15095. 2006-04-27 Peter Dennis Bartok <[email protected]>
  15096. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  15097. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  15098. 2006-04-27 Jonathan Chambers <[email protected]>
  15099. * PropertyGridView.cs: Fix drop down width.
  15100. 2006-04-27 Alexander Olk <[email protected]>
  15101. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  15102. a mess in DrawToolBar, so I removed one of them.
  15103. 2006-04-27 Alexander Olk <[email protected]>
  15104. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  15105. needed (clip). Otherwise we get artifacts.
  15106. 2006-04-26 Peter Dennis Bartok <[email protected]>
  15107. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  15108. dimension is fixed
  15109. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  15110. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  15111. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  15112. if it matches the scale base font (avoids unneeded scaling)
  15113. 2006-04-26 Alexander Olk <[email protected]>
  15114. * X11DesktopColors.cs: One gtk_init_check should be enough
  15115. 2006-04-26 Peter Dennis Bartok <[email protected]>
  15116. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  15117. match MS behaviour
  15118. 2006-04-26 Peter Dennis Bartok <[email protected]>
  15119. * TextBoxBase.cs:
  15120. - Generate OnTextChanged for Backspace even if we're only deleting
  15121. the current selection
  15122. - When setting the Text property, only select all text if the
  15123. control does not have focus when it is being set. Otherwise
  15124. just place the cursor at the beginning of the control
  15125. 2006-04-26 Alexander Olk <[email protected]>
  15126. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  15127. Added a little helper to draw PropertyGrid ToolBar with a different
  15128. border and a different BackColor.
  15129. * PropertyGrid.cs: Some background parts didn't get painted with the
  15130. correct background color. Added a class that helps us to draw the
  15131. correct border for PropertyGridView and a class that helps us to
  15132. draw ToolBars with a different backcolor
  15133. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  15134. 2006-04-25 Jonathan Chambers <[email protected]>
  15135. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  15136. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  15137. 2006-04-25 Peter Dennis Bartok <[email protected]>
  15138. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  15139. into the palette entries. Also, since we're working on a copy
  15140. we needed to copy the palette back onto the bitmap.
  15141. * Cursor.cs: Same fix as XplatUIWin32.cs.
  15142. 2006-04-25 Peter Dennis Bartok <[email protected]>
  15143. * ImageListStreamer.cs: Need to read the var (or we're off)
  15144. 2006-04-25 Peter Dennis Bartok <[email protected]>
  15145. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  15146. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  15147. TextBoxBase.cs: Unused var fixes
  15148. * AxHost.cs: Small 2.0 fix
  15149. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  15150. as it seems that is what at least Metacity expects. This will make
  15151. icons show up on 64bit platforms. We still have some 64bit size
  15152. issues, though, since the startup app window size still won't match.
  15153. 2006-04-25 Mike Kestner <[email protected]>
  15154. * *.cs: cleanup newly reported exception var unused warnings.
  15155. 2006-04-25 Alexander Olk <[email protected]>
  15156. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  15157. ms
  15158. 2006-04-25 Alexander Olk <[email protected]>
  15159. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  15160. image. The image position is always the same, no matter if the
  15161. button is pressed or not.
  15162. 2006-04-25 Alexander Olk <[email protected]>
  15163. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  15164. selection and set the correct filename for SaveFileDialog.
  15165. Patch by Emery Conrad.
  15166. 2006-04-24 Mike Kestner <[email protected]>
  15167. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  15168. check for item.X outside the ClientRect instead of item.Y. Fixes
  15169. #78151.
  15170. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  15171. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  15172. trust that value blindly and do some sanity check. Fixes bug #77814.
  15173. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  15174. * ImageListStreamer.cs: save the mask as a 1bpp image.
  15175. 2006-04-21 Mike Kestner <[email protected]>
  15176. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  15177. pass Checked and Indeterminate to the Theme Engine. Improve
  15178. encapsulation with ListBox.
  15179. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  15180. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  15181. nested types. Move all CheckState functionality to CheckedListBox.
  15182. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  15183. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  15184. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  15185. single base list. Fix scrollbar sizing and placement to mirror MS.
  15186. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  15187. used.
  15188. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  15189. for CheckedListBox by using new DrawItemState info. Center the
  15190. checkboxes on the items. Use new StringFormat property.
  15191. 2006-04-18 Jackson Harper <[email protected]>
  15192. * Form.cs: MdiChildren don't do default locations the same way as
  15193. regular forms. This prevents a crash when trying to position the
  15194. mdi windows.
  15195. 2006-04-17 Jonathan Chambers <[email protected]>
  15196. * PropertyGridTextBox.cs: Formatting, copyright
  15197. * PropertiesTab.cs: Formatting
  15198. * PropertyGrid.cs: Formatting
  15199. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  15200. click toggling of values
  15201. 2006-04-17 Peter Dennis Bartok <[email protected]>
  15202. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  15203. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  15204. every time a control is created
  15205. * Application.cs: Removed obsolete EnableRTLMirroring method
  15206. 2006-04-18 Gert Driesen <[email protected]>
  15207. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  15208. SelectedIndex to -1. Fixes bug #78121.
  15209. 2006-04-17 Jackson Harper <[email protected]>
  15210. * Binding.cs: Handle null values for Current and BindingContext.
  15211. This occurs when binding is a little delayed.
  15212. * CurrencyManager.cs: return null for Current when there are no
  15213. items in the list.
  15214. - Hookup to the listchanged event on the DataView and update
  15215. bindings when the list is changed. This fixes late binding of
  15216. controls.
  15217. 2006-04-17 Jackson Harper <[email protected]>
  15218. * X11Dnd.cs:
  15219. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  15220. Ringenbach.
  15221. 2006-04-15 Alexander Olk <[email protected]>
  15222. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  15223. place
  15224. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  15225. with the correct ButtonState
  15226. 2006-04-14 Peter Dennis Bartok <[email protected]>
  15227. * XplatUIX11.cs: Improved distinguishing between window types to
  15228. tell the WM a type closer to what the app wants (Fixes #78107)
  15229. 2006-04-14 Alexander Olk <[email protected]>
  15230. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  15231. GrabHandle
  15232. 2006-04-14 Alexander Olk <[email protected]>
  15233. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  15234. drawing code to reflect the size grip changes
  15235. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  15236. * ImageListStreamer.cs: fix handling of the mask that follows the main
  15237. bitmap when deserializing and serialize it properly. The generated mask
  15238. should better be a 1bpp image, but I'll do that later.
  15239. 2006-04-13 Alexander Olk <[email protected]>
  15240. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  15241. path doesn't fit into some of our Current.Places
  15242. 2006-04-13 Jackson Harper <[email protected]>
  15243. * ComboBox.cs: Use borders instead of drawing our own decorations,
  15244. try to obey correct rules for heights.
  15245. * Theme.cs:
  15246. * ThemeNice.cs:
  15247. * ThemeClearLooks.cs:
  15248. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  15249. this is now handled by borders.
  15250. - Remove unused DrawListBoxDecorationSize method.
  15251. 2006-04-13 Mike Kestner <[email protected]>
  15252. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  15253. reported by Alex.
  15254. 2006-04-13 Alexander Olk <[email protected]>
  15255. * ThemeWin32Classic.cs:
  15256. - Fixed CPDrawStringDisabled
  15257. - Corrected drawing of disabled menu items
  15258. - Fixed drawing of disabled radio buttons (bug #78095)
  15259. - Draw check in a disabled CheckBox with color ControlDark
  15260. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15261. * Form.cs: Use the provided width when calculating the menu size;
  15262. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  15263. and ClientSize.Width won't be updated yet
  15264. * Application.cs: Use Visible instead of Show() to make form visible,
  15265. this way we create the handle later and menusize is considered
  15266. 2006-04-12 Mike Kestner <[email protected]>
  15267. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  15268. reporting.
  15269. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15270. * TextBox.cs: Implemented context menu
  15271. 2006-04-12 Mike Kestner <[email protected]>
  15272. * ListView.cs: implement box selection. fixes #77838.
  15273. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  15274. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15275. * XplatUIX11.cs: Added setting of window type when transient window
  15276. is created (metacity would move it otherwise)
  15277. * X11Structs.cs: Added WINDOW_TYPE atoms
  15278. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  15279. background (the control is Opaque but still wants transparent
  15280. backgrounds)
  15281. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15282. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  15283. that set Opaque but don't mean it (like all ButtonBase-derived
  15284. controls) to still draw their background
  15285. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  15286. the background
  15287. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15288. * Control.cs (PaintControlBackground): Set the graphics object
  15289. on our PaintEvent to null to prevent it from being disposed
  15290. when the PaintEvent gets disposed
  15291. 2006-04-12 Alexander Olk <[email protected]>
  15292. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  15293. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  15294. 2006-04-12 Peter Dennis Bartok <[email protected]>
  15295. * Control.cs:
  15296. - Added transparency check to BackColor property. Transparent
  15297. backgrounds are only allowed if the control styles permit it
  15298. - Added recursive painting of parent control background and
  15299. foreground if a control with a transparent backcolor is drawn
  15300. (Thanks to Tim Ringenback for providing his 'hack' as a base
  15301. for this patch) Fixes #77985 and #78026.
  15302. - Added Opaque style check before calling OnPaintBackground, no
  15303. need to draw the background if the control is opaque
  15304. - Removed ControlAccessibleObject owner variable (inherited from
  15305. base, no need to define again)
  15306. - Added some documentation links explaining the drawing events
  15307. and styles
  15308. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15309. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  15310. that the affected control is the located at the left border of our
  15311. parent (Fixes #77936)
  15312. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15313. * TextBoxBase.cs: When rendering disabled or readonly controls,
  15314. draw the background with 'Control' instead of 'Window' color as
  15315. long as the user hasn't specifically set a color
  15316. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15317. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  15318. since that won't be updated if the user types text (only if it's
  15319. programatically set)
  15320. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15321. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  15322. layout changes do to app-triggered resizes will have the proper
  15323. display rectangle for layout
  15324. 2006-04-11 Alexander Olk <[email protected]>
  15325. * ThemeWin32Classic.cs:
  15326. - Make use of the SystemBrushes and SystemPens wherever possible
  15327. - Corrected some highlight colors
  15328. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  15329. drawing
  15330. * Theme.cs: Added Empty field to CPColor struct
  15331. 2006-04-11 Peter Dennis Bartok <[email protected]>
  15332. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  15333. is displayed when calculating the display rectangle. Thanks to Mike
  15334. for teaching me the err of my ways.
  15335. 2006-04-10 Peter Dennis Bartok <[email protected]>
  15336. * ScrollableControl.cs:
  15337. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  15338. (instead of 0,0) and we now return the real width/height instead of
  15339. just the clientrectangle, adjusted for padding. The rectangle is
  15340. now cached and created by the new CalculateDisplayRectangle method.
  15341. - Created new CalculateDisplayRectange method, which basically does
  15342. what get_DisplayRectangle() did originally, but now using the
  15343. right edge instead of DisplayRectangle to determine the size of
  15344. our scrollbars
  15345. - get_Canvas(): Fixed it to properly calculate canvas for
  15346. right/bottom controls which seem to be placed to the right/bottom
  15347. of any controls that have a fixed location
  15348. - Removed TODO that's taken care of
  15349. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  15350. and SetDisplayRectLocation according to new MSDN2 docs
  15351. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  15352. event when that is called, this is added for compatibility
  15353. - ScrollControlIntoView(): Implemented.
  15354. - Switched scrollbars to be implicit, they shouldn't be selectable
  15355. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  15356. call it when the active control is set/changed
  15357. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  15358. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  15359. implicit_control variable (used for native Win32 message generation)
  15360. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  15361. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  15362. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  15363. * XplatUIStructs.cs: Added ScrollBarCommands enum
  15364. 2006-04-10 Jackson Harper <[email protected]>
  15365. * ButtonBase.cs:
  15366. * CheckedListBox.cs:
  15367. * ComboBox.cs:
  15368. * DataGrid.cs:
  15369. * DataGridView.cs:
  15370. * Form.cs:
  15371. * GroupBox.cs:
  15372. * ListBox.cs:
  15373. * PrintPreviewControl.cs:
  15374. * ProgressBar.cs:
  15375. * PropertyGrid.cs:
  15376. * Splitter.cs:
  15377. * StatusBar.cs:
  15378. * TrackBar.cs:
  15379. * UpDownBase.cs: Fixup base event overrides.
  15380. 2006-04-06 Mike Kestner <[email protected]>
  15381. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  15382. all user-initiated value changes to min <= value <= max-thumbsz+1.
  15383. (set_Value): check for vert/horiz when calculating new thumb position.
  15384. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  15385. like MS does.
  15386. (OnMouseMoveSB): refactor the thumb dragging code and refine
  15387. invalidation logic to reduce flicker.
  15388. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  15389. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  15390. (UpdateThumbPosition): small code readability cleanup
  15391. 2006-04-10 Alexander Olk <[email protected]>
  15392. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  15393. different
  15394. 2006-04-08 Alexander Olk <[email protected]>
  15395. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  15396. 2006-04-08 Alexander Olk <[email protected]>
  15397. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  15398. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  15399. This dramatically reduces the number of Pen.Dispose calls.
  15400. Where possible call ResPool methods only once instead of calling it
  15401. over and over again (for example for the same color).
  15402. 2006-04-06 Mike Kestner <[email protected]>
  15403. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  15404. Also remove an unused private field on the collection. Fixes #77972.
  15405. 2006-04-06 Alexander Olk <[email protected]>
  15406. * ThemeNice.cs: Added ToolBar drawing code
  15407. 2006-04-06 Mike Kestner <[email protected]>
  15408. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  15409. I'm assuming that means we need to look up the toplevel for the
  15410. provided control. Fixes the crash trace in #77911 but exposes another
  15411. crash in some strange reflection usage in NDocGui.
  15412. 2006-04-06 Alexander Olk <[email protected]>
  15413. * ThemeNice.cs: Gave it a little silver touch and added Images
  15414. method
  15415. * FontDialog.cs: FontDialog is not resizable
  15416. * FileDialg.cs: Added SizeGripStyle.Show
  15417. 2006-04-05 Jackson Harper <[email protected]>
  15418. * KeyboardLayouts.cs: Remove warning.
  15419. 2006-04-05 Jackson Harper <[email protected]>
  15420. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  15421. all of our controls instead of Paint +=.
  15422. * ListBox.cs:
  15423. * ListView.cs:
  15424. * MenuAPI.cs:
  15425. * MessageBox.cs:
  15426. * NotifyIcon.cs:
  15427. * ProgressBar.cs:
  15428. * ScrollBar.cs:
  15429. * Splitter.cs:
  15430. * StatusBar.cs:
  15431. * TabControl.cs:
  15432. * TextBoxBase.cs:
  15433. * ToolBar.cs:
  15434. * TrackBar.cs:
  15435. * UpDownBase.cs:
  15436. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  15437. use OnPaintInternal. Remove Width/Height and Visible checks in
  15438. paint handler, this is done at a higher level now.
  15439. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  15440. * PaintEventArgs.cs: Add a handled flag so controls that don't
  15441. want anymore painting after OnPaintInternal can make sure OnPaint
  15442. isn't called.
  15443. 2006-04-05 Mike Kestner <[email protected]>
  15444. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  15445. state of the form, so that we don't process events when Modal dialogs
  15446. are up. Fixes #77922.
  15447. 2006-04-05 Alexander Olk <[email protected]>
  15448. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  15449. checking is done.
  15450. 2006-04-05 Mike Kestner <[email protected]>
  15451. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  15452. 2006-04-05 Mike Kestner <[email protected]>
  15453. * ListView.cs (HeaderMouseMove): null guarding for the over column
  15454. when setting up the drag_to_index. Fixes #78015.
  15455. 2006-04-04 Peter Dennis Bartok <[email protected]>
  15456. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  15457. in the taskbar. Transient windows seem to accomplish that.
  15458. 2006-04-04 Peter Dennis Bartok <[email protected]>
  15459. * Form.cs:
  15460. - Re-enabled CreateParams.X/Y code for FormStartPosition
  15461. - Added code for manual placement when creating the Control
  15462. - Incomplete patch to treat MDI forms differently when
  15463. setting the ClientSizeCore. (Still need to figure out handling
  15464. x/y coords there)
  15465. * XplatUIX11.cs:
  15466. - When we're explicitly setting the X/Y position of a non-Child
  15467. window, let the WM know. Metacity really wants this.
  15468. 2006-04-04 Alexander Olk <[email protected]>
  15469. * ThemeNice.cs: Added CPDrawButton
  15470. 2006-04-04 Alexander Olk <[email protected]>
  15471. * ThemeNice.cs: Changed the color for focused buttons and activated
  15472. the arrows for small scroll buttons.
  15473. 2006-04-04 Alexander Olk <[email protected]>
  15474. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  15475. anymore. Changed some method modifiers to protected (virtual)
  15476. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  15477. changes
  15478. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  15479. Updated drawing of menus, buttons and progressbars; added
  15480. CPDrawBorder3D
  15481. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  15482. * ImageListStreamer.cs: implemented serialization/deserialization
  15483. of the images.
  15484. 2006-04-03 Alexander Olk <[email protected]>
  15485. * ThemeWin32Classic.cs:
  15486. - Removed all the DrawFrameControl stuff; CPDrawButton,
  15487. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  15488. inside the methods
  15489. - Updated and corrected the drawing code of CPDrawButton,
  15490. CPDrawCheckBox and CPDrawRadioButton to better match ms
  15491. - Updated theme checkbox and radiobutton code to use the CP*
  15492. methods
  15493. 2006-03-31 Peter Dennis Bartok <[email protected]>
  15494. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  15495. bug is fixed
  15496. 2006-03-31 Jackson Harper <[email protected]>
  15497. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  15498. sometimes.
  15499. * UpDownBase.cs: Don't CreateGraphics manually, use a
  15500. Refresh. Ideally we would invalidate the correct areas here.
  15501. 2006-03-31 Peter Dennis Bartok <[email protected]>
  15502. * XplatUIX11.cs:
  15503. - We now track the mapping state of windows. If a window (or
  15504. one of it's parents) is not mapped we no longer permit
  15505. WM_PAINT messages to be generated since we'd otherwise get
  15506. lots of BadMatch X errors. Jackson did all the work figuring
  15507. out the problem.
  15508. - Destroying the caret if the window it's contained in is
  15509. destroyed. Can't use regular DestroyCaret method since it
  15510. might fall into a drawing function (trying to remove the
  15511. caret) and with that generate new BadMatch errors. Again,
  15512. Jackson tracked this down.
  15513. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  15514. make sure we send the messages to all windows. (The old code
  15515. would send the WM_DESTROY to the window, and then all child
  15516. windows would be 'gone' because the WM_DESTROY handle lookup
  15517. would no longer find the destroyed window)
  15518. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  15519. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  15520. 2006-03-31 Jackson Harper <[email protected]>
  15521. * ScrollableControl.cs: Dont recalc if we are not visible.
  15522. 2006-03-31 Mike Kestner <[email protected]>
  15523. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  15524. the visibility branch.
  15525. 2006-03-31 Jackson Harper <[email protected]>
  15526. * ScrollBar.cs: Cap values when incrementing/decrementing.
  15527. 2006-03-31 Mike Kestner <[email protected]>
  15528. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  15529. * ToolTip.cs: guard against timer expirations with no active control.
  15530. Not sure why it happened.
  15531. 2006-03-31 Mike Kestner <[email protected]>
  15532. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  15533. text.
  15534. * ToolTip.cs: Position the tooltip based on where the cursor is at
  15535. popup time, not at MouseEnter time. Add a Down state so that we don't
  15536. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  15537. positioning offset. Lookup DisplaySize at positioning time, since it
  15538. can theoretically change during invocation.
  15539. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  15540. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  15541. 2006-03-31 Alexander Olk <[email protected]>
  15542. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  15543. Fixes behaviour when the Text property of the box is String.Empty
  15544. 2006-03-31 Peter Dennis Bartok <[email protected]>
  15545. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  15546. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  15547. a window)
  15548. 2006-03-31 Alexander Olk <[email protected]>
  15549. * FileDialog.cs: Visual enhancement for the popup buttons in
  15550. PopupButtonPanel
  15551. 2006-03-31 Alexander Olk <[email protected]>
  15552. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  15553. code
  15554. 2006-03-30 Alexander Olk <[email protected]>
  15555. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  15556. highlighted menu items to match ms
  15557. 2006-03-30 Peter Dennis Bartok <[email protected]>
  15558. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  15559. 2006-03-30 Mike Kestner <[email protected]>
  15560. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  15561. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  15562. go active to account for HotLight to Selected transition.
  15563. * MenuItem.cs: add internal Selected prop. Fill out the Status
  15564. property by calculating it from item info. Add HotLight,
  15565. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  15566. 2006-03-30 Mike Kestner <[email protected]>
  15567. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  15568. 2006-03-29 Jackson Harper <[email protected]>
  15569. * Form.cs: Implement TODO.
  15570. 2006-03-29 Peter Dennis Bartok <[email protected]>
  15571. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  15572. missing proper dialog setup in the constructor
  15573. 2006-03-29 Peter Dennis Bartok <[email protected]>
  15574. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  15575. * Control.cs:
  15576. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  15577. - Fixed ResetBindings and removed TODO
  15578. - Added check for cross-thread calls to get_Handle()
  15579. - Added Marshaller attribute for set_Font to satisfy class status
  15580. * FontDialog.cs: Removed TODOs that seemed implemented
  15581. * UpDownBase.cs: Removed unneeded TODO and Fixme
  15582. * MessageBox.cs: Implemented support for Default button and removed TODO
  15583. * FileDialog.cs: Removed obsolete TODO
  15584. * DomainUpDown.cs: Removed obsolete TODO
  15585. * ButtonBase.cs: Removed obsolete TODO
  15586. * XplatUIWin32.cs: Removed obsolete TODO
  15587. * Form.cs:
  15588. - Removed obsolete TODO
  15589. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  15590. internal status updates
  15591. - Making sure the active control is selected when the control is created
  15592. * CurrencyManager.cs: Removed obsolete TODO
  15593. 2006-03-29 Mike Kestner <[email protected]>
  15594. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  15595. of PrintPreviewDialog and RichTextBox.
  15596. 2006-03-29 Alexander Olk <[email protected]>
  15597. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  15598. DarkDark, Light and LightLight colors for a specific color
  15599. * ThemeWin32Classic.cs:
  15600. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  15601. Appearance = Button
  15602. - Make use of the new ResPool helper CPColor
  15603. - Draw ProgressBar and StatusBar with correct 3D borders
  15604. 2006-03-29 Alexander Olk <[email protected]>
  15605. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  15606. 2006-03-28 Mike Kestner <[email protected]>
  15607. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  15608. calculating col/row counts.
  15609. 2006-03-28 Mike Kestner <[email protected]>
  15610. * ColumnHeader.cs:
  15611. * ListView.cs:
  15612. * ListViewItem.cs:
  15613. * Menu.cs:
  15614. switch to explicit interface method implementation for some methods
  15615. corcompare identifies as inconsistent with MS.
  15616. 2006-03-28 Mike Kestner <[email protected]>
  15617. * MainMenu.cs:
  15618. * Menu.cs:
  15619. add a few missing methods from the class status output.
  15620. 2006-03-28 Alexander Olk <[email protected]>
  15621. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  15622. correct.
  15623. 2006-03-28 Mike Kestner <[email protected]>
  15624. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  15625. 2006-03-27 Mike Kestner <[email protected]>
  15626. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  15627. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  15628. 2006-03-27 Alexander Olk <[email protected]>
  15629. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  15630. 2006-03-25 Alexander Olk <[email protected]>
  15631. * ThemeWin32Classic.cs:
  15632. - GroupBox: Inserted a little gap between the text and the lines
  15633. on the right side
  15634. - Made the code in CPDrawBorder3D more readable
  15635. - Corrected the drawing location of the up and down arrows in
  15636. CPDrawScrollButton
  15637. 2006-03-25 Alexander Olk <[email protected]>
  15638. * ControlPaint.cs: Corrected line widths in DrawBorder for
  15639. ButtonBorderStyle Inset and Outset
  15640. 2006-03-25 Alexander Olk <[email protected]>
  15641. * ThemeWin32Classic.cs:
  15642. - Rewrote the totally broken CPDrawBorder3D method. That was
  15643. one of the main problems for the terrific ThemeWin32Classic
  15644. look
  15645. - Updated and corrected Button drawing
  15646. - Correct the dimensions of the SizeGrip to match ms ones
  15647. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  15648. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  15649. Border3DStyle.Sunken to match ms.
  15650. 2006-03-25 Alexander Olk <[email protected]>
  15651. * ThemeWin32Classic.cs: First small part of the "de-uglify
  15652. ThemeWin32Classic" effort, SizeGrip
  15653. 2006-03-24 Jackson Harper <[email protected]>
  15654. * XplatUIX11.cs: Give a max idle time of one second, this matches
  15655. MS and forces an Idle event every second when there are no other
  15656. events in the queue.
  15657. 2006-03-24 Mike Kestner <[email protected]>
  15658. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  15659. * ListView.Item.cs: fix layout issues with null image lists and images
  15660. smaller than checkbox size.
  15661. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  15662. mode like MS does. It's weird, but consistent. ;-)
  15663. Fixes #77890.
  15664. 2006-03-24 Mike Kestner <[email protected]>
  15665. * ListView.cs: Scroll wheel support for the item control. Fixes
  15666. #77839.
  15667. 2006-03-23 Jackson Harper <[email protected]>
  15668. * ScrollableControl.cs: Special case negative sized areas, not
  15669. zero.
  15670. * MonthCalendar.cs: Save the rect of the clicked date so we can
  15671. use it for invalidation.
  15672. - Try to cut down on the number of invalidates
  15673. - Invalidate the rect the mouse is over and was over when moving
  15674. the mouse, so we get the focus box following the cursor.
  15675. 2006-03-23 Mike Kestner <[email protected]>
  15676. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  15677. focus rectangle drawing. Fixes #77835.
  15678. 2006-03-23 Mike Kestner <[email protected]>
  15679. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  15680. the if and else if and reverting back to the original == check on the
  15681. None conditional.
  15682. 2006-03-23 Alexander Olk <[email protected]>
  15683. * FontDialog.cs: Update the example panel if the selected index of
  15684. the fontListBox changes.
  15685. 2006-03-23 Alexander Olk <[email protected]>
  15686. * FileDialog.cs: Make FileDialog remember which directory it was in
  15687. last in the same execution.
  15688. 2006-03-22 Mike Kestner <[email protected]>
  15689. * FileDialog.cs: make the DropDownMenu on the toolbar display
  15690. RadioChecks since they are mutually exclusive and that's what MS does.
  15691. 2006-03-22 Mike Kestner <[email protected]>
  15692. * Theme.cs: add Color param to CPDrawMenuGlyph.
  15693. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  15694. checks and radio marks and arrows are visible on highlighted items.
  15695. * ControlPaint.cs: update to use new Theme signature.
  15696. 2006-03-22 Mike Kestner <[email protected]>
  15697. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  15698. is active. Fixes #77870.
  15699. 2006-03-22 Alexander Olk <[email protected]>
  15700. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  15701. to be focused/selected after startup
  15702. 2006-03-22 Alexander Olk <[email protected]>
  15703. * ColorDialog.cs:
  15704. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  15705. CustomColors and ShowHelp properties
  15706. - Some internal rewrites to get better results when using the
  15707. ColorMatrix
  15708. 2006-03-22 Mike Kestner <[email protected]>
  15709. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  15710. HoverSelection. Fixes #77836.
  15711. 2006-03-22 Mike Kestner <[email protected]>
  15712. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  15713. ToggleButtons. (De)Sensitize the Back button around a stack count of
  15714. 1, not 0. Update ButtonSize based on a pixel count of the win32
  15715. control. Adjust the toolbar size/location for new button size.
  15716. 2006-03-22 Jackson Harper <[email protected]>
  15717. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  15718. true.
  15719. * ScrollBar.cs: When doing increments and decrements we need to
  15720. set the Value property so that ValueChanged gets raised. A
  15721. possible optimization here would be to make an internal SetValue
  15722. that doesn't invalidate immediately.
  15723. * ToolTip.cs: Tooltips get added to their container (when
  15724. supplied) so they get disposed when the container is disposed.
  15725. - Don't create tooltips for String.Empty. This prevents all these
  15726. little 2-3 pixel windows from showing up when running nunit-gui
  15727. and driving me mad.
  15728. * Form.cs: Don't set topmost when setting the owner if the handles
  15729. haven't been created yet. The topmost set will happen when the
  15730. handles are created.
  15731. 2006-03-22 Peter Dennis Bartok <[email protected]>
  15732. * XplatUIX11.cs:
  15733. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  15734. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  15735. visible (to allow them to recalculate their sizes)
  15736. 2006-03-21 Mike Kestner <[email protected]>
  15737. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  15738. methods. Removed a ton of redundant code. Still not really happy with
  15739. the border rendering, but I think that's mainly because of the
  15740. ControlDarkDark being black instead of a dark grey. Depending on how
  15741. close we want to be, we might want to revisit those color choices.
  15742. Among the new features added during the refactor were DropDownArrow
  15743. pressed rendering, Disabled image rendering. Proper flat appearance
  15744. boundary rendering. Removed the Divider and Wrapping dividers since I
  15745. can't figure out any combination of themes and conditions to make the
  15746. MS control draw a horizontal line on a toolbar despite what the
  15747. Divider property docs indicate.
  15748. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  15749. conditions and incorrect layout. Updated to coding standard.
  15750. * ToolBarButton.cs: refactored layout and positioning code from
  15751. ToolBar to here. Invalidate wherever possible instead of forcing
  15752. redraws of the whole toolbar.
  15753. (Known remaining issues: explicit ButtonSize smaller than provided
  15754. images.)
  15755. 2006-03-21 Mike Kestner <[email protected]>
  15756. * ContextMenu.cs (Show): use the position parameter instead of just
  15757. showing at the MousePosition.
  15758. 2006-03-21 Jackson Harper <[email protected]>
  15759. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  15760. control handle this.
  15761. * TreeNodeCollection.cs: If we are clearing the root node we need
  15762. to reset top_node so calcs can still happen.
  15763. * ThemeWin32Classic.cs: This is a Flags so we need to check
  15764. properly.
  15765. 2006-03-21 Jackson Harper <[email protected]>
  15766. * DataGrid.cs: Create columns when the binding context has been
  15767. changed.
  15768. * X11Structs.cs: Keysyms are uints.
  15769. - Add size to fix build.
  15770. 2006-03-21 Peter Dennis Bartok <[email protected]>
  15771. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  15772. XplatUIOSX.cs:
  15773. - Added ResetMouseHover method to allow controls to retrigger
  15774. hovering if they need it more than once
  15775. - Implemented MouseHoverTime and MouseHoverSize properties
  15776. * Timer.cs: Start() must reset the interval
  15777. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  15778. properties
  15779. 2006-03-21 Jackson Harper <[email protected]>
  15780. * X11Keyboard.cs: improved layout detection. Move the nonchar
  15781. tables into this file.
  15782. * KeyboardLayouts.cs: Move the tables into resource files.
  15783. 2006-03-21 Mike Kestner <[email protected]>
  15784. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  15785. 2006-03-21 Alexander Olk <[email protected]>
  15786. * Mime.cs: Various speed optimizations. Looking up mime types
  15787. is now 2 times faster than before
  15788. 2006-03-17 Peter Dennis Bartok <[email protected]>
  15789. * CreateParams.cs: Added internal menu field
  15790. * Control.cs:
  15791. - Switched call order for UpdateBounds; now we always call
  15792. the one that also takes ClientSize, and we're calculating the
  15793. client size via driver method in the others. The previous
  15794. method of tracking client size by difference wasn't working
  15795. for forms where even the starting client size wouldn't match
  15796. the overall form size (due to borders) (Part of fix for #77729)
  15797. - CreateParams(): Do not use parent.Handle unless the handle is
  15798. already created. Causes havoc with Nexxia and throws off our
  15799. creation of controls
  15800. * XplatUIX11.cs:
  15801. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  15802. - Switched handling of ConfigureNotify over to new PerformNCCalc
  15803. method (consolidates code)
  15804. - Changed RequestNCRecalc to use new PerformNCCalc method
  15805. - Added calls to RequestNCRecalc when menus and borders are changed
  15806. to allow app to set NC size. (Part of fix for #77729) This matches
  15807. when MS send a WM_NCRECALC on Win32 windows.
  15808. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  15809. (Part of fix for #77729). This matches what MS does, they also
  15810. send that message when the form is made visible.
  15811. - XException.GetMessage: Improved usability of X errors by including
  15812. a translation of the window into Hwnd and Control class
  15813. - Improved debug info for window creation, reparenting and destruction
  15814. - Created helper method WindowIsMapped() [Currently not used]
  15815. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  15816. * Form.cs:
  15817. - CreateParams: Now setting our menu on the new internal menu field
  15818. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  15819. avoid calculating the same property twice
  15820. * Hwnd.cs:
  15821. - Improved usability of ToString() for debugging purposes
  15822. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  15823. determine the height of the menu, instead of just the font. This
  15824. required to also create a graphics context and to keep a bmp
  15825. around (for performance reasons)
  15826. 2006-03-17 Peter Dennis Bartok <[email protected]>
  15827. * MenuAPI.cs: Added OnMouseUp method
  15828. * Form.cs:
  15829. - Now remembering the requested client size, avoids size errors
  15830. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  15831. instead of base if the menu is active. This is required due to
  15832. control now capturing and releasing on down/up and it would
  15833. prematurely release our menu capture
  15834. 2006-03-17 Jackson Harper <[email protected]>
  15835. * KeyboardLayouts.cs: Add the czech layouts.
  15836. 2006-03-16 Jackson Harper <[email protected]>
  15837. * Control.cs: Use the viewport space when sizing not the controls
  15838. client size, so things like ScrollableControl that effect the
  15839. viewport size (when scrollbars are added) are computed correctly.
  15840. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  15841. of ManagerEntrys.
  15842. - Handle creating BindingManagers for null data sources.
  15843. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  15844. source, otherwise when rows are added they are added to the 'fake'
  15845. datasource and we will crash when trying to set the position in
  15846. those rows.
  15847. - Use Implicit scrollbars on the datagrid so they arent
  15848. selectable.
  15849. 2006-03-16 Jackson Harper <[email protected]>
  15850. * Binding.cs:
  15851. * InternalWindowManager.cs:
  15852. * MdiWindowManager.cs:
  15853. * X11Keyboard.cs: I really want Mike to love me again (fix
  15854. compiler warnings).
  15855. 2006-03-16 Peter Dennis Bartok <[email protected]>
  15856. * DataGrid.cs:
  15857. - OnMouseDown: Switch to editing mode when clicking on the cell
  15858. even if we're clicking on the cell that's currently
  15859. selected
  15860. - ProcessGridKey: Left/Right now wrap like MS.Net does
  15861. - ProcessGridKey: Tab now knows to add a new row when tab is
  15862. pressed in the cell of the last column of the
  15863. last row
  15864. - ProcessGridKey: Enter now adds another row if pressed in the last
  15865. row and selectes the new row, same column cell
  15866. - ProcessGridKey: Home/End navigate columns, not rows, like
  15867. originally implemented
  15868. - Broke ProcessKeyPreview code out into an extra Internal method
  15869. so it can be called from the edit code
  15870. * DataGridTextBox.cs (ProcessKeyMessage):
  15871. - Switched to accept Tab keypresses
  15872. - Added F2 handling to allow jumping to the end of the edited cell
  15873. - Added logic to allow moving caret left/right inside edited cell
  15874. and making the edited cell jump when the caret hits cell borders
  15875. - Tab and Enter are now passed to the datagrid after being handled
  15876. * TextBoxBase.cs:
  15877. - Removed capture code now that Control handles it
  15878. - set_SelectionStart now ensures caret is visible
  15879. 2006-03-16 Jackson Harper <[email protected]>
  15880. * TrackBar.cs: Debackwards the increment/decrement for handling
  15881. mouse clicks on the bar with vertical trackbars.
  15882. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  15883. bottom to match MS.
  15884. 2006-03-16 Mike Kestner <[email protected]>
  15885. * ListView.cs: make shift/ctrl keyboard and mouse selection
  15886. consistent with the MS control. Fix a bug in
  15887. SelectedListViewItemCollection.Clear that was pissing me off for the
  15888. better part of a day because the collection was being altered
  15889. underneath us as we walked the list.
  15890. 2006-03-16 Peter Dennis Bartok <[email protected]>
  15891. * Control.cs: Not sure how we could miss this so long, but it seems
  15892. that MS.Net has Capture set all the way from before calling
  15893. OnMouseDown through sending the mouse events until after
  15894. OnMouseUp. This will fix DataGrid's selection being set to end
  15895. at the location of the MouseUp.
  15896. 2006-03-15 Jackson Harper <[email protected]>
  15897. * BindingContext.cs: Check the binding after its added so that it
  15898. can initialize the binding managers and hookup to events.
  15899. * Binding.cs: Data members seem to sometimes include rows/cols in
  15900. the format Row.Column we now take this into account.
  15901. - Hookup to the position changed event so we can update the
  15902. control when the position has changed in the data set.
  15903. * CurrencyManager.cs: Take into account the row/col naming
  15904. convention when creating dataset tables.
  15905. * BindingContext.cs: Using a newer better way of storing
  15906. datasource/datamember pairs. Hopefully this better matches MS for
  15907. looking up binding managers.
  15908. 2006-03-15 Jackson Harper <[email protected]>
  15909. * BindingContext.cs: The currency manager needs the data member
  15910. name, if the member is a data set we use the name to find the
  15911. correct table.
  15912. * CurrencyManager.cs: When creating the list prefer an IList over
  15913. an IListSource.
  15914. - Attempt to create a DataTable from a DataSet (TODO: might need
  15915. some better error checking here, although MS doesn't seem to have much)
  15916. - If we have a DataTable create a view and use it as our list.
  15917. 2006-03-15 Mike Kestner <[email protected]>
  15918. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  15919. keyboard navigation. Support Up/Down/Left/Right selection correctly
  15920. for all 4 View modes.
  15921. * ListViewItem.cs: add internal row/col fields for icon layouts.
  15922. 2006-03-15 Jackson Harper <[email protected]>
  15923. * TabControl.cs: Redraw the tabs when we resize so their newly
  15924. calculated sizes are drawn on screen.
  15925. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  15926. composite characters.
  15927. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  15928. - filter events so that composite characters can be created
  15929. patches by peter
  15930. * X11Structs.cs: Add XIMProperties enum.
  15931. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15932. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  15933. unless it's created
  15934. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15935. * Control.cs (PerformLayout): We don't need to consider visiblity
  15936. for anchoring, only for docking. This fixes 'whacky' alignment
  15937. in listbox and other controls that use implicit scrollbars after
  15938. the previous PerformLayout patch
  15939. * ListBox.cs: Switched to use implicit scrollbars
  15940. 2006-03-14 Mike Kestner <[email protected]>
  15941. * ToolBar.cs:
  15942. * VScrollBar.cs:
  15943. - chain up the "new event" overrides to base and use
  15944. OnEvent to raise them. Part of fix for bug #76509.
  15945. 2006-03-14 Alexander Olk <[email protected]>
  15946. * FileDialog.cs: Do not select an item in the parent directory
  15947. on backspace
  15948. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15949. * Control.cs (PerformLayout): It would seem that we considered
  15950. invisible windows for our layout. Not quite the right thing
  15951. to do. Now we don't any longer, thereby fixing bug #76889.
  15952. 2006-03-14 Peter Dennis Bartok <[email protected]>
  15953. * Control.cs (CanFocus): I goofed. A control can have focus
  15954. even though it's not selectable. Made it match MS docs.
  15955. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15956. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  15957. center by default (fixes #76895)
  15958. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  15959. all uses of Border3DSides.All with the explicit ORd together
  15960. Left|Right|Top|Bottom because I assume that nobody was aware
  15961. that All also implies a center fill. Most places I checked had
  15962. a fill right above.
  15963. * ProgressBarStyle.cs: Added
  15964. 2006-03-13 Mike Kestner <[email protected]>
  15965. * ListView.cs: fix breakage in drag shadow header positioning
  15966. from Peter's csc compilation fix.
  15967. 2006-03-13 Mike Kestner <[email protected]>
  15968. * ListView.cs: fix NRE produced by backspacing twice in a focused
  15969. FileDialog.
  15970. 2006-03-13 Mike Kestner <[email protected]>
  15971. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  15972. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15973. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  15974. be changed
  15975. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  15976. the allowed size before making programmatic size changes
  15977. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15978. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  15979. set, metacity is broken and will still use the emty sizes in
  15980. the struct. (Fix for #77089)
  15981. 2006-03-13 Peter Dennis Bartok <[email protected]>
  15982. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  15983. WindowExStyles and marked both enums as Flags
  15984. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  15985. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  15986. to match WindowStyles split
  15987. * XplatUIX11.cs:
  15988. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  15989. - Updated to match WindowStyles split
  15990. * XplatUIWin32.cs:
  15991. - Fixed FosterParent creation, was using ExStyle on the Style field
  15992. (This should help with Popup focus issues)
  15993. - Updated to match WindowStyles split
  15994. 2006-03-13 Jackson Harper <[email protected]>
  15995. * MdiWindowManager.cs: Use the system menu height. Fixes some
  15996. strange sizing issues.
  15997. 2006-03-12 Peter Dennis Bartok <[email protected]>
  15998. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  15999. * TextBoxBase.cs:
  16000. - Scroll to caret after inserting text (#77672)
  16001. - Make scroll range one pixel higher, fixes off-by-one error (and
  16002. makes underlines visible on the last line)
  16003. 2006-03-12 Peter Dennis Bartok <[email protected]>
  16004. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  16005. the keyboard state from being stuck with keys in 'pressed' state when
  16006. focus is switched away via keyboard
  16007. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  16008. reset the keyboard if no X11 KeyUp events are expected to come
  16009. * X11Structs.cs: Switched type of Visible to bool to match driver
  16010. 2006-03-12 Peter Dennis Bartok <[email protected]>
  16011. * TextControl.cs:
  16012. - Switched caret to be just 1 pixel wide, matches MS and looks less
  16013. clunky
  16014. - Moved caret display 1 pixel down from the top of the control
  16015. to improve view
  16016. - InsertCharAtCharet: Update the selection start if moving the caret
  16017. (fixes bug #77696; based on patch suggested by [email protected])
  16018. - No longer always creating the caret when the caret methods are
  16019. called. Only the actual ShowCaret/HideCaret will do that now
  16020. - Only setting caret visible if the owner control has focus
  16021. - UpdateView: Added invalidation-shortcut logic for center and right
  16022. aligned text. Previously we'd update all according to the left
  16023. logic which caused drawing errors. Also fixed height of invalidated
  16024. areas, now properly invalidating the whole area (was off-by-one)
  16025. - owner_HandleCreated: Always generate the document when the
  16026. handle is created; this ensures that
  16027. * TextBoxBase.cs:
  16028. - Fixed situation where caret would disappear under the right
  16029. window border, also improved scrolling behaviour on left-
  16030. aligned textboxes
  16031. - Fixed right-aligned textboxes to have a border to the
  16032. right instead of the caret being under the right border
  16033. * XplatUIX11.cs:
  16034. - Switched from 'nested' to simple visible/not visible tracking
  16035. for caret (part of fix for #77671)
  16036. - No longer passing through translated FocusIn/FocusOut messages
  16037. since we were notifying too often and the wrong windows. Instead
  16038. we just notify our focussed window of receiving or loosing focus
  16039. * XplatUIWin32.cs: Switched from 'nested' show/hide
  16040. counting for caret to simple visible yes/no behaviour (part of
  16041. fix for #77671)
  16042. 2006-03-11 Alexander Olk <[email protected]>
  16043. * Mime.cs: Remove debug code...
  16044. 2006-03-11 Alexander Olk <[email protected]>
  16045. * MimeGenerated.cs: Removed
  16046. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  16047. and subclasses) from /usr/(local/)share/mime and
  16048. $HOME/.local/share/mime.
  16049. 2006-03-10 Jackson Harper <[email protected]>
  16050. * MdiWindowManager.cs: Recalc the NC area when a window is
  16051. maximized/restored so that the menu area is drawn on forms that
  16052. don't have a menu.
  16053. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16054. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16055. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  16056. us to force a WM_NCCALCRESIZE message being sent. This is needed
  16057. for MDI maximizing.
  16058. 2006-03-10 Jackson Harper <[email protected]>
  16059. * Form.cs: We need to use the ActiveMenu when calculating menu
  16060. height.
  16061. - Fix nullref when the window manager hasn't been created yet.
  16062. * Control.cs: Fix nullref when we try to bring a control to the
  16063. front that has no parent.
  16064. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  16065. height.
  16066. - Add a dummy item to the maximized menu so it always has the
  16067. correct height. Otherwise when there are no menus we don't get our
  16068. icon and buttons.
  16069. 2006-03-10 Jackson Harper <[email protected]>
  16070. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  16071. stuff.
  16072. * Form.cs: Make the window_state internal so the window managers
  16073. can track it.
  16074. - When an MDI child is maximized let its window manager create the
  16075. main menu (so it can add its icon).
  16076. - Notify the window managers of state changes
  16077. - Let the window manager paint its buttons and handle button
  16078. clicks on the menu when it is maximized.
  16079. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  16080. window manager, since tool windows don't use it, only mdi windows.
  16081. - Tell the main form that we don't want it to handle NCPAINT
  16082. itself to avoid extra painting.
  16083. - Handle clicks on a maximized windows menu.
  16084. - Handle window state changes
  16085. - Handle minimize/maximize clicks correctly by setting the window state.
  16086. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  16087. when clicking on the forms icon).
  16088. - New method to create a forms maximized menu. This is its normal
  16089. menu + an icon.
  16090. - Handle window state changes.
  16091. - Handle sizing of maximized windows. Maximized windows are just
  16092. drawn bigger then the parent visible area. All controls are still
  16093. there, they are just outside the visible area (this matches windows).
  16094. * MdiClient.cs: No scrollbars when a child window is maximized.
  16095. - Let the children windows figure out how big they should be when
  16096. sizing maximized windows.
  16097. - Implement a version of ArrangeIconicWindows somewhat similar to
  16098. Windows version. There are some little differences, but I don't
  16099. think any app will rely on the layout of minimized mdi windows.
  16100. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16101. * Padding.cs: Several fixes to allow compiling with csc 2.0
  16102. 2006-03-09 Jackson Harper <[email protected]>
  16103. * Menu.cs:
  16104. * MenuItem.cs: Cheap hack so we can add items to the list without
  16105. the events being raised. This allows adding mdi items during
  16106. drawing. TODO: Should probably find a better time to add the items.
  16107. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16108. * ThemeWin32Classic.cs:
  16109. - CheckBox_DrawText: Added logic to not wrap if not enough space
  16110. is available (Fix for bug #77727)
  16111. - RadioButton_DrawText: Added logic not to wrap if not enough
  16112. space is available (Fix for bug #77727). Also removed some
  16113. duplicate code, DrawString always drawing the regular text
  16114. before hitting the if statement.
  16115. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16116. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  16117. 2006-03-10 Peter Dennis Bartok <[email protected]>
  16118. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  16119. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  16120. methods. Moved the new 2.0 properties into alphabetical order with
  16121. other properties and added MonoTODO tags
  16122. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16123. * AutoScaleMode.cs: Added. Fix build.
  16124. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16125. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  16126. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  16127. and was requiring premature handle creation for calls from above
  16128. * Form.cs, Control.cs: Removed handle arguments from calls to
  16129. CalculateClientRect()
  16130. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16131. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  16132. drag_column.column_rect is MarshalByRef and can't be used that way
  16133. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16134. * AxHost.cs: Added deserialization constructor for
  16135. AxHost+State (fixes 77743)
  16136. 2006-03-09 Mike Kestner <[email protected]>
  16137. * ListView.cs:
  16138. - Added column drag reordering for details view.
  16139. - fixed behavior when mouse is dragged off column and
  16140. AllowColumnReorder is false.
  16141. * ColumnHeader.cs: clone the format too in Clone.
  16142. * Theme.cs: add DrawListViewHeaderDragDetails method.
  16143. * ThemeWin32Classic.cs:
  16144. - impl new method for drawing drag column shadows and targets.
  16145. - support column offset for details mode in DrawListViewItem.
  16146. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16147. * TextControl.cs: Reset the char_count when the document is cleared
  16148. (Fixes bug reported on mono-winforms mailing list)
  16149. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16150. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  16151. of calling base we simply process the key ourselves, since both
  16152. DefWindowProc and the handled method would set m.Result.
  16153. (Fixes #77732)
  16154. 2006-03-09 Peter Dennis Bartok <[email protected]>
  16155. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  16156. method also moves the window; instead implemented a copy of
  16157. Control.ScaleCore (Part of fix for #77456)
  16158. * TextBoxBase.cs:
  16159. - Created new CreateGraphicsInternal method to allow providing
  16160. a graphics context when no handle is created without triggering
  16161. handle creation. (Part of fix for #77456)
  16162. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  16163. * TextControl.cs:
  16164. - Switched Constructor to require TextBoxBase instead of Control (to
  16165. allow uncast access to CreateGraphicsInternal)
  16166. - Safeguarded use of owner.Handle property. No longer accessing it
  16167. unless the handle is already created.
  16168. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  16169. - Now triggering a recalc when owning control becomes visible
  16170. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  16171. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  16172. premature handle creation (Part of fix for #77456)
  16173. * Control.cs:
  16174. - We now only destroy our double-buffering buffers when the
  16175. control is resized or disposed, but not when visibility
  16176. changes. (The code even re-created them twice every time)
  16177. - Now requiring a redraw of the buffer on visibility changes
  16178. (fixes bug 77654 part 2)
  16179. - Not passing OnParentVisibleChanged up unless the control
  16180. is visible
  16181. - CanFocus: Fixed to match MS documentation
  16182. - Focus: Fixed to return actual focus state and to check if
  16183. setting focus is legal before setting it
  16184. 2006-03-08 Peter Dennis Bartok <[email protected]>
  16185. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  16186. when to draw focus rectangle by looking at parent focus and
  16187. selected state instead. This fixes TabPages on Linux sometimes
  16188. having none or multiple focus rectangles.
  16189. * XplatUIX11.cs (SetFocus):
  16190. - Don't set the focus if the same window already has focus
  16191. - Use SendMessage instead of PostMessage (like it's Win32
  16192. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  16193. to match MS behaviour
  16194. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  16195. are not selectable.
  16196. 2006-03-07 Jackson Harper <[email protected]>
  16197. * PictureBox.cs: Revert line I accidently committed last week.
  16198. 2006-03-07 Peter Dennis Bartok <[email protected]>
  16199. * Control.cs:
  16200. - Added new IsRecreating and ParentIsRecreating properties to
  16201. allow testing if RecreateHandle has been called on ourselves
  16202. or one of our parents
  16203. - WndProc(WM_DESTROY): If our control handle is being recreated
  16204. we immediately need to create the handle when receiving the
  16205. destroy, that way our child windows find a valid parent handle
  16206. when they themselves are being recreated upon WM_DESTROY receipt
  16207. (fix for bug #77654 part 1)
  16208. * XplatUIX11.cs:
  16209. - DestroyWindow: WM_DESTROY must be sent to our own window before
  16210. notifying any child windows. MS documents that child windows
  16211. are still valid when WM_DESTROY is received. (Control now relies on
  16212. this behaviour)
  16213. - Added some fine-grain debug options
  16214. 2006-03-06 Jackson Harper <[email protected]>
  16215. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  16216. box and base calculations off this.
  16217. * MdiChildContext.cs:
  16218. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  16219. anymore.
  16220. 2006-03-06 Peter Dennis Bartok <[email protected]>
  16221. * Splitter.cs: In situations where the affected control is added
  16222. to the parent's control list after the splitter, we would not
  16223. populate affected. Now we try populating it on mousedown, if
  16224. it's not already set, and force it to be re-set whenever our
  16225. parent changes.
  16226. 2006-03-03 Matt Hargett <[email protected]>
  16227. * Control.cs: implement Control.Padding
  16228. * Padding.cs: -Padding.All returns -1 when constructing with the
  16229. implicit default ctor
  16230. -Padding.ToString() matches MS.NET
  16231. * ContainerControl.cs: implement
  16232. ContainerControl.AutoScaleDimensions
  16233. * ListControl.cs: implement ListControl.FormattingEnabled
  16234. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  16235. * ButtonBase.cs:
  16236. * TabPage.cs: Implement UseVisualStyleBackColor.
  16237. * PictureBox.cs: Implement PictureBox.InitialImage.
  16238. 2006-03-03 Mike Kestner <[email protected]>
  16239. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  16240. event declarations to proxy to base event.
  16241. * ListViewItem.cs: update to use ItemControl.
  16242. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  16243. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  16244. column header label rendering for 0 width columns.
  16245. 2006-03-03 Peter Dennis Bartok <[email protected]>
  16246. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  16247. that causes the control to be created. Fixes #77476.
  16248. 2006-03-02 Jackson Harper <[email protected]>
  16249. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  16250. expose_pending.
  16251. 2006-03-02 Peter Dennis Bartok <[email protected]>
  16252. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  16253. passed in for the EventArgs (fixes #77690)
  16254. 2006-03-01 Jackson Harper <[email protected]>
  16255. * ScrollBar.cs: Refresh afterbeing resized.
  16256. 2006-02-28 Mike Kestner <[email protected]>
  16257. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  16258. Clean up a tracker compile warning.
  16259. * MenuItem.cs: add internal PerformPopup method.
  16260. [Fixes #77457]
  16261. 2006-02-28 Peter Dennis Bartok <[email protected]>
  16262. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  16263. implicit expose) when the text is set to null
  16264. 2006-02-28 Peter Dennis Bartok <[email protected]>
  16265. * RichTextBox.cs (FlushText): When newline is true, we always
  16266. need to split the line, even if no text is on it and we may
  16267. never eat newlines. (Fixes #77669)
  16268. 2006-02-28 Mike Kestner <[email protected]>
  16269. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  16270. and set Selected instead.
  16271. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  16272. collections.
  16273. 2006-02-28 Peter Dennis Bartok <[email protected]>
  16274. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  16275. 2006-02-28 Alexander Olk <[email protected]>
  16276. * FontDialog.cs:
  16277. - Got rid of the panel. All controls are now directly added to
  16278. the dialog form
  16279. - It is now possible to set a font with the Font property
  16280. - MinSize and MaxSize property do now what they should
  16281. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  16282. - Searching and selecting a font with the font textbox works now,
  16283. the same applies to the style and size textbox
  16284. - Draw the correct 3D border in the example panel
  16285. - Fixed a little mem leak (unused fonts didn't get disposed)
  16286. - Many other internal updates/rewrites...
  16287. - Fix typo
  16288. 2006-02-27 Peter Dennis Bartok <[email protected]>
  16289. * TextControl.cs:
  16290. - InsertRTFFromStream: Added 'number of characters inserted' argument
  16291. - set_SelectedRTF: Now using the number of characters to calculate
  16292. the new location for the selection and cursor (x/y cannot be used
  16293. due to potentially already wrapped text)
  16294. 2006-02-27 Peter Dennis Bartok <[email protected]>
  16295. * TextControl.cs: Added property and implemented means to allow
  16296. disabling recalculation of a document (can be used to speed up
  16297. multiple inserts and is needed to make RTF inserts predictable, see
  16298. bug #77659)
  16299. * RichTextBox.cs: Using the new NoRecalc property of Document to
  16300. keep x/y insert locations predictable. Also makes it faster inserting
  16301. large chunks of RTF
  16302. 2006-02-27 Peter Dennis Bartok <[email protected]>
  16303. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  16304. it's easier for a child control to handle the other messages without
  16305. having to duplicate the special functionality
  16306. * TextBoxBase.cs
  16307. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  16308. code to handle processing the key ourselves, in order to get
  16309. access to the result of KeyEventArgs.Handled. We now only call
  16310. ProcessKey if they key hasn't been handled already. Fixes #77526.
  16311. - set_Text: If null or empty string is given, just clear the
  16312. document. Fixes part of #77526
  16313. 2006-02-27 Jackson Harper <[email protected]>
  16314. * SizeGrip.cs: Paint the background color before painting the grip
  16315. so things look right.
  16316. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  16317. 2006-02-27 Mike Kestner <[email protected]>
  16318. * ListView.cs:
  16319. - Restructure layout and invalidation model to remove a ton of
  16320. flicker from the control and speed up performance in general.
  16321. - Add manual column resize, flickers like crazy, but I already have
  16322. some ideas on how I'll fix that. (#76822)
  16323. - Merge the three Icon-based views into a single layout method.
  16324. - Move item selection interaction logic from the item since
  16325. interaction with the collections is more appropriate to the view.
  16326. - Deselection on non-item clicks.
  16327. * ListViewItem.cs:
  16328. - Encapsulate most of the layout. Add some internal props to trigger
  16329. layout. Move to a model where Items invalidate themselves instead
  16330. of just invalidating the whole control every time something changes.
  16331. - Invalidate on Text/Caption changes.
  16332. - switch to an offset based layout model to avoid having to absolute
  16333. position every element on item moves.
  16334. - correct checkbox layout to conform to MS layout.
  16335. * ThemeWin32Classic.cs:
  16336. - refactor some column header drawing code.
  16337. - fix string justification for column headers (#76821)
  16338. - make SmallIcon labels top justified for compat with MS impl.
  16339. * ThemeClearlooks.cs:
  16340. - adjust to new ListViewItem internal checkbox bounds api.
  16341. 2006-02-27 Jackson Harper <[email protected]>
  16342. * Control.cs: Change where implicit controls fall in the zorder.
  16343. They are now on top of all children.
  16344. - Synced AddImplicit code with Add
  16345. - Removed unused enumerator.
  16346. * SizeGrip.cs: Remove the TODO as its been TODONE.
  16347. 2006-02-26 Peter Dennis Bartok <[email protected]>
  16348. * TextControl.cs(Insert): Combine the last lines unless the insertion
  16349. string ends with \n\n, otherwise we leave one line too many (Fixes
  16350. something I noticed with the testapp for #77526; the bug itself was
  16351. already fixed in the previous checkin)
  16352. 2006-02-26 Peter Dennis Bartok <[email protected]>
  16353. * RichTextBox.cs:
  16354. - SelectionColor and SelectionFont methods no longer set absolute
  16355. styles. Instead, the keep font or color respectively (This
  16356. resolves a long-standing FIXME in the code)
  16357. - When flushing RTF text, the insert code now considers text trailing
  16358. behind the insertion point (Fixes the bug where when replacing
  16359. the selected text via SelectedRTF the remainder of the line behind
  16360. the selection would stay on the first insertion line)
  16361. * TextBoxBase.cs:
  16362. - AppendText now updates the selection points after inserting text
  16363. - AppendText now ensures that the last tag (sometimes 0-length) of
  16364. the document is used for the style information (Fixes part of
  16365. bug #77220)
  16366. * TextControl.cs:
  16367. - Created new FontDefiniton class to allow describing partial style
  16368. changes
  16369. - StreamLine() now takes a lines argument, to allow it to decide
  16370. whether an encountered zero-length tag is the last in the document
  16371. (which must be kept to not loose the font/color contained in it,
  16372. for later appends)
  16373. - Created Combine() and Split() methods for Marker structs, to
  16374. support marker updates due to reformatted documents (soft line
  16375. wraps)
  16376. - Implemented Document.CaretTag setter
  16377. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  16378. of the last line (Not the cause, but also exposed by bug #77220)
  16379. - Added LineTag argument to InsertString method, to allow callers
  16380. to force a certain tag to be used (required to force use of the
  16381. trailing zero-length tag of a document)
  16382. - Now updating markers in Combine(), to avoid stale tag markers
  16383. - Added some method descriptions to aid maintenance
  16384. - Implemented new FormatText concept, allowing additive/subtractive
  16385. formatting by only specifying the components that are to be
  16386. changed. This was needed for resolving the RTB.SelectedColor/
  16387. RTB.SelectedFont fixmes
  16388. - Added Break() support method to allow breaking up linetags (used
  16389. for partial formatting)
  16390. - Added GenerateTextFormat() method. It is used for partial
  16391. formatting and allows to generate a full font/color from given
  16392. attributes and an existing tag.
  16393. 2006-02-26 Jackson Harper <[email protected]>
  16394. * XplatUIX11.cs: Use the correct caption height.
  16395. - Translate hittest coordinates to screen coords to match MS.
  16396. * XplatUIWin32.cs: When we create MDI windows we need to reset
  16397. some of the style flags, so we get a nice blank window, and can
  16398. draw all the decorations ourselves.
  16399. - Set a clipping rectangle on the non client paint event, the
  16400. window manager drawing code needs one.
  16401. * Form.cs: The window manager needs to know when the window state
  16402. has been updated.
  16403. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  16404. don't need to factor in border and title sizes in these
  16405. methods. TODO: Remove the args and fix the call points.
  16406. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  16407. properly.
  16408. - Let the driver set the cursors.
  16409. - Improve active window handling
  16410. - Correct sizes for title bars and buttons.
  16411. - Match MS drawing better
  16412. * MdiWindowManager.cs: We don't need to handle border style
  16413. updates specially anymore.
  16414. - Check for scrollbars when windows are done moving
  16415. - Handle Active properly.
  16416. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  16417. correctly. I am spewing the exception though, so we don't hide the
  16418. bugs.
  16419. 2006-02-26 Pedro Martinez Julia <[email protected]>
  16420. * DataGridViewRowPostPaintEventArgs.cs,
  16421. DataGridViewCellPaintingEventArgs.cs,
  16422. DataGridViewRowCollection.cs,
  16423. DataGridViewRowPrePaintEventArgs.cs,
  16424. DataGridViewCell.cs: Clear a few warnings and implement a few
  16425. exceptions that should be thrown.
  16426. 2006-02-22 Peter Dennis Bartok <[email protected]>
  16427. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  16428. 'inheriting' our parent's (non-default) cursor. (Part of
  16429. the fix for #77479)
  16430. 2006-02-22 Peter Dennis Bartok <[email protected]>
  16431. * XplatUIX11.cs: Fixed cast to make csc happy
  16432. 2006-02-22 Peter Dennis Bartok <[email protected]>
  16433. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  16434. it's for the client area (part of fix for #77479 and needed
  16435. for MDI window cursor handling)
  16436. * XplatUIX11.cs
  16437. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  16438. the appropriate default cursors and also passing the message
  16439. up the parent chain
  16440. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  16441. for non-client areas
  16442. 2006-02-15 Jackson Harper <[email protected]>
  16443. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  16444. is a real MDI window
  16445. 2006-02-14 Alexander Olk <[email protected]>
  16446. * X11DesktopColors.cs: Instead of checking the desktop session
  16447. string for "KDE" check if it starts with "KDE"
  16448. 2006-02-10 Jackson Harper <[email protected]>
  16449. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  16450. systems).
  16451. 2006-02-10 Alexander Olk <[email protected]>
  16452. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  16453. errors
  16454. * ColorDialog.cs:
  16455. - Got rid of the panel. All controls are now directly added to
  16456. the dialog form
  16457. - Changed to mono coding style
  16458. 2006-02-10 Jackson Harper <[email protected]>
  16459. * InternalWindowManager.cs: We don't need the set visibility to
  16460. false hack anymore now that peter has written beautiful shutdown
  16461. code.
  16462. 2006-02-10 Peter Dennis Bartok <[email protected]>
  16463. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  16464. where already explicitly destroyed
  16465. 2006-02-10 Jackson Harper <[email protected]>
  16466. * MdiClient.cs: Handle the case where windows are too high or to
  16467. the left and we need scrollbars.
  16468. 2006-02-10 Alexander Olk <[email protected]>
  16469. * MimeIcon.cs: Added some icons
  16470. * FileDialog.cs:
  16471. - Fixed bug #77477
  16472. - Got rid of the panel. All controls are now directly added to
  16473. the dialog form
  16474. - Changed to mono coding style
  16475. - On Linux "My Computer" and "My Network" will now show some
  16476. more usefull information. A new class, MasterMount, gathers
  16477. this information from /proc/mount. Updated MWFFileView to make
  16478. use of this information
  16479. - Fixed a bug that caused FileDialog to crash when
  16480. ".recently_used" file had a zero size
  16481. - FilterIndex does now what it should
  16482. - Some Refactoring
  16483. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  16484. FileDialog changes
  16485. 2006-02-09 Jackson Harper <[email protected]>
  16486. * ComboBox.cs: Don't touch if null.
  16487. 2006-02-09 Peter Dennis Bartok <[email protected]>
  16488. * Cursor.cs: 64bit safeness fix
  16489. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  16490. 2006-02-09 Jackson Harper <[email protected]>
  16491. * Form.cs: If a form is made into an MDI form update the styles so
  16492. all the props can get set correctly.
  16493. - Kill the mdi_container when we dont need it anymore.
  16494. * InternalWindowManager.cs: Add missing NOT
  16495. 2006-02-08 Jackson Harper <[email protected]>
  16496. * InternalWindowManager.cs: Respek clipping when drawing MDi
  16497. decorations.
  16498. 2006-02-08 Jackson Harper <[email protected]>
  16499. * Hwnd.cs: Add bits to track non client expose events.
  16500. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  16501. gives us a proper invalid rect and will allow for some nice
  16502. optimizations with NC client drawing
  16503. - MDI windows are children windows, so move their style handling
  16504. into the child window block.
  16505. * InternalWindowManager.cs: Remove a state reset that was
  16506. getting invoked at the wrong time. Fixes managed windows getting
  16507. into a 'stuck' captured state.
  16508. 2006-02-07 Peter Dennis Bartok <[email protected]>
  16509. * TextControl.cs (Document.ctor): Now initializing
  16510. selection_anchor. Fixes #77493
  16511. 2006-02-07 Jackson Harper <[email protected]>
  16512. * TrackBar.cs: The increment/decrements were backwards.
  16513. 2006-02-07 Mike Kestner <[email protected]>
  16514. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  16515. to the instance itself.
  16516. 2006-02-07 Peter Dennis Bartok <[email protected]>
  16517. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  16518. on ulongs and pointers, the size differs between 32bit and 64bit
  16519. systems.
  16520. 2006-02-07 Mike Kestner <[email protected]>
  16521. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  16522. for 64 bit platforms to work around a metacity bug.
  16523. 2006-02-07 Jackson Harper <[email protected]>
  16524. * TrackBar.cs: Process the input keys we need, and hookup to
  16525. KeyDown instead of using WndProc, so we get key messages.
  16526. 2006-02-06 Peter Dennis Bartok <[email protected]>
  16527. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  16528. machine we're on.
  16529. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  16530. we need to translate the XdndVersion atoms array before sending it
  16531. 2006-02-06 Peter Dennis Bartok <[email protected]>
  16532. * XplatUIX11.cs:
  16533. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  16534. number of bits for the property, not the number of bytes. The
  16535. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  16536. but would not crash since it specified 8 bits instead of 4 bits)
  16537. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  16538. defined as XID -> long in the C headers)
  16539. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  16540. references since those are now IntPtr to begin with
  16541. - Switched all Atom.XXX 'int' casts to IntPtr casts
  16542. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  16543. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  16544. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  16545. * X11Structs.cs:
  16546. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  16547. - Changed atom in HoverStruct to be IntPtr
  16548. * X11DnD.cs:
  16549. - Removed local DllImports, switched code to use those from XplatUIX11
  16550. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  16551. 2006-02-06 Mike Kestner <[email protected]>
  16552. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  16553. method signatures in the import region. There may still be some
  16554. lingering struct marshaling issues, as I didn't drill down into those.
  16555. Yet.
  16556. 2006-02-06 Jackson Harper <[email protected]>
  16557. * ComboBox.cs: Dont manually set the top_item, this is computed
  16558. when the scrollbar position is set.
  16559. 2006-02-06 Mike Kestner <[email protected]>
  16560. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  16561. startup crashes on amd64. There's other fixes needed. All pinvoke
  16562. usage of Atom needs to be mapped to IntPtr for example. And there are
  16563. likely other int/long issues to be addressed.
  16564. 2006-02-04 Alexander Olk <[email protected]>
  16565. * FileDialog.cs: One more...
  16566. 2006-02-03 Alexander Olk <[email protected]>
  16567. * FileDialog.cs: Next try
  16568. 2006-02-03 Alexander Olk <[email protected]>
  16569. * FileDialog.cs: First part of fix for #77464
  16570. 2006-02-03 Alexander Olk <[email protected]>
  16571. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  16572. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  16573. AcceptButton border drawing.
  16574. 2006-02-03 Peter Dennis Bartok <[email protected]>
  16575. * Form.cs: Moved positioning of form after auto scaling is applied,
  16576. otherwise it would possibly use wrong form size.
  16577. 2006-02-03 Peter Dennis Bartok <[email protected]>
  16578. * Control.cs (RecreateHandle): No need to re-create any child
  16579. controls, the child windows will get destroyed automatically by
  16580. the windowing system or driver, and re-created when the handle
  16581. is being accessed the first time. Fixes #77456
  16582. * Form.cs: No longer setting the form to closing if the handle is
  16583. being recreated. This seems like the right thing to do, don't
  16584. have a bug or testcase for this, though.
  16585. 2006-02-02 Peter Dennis Bartok <[email protected]>
  16586. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  16587. controls to avoid unwanted side effects
  16588. 2006-02-02 Peter Dennis Bartok <[email protected]>
  16589. * Control.cs:
  16590. - ScaleCore needs to scale the bounds, not the ClientSize of the
  16591. control. Fixes #77416.
  16592. - DefaultSize is 0,0 for control
  16593. * TextBoxBase.cs:
  16594. - DefaultSize is 100, 20
  16595. - SetBoundsCore: Now enforcing the height, no matter if the provided
  16596. height is more or less than the preferred one, as long as AutoSize
  16597. is on
  16598. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  16599. 2006-02-02 Peter Dennis Bartok <[email protected]>
  16600. * Control.cs:
  16601. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  16602. call unless both performLayout is true *and* we have a pending
  16603. layout change
  16604. - ResumeLayout: MS does not completely nest Suspend and Resume,
  16605. they bottom out at 0, fixed our code to match that.
  16606. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  16607. SetBoundsCore, we were updating even when we shouldn't. This fixes
  16608. swf-anchors mis-anchoring when resizing the app fast and lots.
  16609. - UpdateDistances: Now only setting the left and top distance if
  16610. we have a parent and are not suspended, this is based on
  16611. a suggestion by Don Edvaldson in bug #77355.
  16612. - OnVisibleChanged: Fixed logic when to create the control. We may
  16613. not create the control if we have no parent or if it's not visible;
  16614. switched to using Visible property instead of is_visible field
  16615. since the property also considers parent states. This fixes a bug
  16616. when starting Paint.Net
  16617. 2006-02-02 Jackson Harper <[email protected]>
  16618. * Form.cs: If the forms handle hasn't been created yet don't call
  16619. into xplatui to make it top most, just set the topmost flag on the
  16620. form in CreateParams
  16621. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  16622. 2006-02-01 Jackson Harper <[email protected]>
  16623. * ScrollableControl.cs: Refactored the Recalculate method a
  16624. little, this wasn't handling all the variants of bottom and right
  16625. bars needed to be added and added/removed based on their
  16626. counterparts being added/removed (which changes the drawable
  16627. size). Also we special case client widths and heights of 0 and
  16628. don't add the scrollbar for those.
  16629. 2006-02-01 Peter Dennis Bartok <[email protected]>
  16630. * XplatUIX11.cs:
  16631. - Added method to get AbsoluteGeometry(); currently unused, but might
  16632. be used in the future, if we try again to figure out toplevel
  16633. coordinates with some more crappy window managers
  16634. - Added FrameExtents() method to retrieve the WM set decoration size
  16635. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  16636. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  16637. * Hwnd.cs:
  16638. - Added whacky_wm tracking var for metacity
  16639. - Added logic to have default menu height if the actual menu height
  16640. has not yet been calculated (part of fix for #77426)
  16641. * Form.cs: Keep track whether client size has been set and re-set
  16642. it if a menu is added/removed afterwards (Fixes #77426)
  16643. 2006-01-31 Jackson Harper <[email protected]>
  16644. * Control.cs: When a new Site is set on the component attempt to
  16645. pull the AmbientProperties from it.
  16646. 2006-01-31 Peter Dennis Bartok <[email protected]>
  16647. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  16648. in the background of the owning form. Fixes #77332
  16649. 2006-01-31 Alexander Olk <[email protected]>
  16650. * MimeIcon.cs: Fix for #77409
  16651. 2006-01-31 Alexander Olk <[email protected]>
  16652. * XplatUIX11GTK.cs: Initial import
  16653. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  16654. * FixedSizeTextBox: fixes class signature
  16655. 2006-01-30 Jackson Harper <[email protected]>
  16656. * FixedSizeTextBox.cs: New internal class that represents a
  16657. textBox that will not be scaled.
  16658. * TreeView.cs:
  16659. * ComboBox.cs:
  16660. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  16661. standard TextBox.
  16662. 2006-01-30 Peter Dennis Bartok <[email protected]>
  16663. * XplatUIX11.cs: Retrieve default screen number instead of
  16664. assuming 0. Attempted fix for #77318
  16665. 2006-01-30 Peter Dennis Bartok <[email protected]>
  16666. * XplatUIWin32.cs:
  16667. - GetWindowPos: When a window is parented by FosterParent, use
  16668. the desktop instead of FosterParent as the base to get coordinates
  16669. - CreateWindow: Don't make FosterParent the parent window for Popups
  16670. if we don't want a taskbar entry, Popups automatically don't get one
  16671. * Hwnd.cs: Need to call remove to actually remove the key from the
  16672. hash table
  16673. 2006-01-30 Mike Kestner <[email protected]>
  16674. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  16675. 2006-01-30 Jackson Harper <[email protected]>
  16676. * TreeView.cs:
  16677. * TreeNode.cs: Raise events no matter how the treenode is
  16678. checked. Patch by Don Edvalson.
  16679. 2006-01-30 Jackson Harper <[email protected]>
  16680. * TreeNode.cs: Signature fix.
  16681. 2006-01-29 Alexander Olk <[email protected]>
  16682. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  16683. 2006-01-20 Mike Kestner <[email protected]>
  16684. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  16685. event forwarding when menus are active.
  16686. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  16687. Most of the patch is pdb's with a little rework.
  16688. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16689. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  16690. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  16691. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  16692. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  16693. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  16694. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  16695. the PaintWindowDecorations method
  16696. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  16697. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  16698. * MenuAPI.cs: Made tracker window invisible
  16699. * XplatUIWin32.cs:
  16700. - Removed GetMenuDC and ReleaseMenuDC methods
  16701. - Implemented the client=false path for PaintEventStart and
  16702. PaintEventEnd
  16703. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16704. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  16705. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  16706. styles
  16707. * Form.cs:
  16708. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  16709. the style
  16710. - CreateParams: Reworked the styles to match MS look'n'feel,
  16711. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  16712. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  16713. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16714. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  16715. window is not mapped, since otherwise every form that's being
  16716. created is considered minimized, which is wrong.
  16717. * Form.cs: Catching the exception and returning our internal value
  16718. instead
  16719. 2006-01-26 Peter Dennis Bartok <[email protected]>
  16720. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  16721. SetWindowMinMax() to have means to tell the driver about the minimum,
  16722. maximum and maximized state window sizes. (Part of the fix for #76485)
  16723. * Form.cs:
  16724. - Implemented tracking of minimum and maximum window size, now calling
  16725. new SetWindowMinMax() driver method to tell the driver (Part of the
  16726. fix for #76485)
  16727. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  16728. (Completes fix for #76485)
  16729. - Calling new SetWindowMinMax driver method when the handle for a
  16730. form is created, to make sure the driver knows about it even if
  16731. the values have been set before the window was created
  16732. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  16733. to avoid messing up our anchoring calculations (partial fix
  16734. for #77355)
  16735. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  16736. * XplatUIX11.cs:
  16737. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  16738. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  16739. (and presumably other freedesktop.org compliant WMs). Left the
  16740. assumption unmapped=minimized, needed for SetVisible to work.
  16741. - Now setting the window state when creating windows
  16742. - Fixed SetVisible to consider/set the window state when mapping
  16743. a Form. We cannot set the state before it's mapped, and we cannot
  16744. use Form.WindowState once it's mapped (since it would ask the
  16745. driver and get 'normal'. Therefore, we grab the state before
  16746. mapping, map, and then set state.
  16747. - Implmemented SetWindowMinMax method; Metacity does not seem to
  16748. honor the ZoomHints, though.
  16749. * XplatUIWin32.cs:
  16750. - Removed MINMAXINFO (moved to XplatUIStructs)
  16751. - Added SetWindowMinMax stub (on Win32 the only way to set that
  16752. information is in response to the WM_GETMINMAXINFO message, which
  16753. is handled in Form.cs)
  16754. - Added logic to SetVisible to set the proper window state when a
  16755. form is made visible (fixes #75720)
  16756. 2006-01-26 Jackson Harper <[email protected]>
  16757. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  16758. same way we handle them with Invoke.
  16759. 2006-01-25 Peter Dennis Bartok <[email protected]>
  16760. * Form.cs:
  16761. - Added tracking of window state so CreateParams can return
  16762. the appropriate style
  16763. - Moved setting of WS_CAPTION style in CreateParams to allow
  16764. styles without caption
  16765. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  16766. control if the TextBox property is accessed. Fixes #77345
  16767. * Control.cs:
  16768. - get_Created: now uses is_disposed and is_created to determine
  16769. return value (suggested by Jackson)
  16770. - CreateHandle: No longer exits if the handle is being recreated
  16771. - RecreateHandle: If the handle is not yet created call the
  16772. appropriate method to create either control or handle. If the
  16773. control is already created CreateHandle will simply exit instead
  16774. of just creating the handle
  16775. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  16776. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  16777. is called.
  16778. * XplatUIX11.cs:
  16779. - When DestroyWindow is called, instead of waiting for the
  16780. DestroyNotification from X11, we directly post it to the WndProc
  16781. and immediately dispose the hwnd object.
  16782. Same applies to DestroyChildWindows, and this obsoletes the
  16783. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  16784. child windows before our own, to avoid X11 errors.
  16785. - Removed the direct sending of WM_PAINT on UpdateWindow
  16786. * XplatUIWin32.cs:
  16787. - Reworked DoEvents and GetMessage to allow access to internal queue
  16788. even when trying non-blocking access to the queue. Fixes #77335.
  16789. Based on a patch suggestion by Don Edvalson. The new private
  16790. GetMessage can now also be used as a backend for a PeekMessage
  16791. frontend version.
  16792. * XplatUI.cs: Improved debug output for CreateWindow
  16793. 2006-01-25 Jackson Harper <[email protected]>
  16794. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  16795. 2006-01-24 Jackson Harper <[email protected]>
  16796. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  16797. when we have a MaxDropItems lower then the selected index.
  16798. 2006-01-24 Jackson Harper <[email protected]>
  16799. * Control.cs: Don't allow selection of non visible controls, allow
  16800. selection of controls without parents.
  16801. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  16802. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  16803. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  16804. 2006-01-23 Jackson Harper <[email protected]>
  16805. * UpDownBase.cs: Make the textbox handle all the selection and
  16806. tabbing. This fixes tabing to updown controls.
  16807. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  16808. * TextBoxBase.cs: fixes exception thown the object was null
  16809. 2006-01-23 Jackson Harper <[email protected]>
  16810. * ButtonBase.cs: Just use the base CreateParams. They set
  16811. visibility and enabled correctly.
  16812. * ComboBox.cs:
  16813. * TrackBar.cs:
  16814. * MonthCalendar.cs: Lets let the base set as much of the
  16815. createparams as possible so we don't have duplicate code all over
  16816. the place.
  16817. 2006-01-22 Alexander Olk <[email protected]>
  16818. * ThemeGtk.cs: Added TrackBar and some experimental code to
  16819. get double buffering back
  16820. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  16821. * DataGrid.cs: Allows row number set internally higher than the last
  16822. when creating a new row. Restores the editing functionality.
  16823. 2006-01-20 Mike Kestner <[email protected]>
  16824. * MimeIcon.cs: delay Image creation until the icons are accessed
  16825. instead of creating 190 scaled images on GnomeHandler startup.
  16826. 2006-01-19 Peter Dennis Bartok <[email protected]>
  16827. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  16828. first call base before processing the event. Fixes #77279
  16829. 2006-01-19 Peter Dennis Bartok <[email protected]>
  16830. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  16831. that the stride for the GDI bitmap would match the stride of
  16832. a DIB or a Cursor.
  16833. 2006-01-19 Alexander Olk <[email protected]>
  16834. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  16835. 2006-01-19 Jackson Harper <[email protected]>
  16836. * ComboBox.cs: Hookup the text controls keydown event so we get
  16837. those when the text control has the focus.
  16838. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16839. * Label.cs: Now using the base events instead of defining new ones;
  16840. this allows us to just call the base properties without having to
  16841. duplicate all base property logic
  16842. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16843. * Label.cs: A label by default is not a tabstop (Fixes one of our
  16844. failing nunit tests)
  16845. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16846. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  16847. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  16848. 2006-01-18 Peter Dennis Bartok <[email protected]>
  16849. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  16850. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  16851. This fixes #77218
  16852. * XplatUIWin32.cs:
  16853. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  16854. constructor creates images that can't be saved. Part of the fix
  16855. for #76103
  16856. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  16857. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  16858. bug fix for handling window state in forms properly)
  16859. 2006-01-18 Alexander Olk <[email protected]>
  16860. * ThemeGtk.cs: Simplify ScrollBar drawing
  16861. 2006-01-18 Jackson Harper <[email protected]>
  16862. * Splitter.cs: Set the default dock style for the splitter control
  16863. in the constructor.
  16864. 2006-01-18 Alexander Olk <[email protected]>
  16865. * ThemeGtk.cs: Corrected StateType and ShadowType for
  16866. gtk_paint_box
  16867. 2006-01-18 Alexander Olk <[email protected]>
  16868. * Control.cs: Make use of Theme.DoubleBufferingSupported
  16869. * ThemeGtk.cs:
  16870. - Added drawing for flat style buttons
  16871. - Added ScrollBar drawing
  16872. 2006-01-18 Alexander Olk <[email protected]>
  16873. * ThemeClearlooks.cs: Removed some unneeded code.
  16874. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  16875. 2006-01-17 Peter Dennis Bartok <[email protected]>
  16876. * LinkLabel.cs: We need to update the hover drawing when
  16877. leaving the control as well.
  16878. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  16879. * DataGrid.cs: Clicking on non empty areas in the columns
  16880. area was giving an exception
  16881. 2006-01-17 Jackson Harper <[email protected]>
  16882. * ThemeWin32Classic.cs:
  16883. * ListView.cs: Do not draw/clip the headers when the header style
  16884. is None.
  16885. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  16886. * DataGrid.cs: Fixes 77260
  16887. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  16888. * DataGrid.cs: Clicking on a column on a empty grid was giving
  16889. an exception
  16890. 2006-01-17 Peter Dennis Bartok <[email protected]>
  16891. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  16892. or any keypress will crash the grid.
  16893. 2006-01-17 Mike Kestner <[email protected]>
  16894. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  16895. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  16896. invisible/previously-visible items.
  16897. [Fixes #76909]
  16898. 2006-01-17 Alexander Olk <[email protected]>
  16899. * ThemeClearlooks.cs:
  16900. - Added CL_Draw_Button method; now other theme controls that are
  16901. not derived from button or do not have a button can draw buttons
  16902. too
  16903. - Updated ComboBox drawing
  16904. - Beautified RadioButton drawing
  16905. - Corrected drawing of bottom and left tabs
  16906. - Beautified DateTimePicker and MonthCalendar
  16907. - Added CPDrawButton and CPDrawRadioButton
  16908. 2006-01-16 Jackson Harper <[email protected]>
  16909. * ComboBox.cs: Set the initial value of the scrollbar to the
  16910. current index. Reduce the numbers of refreshs and IndexOfs called.
  16911. 2006-01-14 Alexander Olk <[email protected]>
  16912. * FileDialog.cs: When the file listview is focused hitting the
  16913. backspace key moves the fileview to the parent directory
  16914. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16915. * Form.cs:
  16916. - Added RecreateHandle call when changing taskbar visibility to
  16917. trigger reparenting in Win32 driver (Fixes #75719)
  16918. - If a window has minimize or maximize buttons, it cannot have
  16919. a help button
  16920. * XplatUIWin32.cs:
  16921. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  16922. the toplevel form with FosterParent (A toolwindow not on the
  16923. taskbar) (Fixes #75719)
  16924. - Made FosterParent a toolwindow
  16925. 2006-01-13 Alexander Olk <[email protected]>
  16926. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  16927. 2006-01-13 Alexander Olk <[email protected]>
  16928. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  16929. is currently over that control, make sure that tooltip_window.Text
  16930. gets updated
  16931. 2006-01-13 Mike Kestner <[email protected]>
  16932. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  16933. 2006-01-13 Jackson Harper <[email protected]>
  16934. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  16935. value passed. Also redraw the selected node when we recieve
  16936. focus, so tabbing between trees works correctly.
  16937. 2006-01-13 Alexander Olk <[email protected]>
  16938. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  16939. ~/.gconf/%gconf-tree.xml, so use
  16940. .gconf/desktop/gnome/interface/%gconf.xml
  16941. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16942. * TextControl.cs: Draw text in gray if control is disabled
  16943. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16944. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  16945. make sure it's always visible. Fixes #76680.
  16946. 2006-01-13 Peter Dennis Bartok <[email protected]>
  16947. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  16948. 2006-01-13 Jonathan Chambers <[email protected]>
  16949. * PageSetupDialog.cs: Added.
  16950. * PrintDialog.cs: Attributes.
  16951. * PrintPreviewControl.cs: Updates.
  16952. * PrintPreviewDialog.cs: Updates.
  16953. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16954. * Control.cs: Undid my selection check fix, since it's not needed
  16955. * TextBoxBase.cs:
  16956. - Now considering the presence of hscroll/vscroll when sizing
  16957. vscroll/hscroll respectively. Fixed bug #77077
  16958. - Added Left/Up/Down/Right to IsInputKey list to prevent
  16959. ContainerControl from stealing them. This fixes what I broke
  16960. with my last checkin.
  16961. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16962. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  16963. I finally understand how the property can be set without a setter :-)
  16964. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16965. * Application.cs:
  16966. - Switched RunLoop to use static Message.Create to create a
  16967. Message object
  16968. - Added PreProcessMessage call in runloop for keyboard events; this
  16969. is part of the fix for #77219, I overlooked this originally in the
  16970. MSDN doc for PreProcessMessage
  16971. * Control.cs:
  16972. - Removed call to PreProcessMessage from handling of keyboard
  16973. messages; it's supposed to be done in the message pump
  16974. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  16975. per MSDN documentation.
  16976. - IsInputChar: All chars are input chars by default; removed the
  16977. parent calling chain, MS does not document that
  16978. - PreProcessMessage: If IsInputChar is true, we want to return false
  16979. to allow dispatching of the message
  16980. - When selecting the next control, now also check that we're not
  16981. selecting ourselves again and therefore return a false positive.
  16982. * TextBoxBase.cs:
  16983. - Tried to match return values for IsInputKey and ProcessDialogKey
  16984. to what MS returns; moved processing of our special keys outside
  16985. ProcessDialogKey since MS does not seem to return true on those.
  16986. - Moved code that previously was in ProcessDialogKey into new private
  16987. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  16988. - Reworked handling of WM_CHAR to not have to duplicate code from
  16989. Control.cs anymore, instead we simply call down to base.
  16990. 2006-01-12 Jackson Harper <[email protected]>
  16991. * ComboBox.cs: We always need to refresh the text area when
  16992. EndUpdate is called. Fixes the combobox in the file dialog.
  16993. * Control.cs: Don't create the creator_thread until the controls
  16994. handle is created. Also in InvokeRequired we check if the
  16995. creator_thread is null. This gives the effect of InvokeRequired
  16996. returning true if the controls handle is not created yet, and
  16997. matches MS.
  16998. 2006-01-12 Peter Dennis Bartok <[email protected]>
  16999. * XplatUI.cs:
  17000. - Added StartLoop() driver method. This is used to allow drivers to
  17001. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  17002. loop for a particular thread
  17003. - Added EndLoop() driver method. This is called once the message
  17004. pump for the thread is shut down
  17005. - Added SupportsTransparency method to allow the driver to indicate
  17006. opacity support for windows
  17007. * Form.cs:
  17008. - Removed TODO attribute, completed AllowTransparency property
  17009. - Added documented logic to Opacity
  17010. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  17011. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  17012. versions of CompatibleTextRendering
  17013. * X11Structs.cs: Added opacity atom to our atom enumeration
  17014. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  17015. of a form might be set before it's reparented by the WM, and we need
  17016. the opacity value without calling up to Form)
  17017. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  17018. SupportsTransparency() driver methods
  17019. * Application.cs: Now calling StartLoop and EndLoop driver methods
  17020. * XplatUIX11.cs:
  17021. - Added opacity atom registration
  17022. - Added StartLoop()/EndLoop() methods. They're empty right now but
  17023. will need to get implemented when we switch to a per-thread queue
  17024. - Implemented SupportsTransparency() method
  17025. - Implemented SetWindowTransparency() method
  17026. - Added support for setting the opacity value when a window is
  17027. reparented (since the opacity needs to be set on the WM frame)
  17028. * XplatUIOSX.cs, XplatUIWin32.cs:
  17029. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  17030. 2006-01-12 Alexander Olk <[email protected]>
  17031. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  17032. 2006-01-12 Alexander Olk <[email protected]>
  17033. * FileDialog.cs: Added ToolTip for MWFFileView
  17034. * MimeIcon.cs: Rewrote GnomeHandler.
  17035. - Get currently used gnome icon theme from
  17036. ($HOME)/.gconf/%gconf-tree.xml
  17037. - Make use of inherited icon themes
  17038. - Support SVG icon themes like Tango via librsvg
  17039. 2006-01-12 Miguel de Icaza <[email protected]>
  17040. Revert's Jackson's revert which broke 2.0 builds. Fix both
  17041. builds.
  17042. * Application.cs: Move the use_compatible_text_rendering outside
  17043. the NET_2_0 define. If we ever need to use the
  17044. use_compatible_text_rendering on the individual controls they will
  17045. access the variable from the common shared code paths.
  17046. 2006-01-12 Peter Dennis Bartok <[email protected]>
  17047. * XplatUI.cs:
  17048. - Added more granular debug options
  17049. - Added method to print both window text and id
  17050. - Switched debug output to use new Window() debug method
  17051. - Added IsEnabled() driver method
  17052. - Added EnableWindow() driver method
  17053. * Form.cs:
  17054. - Removed end_modal; no longer needed, new loop handles termination
  17055. via 'closing' variable
  17056. - If form is modal, setting DialogResult will now initiate loop
  17057. termination via 'closing' variable
  17058. - Added support for is_enabled/WS_DISABLED to CreateParams
  17059. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  17060. does all the work
  17061. - Removed code that's now in RunLoop from ShowDialog()
  17062. - Added various documented sanity checks to ShowDialog()
  17063. - Added handling of WM_DESTROY message; we set 'closing' on getting
  17064. the message to indicate the message pump to terminate
  17065. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  17066. send by the Application.ExitThread method. (We send the message
  17067. to destroy the window after all other events have been
  17068. processed through the queue, instead of destroying the handle
  17069. directly)
  17070. - Moved code from Close() method to WM_CLOSE handler; added logic
  17071. to only send close-related events if the form is not displayed
  17072. modal
  17073. * Splitter.cs (..ctor): Fixed typo in resource name
  17074. * Control.cs:
  17075. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  17076. brush now
  17077. - set_Cursor: Now only setting calling into XplatUI if the handle for
  17078. the control is already created; this avoids implict handle creation
  17079. or crashes if it's not created
  17080. - set_Enabled: Now setting the enabled state via the new driver method
  17081. instead of just tracking it
  17082. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  17083. - CreateControl: Reordered event firing and method calls to more
  17084. closely fire events in the order MS does. Now setting the
  17085. enabled state in the driver when creating the control.
  17086. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  17087. match MS order
  17088. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  17089. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  17090. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  17091. * Hwnd.cs:
  17092. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  17093. - Added EnabledHwnd property to easily allow a driver to find the
  17094. handle of the first enabled window in the parent chain (this is
  17095. used by drivers to pass up input events of disabled windows)
  17096. * XplatUIDriver.cs: Added IsEnabled() method
  17097. * Application.cs:
  17098. - Removed crude and obsolete exiting tracking variable
  17099. - Removed internal ModalRun(); replaced by RunLoop()
  17100. - Implemented private CloseForms() method to allow closing all
  17101. windows owned by a particular (or all) threads
  17102. - Exit() now properly closes all windows without forcing the message
  17103. pump to quit
  17104. - Removed obsolete InternalExit() method
  17105. - Changed Run() methods to use new RunLoop() message pump
  17106. - Implemented new RunLoop() method for both modal and non-modal forms
  17107. * CommonDialog.cs:
  17108. - get_CreateParams: Added setting of WS_DISABLED
  17109. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  17110. invoked via Form.ShowDialog()
  17111. * NativeWindow.cs: We don't remove the window from the collection when
  17112. the handle is destroyed; there might still be messages for it in the
  17113. queue (mainly the resulting WM_DESTROY); instead it will be removed
  17114. when Control calls InvalidateHandle in the WM_DESTROY handler
  17115. * XplatUIX11.cs:
  17116. - CreateWindow: Added logic to handle the WS_DISABLED window style
  17117. - EnableWindow: Implemented based on Hwnd.Enabled
  17118. - GetMessage: Reset PostQuitState so the method can be called again
  17119. - Implemented support for disabled windows (passing messages to the
  17120. first enabled parent) in handling all input messages
  17121. - Added optimizations for handling Expose events
  17122. - Implemeted new driver method IsEnabled()
  17123. - Now always resetting paint pending tracking vars when we start paint
  17124. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  17125. * XplatUIOSX.cs: Added IsEnabled method stub
  17126. * XplatUIWin32.cs: Implemented new IsEnabled() method
  17127. 2006-01-11 Jackson Harper <[email protected]>
  17128. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  17129. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  17130. variables a little.
  17131. * ColorDialog.cs: Clear out the old form before adding the new
  17132. panel.
  17133. 2006-01-11 Jackson Harper <[email protected]>
  17134. * X11Dnd.cs: Make sure to add all the text formats when adding
  17135. strings to the data object.
  17136. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  17137. do some redrawing too. Also change the UpdateNode to an
  17138. UpdateBelow so the newly added node gets painted.
  17139. 2006-01-11 Miguel de Icaza <[email protected]>
  17140. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  17141. LinkLabel.cs, PropertyGrid.cs: Implement the
  17142. UseCompatibleTextRendering property for 2.x
  17143. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  17144. 2006-01-11 Jackson Harper <[email protected]>
  17145. * TreeView.cs: Use the property for setting the selected node so
  17146. the correct events get raised.
  17147. * TreeNode.cs: Update the tree when the fore/back colours of a
  17148. node are set.
  17149. 2006-01-10 Jackson Harper <[email protected]>
  17150. * TreeView.cs: Allow setting SelectedNode to null.
  17151. 2006-01-9 Jonathan Chambers <[email protected]>
  17152. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  17153. 2006-01-9 Jonathan Chambers <[email protected]>
  17154. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  17155. 2006-01-9 Jonathan Chambers <[email protected]>
  17156. * PrintDialog.cs: Added attributes and set default property values.
  17157. 2006-01-9 Jonathan Chambers <[email protected]>
  17158. * PrintControllerWithStatusDialog.cs:
  17159. Added PrintControllerWithStatusDialog.
  17160. 2006-01-9 Jonathan Chambers <[email protected]>
  17161. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  17162. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  17163. 2006-01-9 Jonathan Chambers <[email protected]>
  17164. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  17165. 2006-01-09 Jonathan Chambers <[email protected]>
  17166. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  17167. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  17168. 2006-01-08 Alexander Olk <[email protected]>
  17169. * MimeIcon.cs: Added internal class SVGUtil.
  17170. 2006-01-08 Alexander Olk <[email protected]>
  17171. * FileDialog.cs: Don't crash if there are two files with the
  17172. same name but different locations.
  17173. 2006-01-08 John BouAntoun <[email protected]>
  17174. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  17175. dates across multiple month grids. Used to not highlight entire
  17176. month, but does now.
  17177. 2006-01-06 Jackson Harper <[email protected]>
  17178. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  17179. message loop. Change timer intervals to numbers that seem more
  17180. natural.
  17181. 2006-01-06 John BouAntoun <[email protected]>
  17182. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  17183. object for location info since screen object is now implemented.
  17184. 2006-01-05 Jackson Harper <[email protected]>
  17185. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  17186. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  17187. AsyncMethodResult, this is because we ALWAYS want the
  17188. ManualResetEvent to get set.
  17189. * Control.cs: When disposing use an async invoke to call shutdown
  17190. code, so that thigns don't block on the finalizer thread. Also
  17191. check if we even have a message loop before trying to send
  17192. messages, if we don't then don't bother sending messages.
  17193. - No more weak references for async methods
  17194. * XplatUIDriver.cs: No more weak references for async methods.
  17195. 2006-01-04 Alexander Olk <[email protected]>
  17196. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  17197. returns two FontFamily with the same name
  17198. 2006-01-04 Peter Dennis Bartok <[email protected]>
  17199. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  17200. drawing disabled text. Instead using the ColorGrayText color
  17201. 2006-01-04 Jackson Harper <[email protected]>
  17202. * TreeNode.cs: redraw the node when its image index is changed.
  17203. 2006-01-04 Peter Dennis Bartok <[email protected]>
  17204. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  17205. time I checked there are no others like it.
  17206. 2006-01-04 Jackson Harper <[email protected]>
  17207. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  17208. this gives the behavoir I was looking for.
  17209. * Control.cs: Special case Invoking EventHandlers, this matches MS
  17210. and fixes part of bug #76326.
  17211. 2006-01-04 Alexander Olk <[email protected]>
  17212. * ThemeClearlooks.cs, FileDialog.cs:
  17213. - Reflect the latest Theme class changes
  17214. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  17215. with DateTime
  17216. 2006-01-04 Alexander Olk <[email protected]>
  17217. * Theme.cs: Cache UI resource images and resize them if needed
  17218. 2006-01-03 Peter Dennis Bartok <[email protected]>
  17219. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  17220. is called. This fixes the crash in Nexxia when setting the font
  17221. attributes in the chat. [However, RTF needs a look-over to make sure
  17222. that all SelectionXXX methods handle the special case that selection
  17223. is empty and therefore the change must be applied to all text starting
  17224. at the cursor/selection start]
  17225. 2006-01-03 Peter Dennis Bartok <[email protected]>
  17226. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  17227. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  17228. * X11Keyboard.cs: Switched to new way of calling PostMessage
  17229. 2006-01-03 Peter Dennis Bartok <[email protected]>
  17230. * Theme.cs: Added theme interface for images to allow the theme to
  17231. control what images are used for things like FileDialog, MessageBox
  17232. icons, etc.
  17233. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  17234. 2006-01-03 Alexander Olk <[email protected]>
  17235. * FileDialog.cs:
  17236. - Removed some dead code
  17237. - Opening a recently used file does work now
  17238. - Small UI enhancements
  17239. - Refactoring
  17240. 2006-01-02 Alexander Olk <[email protected]>
  17241. * FileDialog.cs: Forgot too add __MonoCS__
  17242. 2006-01-02 Alexander Olk <[email protected]>
  17243. * FileDialog.cs: We are able to read recently used files now let's
  17244. go on and write them.
  17245. 2006-01-01 Alexander Olk <[email protected]>
  17246. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  17247. button
  17248. * MimeIcon.cs: Do a check for the top level media type also
  17249. 2005-12-31 Alexander Olk <[email protected]>
  17250. * ThemeClearlooks.cs:
  17251. - Added CPDrawStringDisabled
  17252. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  17253. some chars if the text doesn't fit into text_rect
  17254. - DrawListViewItem: If View = View.LargeIcon center the image;
  17255. rewrote the drawing of ListViewItem.Text if View =
  17256. View.LargeIcon
  17257. 2005-12-31 Alexander Olk <[email protected]>
  17258. * MimeIcon.cs: Use default KDE icon theme if there is no
  17259. "48x48" directory for the current icon theme, fixes #77114
  17260. * Mime.cs: Disable not working and actually not used code.
  17261. * ThemeWin32Classic.cs:
  17262. - Replace "new SolidBrush" in GetControlBackBrush and
  17263. GetControlForeBrush with ResPool.GetSolidBrush
  17264. - Changed DrawListViewItem from private to protected virtual
  17265. * FileDialog.cs:
  17266. - Added form.MaximizeBox = true
  17267. - Don't throw an exception if there is a broken symbolic link
  17268. 2005-12-23 Jackson Harper <[email protected]>
  17269. * TabControl.cs: Give the panels focus, keyboard navigation is
  17270. fixed so this works correctly now.
  17271. - We need these key events also.
  17272. * ToolBar.cs: Remove some of the poor mans double buffering.
  17273. 2005-12-24 Alexander Olk <[email protected]>
  17274. * ComboBox.cs: The internal TextBox now returns the focus.
  17275. 2005-12-23 Jackson Harper <[email protected]>
  17276. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  17277. 2005-12-23 Peter Dennis Bartok <[email protected]>
  17278. * Control.cs: Removed debug code
  17279. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  17280. implicit children
  17281. 2005-12-23 Peter Dennis Bartok <[email protected]>
  17282. * Control.cs: When creating the control, update the Z-order after
  17283. all it's children are created, too. (Fixes nexxia not showing
  17284. picturebox bug)
  17285. 2005-12-23 Peter Dennis Bartok <[email protected]>
  17286. * Control.cs: Do not update the anchoring distances if layout is
  17287. suspended, instead do it once layout is resumed
  17288. 2005-12-22 Peter Dennis Bartok <[email protected]>
  17289. * Control.cs:
  17290. - After many hours of debugging, for both Jackson and
  17291. myself, it turns out that it helps to set the parent of a control
  17292. if you want to actually see it onscreen. In the spirit of that
  17293. discovery, we're now setting the parent of the control and
  17294. it's children when the control's handle is created. This fix
  17295. will make Lutz Roeder's Reflector run happily.
  17296. - now just creating the handle instead of the whole control when
  17297. getting a graphics context for the control.
  17298. 2005-12-22 Peter Dennis Bartok <[email protected]>
  17299. * ScrollableControl.cs: When calculating the canvas, don't consider
  17300. the scrollbar widths. Instead, predict if horizontal scrollbar
  17301. will affect canvas when deciding on vertical display and vice versa.
  17302. 2005-12-22 Peter Dennis Bartok <[email protected]>
  17303. * RichTextBox.cs: Set default RTF font for documents that don't
  17304. have a font table (Fixes #77076)
  17305. 2005-12-22 Jackson Harper <[email protected]>
  17306. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  17307. clipboard. This prevents a NullRef in that case.
  17308. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  17309. clipboard. PRIMARY is for the currently selected text only. (We
  17310. should implement PRIMARY at some point.
  17311. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17312. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  17313. a Unicode function with a structure that was defined in Ansi way.
  17314. This fixes #76942.
  17315. 2005-12-21 Jackson Harper <[email protected]>
  17316. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  17317. on. Because thats how it rolls. (and this avoids it using ambient
  17318. colours).
  17319. * ThemeWin32Classic.cs: Use the proper back color for filling.
  17320. * Menu.cs: Use the system menu bar color for drawing menu
  17321. bars. Using the window back color will bring ambient colours into
  17322. the picture.
  17323. 2005-12-21 Alexander Olk <[email protected]>
  17324. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  17325. Bitmaps were created and not disposed.
  17326. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17327. * Control.cs (CreateControl): Don't do anything if the control is
  17328. already created, otherwise we'd fire the OnCreated event more than
  17329. once
  17330. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17331. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  17332. will always match. Instead return -1. Fixes #76464.
  17333. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17334. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  17335. neither the beginning nor the end of the line (Fixes bug #76479)
  17336. 2005-12-21 Peter Dennis Bartok <[email protected]>
  17337. * Control.cs:
  17338. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  17339. where handle is invalid
  17340. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  17341. instead of slower linear search
  17342. * NativeWindow.cs: Don't remove the window from the hashtable until
  17343. after the driver has destroyed it (since the driver might use
  17344. Control.FromHandle to lookup the control object
  17345. * Hwnd.cs: Added DestroyPending property to track if a window is
  17346. already destroyed as far as the driver is concerned and only hasn't
  17347. yet notified the control
  17348. * XplatUIX11.cs:
  17349. - Activate(): Check if the window is still valid before using the
  17350. handle
  17351. - Implemented DestroyChildWindow() method to mark child windows as
  17352. destroyed when a window is destroyed. This prevents situations
  17353. where we might call an X method based on queued events for a
  17354. window that already has been destroyed but we haven't yet pulled
  17355. the destroy method from the queue.
  17356. - Added a call to the new DestroyChildWindow() method to the drivers
  17357. DestroyWindow code. Also now marking the destroyed window itself
  17358. as pending
  17359. 2005-12-20 Jackson Harper <[email protected]>
  17360. * StatusBar.cs:
  17361. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  17362. anymore. Just do them when needed, also track the rects of panels
  17363. so that we can optimize refreshing more in the future.
  17364. 2005-12-20 Alexander Olk <[email protected]>
  17365. * ColorDialog.cs: Fixed focus drawing in small color controls
  17366. 2005-12-19 Jackson Harper <[email protected]>
  17367. * InternalWindowManager.cs:
  17368. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  17369. moving windows works properly.
  17370. 2005-12-19 Peter Dennis Bartok <[email protected]>
  17371. * Control.cs:
  17372. - Removed call to InitLayout() from SetBoundsCore(); doc says
  17373. it's only called when a control is added to a container
  17374. - Split InitLayout logic, moved to separate UpdateDistances() method
  17375. since we need to perform those calculations more often than just
  17376. when adding the control to a container. (Needed to fix #77022)
  17377. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  17378. - Reduced the OnBindingContextChanged events count, don't send them
  17379. unless the control is created, we still aren't totally matching
  17380. MS, but I can't quite figure out some of their rules
  17381. 2005-12-18 Alexander Olk <[email protected]>
  17382. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  17383. stripes
  17384. 2005-12-18 Alexander Olk <[email protected]>
  17385. * ThemeClearlooks.cs:
  17386. - Updated ProgressBar drawing
  17387. - Corrected drawing of ScrollBars and scroll buttons
  17388. - Some temporary fixes for minor pixel artefacts
  17389. 2005-12-18 Peter Dennis Bartok <[email protected]>
  17390. * Control.cs:
  17391. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  17392. cause events to be sent in the same order as MS does.
  17393. - Added ChangeParent() method to trigger various OnXXXChanged events
  17394. that need to be fired when a parent changes (This is a reworking
  17395. of the patch from r54254, with the X11 errors fixed)
  17396. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  17397. since on MS we get OnLayoutChanged events when calling Clear()
  17398. - Changed Enabled property to consider parent state as well, if a
  17399. parent is not enabled, the control will not be either
  17400. - Changed Parent property to simply call Controls.Add() since that
  17401. now does all the work required, this way we avoid code duplication
  17402. - Threw in a few OnBindingsContextChanged calls to try and match
  17403. when MS sends them. We seem to send a few too many, though.
  17404. - Added call to CreateControl when adding the control to a parent.
  17405. We were never calling CreateControl. Still needs some work, in
  17406. some places we treat HandleCreated and ControlCreated as equal,
  17407. which is wrong
  17408. - Removed obsolete commented out code from UpdateZOrder()
  17409. 2005-12-18 Alexander Olk <[email protected]>
  17410. * ThemeClearlooks.cs: Updated TrackBar drawing.
  17411. 2005-12-17 Alexander Olk <[email protected]>
  17412. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  17413. 2005-12-17 Alexander Olk <[email protected]>
  17414. * FileDialog.cs: Add the Help button and the open readonly
  17415. checkbox only if needed
  17416. 2005-12-16 Jackson Harper <[email protected]>
  17417. * Control.cs: Make sure we have an active menu before trying to
  17418. process commands on it. Prevents menu-less forms from crashing
  17419. when Alt is pressed.
  17420. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  17421. Dieter Bremes.
  17422. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  17423. 2.0 build.
  17424. 2005-12-16 Jackson Harper <[email protected]>
  17425. * InternalWindowManager.cs: Don't translate tool windows screen
  17426. coordinates. This fixes windows 'bouncing' around when being moved.
  17427. 2005-12-15 Peter Dennis Bartok <[email protected]>
  17428. * TextBoxBase.cs:
  17429. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  17430. not quite MS compatible, MS uses that number only for single line
  17431. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  17432. the limit at 2GB)
  17433. - Now enforcing the MaxLength limit when entering characters
  17434. - Added argument to internal Paste() method to track if it's called
  17435. from programatically or via keyboard, since keyboard driven pastes
  17436. need to enforce max-length
  17437. - Added logic to Paste to only paste as many chars as MaxLength
  17438. allows
  17439. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  17440. * TextControl.cs:
  17441. - Added Length property to return number of characters in document
  17442. - Added private CharCount property which only tracks actual chars
  17443. in the document (no linefeeds) and fires event when CharCount
  17444. changes
  17445. - Added tracking of character count to all methods that alter it
  17446. - Added LengthChanged event to allow applications to subscribe
  17447. to any changes to the document
  17448. 2005-12-15 Peter Dennis Bartok <[email protected]>
  17449. * TextBox.cs:
  17450. - Removed local password_char field (moved to TextBoxBase)
  17451. - Now setting the document's password var when password is
  17452. set
  17453. * TextBoxBase.cs:
  17454. - Added password_char field (needed here so MultiLine can
  17455. access it)
  17456. - Added logic to MultiLine property setter to set the document's
  17457. variable when password display is allowed
  17458. - Removed debug code and made some debug code conditional
  17459. * TextControl.cs:
  17460. - Added RecalculatePasswordLine() method to handle special password
  17461. char only lines
  17462. - Added PasswordChar property, also added related tracking vars
  17463. - Draw() method now uses local text var for grabbing text to draw,
  17464. this var is set to line.text unless we're doing password display,
  17465. then it is set to the pre-generated all-password-chars line
  17466. - Added calling RecalculatePasswordLine() method for password lines
  17467. 2005-12-14 Peter Dennis Bartok <[email protected]>
  17468. * Hwnd.cs:
  17469. - Added Reparented property to allow tracking of Window Manager
  17470. reparenting actions (which affect X/Y calculations of toplevel
  17471. windows)
  17472. - Made ToString() print window handles in hex
  17473. * XplatUIX11.cs:
  17474. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  17475. determine if X/Y needs offsetting
  17476. - AddConfigureNotify(): Fixed offset calculations
  17477. - Now adds ReparentNotify messages into the queue
  17478. - Now processes ReparentNotify messages and causes a
  17479. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  17480. is reparented (as most likely it's X/Y coordinates are changed
  17481. due to that)
  17482. 2005-12-14 Jackson Harper <[email protected]>
  17483. * XplatUIX11.cs: Tool windows still need to respek focus.
  17484. 2005-12-14 Peter Dennis Bartok <[email protected]>
  17485. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  17486. have a working release
  17487. 2005-12-13 Jackson Harper <[email protected]>
  17488. * Form.cs: Update styles after setting the border style regardless
  17489. of whether or not the window is using a window manager.
  17490. 2005-12-13 Jackson Harper <[email protected]>
  17491. * Form.cs: We now hook into an internal window manager instead of just an
  17492. MDI subsystem, this is so we can have properly behaving tool windows.
  17493. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  17494. * InternalWindowManager.cs: New internal class that acts as a
  17495. window manager for tool windows and as a base for mdi windows.
  17496. * MdiWindowManager.cs: New class that acts as a window manager for
  17497. mdi windows.
  17498. 2005-12-12 Jackson Harper <[email protected]>
  17499. * Control.cs: Updates so we match behavoir for for implicit
  17500. controls. Fixes explosions in MDI.
  17501. 2005-12-12 Jackson Harper <[email protected]>
  17502. * Control.cs: Implement Invalidate (Region).
  17503. 2005-12-12 Peter Dennis Bartok <[email protected]>
  17504. * Control.cs:
  17505. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  17506. the same events as MS does. MS fires events for each property
  17507. except, for unknown reasons, Cursor, when the control is reparented.
  17508. I can't seem to totally match add/remove since MS also fires some
  17509. VisibleChanged events, which makes no sense. Consolidated the
  17510. parenting code into a separate method so it can be called from
  17511. both Add and Remove. set_Parent no longer needs any special logic
  17512. as it calls the parent's add method which implicitly fires
  17513. all events
  17514. - Removed some obsolete code and debug output
  17515. - Enabled state is inherited from parents, if this is enabled
  17516. 2005-12-08 Peter Dennis Bartok <[email protected]>
  17517. * Form.cs: Removed commented out code
  17518. 2005-12-08 Peter Dennis Bartok <[email protected]>
  17519. * Control.cs:
  17520. - Added internal version of Invoke, with additional argument
  17521. indicating if we're calling it from a Dispose() handler. That
  17522. way we can avoid BeginInvoke throwing an exception if we're
  17523. calling for an already destroyed window.
  17524. - Added a dispose argument to BeginInvokeInternal, and made the
  17525. check if a valid window handle chain exists conditional on
  17526. it not being a dispose call
  17527. - Removed code in DestroyHandle to destroy our children. Since we
  17528. now handle the WM_DESTROY message we will catch all our children
  17529. being destroyed.
  17530. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  17531. * Form.cs:
  17532. - Added a field to track the application context of the form.
  17533. - No need to set closing variable as response to WM_CLOSE, instead
  17534. we destroy the window. We also call PostQuitMessage if the form
  17535. has an application context (which makes it the main app form,
  17536. which, when closed terminates the app)
  17537. * XplatUI.cs:
  17538. - Dropped Exit() method, it's naming was confusing
  17539. - Added PostQuitMessage() which causes GetMessage to return false
  17540. once the message queue is empty
  17541. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  17542. PostQuitMessage()
  17543. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  17544. no longer a valid XplatUI method, but left it in since it's used
  17545. internally. Added empty PostQuitMessage() method.
  17546. * MenuAPI.cs: Replaced call to Exit() with call to
  17547. PostQuitMessage, even though this is probably no longer needed.
  17548. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  17549. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  17550. * Application.cs:
  17551. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  17552. - Removed old debug code that would call XplatUI for exception
  17553. display, enabled standard exception handling (Still not enabled
  17554. though, until NativeWindow's ExternalExceptionHandler define
  17555. is removed
  17556. * NativeWindow.cs:
  17557. - Added internal method to allow control to update NativeWindow
  17558. after a window has been destroyed
  17559. - Added handling of already destroyed windows when calling i
  17560. DestroyWindow
  17561. - Added removal of handle from list on ReleaseHandle
  17562. * XplatUIX11.cs:
  17563. - Dropped GetMessageResult var and related code
  17564. - Added PostQuitState to field to track if PostQuitMessage has been
  17565. called
  17566. - Dropped Exit() method
  17567. - Added PostQuitMessage() method
  17568. - GetMessage now will return false if PostQuitState is set and no
  17569. more messages are in the queue.
  17570. - Expose handler will no longer generate WM_PAINT messages if we are
  17571. in PostQuitState since it's very likely any windows have already
  17572. been destroyed, and since Hwnd won't get updated until we have
  17573. processed the DestroyNotify we'd be causing X errors.
  17574. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17575. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  17576. Thanks to Mike for pointing out the err of my ways.
  17577. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17578. * Control.cs(PreProcessMessage): Moved menu handling back, but
  17579. after all other key handling, to match MS (who handles Menu in
  17580. DefWndProc)
  17581. * Menu.cs (WndProc): Removed my brainfart
  17582. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17583. * Control.cs(PreProcessMessage): Removed special menu handling
  17584. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  17585. 2005-12-07 Mike Kestner <[email protected]>
  17586. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  17587. state according in tracker.
  17588. * Menu.cs : promote tracker field to base class and provide a tracker
  17589. lookup capability. Add/Remove shortcuts dynamically if the top menu
  17590. has a tracker. Unparent items that are removed from the collection.
  17591. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  17592. * Theme*.cs: add always_show_hotkeys field to support configurability
  17593. of mnemonic display. win32 doesn't show mnemonics until Alt is
  17594. pressed.
  17595. 2005-12-07 Jackson Harper <[email protected]>
  17596. * MdiChildContext.cs: Use Control.ResetCursor.
  17597. * Control.cs: ResetCursor needs to set the property so that the
  17598. correct XplatUI call gets made.
  17599. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17600. * Control.cs: More fixes to make our key events match MS. We
  17601. were not setting the modifier state on KeyData, and we were
  17602. not generating any events when Alt was pressed with a key
  17603. since handling of WM_SYSxxx was missing for the OnKey methods.
  17604. 2005-12-07 Jackson Harper <[email protected]>
  17605. * MdiChildContext.cs: reenable the sizing code.
  17606. - When the mouse leaves a window reset its cursor.
  17607. 2005-12-07 Alexander Olk <[email protected]>
  17608. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  17609. 2005-12-07 Peter Dennis Bartok <[email protected]>
  17610. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  17611. widths of Fixed3D borders
  17612. 2005-12-07 Jackson Harper <[email protected]>
  17613. * MdiClient.cs: Fix warnings. Earn Mike's love.
  17614. 2005-12-07 Alexander Olk <[email protected]>
  17615. * ThemeClearlooks.cs:
  17616. - Adjusted mouse over button color
  17617. - Added first parts of CheckBox drawing
  17618. - Added correct color for selected text background
  17619. - Fixed ComboBox drawing
  17620. - Added CPDrawBorder3D and CPDrawBorder
  17621. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17622. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  17623. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17624. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  17625. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  17626. alert users via sound. We could add an enum arg with different
  17627. types of alerts in the future
  17628. 2005-12-06 Peter Dennis Bartok <[email protected]>
  17629. * Control.cs: Fix behaviour problems pointed out by Mike
  17630. 2005-12-05 Mike Kestner <[email protected]>
  17631. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  17632. prop setters. Calls parent.Refresh for now, but could be maybe be
  17633. optimized with an internal method on StatusBar at some point.
  17634. [Fixes #76513]
  17635. 2005-12-05 Peter Dennis Bartok <[email protected]>
  17636. * RichTextBox.cs: Implemented get_SelectionColor
  17637. 2005-12-05 Alexander Olk <[email protected]>
  17638. * ThemeClearlooks.cs:
  17639. - Removed dead code
  17640. - Draw black button border only if button is Form.AcceptButton
  17641. - Draw correct button color for pressed RadioButton if the mouse
  17642. has entered the button
  17643. - Updated ProgressBar drawing!
  17644. - Updated CPDrawSizeGrip drawing
  17645. - Updated StatusBarPanel drawing
  17646. 2005-12-05 Mike Kestner <[email protected]>
  17647. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  17648. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  17649. 2005-12-04 Alexander Olk <[email protected]>
  17650. * ThemeClearlooks.cs: Initial check-in, activate with
  17651. export MONO_THEME=clearlooks
  17652. * ThemeEngine.cs: Added ThemeClearlooks
  17653. 2005-12-03 Mike Kestner <[email protected]>
  17654. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  17655. [Fixes #76897]
  17656. 2005-12-02 Jackson Harper <[email protected]>
  17657. * Form.cs: If the child form has no menu the default main menu is
  17658. used as the active menu.
  17659. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17660. * ListBox.cs: Check if any items exist before trying to resolve
  17661. coordinates into items
  17662. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17663. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  17664. as the second color for the background hatch
  17665. 2005-12-02 Peter Dennis Bartok <[email protected]>
  17666. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  17667. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  17668. sure that what we pass to FormatText is always 1-based. Fixes #76885
  17669. 2005-11-29 Miguel de Icaza <[email protected]>
  17670. * NumericUpDown.cs (EndInit): When we are done initializing,
  17671. reflect any updates on the UI.
  17672. 2005-12-02 Jackson Harper <[email protected]>
  17673. * ImplicitHScrollBar.cs:
  17674. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  17675. their container controls.
  17676. * TreeView.cs: Use the new implicit scrollbars.
  17677. 2005-12-02 Jackson Harper <[email protected]>
  17678. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  17679. can play with it.
  17680. * TreeNodeCollection.cs: If we remove the topnode we need to
  17681. update topnode to the next node in line.
  17682. - When clearing nodes go through the same process as removing
  17683. them, so they get depareneted and checked if they are top node.
  17684. 2005-12-01 Jackson Harper <[email protected]>
  17685. * TreeView.cs: When imagelists are used the image area is
  17686. selectable as well as the text.
  17687. - If there are no selected nodes select the first one.
  17688. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  17689. so don't do it more then we need to.
  17690. 2005-12-01 Jackson Harper <[email protected]>
  17691. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  17692. that arrows can be scaled.
  17693. 2005-12-01 Jackson Harper <[email protected]>
  17694. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  17695. fail. Patch by Dieter Bremes
  17696. 2005-11-30 Jackson Harper <[email protected]>
  17697. * Form.cs: Property is 2.0 only
  17698. * PrintDialog.cs: Signature fix.
  17699. 2005-11-30 Peter Dennis Bartok <[email protected]>
  17700. * TextControl.cs:
  17701. - No longer artificially moves text 2 pixels down (now that we have
  17702. borders this is no longer needed)
  17703. - Added calcs for left, hanging and right indent
  17704. 2005-11-23 Mike Kestner <[email protected]>
  17705. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  17706. 2005-11-30 Jackson Harper <[email protected]>
  17707. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  17708. get cloned as part of CloneMenu ().
  17709. * Menu.cs: Make sure the parent of the items get set correctly
  17710. when they are added. And the owners are notified of the changes.
  17711. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  17712. we can change the menu being displayed/handled by the form without
  17713. changing the menu assosciated with the form.
  17714. - Don't let Mdi children draw/handle menus.
  17715. 2005-11-30 Jackson Harper <[email protected]>
  17716. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  17717. a MenuChanged event. Just to make the API a little more
  17718. consistent.
  17719. * MainMenu.cs:
  17720. * MenuItem.cs: Use the new OnMenuChanged
  17721. * MdiChildContext.cs: Handle menu merging.
  17722. * Form.cs: Implement MergedMenu.
  17723. 2005-11-30 Jackson Harper <[email protected]>
  17724. * Menu.cs: We were misusing Add. Add goes behind the specified
  17725. index according to the docs, and does not replace the specified
  17726. index. So I added an Insert method.
  17727. 2005-11-30 Peter Dennis Bartok <[email protected]>
  17728. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  17729. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  17730. is for Jackson
  17731. * RichTextBox.cs: Added calls to base for DnD events
  17732. 2005-11-28 Peter Dennis Bartok <[email protected]>
  17733. * TextControl.cs:
  17734. - Fixed drag-selection related crash; style fixes
  17735. - Implemented undo class
  17736. o Implemented method to capture document state for specified
  17737. range in document tree
  17738. o Implemented method to restore captured document state
  17739. o Implemented cursor tracking
  17740. o Implemented basic undo stack
  17741. - Added undo cursor tracking to methods altering cursor location
  17742. - Added undo tracking to selection deletion (still missing
  17743. other text-altering hookups)
  17744. * RichTextBox.cs:
  17745. - Added SelectionLength property
  17746. - Implemented CanPaste()
  17747. - Implemented Paste()
  17748. - Added missing protected methods
  17749. - Fixed RTF->Document conversion; now uses font index 0 and color
  17750. index 0 as the default font for the parsed text
  17751. - Fixed RTF<->Document font size translation
  17752. - Fixed RTF generation, now properly handles cross-tag boundaries
  17753. for single line selection
  17754. - No longer always appends blank line to generated RTF
  17755. - Removed TODOs
  17756. - Added missing attributes
  17757. - Hooked up undo-related methods
  17758. * TextBoxBase.cs:
  17759. - Implemented Copy()
  17760. - Implemented Paste()
  17761. - Implemented Cut()
  17762. - Fixed caret mis-behaviour on backspace across line-boundaries
  17763. 2005-11-29 Jackson Harper <[email protected]>
  17764. * MdiClient.cs: Add a method for activating mdi children. Very
  17765. basic right now. I imagine someday it might need more girth.
  17766. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  17767. children windows names are added to the menu item.
  17768. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  17769. mdilist. This happens regardless of whether or not there are any
  17770. mdi windows to see in the list, and according to my tests happens
  17771. before the items are even added. Also happens if there isn't even
  17772. an mdi client to get windows from.
  17773. 2005-11-29 Alexander Olk <[email protected]>
  17774. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  17775. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  17776. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  17777. * DataGridTableStyle.cs:
  17778. - Create always the styles for the missing columns even if they are
  17779. provided by the user (not default table style)
  17780. * DataGrid.cs:
  17781. - Fixes bug 76770
  17782. - Fixes SetDataBinding (always re-attach source)
  17783. - Fixes SetNewDataSource (only clear styles if they are not for
  17784. this source)
  17785. - Expands OnTableStylesCollectionChanged to handle style refresh
  17786. and remove properly
  17787. 2005-11-29 Jackson Harper <[email protected]>
  17788. * FileDialog.cs: Implement missing bits, remove some dead
  17789. code.
  17790. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  17791. creation of the panel so that the options set on the dialog are
  17792. seen when the panel is created.
  17793. * TreeView.cs: raise a click when items are clicked.
  17794. 2005-11-29 Jackson Harper <[email protected]>
  17795. * MdiClient.cs: Pass some signature methods through to base.
  17796. 2005-11-28 Jackson Harper <[email protected]>
  17797. * ListView.cs: Raise the click event when items are clicked.
  17798. 2005-11-28 Jackson Harper <[email protected]>
  17799. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  17800. a nullref.
  17801. 2005-11-27 Alexander Olk <[email protected]>
  17802. * ThemeNice.cs: - Removed 1 pixel bitmaps
  17803. - Use SmoothingMode.AntiAlias where it makes sense
  17804. (ScrollButton arrow for example)
  17805. - Enhanced Button focus drawing
  17806. - Fixed ComboBox drawing (no artefacts anymore, focus
  17807. rectangle is back again, reduced size of ComboButton, etc.)
  17808. - Fixed RadioButton focus drawing for Appearence.Button
  17809. - Slight ScrollButton redesign
  17810. - Some LinearGradientBrush size fixes
  17811. - GroupBoxes have now rounded edges
  17812. - Fixed StatusBar drawing
  17813. 2005-11-25 Alexander Olk <[email protected]>
  17814. * ThemeNice.cs: - Remove dead code
  17815. - use correct background colors for menus, etc.
  17816. - Fake pixel drawing with 1 pixel bitmaps
  17817. 2005-11-24 Jackson Harper <[email protected]>
  17818. * MdiClient.cs: Size the scrollbars when resizing the window.
  17819. - Resize the maximized windows when the client is resized
  17820. * Form.cs: Make the child context available
  17821. 2005-11-23 Jackson Harper <[email protected]>
  17822. * MdiChildContext.cs: Don't size windows if they are maximized.
  17823. 2005-11-23 Mike Kestner <[email protected]>
  17824. * ContextMenu.cs: use MenuTracker.
  17825. * Control.cs: remove menu handle usage.
  17826. * Form.cs: remove menu handle usage.
  17827. * Hwnd.cs: remove menu handle usage.
  17828. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  17829. motion and clicks to the new Tracker handlers.
  17830. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  17831. and handle usage.
  17832. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  17833. Killed the MENU and MENUITEM data types and associated collections
  17834. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  17835. MenuTracker class that exposes the leftovers from the old MenuAPI
  17836. static methods. Restructured Capture handling so that only one grab is
  17837. done for the entire menu hierarchy instead of handing off grabs to
  17838. submenus. Tracker now has an invisible control to Capture when active.
  17839. * MenuItem.cs: add sizing accessors, kill Create
  17840. and handle usage.
  17841. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  17842. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  17843. MENU(ITEM). remove menu handle usage, use Menu directly.
  17844. * XplatUIDriver.cs: remove menu handle usage.
  17845. * XplatUIOSX.cs: remove menu handle usage.
  17846. * XplatUIWin32.cs: remove menu handle usage.
  17847. * XplatUIX11.cs: remove menu handle usage.
  17848. 2005-11-22 Jackson Harper <[email protected]>
  17849. * Hwnd.cs: Don't compute the menu size for
  17850. DefaultClientRectangle.
  17851. - Reenable menu sizes being computed for GetClienRectangle.
  17852. * Form.cs: Remove comment of trechery
  17853. 2005-11-22 Jackson Harper <[email protected]>
  17854. * Hwnd.cs: The adjustments for the menu bar are made when it is
  17855. attached to the form.
  17856. 2005-11-19 Jackson Harper <[email protected]>
  17857. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  17858. (just like on windows).
  17859. 2005-11-19 Jackson Harper <[email protected]>
  17860. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  17861. use real buttons anymore because they are in non client area. The
  17862. one TODO here is that I need to somehow invalidate a section of
  17863. the non client area.
  17864. 2005-11-18 Jackson Harper <[email protected]>
  17865. * Control.cs: Put the enum check back in now that MDI doesnt have
  17866. to use this to set border styles.
  17867. * Form.cs: Only set mdi child windows borders if the handle has
  17868. been created.
  17869. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  17870. this directly on to the driver.
  17871. - Get the move start position before adjusting for the titlebar
  17872. height, this fixes the windows "skipping" when they are first
  17873. moved.
  17874. 2005-11-18 Jackson Harper <[email protected]>
  17875. * XplatUIX11.cs: Just compute the mdi borders separately as they
  17876. don't totally match up with normal form borders.
  17877. 2005-11-18 Jackson Harper <[email protected]>
  17878. * Control.cs: Set WS_ styles for borders, so that the driver does
  17879. not have to retrieve the control instance to figure out what kind
  17880. of borders it should have.
  17881. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  17882. driver can know its an mdi child easily.
  17883. * XplatUIX11.cs: Get the border styles and whether the window is
  17884. MDI from the Styles and ExStyles params instead of having to get a
  17885. control. This prevents a chicken and egg problem.
  17886. 2005-11-18 Jackson Harper <[email protected]>
  17887. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  17888. 2005-11-18 Jackson Harper <[email protected]>
  17889. * MdiClient.cs: Calculate when to add and remove scrollbars
  17890. correctly.
  17891. * MdiChildContext.cs: Adjust the y position to take the titlebar
  17892. into account.
  17893. - No height for FormBorderStyle.None
  17894. 2005-11-18 Jackson Harper <[email protected]>
  17895. * Control.cs: Allow non enum values to be used for
  17896. InternalBorderStyle. MDI does this to set a special border style.
  17897. - New utility methods for converting points to/from client coords
  17898. - Add the newly created control to the Controls collection before
  17899. updating its style. This way UpdateStyle can walk the control
  17900. heirarchy to find the control if needed.
  17901. so I don't need to create a new Point object all the time.
  17902. * Form.cs: Let MDI windows handle their border styles.
  17903. - Set styles on MDI windows so the correct title style is derived.
  17904. * MdiChildContext.cs: Move all the painting and window handling
  17905. into the non client area.
  17906. - Use correct sizing and put correct buttons on frames based on
  17907. the FormBorderStyle.
  17908. - Notify the mdi client about scrolling
  17909. - Need to handle the buttons ourselves now, because they are all
  17910. in non client areas and we can't add controls there.
  17911. * MdiClient.cs: Halfway to scrolling, this implementation is
  17912. somewhat broken though, we need to check to make sure other
  17913. windows aren't causing scrolling before removing the bars. Also
  17914. the bars need to be drawn on top, maybe I can switch implicit
  17915. controls to be on top.
  17916. * Hwnd.cs: caption_height and tool_caption_height are now
  17917. properties of an hwnd, this way they can be set by the driver
  17918. based on the type of window they are. In X11 the window manager
  17919. handles the decorations so caption_height is zero unless its an
  17920. MDI window.
  17921. - Add 3 pixel borders for MDI windows (0xFFFF).
  17922. - Get rid of some code duplication, have DefaultClientRectanle
  17923. just call GetClientRectangle.
  17924. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  17925. Hwnd now.
  17926. - Set border styles differently for mdi windows.
  17927. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  17928. Hwnd now.
  17929. 2005-11-15 Mike Kestner <[email protected]>
  17930. * Menu.cs: when adding an item to the collection, if item is already
  17931. parented, remove it from the parent.
  17932. 2005-11-13 Alexander Olk <[email protected]>
  17933. * X11DesktopColors.cs: Added KDE support
  17934. 2005-11-11 Peter Dennis Bartok <[email protected]>
  17935. * XplatUIWin32.cs:
  17936. - Clipboard methods now can translate Rtf format
  17937. - No longer removes clipboard contents whenever a new format is added
  17938. to allow placing multiple formats on the clipboard
  17939. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  17940. will place all formats contained in it onto the clipboard. Also
  17941. now cleans the clipboard before placing a new object onto it
  17942. * RichTextBox.cs:
  17943. - Implemented set_Rtf
  17944. - Implemented set_SelectedRtf
  17945. - Created InsertRTFFromStream() method to allow single code base
  17946. for all properties and methods that insert RTF into document
  17947. - Removed debug output
  17948. * TextControl.cs:
  17949. - Fixed Delete(int) to fix up line numbers
  17950. - Fixed ReplaceSelection to combine start and end line
  17951. - Fixed serious DeleteChars bug that would leave the document tree
  17952. broken
  17953. - Improved DumpTree with several logic checks to detect broken
  17954. document trees
  17955. - Removed debug lines
  17956. - Fixed Caret.WordForward/WordBack moving code, now always also
  17957. updates caret.tag (fixes crash when word-selecting across tag
  17958. boundaries via keyboard)
  17959. - Added Insert() method for inserting multiline text into documents
  17960. - Fixed DeleteChars() calculation errors that would cause a broken
  17961. tag chain with multiple tag lines
  17962. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  17963. - Split() no longer moves caret if split is at caret location
  17964. - ReplaceSelection() now updates the cursor and re-displays it
  17965. - ReplaceSelection() now uses new Insert() method to avoid code
  17966. duplication
  17967. - FormatText() can now handle formatting partial lines
  17968. * TextBoxBase.cs:
  17969. - Append now uses new TextControl.Insert() method (this avoids
  17970. duplicate code)
  17971. - Implemented Ctrl-X (Cut) (
  17972. - Implemented Ctrl-C (Copy)
  17973. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  17974. regeneration when pasting text; roundtripping Copy&Paste within
  17975. edit control still fails due to some calculation bugs in GenerateRTF)
  17976. - The Delete key will now remove the current selection if it is visible
  17977. * TextBox.cs: Removed debug lines
  17978. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  17979. driver to be initialized and can't therefore be done via a static ctor)
  17980. 2005-11-10 Peter Dennis Bartok <[email protected]>
  17981. * TextControl.cs: Added backend code for finding char arrays and strings
  17982. * TextBoxBase.cs:
  17983. - Added mouse wheel scroll support
  17984. - Added support for VScroll and HScroll events
  17985. * RichTextBox.cs:
  17986. - Implemented all seven Find() variants
  17987. - Implemented GetCharFromPosition()
  17988. - Implemented GetCharIndexFromPosition()
  17989. - Implemented GetLineFromIndex()
  17990. - Implemented GetPositionFromCharIndex();
  17991. - Implemented SaveFile for PlainText and UnicodeText
  17992. - Fixed set_Font, now setting a new font applies that font to
  17993. the whole document
  17994. - Implemented generic Document to RTF converter
  17995. - Implemented SaveFile for RichText format (still missing unicode
  17996. conversion for non-ansi chars)
  17997. - Implemented get_Rtf
  17998. - Implemented get_SelectedRtf
  17999. 2005-11-09 Peter Dennis Bartok <[email protected]>
  18000. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  18001. to allow any captures to be released before triggering OnClick. This
  18002. way a click handler may capture the mouse without interference.
  18003. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  18004. This way we send them even though X may not allow a grab (if the window
  18005. isn't visible, for example)
  18006. 2005-11-08 Pedro Martinez Julia <[email protected]>
  18007. * DataGridViewRowEventArgs.cs: DataGridView implementation
  18008. * DataGridViewElement.cs: DataGridView implementation
  18009. * DataGridViewComboBoxCell.cs: DataGridView implementation
  18010. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  18011. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  18012. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  18013. * ImageLayout.cs: DataGridView implementation
  18014. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  18015. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  18016. * DataGridViewSelectionMode.cs: DataGridView implementation
  18017. * IDataGridViewEditingControl.cs: DataGridView implementation
  18018. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  18019. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  18020. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  18021. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  18022. * DataGridViewColumnSortMode.cs: DataGridView implementation
  18023. * DataGridView.cs: DataGridView implementation
  18024. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  18025. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  18026. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  18027. * Padding.cs: DataGridView implementation
  18028. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  18029. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  18030. * DataGridViewRowEventHandler.cs: DataGridView implementation
  18031. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  18032. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  18033. * DataGridViewButtonCell.cs: DataGridView implementation
  18034. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  18035. * DataGridViewEditMode.cs: DataGridView implementation
  18036. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  18037. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  18038. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  18039. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  18040. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  18041. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  18042. * DataGridViewCellEventHandler.cs: DataGridView implementation
  18043. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  18044. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  18045. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  18046. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  18047. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  18048. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  18049. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  18050. * QuestionEventArgs.cs: DataGridView implementation
  18051. * IDataGridViewEditingCell.cs: DataGridView implementation
  18052. * DataGridViewTriState.cs: DataGridView implementation
  18053. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  18054. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  18055. * DataGridViewColumnCollection.cs: DataGridView implementation
  18056. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  18057. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  18058. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  18059. * DataGridViewColumn.cs: DataGridView implementation
  18060. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  18061. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  18062. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  18063. * DataGridViewRow.cs: DataGridView implementation
  18064. * DataGridViewImageCellLayout.cs: DataGridView implementation
  18065. * DataGridViewImageCell.cs: DataGridView implementation
  18066. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  18067. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  18068. * DataGridViewHeaderCell.cs: DataGridView implementation
  18069. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  18070. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  18071. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  18072. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  18073. * QuestionEventHandler.cs: DataGridView implementation
  18074. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  18075. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  18076. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  18077. * DataGridViewCell.cs: DataGridView implementation
  18078. * DataGridViewCellEventArgs.cs: DataGridView implementation
  18079. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  18080. * DataGridViewCellStyle.cs: DataGridView implementation
  18081. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  18082. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  18083. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  18084. * TextFormatFlags.cs: DataGridView implementation
  18085. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  18086. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  18087. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  18088. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  18089. * DataGridViewButtonColumn.cs: DataGridView implementation
  18090. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  18091. * HandledMouseEventArgs.cs: DataGridView implementation
  18092. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  18093. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  18094. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  18095. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  18096. * DataGridViewRowCollection.cs: DataGridView implementation
  18097. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  18098. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  18099. * DataGridViewHitTestType.cs: DataGridView implementation
  18100. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  18101. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  18102. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  18103. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  18104. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  18105. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  18106. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  18107. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  18108. * DataGridViewContentAlignment.cs: DataGridView implementation
  18109. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  18110. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  18111. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  18112. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  18113. * DataGridViewPaintParts.cs: DataGridView implementation
  18114. * DataGridViewCellCollection.cs: DataGridView implementation
  18115. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  18116. * DataGridViewImageColumn.cs: DataGridView implementation
  18117. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  18118. * DataGridViewElementStates.cs: DataGridView implementation
  18119. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  18120. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  18121. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  18122. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  18123. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  18124. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  18125. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  18126. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  18127. * DataGridViewTextBoxCell.cs: DataGridView implementation
  18128. * DataGridViewBand.cs: DataGridView implementation
  18129. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  18130. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  18131. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  18132. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  18133. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  18134. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  18135. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  18136. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  18137. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  18138. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  18139. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  18140. 2005-11-08 Peter Dennis Bartok <[email protected]>
  18141. * ThemeWin32Classic.cs:
  18142. - Draw the outside focus rectangle around buttons
  18143. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  18144. doesn't use end caps for every dash of a line anymore. This
  18145. workaround ignores the forecolor.
  18146. 2005-11-08 Kornél Pál <[email protected]>
  18147. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  18148. endian safe.
  18149. 2005-11-07 Jackson Harper <[email protected]>
  18150. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  18151. 2005-11-07 Jackson Harper <[email protected]>
  18152. * ScrollableControl.cs: Calculate the maximum and change vars
  18153. (more) correctly so that scrollbars appear as a sensible size.
  18154. 2005-11-04 Jackson Harper <[email protected]>
  18155. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  18156. collection.
  18157. * TreeView.cs: When the tree is sorted null out the top_node so
  18158. that it is recalculated.
  18159. - Use dotted lines instead of dashed lines to match MS better.
  18160. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  18161. * ListView.cs:
  18162. - Implements key search for items. Useful when browsing files with FileDialog
  18163. - When changing view mode or when clear the items reset scrollbar positions
  18164. 2005-11-04 Jackson Harper <[email protected]>
  18165. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  18166. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  18167. as to what the method may do as there is no real way of creating a
  18168. derived CurrencyManager and calling the method.
  18169. 2005-11-03 Jackson Harper <[email protected]>
  18170. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  18171. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  18172. method which seems to just be used internally to refresh the tabs.
  18173. 2005-11-03 Jackson Harper <[email protected]>
  18174. * TabControl.cs: Implement the remove method. Fix some broken
  18175. comments.
  18176. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18177. * DateTimePicker.cs:
  18178. - Added missing DateTimePickerAccessibleObject class
  18179. - Added missing events
  18180. - Added OnFontChanged method
  18181. * Form.cs: Added missing attributes
  18182. * TreeView.cs: Added missing attributes
  18183. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18184. * GridItemCollection.cs: Fix signatures
  18185. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18186. * XplatUI.cs: Updated build rev/date
  18187. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  18188. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  18189. * Application.cs: Trigger context-specific ExitThread events
  18190. 2005-11-03 Jackson Harper <[email protected]>
  18191. * Menu.cs:
  18192. * MainMenu.cs:
  18193. * GridTableStylesCollection.cs:
  18194. * Timer.cs:
  18195. * TabPage.cs:
  18196. * HelpProvider.cs:
  18197. * StatusBar.cs:
  18198. * MonthCalendar.cs: Signature fixes
  18199. 2005-11-03 Jackson Harper <[email protected]>
  18200. * TreeNodeCollection.cs: Remove should not be virtual.
  18201. * TreeView.cs: Implement the last of the missing methods.
  18202. 2005-11-03 Jackson Harper <[email protected]>
  18203. * TreeNodeConverter.cs: Implement to get off my class-status back.
  18204. 2005-11-03 Jackson Harper <[email protected]>
  18205. * TreeView.cs: Hookup the bits for drag and drop.
  18206. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  18207. that nodes can be moved from tree to tree easily this just causes
  18208. all sorts of problems.
  18209. * TreeNodeCollection: Don't need to give treenodes an index and
  18210. treeview anymore when they are added, these are computed on the
  18211. fly. Also make sure to remove a node before its added.
  18212. 2005-11-03 Peter Dennis Bartok <[email protected]>
  18213. * TextControl.cs:
  18214. - Added CaretSelection enum
  18215. - Added comparison methods to Marker struct, makes selection code
  18216. more readable
  18217. - Added SelectionStart and SelectionEnd as 'moveable' location for
  18218. the CaretDirection enum and handler
  18219. - Added selection_prev variable to track optimized invalidation for
  18220. word and line selection
  18221. - Added SelectionVisible property (returns true if there is a valid
  18222. selection)
  18223. - Switched CaretHasFocus to only display the caret if there is no
  18224. visible selection
  18225. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  18226. using the direct character index; should be much faster
  18227. - Added various conditional debug statements
  18228. - Fixed invalidation calculation for selection ranges
  18229. - Added ExpandSelection() method to support word and line selection
  18230. - Switched SetSelectionToCaret to use new Marker compare overloads
  18231. - Added central IsWordSeparator() method to determine word
  18232. separators/whitespace and FindWordSeparator() to streamline common
  18233. usage of IsWordSeparator()
  18234. * TextBoxBase.cs:
  18235. - Removed unneeded grabbed variable, it was just mirroring
  18236. Control.Capture
  18237. - No longer firing OnTextChanged event when Text setter is called,
  18238. since the base will fire the event for us
  18239. - Added handling of Ctrl-Up/Down selection
  18240. - Added handling of Shift-Cursorkey selection
  18241. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  18242. words
  18243. - Added handling of Shift and Ctrl-Shift-Home/End selection
  18244. - Removed some debug output
  18245. - Added handling for single/double/tripple-click to place caret/
  18246. select word/select line respectively (Fixes bug #76031)
  18247. - Added support for drag expansion of word/line selection
  18248. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  18249. current selection
  18250. 2005-11-02 Jackson Harper <[email protected]>
  18251. * X11Dnd.cs: If the drag is going to and from a MWF window just
  18252. copy the data instead of sending it out through the X Selection
  18253. mechanism.
  18254. 2005-11-02 Jackson Harper <[email protected]>
  18255. * X11Dnd.cs:
  18256. * XplatUIX11.cs: When in a drag we don't want motion notify
  18257. messages to get passed on to the other controls. This prevents
  18258. mouse move messages from showing up in the drag source.
  18259. 2005-11-02 Jackson Harper <[email protected]>
  18260. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  18261. the correct button is release to end a drag.
  18262. * XplatUIX11.cs: Make the button state internal so the drag system
  18263. can access it. Dragging needs to know about all button releases,
  18264. not just left button.
  18265. 2005-11-02 Miguel de Icaza <[email protected]>
  18266. * Form.cs (Icon): If the icon is null, reset the icon to the
  18267. default value.
  18268. * Cursor.cs: When writing the AND-mask bitmap do not include the
  18269. number of colors, but hardcode those to two (black and white),
  18270. fixes the loading of color cursors (Paint Dot Net).
  18271. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  18272. turn off autoscaling.
  18273. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  18274. 2005-11-02 Jackson Harper <[email protected]>
  18275. * X11Dnd.cs: Make sure to send a status message if the pointer
  18276. enters a control that can not accept a drop, otherwise the cursor
  18277. isn't updated correctly. Also tried to compress the lines of code
  18278. a bit.
  18279. 2005-11-02 Jackson Harper <[email protected]>
  18280. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  18281. set actions correctly. This isn't perfect as XDND and win32 have
  18282. some differences on how you allow actions. I'll clear this up by
  18283. adding a path for drag from MWF to MWF windows.
  18284. * XplatUIX11.cs: Hook into the dnd system.
  18285. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  18286. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  18287. previously shown but they are no longer need it. Very obvious when
  18288. browsing files with FileDialog.
  18289. 2005-11-01 Peter Dennis Bartok <[email protected]>
  18290. * Control.cs: We always need to call OnPaintBackground. We pretty much
  18291. ignore AllPaintingInWmPaint and always do the painting there, whether
  18292. it's set or not, since we always ignore the WM_ERASEBKGND message
  18293. (which we don't generate on X11). This fixes #76616.
  18294. * Panel.cs: Removed unneeded background painting. This happens properly
  18295. in Control.cs already
  18296. 2005-10-31 Mike Kestner <[email protected]>
  18297. * Menu.cs: Add items to collection before setting their index.
  18298. * MenuItem.cs : add range checking with ArgumentException like MS.
  18299. [Fixes #76510]
  18300. 2005-10-31 Jackson Harper <[email protected]>
  18301. * ListBox.cs: Invalidate if the area is visible at all not just
  18302. contained in the visible rect. Fixes unselection of semi visible
  18303. items.
  18304. 2005-10-31 Jackson Harper <[email protected]>
  18305. * Control.cs: Consistently name the dnd methods. Make them
  18306. internal so we can override them to match some MS behavoir
  18307. internally.
  18308. * Win32DnD.cs: Use the new consistent names.
  18309. 2005-10-31 Jackson Harper <[email protected]>
  18310. * TreeView.cs: Don't draw the selected node when we lose focus.
  18311. 2005-10-31 Jackson Harper <[email protected]>
  18312. * X11Dnd.cs: We still need to reset the state even though a full
  18313. reset isn't being done, otherwise status's still get sent all over
  18314. the place.
  18315. 2005-10-31 Jackson Harper <[email protected]>
  18316. * Control.cs: Make the dnd_aware flag internal so the dnd
  18317. subsystem can check it. Catch exceptions thrown in dnd handlers to
  18318. match MS behavoir.
  18319. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  18320. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  18321. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  18322. flags to reduce the number of dnd enters/status's sent.
  18323. 2005-10-31 Jackson Harper <[email protected]>
  18324. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  18325. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  18326. * PictureBox.cs: Fixes 76512
  18327. 2005-10-28 Jackson Harper <[email protected]>
  18328. * X11Dnd.cs: Early implementation to support winforms being a drag
  18329. source for data on X11. Also restructured the converters so they
  18330. can go both ways now.
  18331. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  18332. 2005-10-27 Peter Dennis Bartok <[email protected]>
  18333. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  18334. clipboard requests
  18335. 2005-10-27 Jackson Harper <[email protected]>
  18336. * TreeNode.cs: Implement serialization so my DnD examples will work.
  18337. 2005-10-24 Kornél Pál <[email protected]>
  18338. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  18339. TreeView.cs: Don't dispose objects that are not owned.
  18340. 2005-10-24 Peter Dennis Bartok <[email protected]>
  18341. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  18342. should retrieve the current cursor and report that, but XplatUI
  18343. doesn't (yet) have an interface for that (and I'm not sure I even
  18344. can, on X11)
  18345. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  18346. until any message loop processing is done (and the WM_SETCURSOR
  18347. replaces the cursor to the proper one)
  18348. * XplatUIX11.cs:
  18349. - Fixed override behaviour, we can't set the cursor globally on X11,
  18350. just for our windows.
  18351. - Invalidating the System.Drawing X11 display handle when we are
  18352. shutting down
  18353. * Control.cs: Fix to make csc happy
  18354. 2005-10-23 Peter Dennis Bartok <[email protected]>
  18355. * TextBoxBase.cs:
  18356. - get_Text: Add last line (without trailing newline) to returned
  18357. value (Fixes 76212)
  18358. - get_TextLength: Count last line in returned length
  18359. - ToString: Call Text property instead of duplicating code
  18360. 2005-10-23 Kornél Pál <[email protected]>
  18361. * ImageList.cs: Dispose ImageAttributes objects.
  18362. 2005-10-22 Kornél Pál <[email protected]>
  18363. * ImageList.cs: Use attribute constructors with less arguments where
  18364. possible.
  18365. 2005-10-22 Kornél Pál <[email protected]>
  18366. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  18367. Use typeof instead of strings when assembly is referenced. Added
  18368. some more comments.
  18369. 2005-10-21 Jackson Harper <[email protected]>
  18370. * ListView.cs: Raise a double click event. Also tried to somewhat
  18371. fix when the selectedindexchanged event is raised. Its still
  18372. broken though.
  18373. 2005-10-21 Jackson Harper <[email protected]>
  18374. * TreeView.cs: New method to invalidate the plus minus area of a
  18375. node without invalidating the whole node (maybe this can be used
  18376. in some more places).
  18377. * TreeNodeCollection.cs: When adding to an empty node we need to
  18378. invalidate its plus minus area so the little block shows up.
  18379. 2005-10-21 Jackson Harper <[email protected]>
  18380. * TreeView.cs: Make sure that when we invalidate a node the bounds
  18381. are big enough to cover the selected box and the focus
  18382. rectangle. Use a different colour for the lines connecting nodes
  18383. so they show up with all themes.
  18384. 2005-10-21 Peter Dennis Bartok <[email protected]>
  18385. * NativeWindow.cs: Don't call anything that could call into the driver,
  18386. we might be on a different thread.
  18387. 2005-10-21 Peter Dennis Bartok <[email protected]>
  18388. * Control.cs(Dispose): Since Dispose might run on a different thread,
  18389. make sure that we call methods that could call into the driver via
  18390. invoke, to avoid thread issues
  18391. 2005-10-21 Peter Dennis Bartok <[email protected]>
  18392. * XplatUI.cs: Removed finalizer
  18393. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  18394. not allowing to be called on the finalizer thread.
  18395. 2005-10-21 Kornél Pál <[email protected]>
  18396. * ImageList.cs:
  18397. - Reverted r51889 and r51891.
  18398. - Added ImageListItem class that stores unmodified image items and image
  18399. properties required to create list images until handle is created.
  18400. - Added AddItem and moved image creation logic to AddItemInternal.
  18401. - Added CreateHandle method that creates images based on unmodified items.
  18402. - Added DestroyHandle that changes state to store unmodified items.
  18403. - Add and AddStrip methods no more create handle.
  18404. - ReduceColorDepth has no return value.
  18405. - Dispose destroys handle.
  18406. - Modified other methods to reflect the above changes.
  18407. - Implemented key support.
  18408. - Added profile 2.0 members and attributes.
  18409. - Added private Reset and ShouldSerialize methods that provide the same
  18410. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  18411. them as they are private.
  18412. - Added some more comments about implementation details.
  18413. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  18414. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  18415. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  18416. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  18417. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  18418. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  18419. * DataGridColumnStyle.cs: Remove debug message
  18420. 2005-10-20 Jackson Harper <[email protected]>
  18421. * TreeView.cs: We can always get input keys regardless of whether
  18422. or not editing is enabled. They are used for navigation.
  18423. 2005-10-20 Jackson Harper <[email protected]>
  18424. * TreeNode.cs: Use the viewport rect for determining if a node
  18425. needs to be moved for visibility. Don't use Begin/End edit. This
  18426. calls a full refresh when its done.
  18427. * TreeView.cs: New SetBottom works correctly. Make the viewport
  18428. rect property internal so the treenodes can see it. When clicking
  18429. on a node we need to ensure that its visible because it might just
  18430. be partly visible when clicked.
  18431. 2005-10-20 Jackson Harper <[email protected]>
  18432. * TreeNodeCollection.cs: Remove debug code.
  18433. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  18434. * Datagrid.cs: Implements column sorting in Datagrid
  18435. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  18436. 2005-10-20 Jackson Harper <[email protected]>
  18437. * TreeNodeCollection.cs: Remove items properly. Update the correct
  18438. area after removing them.
  18439. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  18440. * Datagrid.cs: Should not call base.OnPaintBackground
  18441. 2005-10-20 Peter Dennis Bartok <[email protected]>
  18442. * XplatUIX11.cs (GetMessage):
  18443. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  18444. window instead of client window
  18445. - Now properly calculates NC_xBUTTONUP message coordinates
  18446. - ScreenToMenu now properly calculates it's coordinates of whole
  18447. window, since menus are in the whole window, not in the client
  18448. window
  18449. - Added WholeToScreen coordinate translation method
  18450. 2005-10-20 Peter Dennis Bartok <[email protected]>
  18451. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  18452. want to return a message, loop back to the beginning of the function
  18453. and grab the next real message to process instead.
  18454. 2005-10-20 Peter Dennis Bartok <[email protected]>
  18455. * Splitter.cs: Properly set limits if no filler control is used
  18456. 2005-10-19 Jackson Harper <[email protected]>
  18457. * ColorDialog.cs: Don't show the help button if it is not enabled
  18458. instead of disabling it (this is what MS does). Don't create the
  18459. panel until the dialog is run, otherwise the vars (such as
  18460. ShowHelp) are not set yet.
  18461. 2005-10-19 Jackson Harper <[email protected]>
  18462. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  18463. are reduced when adding nodes.
  18464. * TreeNode.cs:
  18465. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  18466. tree.
  18467. 2005-10-19 Jackson Harper <[email protected]>
  18468. * FolderBrowserDialog.cs: End editing our treeview so the window
  18469. actually gets refreshed.
  18470. 2005-10-18 Peter Dennis Bartok <[email protected]>
  18471. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  18472. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  18473. inside of WM_PAINT
  18474. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  18475. * MenuAPI.cs: Returns after Hidding window
  18476. * XplatUIX11.cs: Added TODO found while debugging menu issues
  18477. 2005-10-18 Peter Dennis Bartok <[email protected]>
  18478. * XplatUIX11.cs: Do not re-map the whole window when it's size
  18479. becomes non-zero unless it's supposed to be actually visible
  18480. 2005-10-18 Jackson Harper <[email protected]>
  18481. * TreeView.cs: We don't need to keep a count anymore.
  18482. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  18483. use the Grow method.
  18484. 2005-10-18 Jackson Harper <[email protected]>
  18485. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  18486. implement it manually here.
  18487. 2005-10-18 Jackson Harper <[email protected]>
  18488. * ImageList.cs: Dont kill the list when the colour depth is
  18489. changed, just change the colour depth of all the images.
  18490. - Same goes for setting the image size. Just resize them all
  18491. instead of killing the list softly.
  18492. 2005-10-18 Jackson Harper <[email protected]>
  18493. * Control.cs: Don't invalidate empty rectangles.
  18494. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  18495. * ListViewItem.cs:
  18496. - Adds checked item to the Checked/Item lists (where empty before)
  18497. - Do not add items to the Selected lists if they are already present
  18498. * ListView.cs:
  18499. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  18500. - When deleting items make sure that we delete them for the Selected
  18501. and Checked list also.
  18502. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  18503. * Label.cs: Dispose objects no longer used
  18504. * ThemeWin32Classic.cs: Dispose objects no longer used
  18505. 2005-10-18 Jackson Harper <[email protected]>
  18506. * TabControl.cs: Don't refresh the whole control when the tabs are
  18507. scrolled, we just need to refresh the tab area.
  18508. 2005-10-17 Jackson Harper <[email protected]>
  18509. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  18510. after handle when we need it.
  18511. 2005-10-17 Peter Dennis Bartok <[email protected]>
  18512. * Control.cs: When the parent size changes, recalculate anchor
  18513. positions. Partial fix for #76462
  18514. 2005-10-17 Peter Dennis Bartok <[email protected]>
  18515. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  18516. drawn. Fixes #76462
  18517. 2005-10-17 Jackson Harper <[email protected]>
  18518. * MonthCalendar.cs: Don't create the numeric up down until our
  18519. handle is created. Otherwise our handle is created in the
  18520. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  18521. yet.
  18522. 2005-10-17 Jackson Harper <[email protected]>
  18523. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  18524. correctly.
  18525. 2005-10-17 Rafael Teixeira <[email protected]>
  18526. * TreeNode.cs : small logical fix (was using local var instead of field)
  18527. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  18528. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  18529. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  18530. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  18531. 2005-10-16 Peter Dennis Bartok <[email protected]>
  18532. * Control.cs:
  18533. - Re-implemented anchoring code. My first version was really broken.
  18534. This fixes bug #76033. Unlike the previous implementation we will
  18535. no longer have round errors since all numbers are calculated from
  18536. scratch every time. Removed various anchor-related obsolete vars.
  18537. - InitLayout no longer causes layout event firing and layout to be
  18538. performed
  18539. 2005-10-16 Jackson Harper <[email protected]>
  18540. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  18541. which was broken).
  18542. 2005-10-16 Jackson Harper <[email protected]>
  18543. * TabControl.cs: Remove debug code.
  18544. 2005-10-16 Jackson Harper <[email protected]>
  18545. * XEventQueue.cs: Increase the default queue size (very simple
  18546. apps needed to grow the queue).
  18547. * Hwnd.cs: No finalizer so we don't need to suppress
  18548. finalization. Compute the invalid area manually so a new rectangle
  18549. does not newto be created.
  18550. * ScrollableControl.cs: Don't set any params (otherwise visibility
  18551. isn't set correctly).
  18552. * MdiChildContext.cs: New constructor takes the mdi parent so it
  18553. doesn't have to be computed and avoids a crash on windows. Draw
  18554. the window icon properly, and allow the text to be seen.
  18555. * Form.cs: Use new MdiChildContext constructor. Make sure the
  18556. child context isn't null in wndproc.
  18557. * TabControl.cs: Don't set focus, this is muddling keyboard
  18558. behavoir. Expand the tab rows when a window size increase will
  18559. allow extra tabs to be seen. Don't allow tabs smaller than the
  18560. width of a window to be scrolled out of view.
  18561. * TreeNode.cs:
  18562. * TreeView.cs: Use measure string to calculate a nodes width, the
  18563. width is cached and only updated when the text or the font is
  18564. changed. Don't check for expand/collapse clicks on the first level
  18565. nodes if root lines are disabled.
  18566. 2005-10-16 Ritvik Mayank <[email protected]>
  18567. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  18568. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  18569. * DataGridBoolColumn.cs: fixes warning
  18570. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  18571. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  18572. to match more to match more precisely the MS Net behavior
  18573. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18574. * Hwnd.cs: Added field to track if window is mapped
  18575. * XplatUIX11.cs:
  18576. - Unmap windows if they become 0-size, re-map when
  18577. they are >0 again; fixes #76035
  18578. - Re-set our error handler after initializing X11Desktop
  18579. to override any error handlers Gtk or whatever was called
  18580. may have set.
  18581. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18582. * CheckedListBox.cs: Removed unused vars
  18583. * ListView.cs: Fixed signatures
  18584. * RichTextBox.cs: Removed unused vars
  18585. * TextBoxBase.cs: Removed unused vars
  18586. * XplatUIWin32.cs: Removed unused vars
  18587. * XplatUIX11.cs: Removed unused vars
  18588. * XplatUI.cs: Updated version and date to latest published
  18589. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18590. * Cursor.cs: Added private .ctor to work around a bug in
  18591. resourceset (Thanks to Geoff Norton for the help on this)
  18592. * SplitterEventArgs.cs: Made fields accessible so we don't
  18593. waste boatloads of objects and can reuse the same one
  18594. in Splitter
  18595. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  18596. any captions and borders when generating screen coordinates
  18597. * Splitter.cs: Reimplemented control, now fully complete, uses
  18598. rubberband drawing, supports and obeys all properties, has
  18599. proper cursors
  18600. 2005-10-13 Miguel de Icaza <[email protected]>
  18601. * Form.cs (Form): Setup default values for autoscale and
  18602. autoscale_base_size; Make these instance variables, not static
  18603. variables.
  18604. (OnLoad): on the first load, adjust the size of the form.
  18605. 2005-10-13 Peter Dennis Bartok <[email protected]>
  18606. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  18607. width argument to DrawReversibleRectangle()
  18608. * XplatUIWin32.cs, XplatUIX11.cs:
  18609. - Implemented width for DrawReversibleRectangle()
  18610. - Added logic to DrawReversibleRectangle that recognizes a zero
  18611. width or height and only draws a line in that situation
  18612. 2005-10-12 Peter Dennis Bartok <[email protected]>
  18613. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  18614. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  18615. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  18616. method (it uses our FosterParent window to get a graphics context)
  18617. 2005-10-12 Peter Dennis Bartok <[email protected]>
  18618. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  18619. and SetWindowBackground methods
  18620. * Control.cs:
  18621. - Setting proper ControlStyles
  18622. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  18623. EraseWindowBackground, instead we draw the window background
  18624. ourselves in PaintControlBackground. This behaviour is
  18625. required to match MS, where, when OnPaintBackground is not
  18626. called, the background is not drawn.
  18627. - Removed unneeded Refresh() in set_Text
  18628. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  18629. * XplatUIX11.cs:
  18630. - Created DeriveStyles method to translate from CreateParams to
  18631. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  18632. matches FormBorderStyle enum values)
  18633. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  18634. style calculations into single DeriveStyles method
  18635. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  18636. from redrawing the whole window on any resize or expose.
  18637. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  18638. all styles were applied to our whole/client window appropriately
  18639. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18640. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  18641. no longer clear/redraw the background through X
  18642. - Removed handling of erase_pending bit, we have no use for it (or
  18643. so it seems)
  18644. * XplatUIOSX.cs:
  18645. - Removed generation and handling of WM_ERASEBKGND message
  18646. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18647. - Removed handling of hwnd.ErasePending flag
  18648. * XplatUIWin32.cs:
  18649. - Removed EraseWindowBackground() and SetWindowBackground() methods
  18650. - We no longer call EraseWindowBackground on PaintEventStart, we
  18651. ignore the fErase flag, erasing is handled in Control in the
  18652. background handler
  18653. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  18654. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  18655. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  18656. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  18657. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  18658. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  18659. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  18660. 2005-10-12 Jonathan Chambers <[email protected]>
  18661. * PropertyGrids.cs: Get sub properties
  18662. * PropertyGridView.cs: Fix drawing code
  18663. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18664. * ListBox.cs: Fixes 76383
  18665. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18666. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  18667. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  18668. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  18669. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18670. * ComboBox.cs: Fixes border drawing
  18671. 2005-10-10 Miguel de Icaza <[email protected]>
  18672. * MimeIcon.cs: Ignore errors if the file can not be read.
  18673. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  18674. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  18675. - Fixed border calculations
  18676. - Fixed horizontal scrolling in single column listboxes
  18677. - Fixed drawing issues
  18678. 2005-10-10 Peter Dennis Bartok <[email protected]>
  18679. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  18680. FormBorderStyle enum
  18681. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  18682. code to determine FormBorderStyles from CreateParams
  18683. * Form.cs:
  18684. - Fixed bug where we'd set the wrong window styles if we were
  18685. not creating an MDI window
  18686. - Added call to XplatUI.SetBorderStyle when form borders are set
  18687. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  18688. * Hwnd.cs:
  18689. - Removed obsolete edge style
  18690. - Switched from BorderStyle to FormBorderStyle
  18691. 2005-10-10 Jackson Harper <[email protected]>
  18692. * Form.cs: Use the property to get the window handle instead of
  18693. accessing it directly. Prevents a null reference exception.
  18694. 2005-10-10 Jackson Harper <[email protected]>
  18695. * TreeView.cs: Don't adjust the rect given to DrawString now that
  18696. our libgdiplus draws correctly.
  18697. 2005-10-08 Jackson Harper <[email protected]>
  18698. * TreeView.cs: Don't try to find the clicked on node if there are
  18699. no nodes in the tree.
  18700. 2005-10-08 Alexander Olk <[email protected]>
  18701. * RichTextBox.cs:
  18702. restore
  18703. 2005-10-08 Alexander Olk <[email protected]>
  18704. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  18705. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  18706. ErrorProvider.cs:
  18707. Use ResPool for brushes and dispose System.Drawing objects that
  18708. are not used anymore.
  18709. 2005-10-07 Jackson Harper <[email protected]>
  18710. * MdiChildContext.cs: Use the new borders instead of drawing them
  18711. ourselves.
  18712. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  18713. * Calling UpdateBounds after changing the window's BorderStyle
  18714. since the style can change the ClientSize
  18715. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18716. * Control.cs: Made PaintControlBackground virtual
  18717. * Panel.cs: Overriding PaintControlBackground instead of using paint
  18718. event; paint event method was interfering with 'real' users of the
  18719. event.
  18720. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  18721. * ThemeWin32Classic.cs: remove border drawing since it is handled
  18722. by the base control class now and was causing double border drawing.
  18723. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18724. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  18725. but it does seem to match MS behaviour. This fixes bug #75324
  18726. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18727. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  18728. somewhat hackish looking
  18729. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18730. * TextBoxBase.cs:
  18731. - We now accept Enter even if AcceptEnter is false, if the containing
  18732. form does not have an AcceptButton configured (fixes bug #76355)
  18733. - Calculations are now fixed to no longer use Width/Height, but
  18734. ClientSize.Width/Height, since we now support borders (this was
  18735. a result of fixing borders and therefore bug #76166)
  18736. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  18737. true (fixes bug #76354)
  18738. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18739. * Control.cs:
  18740. - Defaulting BorderStyle and setting it in XplatUI when our window
  18741. is created
  18742. - Added enum check to InternalBorderStyle setter
  18743. * XplatUIX11.cs:
  18744. - Added drawing of window borders
  18745. - Now properly calculates WM decorations offset for toplevel
  18746. windows (fixes bug #74763)
  18747. * XplatUIWin32.cs:
  18748. - Implemented BorderStyles for windows (we're letting win32 draw
  18749. the border for us)
  18750. - Fixed the signature for SetWindowLong
  18751. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  18752. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  18753. setting borders
  18754. * UpDownBase.cs: Remove drawing of borders, this is handled by
  18755. the driver, outside the client area
  18756. * ListView.cs: Removed bogus border calculations. The control should
  18757. be oblivious to borders, since those are not part of the client
  18758. area.
  18759. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  18760. * ThemeWin32Classic.cs: Removed border calculations from ListView
  18761. drawing code
  18762. 2005-10-06 Jackson Harper <[email protected]>
  18763. * MdiChildContext.cs: Clear out the old virtual position remove
  18764. all the unneeded calls to CreateGraphics.
  18765. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18766. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  18767. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18768. * Form.cs:
  18769. - Added loading and setting of our new default icon
  18770. - Only set icon if window is already created
  18771. 2005-10-06 Peter Dennis Bartok <[email protected]>
  18772. * Label.cs:
  18773. - Do not explicitly set the foreground and background colors, to
  18774. allow inheriting from parents (fixes #76302)
  18775. - Use Control's InternalBorderStyle property to deal with borders
  18776. 2005-10-06 Jackson Harper <[email protected]>
  18777. * MdiChildContext.cs: Use the new xplatui function to draw a
  18778. reversible rect.
  18779. 2005-10-06 Jackson Harper <[email protected]>
  18780. * Form.cs: Add the parent before creating the child context cause
  18781. we need the parent when setting up the child.
  18782. 2005-10-06 Jackson Harper <[email protected]>
  18783. * FolderBrowserDialog.cs: redo the tree population code so a
  18784. second thread isn't used. Should be a lot faster and more stable
  18785. now.
  18786. 2005-10-05 Jackson Harper <[email protected]>
  18787. * TreeView.cs: There are no expand/collapse boxes if the node has
  18788. no children.
  18789. 2005-10-05 Jackson Harper <[email protected]>
  18790. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  18791. 2005-10-05 Alexander Olk <[email protected]>
  18792. * FileDialog.cs: Fix InitialDirectory
  18793. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  18794. * ComboBox.cs:
  18795. - Fixes changing between styles
  18796. - Fixes simple mode
  18797. - Fixes last item crashing when navigating with keyboard
  18798. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  18799. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  18800. 2005-10-05 Jackson Harper <[email protected]>
  18801. * TreeView.cs: If updating the root node do a full refresh.
  18802. * TreeNode.cs: The root node should be expanded by default. Also
  18803. added a utility prop to tell if we are the root node.
  18804. * TreeNodeCollection.cs: Only refresh if the node we are being
  18805. added to is expanded. Also added a comment on a potential
  18806. optimization.
  18807. 2005-10-04 Peter Dennis Bartok <[email protected]>
  18808. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  18809. in dispose method. Fixes #76330
  18810. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  18811. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  18812. - Implements vertical and horizontal scrolling using XplatUI
  18813. - Fixes keyboard navagation
  18814. - Fixes EnsureVisible
  18815. - Drawing fixes
  18816. - Handles and draws focus properly
  18817. 2005-10-04 Kornél Pál <[email protected]>
  18818. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  18819. Create handle. NET_2_0: Destroy handle when value is null.
  18820. 2005-10-03 Jackson Harper <[email protected]>
  18821. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  18822. revert and a new patch to prevent the thumb from refreshing so
  18823. much.
  18824. 2005-10-02 Jackson Harper <[email protected]>
  18825. * ScrollBar.cs: Don't update position if it hasn't actually
  18826. changed. This occurs when you hold down the increment/decrement
  18827. buttons and the thumb gets to the max/min.
  18828. 2005-10-01 Jackson Harper <[email protected]>
  18829. * Form.cs:
  18830. * MdiChildContext.cs:
  18831. * MdiClient.cs: Implement ActiveMdiChild in Form.
  18832. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  18833. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  18834. 2005-10-01 Peter Dennis Bartok <[email protected]>
  18835. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  18836. be found
  18837. 2005-09-30 Jackson Harper <[email protected]>
  18838. * ListBox.cs: Don't do a full refresh unless some data has
  18839. actually changed.
  18840. 2005-09-30 Jackson Harper <[email protected]>
  18841. * TreeView.cs: Make sure that the checkboxes size is factored in
  18842. even when not visible.
  18843. 2005-09-30 Peter Dennis Bartok <[email protected]>
  18844. * FileDialog.cs: Fix Jordi's build break
  18845. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  18846. * FileDialog.cs:
  18847. - Use standard the Windows colours for the combobox as espected
  18848. - Dispose objects that use resouces when no longer need them
  18849. 2005-09-30 Peter Dennis Bartok <[email protected]>
  18850. * X11DesktopColors.cs: Initial incomplete implementation
  18851. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  18852. 2005-09-30 Peter Dennis Bartok <[email protected]>
  18853. * Theme.cs:
  18854. - Switched Theme color names to match the names defined in
  18855. System.Drawing.KnownColors. Life's hard enough, no need to make
  18856. it harder.
  18857. - Added setters to all theme color properties so themes can set
  18858. their color schemes. The setters also propagate the color changes
  18859. to System.Drawing.KnownColors via reflection
  18860. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  18861. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  18862. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  18863. use the new, more logical theme color names
  18864. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  18865. post-NT colors
  18866. * ThemeWin32Classic.cs:
  18867. - Removed code to set the old classic Windows colors. Instead it
  18868. now relies on the colors returned by System.Drawing.KnownColors
  18869. which will be either modern static colors (Unix) or colors
  18870. read from the user's configuration (Win32)
  18871. - Updated to use the new, more logical theme color names
  18872. - Switched DataGrid drawing code to use only Theme colors instead of
  18873. a mix of System.Drawing.KnownColors and Theme colors
  18874. - DrawFrameControl(): Removed code that fills the button area, the
  18875. fill would overwrite any previous fill done by a control. This
  18876. fixes bug #75338
  18877. - Added DrawReversibleRectangle() stub
  18878. * ScrollableControl.cs: Set visible state to false when scrollbars
  18879. are removed (pdn fix)
  18880. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  18881. DrawReversibleRectangle() method to allow drawing primitive
  18882. 'rubber bands'
  18883. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  18884. 2005-09-30 Kornél Pál <[email protected]>
  18885. * ImageList.cs: Add(Icon): Create handle.
  18886. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  18887. * ListView.cs:
  18888. * ThemeWin32Classic.cs:
  18889. - Fixes detail mode
  18890. - Sets clippings
  18891. - Issues with drawing
  18892. 2005-09-30 Kornél Pál <[email protected]>
  18893. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  18894. source has to be the ImageList.
  18895. 2005-09-30 Kornél Pál <[email protected]>
  18896. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  18897. 2005-09-30 Kornél Pál <[email protected]>
  18898. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  18899. 2005-09-30 Kornél Pál <[email protected]>
  18900. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  18901. 2005-09-29 Jonathan Chambers <[email protected]>
  18902. * GridItem.cs: Fixed TODOs
  18903. * GridItemCollection.cs: Added ICollection interface
  18904. 2005-09-30 Kornél Pál <[email protected]>
  18905. * ImageList.cs: Resize icons when needed.
  18906. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  18907. * ListViewItem.cs
  18908. - Fixes GetBounds and returns on screen rects
  18909. * ListView.cs:
  18910. - Fixes vertical and horzintal scrolling of items
  18911. * ThemeWin32Classic.cs:
  18912. - Fixes drawing
  18913. 2005-09-29 Raja R Harinath <[email protected]>
  18914. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  18915. 2005-09-29 Kornél Pál <[email protected]>
  18916. * ImageList.cs: Added comments about handle creation. Moved Handle,
  18917. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  18918. Handle is created in Add methods.
  18919. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  18920. * DataGridDrawingLogic.cs:
  18921. - Takes rows into account on Colum calculations
  18922. - Returns the column when clickig
  18923. * DataGrid.cs:
  18924. - Fixes default HitTestInfo values
  18925. - Fixes HitTestInfo.ToString
  18926. - Fixes ResetBackColor
  18927. 2005-09-28 Jackson Harper <[email protected]>
  18928. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  18929. sizing or cursor changes). Also added some temp code to draw the
  18930. titlebars text (Makes dev a little easier).
  18931. 2005-09-28 Kornél Pál <[email protected]>
  18932. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  18933. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  18934. * ListBox.cs: Fixes bug 76253
  18935. 2005-09-28 Kornél Pál <[email protected]>
  18936. * ImageList.cs: Added comments about the current implementation. Added
  18937. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  18938. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  18939. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  18940. with Bitmap.LockBits for better performance. Revised the whole file to
  18941. match MS.NET behaviour and provide better performance. Non-public
  18942. interface members are calling public members even when they throw
  18943. NotSupportedException for better maintainability. Moved ColorDepth,
  18944. ImageSize, ImageStream and TransparentColor implementations to
  18945. ImageCollection for better performance as these properties are not used
  18946. by ImageList.
  18947. * ImageListStreamer.cs: Added a new internal constructor that takes an
  18948. ImageList.ImageCollection and serializes Images based on
  18949. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  18950. match ImageList property name.
  18951. 2005-09-28 Kazuki Oikawa <[email protected]>
  18952. * ListBox.cs: Fixes IndexFromPoint for last item
  18953. 2005-09-27 Jackson Harper <[email protected]>
  18954. * Form.cs: Set the position of new mdi children correctly.
  18955. 2005-09-27 Jackson Harper <[email protected]>
  18956. * MdiClient.cs: New mdi children need to be added to the back of
  18957. the controls collection so the zorder is set correctly. Also add a
  18958. count of all the child windows that have been created.
  18959. 2005-09-27 Jackson Harper <[email protected]>
  18960. * Form.cs (CreateParams): Setup MDI forms correctly.
  18961. 2005-09-27 Jackson Harper <[email protected]>
  18962. * MdiChildContext.cs:
  18963. * MonthCalendar.cs:
  18964. * UpDownBase.cs:
  18965. * ListBox.cs:
  18966. * ListView.cs:
  18967. * TextBoxBase.cs:
  18968. * TreeView.cs:
  18969. * ScrollableControl.cs:
  18970. * ComboBox.cs: Add implicit controls using the new implict control
  18971. functionality in ControlCollection. Also try to block multiple
  18972. control add in a suspend/resume layout to save some cycles.
  18973. 2005-09-27 Jackson Harper <[email protected]>
  18974. * Control.cs: Add functionality to the controls collection to add
  18975. 'implicit controls' these are controls that are created by the
  18976. containing control but should not be exposed to the user. Such as
  18977. scrollbars in the treeview.
  18978. * Form.cs: The list var of the ControlsCollection is no longer
  18979. available because of the potential of implicit controls getting
  18980. ignored by someone accessing the list directly.
  18981. 2005-09-26 Peter Dennis Bartok <[email protected]>
  18982. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  18983. loose it's parent. (Fixed bug introduced in r49103 when we added
  18984. setting the child parent to null on Remove)
  18985. 2005-09-26 Gert Driesen <[email protected]>
  18986. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  18987. * Splitter.cs: Added missing attributes for BorderStyle property.
  18988. * TextBoxBase.cs: Marked Calculate* methods internal.
  18989. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  18990. MS.NET.
  18991. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  18992. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  18993. 2005-09-25 Jackson Harper <[email protected]>
  18994. * TreeView.cs: Update the node bounds correctly regardless of
  18995. whether the node is visible.
  18996. 2005-09-25 Jackson Harper <[email protected]>
  18997. * ImageList.cs: Don't dispose the image after it is added to the
  18998. image list. Only reformat images that need to be resized.
  18999. 2005-09-25 Jackson Harper <[email protected]>
  19000. * ImageList.cs: Don't set the format when changing the image.
  19001. 2005-09-25 Jackson Harper <[email protected]>
  19002. * TreeView.cs: We can't just assume the node has a font. Use the
  19003. treeviews font if no node font is available.
  19004. 2005-09-25 Jackson Harper <[email protected]>
  19005. * TreeView.cs: Allow the scrollbars to be reset with negative
  19006. values.
  19007. - Don't add scrollbars to negative sized windows.
  19008. 2005-09-23 Jackson Harper <[email protected]>
  19009. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  19010. old Mono.Posix. Also remove some stray code that shouldn't have
  19011. been committed.
  19012. 2005-09-23 Jackson Harper <[email protected]>
  19013. * TreeView.cs: Attempt at proper sizing of the horizontal
  19014. scrollbar. Also don't resize the scrollbars unless they are
  19015. visible.
  19016. 2005-09-23 Jackson Harper <[email protected]>
  19017. * TreeView.cs: We don't need to expand the invalid area when the
  19018. selection changes, as this is all drawn in the node's bounding
  19019. box. The area needs to be expanded (previous typo was contracting
  19020. it) when the focus rect moves.
  19021. 2005-09-23 Jackson Harper <[email protected]>
  19022. * TreeView.cs: Display the selection box under the correct
  19023. circumstances. We were rendering white text with no selection box
  19024. before.
  19025. 2005-09-23 Peter Dennis Bartok <[email protected]>
  19026. * TextControl.cs(Split): Now updates selection start/end if it points
  19027. into a line that's being split. Fixes a FIXME and bug #75258
  19028. 2005-09-23 Jackson Harper <[email protected]>
  19029. * Binding.cs:
  19030. * ListControl.cs: Don't use the path when retrieving binding
  19031. managers from the binding context. My bat sense tells me that the
  19032. path is only used on insertion.
  19033. 2005-09-22 Jackson Harper <[email protected]>
  19034. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  19035. 2005-09-22 Jackson Harper <[email protected]>
  19036. * Splitter.cs: There are special cursors used for splitting.
  19037. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  19038. 2005-09-22 Jackson Harper <[email protected]>
  19039. * Splitter.cs: Change the cursor appropriately when the splitter
  19040. is moused over, so the user actually knows there is a splitter
  19041. there.
  19042. 2005-09-22 Hisham Mardam Bey <[email protected]>
  19043. * Label.cs : Fix ToString method to give same output as MS.NET
  19044. 2005-09-22 Jackson Harper <[email protected]>
  19045. * TreeView.cs: Create the scrollbars when the handle is created
  19046. and add them right away, just make them invisble. Also account for
  19047. the window being shrunk vertically to the point that the vert
  19048. scrollbar needs to be added.
  19049. - Remove some 0.5 adjustments to get around anti aliasing issues.
  19050. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  19051. * MainMenu.cs: Fixes default value
  19052. * MenuItem.cs: Fixes default value
  19053. 2005-09-22 Kazuki Oikawa <[email protected]>
  19054. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  19055. 2005-09-21 Jackson Harper <[email protected]>
  19056. * Control.cs: Don't try to set the border style on the window if
  19057. it hasn't been created. When the window is created the border
  19058. style will be used.
  19059. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19060. * Control.cs (Update): Don't call XplatUI if we don't have a
  19061. window handle yet
  19062. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19063. * ContainerControl.cs: Instead of throwing an exception, print
  19064. a one-time warning about Validate not being implemented
  19065. * XplatUIWin32.cs: Removed debug output
  19066. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19067. * Control.cs: Only set XplatUI background if we expect the windowing
  19068. system to handle the background. This stops controls that draw their
  19069. own background from flickering
  19070. * XplatUIX11.cs: Support custom visuals and colormaps for window
  19071. creation. This allows, amongst other things, using MWF X11 windows
  19072. with OpenGL.
  19073. 2005-09-21 Peter Dennis Bartok <[email protected]>
  19074. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  19075. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  19076. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  19077. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  19078. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  19079. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  19080. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  19081. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  19082. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  19083. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  19084. GridColumnStylesCollection.cs,
  19085. IDataGridColumnStyleEditingNotificationService.cs,
  19086. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  19087. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  19088. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  19089. TreeNodeCollection.cs, AmbientProperties.cs,
  19090. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  19091. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  19092. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  19093. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  19094. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  19095. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  19096. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  19097. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  19098. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  19099. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  19100. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  19101. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  19102. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  19103. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  19104. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  19105. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  19106. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  19107. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  19108. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  19109. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  19110. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  19111. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  19112. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  19113. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  19114. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  19115. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  19116. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  19117. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  19118. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  19119. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  19120. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  19121. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  19122. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  19123. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  19124. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  19125. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  19126. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  19127. 2005-09-21 Jackson Harper <[email protected]>
  19128. * TreeNode.cs: Call Before/After Expand not Collapse when
  19129. expanding.
  19130. 2005-09-20 Jackson Harper <[email protected]>
  19131. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  19132. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  19133. * ListViewItem.cs:
  19134. - Fixes bug 76120
  19135. - Fixes proper storing of subitems
  19136. - Fixes not updated items
  19137. 2005-09-20 Peter Dennis Bartok <[email protected]>
  19138. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  19139. things if our window handle isn't created yet. Also disabled
  19140. debug for TextBoxBase
  19141. 2005-09-20 Peter Dennis Bartok <[email protected]>
  19142. * MenuAPI.cs: Remove filtering of events to allow menu usage
  19143. 2005-09-20 Miguel de Icaza <[email protected]>
  19144. * Cursor.cs: Allow null to be passed to Cursor.Current.
  19145. 2005-09-20 Alexander Olk <[email protected]>
  19146. * ThemeWin32Classic.cs:
  19147. - Change some private methods/fields to protected virtual so that
  19148. they can be accessed and overriden in derived classes
  19149. - First refactoring of some methods. Derived themes now don't
  19150. need to duplicate the complete code from ThemeWin32Classic
  19151. * ThemeNice.cs:
  19152. - Added nice StatusBar
  19153. - Derive from ThemeWin32Classic and not Theme
  19154. - Removed duplicate ThemeWin32Classic code
  19155. 2005-09-20 Miguel de Icaza <[email protected]>
  19156. * Control.cs (ControlCollection.Add): If the value null is passed
  19157. the control is ignored.
  19158. Optimize this loop.
  19159. 2005-09-19 Peter Dennis Bartok <[email protected]>
  19160. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  19161. PostQuitMessage state.
  19162. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  19163. 2005-09-19 Peter Dennis Bartok <[email protected]>
  19164. * Application.cs: Our constructor will never get called, move
  19165. initialization to fields; fixes bug #75933
  19166. 2005-09-19 Hisham Mardam Bey <[email protected]>
  19167. * FileDialog.cs :
  19168. - Allow files to be selected properly using file name
  19169. combo box.
  19170. - Add ability to change diretory (absolute / relative)
  19171. using file name combo box.
  19172. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  19173. * ListBox.cs:
  19174. - Fixes Multicolumn listboxes item wrong calculations
  19175. - Allows to click when only one item is in the listbox
  19176. - Fixes crash when no items using keyboard navigation
  19177. 2005-09-16 Alexander Olk <[email protected]>
  19178. * ComboBox.cs: Reverted almost everything from the latest patch which
  19179. broke ComboBox
  19180. 2005-09-16 Kazuki Oikawa <[email protected]>
  19181. * ToolTip.cs:
  19182. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  19183. * ComboBox.cs:
  19184. - When DropDownStyle is Simple, it does not show scrollbar
  19185. to the last item of the list.
  19186. - When DropDownStyle is Simple, it crashed when the list was
  19187. scrolled down with the down cursor key.
  19188. - Fixed a bug that when DropDownStyle is DropDownList, the
  19189. selected item was not shown.
  19190. - The position of the selected item was not preserved when
  19191. the next dropdown happened.
  19192. * ThemeWin32Classic.cs:
  19193. - Items were wrapped at the right end.
  19194. * CheckedListBox.cs:
  19195. - Fixed Add method
  19196. * ListBox.cs:
  19197. - Items should be fully shown.
  19198. - When resizing and vertical scrollbar disappeared, the item
  19199. of index 0 should be on the top of the list.
  19200. - GetItemRectangle should consider the size of ver. scrollbar
  19201. * StatusBar.cs:
  19202. - SizingGrip area should not be allocated when it is not
  19203. displayed.
  19204. - Now it reflects MinWidth of the containing panel and
  19205. fixed a crash that happens when its width becomes so small.
  19206. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  19207. * CheckedListBox.cs: Fixes bug 76028
  19208. * ListBox.cs: Fixes bug 76028
  19209. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  19210. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  19211. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  19212. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  19213. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  19214. 2005-09-09 Jonathan Chambers <[email protected]>
  19215. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  19216. 2005-09-09 Jonathan Chambers <[email protected]>
  19217. * IRootGridEntry.cs: Added
  19218. * PropertyGridCommands.cs: Added
  19219. * PropertiesTab.cs: Added missing methods and property
  19220. * PropertyGridView.cs: Made class internal
  19221. * PropertyGridTextBox.cs: Made class internal
  19222. 2005-09-09 Alexander Olk <[email protected]>
  19223. * MimeIcon.cs: Try to check some other environment variables
  19224. if "DESKTOP_SESSION" returns "default"
  19225. 2005-09-09 Alexander Olk <[email protected]>
  19226. * ThemeNice.cs: Corrected background colors (e.g. menus)
  19227. * ColorDialog.cs: Use correct background colors for controls
  19228. 2005-09-09 Alexander Olk <[email protected]>
  19229. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  19230. 2005-09-08 Peter Dennis Bartok <[email protected]>
  19231. * RichTextBox.cs: Added initial implementation
  19232. * lang.cs: Removed. Was accidentally checked in long time ago
  19233. * TODO: Removed. Contents were obsolete
  19234. 2005-09-06 Jonathan Chambers <[email protected]>
  19235. * PropertiesTab.cs : Added
  19236. 2005-09-06 Jonathan Chambers <[email protected]>
  19237. * PropertyGrid.cs : Update
  19238. * PropertyGridView.cs : Update
  19239. * System.Windows.Forms.resx : Added images and strings
  19240. 2005-09-06 Peter Dennis Bartok <[email protected]>
  19241. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  19242. 2005-09-06 Peter Dennis Bartok <[email protected]>
  19243. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  19244. a busy loop right after the Ungrab the X11 display is otherwise
  19245. blocked
  19246. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  19247. * ThemeWin32Classic.cs: Optimise the use of clipping
  19248. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  19249. * DataGrid.cs: fixes recursion bug
  19250. 2005-09-03 Alexander Olk <[email protected]>
  19251. * ThemeNice.cs:
  19252. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  19253. - Cleanup
  19254. 2005-09-02 Alexander Olk <[email protected]>
  19255. * ThemeNice.cs: Draw nice ProgressBars
  19256. 2005-09-01 Miguel de Icaza <[email protected]>
  19257. * VScrollBar.cs: Another buglet found by Aaron's tool.
  19258. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  19259. bug finder.
  19260. 2005-08-30 Alexander Olk <[email protected]>
  19261. * ThemeNice.cs:
  19262. - Added nicer menu drawing
  19263. - Updated DrawTab
  19264. - some refactoring
  19265. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19266. * CreateParams.cs (ToString): Made output match MS
  19267. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  19268. handle is already created (to avoid forcing window creation)
  19269. * XplatUIX11.cs: Set window text to caption after creating window,
  19270. in case Text was set before window was created
  19271. * Form.cs: Use this.Text instead of a static string as caption
  19272. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19273. * NotifyIcon.cs: Don't set the window to visible; this screws
  19274. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  19275. OnPaint without a bitmap)
  19276. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  19277. happen very often anyway; we could add the check to the WM_PAINT
  19278. event generation code
  19279. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19280. * NotifyIcon.cs: Fill the icon area with a background color, to
  19281. avoid 'residue' when transparent icons are drawn
  19282. * XplatUIX11.cs:
  19283. - Handle whole_window == client_window when destroying windows
  19284. - SystrayAdd(): Set client_window to whole_window value to
  19285. get mouse and other events passed to NotifyIcon
  19286. 2005-08-30 Peter Dennis Bartok <[email protected]>
  19287. * Form.cs: Set proper default for Opacity property
  19288. * NotifyIcon.cs:
  19289. - ShowSystray(): Don't bother creating telling the OS
  19290. about the systray item if no icon is provided
  19291. - Now handles WM_NCPAINT message to deal with whole/client window
  19292. split
  19293. - Create window as visible to not get caught by Expose optimization
  19294. * Hwnd.cs: Removed debug message
  19295. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  19296. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  19297. PaintEventStart/End to use new client argument
  19298. * TextBoxBase.cs:
  19299. - Commented out debug messages
  19300. - Switched PaintEventStart/End to use new client argument
  19301. * XplatUI.cs: Added client window bool to PaintEventStart()/
  19302. PaintEventEnd() calls, to support drawing in non-client areas
  19303. * XplatUIDriver.cs:
  19304. - Added client window bool to PaintEventStart()/PaintEventEnd()
  19305. calls, to support drawing in non-client areas
  19306. - Added conditional compile to allow using MWF BeginInvoke
  19307. on MS runtime
  19308. * XplatUIX11.cs:
  19309. - Added some conditional debug output
  19310. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  19311. whole/client window split
  19312. - Implemented handling of client argument to PaintEventStart()/End()
  19313. * Control.cs:
  19314. - Throw exception if BeginInvoke() is called and the window handle
  19315. or one of the window's parent handles is not created
  19316. - Added conditional compile to allow using MWF BeginInvoke on
  19317. MS runtime
  19318. - get_Parent(): Only sets parent if handle is created. This avoids
  19319. forcing window handle creation when parent is set.
  19320. - Now fires Layout and Parent changed events in proper order
  19321. - Switched to use Handle instead of window.Handle for Z-Order setting,
  19322. the get_Parent() patch above causes us to possibly get null for 'window'
  19323. - Implemented handling of client argument to PaintEventStart()/End()
  19324. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  19325. default handling)
  19326. - Now sends a Refresh() to all child windows when Refresh() is called
  19327. 2005-08-29 Peter Dennis Bartok <[email protected]>
  19328. * Form.cs: Added (non-functional) Opacity property
  19329. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  19330. 2005-08-29 Alexander Olk <[email protected]>
  19331. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  19332. use export MONO_THEME=nice to activate it.
  19333. Currently supported controls:
  19334. - Button
  19335. - ComboBox
  19336. - ScrollBar
  19337. - TabControl (TabAlignment.Top only, other will follow)
  19338. * ThemeEngine.cs: Add theme nice
  19339. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  19340. if enabled
  19341. 2005-08-25 Jonathan Chambers <[email protected]>
  19342. * Splitter.cs: Resize docked control and its neighbor.
  19343. 2005-08-24 Rafael Teixeira <[email protected]>
  19344. -- Making Windows with Menus layout correctly --
  19345. * Form.cs : The first leg of the fix
  19346. Menu setter - adjust Client Size as needed to make space for the menu
  19347. SetClientSizeCore - doesn't call base version to be able to pass the
  19348. menu handle to XplatUI.CalculateWindowRect
  19349. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  19350. * XplatUIX11.cs: The critical second leg of the fix
  19351. GetWindowPos needs to use a recalculated client_rect
  19352. so that resizing the window doesn't break layout of child controls.
  19353. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  19354. Lots of \t\n killed
  19355. 2005-08-23 Peter Dennis Bartok <[email protected]>
  19356. * Label.cs: Now properly recalculates width and height on Font and Text
  19357. changes if AutoSize is set
  19358. 2005-08-19 Rafael Teixeira <[email protected]>
  19359. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  19360. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  19361. * ImageList.cs: Makes ToString method compatible with MS
  19362. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  19363. * MenuAPI.cs: fixes bug 75716
  19364. 2005-08-11 Umadevi S <[email protected]>
  19365. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  19366. 2005-08-11 Umadevi S <[email protected]>
  19367. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  19368. 2005-08-10 Umadevi S <[email protected]>
  19369. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  19370. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  19371. * Menu.cs: fixes bug 75700
  19372. * MenuAPI.cs: fixes navigation issues
  19373. 2005-08-09 Umadevi S <[email protected]>
  19374. * CheckedListBox.cs - simple fix for GetItemChecked.
  19375. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  19376. * ComboBox.cs: Serveral fixes
  19377. * ListBox.cs: Serveral fixes
  19378. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  19379. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  19380. * ListBox.cs: Fixes FindString methods
  19381. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  19382. * DataGrid.cs: fixes bugs exposed by new tests
  19383. 2005-08-04 Peter Dennis Bartok <[email protected]>
  19384. * Mime.cs: Compile Mono assembly references only if compiling
  19385. with Mono (Allows to build with VS.Net again)
  19386. 2005-07-28 Marek Safar <[email protected]>
  19387. * Control.cs (PaintControlBackground): Draw background image
  19388. corrrectly.
  19389. (CheckForIllegalCrossThreadCalls): Stubbed.
  19390. * Form.cs (OnCreateControl): Center when should be centered.
  19391. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  19392. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  19393. * Binding.cs: Binding to properties should be case unsensitive
  19394. 2005-07-18 [email protected]
  19395. * DataGrid.cs: fixes setmember order
  19396. 2005-07-07 Alexander Olk <[email protected]>
  19397. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  19398. * FileDialog.cs: FileDialog is now resizable and uses the new
  19399. MimeIconEngine
  19400. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  19401. * DataGridTextBoxColumn.cs: default value
  19402. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  19403. * GridTableStylesCollection.cs: fixes checking MappingName
  19404. * DataGridDrawingLogic.cs: fixes drawing logic issues
  19405. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  19406. * DataGrid.cs: fixes
  19407. 2005-07-06 Alexander Olk <[email protected]>
  19408. * MimeGenerated.cs: Use case sensitive comparer for
  19409. NameValueCollections
  19410. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  19411. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  19412. * ThemeWin32Classic.cs: bug fixes, code refactoring
  19413. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  19414. * DataGrid.cs: bug fixes, code refactoring
  19415. * DataGridTextBox.cs: bug fixes, code refactoring
  19416. * DataGridColumnStyle.cs: bug fixes, code refactoring
  19417. * Theme.cs: bug fixes, code refactoring
  19418. 2005-07-01 Peter Bartok <[email protected]>
  19419. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  19420. and other text box usage
  19421. 2005-07-01 Jackson Harper <[email protected]>
  19422. * TabControl.cs: Make sure the bottom of the tab covers the pages
  19423. border.
  19424. 2005-06-30 Peter Bartok <[email protected]>
  19425. * Form.cs (ShowDialog): Assign owner of the dialog
  19426. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  19427. might have been moved to a tag with different height
  19428. 2005-06-30 Jackson Harper <[email protected]>
  19429. * Form.cs: Don't create an infinite loop when setting focus
  19430. * MenuItem.cs: Don't dirty the parents if we don't have any
  19431. 2005-06-29 Ben Maurer <[email protected]>
  19432. * LibSupport.cs: Rename
  19433. 2005-06-29 Peter Bartok <[email protected]>
  19434. * TextBoxBase.cs: Re-align caret after deleting a character
  19435. * TextControl.cs:
  19436. - DeleteChars(): Ensure that tag covers the provided position
  19437. - StreamLine(): Drop reference for dropped tag
  19438. 2005-06-29 Peter Bartok <[email protected]>
  19439. * TextControl.cs:
  19440. - Selections now work properly, anchoring at the initial location
  19441. and properly extending in either direction (SetSelectionToCaret(),
  19442. SetSelectionStart() and SetSelectionEnd())
  19443. - No longer redraws the whole control on selection change, now
  19444. calculates delta between previous and new selection and only
  19445. invalidates/redraws that area
  19446. - Fixed FindPos() math off-by-one errors
  19447. - Changed DeleteChars() to verify the provided tag covers the
  19448. provided position, selections may have a tag that doesn't cover
  19449. the position if the selection is at a tag border
  19450. - Fixed off-by-one errors in DeleteChars()
  19451. - Added missing streamlining check in DeleteChars() to remove
  19452. zero-length tags
  19453. - Implemented Invalidate() method, now properly calculates exposures
  19454. between two given lines/positions
  19455. - Implemented SetSelection()
  19456. - Obsoleted and removed FixupSelection()
  19457. - Improved RecalculateDocument() logic, removing code duplication
  19458. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  19459. * LibSupport.cs: changes to match different input/output arguments.
  19460. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  19461. * LibSupport.cs: added libsupport.so init routine.
  19462. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  19463. * ControlBindingsCollection.cs
  19464. - Throws an exception on null datasource when adding
  19465. - Checks for duplicated bindings when adding
  19466. 2005-06-28 Jackson Harper <[email protected]>
  19467. * TreeView.cs (OnKeyDown): Support left and right properly
  19468. (navigates as well as expanding and collapsing.
  19469. - Add support for Multiply, this expands all the selected nodes
  19470. children.
  19471. - Fix some tabbing.
  19472. 2005-06-28 Jackson Harper <[email protected]>
  19473. * TreeView.cs: Implement keyboard navigation, currently supports,
  19474. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  19475. support for toggling checkboxes with the space bar.
  19476. 2005-06-28 Jackson Harper <[email protected]>
  19477. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  19478. tree.
  19479. 2005-06-28 Jackson Harper <[email protected]>
  19480. * TreeView.cs: Add missing event.
  19481. 2005-06-27 Peter Bartok <[email protected]>
  19482. * TextControl.cs:
  19483. - Made line ending size configurable (now allows for counting
  19484. lineendings as \n or \r\n)
  19485. - Added margin to viewport to keep caret visible on right side
  19486. - Fixed translation routines for line/pos to documentpos to consider
  19487. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  19488. - Fixed some line-endings to be unix style
  19489. - Fixed Document.FormatText to perform it's calculations 1-based
  19490. - Added descriptions for a few methods that might otherwise get
  19491. used wrong
  19492. - Added NOTE section with some basic conventions to remember at
  19493. the top of the file
  19494. - Major fixup for RichTextBox selection drawing:
  19495. * Fixed crashes when multiple tags on a single line were selected
  19496. * fixed selection box drawing not overlaying text
  19497. * fixed bogus offset calculation for tags not starting at index 1
  19498. * Switched behaviour from using multiple Substrings of a
  19499. StringBuilder.ToString() to using multiple
  19500. StringBuilder.ToString(start, length) statements, hoping this is
  19501. faster (kept original version commented out in the code, in case
  19502. original version was faster)
  19503. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  19504. alignment != Left
  19505. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  19506. call it as well
  19507. 2005-06-27 Jackson Harper <[email protected]>
  19508. * TabControl.cs: Move to the left and right with the arrow
  19509. keys. These keys don't cycle beyond first and last like
  19510. tab. Refresh all the tabs when scrolling them to the left or
  19511. right.
  19512. 2005-06-27 Jackson Harper <[email protected]>
  19513. * TabControl.cs:
  19514. - ToString: Added method
  19515. - CreateParams: Remove TODO and comment
  19516. - OnKeyDown: Cycle through bounds properly.
  19517. - SelectedIndex: Scroll to the right or left if we need to
  19518. display the newly selected tab.
  19519. 2005-06-23 Jackson Harper <[email protected]>
  19520. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  19521. set.
  19522. 2005-06-23 Jackson Harper <[email protected]>
  19523. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  19524. CTRL-SHIFT-TAB, and HOME, END are there any others?
  19525. 2005-06-23 Jackson Harper <[email protected]>
  19526. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  19527. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  19528. * DataGridTextBoxColumn.cs: fixes and enhancements
  19529. * ThemeWin32Classic.cs: fixes and enhancements
  19530. * DataGridBoolColumn.cs: fixes and enhancements
  19531. * DataGridDrawingLogic.cs: fixes and enhancements
  19532. * CurrencyManager.cs: fixes and enhancements
  19533. * DataGrid.cs: fixes and enhancements
  19534. * DataGridColumnStyle.cs: fixes and enhancements
  19535. 2005-06-22 Jackson Harper <[email protected]>
  19536. * TabControl.cs: Add some missing methods that just call into the
  19537. base. Make the TabPageCollection's IList interface behave in the
  19538. same manner as the MS implementation.
  19539. 2005-06-22 Peter Bartok <[email protected]>
  19540. * TextControl.cs: Added sanity check
  19541. * TextBoxBase.cs:
  19542. - Fixed wrapping behaviour, don't set wrap on single line controls
  19543. (this fixes the breakage of colordialog introduced in an earlier
  19544. checkin)
  19545. - Added rudimentary support for autoscrolling right-aligned controls
  19546. (still needs fixing, also, center alignment scroll is missing)
  19547. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  19548. * ScrollBar.cs: Fixes thumbpos on Maximum values
  19549. 2005-06-21 Jonathan Chambers <[email protected]>
  19550. * PropertyGridView.cs: Pass context information to UITypeEditors
  19551. 2005-06-21 Peter Bartok <[email protected]>
  19552. * TextBoxBase.cs:
  19553. - Now calling PositionCaret with absolute space coordinates
  19554. - Enabled vertical scrolling
  19555. - Better tracking of scrollbar changes, tied into WidthChange
  19556. event
  19557. - Improved cursor tracking
  19558. - Removed debug output
  19559. * TextControl.cs:
  19560. - PositionCaret coordinates are now works in absolute space, not
  19561. the canvas
  19562. - Improved tracking of document size
  19563. - Added events for width and height changes
  19564. 2005-06-21 Peter Bartok <[email protected]>
  19565. * Form.cs: Set focus to active control when form is activated
  19566. * TextControl.cs:
  19567. - Added word-wrap functionality to RecalculateLine()
  19568. - Added some short function descriptions for VS.Net to aid in
  19569. writing dependent controls
  19570. - Added Caret property, returning the current coords of the caret
  19571. - Added ViewPortWidth and ViewPortHeight properties
  19572. - Added Wrap property
  19573. - Added CaretMoved event
  19574. - Removed some old debug code
  19575. - Split() can now create soft splits
  19576. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  19577. - Added method to format existing text
  19578. - Fixed size/alignment calculations to use viewport
  19579. - RecalculateDocument now can handle changing line-numbers while
  19580. calculating lines
  19581. * TextBox.cs:
  19582. - Added some wrap logic, we don't wrap if alignment is not left
  19583. - Added casts for scrollbar var, base class switched types to
  19584. also support RichTextBoxA
  19585. - Implemented handling of scrollbar visibility flags
  19586. * TextBoxBase.cs:
  19587. - Switched scrollbars type to RichTextBoxScrollBars to support
  19588. RichTextBox
  19589. - Added tracking of canvas width/height
  19590. - Switched scrollbars to be not selectable (to keep focus on text)
  19591. - Added central CalculateDocument() method to handle all redraw
  19592. requirements
  19593. - Added ReadOnly support
  19594. - Added WordWrap support
  19595. - Fixed handling of Enter key (we now treat it as a DialogKey)
  19596. - Fixed caret positioning when h or v scroll is not zero
  19597. - Fixed placing/generation of vertical scrollbar
  19598. - Added CalculateScrollBars() method to allow updating scrollbar
  19599. limits and visibility
  19600. - Fixed handling of horizontal scroll
  19601. - Added handling of vertical scroll
  19602. - Implemented auto-'jump' when caret moves to close to a left or
  19603. right border and there is text to be scrolled into view (currently
  19604. there's the potential for a stack overflow, until a bug in
  19605. scrollbar is fixed)
  19606. 2005-06-21 Geoff Norton <[email protected]>
  19607. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  19608. 2005-06-19 Alexander Olk <[email protected]>
  19609. * Mime.cs:
  19610. - added inodes.
  19611. - return application/x-zerosize for files with size zero
  19612. (if no extension pattern matches).
  19613. - check matches collection for strings too.
  19614. - return only the first mime type if the name value
  19615. collection has more than one mime type.
  19616. 2005-06-18 Jonathan Chambers <[email protected]>
  19617. * PropertyGrid.cs: Cleaned up some TODOs
  19618. * PropertyGridView.cs: Added support for UITypeEditors
  19619. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  19620. * DataGrid.cs: clears cached value
  19621. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  19622. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  19623. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  19624. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  19625. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  19626. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  19627. * ThemeWin32Classic.cs: fixes colour
  19628. 2005-06-15 Peter Bartok <[email protected]>
  19629. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  19630. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  19631. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  19632. * Control.cs: Added some MWFCategory and MWFDescription attributes
  19633. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  19634. 2005-06-15 Alexander Olk <[email protected]>
  19635. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  19636. usage
  19637. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  19638. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  19639. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  19640. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  19641. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  19642. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  19643. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  19644. 2005-06-13 Jackson Harper <[email protected]>
  19645. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  19646. isn't printed when the user enables dropping. (X11 does accept
  19647. drops).
  19648. 2005-06-13 Jackson Harper <[email protected]>
  19649. * TreeView.cs: Remove some TODOS.
  19650. 2005-06-13 Jackson Harper <[email protected]>
  19651. * Form.cs: Hook into the mdi framework.
  19652. * MdiClient.cs: Use the base control collections add method so
  19653. parents get setup correctly. Set the default back colour and dock
  19654. style.
  19655. * MdiChildContext.cs: New class, this bad actor handles an
  19656. instance of an MDI window. Right now there is only basic
  19657. support. You can drag, close, and resize windows. Minimize and
  19658. Maximize are partially implemented.
  19659. 2005-06-13 Jackson Harper <[email protected]>
  19660. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  19661. freaky when both vals are negative. NOTE: There are probably other
  19662. places in XplatUIX11 that this needs to be done.
  19663. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  19664. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  19665. * DataGridColumnStyle.cs: fixes signature
  19666. 2005-06-12 Jackson Harper <[email protected]>
  19667. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  19668. windows.
  19669. 2005-06-11 Jackson Harper <[email protected]>
  19670. * StatusBarPanel.cs: Signature cleanups. Implement
  19671. BeginInit/EndInit.
  19672. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  19673. * DataGridTextBoxColumn.cs: Honors aligment
  19674. * GridColumnStylesCollection.cs: Contains is case unsensitive
  19675. * GridTableStylesCollection.cs: several fixes
  19676. * DataGridTableStyle.cs: default column creation
  19677. * DataGridDrawingLogic.cs: fixes
  19678. * CurrencyManager.cs: ListName property
  19679. * DataGrid.cs: multiple styles support
  19680. * DataGridColumnStyle.cs: fixes
  19681. 2005-06-10 Peter Bartok <[email protected]>
  19682. * Control.cs(Select): Moved SetFocus call to avoid potential
  19683. loops if controls change the active control when getting focus
  19684. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  19685. the up/down buttons
  19686. 2005-06-10 Matthias Felgner <[email protected]>
  19687. * ImageListConverter.cs: Implemented
  19688. 2005-06-10 John BouAntoun <[email protected]>
  19689. * MonthCalendar.cs: Wired in NumericUpDown control for year
  19690. 2005-06-10 John BouAntoun <[email protected]>
  19691. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  19692. DoubleClick events, since they are not meant to be fired.
  19693. 2005-06-09 Peter Bartok <[email protected]>
  19694. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  19695. Jonathan's standalone controls into MWF, implemented missing
  19696. events, attributes and methods; added xxxAccessible classes
  19697. * AccessibleObject.cs: Made fields internal so other classes
  19698. can change them if needed
  19699. 2005-06-09 Jonathan Gilbert <[email protected]>
  19700. * UpDownBase.cs: Complete implementation
  19701. * NumericUpDown.cs: Complete implementation
  19702. * DomainUpDown.cs: Complete implementation
  19703. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  19704. * DataGridTextBoxColumn.cs: drawing fixes
  19705. * DataGridCell.cs: fixes ToString method to match MSNet
  19706. * DataGridTableStyle.cs: fixes
  19707. * DataGridBoolColumn.cs: fixes, drawing
  19708. * DataGridDrawingLogic.cs: fixes, new methods
  19709. * DataGridTextBox.cs: Keyboard and fixes
  19710. * DataGrid.cs:
  19711. - Keyboard navigation
  19712. - Scrolling fixes
  19713. - Row selection (single, multiple, deletion, etc)
  19714. - Lots of fixes
  19715. 2005-06-07 Jackson Harper <[email protected]>
  19716. * ThemeWin32Classic.cs: Clear the background area when drawing
  19717. buttons.
  19718. 2005-06-06 Peter Bartok <[email protected]>
  19719. * ImageListStreamer.cs: Fixed signature for GetData
  19720. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  19721. * ComboBox.cs:
  19722. - Added missing ChildAccessibleObject class
  19723. - Added missing OnXXXFocus overrides, switched to using those
  19724. instead of the event handler
  19725. * Control.cs:
  19726. - Added Parent property for ControlAccessibleObject
  19727. - Fixed signatures
  19728. - Fixed attributes
  19729. - Added ResetBindings()
  19730. * ListBindingConverter.cs: Implemented some methods
  19731. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  19732. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  19733. * ContainerControl.cs: Fixed signature, now subscribing to the
  19734. ControlRemoved event instead of overriding the handler, LAMESPEC
  19735. * CurrencyManager.cs: Added missing attribute
  19736. * MonthCalendar.cs: Added missing properties
  19737. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  19738. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  19739. 2005-06-06 Gaurav Vaish and Ankit Jain
  19740. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  19741. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  19742. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  19743. * Control.cs: fixes CreateParams Width / Height.
  19744. 2005-06-05 Peter Bartok <[email protected]>
  19745. * Win32DnD.cs: Removed compilation warnings
  19746. 2005-06-05 Peter Bartok <[email protected]>
  19747. * Control.cs (CreateParams): Since we don't know if one of the
  19748. properties we use is overridden, lets make sure if we fail accessing
  19749. we continue with a backup plan
  19750. 2005-06-05 Peter Bartok <[email protected]>
  19751. * Win32DnD.cs:
  19752. - Removed debug output
  19753. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  19754. struct
  19755. - Plugged resource leak
  19756. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  19757. MS size
  19758. 2005-06-05 Peter Bartok <[email protected]>
  19759. * XplatUIWin32.cs: Removed DnD code
  19760. * Win32DnD.cs: Implemented drop source and drop target functionality
  19761. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  19762. * UpDownBase.cs: remove duplicate addition of event, enable some code
  19763. that was commented out.
  19764. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  19765. Validate input when a key is pressed. It works fine now for every
  19766. combination of Hexadecimal. Only missing some drawing love when sharing
  19767. space with other controls.
  19768. 2005-06-04 Peter Bartok <[email protected]>
  19769. * Control.cs:
  19770. - We need to pass a window for DragDrop, so enable callback events
  19771. - Added DnD callback events when being a DragSource
  19772. * XplatUI.cs (StartDrag): Added window handle argument
  19773. * XplatUIDriver.cs (StartDrag): Added window handle argument
  19774. * QueryContinueDragEventArgs: Made fields internally accessible so
  19775. drivers can set them
  19776. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  19777. can set them
  19778. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  19779. * DataGridTextBoxColumn.cs: column text editing
  19780. * DataGridTableStyle.cs: Respect columns styles created by the user
  19781. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  19782. * DataGridBoolColumn.cs: bool column editing
  19783. * DataGrid.cs: fixes to scrolling, properties, etc
  19784. * DataGridTextBox.cs: handle keyboard
  19785. * DataGridColumnStyle.cs: fixes
  19786. 2005-06-02 Jackson Harper <[email protected]>
  19787. * ImageListStreamer.cs: Somewhat broken implementation of
  19788. GetObjectData. The RLE needs some work to match MS properly.
  19789. 2005-06-02 Jackson Harper <[email protected]>
  19790. * X11Dnd.cs: Attempting to keep at least one file in MWF
  19791. monostyled.
  19792. 2005-06-02 Peter Bartok <[email protected]>
  19793. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  19794. that way
  19795. 2005-06-02 Peter Bartok <[email protected]>
  19796. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  19797. * XplatUI.cs: Added DoDragDrop() method
  19798. * XplatUIDriver.cs: Added DoDragDrop() method
  19799. 2005-06-02 Jackson Harper <[email protected]>
  19800. * Splitter.cs: Implement BorderStyle.
  19801. 2005-06-02 Jackson Harper <[email protected]>
  19802. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  19803. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  19804. X11 using XDND.
  19805. 2005-06-02 Peter Bartok <[email protected]>
  19806. * DataObject.cs:
  19807. - Added Data setter
  19808. - Fixed broken insertion code for SetData, now also
  19809. overwrites any existing entry of the same format name
  19810. * Hwnd.cs: Added list of pointers that automatically gets
  19811. freed when the window is disposed
  19812. * XplatUI.cs: Call driver initialization method when loading
  19813. a driver
  19814. * Control.cs:
  19815. - OnDragLeave takes EventArgs, not DragEventArgs
  19816. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  19817. supported
  19818. - Forces style update when drop state changes
  19819. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  19820. not perfect since we cannot (yet) call the IDataObject.GetData()
  19821. method, we keep getting 0x80004005 error, dunno why)
  19822. 2005-06-02 Peter Bartok <[email protected]>
  19823. * DragEventArgs.cs: Make fields internal so we can cache the
  19824. object and re-set the fields from XplatUI
  19825. 2005-06-02 Jackson Harper <[email protected]>
  19826. * Control.cs: Add some internal methods so the DnD subsystem can
  19827. raise DnD events. Also call into the driver when AllowDrop is set.
  19828. * XplatUI.cs:
  19829. * XplatUIDriver.cs: New method for setting whether or not a window
  19830. is allowed to accept drag and drop messages.
  19831. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  19832. * ScrollBar.cs: Make sure that values sent in Scroll events
  19833. are always between Maximum and Minimum.
  19834. 2005-06-01 Marek Safar <[email protected]>
  19835. * Menu.cs: Call MenuChanged when menuitem visibility has been
  19836. changed.
  19837. * MenuItem.cs: Rebuild menu when item is (not) visible.
  19838. * MainMenu.cs: MainMenu has special MenuChanged.
  19839. * Theme.cs: Caption and FrameBorderSize are not fixed.
  19840. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  19841. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  19842. * XplatUIX11.cs,
  19843. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  19844. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  19845. 2005-05-30 Jackson Harper <[email protected]>
  19846. * DataFormat.cs: We can't statically initialize this stuff because
  19847. it calls into the xplatui and could create a loop. So we lazy init
  19848. it.
  19849. 2005-05-28 Jackson Harper <[email protected]>
  19850. * Control.cs: Proper implementation of Product(Name/Version).
  19851. 2005-05-27 Jackson Harper <[email protected]>
  19852. * DataObject.cs: Dont crash if no data is found.
  19853. 2005-05-26 Rafael Teixeira <[email protected]>
  19854. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  19855. as per status page, guessing it should be set to true
  19856. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  19857. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  19858. * DataGridTableStyle.cs: set proper formatting text, def header text
  19859. * ThemeWin32Classic.cs: new themable paramaters
  19860. * DataGridBoolColumn.cs: paint check box, get data, fixes
  19861. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  19862. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  19863. * DataGridColumnStyle.cs: fixes
  19864. * Theme.cs: new themable paramaters
  19865. 2005-05-26 Peter Bartok <[email protected]>
  19866. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  19867. 2005-05-24 Jonathan S. Chambers <[email protected]>
  19868. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  19869. 2005-05-24 Peter Bartok <[email protected]>
  19870. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  19871. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  19872. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  19873. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  19874. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  19875. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  19876. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  19877. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  19878. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  19879. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  19880. missing attributes, etc
  19881. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  19882. 2005-05-24 Peter Bartok <[email protected]>
  19883. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  19884. when user tries to get help
  19885. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  19886. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  19887. to suppress warnings
  19888. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  19889. avoid unreachable code warning
  19890. 2005-05-20 Peter Bartok <[email protected]>
  19891. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  19892. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  19893. * DataGridTextBoxColumn.cs: Basic painting methods
  19894. * DataGridTableStyle.cs: Set table style in the column
  19895. * ThemeWin32Classic.cs: Use Theme for colors
  19896. * DataGridDrawingLogic.cs: Implement more drawing
  19897. * DataGrid.cs: drawing, theming, enhacements, fixes
  19898. * DataGridColumnStyle.cs: fixes, drawing
  19899. * Theme.cs: theming for Datagrid
  19900. 2005-05-20 Peter Bartok <[email protected]>
  19901. * Cursor.cs: Implemented GetObjectData() method
  19902. 2005-05-20 Peter Bartok <[email protected]>
  19903. * Cursors.cs: Added setting of cursor name
  19904. * Cursor.cs:
  19905. - Implemented constructors
  19906. - Implemented Draw and DrawStretched
  19907. - Implemented Current property
  19908. - Implemented == and != operators
  19909. - Implemented Dispose()
  19910. - Implemented ToString
  19911. - Added missing attributes
  19912. * XplatUIX11.cs:
  19913. - Added missing reset for OverrideCursor when DoEvents is called
  19914. - Fixed creation of cursor, logic was wrong
  19915. * XplatUIWin32.cs:
  19916. - Added missing reset for OverrideCursor when DoEvents is called
  19917. - Fixed creation of cursor, bit arrays were swapped
  19918. * Clipboard.cs: Removed obsolete MonoTODO attribute
  19919. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  19920. * ComboBox.cs: fixes OnSelectedItemChanged
  19921. * ControlBindingsCollection.cs: fixes item range check
  19922. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  19923. * UpDownBase.cs:
  19924. - Calc preferred height properly
  19925. - Implement missing properties
  19926. * NumericUpDown.cs: Implement missing events
  19927. 2005-05-19 Jackson Harper <[email protected]>
  19928. * TabControl.cs: New method that resizes the tab pages before
  19929. redrawing them. This as needed as the control is double buffered
  19930. and sizing will not be recalculated unless ResizeTabPages is
  19931. called.
  19932. * TabPage.cs: Set base.Text instead of Text in the constructor so
  19933. that UpdateOwner does not get called. Use the new Redraw method of
  19934. TabControl instead of Refresh so the sizing is recalculated.
  19935. * ThemeWin32Classic.cs: Draw the text for button tabs.
  19936. 2005-05-19 Jackson Harper <[email protected]>
  19937. * Control.cs: Paint control background images. Fix typo where
  19938. PaintControlBackground was not getting called correctly.
  19939. 2005-05-19 Peter Bartok <[email protected]>
  19940. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  19941. I can investigate, apparently I broke FileDialog
  19942. 2005-05-19 Marek Safar <[email protected]>
  19943. * AxHost.cs: Some simple properties.
  19944. * Control.cs: window must be accessible after ctor.
  19945. * Form.cs: Added TransparencyKey property.
  19946. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  19947. * XplatUIWin32.cs: SetBorderStyle implemented.
  19948. 2005-05-18 Peter Bartok <[email protected]>
  19949. * DataObject.cs: Entries are not global but particular to the
  19950. DataObject, now it behaves that way
  19951. * XplatUIWin32.cs: Implemented Clipboard methods
  19952. * Clipboard.cs: Implemented
  19953. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  19954. * XplatUIOSX.cs: Updated to final clipboard prototypes
  19955. * XplatUIX11.cs: Implemented Clipboard methods
  19956. * XplatUIDriver.cs: Updated to final clipboard prototypes
  19957. * XplatUIStructs.cs:
  19958. - Added BITMAPINFOHEADER struct
  19959. - Added ClipboardFormats enum
  19960. * X11Structs.cs:
  19961. - Added ClipboardStruct
  19962. - Added Atom enum items for clipboard types
  19963. - Fixed atom types for Selection event structures
  19964. * DataFormats.cs:
  19965. - Added internal properties and methods for drivers to enumerate
  19966. all known formats
  19967. - Switched initialization method to allow drivers to assign their
  19968. own IDs even for the MS predefined clipboard IDs
  19969. * XplatUI.cs: Updated to final clipboard interface
  19970. 2005-05-18 Jonathan S. Chambers <[email protected]>
  19971. * PropertyGridView.cs: Fixed compiler warnings.
  19972. 2005-05-18 Jonathan S. Chambers <[email protected]>
  19973. * PropertyGrid.cs: Added some event calls
  19974. * PropertyGridView.cs: Change drawing code to use double buffering
  19975. * PropertyGridTextBox.cs: Changed Text property name
  19976. * GridItem.cs: Added Bounds property.
  19977. * GridEntry.cs: Added Bounds property.
  19978. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  19979. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  19980. since GetType() may not return the correct type if the object is
  19981. a remoting proxy.
  19982. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  19983. * TreeNodeCollection.cs: fixes get/set item ranges
  19984. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  19985. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  19986. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  19987. * ComboBox.cs: Fix item range comparation
  19988. * ListView.cs: Fix item range comparation
  19989. 2005-05-03 Alexander Olk <[email protected]>
  19990. * FontDialog.cs:
  19991. - Clear example panel when OnPaint is called
  19992. - Better solution for displaying the example panel text
  19993. - Select default indexes in the ListBoxes
  19994. 2005-05-11 Geoff Norton <[email protected]>
  19995. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  19996. 2005-05-11 Peter Bartok <[email protected]>
  19997. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  19998. * SelectionRangeConverter.cs: Implemented
  19999. * PropertyGrid.cs: Fixed attribute value
  20000. * Control.cs:
  20001. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  20002. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  20003. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  20004. that's common to all drivers. First methods to go there are
  20005. Sebastien Pouliot's CAS Stack Propagation helper methods
  20006. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  20007. Sebastien Pouliot for CAS Stack Propagation
  20008. 2005-05-11 Geoff Norton <[email protected]>
  20009. * OSXStructs.cs:
  20010. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  20011. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  20012. * DataGridTextBoxColumn.cs: fixed some members
  20013. * GridColumnStylesCollection.cs: indexed column is case insensitive
  20014. * DataGridTableStyle.cs: fixes
  20015. * ThemeWin32Classic.cs: add new theme parameter
  20016. * Theme.cs: add new theme parameter
  20017. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  20018. * DataGrid.cs: fixes, new internal properties, etc.
  20019. * DataGridColumnStyle.cs: allows to set grid value
  20020. *
  20021. 2005-05-10 Peter Bartok <[email protected]>
  20022. * AccessibleObject.cs:
  20023. - Removed MonoTODO attribute on help, method is correct
  20024. - Fixed Bounds property
  20025. * AxHost.cs: Moved MonoTODO
  20026. * ButtonBase.cs: Now setting AccessibleObject properties
  20027. * RadioButton.cs: Setting proper AccessibleObject role
  20028. * CheckBox.cs: Setting proper AccessibleObject role
  20029. * ControlBindingsCollection.cs: Added properties, methods and attributes
  20030. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  20031. userdefined DataFormats.Format items as well
  20032. * ListControl.cs: Removed data_member from the public eye
  20033. * OpenFileDialog.cs:
  20034. - Made class sealed
  20035. - Added missing attributes
  20036. * SaveFileDialog.cs: Added missing attributes
  20037. * ImageListStreamer.cs: Fixed code that caused warnings
  20038. * LinkLabel.cs: Removed unreachable code
  20039. * TreeView.cs: Fixed code that caused warnings
  20040. * PropertyGridView.cs: Fixed code that caused warnings
  20041. * GridColumnStylesCollection.cs: Added missing attributes
  20042. * GridTableStylesCollection: Added missing attribute
  20043. * PropertyManager: Added .ctor
  20044. * SecurityIDType: Added
  20045. * DataObject.cs: Implemented class
  20046. * LinkArea.cs: Added missing attribute
  20047. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  20048. * RadioButton.cs: call base method to allow to fire OnClick event
  20049. * UpDownBase.cs: OnMouseUp call base method
  20050. * CheckedListBox.cs: call base method before returning
  20051. * TrackBar.cs: call base method before returning
  20052. 2005-05-10 Peter Bartok <[email protected]>
  20053. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  20054. for messages
  20055. 2005-05-10 Peter Bartok <[email protected]>
  20056. * DataFormats.cs: Implemented
  20057. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  20058. XplatUIX11.cs: Added Clipboard APIs
  20059. * XplatUIWin32.cs: Implemented Clipboard APIs
  20060. * FolderBrowserDialog.cs: Added missing event, attributes
  20061. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  20062. * CheckBox.cs: call base method to allow to fire OnClick event
  20063. 2005-05-09 Sebastien Pouliot <[email protected]>
  20064. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  20065. 2005-05-06 Peter Bartok <[email protected]>
  20066. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  20067. * Screen.cs: Implemented
  20068. * HelpNavigator.cs: Added
  20069. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  20070. property
  20071. * HelpProvider.cs: Implemented all we can do until we have a CHM
  20072. help library (which means that "What's This" does work now)
  20073. 2005-05-06 Jackson Harper <[email protected]>
  20074. * XplatUIX11.cs: Fix waking up the main loop.
  20075. 2005-05-05 Peter Bartok <[email protected]>
  20076. * XplatUI.cs: Updated revision
  20077. * Form.cs: Removed enless loop
  20078. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  20079. * Label.cs (OnPaint): Added call to base.OnPaint()
  20080. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  20081. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  20082. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  20083. * AxHost.cs: Added
  20084. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  20085. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  20086. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  20087. reuse of ToolTipWindow by other controls
  20088. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  20089. * XplatUIX11.cs: Now clipping drawing area (experimental)
  20090. * PictureBox.cs: Moved base.OnPaint() call to end of method
  20091. * Theme.cs: Fixed ToolTip abstracts to match new format
  20092. * ErrorProvider.cs: Implemented
  20093. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  20094. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  20095. * LinkLabel.cs:
  20096. - Adds cursors
  20097. - Handles focus
  20098. - Implements LinkBehavior
  20099. - Fixes many issues
  20100. 2005-05-03 Jackson Harper <[email protected]>
  20101. * ListView.cs: Calculate the scrollbar positioning on resize and
  20102. paint, so they get put in the correct place.
  20103. 2005-05-03 Alexander Olk <[email protected]>
  20104. * ColorDialogs.cs: The small color panels are now handled by
  20105. SmallColorControl. This fixes drawing of the focus rectangle
  20106. and adds a 3D border.
  20107. 2005-05-03 Peter Bartok <[email protected]>
  20108. * Control.cs: Modified version of Jonathan Chamber's fix for
  20109. double-buffering
  20110. 2005-05-03 Jackson Harper <[email protected]>
  20111. * ListView.cs: Remove redraw variable. Control now handles whether
  20112. or not a redraw needs to be done, and will only raise the paint
  20113. event if redrawing is needed.
  20114. 2005-05-03 Jackson Harper <[email protected]>
  20115. * Splitter.cs: No decorations for the splitter form. Cache the
  20116. hatch brush.
  20117. 2005-05-03 Jackson Harper <[email protected]>
  20118. * TreeView.cs: Use dashed lines to connect nodes. Use the
  20119. ControlPaint method for drawing the focus rect instead of doing
  20120. that in treeview.
  20121. 2005-05-02 Peter Bartok <[email protected]>
  20122. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  20123. 2005-04-29 Jackson Harper <[email protected]>
  20124. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  20125. entire image buffer. Just clear the clipping rectangle.
  20126. 2005-04-29 Jackson Harper <[email protected]>
  20127. * ThemeWin32Classic.cs: Don't draw list view items that are
  20128. outside the clipping rectangle.
  20129. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  20130. * ListBox.cs: added horizontal item scroll
  20131. 2005-04-29 Jackson Harper <[email protected]>
  20132. * ThemeWin32Classic.cs: Remove some old debug code that was
  20133. causing flicker with the new double buffering code.
  20134. 2005-04-29 John BouAntoun <[email protected]>
  20135. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  20136. behave like combobox and comboboxlist (still not sure if this is
  20137. correct though).
  20138. 2005-04-28 Jackson Harper <[email protected]>
  20139. * ThemeWin32Classic.cs: Don't fill the middle of progress
  20140. bars. This fills areas outside of the clip bounds that don't need
  20141. to be filled.
  20142. 2005-04-28 Jackson Harper <[email protected]>
  20143. * Control.cs: Don't expose functionality to touch the image buffers.
  20144. * ProgressBar.cs:
  20145. * ListView.cs: We do not need to (and no longer can) manipulate
  20146. the image buffers directly. All of this is handled by Control.
  20147. 2005-04-28 Peter Bartok <[email protected]>
  20148. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  20149. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  20150. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  20151. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  20152. * Combobox:
  20153. - Adjust control's height for non-simple comboboxes (bug fix)
  20154. - Remove dead code
  20155. * MenuAPI.cs: remove unused var
  20156. * ScrollBar.cs: remove unsed var
  20157. * ListBox.cs: unselect items when clearing
  20158. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  20159. * ListControl.cs: honors OnPositionChanged and default Selected Item
  20160. * ListBox.cs: unselect items when clearing
  20161. 2005-04-27 Jackson Harper <[email protected]>
  20162. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  20163. if a "correct" keyboard is not found. This will make us not crash,
  20164. but might give some users bad keyboard layouts...seems to be the
  20165. same thing rewind does.
  20166. 2005-04-27 Jackson Harper <[email protected]>
  20167. * BindingManagerBase.cs: Attach the current/position changed
  20168. handlers to their respective events.
  20169. 2005-04-27 Jackson Harper <[email protected]>
  20170. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  20171. not just a blit.
  20172. * ThemeWin32Classic.cs: Don't fill the background for picture
  20173. boxes. This could overright user drawing.
  20174. * ComboBox.cs: Just fill the clipping rect not the entire client
  20175. rect when drawing the background. This prevents pieces of the
  20176. image buffer from getting overwritten and is theoretically faster.
  20177. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  20178. * ComboBox.cs: Databinding support fixes, fire missing events
  20179. * ListControl.cs: implement missing methods and properties, fixes
  20180. * ThemeWin32Classic.cs: Databiding support on Drawing
  20181. * CheckedListBox.cs: Databinding support fixes, fire missing events
  20182. * ListBox.cs: Databinding support fixes, fire missing events
  20183. 2005-04-25 Peter Bartok <[email protected]>
  20184. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  20185. 2005-04-25 Jackson Harper <[email protected]>
  20186. * TreeView.cs: Use the horizontal scrollbars height not width when
  20187. determining how much of the client area is available.
  20188. 2005-04-25 Jackson Harper <[email protected]>
  20189. * Control.cs: Double buffering is handled differently now. As per
  20190. the spec, the extra buffer is created in the WM_PAINT message and
  20191. passed down to the control's drawing code.
  20192. * GroupBox.cs:
  20193. * Label.cs:
  20194. * CheckBox.cs:
  20195. * ProgressBar.cs:
  20196. * RadioButton.cs:
  20197. * ColorDialog.cs:
  20198. * ComboBox.cs:
  20199. * PropertyGridView.cs:
  20200. * UpDownBase.cs:
  20201. * MessageBox.cs:
  20202. * MenuAPI.cs:
  20203. * ListView.cs:
  20204. * ButtonBase.cs:
  20205. * SizeGrip.cs:
  20206. * ScrollBar.cs:
  20207. * ListBox.cs:
  20208. * TrackBar.cs:
  20209. * ToolBar.cs:
  20210. * PictureBox.cs:
  20211. * DateTimePicker.cs:
  20212. * StatusBar.cs:
  20213. * TreeView.cs: Update to new double buffering system.
  20214. * MonthCalendar.cs: Uncomment block, as Capture is now
  20215. working. Update to new double buffering
  20216. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  20217. * PaintEventArgs.cs: New internal method allows us to set the
  20218. graphics object. This is used for double buffering.
  20219. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  20220. rectangle. The internal paint_area var has been removed from
  20221. StatusBar. The clipping rect should be used instead.
  20222. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  20223. * TabPage.cs: The RefreshTabs method was removed, so just call the
  20224. tab controls Refresh method now.
  20225. * TabControl.cs: Update to new double buffering. Make sure the
  20226. handle is created before sizing the tab pages, otherwise we will
  20227. get stuck in a loop.
  20228. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  20229. * LinkLabel.cs: Fix typo, bug #74719; patch
  20230. from Borja Sanchez Zamorano
  20231. 2005-04-22 Jackson Harper <[email protected]>
  20232. * TreeNode.cs: Implement Handle stuff.
  20233. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  20234. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  20235. * DataGridTextBoxColumn.cs: call base constructors, fixes
  20236. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  20237. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  20238. * DataGridTableStyle.cs: implements create default column styles
  20239. * DataGridBoolColumn.cs: which types can handle
  20240. * DataGrid.cs: missing methods, fixes, new functionality
  20241. * DataGridColumnStyle.cs: fixes
  20242. 2005-04-20 Alexander Olk <[email protected]>
  20243. * FolderBrowserDialog.cs:
  20244. - Use a thread to fill the TreeView
  20245. - Adjusted some sizes
  20246. 2005-04-19 Peter Bartok <[email protected]>
  20247. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  20248. property. Fixes #74360.
  20249. 2005-04-19 Jackson Harper <[email protected]>
  20250. * XEventQueue.cs: Lock when getting the lockqueue size.
  20251. * PictureBox.cs: Call base OnPaint
  20252. 2005-04-19 Peter Bartok <[email protected]>
  20253. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  20254. messages were no longer being processed (this broke BeginInvoke)
  20255. 2005-04-18 Jackson Harper <[email protected]>
  20256. * TreeView.cs: buglet that caused node images to get drawn
  20257. regardless of whether or not they were in the clipping rectangle.
  20258. 2005-04-18 Jackson Harper <[email protected]>
  20259. * CurrencyManager.cs: There are four rules for GetItemProperties:
  20260. - If the type is an array use the element type of the array
  20261. - If the type is a typed list, use the type
  20262. - If the list contains an Item property that is not an object, use
  20263. that property
  20264. - use the first element of the list if there are any elements in
  20265. the list.
  20266. 2005-04-17 Jackson Harper <[email protected]>
  20267. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  20268. click. This handles offsets for scrolling properly and reduces
  20269. memory. Also fixed GetNode to not offset now that TopNode works
  20270. properly.
  20271. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  20272. 2005-04-17 Jackson Harper <[email protected]>
  20273. * CursorConverter.cs: Initial implementation.
  20274. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  20275. * ListControl.cs: work towards complex data binding support on ListControl
  20276. * CurrencyManager.cs: work towards complex data binding support on ListControl
  20277. * ListBox.cs: work towards complex data binding support on ListControl
  20278. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  20279. * GridTableStylesCollection.cs: fixes name and constructor
  20280. * DataGridTableStyle.cs: fixes
  20281. * DataGridBoolColumn.cs: fixes names and constructors
  20282. * DataGrid.cs: define methods and properties. Some init implementations
  20283. * DataGridCell.cs: define methods and properties. Some init implementations
  20284. * GridTablesFactory.cs: Define methods and properties
  20285. 2005-04-15 Geoff Norton <[email protected]>
  20286. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  20287. graphics port changes. We still want the coordinates in global screen
  20288. coordinates.
  20289. 2005-04-14 Jackson Harper <[email protected]>
  20290. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  20291. check plus minus or checkbox clicks unless those features are enabled.
  20292. 2005-04-14 Jackson Harper <[email protected]>
  20293. * TreeView.cs: Add methods for setting the top and bottom visible
  20294. nodes. TreeNode::EnsureVisible uses these methods.
  20295. * TreeNode.cs: Implement EnsureVisible
  20296. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  20297. * Form.cs: Pospone menu assignation if the window has not been created yet
  20298. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  20299. size and position
  20300. 2005-04-12 Jackson Harper <[email protected]>
  20301. * TreeView.cs: Set the TopNode properly when scrolling
  20302. occurs. This has the added benifit of reducing the amount of
  20303. walking that needs to be done when drawing. Also removed an old
  20304. misleading TODO.
  20305. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  20306. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  20307. * Timer.cs: fixes interval setting when the timer is already enabled
  20308. 2005-04-10 Alexander Olk <[email protected]>
  20309. * FolderBrowserDialog.cs: First approach
  20310. 2005-04-09 Peter Bartok <[email protected]>
  20311. * FolderBrowserDialog: Added
  20312. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  20313. * LinkLabel.cs: move drawing code into the theme
  20314. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  20315. * Theme.cs: define DrawLinkLabel method
  20316. 2005-04-05 Jackson Harper <[email protected]>
  20317. * BindingContext.cs: Use weak references so these bad actors don't
  20318. stay alive longer then they need to.
  20319. 2005-04-05 Jackson Harper <[email protected]>
  20320. * ListControl.cs: Basic implementation of complex databinding.
  20321. * ComboBox.cs:
  20322. * ListBox.cs: Add calls to ListControl databinding methods.
  20323. 2005-04-05 Alexander Olk <[email protected]>
  20324. * FileDialog.cs:
  20325. - Don't change PopupButtonState to Normal when the
  20326. PopupButton gets pressed several times.
  20327. - Renamed ButtonPanel to PopupButtonPanel
  20328. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  20329. * ColorDialog.cs: Use cached objects instead of creating them
  20330. * LinkLabel.cs: Use cached objects instead of creating them
  20331. * Splitter.cs: Use cached objects instead of creating them
  20332. * FontDialog.cs: Use cached objects instead of creating them
  20333. * PropertyGridView.cs: Use cached objects instead of creating them
  20334. * MessageBox.cs: Use cached objects instead of creating them
  20335. * FileDialog.cs: Use cached objects instead of creating them
  20336. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  20337. * TreeView.cs: Use cached objects instead of creating them
  20338. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  20339. * Control.cs: use Equals to compare the font since no == op
  20340. * ScrollBar.cs: use Equals to compare the font since no == op
  20341. 2005-04-04 Alexander Olk <[email protected]>
  20342. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  20343. 2005-04-01 Jackson Harper <[email protected]>
  20344. * Binding.cs: Implement IsBinding.
  20345. * BindingManagerBase.cs:
  20346. * PropertyManager.cs:
  20347. * CurrencyManager.cs: Add IsSuspended property.
  20348. 2005-04-01 Jackson Harper <[email protected]>
  20349. * Binding.cs: Had some IsAssignableFrom calls backwards.
  20350. 2005-04-01 Jackson Harper <[email protected]>
  20351. * Binding.cs: Handle null data members when pulling data.
  20352. * PropertyManager.cs: Handle the data member being a property that
  20353. does not exist.
  20354. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  20355. * DataGridTextBoxColumn.cs: fixes signature
  20356. * DataGrid.cs: calls right constructor
  20357. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  20358. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  20359. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  20360. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  20361. * DataGridTableStyle.cs: implements DataGridTableStyle
  20362. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  20363. * DataGridTextBox.cs: implements DataGridTextBox
  20364. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  20365. 2005-03-31 Alexander Olk <[email protected]>
  20366. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  20367. 2005-03-29 Peter Bartok <[email protected]>
  20368. * Application.cs:
  20369. - Properly implemented CompanyName property
  20370. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  20371. returns a path that includes CompanyName, ProductName and
  20372. Version (fixes bug #70330)
  20373. 2005-03-29 Stefan Buehler <[email protected]>
  20374. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  20375. fixes bug #72588.
  20376. 2005-03-28 Alexander Olk <[email protected]>
  20377. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  20378. - Added ReadOnly CheckBox
  20379. - Further refactoring: moved some code from Open-/SaveFileDialog
  20380. to FileDialog
  20381. 2005-03-28 Alexander Olk <[email protected]>
  20382. * OpenFileDialog.cs: Fixed CheckFileExists
  20383. * FileDialog.cs:
  20384. Moved FileView and DirComboBox outside FileDialog class.
  20385. They can now be used outside FileDialog
  20386. 2005-03-27 Alexander Olk <[email protected]>
  20387. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  20388. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  20389. 2005-03-27 Alexander Olk <[email protected]>
  20390. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  20391. - Added missing CreatePrompt property in SaveDialog
  20392. - Overall SaveDialog handling should be better now
  20393. - Added non standard ShowHiddenFiles property
  20394. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  20395. - Added InitialDirectory and RestoreDirectory support
  20396. 2005-03-26 Alexander Olk <[email protected]>
  20397. * FileDialog.cs: Made dirComboBox usable
  20398. 2005-03-24 Alexander Olk <[email protected]>
  20399. * FileDialog.cs: Added Filter support (case sensitiv)
  20400. 2005-03-24 Jackson Harper <[email protected]>
  20401. * TabControl.cs: Need a couple more pixels for the lines.
  20402. 2005-03-23 Jackson Harper <[email protected]>
  20403. * TabControl.cs: Give the tab page focus when it is selected.
  20404. 2005-03-23 Jackson Harper <[email protected]>
  20405. * TabControl.cs: Account for the drawing of tabs borders when
  20406. invalidating. If the slider was clicked dont do click detection on
  20407. the tabs.
  20408. 2005-03-23 Jackson Harper <[email protected]>
  20409. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  20410. 2005-03-22 Jonathan Chambers <[email protected]>
  20411. * CategoryGridEntry.cs: Added
  20412. * GridItem.cs: Added helper properties
  20413. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  20414. * GridEntry.cs: Updated code for collection
  20415. * PropertyGrid.cs: Cleaned up some formatting
  20416. * PropertyGridView.cs: Added drop down functionality for enums.
  20417. * GridItemCollection.cs: Added enumerator logic
  20418. * PropertyGridEntry.cs: Added
  20419. 2005-03-19 Alexander Olk <[email protected]>
  20420. * FileDialog.cs:
  20421. - Removed unnecessary commented code
  20422. - Fixed handling for entering the filename manually in the combobox
  20423. 2005-03-19 Alexander Olk <[email protected]>
  20424. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  20425. 2005-03-18 Peter Bartok <[email protected]>
  20426. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  20427. them being touching the border
  20428. 2005-03-18 Peter Bartok <[email protected]>
  20429. * TextControl.cs: Quick hack to center text better
  20430. 2005-03-18 Peter Bartok <[email protected]>
  20431. * ControlPaint.cs:
  20432. - Don't throw NotImplemented exceptions, just print a notice once
  20433. instead (requested by Miguel). This makes running existing SWF
  20434. apps a bit easier
  20435. * Control.cs:
  20436. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  20437. - Added context menu trigger on right click
  20438. * Panel.cs: Trigger invalidate on resize
  20439. * StatusBar.cs:
  20440. - Removed old double-buffer drawing
  20441. - Added ResizeRedraw style to force proper update of statusbar
  20442. * ListView.cs:
  20443. - Removed debug output
  20444. * ThemeWin32Classic.cs:
  20445. - Fixed drawing of status bar, now draws Text property if there
  20446. are no defined panels
  20447. 2005-03-18 Jackson Harper <[email protected]>
  20448. * ImageList.cs: When the image stream is set pull all the images
  20449. from it.
  20450. * ImageListStreamer.cs: Implement reading image list streams.
  20451. 2005-03-18 Peter Bartok <[email protected]>
  20452. * ThemeWin32Classic.cs (DrawPictureBox):
  20453. - Fixed calculations for centered drawing
  20454. - Fixed drawing for normal mode, not scaling the image on normal
  20455. 2005-03-18 Peter Bartok <[email protected]>
  20456. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  20457. textbox
  20458. * FileDialog.cs:
  20459. - Made Open/Save button the accept button for FileDialog
  20460. - Tied the cancel button to the IButtonControl cancel button
  20461. - Save/Open now properly builds the pathname
  20462. - Now handles user-entered text
  20463. - Preventing crash on right-click if no item is selected
  20464. - Fixed Text property, now uses contents of textbox
  20465. - Fixed SelectedText property, now just returns the text part that
  20466. is selected in the text box
  20467. 2005-03-18 Jackson Harper <[email protected]>
  20468. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  20469. rect, make sure to de-adjust the interior rect after drawing the
  20470. tab text.
  20471. 2005-03-18 Peter Bartok <[email protected]>
  20472. * MenuAPI.cs: Remove menu *before* executing selected action to
  20473. prevent the menu from 'hanging around'
  20474. 2005-03-17 Geoff Norton <[email protected]>
  20475. * XplatUIOSX.cs: Implemented WorkingArea property
  20476. 2005-03-17 Peter Bartok <[email protected]>
  20477. * XplatUIX11.cs: Fixed menu coord calculations
  20478. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  20479. for calculating offsets
  20480. 2005-03-17 Peter Bartok <[email protected]>
  20481. * Hwnd.cs: Do not consider menu presence for default client
  20482. rectangle location/size
  20483. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  20484. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  20485. translation functions
  20486. * FileDialog.cs: Fixed (what I presume is a) typo
  20487. 2005-03-17 Jonathan Gilbert <[email protected]>
  20488. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  20489. X access (avoids X-Async errors)
  20490. 2005-03-16 Jackson Harper <[email protected]>
  20491. * TabControl.cs: Raise the SelectedIndexChanged event.
  20492. 2005-03-16 Alexander Olk <[email protected]>
  20493. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  20494. - Removed vertical ToolBar and replaced it with a custom panel
  20495. (desktop and home button already work)
  20496. - Added Help button (some controls get resized or relocated then)
  20497. - Draw correct text depending on Open or Save.
  20498. - Fixed some typos...
  20499. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  20500. * ScrollBar.cs:
  20501. - Only change Maximum and Minimum when need it (bug fix)
  20502. 2005-03-15 Peter Bartok <[email protected]>
  20503. * Form.cs: Use Handle for icon, to trigger creation if
  20504. the window does not yet exist
  20505. * Control.cs:
  20506. - CanSelect: Slight performance improvement
  20507. - Focus(): Preventing possible recursion
  20508. - Invalidate(): Removed ControlStyle based clear flag setting
  20509. - WM_PAINT: fixed logic for calling OnPaintBackground
  20510. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  20511. EraseWindowBackground if the control doesn't paint background
  20512. * XplatUIWin32.cs:
  20513. - Moved EraseWindowBackground() method to internal methods
  20514. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  20515. is sent via SendMessage on BeginPaint call on Win32
  20516. * XplatUIX11.cs:
  20517. - Added EraseWindowBackground() method
  20518. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  20519. PaintEventStart, which more closely matches Win32 behaviour
  20520. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  20521. - Fixed SetFocus() to properly deal with client and whole windows
  20522. * Hwnd.cs: Added ErasePending property
  20523. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  20524. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  20525. 2005-03-12 Geoff Norton <[email protected]>
  20526. * XplatUIOSX.cs:
  20527. - Fix hard loop when timers exist.
  20528. - Fix bugs with middle and right click for 3 button mice.
  20529. 2005-03-11 Peter Bartok <[email protected]>
  20530. * XplatUIX11.cs:
  20531. - get_WorkingArea: Need to call X directly, GetWindowPos only
  20532. returns cached data now
  20533. - Added sanity check to GetWindowPos hwnd usage
  20534. 2005-03-11 Jackson Harper <[email protected]>
  20535. * BindingManagerBase.cs: This method isn't used anymore as
  20536. PullData now updates the data in the control.
  20537. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  20538. * Form.cs: fixes menu drawing on X11
  20539. * MenuAPI.cs: fixes menu drawing on X11
  20540. 2005-03-11 Peter Bartok <[email protected]>
  20541. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  20542. from Jonathan Gilbert; should fix bug #73606
  20543. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  20544. in Screen coordinates. Thanks, Jordi.
  20545. * Form.cs: Added missing attribute
  20546. 2005-03-11 Peter Bartok <[email protected]>
  20547. * Form.cs:
  20548. - Rudimentary Mdi support
  20549. - Removed outdated FormParent code
  20550. - Implemented lots of missing properties and methods, still missing
  20551. transparency support
  20552. - Added missing attributes
  20553. - Implemented support for MaximumBounds
  20554. - Added firing of various events
  20555. * XplatUI.cs: Added SetIcon() method
  20556. * XplatUIDriver.cs: Added SetIcon() abstract
  20557. * XplatUIOSX.cs: Stubbed out SetIcon() method
  20558. * XplatUIX11.cs:
  20559. - Implemented SetIcon() support
  20560. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  20561. - Switched to unix line endings
  20562. * XplatUIWin32.cs:
  20563. - Made POINT internal so for can access it as part of MINMAX
  20564. - Implemented SetIcon() support
  20565. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  20566. native Mdi support again, might have to go managed)
  20567. * Control.cs: Now fires the StyleChanged event
  20568. * MdiClient.cs: Added; still mostly empty
  20569. 2005-03-10 Peter Bartok <[email protected]>
  20570. * SaveFileDialog.cs: Added emtpy file
  20571. 2005-03-08 Peter Bartok <[email protected]>
  20572. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  20573. in turn triggers OnCreateContro) when creating a handle for the
  20574. first time.
  20575. * TextControl.cs: Fixed endless loop in certain cases when
  20576. replacing the current selection
  20577. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  20578. * ScrollBar.cs:
  20579. - Honors NewValue changes in Scroll events allowing apps to change it
  20580. - Adds First and Last Scroll events
  20581. - Fixes Thumb events
  20582. 2005-03-07 Peter Bartok <[email protected]>
  20583. * Hwnd.cs: Added DefaultClientRectangle property
  20584. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  20585. more detailed debug information
  20586. * XplatUIX11.cs:
  20587. - Fixed size-change feedback loop, where we would pull an old size
  20588. off the queue and mistakenly change our window's size to an
  20589. earlier value
  20590. - Now compressing ConfigureNotify events, to reduce looping and
  20591. redraw issues
  20592. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  20593. is called
  20594. 2005-03-07 Jackson Harper <[email protected]>
  20595. * Binding.cs: Push data pushes from data -> property. Check if the
  20596. property is readonly when attempting to set it.
  20597. 2005-03-07 Jackson Harper <[email protected]>
  20598. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  20599. instead of IsSubclassOf. Pulling data now sets the value on the
  20600. control.
  20601. * PropertyManager.cs:
  20602. * CurrencyManager.cs: Just need to pull data when updating now,
  20603. because PullData will set the value on the control.
  20604. 2005-03-04 Jackson Harper <[email protected]>
  20605. * Binding.cs: Implement data type parsing and converting on pulled
  20606. data. TODO: Are there more ways the data can be converted?
  20607. 2005-03-04 Jackson Harper <[email protected]>
  20608. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  20609. controls Validating method so we can repull the data when the
  20610. control loses focus.
  20611. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  20612. * ColumnHeader.cs:
  20613. - Fixes null string format
  20614. * ListView.cs:
  20615. - Adds enum type checks
  20616. - Fixes redrawing and recalc need after changing some properties
  20617. - Fixes on focus_item set after the event
  20618. - Fixes adding columns after the control has been created
  20619. * ThemeWin32Classic.cs:
  20620. - Fixes CheckBox focus rectangle
  20621. - Fixes ColumnHeader drawing
  20622. 2005-03-03 Jackson Harper <[email protected]>
  20623. * Binding.cs: Bind to <Property>Changed events so we can detect
  20624. when properties are changed and update the data.
  20625. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  20626. * ImageList.cs:
  20627. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  20628. - Fixes ImageList constructor with ImageList container
  20629. - Fixes image scaling (wrong parameters at DrawImage)
  20630. 2005-02-02 Jackson Harper <[email protected]>
  20631. * Binding.cs: Make property searches case-insensitive. Eliminate
  20632. some duplicated code.
  20633. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  20634. * ComboBox.cs:
  20635. - Handle focus event
  20636. - Fix scrollbar events
  20637. - Discard highlighted item if remove it
  20638. - Fixes SelectedItem with strings
  20639. 2005-03-01 Peter Bartok <[email protected]>
  20640. * Control.cs:
  20641. - Fixed Visible property, now follows (once again) parent chain
  20642. to return false if any control in the chain is visible=false
  20643. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  20644. - Fixed several places where is_visible instead of Visible was used
  20645. - Implemented FIXME related to focus selection when setting focused
  20646. control to be invisible
  20647. * XplatUIWin32.cs: Now using proper method to find out if window is
  20648. visible. Thanks to Jordi for pointing it out
  20649. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  20650. * ComboBox.cs: show/hide scrollbar instead of creating it
  20651. 2005-02-27 Jackson Harper <[email protected]>
  20652. * CurrencyManager.cs: Add PositionChanged stuff.
  20653. 2005-02-27 Peter Bartok <[email protected]>
  20654. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  20655. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  20656. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  20657. * XplatUIX11.cs:
  20658. - Implemented GetMenuDC()
  20659. - Implemented GetMenuOrigin()
  20660. - Implemented ReleaseMenuDC()
  20661. - Implemented generation of WM_NCPAINT message
  20662. - Implemented generation and handling of WM_NCCALCSIZE message
  20663. * Form.cs: Added debug helper message for Jordi's menu work
  20664. * Hwnd.cs:
  20665. - Modified ClientRect property; added setter, fixed getter to handle
  20666. setting of ClientRect
  20667. - Added MenuOrigin property
  20668. 2005-02-26 Peter Bartok <[email protected]>
  20669. * XplatUIX11.cs:
  20670. - Destroys the caret if a window that's being destroyed contains it
  20671. - Ignores expose events coming from the X11 queue for windows that
  20672. already are destroyed
  20673. - Now uses the proper variable for handling DestroyNotify, before we
  20674. marked the wrong window as destroyed
  20675. - Improved/added some debug output
  20676. 2005-02-26 Peter Bartok <[email protected]>
  20677. * X11Keyboard.cs: Fixes to work on 64bit systems
  20678. 2005-02-26 Peter Bartok <[email protected]>
  20679. * Control.cs:
  20680. - Now calling OnHandleDestroyed from DestroyHandle()
  20681. instead of Dispose()
  20682. - Removed bogus call to controls.Remove() from DestroyHandle()
  20683. 2005-02-26 Peter Bartok <[email protected]>
  20684. * Control.cs: Properly destroy child windows when our handle is
  20685. destroyed
  20686. 2005-02-25 Peter Bartok <[email protected]>
  20687. * XplatUI.cs:
  20688. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  20689. - Alphabetized Static Methods and Subclasses
  20690. * XplatUIX11.cs:
  20691. - Added XException class to allow custom handling of X11 exceptions
  20692. - Created custom X11 error handler, tied into XException class
  20693. - Added support for MONO_XEXCEPTIONS env var to allow the user
  20694. to either throw an exception on X errors or continue running
  20695. after displaying the error
  20696. - Added handling of DestroyNotify message
  20697. - Added handler for CreateNotify message (still disabled)
  20698. - Improved (tried to at least) Where method to provide file and lineno
  20699. * X11Structs.cs:
  20700. - Added XErrorHandler delegate
  20701. - Added XRequest enumeration (to suppor translation of errors)
  20702. 2005-02-25 Jackson Harper <[email protected]>
  20703. * PropertyManager.cs: Implement editing features
  20704. * CurrencyManager.cs:
  20705. * Binding.cs: First attempt at UpdateIsBinding
  20706. * BindingManagerBase.cs: Call UpdateIsBinding before
  20707. pushing/pulling data.
  20708. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  20709. * MenuAPI.cs: Respect disabled items
  20710. * ThemeWin32Classic.cs
  20711. - Caches ImageAttributes creation for DrawImageDisabled
  20712. - Fixes vertical menu line drawing
  20713. - Draws disabled arrows in disable menu items
  20714. 2005-02-24 Peter Bartok <[email protected]>
  20715. * Hwnd.cs:
  20716. - Added UserData property to allow associating arbitrary objects
  20717. with the handle
  20718. - Fixed leak; now removing Hwnd references from static windows array
  20719. * XplatUIWin32.cs:
  20720. - Fixed Graphics leak in PaintEventEnd
  20721. - Removed usage of HandleData, switched over to Hwnd class
  20722. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  20723. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  20724. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  20725. * ScrollBar.cs: Fixes bug
  20726. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  20727. keyboard navigation enhancements
  20728. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  20729. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  20730. * GroupBox.cs: Add control styles
  20731. * Label.cs: Add control styles
  20732. * UpDownBase.cs: Add control styles
  20733. * ListBox.cs: Add control styles
  20734. * XplatUIWin32.cs: Fixes wrong parameter order
  20735. 2005-02-23 Chris Bacon <[email protected]>
  20736. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  20737. 2005-02-23 Jackson Harper <[email protected]>
  20738. * PropertyManager.cs: Implement property binding. This doesn't
  20739. seem to work yet though as (I think) there are some bugs in
  20740. System.ComponentModel.PropertyDescriptor.
  20741. * BindingContext.cs: Use new PropertyManager constructor.
  20742. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  20743. * ProgressBar.cs: use clip region in ProgressBar
  20744. * ThemeWin32Classic.cs: use clip region in ProgressBar
  20745. 2004-02-22 Jackson Harper <[email protected]>
  20746. * BindingsCollection.cs: Remove some debug code.
  20747. 2005-02-22 Jackson Harper <[email protected]>
  20748. * BindingContext.cs:
  20749. * ControlBindingsCollection.cs:
  20750. * CurrencyManager.cs:
  20751. * Binding.cs:
  20752. * BindingManagerBase.cs: Initial implementation
  20753. * BindingsCollection.cs: Add an internal contains method that the
  20754. BindingManagerBase uses to ensure bindings aren't added twice to
  20755. the collection.
  20756. * PropertyManager.cs: Stubbed out.
  20757. * Control.cs:
  20758. * ContainerControl.cs: Hook up databinding
  20759. 2005-02-22 Geoff Norton <[email protected]>
  20760. * XplatUIOSX.cs:
  20761. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  20762. Fixed Invalidate/Update chain.
  20763. Fixed tons of other minor bugs (this is almost a complete rewrite).
  20764. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  20765. * ComboBox.cs: do subcontrol creation when the control is created
  20766. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20767. * Label.cs: fixes image drawing (image and imagelist)
  20768. * ThemeWin32Classic.cs: cache brushes
  20769. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20770. * Form.cs: Move menu drawing code to Theme class
  20771. * ComboBox.cs: Move ComboBox drawing code to Theme class
  20772. * MenuItem.cs: Move menu drawing code to Theme class
  20773. * MenuAPI.cs: Move menu drawing code to Theme class
  20774. * ThemeWin32Classic.cs: New methods
  20775. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  20776. * ListBox.cs: Move Listbox drawing code to Theme class
  20777. * Theme.cs: New methods
  20778. 2005-02-20 Peter Bartok <[email protected]>
  20779. * Control.cs:
  20780. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  20781. only process mnemonics on those)
  20782. - Fixed event sequence for key handling; first calling
  20783. ProcessKeyEventArgs now
  20784. * TextBoxBase.cs:
  20785. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  20786. for processing non-character keys
  20787. - Fixed WM_CHAR to generate proper event sequence before processing
  20788. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  20789. generation
  20790. 2005-02-19 Peter Bartok <[email protected]>
  20791. * UserControl.cs: Added TextChanged event; added attributes
  20792. * SizeGrip.cs: Implemented resizing and optional display of grip
  20793. * Form.cs: Fixed attribute
  20794. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  20795. Changed meaning of ScrollWindow bool argument; instead of the
  20796. clear attribute (which will be true usually anyway), it gives the
  20797. option of moving child controls as well.
  20798. * XplatUIX11.cs:
  20799. - Changed to match new ScrollWindow argument
  20800. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  20801. now handles the implicit parent window a WM puts around us
  20802. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  20803. to work)
  20804. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  20805. * TreeView.cs: Adjusted to new ScrollWindow arguments
  20806. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  20807. * Form.cs: Menu integration with non-client area
  20808. * MenuItem.cs: Menu integration with non-client area
  20809. * MenuAPI.cs: Menu integration with non-client area
  20810. 2005-02-18 Peter Bartok <[email protected]>
  20811. * MethodInvoker.cs: Added
  20812. * MdiLayout.cs: Added
  20813. * SendKeys.cs: Started implementation
  20814. * ErrorIconAlignment.cs: Added
  20815. 2005-02-18 Peter Bartok <[email protected]>
  20816. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  20817. * Form.cs: Added handling for Menu-related Non-client messages
  20818. 2005-02-17 Peter Bartok <[email protected]>
  20819. * UpDownBase.cs: Fixed typo, compilation errors
  20820. * DomainUpDown.cs: Fixed attribute value
  20821. 2005-02-16 Miguel de Icaza <[email protected]>
  20822. * UpDownBase.cs: Attach entry events.
  20823. Propagate events.
  20824. Add ForeColor property, Focused, InterceptArrowKeys (interception
  20825. does not work yet).
  20826. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  20827. * Form.cs:
  20828. - Redraw non client are on Setmenu
  20829. - Calc proper menu starting point
  20830. 2005-02-17 Peter Bartok <[email protected]>
  20831. * Application.cs: Fixed message_filter check
  20832. 2005-02-17 Peter Bartok <[email protected]>
  20833. * Application.cs: Now calls registered message filters
  20834. * DockStyle.cs: Fixed attribute
  20835. * Form.cs: Fixed attribute
  20836. * Menu.cs: Fixed attribute
  20837. * ToolTip.cs: Fixed attribute
  20838. * TreeNode.cs: Added missing attributes and arranged in regions
  20839. * PropertyGrid.cs: Fixed signatures
  20840. * TreeNodeCollection.cs: Added attributes
  20841. * Splitter.cs: Added missing attributes; arranged into regions
  20842. * TabPage.cs: Added missing attributes; arranged into regions
  20843. * TextBoxBase.cs: Added missing attributes
  20844. * TextBox.cs: Added missing attributes
  20845. * ArrangeDirection.cs: Added missing attributes
  20846. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  20847. * ToolBarButton.cs: Fixed attributes
  20848. * AnchorStyles.cs: Fixed attribute
  20849. * TrackBar.cs: Fixed attributes
  20850. * TabControl.cs: Added missing attributes and arranged into regions
  20851. * ToolBar.cs: Fixed attribute
  20852. * StatusBar.cs: Fixed signature, organized into regions and added
  20853. attributes
  20854. * StatusBarPanel.cs: Fixed attributes
  20855. * ContentsResizedEventArgs.cs: Implemented
  20856. * ContentsResizedEventHandler.cs: Implemented
  20857. * DateBoldEventArgs.cs: Implemented
  20858. * DateBoldEventHandler.cs: Implemented
  20859. * UpDownEventArgs.cs: Implemented
  20860. * UpDownEventHandler.cs: Implemented
  20861. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  20862. * Form.cs: first Menu NC refactoring
  20863. * MenuAPI.cs: first Menu NC refactoring
  20864. 2005-02-16 Peter Bartok <[email protected]>
  20865. * ImeMode.cs: Added missing attributes
  20866. * Menu.cs: Fixed attribute
  20867. * GroupBox.cs: Fixed attribute
  20868. * Label.cs: Fixed attribute
  20869. * ColorDialog.cs (RunDialog): Removed TODO attribute
  20870. * ComboBox.cs: Fixed attributes
  20871. * ListControl.cs: Added missing attributes
  20872. * PropertyGrid.cs: Fixed attributes
  20873. * Control.cs: Fixed attributes
  20874. * ListViewItem.cs: Added TypeConverter attribute
  20875. * NotifyIcon.cs: Fixed attributes
  20876. * ListView.cs: Fixed attributes
  20877. * ButtonBase.cs: Fixed attribute
  20878. * ImageList.cs: Added missing attributes
  20879. * ContainerControl.cs: Fixed signature
  20880. * CheckedListBox.cs: Fixed attribute; added missing attributes
  20881. * Panel.cs: Fixed attributes
  20882. * PropertyTabChangedEventArgs.cs: Added missing attribute
  20883. * PropertyValueChangedEventArgs.cs: Added missing attribute
  20884. * Binding.cs: Fixed attribute
  20885. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  20886. * ListBox.cs: Fixed attribute; added missing attributes;
  20887. * ScrollableControl.cs: Added missing attributes
  20888. * PictureBox.cs: Added missing attributes; implemented missing property
  20889. * DateTimePicker.cs: Added missing attributes
  20890. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  20891. * MonthCalendar.cs: Fixed attributes
  20892. * StatusBarPanel.cs: Added missing attributes
  20893. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  20894. 2005-02-16 Peter Bartok <[email protected]>
  20895. * TextBoxBase.cs: The previous method to enforce height yet remember
  20896. the requested high was less than ideal, this is an attempt to do
  20897. it better.
  20898. * Control.cs: Added comment about possible problem
  20899. * Copyright: Updated format
  20900. * GridItemType.cs: Fixed swapped values
  20901. 2005-02-15 Jackson Harper <[email protected]>
  20902. * BaseCollection.cs: Use property so we never access an
  20903. uninitialized list. Also initialize the list in the property.
  20904. 2005-02-15 Peter Bartok <[email protected]>
  20905. * GroupBox.cs (ProcessMnemonic): Implemented
  20906. * Label.cs (ProcessMnemonic): Implemented
  20907. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  20908. hotkeys
  20909. 2005-02-15 Peter Bartok <[email protected]>
  20910. * RadioButton.cs (ProcessMnemonic): Implemented
  20911. * CheckBox.cs (ProcessMnemonic): Implemented
  20912. * Control.cs:
  20913. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  20914. handling
  20915. - Added internal method to allow calling ProcessMnemonic from other
  20916. controls
  20917. * ContainerControl.cs:
  20918. - Started support for handling validation chain handling
  20919. - Implemented ProcessMnemonic support
  20920. - Added Select() call to Active, to make sure the active control
  20921. receives focus
  20922. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  20923. FormParent rewrite)
  20924. * ThemeWin32Classic.cs:
  20925. - DrawCheckBox(): Fixed stringformat to show hotkeys
  20926. - DrawRadioButton(): Fixed stringformat to show hotkeys
  20927. * CommonDialog.cs: Removed WndProc override, not needed
  20928. 2005-02-14 Peter Bartok <[email protected]>
  20929. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  20930. missed those in the rewrite
  20931. 2005-02-14 Miguel de Icaza <[email protected]>
  20932. * NumericUpDown.cs (Increment, ToString): Add.
  20933. (DecimalPlaces): implement.
  20934. Add attributes.
  20935. * UpDownBase.cs: Add the designer attributes.
  20936. 2005-02-13 Peter Bartok <[email protected]>
  20937. * Panel.cs: Removed border_style, now in Control
  20938. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  20939. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  20940. 2005-02-13 Peter Bartok <[email protected]>
  20941. * MouseButtons.cs: Added missing attributes
  20942. * XplatUIStructs.cs: Added enumeration for title styles
  20943. * LeftRightAlignment.cs: Added missing attributes
  20944. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  20945. it compatible with Graphics.FromHwnd()
  20946. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  20947. * Keys.cs: Added missing attributes
  20948. * SelectionRange.cs: Added missing attributes
  20949. * SelectionRangeConverter.cs: Added
  20950. * XplatUI.cs:
  20951. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  20952. ReleaseMenuDC methods
  20953. - Renamed ReleaseWindow to UngrabWindow
  20954. - Added proper startup notice to allow version identification
  20955. * Form.cs:
  20956. - Added missing attributes
  20957. - Removed FormParent concept
  20958. * Label.cs: Removed border_style field, now in Control
  20959. * RadioButton.cs: Now properly selects RadioButton when focus is
  20960. received
  20961. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  20962. * Control.cs:
  20963. - Added missing attributes
  20964. - Added borderstyle handling
  20965. - Removed FormParent concept support
  20966. - Fixed calls to XplatUI to match changed APIs
  20967. - Fixed bug that would case us to use disposed Graphics objects
  20968. - Removed unneeded internal methods
  20969. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  20970. - SelectNextControl(): Fixed to properly check common parents
  20971. * TextBoxBase.cs: Removed border_style field (now in Control)
  20972. * MessageBox.cs:
  20973. - Patch by Robert Thompson ([email protected]): Added icon support,
  20974. fixed calculations for form size
  20975. - Added support for localized strings and icons
  20976. - Improved form size calculations, added border
  20977. * ListView.cs: Removed border_style field (now in Control)
  20978. * X11Structs.cs: Moved several structs from X11 driver here
  20979. * X11Keyboard.cs: Changed debug message
  20980. * Application.cs: Removed FormParent concept support
  20981. * CommonDialog.cs:
  20982. - Resetting end_modal flag
  20983. - Removed FormParent concept support
  20984. * NativeWindow.cs: Removed FormParent concept support
  20985. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  20986. Client area and Non-Client whole window to allow support for WM_NC
  20987. messages
  20988. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  20989. prevent using it until it supports Hwnd as per Geoff Norton's request
  20990. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  20991. * PictureBox.cs: Removed border_style field, now in Control
  20992. * XplatUIWin32.cs: Added new driver methods
  20993. 2005-02-12 Peter Bartok <[email protected]>
  20994. * OpacityConverter.cs: Implemented
  20995. * Hwnd.cs: Internal class to support drivers that need to emulate
  20996. client area/non-client area window behaviour
  20997. 2005-02-11 Peter Bartok <[email protected]>
  20998. * KeysConverter.cs: Implemented
  20999. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  21000. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  21001. * LinkLabel: Added missing attributes
  21002. * MainMenu.cs: fixes ToString
  21003. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  21004. * ListBox.cs: fixes event position
  21005. * TrackBar.cs: adds missing attributes and events
  21006. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  21007. * MenuItem.cs: Use SystemInformation and bug fixes
  21008. * MenuAPI.cs: Use SystemInformation and bug fixes
  21009. 2005-02-09 Jackson Harper <[email protected]>
  21010. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  21011. their keystate otherwise things like VK_MENU get stuck "on".
  21012. 2005-02-09 Kazuki Oikawa <[email protected]>
  21013. * ListBox.cs: Fixes AddRange bug
  21014. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  21015. * ProgressBar.cs
  21016. - Add missing attributes
  21017. - Add missing method
  21018. * CheckedListBox.cs: Added missing attributes
  21019. - Add missing attributes
  21020. - Remove extra method
  21021. * ComboBox.cs: Added missing attributes
  21022. * VScrollBar.cs: Added missing attributes
  21023. * ScrollBar.cs: Added missing attributes
  21024. * ListBox.cs: Fixes signature, add missing consts
  21025. * LinkArea.cs: Added missing attributes
  21026. 2005-02-08 Peter Bartok <[email protected]>
  21027. * Menu.cs: Added missing attributes
  21028. * MainMenu.cs: Added missing attributes
  21029. * GroupBox.cs: Added missing attributes
  21030. * Label.cs: Added missing attributes
  21031. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  21032. * ColorDialog.cs:
  21033. - Added Instance and Options properties
  21034. - Added missing attributes
  21035. * Cursor.cs: Made Serializable
  21036. * NotifyIcon: Added missing attributes
  21037. * MenuItem.cs: Added missing attributes
  21038. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  21039. * Panel.cs: Added Missing attributes
  21040. * MonthCalendar.cs: Fixed CreateParams
  21041. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  21042. * LinkLabel.cs:
  21043. - Fixes signature
  21044. - Fixes issues with links
  21045. - Adds the class attributes
  21046. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  21047. * ComboBox.cs:
  21048. - Fixes button when no items available in dropdown
  21049. - Fixes repainting problems
  21050. - Adds the class attributes
  21051. 2005-02-07 Geoff Norton <[email protected]>
  21052. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  21053. the current theme. Cache these on startup.
  21054. 2005-02-07 Jackson Harper <[email protected]>
  21055. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  21056. the scrollbar buttons when they are depressed.
  21057. 2005-02-07 Geoff Norton <[email protected]>
  21058. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  21059. Get the display size from the main displayid. We currently dont
  21060. support multiple display configurations.
  21061. 2005-02-07 Geoff Norton <[email protected]>
  21062. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  21063. 2005-02-07 Miguel de Icaza <[email protected]>
  21064. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  21065. 2005-02-05 Jonathan Chambers <[email protected]>
  21066. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  21067. 2005-02-04 Jackson Harper <[email protected]>
  21068. * ThemeWin32Classic.cs: Respect the clipping rect when
  21069. drawing. Only fill the intersection of clips and rects so there
  21070. isn't a lot of large fills.
  21071. * ScrollBar.cs: Pass the correct clipping rect to the theme
  21072. engine. Remove some debug code.
  21073. 2005-02-05 John BouAntoun <[email protected]>
  21074. * DateTimePicker.cs:
  21075. - Fixed crash on DateTime.Parse, use Constructor instead
  21076. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  21077. * MenuItem.cs:
  21078. * MenuAPI.cs:
  21079. - Owner draw support (MeasureItem and DrawItem)
  21080. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  21081. * Menu.cs:
  21082. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  21083. - Fixes MenuItems.Add range
  21084. * MenuItem.cs:
  21085. - MergeMenu and Clone and CloneMenu functions
  21086. 2005-02-03 Jackson Harper <[email protected]>
  21087. * ScrollBar.cs: Make abstract
  21088. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  21089. is abstract.
  21090. 2005-02-03 Jackson Harper <[email protected]>
  21091. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  21092. all the unneeded refreshes and uses invalidates with properly
  21093. computed rects.
  21094. 2005-02-03 Peter Bartok <[email protected]>
  21095. * ComponentModel.cs: Added
  21096. * IDataGridEditingService.cs: Added
  21097. * Timer.cs: Added missing attributes
  21098. * ToolTip.cs: Added missing attributes
  21099. 2005-02-03 Jonathan Chambers <[email protected]>
  21100. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  21101. 2005-02-03 Peter Bartok <[email protected]>
  21102. * ListBox.cs: Added missing attributes
  21103. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  21104. * ListBox.cs:
  21105. - Fixes font height after font change
  21106. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  21107. 2005-02-02 Peter Bartok <[email protected]>
  21108. * HandleData.cs: Introduced static methods to allow class
  21109. to be more self-contained and track it's own HandleData objects
  21110. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  21111. HandleData to use new static methods
  21112. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  21113. * Combobox.cs:
  21114. - Fixes default size and PreferredHeight
  21115. - Missing events
  21116. - ObjectCollection.Insert implementation
  21117. * ListControl.cs
  21118. - Fixes signature
  21119. * ListBox.cs:
  21120. - Several fixes
  21121. - ObjectCollection.Insert implementation
  21122. - No selection after clean
  21123. - Small fixes
  21124. 2005-01-31 John BouAntoun <[email protected]>
  21125. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  21126. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  21127. * Combobox.cs:
  21128. - Caches ItemHeight calculation for OwnerDrawVariable
  21129. - Handles dropdown properly
  21130. - Fixes several minor bugs
  21131. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  21132. * ListBox.cs:
  21133. - Fixes 71946 and 71950
  21134. - Fixes changing Multicolumn on the fly
  21135. - Fixes keyboard navigation on Multicolumn listboxes
  21136. 2005-01-31 Geoff Norton <[email protected]>
  21137. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  21138. crash reporter log.
  21139. 2005-01-31 Geoff Norton <[email protected]>
  21140. * XplatUIOSX.cs: Allow applications to actually exit.
  21141. 2005-01-31 Geoff Norton <[email protected]>
  21142. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  21143. their parent at creation time rather than lazily later. Fixes a major
  21144. regression we were experiencing.
  21145. 2005-01-31 John BouAntoun <[email protected]>
  21146. * ThemeWin32Classic.cs: more date time picker painting fixes
  21147. * DateTimePicker.cs: more monthcalendar drop down fixes
  21148. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  21149. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  21150. * ScrollBar.cs:
  21151. - When moving the thumb going outside the control should stop the moving
  21152. - Adds the firing of missing events
  21153. - Fixes no button show if Size is not specified
  21154. - End / Home keys for keyboard navigation
  21155. 2005-01-30 Peter Bartok <[email protected]>
  21156. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  21157. sanity check to prevent theoretical loop
  21158. * XplatUIWin32.cs (SetVisible): Removed debug output
  21159. * XplatUIX11.cs (SystrayChange): Added sanity check
  21160. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  21161. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  21162. behaviour, valid until the X11 client window rewrite is done
  21163. * TextBox.cs (ctor): Setting proper default foreground and background
  21164. colors
  21165. 2005-01-30 John BouAntoun <[email protected]>
  21166. * Theme: Added DrawDateTimePicker to interface
  21167. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  21168. * DateTimePicker.cs: Created (still needs keys and painting code)
  21169. * DateTimePickerFormat.cs: added
  21170. * MonthCalendar.cs: fixed CreateParams for popup window mode
  21171. 2005-01-29 Peter Bartok <[email protected]>
  21172. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  21173. this should also the calculations for ligher/darker
  21174. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  21175. 2005-01-29 Peter Bartok <[email protected]>
  21176. * ArrangeDirection.cs: Added
  21177. * ArrangeStartingPositon.cs: Added
  21178. * SystemInformation.cs: Implemented
  21179. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  21180. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  21181. used by SystemInformation class
  21182. * X11Strucs.cs: Added XSizeHints structure
  21183. * MenuAPI.cs:
  21184. - Fixed CreateParams to make sure the menu window is always visible
  21185. - TrackPopupMenu: Added check to make sure we don't draw the
  21186. menu offscreen
  21187. 2005-01-29 Peter Bartok <[email protected]>
  21188. * HandleData.cs: Added method for altering invalid area
  21189. * TextBoxBase.cs: Implemented TextLength
  21190. 2005-01-28 Peter Bartok <[email protected]>
  21191. * XplatUIX11.cs: Improvement over last patch, not sending
  21192. the WM_PAINT directly anymore, instead we scroll any pending
  21193. exposed areas and let the system pick out the WM_PAINT later
  21194. 2005-01-28 Peter Bartok <[email protected]>
  21195. * SWF.csproj: Deleted, no longer used. Instead,
  21196. Managed.Windows.Forms/SWF.csproj should be used
  21197. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  21198. directly, to avoid a potential race condition with the next
  21199. scroll
  21200. 2005-01-28 Peter Bartok <[email protected]>
  21201. * XplatUI.cs: Made class internal
  21202. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  21203. * CheckedListBox.cs:
  21204. - Draw focus
  21205. - Fixed Drawing
  21206. - Missing methods and events
  21207. 2005-01-27 Peter Bartok <[email protected]>
  21208. * Application.cs (Run): Don't use form if we don't have one
  21209. 2005-01-27 Peter Bartok <[email protected]>
  21210. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  21211. 2005-01-27 Peter Bartok <[email protected]>
  21212. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  21213. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  21214. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  21215. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  21216. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  21217. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  21218. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21219. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  21220. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21221. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21222. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  21223. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  21224. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  21225. * Combobox.cs:
  21226. - Draw focus on Simple Combobox
  21227. - Fixes drawing issues
  21228. - fixes 71834
  21229. 2005-01-27 Peter Bartok <[email protected]>
  21230. * Form.cs:
  21231. - Place window in default location, instead of hardcoded 0/0
  21232. - Send initial LocationChanged event
  21233. * Control.cs:
  21234. - UpdateBounds after creation to find out where the WM placed us
  21235. - Make sure that if the ParentForm changes location the Form
  21236. is notified
  21237. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  21238. to the root, but to whatever the WM placed around us.
  21239. Translate to root coordinates before returning toplevel
  21240. coordinates
  21241. * XplatUIWin32.cs: Removed debug output
  21242. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  21243. flag to GetWindowPos, to allow translation of coordinates on X11
  21244. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  21245. * ListBox.cs: connect LostFocus Event
  21246. 2005-01-27 Peter Bartok <[email protected]>
  21247. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  21248. XplatUIX11.cs: Extended the Systray API
  21249. * Form.cs: Removed debug output
  21250. * Application.cs: Fixed focus assignment, always need to call
  21251. XplatUI.Activate() since Form.Activate() has rules that may
  21252. prevent activation
  21253. * NotifyIcon.cs: Should be complete now
  21254. * ToolTip.cs: Worked around possible timer bug
  21255. 2005-01-27 Jackson Harper <[email protected]>
  21256. * TabControl.cs:
  21257. - Only invalidate the effected tabs when the
  21258. selected index changes. This reduces drawing and gets rid of some
  21259. flicker.
  21260. - Only refresh if the tabs need to be shifted, otherwise only
  21261. invalidate the slider button.
  21262. - On windows the tabs are not filled to right if the slider is
  21263. visible.
  21264. 2005-01-27 Jackson Harper <[email protected]>
  21265. * TabControl.cs: Only refresh on mouseup if we are showing the
  21266. slider. Also only invalidate the button whose state has changed.
  21267. 2005-01-26 Peter Bartok <[email protected]>
  21268. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  21269. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  21270. and SystrayRemove() methods
  21271. * XplatUIOSX.cs: Stubbed Systray methods
  21272. * XplatUIX11.cs:
  21273. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  21274. methods
  21275. - Fixed broken XChangeProperty calls (marshalling messed up things)
  21276. * X11Structs.cs: Added enums and structs required for Size hinting
  21277. * NotifyIcon.cs: Added & implemented
  21278. 2005-01-26 Jackson Harper <[email protected]>
  21279. * TabControl.cs: Space vertically layed out tabs properly.
  21280. 2005-01-26 Peter Bartok <[email protected]>
  21281. * Form.cs (CreateClientParams): Always set the location to 0,0
  21282. since we're a child window.
  21283. * Control.cs (SetVisibleCore): Always explicitly setting the location
  21284. of a toplevel window, apparently X11 doesn't like to move windows
  21285. while they're not mapped.
  21286. 2005-01-26 Jackson Harper <[email protected]>
  21287. * TabControl.cs: Implement FillToRight size mode with vertically
  21288. rendered tabs.
  21289. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  21290. * ControlPaint.cs, ThemeWin32Classic.cs
  21291. - Fixes DrawFocusRectangle
  21292. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  21293. * MenuAPI.cs:
  21294. - MenuBar tracking only starts when item is first clicked
  21295. - Fixes menu hidding for multiple subitems
  21296. - Unselect item in MenuBar when item Executed
  21297. - Fixes bug 71495
  21298. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  21299. * ListControl.cs:
  21300. - IsInputKey for ListBox
  21301. * ListBox.cs:
  21302. - Focus item
  21303. - Shift and Control item selection
  21304. - Implement SelectionMode.MultiExtended
  21305. - Fixes RightToLeft
  21306. * ComboBox.cs:
  21307. - IsInputKey implemented
  21308. - Do not generate OnTextChangedEdit on internal txt changes
  21309. 2005-01-23 Peter Bartok <[email protected]>
  21310. * AccessibleObject.cs: Partially implemented Select()
  21311. * MonthCalendar.cs: Added missing attributes and events
  21312. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  21313. form can properly override CreateParams.
  21314. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  21315. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  21316. Control performs Invalidate & Update
  21317. * NativeWindow (CreateHandle): Added special handling for Form
  21318. and Form.FormParent classes to allow overriding of From.CreateParams
  21319. * Control.cs:
  21320. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  21321. name 'owner'
  21322. - ControlNativeWindow: Added Owner property
  21323. - Removed usage of Refresh() on property changes, changed into
  21324. Invalidate(), we need to wait until the queue is processed for
  21325. updates, direct calls might cause problems if not all vars for
  21326. Paint are initialized
  21327. - Added call to UpdateStyles() when creating the window, to set any
  21328. styles that CreateWindow might have ignored.
  21329. - Added support for Form CreateParent overrides to UpdateStyles()
  21330. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  21331. CreateParams are now properly overridable
  21332. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  21333. CreateParams are now properly overridable
  21334. 2005-01-23 Miguel de Icaza <[email protected]>
  21335. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  21336. OnTextBoxChanged.
  21337. Capture LostFocus and OnTextBoxChanged. The later introduces a
  21338. recursive invocation that I have not figured out yet.
  21339. Reset the timer when not using (it was accumulating).
  21340. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  21341. user has made changes that require validation.
  21342. Reset changing to avoid loops.
  21343. 2005-01-22 Miguel de Icaza <[email protected]>
  21344. * NumericUpDown.cs: Display value at startup.
  21345. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  21346. ValidateEditText.
  21347. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  21348. filled in. Added some basic parsing of text.
  21349. Still missing the OnXXX method overrides, and figuring out the
  21350. events that must be emitted.
  21351. * UpDownBase.cs: Handle UserEdit on the Text property.
  21352. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  21353. * ComboBox.cs:
  21354. - Fixes IntegralHeight
  21355. - ToString method
  21356. 2005-01-21 Jackson Harper <[email protected]>
  21357. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  21358. is set so that the page visibility is updated and the tabs are
  21359. sized correctly.
  21360. 2005-01-21 Jackson Harper <[email protected]>
  21361. * TabControl.cs: Use cliping rectangle for blitting. Give the
  21362. theme the clipping rect so we can do clipping while
  21363. drawing. Remove some debug code.
  21364. 2005-01-21 Jackson Harper <[email protected]>
  21365. * TabPage.cs: Add a new method so tab pages can force the tab
  21366. control to recalculate the tab page sizes.
  21367. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  21368. sizes.
  21369. 2005-01-20 Jackson Harper <[email protected]>
  21370. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  21371. 2005-01-20 Jackson Harper <[email protected]>
  21372. * TreeView.cs: Set the bounds for nodes properly. They were
  21373. getting screwed up when checkboxes were not enabled, but images
  21374. were.
  21375. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  21376. * ListBox.cs:
  21377. - Owner draw support
  21378. - Fixes
  21379. 2005-01-20 Jackson Harper <[email protected]>
  21380. * XplatUIStructs.cs: More misc keys
  21381. * X11Keyboard.cs: Ignore some control keys.
  21382. 2005-01-20 Jackson Harper <[email protected]>
  21383. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  21384. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  21385. 2005-01-19 Peter Bartok <[email protected]>
  21386. * Control.cs: Un-selecting the control when it is loosing focus
  21387. 2005-01-19 Jackson Harper <[email protected]>
  21388. * TreeView.cs: Hook up to the text controls leave event so we can
  21389. end editing when the users clicks outside the text box.
  21390. 2005-01-19 Jackson Harper <[email protected]>
  21391. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  21392. get set in the conversion array.
  21393. 2005-01-19 Peter Bartok <[email protected]>
  21394. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  21395. focus is properly set
  21396. * Button.cs:
  21397. - Added missing attributes
  21398. - removed styles, those are already set in the base class
  21399. * ButtonBase.cs:
  21400. - Added missing attributes
  21401. - Added clip window styles
  21402. * CheckBox.cs: Added missing attributes
  21403. * CommonDialog.cs:
  21404. - FormParentWindow.CreateParams: Added required clip styles
  21405. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  21406. also filters modifier keys
  21407. * MessageBox.cs:
  21408. - Added assignment of Accept and Cancel button to enable Enter
  21409. and Esc keys in MessageBox dialogs
  21410. - FormParentWindow.CreateParams: Added required clip styles
  21411. * RadioButton.cs: Added missing attributes
  21412. * TextControl.cs: No longer draws selection if control does not
  21413. have focus
  21414. * TextBoxBase.cs:
  21415. - Now draws simple rectangle around test area to make it obvious
  21416. there's a control. This is a hack until we properly support borders
  21417. - A few simple fixes to support selections better, now erases selected
  21418. text when typing, and resets selection when using movement keys
  21419. 2005-01-19 Miguel de Icaza <[email protected]>
  21420. * UpDownBase.cs: Added some new properties.
  21421. * DomainUpDown.cs: Implement a lot to get my test working.
  21422. 2005-01-19 Geoff Norton <[email protected]>
  21423. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  21424. 2005-01-19 Geoff Norton <[email protected]>
  21425. * OSXStructs (WindowAttributes): Fixed csc complaints
  21426. 2005-01-19 Geoff Norton <[email protected]>
  21427. * XplayUIOSX.cs:
  21428. OSXStructs.cs: Initial refactor to move enums and consts into
  21429. OSXStructs and use them in the driver for greater readability.
  21430. 2005-01-19 Geoff Norton <[email protected]>
  21431. * XplatUIOSX.cs: Initial support for Standard Cursors.
  21432. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  21433. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  21434. * ComboBox.cs: ability to change style when the ctrl is already
  21435. created, missing methods and events, bug fixes, signature fixes
  21436. 2005-01-19 Peter Bartok <[email protected]>
  21437. * Cursors.cs (ctor): Added ctor to fix signature
  21438. 2005-01-18 Peter Bartok <[email protected]>
  21439. * Button.cs: Implemented DoubleClick event
  21440. * ButtonBase.cs:
  21441. - Fixed keyboard handling to behave like MS, where the press of
  21442. Spacebar is equivalent to a mousedown, and the key release is
  21443. equivalent to mouseup. Now a spacebar push will give the same
  21444. visual feedback like a mouse click.
  21445. - Added missing attributes
  21446. - Added ImeModeChanged event
  21447. - Added support for generating DoubleClick event for derived classes
  21448. * CheckBox.cs:
  21449. - Implemented DoubleClick event
  21450. - Added missing attributes
  21451. * CommonDialog.cs: Added missing attribute
  21452. * ContextMenu.cs: Added missing attributes
  21453. * RadioButton.cs:
  21454. - AutoChecked buttons do not allow to be unselected when clicked
  21455. (otherwise we might end up with no selected buttons in a group)
  21456. - Added missing attributes
  21457. - Implemented DoubleClickEvent
  21458. * ThreadExceptionDialog.cs: Enabled TextBox code
  21459. 2005-01-18 Peter Bartok <[email protected]>
  21460. * Form.cs: Removed debug output
  21461. * Button.cs: Added support for DoubleClick method
  21462. 2005-01-18 Peter Bartok <[email protected]>
  21463. * Form.cs:
  21464. - Added method to parent window that allows triggering size
  21465. calculations when a menu is added/removed
  21466. - set_Menu: Cleaned up mess from early days of Form and Control,
  21467. now properly triggers a recalc when a menu is added/removed
  21468. - Added case to select form itself as focused form if no child
  21469. controls exist
  21470. - Added PerformLayout call when showing dialog, to ensure properly
  21471. placed controls
  21472. * Control.cs:
  21473. - Select(): Made internal so Form can access it
  21474. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  21475. status
  21476. * Application.cs (Run): Removed hack and calls PerformLayout instead
  21477. to trigger calculation when Form becomes visible
  21478. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  21479. * ComboBox.cs: fixes for ownerdraw
  21480. 2005-01-18 Peter Bartok <[email protected]>
  21481. * TextControl.cs:
  21482. - Sentinel is no longer static, each Document gets it's own, this
  21483. avoids locking or alternatively overwrite problems when more
  21484. than one text control is used simultaneously.
  21485. - Switched to use Hilight and HilightText brushes for text selection
  21486. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  21487. 2005-01-18 Peter Bartok <[email protected]>
  21488. * Control.cs:
  21489. - Hooked up the following events:
  21490. o ControlAdded
  21491. o ControlRemoved
  21492. o HandleDestroyed
  21493. o ImeModeChanged
  21494. o ParentChanged
  21495. o TabStopChanged
  21496. o Invalidated
  21497. o SystemColorsChanged
  21498. o ParentFontChanged
  21499. o Move
  21500. - Removed debug output
  21501. - Added a call to the current theme's ResetDefaults when a color change
  21502. is detected
  21503. * Form.cs: Now setting the proper ImeMode
  21504. * Theme.cs: Defined a method to force recreation of cached resources
  21505. and rereading of system defaults (ResetDefaults())
  21506. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  21507. 2005-01-17 Peter Bartok <[email protected]>
  21508. * Control.cs: Added missing attributes
  21509. 2005-01-17 Jackson Harper <[email protected]>
  21510. * TreeNode.cs: Implement editing. Add missing properties selected
  21511. and visible.
  21512. * TreeView.cs: Implement node editing. Also some fixes to use
  21513. Invalidate (invalid area) instead of Refresh when selecting.
  21514. 2005-01-17 Peter Bartok <[email protected]>
  21515. * Control.cs:
  21516. - Implemented InvokeGotFocus() method
  21517. - Implemented InvokeLostFocus() method
  21518. - Implemented InvokePaint() method
  21519. - Implemented InvokePaintBackground() method
  21520. - Implemented InvokeClick() method
  21521. - Implemented FindForm() method
  21522. - Implemented RectangleToClient() method
  21523. - Implemented ClientToRectangle() method
  21524. - Implemented ResetBackColor() method
  21525. - Implemented ResetCursor() method
  21526. - Implemented ResetFont() method
  21527. - Implemented ResteForeColor() method
  21528. - Implemented ResetImeMode() method
  21529. - Implemented ResetLeftToRight() method
  21530. - Implemented ResetText() method
  21531. - Implemented Scale() methods
  21532. - Implemented ScaleCore() method
  21533. - Implemented Update() method
  21534. - Removed unused variables
  21535. - Stubbed AccessibilityNotifyClients and
  21536. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  21537. with those yet)
  21538. - Now setting proper default for RightToLeft property
  21539. - Fixed bug in SetClientSizeCore that would cause windows to get
  21540. really big
  21541. - Now sending Click/DoubleClick events
  21542. - Now selecting controls when left mouse button is clicked on
  21543. selectable control
  21544. * AccessibleEvents.cs: Added
  21545. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  21546. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  21547. * XplatUIWin32.cs: Implemented UpdateWindow() method
  21548. * XplatUIX11.cs: Implemented UpdateWindow() method
  21549. * Form.cs: Removed stray semicolon causing CS0162 warning
  21550. * ThemeWin32Classic.cs: Fixed unused variable warnings
  21551. * ScrollableControl.cs: Now calls base method for ScaleCore
  21552. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  21553. style to avoid interference with internal click handler (which is
  21554. different than standard Control click handling)
  21555. * RadioButton.cs:
  21556. - Now unchecks all sibling radio buttons when control is
  21557. selected (Fixes #68756)
  21558. - Removed internal tabstop variable, using the one inherited from
  21559. Control
  21560. 2005-01-17 Jackson Harper <[email protected]>
  21561. * NavigateEventArgs.cs: Fix base type.
  21562. * LinkLabel.cs: Sig fix
  21563. 2005-01-17 Jackson Harper <[email protected]>
  21564. * TreeView.cs: Only invalidate the effected nodes bounds when
  21565. selecting nodes.
  21566. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21567. * XplatUIWin32.cs: fixes Win32 marshaling
  21568. * XplatUIX11.cs: fixes method signature
  21569. 2005-01-17 Peter Bartok <[email protected]>
  21570. * XplatUIX11.cs: Clean up resources when we no longer need them
  21571. 2005-01-17 Peter Bartok <[email protected]>
  21572. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  21573. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  21574. and DestroyCursor() methods.
  21575. * Cursor.cs: Partially implemented, now supports standard cursors;
  21576. still contains some debug code
  21577. * Cursors.cs: Implemented class
  21578. * Control.cs:
  21579. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  21580. appropriate cursor
  21581. - Implemented Cursor property
  21582. - Replaced break; with return; more straightforwar and possibly
  21583. faster
  21584. - Now properly setting the result for WM_HELP
  21585. * X11Structs.cs: Added CursorFontShape enum
  21586. * XplatUIStructs.cs:
  21587. - Added StdCursor enum (to support DefineStdCursor() method)
  21588. - Added HitTest enum (to support sending WM_SETCURSOR message)
  21589. * XplatUIX11.cs:
  21590. - Now sends the WM_SETCURSOR message
  21591. - Implemented new cursor methods
  21592. * XplatUIOSX.cs: Stubbed new cursor methods
  21593. * XplatUIWin32.cs:
  21594. - Implemented new cursor methods
  21595. - Added GetSystemMetrics function and associated enumeration
  21596. 2005-01-15 Peter Bartok <[email protected]>
  21597. * Control.cs:
  21598. - WndProc(): Now handles EnableNotifyMessage
  21599. - SelectNextControl(): Fixed bug where if no child or sibling
  21600. controls exist we looped endlessly
  21601. 2005-01-14 Jackson Harper <[email protected]>
  21602. * TreeView.cs: Recalculate the tab pages when a new one is added
  21603. so that the proper bounding rects are created.
  21604. 2005-01-14 Jackson Harper <[email protected]>
  21605. * TreeView.cs: Draw a gray box instead of a grip in the lower
  21606. right hand corner when there are both horizontal and vertical
  21607. scroll bars.
  21608. 2005-01-14 Jackson Harper <[email protected]>
  21609. * Control.cs: When erasing backgrounds use FromHwnd instead of
  21610. FromHdc when there is a NULL wparam. This occurs on the X driver.
  21611. * XplatUIX11.cs: Set the wparam to NULL.
  21612. 2005-01-13 Jackson Harper <[email protected]>
  21613. * PictureBox.cs: Implement missing methods (except ToString, need
  21614. to test that on windows) and events. When visibility is changed we
  21615. need to redraw the image because the buffers are killed. When size
  21616. is changed refresh if the sizemode needs it.
  21617. 2005-01-13 Peter Bartok <[email protected]>
  21618. * Control.cs (SelectNextControl): Was using wrong method to select
  21619. a control
  21620. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21621. * ComboBox.cs: fixes dropstyle
  21622. 2005-01-13 Peter Bartok <[email protected]>
  21623. * Form.cs:
  21624. - Implemented Select() override
  21625. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  21626. - Now sets keyboard focus on startup
  21627. * Control.cs (SelectNextControl): Now properly handles directed=true
  21628. * TextBoxBase.cs:
  21629. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  21630. - Added (really bad) focus rectangle (mostly for testing)
  21631. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  21632. to enforce redraw on focus changes
  21633. * ContainerControl.cs:
  21634. - Fixed detection of Shift-Tab key presses
  21635. - Fixed traversal with arrow keys
  21636. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  21637. gonna keep this or if it's complete yet
  21638. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  21639. * ComboBox.cs: missing properties, fixes
  21640. 2005-01-13 Peter Bartok <[email protected]>
  21641. * Panel.cs (ctor): Setting Selectable window style to off
  21642. * Splitter.cs (ctor): Setting Selectable window style to off
  21643. * GroupBox.cs (ctor): Setting Selectable window style to off
  21644. * Label.cs (ctor): Setting Selectable window style to off
  21645. 2005-01-12 Miguel de Icaza <[email protected]>
  21646. * UpDownBase.cs (InitTimer): If the timer has been already
  21647. created, enable it.
  21648. Use a TextBox instead of a Label.
  21649. 2005-01-12 Jackson Harper <[email protected]>
  21650. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  21651. draw the connecting node lines (when ShowLines is true).
  21652. * TreeNode.cs: The nodes index can now be updated. This is used
  21653. when a node collection is sorted.
  21654. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  21655. insert or an existing unsorted node collection can be sorted.
  21656. 2005-01-12 Peter Bartok <[email protected]>
  21657. * ContainerControl.cs: Implemented ProcessDialogKeys()
  21658. 2005-01-12 Peter Bartok <[email protected]>
  21659. * Control.cs:
  21660. - Implemented SelectNextControl() method
  21661. - Several focus related bug fixes
  21662. - Fixed Docking calculations to match MS documentation and
  21663. behaviour
  21664. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  21665. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  21666. bug fixes
  21667. 2005-01-12 Peter Bartok <[email protected]>
  21668. * Control.cs:
  21669. - Fixed broken Contains() method
  21670. - Implemented GetNextControl() method. Finally. This is the pre-
  21671. requisite for focus handling.
  21672. 2005-01-12 Peter Bartok <[email protected]>
  21673. * OSXStrucs.cs: Added
  21674. 2005-01-12 Peter Bartok <[email protected]>
  21675. * XplatUIWin32.cs:
  21676. - Removed PeekMessageFlags
  21677. - Implemented SetWindowStyle() method
  21678. * XplatUIStructs.cs: Added PeekMessageFlags
  21679. * X11Structs: Added missing border_width field to XWindowChanges struct
  21680. * XplatUIX11.cs:
  21681. - PeekMessage: Now throws exception if flags which are not yet
  21682. supported are passed
  21683. - Implemented SetWindowStyle() method
  21684. - Fixed SetZOrder to handle AfterHwnd properly
  21685. * XplatUI.cs: Added SetWindowStyle() method
  21686. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  21687. * Control.cs:
  21688. - Implemented UpdateStyles() method
  21689. - Implemented UpdateZOrder() method
  21690. * XplatUIOSX.cs: Added SetWindowStyle() stub
  21691. 2005-01-12 Geoff Norton <[email protected]>
  21692. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  21693. button mouse).
  21694. 2005-01-11 Jackson Harper <[email protected]>
  21695. * TreeView.cs: Still need to draw lines to siblings even if out of
  21696. the current node is out of the clip.
  21697. 2005-01-11 Jackson Harper <[email protected]>
  21698. * TreeView.cs: When setting the hbar/vbar/grip position use
  21699. SetBounds so that perform layout is only called once. Also suspend
  21700. and resume layout so layout is only done once for all controls.
  21701. - Removed some debug fluff
  21702. * SizeGrip.cs: Call base implmentation in overriding methods.
  21703. - When visibility is changed the drawing buffers are killed so we
  21704. need to redraw.
  21705. 2005-01-11 Jackson Harper <[email protected]>
  21706. * TreeView.cs: Calculate the open node count while drawing. This
  21707. saves us an entire tree traversal for every paint operation. Use
  21708. a member var for the open node count so less vars are passed around.
  21709. 2005-01-11 John BouAntoun <[email protected]>
  21710. * MonthCalendar.cs:
  21711. - fixed selection to use mousemove, not mouse polling on timer
  21712. * ThemeWin32Classic.cs
  21713. - removed redundant unused variable "no_more_content"
  21714. 2005-01-11 Peter Bartok <[email protected]>
  21715. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  21716. are pending, so it now calls PeekMessage instead of GetMessage;
  21717. implemented a incomplete version of PeekMessage
  21718. 2005-01-11 Peter Bartok <[email protected]>
  21719. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  21720. I18n issues
  21721. * TextBoxBase.cs: Added sending of TextChanged event
  21722. 2005-01-10 Jackson Harper <[email protected]>
  21723. * TreeView.cs: Try not to draw outside the clipping rectangle on
  21724. each node element.
  21725. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  21726. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  21727. 2005-01-10 Jackson Harper <[email protected]>
  21728. * TreeView.cs:
  21729. - Implement fast scrolling. Now only the newly
  21730. exposed nodes are drawn and the old image is moved using the
  21731. XplatUI::ScrollWindow method.
  21732. - Factor in height of nodes when calculating whether or not the
  21733. node is in the clipping rect.
  21734. 2005-01-10 Jackson Harper <[email protected]>
  21735. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  21736. 2005-01-10 Peter Bartok <[email protected]>
  21737. * Application.cs: Added temporary hack to resolve all our resize
  21738. required issues on startup. This will get fixed properly at
  21739. some point in the future
  21740. 2005-01-10 Jackson Harper <[email protected]>
  21741. * SizeGrip.cs: New internal class that is used as a sizing
  21742. grip control...hence the name.
  21743. 2005-01-10 Peter Bartok <[email protected]>
  21744. * Control.cs: Implemented proper TabIndex handling, now assigning
  21745. a tabindex when a control is added to a container
  21746. * GroupBox.cs (ctor): Now sets the Container style bit, required
  21747. for Control.GetNextControl()
  21748. 2005-01-09 Jackson Harper <[email protected]>
  21749. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  21750. 2005-01-09 Peter Bartok <[email protected]>
  21751. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  21752. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  21753. an overload for ScrollWindow to allow only scrolling a rectangle
  21754. 2005-01-09 Peter Bartok <[email protected]>
  21755. * Form.cs:
  21756. - Implemented SetDesktopBounds method
  21757. - Implemented SetDesktopLocation method
  21758. 2005-01-08 Jackson Harper <[email protected]>
  21759. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  21760. the node count has changed, this removes to VScroll::Refresh calls
  21761. when drawing.
  21762. 2005-01-08 Geoff Norton <[email protected]>
  21763. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  21764. 2005-01-07 Jackson Harper <[email protected]>
  21765. * TreeNode.cs: Just update the single node when it is
  21766. checked. Don't refresh after toggling, the Expand/Collapse already
  21767. handles this.
  21768. * TreeView.cs: Respect clipping a little more when drawing. Try
  21769. not to redraw things that don't need to be redrawn. Just hide the
  21770. scrollbars when they are no longer needed instead of removing
  21771. them, so they don't have to be created again and again.
  21772. 2005-01-07 Geoff Norton <[email protected]>
  21773. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  21774. coordinates to window space to place the caret properly, FIXED.
  21775. Implement GetWindowState & SetWindowState
  21776. 2005-01-06 Peter Bartok <[email protected]>
  21777. * Form.cs:
  21778. - Implemented ClientSize property
  21779. - Implemented DesktopBounds property
  21780. - Implemented DesktopLocation property
  21781. - Implemented IsRestrictedWindow property
  21782. - Implemented Size property
  21783. - Implemented TopLevel property
  21784. - Implemented FormWindowState property
  21785. * Control.cs:
  21786. - Implemented GetTopLevel() method
  21787. - Implemented SetTopLevel() method
  21788. * X11Structs.cs (Atom):
  21789. - Added AnyPropertyType definition
  21790. - Added MapState definiton and updated XWindowAttribute struct
  21791. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  21792. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  21793. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  21794. * XplatUIWin32.cs:
  21795. - Implemented GetWindowState() and SetWindowState() methods
  21796. - Fixed Win32GetWindowLong return type
  21797. * XplatUIX11.cs:
  21798. - Introduced central function for sending NET_WM messages
  21799. - Implemented GetWindowState() and SetWindowState() methods
  21800. * TextBoxBase.cs (set_Lines):
  21801. - Now uses Foreground color for text added via Text property (Duh!)
  21802. - Added code to remember programmatically requested size (fixes
  21803. behaviour when Multiline is set after Size)
  21804. - Added AutoSize logic
  21805. 2005-01-06 Jackson Harper <[email protected]>
  21806. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  21807. 2005-01-06 Jackson Harper <[email protected]>
  21808. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  21809. set to less then 0.
  21810. 2005-01-06 Jackson Harper <[email protected]>
  21811. * ScrollableControl.cs: Lazy init the scrollbars.
  21812. 2005-01-06 Jackson Harper <[email protected]>
  21813. * Theme.cs: Speed up getting pens and solid brushes, by using
  21814. their ARGB as a hash instead of tostring and not calling Contains.
  21815. 2005-01-06 Peter Bartok <[email protected]>
  21816. * Form.cs:
  21817. - Implemented OnActivated and OnDeactivate event trigger
  21818. - Implemented Activate() method
  21819. - Fixed ShowDialog() to activate the form that was active before
  21820. the dialog was shown
  21821. * XplatUIX11.cs:
  21822. - Added global active_window var that tracks the currently active
  21823. X11 window
  21824. - Now always grabs Property changes from the root window to always
  21825. catch changes on the active window property
  21826. - Added code to PropertyNotify handler to send Active/Inactive
  21827. messages when state changes. This puts X11 and Win32 en par on
  21828. WM_ACTIVATE notifications (except for double notifications when
  21829. the user clicks away from our modal window to another one of our
  21830. windows)
  21831. 2005-01-05 Jackson Harper <[email protected]>
  21832. * ImageList.cs: Implment ctor
  21833. 2005-01-05 Geoff Norton <[email protected]>
  21834. * XplatUIOSX.cs: Implement Activate/SetTopmost
  21835. 2005-01-05 Geoff Norton <[email protected]>
  21836. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  21837. 2005-01-05 Geoff Norton <[email protected]>
  21838. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  21839. 2005-01-05 Peter Bartok <[email protected]>
  21840. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  21841. XplatUIOSX.cs: Added GetActive method to return the currently
  21842. active window for the application (or null, if none is active)
  21843. * Form.cs:
  21844. - Implemented ActiveForm
  21845. - Commented out owner assignment for modal dialogs (causes problems
  21846. on Win32, since the owner will be disabled)
  21847. - Reworked some Active/Focus handling (still incomplete)
  21848. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  21849. (causes problems on Win32, since the owner will be disabled)
  21850. * IWin32Window: Added ComVisible attribute
  21851. 2005-01-05 Peter Bartok <[email protected]>
  21852. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  21853. required XplatUI functions.
  21854. 2005-01-05 Peter Bartok <[email protected]>
  21855. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  21856. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  21857. to implement focus and activation handling; still incomplete and
  21858. with debug output
  21859. 2005-01-04 Peter Bartok <[email protected]>
  21860. * TextBoxBase.cs: Changed access level for Document property to
  21861. match switch to internal for TextControl
  21862. 2005-01-04 Peter Bartok <[email protected]>
  21863. * AccessibleObject: Added ComVisible attribute
  21864. 2005-01-04 Jackson Harper <[email protected]>
  21865. * X11Keyboard.cs: Remove unneeded var.
  21866. 2005-01-04 Jackson Harper <[email protected]>
  21867. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  21868. but PAINT.
  21869. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  21870. ClientMessage. This makes apps exit cleanly (more often).
  21871. 2005-01-04 Jackson Harper <[email protected]>
  21872. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  21873. handling focus, return correct colors and fonts,
  21874. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  21875. handle selection, horizontal scrolling, and mouse interaction.
  21876. 2005-01-04 Peter Bartok <[email protected]>
  21877. * ICommandExecutor.cs: Added
  21878. * IDataGridColumnStyleEditingNotificationService.cs: Added
  21879. * IFeatureSupport.cs: Added
  21880. * IFileReaderService.cs: Added
  21881. * IDataObject.cs: Added ComVisible attribute
  21882. * AmbientProperties.cs: Added
  21883. * BaseCollection.cs: Added missing attributes
  21884. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  21885. * BaseCollection.cs: Added missing attributes
  21886. * Binding.cs: Added TypeConverter attribute
  21887. * BindingContext.cs: Added DefaultEvent attribute
  21888. * BindingsCollection.cs: Added DefaultEvent attribute
  21889. * Button.cs: Added DefaultValue attribute
  21890. * DragEventArgs.cs: Added ComVisible attribute
  21891. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  21892. * KeyEventArgs.cs: Added ComVisible attribute
  21893. * KeyPressEventArgs.cs: Added ComVisible attribute
  21894. * MouseEventArgs.cs: Added ComVisible attribute
  21895. * NavigateEventArgs.cs: Added
  21896. * NavigateEventHandler.cs: Added
  21897. * FeatureSupport.cs: Added
  21898. * OSFeature.cs: Added
  21899. * Theme.cs: Added abstract Version property to support OSFeature
  21900. * ThemeWin32Classic.cs: Added Version property to
  21901. support OSFeature.Themes
  21902. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  21903. the proper styles to avoid background drawing are set, also doesn't
  21904. match MS signature
  21905. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  21906. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  21907. * ScrollEventArgs.cs: Added ComVisible attribute
  21908. * SplitterEventArgs.cs: Added ComVisible attribute
  21909. * AccessibleSelection.cs: Added Flags attribute
  21910. * Appearance.cs: Added ComVisible attribute
  21911. * Border3DSide.cs: Added ComVisible attribute
  21912. * Border3DStyle.cs: Added ComVisible attribute
  21913. * BorderStyle.cs: Added ComVisible attribute
  21914. * DragAction.cs: Added ComVisible attribute
  21915. * ErrorBlinkStyle.cs: Added
  21916. * ScrollEventType.cs: Added ComVisible attribute
  21917. * AnchorStyles.cs: Added Editor attribute
  21918. * DockStyle.cs: Added Editor attribute
  21919. * HorizontalAlignment.cs: Added ComVisible attribute
  21920. * HelpEventArgs.cs: Added ComVisible attribute
  21921. * PaintEventArgs.cs: Added IDisposable
  21922. 2005-01-04 Peter Bartok <[email protected]>
  21923. * TextControl.cs: Switched Line, LineTag and Document classes to
  21924. internal
  21925. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  21926. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  21927. Simple mode, fixes, IntegralHeight, etc.
  21928. 2005-01-04 Peter Bartok <[email protected]>
  21929. * TextBoxBase.cs: Using proper font variable now
  21930. 2005-01-04 Peter Bartok <[email protected]>
  21931. * Form.cs (ShowDialog): Set parent to owner, if provided
  21932. * GroupBox.cs: Removed unused vars
  21933. * TextControl.cs:
  21934. - Added GetHashCode() for Document and LineTag classes
  21935. - Removed unused variables
  21936. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  21937. to allow translation between continuous char position and line/pos
  21938. * CheckBox.cs: Removed vars that are provided by base class
  21939. * RadioButton.cs: Removed vars that are provided by base class, added
  21940. new keyword where required
  21941. * LinkLabel.cs: Added new keyword where required
  21942. * Control.cs (WndProc): Removed unused variable
  21943. * TextBoxBase.cs:
  21944. - Finished SelectionLength property
  21945. - Implemented SelectionStart property
  21946. - Implemented Text property
  21947. - Removed unused vars
  21948. * MessageBox.cs: Added new keyword where required
  21949. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  21950. WndProc signature
  21951. * MenuAPI.cs: Added new keyword where required
  21952. * ButtonBase.cs: Removed vars that are provided by base class, added
  21953. new keyword where required
  21954. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  21955. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  21956. into this)
  21957. * Application.cs (Run): Now triggers the ThreadExit event
  21958. * CommonDialog.cs: Added new keyword where required; now properly sets
  21959. parent (owner) for dialog
  21960. * XplatUIX11.cs: Commented out unused vars
  21961. * StatusBar.cs: Fixed signature for Text property
  21962. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  21963. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  21964. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  21965. TrackBar.cs, MonthCalendar.cs: remove unused vars
  21966. 2005-01-03 Jackson Harper <[email protected]>
  21967. * ThemeWin32Classic.cs:
  21968. * X11Keyboard.cs: Remove unused vars.
  21969. 2005-01-03 Peter Bartok <[email protected]>
  21970. * TextBox.cs:
  21971. - set_Text: Tied into TextControl
  21972. - set_TextAlignment: Tied into TextControl
  21973. * TextControl.cs:
  21974. - Added alignment properties and implemented alignment handling
  21975. and drawing (still has a bug, not generating proper expose events)
  21976. - Added new Line() constructor to allow passing the line alignment
  21977. - Fixed selection setting, properly handling end<start now
  21978. - Added aligment considerations to RecalculateDocument()
  21979. * TextBoxBase.cs:
  21980. - Now properly enforces control height for single line controls
  21981. - Added support for CharacterCasing
  21982. - Added IsInputKey override
  21983. - Fixed Keys.Enter logic
  21984. - Added SetBoundsCore override
  21985. - Fixed mouse selection handling
  21986. 2005-01-03 Jackson Harper <[email protected]>
  21987. * TreeView.cs:
  21988. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  21989. - Checkboxes are always aligned to the bottom of the node,
  21990. regardless of item height.
  21991. - Use the node bounds to draw the text so we can center it when
  21992. the item height is greater then the font height.
  21993. - Node::Bounds are only the text part of the node.
  21994. * TreeNode.cs: New method to combine collapsing and unchecking all
  21995. nodes recursively.
  21996. 2005-01-02 Jackson Harper <[email protected]>
  21997. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  21998. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  21999. tree when a check is changed. TODO: Only refresh the checked node.
  22000. 2004-12-30 Jackson Harper <[email protected]>
  22001. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  22002. * TreeNode.cs: When collapsing make sure to never collapse the
  22003. root node.
  22004. 2004-12-29 Jackson Harper <[email protected]>
  22005. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  22006. 2004-12-28 Zoltan Varga <[email protected]>
  22007. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  22008. 2004-12-28 Peter Bartok <[email protected]>
  22009. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  22010. not yet assigned
  22011. 2004-12-28 Peter Bartok <[email protected]>
  22012. * Control.cs (WndProc): Added WM_HELP handler, now generates
  22013. HelpRequested event
  22014. * Form.cs: Added HelpButton property and required support code
  22015. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  22016. 2004-12-28 Peter Bartok <[email protected]>
  22017. * CommonDialog.cs:
  22018. - Made DialogForm.owner variable internal
  22019. - Added check to ensure owner form is set before setting
  22020. owner properties in CreateParams
  22021. 2004-12-28 Geoff Norton <[email protected]>
  22022. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  22023. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  22024. GetCursorPos. Fix major visibility issues. Rework the windowing
  22025. system to support borderless/titleless windows (implements menus).
  22026. Fix GetWindowPos. Implement initial background color support for
  22027. views.
  22028. 2004-12-28 Peter Bartok <[email protected]>
  22029. * Form.cs (get_CreateParams): Make sure we have an owner before using
  22030. the owner variable. Implement proper default if no owner exists
  22031. 2004-12-28 Peter Bartok <[email protected]>
  22032. * In preparation for making Managed.Windows.Forms the default build target
  22033. for System.Windows.Forms, the following stubbed files were added.
  22034. Dialogs are currently being implemented by contributors and are only
  22035. short-term place holders.
  22036. * ColorDialog.cs: Initial check-in (minmal stub)
  22037. * DataGrid.cs: Initial check-in (minimal stub)
  22038. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  22039. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  22040. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  22041. * FontDialog.cs: Initial check-in (minimal stub)
  22042. * FileDialog.cs: Initial check-in (minimal stub)
  22043. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  22044. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  22045. * OpenFileDialog: Initial check-in (minimal stub)
  22046. * IComponentEditorPageSite.cs: Initial check-in
  22047. * Splitter.cs: Initial check-in (for Jackson)
  22048. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  22049. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  22050. * TextBox.cs: Initial check-in; still needs some wiring to
  22051. TextControl backend
  22052. * Form.cs: Implemented ControlBox property
  22053. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  22054. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  22055. * TextControl.cs: Added selection functionality; added todo header
  22056. * TextBoxBase.cs:
  22057. - Implemented Lines property
  22058. - Implemented TextHeight property
  22059. - Implemented SelectedText property
  22060. - Implemented SelectionLength property
  22061. - Implemented SelectAll method
  22062. - Implemented ToString method
  22063. - Removed and cleaned up some debug code
  22064. - Implemented (still buggy) mouse text selection
  22065. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  22066. * ComboBox.cs: Complete DropDownList implementation, fixes.
  22067. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  22068. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  22069. * ComboBoxStyle.cs: ComboBoxStyle enum
  22070. * ComboBox.cs: Initial work on ComboBox control
  22071. 2004-12-21 Peter Bartok <[email protected]>
  22072. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  22073. forward so that anything that creates a window gets the default,
  22074. also no longer uses Visible property in CreateParams to avoid
  22075. walking up the parent chain and possibly get the wrong visible
  22076. status. Fixed IsVisible to no longer walk up to the parent.
  22077. 2004-12-21 Peter Bartok <[email protected]>
  22078. * Form.cs (ShowDialog): Unset modality for the proper window
  22079. 2004-12-20 Peter Bartok <[email protected]>
  22080. * CommonDialog.cs: Initial check-in
  22081. 2004-12-20 Peter Bartok <[email protected]>
  22082. * Control.cs (Visible): Now uses the parent window instead of the
  22083. client area window for the property
  22084. * Form.cs
  22085. - ShowDialog(): Now uses the proper window for modality
  22086. - The default visibility state for the form parent is now false. This
  22087. will prevent the user from seeing all the changes to the form and
  22088. its controls before the application hits Application.Run()
  22089. - Removed some stale commented out code
  22090. * NativeWindow.cs:
  22091. - Added FindWindow() method to have a method to check for existence
  22092. of a window handle
  22093. - Added ability to override default exception handling (for example
  22094. when debugging with VS.Net; to do this the ExternalExceptionHandler
  22095. define must be set
  22096. - Removed some useless debug output
  22097. * XplatUIX11.cs:
  22098. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  22099. not working as expected
  22100. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  22101. property to allow switching back to the modal window if focus is
  22102. given to another one of our windows (Application Modal)
  22103. - Now only sets override_redirect if we create a window
  22104. without WS_CAPTION
  22105. - Moved EventMask selection before mapping of newly created window
  22106. so we can catch the map event as well
  22107. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  22108. - Added various Atom related DllImports
  22109. - Implemented Exit() method
  22110. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  22111. in the CreateParams
  22112. * MessageBox.cs: Now properly deals with the FormParent window by
  22113. providing an override the FormParent CreateParams property to
  22114. set as POPUP instead of OVERLAPPED window.
  22115. 2004-12-19 Geoff Norton <[email protected]>
  22116. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  22117. Minor code cleanup.
  22118. 2004-12-19 Geoff Norton <[email protected]>
  22119. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  22120. 2004-12-18 Peter Bartok <[email protected]>
  22121. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  22122. implementing SetModal() method
  22123. 2004-12-18 Peter Bartok <[email protected]>
  22124. * X11Structs.cs (XGCValues): Fixed type of function element
  22125. * XplatUI.cs: Added ScrollWindow() method
  22126. * XplatUIDriver.cs: Added ScrollWindow() abstract
  22127. * XplatUIWin32.cs: Implemented ScrollWindow() method
  22128. * XplatUIX11.cs: Implemented ScrollWindow() method
  22129. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  22130. 2004-12-17 Geoff Norton <[email protected]>
  22131. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  22132. Some more keyboard support (INCOMPLETE)
  22133. 2004-12-17 Peter Bartok <[email protected]>
  22134. * TextControl.cs:
  22135. - Added color attribute to line tags.
  22136. - Added color argument to all functions dealing with tags
  22137. - Added color argument support to various functions
  22138. - Fixed miss-calculation of baseline/shift in certain circumstances
  22139. * TextBoxBase.cs: Added new color option to test code
  22140. 2004-12-17 Jackson Harper <[email protected]>
  22141. * TreeNode.cs:
  22142. * MonthCalendar.cs: Signature fixes
  22143. 2004-12-17 Geoff Norton <[email protected]>
  22144. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  22145. keyboard event moved it. Create a new graphics context for each paint resolves this
  22146. 2004-12-17 Geoff Norton <[email protected]>
  22147. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  22148. Make caret exist and go blink blink. Initial keyboard support.
  22149. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  22150. works.
  22151. 2004-12-17 Jackson Harper <[email protected]>
  22152. * XplatUIStructs.cs: Updated set of virtual keycodes.
  22153. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  22154. 2004-12-17 Jackson Harper <[email protected]>
  22155. * XplatUIX11.cs: Prune old keyboard code.
  22156. 2004-12-17 Jackson Harper <[email protected]>
  22157. * XplatUIX11.cs: When generating mouse wparams get the modifier
  22158. keys from the ModifierKeys property.
  22159. 2004-12-17 Jackson Harper <[email protected]>
  22160. * X11Keyboard.cs: Send up/down input when generating
  22161. messages. Remove some unused vars.
  22162. 2004-12-17 Jackson Harper <[email protected]>
  22163. * TabControl.cs:
  22164. * TreeView.cs: get rid of warnings.
  22165. 2004-12-17 Jackson Harper <[email protected]>
  22166. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  22167. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  22168. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  22169. CheckedListBox.cs: Implementation
  22170. 2004-12-17 Peter Bartok <[email protected]>
  22171. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  22172. 2004-12-16 Peter Bartok <[email protected]>
  22173. * TextControl.cs:
  22174. - InsertCharAtCaret(): Fixed start pos fixup
  22175. - CaretLine_get: No longer derives the line from the tag, the tag
  22176. could be stale if lines in the document have been added or deleted
  22177. - RebalanceAfterDelete(): Fixed bug in balancing code
  22178. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  22179. - Line.Streamline(): Now can also elminate leading empty tags
  22180. - DumpTree(): Added a few more tests and prevented exception on
  22181. uninitialized data
  22182. - Added Debug section for Combining lines
  22183. - Delete(): Now copies all remaining properties of a line
  22184. * TextBoxBase.cs:
  22185. - Left mousebutton now sets the caret (and middle button still acts
  22186. as formatting tester, which must go away soon)
  22187. - Added Debug section for Deleting/Combining lines
  22188. - Fixed calculations for UpdateView after Combining lines
  22189. 2004-12-16 Peter Bartok <[email protected]>
  22190. * TextControl.cs: Now properly aligns text on a baseline, using the
  22191. new XplatUI.GetFontMetrics() method. Simplified several calculations
  22192. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  22193. defined
  22194. 2004-12-16 Peter Bartok <[email protected]>
  22195. * XplatUI.cs: Added GetFontMetrics() method
  22196. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  22197. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  22198. into libgdiplus, our private GetFontMetrics function
  22199. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  22200. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  22201. 2004-12-16 Jackson Harper <[email protected]>
  22202. * XplatUIStruct.cs: Add enum for dead keys
  22203. * X11Keyboard.cs: Map and unmap dead keys.
  22204. 2004-12-16 Jackson Harper <[email protected]>
  22205. * X11Keyboard.cs: Detect and use the num lock mask.
  22206. 2004-12-16 Peter Bartok <[email protected]>
  22207. * Control.cs (CreateGraphics): Added check to make sure the
  22208. handle of the window exists before calling Graphics.FromHwnd()
  22209. 2004-12-16 Peter Bartok <[email protected]>
  22210. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  22211. contains a lot of code that's not supposed to be there for the
  22212. real thing, but required for developing/testing the textbox
  22213. backend.
  22214. 2004-12-16 Peter Bartok <[email protected]>
  22215. * TextControl.cs:
  22216. - Fixed Streamline method
  22217. - Added FindTag method to Line
  22218. - Added DumpTree method for debugging
  22219. - Added DecrementLines() method for deleting lines
  22220. - Fixed UpdateView to update the cursor to end-of-line on single-line
  22221. updates
  22222. - Added PositionCaret() method
  22223. - Fixed MoveCaret(LineDown) to move into the last line, too
  22224. - Added InsertChar overload
  22225. - Fixed InsertChar tag offset calculations
  22226. - Added DeleteChar() method
  22227. - Added Combine() method for folding lines
  22228. - Fixed Delete() method, no longer allocates wasted Line object and
  22229. now copies all properties when swapping nodes
  22230. - Delete() method now updates document line counter
  22231. 2004-12-15 Jackson Harper <[email protected]>
  22232. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  22233. * X11Keyboard.cs: Expose the currently selected modifier keys
  22234. through a property.
  22235. 2004-12-15 Peter Bartok <[email protected]>
  22236. * TextControl.cs: Initial check-in. Still incomplete
  22237. 2004-12-15 Jackson Harper <[email protected]>
  22238. * TreeNode.cs:
  22239. * TreeView.cs: Fix build on csc (second time today ;-))
  22240. 2004-12-15 Jackson Harper <[email protected]>
  22241. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  22242. is calculated and use this for click testing.
  22243. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  22244. 2004-12-15 Jackson Harper <[email protected]>
  22245. * TreeView.cs: Pass the nodes image index to the image list when
  22246. drawing that image.
  22247. 2004-12-15 Jackson Harper <[email protected]>
  22248. * X11Keyboard.cs: Set messages hwnd.
  22249. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  22250. post_message calls.
  22251. 2004-12-15 Jackson Harper <[email protected]>
  22252. * X11Keyboard.cs: Fix to compile with csc.
  22253. 2004-12-15 Jackson Harper <[email protected]>
  22254. * X11Structs.cs: Add key mask values
  22255. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  22256. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  22257. down/up foo into WM_CHAR foo
  22258. * KeyboardLayouts.cs: Common keyboard layouts
  22259. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  22260. post messages into the main queue.
  22261. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  22262. * Button.cs: implement ProcessMnemonic
  22263. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  22264. brushes everytime
  22265. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  22266. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  22267. 2004-12-12 John BouAntoun <[email protected]>
  22268. * MonthCalendar.cs: Implemented click-hold for next/previous month
  22269. and date selection
  22270. 2004-12-11 Peter Bartok <[email protected]>
  22271. * X11Structs.cs:
  22272. - Added XKeyboardState (moved from XplatUIX11.cs)
  22273. - Added XCreateGC related enums and structures
  22274. - Added GXFunction for XSetFunction
  22275. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  22276. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  22277. CaretVisible() calls
  22278. * ToolTip.cs: Added code to prevent stealing focus from app windows
  22279. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  22280. DestroyCaret, SetCaretPos and CaretVisible)
  22281. * XplatUIX11.cs:
  22282. - Added implementation for caret functions
  22283. - Moved hover variables into a struct, to make it a bit easier
  22284. on the eyes and to debug
  22285. - Removed XKeyboardState (moved to XplatUIX11.cs)
  22286. - Moved Keyboard properties into the properties region
  22287. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  22288. call to get a graphics context for our control
  22289. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  22290. * TreeView.cs: Fixed bug. No matter what color was set it would always
  22291. return SystemColors.Window
  22292. * XplatUIWin32.cs: Implemented caret overrides
  22293. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  22294. * ListBox.cs: fire events, implement missing methods and properties,
  22295. sorting.
  22296. 2004-12-10 John BouAntoun <[email protected]>
  22297. * MonthCalendar.cs: invalidation bug fixing
  22298. * ThemeWin32Classic.cs: paint fixing
  22299. 2004-12-09 Geoff Norton <[email protected]>
  22300. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  22301. prepare the CGContextRef there now.
  22302. 2004-12-09 John BouAntoun <[email protected]>
  22303. * MonthCalendar.cs:
  22304. - optimisationL only invalidate areas that have changed
  22305. * ThemeWin32Classic.cs:
  22306. - only paint parts that intersect with clip_area
  22307. 2004-12-09 Peter Bartok <[email protected]>
  22308. * Application.cs: Undid changes from r37004 which cause problems
  22309. on X11
  22310. 2004-12-09 Ravindra <[email protected]>
  22311. * ToolBar.cs: Added support for displaying ContextMenu
  22312. attached to a button on ToolBar.
  22313. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  22314. property.
  22315. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  22316. * Label.cs: autosize works in text change and removes unnecessary
  22317. invalidate
  22318. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  22319. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  22320. remove warnings
  22321. 2004-12-08 Geoff Norton <[email protected]>
  22322. * XplatUIOSX.cs: Added mouse move/click/grab support
  22323. Remove some debugging WriteLines not needed anymore.
  22324. Add window resizing/positioning.
  22325. Fix visibility on reparenting.
  22326. 2004-12-08 Peter Bartok <[email protected]>
  22327. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  22328. 2004-12-07 Geoff Norton <[email protected]>
  22329. * XplatUIOSX.cs: Initial checkin
  22330. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  22331. 2004-12-03 Ravindra <[email protected]>
  22332. * ListView.cs: Added some keybindings and fixed scrolling.
  22333. ScrollBars listen to ValueChanged event instead of Scroll
  22334. Event. This would let us take care of all changes being
  22335. done in the scrollbars' values programmatically or manually.
  22336. * ListView.cs (CanMultiselect): Added a check for shift key.
  22337. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  22338. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  22339. of ListViewSubItemCollection as well.
  22340. 2004-12-06 Peter Bartok <[email protected]>
  22341. * Control.cs (Parent): Added check and exception to prevent
  22342. circular parenting
  22343. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  22344. * ListBox.cs: implemented clipping, selection single and multiple,
  22345. bug fixing
  22346. 2004-12-03 Ravindra <[email protected]>
  22347. * ListView.cs (ListView_KeyDown):
  22348. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  22349. when CTRL key is pressed.
  22350. * ListViewItem.cs (Selected): Fixed setting the property.
  22351. 2004-12-03 Marek Safar <[email protected]>
  22352. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  22353. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  22354. MinimizeBox, ShowInTaskbar, TopMost properties.
  22355. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  22356. will be implemented).
  22357. 2004-12-03 Marek Safar <[email protected]>
  22358. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  22359. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  22360. tests.
  22361. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  22362. * TreeView.cs: BackColor is Colors.Window.
  22363. 2004-12-01 Jackson Harper <[email protected]>
  22364. * TreeView.cs: When resizing the tree if the user is making it
  22365. smaller we don't get expose events, so we need to handle adding
  22366. the horizontal scrollbar in the size changed handler as well as
  22367. the expose handler.
  22368. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  22369. * DrawItemState.cs: fixes wrong enum values
  22370. 2004-12-01 Jackson Harper <[email protected]>
  22371. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  22372. 2004-12-01 Jackson Harper <[email protected]>
  22373. * NodeLabelEditEventArgs.cs:
  22374. * NodeLabelEditEventHandler.cs:
  22375. * OpenTreeNodeEnumerator.cs:
  22376. * TreeNode.cs:
  22377. * TreeNodeCollection.cs:
  22378. * TreeView.cs:
  22379. * TreeViewAction.cs:
  22380. * TreeViewCancelEventArgs.cs:
  22381. * TreeViewCancelEventHandler.cs:
  22382. * TreeViewEventArgs.cs:
  22383. * TreeViewEventHandler.cs: Initial implementation.
  22384. 2004-12-01 Ravindra <[email protected]>
  22385. * ListView.cs (CalculateListView): Fixed scrolling related
  22386. calculations. Also, removed some debug statements from other
  22387. places.
  22388. * ListViewItem.cs: Changed access to 'selected' instance variable
  22389. from private to internal.
  22390. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  22391. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  22392. * ThemeWin32Classic.cs: remove cache of brush and pens for
  22393. specific controls and use the global system, fixes scrollbutton
  22394. bugs (for small sizes, disabled, etc)
  22395. * ScrollBar.cs: does not show the thumb for very small controls
  22396. (as MS) and allow smaller buttons that the regular size
  22397. 2004-12-01 Miguel de Icaza <[email protected]>
  22398. * UpDownBase.cs: Add abstract methods for the interface.
  22399. Add new virtual methods (need to be hooked up to TextEntry when it
  22400. exists).
  22401. Add override methods for most features.
  22402. Computes the size, forces the height of the text entry.
  22403. * NumericUpDown.cs: Put here the current testing code.
  22404. * Set eol-style property on all files that do not have mixed line
  22405. endings, to minimize the future problems. There are still a few
  22406. files with mixed endings, and someone should choose whether they
  22407. want to move it or not.
  22408. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  22409. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  22410. System.Colors
  22411. 2004-11-30 Ravindra <[email protected]>
  22412. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  22413. drawing and replaced use of SystemColors by theme colors.
  22414. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  22415. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  22416. same ListViewItem is being added more than once.
  22417. 2004-11-30 John BouAntoun <[email protected]>
  22418. * MonthCalendar.cs:
  22419. - ControlStyles love to make the control not flicker
  22420. 2004-11-30 Peter Bartok <[email protected]>
  22421. * CharacterCasing.cs: Added
  22422. 2004-11-29 Peter Bartok <[email protected]>
  22423. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  22424. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  22425. I am removing these files as they conflict with already completed
  22426. work. While it is fantastic to get contributions to MWF, I
  22427. respectfully ask that everyone please coordinate their contributions
  22428. through mono-winforms-list or #mono-winforms at this time. We're
  22429. explicitly avoiding stubbing and don't want controls that don't have
  22430. their basic functionality implemented in svn. Please also see
  22431. http://www.mono-project.com/contributing/winforms.html
  22432. 2004-11-29 Marek Safar <[email protected]>
  22433. * Application.cs (ModalRun): Don't hang after exit.
  22434. * Theme.cs: New TreeViewDefaultSize property.
  22435. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  22436. with less hardcoded SystemColors constant.
  22437. Implemented TreeViewDefaultSize.
  22438. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  22439. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  22440. 2004-11-29 John BouAntoun <[email protected]>
  22441. * MonthCalendar.cs:
  22442. - Fix NextMonthDate and PrevMonthDate click moving calendar
  22443. 2004-11-26 John BouAntoun <[email protected]>
  22444. * MonthCalendar.cs:
  22445. - Fix usage of ScrollChange Property when scrolling months
  22446. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  22447. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  22448. - Fixes menu destroying
  22449. - Support adding and removing items on already created menus
  22450. 2004-11-26 John BouAntoun <[email protected]>
  22451. * MonthCalendar.cs:
  22452. - Re-worked all bolded dates handling to match win32
  22453. * ThemeWin32Classic.cs:
  22454. - Fixed rendering with bolded dates
  22455. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  22456. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  22457. - Horizontal scroolbar
  22458. - Multicolumn
  22459. - Fixes
  22460. 2004-11-25 John BouAntoun <[email protected]>
  22461. * MonthCalendar.cs:
  22462. - Fix Usage of MaxSelectionCount from SelectionRange
  22463. - Fixed Shift + Cursor Selection
  22464. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  22465. - Fixed normal cursor selection to be compat with win32
  22466. - Fixed Shift + Mouse Click selection
  22467. 2004-11-24 Peter Bartok <[email protected]>
  22468. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  22469. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  22470. * XplatUIX11.cs:
  22471. - CreatedKeyBoardMsg now updates keystate with Alt key
  22472. - Added workaround for timer crash to CheckTimers, Jackson will
  22473. develop a proper fix and check in later
  22474. - Implemented DispatchMessage
  22475. - Removed calling the native window proc from GetMessage (call
  22476. now moved to DispatchMessage)
  22477. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  22478. the keydata (Fixes bug #69831)
  22479. * XplatUIWin32.cs:
  22480. - (DispatchMessage): Switched to return IntPtr
  22481. - Added DllImport for SetFocus
  22482. 2004-11-24 Ravindra <[email protected]>
  22483. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  22484. background drawing.
  22485. * ListViewItem.cs: Fixed various properties, calculations
  22486. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  22487. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  22488. and some internal properties. Fixed MouseDown handler and Paint
  22489. method.
  22490. 2004-11-24 John BouAntoun <[email protected]>
  22491. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  22492. 2004-11-24 John BouAntoun <[email protected]>
  22493. * ContainerControl.cs: correct accidental check in of local changes
  22494. 2004-11-24 John BouAntoun <[email protected]>
  22495. * ThemeWin32Classic.cs:
  22496. - Fixed Drawing Last month in grid (sometimes not showing)
  22497. * MonthCalendar.cs:
  22498. - Fixed title width calculation bug (makeing title small)
  22499. 2004-11-23 Peter Bartok <[email protected]>
  22500. * XplatUIX11.cs:
  22501. - Added generation of WM_MOUSEHOVER event
  22502. - Added missing assignment of async_method atom
  22503. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  22504. 2004-11-23 John BouAntoun <[email protected]>
  22505. * ThemeWin32Classic.cs:
  22506. - Fixed Drawing of today circle when showtodaycircle not set
  22507. - fixed drawing of first and last month in the grid (gay dates)
  22508. * MonthCalendar.cs:
  22509. - Fixed Drawing of today circle
  22510. - Fixed drawing of grady dates
  22511. - Fixed HitTest for today link when ShowToday set to false
  22512. - Fixed DefaultSize to obey ShowToday
  22513. 2004-11-23 John BouAntoun <[email protected]>
  22514. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  22515. * System.Windows.Forms/Theme.cs
  22516. * MonthCalendar.cs: added for MonthCalendar
  22517. * SelectionRange.cs: added for MonthCalendar
  22518. * Day.cs: added for MonthCalendar: added for MonthCalendar
  22519. * DateRangeEventArgs.cs: added for MonthCalendar
  22520. * DateRangeEventHandler.cs: added for MonthCalendar
  22521. 2004-11-22 Ravindra <[email protected]>
  22522. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  22523. property.
  22524. 2004-11-22 Miguel de Icaza <[email protected]>
  22525. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  22526. event handler.
  22527. * NumericUpDown.cs: Added new implementation.
  22528. * UpDownBase.cs: Added new implementation.
  22529. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  22530. implementations.
  22531. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  22532. implementations.
  22533. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  22534. methods.
  22535. 2004-11-21 Miguel de Icaza <[email protected]>
  22536. * Timer.cs (Dispose): Should call the base dispose when
  22537. overriding.
  22538. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  22539. * ScrollBar.cs: updates thumb position when max, min or increment
  22540. is changed
  22541. 2004-11-21 Ravindra <[email protected]>
  22542. * ListView.cs: Implemented item selection, activation and
  22543. column header style. Fixed properties to do a redraw, if
  22544. required. Added support for MouseHover, DoubleClick, KeyDown
  22545. and KeyUp event handling and some minor fixes.
  22546. * ListViewItem.cs: Fixed constructor.
  22547. * ThemeWin32Classic.cs: Improved drawing for ListView.
  22548. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  22549. * ThemeWin32Classic.cs: initial listbox drawing code
  22550. * DrawMode.cs: new enumerator
  22551. * ListControl.cs: stubbed class
  22552. * ListBox.cs: initial implementation
  22553. * Theme.cs: new methods definitions
  22554. * SelectionMode.cs: new enumerator
  22555. 2004-11-17 Peter Bartok <[email protected]>
  22556. * XplatUIWin32.cs: Added double-click events to the class style
  22557. * Control.cs (WndProc):
  22558. - Added handling of click-count to MouseDown/ MouseUp events.
  22559. - Added handling of middle and right mouse buttons
  22560. - Removed old debug code
  22561. 2004-11-17 Jackson Harper <[email protected]>
  22562. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  22563. 2004-11-17 Ravindra <[email protected]>
  22564. * ListView.cs: Added event handling for MouseMove/Up/Down.
  22565. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  22566. * ThemeWin32Classic.cs: We need to clear the graphics context and
  22567. draw column header in a proper state.
  22568. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  22569. * Menu.cs: fixes signature
  22570. 2004-11-16 Peter Bartok <[email protected]>
  22571. * XplatUIX11.cs (GetMessage): Implemented generation of
  22572. double click mouse messages
  22573. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  22574. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  22575. not by menu
  22576. 2004-11-11 Peter Bartok <[email protected]>
  22577. * HandleData.cs: Added Visible property
  22578. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  22579. HandleData
  22580. * XplatUIX11.cs: Removed old debug leftovers
  22581. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  22582. * Control.cs (WndProc): Removed old debug leftovers,
  22583. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  22584. needed WM_SIZE handling
  22585. 2004-11-11 Jackson Harper <[email protected]>
  22586. * OwnerDrawPropertyBag.cs:
  22587. * TreeViewImageIndexConverter.cs: Initial implementation
  22588. 2004-11-10 Jackson Harper <[email protected]>
  22589. * ThemeWin32Classic.cs:
  22590. * TabControl.cs: instead of moving tabs by the slider pos just
  22591. start drawing at the tab that is offset by the slider. This way
  22592. scrolling always moves by exactly one tab.
  22593. 2004-11-10 Jackson Harper <[email protected]>
  22594. * TabControl.cs: You can only scroll left when the slider has
  22595. already ben moved right.
  22596. 2004-11-10 Jackson Harper <[email protected]>
  22597. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  22598. the clip area.
  22599. 2004-11-10 Jackson Harper <[email protected]>
  22600. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  22601. clip area.
  22602. 2004-11-09 Jackson Harper <[email protected]>
  22603. * TabControl.cs (CalcXPos): New helper method so we can determine
  22604. the proper place to start drawing vertical tabs.
  22605. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  22606. 2004-11-09 Jackson Harper <[email protected]>
  22607. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  22608. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  22609. and Bottom, left and right are illegal values for this and
  22610. multiline is enabled when the alignment is set to left or right.
  22611. (DrawTab): Each alignment block should draw the text itself now
  22612. because Left requires special love. Also add rendering for Left
  22613. aligned tabs.
  22614. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  22615. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  22616. does not destroy the windows, removes debugging messages
  22617. 2004-11-09 jba <[email protected]>
  22618. * ThemeWin32Classic.cs
  22619. (DrawButtonBase): Fix verticle text rect clipping in windows
  22620. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  22621. rendering and incorrect text rect clipping
  22622. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  22623. rendering and incorrect text rect clipping
  22624. 2004-11-08 Jackson Harper <[email protected]>
  22625. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  22626. bottom when they are bottom aligned so the bottoms of the tabs get
  22627. displayed.
  22628. * TabControl.cs (DropRow): Move rows up instead of down when the
  22629. tab control is bottom aligned.
  22630. 2004-11-08 13:59 pbartok
  22631. * XplatUIX11.cs:
  22632. - Added handling for various window styles
  22633. - Added handling for popup windows
  22634. - Added SetTopmost handling
  22635. 2004-11-08 13:55 pbartok
  22636. * XplatUIWin32.cs:
  22637. - Added argument to SetTopmost method
  22638. - Fixed broken ClientToScreen function
  22639. 2004-11-08 13:53 pbartok
  22640. * XplatUIStructs.cs:
  22641. - Added missing WS_EX styles
  22642. 2004-11-08 13:53 pbartok
  22643. * XplatUI.cs, XplatUIDriver.cs:
  22644. - Added argument to SetTopmost
  22645. 2004-11-08 13:52 pbartok
  22646. * X11Structs.cs:
  22647. - Added XSetWindowAttributes structure
  22648. - Improved XWindowAttributes structure
  22649. - Added SetWindowValuemask enum
  22650. - Added window creation arguments enum
  22651. - Added gravity enum
  22652. - Added Motif hints structure
  22653. - Added various Motif flags and enums
  22654. - Added PropertyMode enum for property functions
  22655. 2004-11-08 13:50 pbartok
  22656. * Form.cs:
  22657. - Fixed arguments for updated SetTopmost method
  22658. 2004-11-08 13:49 pbartok
  22659. * ToolTip.cs:
  22660. - Fixed arguments for updated SetTopmost function
  22661. - Fixed usage of PointToClient
  22662. 2004-11-08 13:44 pbartok
  22663. * MenuAPI.cs:
  22664. - Added Clipping of children and siblings
  22665. 2004-11-08 13:41 pbartok
  22666. * MainMenu.cs:
  22667. - Removed SetMenuBarWindow call. We do this in Form.cs
  22668. 2004-11-08 13:40 jackson
  22669. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  22670. scrolling jimmi in the correct location with bottom aligned tabs
  22671. 2004-11-08 13:36 pbartok
  22672. * ContainerControl.cs:
  22673. - Implemented BindingContext
  22674. - Implemented ParentForm
  22675. 2004-11-08 12:46 jackson
  22676. * TabControl.cs: Put bottom rendered tabs in the right location
  22677. 2004-11-08 07:15 jordi
  22678. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  22679. removes dead code
  22680. 2004-11-05 17:30 jackson
  22681. * TabControl.cs: When selected tabs are expanded make sure they
  22682. don't go beyond the edges of the tab control
  22683. 2004-11-05 14:57 jackson
  22684. * TabControl.cs: Reset show_slider so if the control is resized to
  22685. a size where it is no longer needed it's not displayed anymore
  22686. 2004-11-05 13:16 jackson
  22687. * TabControl.cs: Make tab pages non visible when added to the
  22688. control
  22689. 2004-11-05 12:42 jackson
  22690. * TabControl.cs: Implement SizeMode.FillToRight
  22691. 2004-11-05 12:16 jackson
  22692. * Control.cs: Do not call CreateHandle if the handle is already
  22693. created
  22694. 2004-11-05 11:46 jackson
  22695. * TabControl.cs: Remove superflous call to CalcTabRows
  22696. 2004-11-05 09:07 jackson
  22697. * XplatUIX11.cs: Update for Mono.Posix changes
  22698. 2004-11-05 07:00 ravindra
  22699. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  22700. scrolling.
  22701. 2004-11-04 22:47 jba
  22702. * ThemeWin32Classic.cs:
  22703. - Fix Button rendering for FlatStyle = Flat or Popup
  22704. - Fix RadioButton and CheckBox rendering when Appearance = Button
  22705. (normal and flatstyle).
  22706. - Correct outer rectangle color when drawing focus rectangle
  22707. - Adjust button bounds to be 1 px smaller when focused
  22708. - Make button not draw sunken 3d border when pushed (windows compat)
  22709. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  22710. - Offset the text in RadioButton and Checkbox when being rendered as
  22711. a button.
  22712. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  22713. radiobuttons
  22714. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  22715. - Fixed disabled text rendering for normally rendered radiobuttons
  22716. 2004-11-04 10:26 jackson
  22717. * TabControl.cs: Recalculate tab rows when resizing
  22718. 2004-11-04 07:47 jordi
  22719. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  22720. collection completion, drawing issues, missing features
  22721. 2004-11-04 05:03 ravindra
  22722. * ScrollBar.cs:
  22723. - We need to recalculate the Thumb area when
  22724. LargeChange/maximum/minimum values are changed.
  22725. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  22726. than minimum. This is required to handle the case if large_change is
  22727. more than max, and use LargeChange property instead of large_change
  22728. variable.
  22729. - We return max+1 when large_change is more than max, like MS does.
  22730. 2004-11-04 04:29 ravindra
  22731. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  22732. - Changed default value signatures (prefixed all with ListView).
  22733. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  22734. ListView.
  22735. - Fixed calculations for ListViewItem and implemented Clone()
  22736. method.
  22737. 2004-11-04 04:26 ravindra
  22738. * Theme.cs, ThemeWin32Classic.cs:
  22739. - Changed default ListView values signatures (prefixed all with
  22740. ListView).
  22741. - Fixed default size values for VScrollBar and HScrollBar.
  22742. - Fixed DrawListViewItem method.
  22743. 2004-11-04 04:05 ravindra
  22744. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  22745. 2004-11-04 04:04 ravindra
  22746. * ImageList.cs: Implemented the missing overload for Draw method.
  22747. 2004-11-03 19:29 jackson
  22748. * TabControl.cs: Handle dropping rows on selection properly
  22749. 2004-11-03 11:59 jackson
  22750. * TabControl.cs: remove debug code
  22751. 2004-11-03 11:52 jackson
  22752. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  22753. the scrolly widgerywoo
  22754. 2004-11-02 13:52 jackson
  22755. * TabControl.cs: Resize the tab pages and tabs when the tab control
  22756. is resized
  22757. 2004-11-02 13:40 jackson
  22758. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  22759. selected tab to the bottom
  22760. 2004-11-02 13:39 jackson
  22761. * TabPage.cs: Store the tab pages row
  22762. 2004-11-02 12:33 jordi
  22763. * MenuItem.cs: fixes handle creation
  22764. 2004-11-02 11:42 jackson
  22765. * TabControl.cs: signature fix
  22766. 2004-11-02 08:56 jackson
  22767. * TabControl.cs: Calculate whether the tab is on an edge properly.
  22768. Remove top secret debugging code
  22769. 2004-11-01 19:57 jackson
  22770. * TabControl.cs: Add click handling, and proper sizing
  22771. 2004-11-01 19:47 jackson
  22772. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  22773. tab controls
  22774. 2004-11-01 19:39 jackson
  22775. * TabPage.cs: add internal property to store the bounds of a tab
  22776. page
  22777. 2004-10-30 04:23 ravindra
  22778. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  22779. values.
  22780. 2004-10-30 04:21 ravindra
  22781. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  22782. fixed calculations.
  22783. 2004-10-30 03:06 pbartok
  22784. * XplatUIX11.cs:
  22785. - Removed extension of DllImported libs
  22786. 2004-10-29 09:55 jordi
  22787. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  22788. navigation, itemcollection completion, menu fixes
  22789. 2004-10-27 22:58 pbartok
  22790. * XplatUIX11.cs:
  22791. - Now throws a nice error message when no X display could be opened
  22792. 2004-10-26 13:51 jordi
  22793. * ListView.cs: removes warning
  22794. 2004-10-26 03:55 ravindra
  22795. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  22796. ThemeWin32Classic.cs: Some formatting for my last checkins.
  22797. 2004-10-26 03:36 ravindra
  22798. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  22799. control and default values.
  22800. 2004-10-26 03:35 ravindra
  22801. * Theme.cs: Added some default values for ListView control.
  22802. 2004-10-26 03:33 ravindra
  22803. * ToolBar.cs: ToolBar should use the user specified button size, if
  22804. there is any. Added a size_specified flag for the same.
  22805. 2004-10-26 03:33 ravindra
  22806. * ColumnHeader.cs: Added some internal members and calculations for
  22807. ColumnHeader.
  22808. 2004-10-26 03:32 ravindra
  22809. * ListViewItem.cs: Calculations for ListViewItem.
  22810. 2004-10-26 03:31 ravindra
  22811. * ListView.cs: Added some internal members and calculations for
  22812. ListView.
  22813. 2004-10-22 13:31 jordi
  22814. * MenuAPI.cs: speedup menus drawing
  22815. 2004-10-22 13:16 jackson
  22816. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  22817. expose event
  22818. 2004-10-22 11:49 jackson
  22819. * Control.cs: oops
  22820. 2004-10-22 11:41 jackson
  22821. * Control.cs: Check to see if the window should have its background
  22822. repainted by X when drawing.
  22823. 2004-10-22 11:31 jackson
  22824. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  22825. clear is true, this way we do not get flicker from X repainting the
  22826. background
  22827. 2004-10-22 11:28 jackson
  22828. * XEventQueue.cs: Queue properly
  22829. 2004-10-21 09:38 jackson
  22830. * XEventQueue.cs: Fix access modifier
  22831. 2004-10-21 09:36 jackson
  22832. * XEventQueue.cs: Don't loose messages
  22833. 2004-10-21 09:22 jackson
  22834. * XEventQueue.cs: Don't loose messages
  22835. 2004-10-20 04:15 jordi
  22836. * BootMode.cs: enum need it by SystemInfo
  22837. 2004-10-19 21:58 pbartok
  22838. * XplatUIWin32.cs:
  22839. - Small sanity check
  22840. 2004-10-19 21:56 pbartok
  22841. * Form.cs:
  22842. - Added private FormParentWindow class which acts as the container
  22843. for our form and as the non-client area where menus are drawn
  22844. - Added/Moved required tie-ins to Jordi's menus
  22845. - Fixed/Implemented the FormStartPosition functionality
  22846. 2004-10-19 21:52 pbartok
  22847. * Control.cs:
  22848. - Removed unneeded locals
  22849. - Added code to all size and location properties to understand and
  22850. deal with the parent container of Form
  22851. 2004-10-19 21:33 pbartok
  22852. * Application.cs:
  22853. - Fixed to deal with new Form subclasses for menus
  22854. 2004-10-19 17:48 jackson
  22855. * XEventQueue.cs: commit correct version of file
  22856. 2004-10-19 16:50 jackson
  22857. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  22858. 2004-10-19 16:15 jordi
  22859. * MenuAPI.cs: MenuBarCalcSize returns the height
  22860. 2004-10-19 08:31 pbartok
  22861. * Control.cs:
  22862. - Added missing call to PreProcessMessage before calling OnXXXKey
  22863. methods
  22864. 2004-10-19 00:04 ravindra
  22865. * ToolTip.cs: Fixed constructor.
  22866. 2004-10-18 09:31 jordi
  22867. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  22868. 2004-10-18 09:26 jordi
  22869. * MenuItem.cs: fixes MenuItem class signature
  22870. 2004-10-18 08:56 jordi
  22871. * MenuAPI.cs: prevents windows from showing in the taskbar
  22872. 2004-10-18 00:28 ravindra
  22873. * ToolTip.cs: Suppressed a warning message.
  22874. 2004-10-18 00:27 ravindra
  22875. * Control.cs: Default value of visible property must be true.
  22876. 2004-10-17 23:19 pbartok
  22877. * ToolTip.cs:
  22878. - Complete implementation
  22879. 2004-10-17 23:19 pbartok
  22880. * XplatUIX11.cs:
  22881. - Added EnableWindow method
  22882. - Added SetModal stub
  22883. - Added generation of WM_ACTIVATE message (still needs testing)
  22884. - Added SetTopMost stub
  22885. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  22886. 2004-10-17 23:17 pbartok
  22887. * XplatUIWin32.cs:
  22888. - Removed VirtualKeys to XplatUIStructs
  22889. - Implemented SetTopMost method
  22890. - Implemented EnableWindow method
  22891. - Bugfix in ScreenToClient()
  22892. - Bugfixes in ClientToScreen()
  22893. 2004-10-17 22:51 pbartok
  22894. * XplatUIStructs.cs:
  22895. - Added WS_EX styles to WindowStyles enumeration
  22896. 2004-10-17 22:50 pbartok
  22897. * XplatUI.cs, XplatUIDriver.cs:
  22898. - Added method for enabling/disabling windows
  22899. - Added method for setting window modality
  22900. - Added method for setting topmost window
  22901. 2004-10-17 22:49 pbartok
  22902. * ThemeWin32Classic.cs:
  22903. - Added ToolTip drawing code
  22904. 2004-10-17 22:49 pbartok
  22905. * Theme.cs:
  22906. - Added ToolTip abstracts
  22907. 2004-10-17 22:47 pbartok
  22908. * Form.cs:
  22909. - Fixed Form.ControlCollection to handle owner relations
  22910. - Added Owner/OwnedForms handling
  22911. - Implemented Z-Ordering for owned forms
  22912. - Removed unneeded private overload of ShowDialog
  22913. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  22914. so I hope)
  22915. - Fixed Close(), had wrong default
  22916. - Added firing of OnLoad event
  22917. - Added some commented out debug code for Ownership handling
  22918. 2004-10-17 22:16 pbartok
  22919. * Control.cs:
  22920. - Fixed/implemented flat list of controls
  22921. 2004-10-17 22:14 pbartok
  22922. * Application.cs:
  22923. - Added code to simulate modal dialogs on Win32
  22924. 2004-10-17 16:11 jordi
  22925. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  22926. mouse event
  22927. 2004-10-17 13:39 jordi
  22928. * MenuAPI.cs: menu drawing fixes
  22929. 2004-10-15 09:10 ravindra
  22930. * StructFormat.cs: General Enum.
  22931. 2004-10-15 09:09 ravindra
  22932. * SizeGripStyle.cs: Enum for Form.
  22933. 2004-10-15 09:08 ravindra
  22934. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  22935. in Theme for ListView.
  22936. 2004-10-15 09:06 ravindra
  22937. * ColumnHeader.cs: Flushing some formatting changes.
  22938. 2004-10-15 09:05 ravindra
  22939. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  22940. style.
  22941. 2004-10-15 09:03 ravindra
  22942. * ListView.cs: Implemented Paint method and fixed coding style.
  22943. 2004-10-15 07:34 jordi
  22944. * MenuAPI.cs: fix for X11
  22945. 2004-10-15 07:32 ravindra
  22946. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  22947. - Renamed Paint() method to Draw() for clarity. Also, moved
  22948. DrawImage() to OnPaint().
  22949. 2004-10-15 07:25 ravindra
  22950. * CheckBox.cs, RadioButton.cs:
  22951. - Removed Redraw (), we get it from ButtonBase.
  22952. - Implemented Paint (), to do class specific painting.
  22953. 2004-10-15 07:16 ravindra
  22954. * ButtonBase.cs:
  22955. - Redraw () is not virtual now.
  22956. - Added an internal virtual method Paint (), so that
  22957. derived classes can do their painting on their own.
  22958. - Modified OnPaint () to call Paint ().
  22959. 2004-10-15 06:43 jordi
  22960. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  22961. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  22962. 2004-10-15 00:30 ravindra
  22963. * MessageBox.cs:
  22964. - MessageBox on windows does not have min/max buttons.
  22965. This change in CreateParams fixes this on Windows. We
  22966. still need to implement this windowstyle behavior in
  22967. our X11 driver.
  22968. 2004-10-14 05:14 ravindra
  22969. * ToolBar.cs:
  22970. - Changed Redraw () to do a Refresh () always.
  22971. - Fixed the MouseMove event handling when mouse is pressed,
  22972. ie drag event handling.
  22973. - Replaced the usage of ToolBarButton.Pressed property to
  22974. ToolBarButton.pressed internal variable.
  22975. 2004-10-14 05:10 ravindra
  22976. * ToolBarButton.cs:
  22977. - Added an internal member 'inside' to handle mouse move
  22978. with mouse pressed ie mouse drag event.
  22979. - Changed 'Pressed' property to return true only when
  22980. 'inside' and 'pressed' are both true.
  22981. - Some coding style love.
  22982. 2004-10-14 00:17 ravindra
  22983. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  22984. public method.
  22985. 2004-10-14 00:15 ravindra
  22986. * ButtonBase.cs: Redraw () related improvements.
  22987. 2004-10-14 00:14 ravindra
  22988. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  22989. removed unnecessary calls to Button.Show () method.
  22990. 2004-10-13 17:50 pbartok
  22991. * XplatUIX11.cs:
  22992. - Formatting fix
  22993. - Removed destroying of window until we solve the problem of X
  22994. destroying the window before us on shutdown
  22995. 2004-10-13 16:32 pbartok
  22996. * ButtonBase.cs:
  22997. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  22998. 2004-10-13 14:18 pbartok
  22999. * XplatUIX11.cs:
  23000. - Added code to destroy the X window
  23001. 2004-10-13 14:18 pbartok
  23002. * XplatUIWin32.cs:
  23003. - Added code to destroy a window
  23004. 2004-10-13 14:12 pbartok
  23005. * ButtonBase.cs:
  23006. - Added the Redraw on Resize that got dropped in the last rev
  23007. 2004-10-13 09:06 pbartok
  23008. * ThemeWin32Classic.cs:
  23009. - Path from John BouAntoun:
  23010. * Fix check rendering (centre correctly for normal style, offset
  23011. correctly for FlatStyle).
  23012. * Fix border color usage (use backcolor) for FlatStyle.Popup
  23013. * Use checkbox.Capture instead of checkbox.is_pressed when
  23014. rendering flatstyle states.
  23015. 2004-10-12 21:48 pbartok
  23016. * ThemeWin32Classic.cs:
  23017. - Removed all occurences of SystemColors and replaced them with the
  23018. matching theme color
  23019. 2004-10-12 21:41 pbartok
  23020. * ThemeWin32Classic.cs:
  23021. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  23022. him using the function for flatstyle drawing
  23023. - Changed functions to use the new version of CPDrawBorder3D
  23024. 2004-10-12 21:15 pbartok
  23025. * ControlPaint.cs:
  23026. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  23027. match MS documentation. They need to return defined colors if the
  23028. passed color matches the configured control color. Thanks to John
  23029. BouAntoun for pointing this out.
  23030. 2004-10-12 20:57 pbartok
  23031. * Control.cs:
  23032. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  23033. color is changed
  23034. 2004-10-12 20:46 pbartok
  23035. * CheckBox.cs:
  23036. - Fix from John BouAntoun: Now properly sets the Appearance property
  23037. 2004-10-12 20:45 pbartok
  23038. * ThemeWin32Classic.cs:
  23039. - Fixes from John BouAntoun: now handles forecolors and backcolors
  23040. for flatstyle rendered controls much better; It also fixes normal
  23041. checkbox rendering when pushed or disabled.
  23042. 2004-10-08 02:50 jordi
  23043. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  23044. work
  23045. 2004-10-07 08:56 jordi
  23046. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  23047. 2004-10-06 03:59 jordi
  23048. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  23049. XplatUIWin32.cs: removes warnings from compilation
  23050. 2004-10-05 12:23 jackson
  23051. * RadioButton.cs: Fix ctor
  23052. 2004-10-05 11:10 pbartok
  23053. * MessageBox.cs:
  23054. - Partial implementation by Benjamin Dasnois
  23055. 2004-10-05 10:15 jackson
  23056. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  23057. by John BouAntoun
  23058. 2004-10-05 03:07 ravindra
  23059. * ToolBar.cs:
  23060. - Removed a private method, Draw ().
  23061. - Fixed the ButtonDropDown event handling.
  23062. - Fixed MouseMove event handling.
  23063. 2004-10-05 03:04 ravindra
  23064. * ThemeWin32Classic.cs:
  23065. - Added DrawListView method and ListViewDefaultSize property.
  23066. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  23067. - Changed DOS style CRLF to Unix format (dos2unix).
  23068. 2004-10-05 03:03 ravindra
  23069. * Theme.cs:
  23070. - Added DrawListView method and ListViewDefaultSize property.
  23071. 2004-10-05 02:42 ravindra
  23072. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  23073. clicks on DropDown arrow.
  23074. 2004-10-04 22:56 jackson
  23075. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  23076. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  23077. Control handle the buffers, derived classes should not have to
  23078. CreateBuffers themselves.
  23079. 2004-10-04 21:20 jackson
  23080. * StatusBar.cs: The control handles resizing the buffers now.
  23081. 2004-10-04 21:18 jackson
  23082. * Control.cs: When resizing the buffers should be invalidated. This
  23083. should be handled in Control not in derived classes.
  23084. 2004-10-04 14:45 jackson
  23085. * TabPage.cs: oops
  23086. 2004-10-04 02:14 pbartok
  23087. * LeftRightAlignment.cs:
  23088. - Initial check-in
  23089. 2004-10-04 01:09 jordi
  23090. * ThemeWin32Classic.cs: fixes right button position causing right
  23091. button not showing on horizontal scrollbars
  23092. 2004-10-02 13:12 pbartok
  23093. * XplatUIX11.cs:
  23094. - Simplified the Invalidate method by using an X call instead of
  23095. generating the expose ourselves
  23096. - Added an expose when the window background is changed
  23097. - Implemented ClientToScreen method
  23098. 2004-10-02 13:08 pbartok
  23099. * XplatUIWin32.cs:
  23100. - Added Win32EnableWindow method (test for implementing modal
  23101. dialogs)
  23102. - Added ClientToScreen method and imports
  23103. 2004-10-02 13:07 pbartok
  23104. * XplatUI.cs, XplatUIDriver.cs:
  23105. - Added ClientToScreen coordinate translation method
  23106. 2004-10-02 13:06 pbartok
  23107. * KeyPressEventArgs.cs:
  23108. - Fixed access level for constructor
  23109. 2004-10-02 13:06 pbartok
  23110. * NativeWindow.cs:
  23111. - Changed access level for the window_collection hash table
  23112. 2004-10-02 13:05 pbartok
  23113. * Form.cs:
  23114. - Added KeyPreview property
  23115. - Added Menu property (still incomplete, pending Jordi's menu work)
  23116. - Implemented ProcessCmdKey
  23117. - Implemented ProcessDialogKey
  23118. - Implemented ProcessKeyPreview
  23119. 2004-10-02 13:02 pbartok
  23120. * Control.cs:
  23121. - Added private method to get the Control object from the window
  23122. handle
  23123. - Implemented ContextMenu property
  23124. - Implemented PointToScreen
  23125. - Implemented PreProcessMessage
  23126. - Implemented IsInputChar
  23127. - Implemented IsInputKey
  23128. - Implemented ProcessCmdKey
  23129. - Completed ProcessKeyEventArgs
  23130. - Fixed message loop to call the proper chain of functions on key
  23131. events
  23132. - Implemented ProcessDialogChar
  23133. - Implemented ProcessDialogKey
  23134. - Implemented ProcessKeyMessage
  23135. - Implemented ProcessKeyPreview
  23136. - Added RaiseDragEvent stub (MS internal method)
  23137. - Added RaiseKeyEvent stub (MS internal method)
  23138. - Added RaiseMouseEvent stub (MS Internal method)
  23139. - Added RaisePaintEvent stub (MS Internal method)
  23140. - Added ResetMouseEventArgs stub (MS Internal method)
  23141. - Implemented RtlTranslateAlignment
  23142. - Implemented RtlTranslateContent
  23143. - Implemented RtlTranslateHorizontal
  23144. - Implemented RtlTranslateLeftRight
  23145. - Added generation of KeyPress event
  23146. 2004-10-02 05:57 ravindra
  23147. * ListViewItem.cs: Added attributes.
  23148. 2004-10-02 05:32 ravindra
  23149. * ListView.cs: Added attributes.
  23150. 2004-10-01 11:53 jackson
  23151. * Form.cs: Implement the Close method so work on MessageBox can
  23152. continue.
  23153. 2004-09-30 14:06 pbartok
  23154. * XplatUIX11.cs:
  23155. - Bug fixes
  23156. 2004-09-30 11:34 jackson
  23157. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  23158. 2004-09-30 07:26 ravindra
  23159. * ListViewItemConverter.cs: Converter for ListViewItem.
  23160. 2004-09-30 07:26 ravindra
  23161. * SortOrder.cs: Enum for ListView control.
  23162. 2004-09-30 07:25 ravindra
  23163. * ColumnHeader.cs: Supporting class for ListView control.
  23164. 2004-09-30 07:24 ravindra
  23165. * ListView.cs, ListViewItem.cs: Initial implementation.
  23166. 2004-09-30 07:20 ravindra
  23167. * ItemActivation.cs: Enum for ListView Control.
  23168. 2004-09-29 20:29 pbartok
  23169. * XplatUIX11.cs:
  23170. - Added lookup of pixel value for background color; tries to get a
  23171. color 'close' to the requested color, it avoids having to create a
  23172. colormap. Depending on the display this could mean the used color
  23173. is slightly off the desired color. Might have to change it to a more
  23174. resource intensive colormap approach, but it will work as a
  23175. workaround to avoid red screens.
  23176. 2004-09-29 14:27 jackson
  23177. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  23178. 2004-09-28 12:44 pbartok
  23179. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  23180. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  23181. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  23182. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  23183. TrackBar.cs, VScrollBar.cs:
  23184. - Streamlined Theme interfaces:
  23185. * Each DrawXXX method for a control now is passed the object for
  23186. the control to be drawn in order to allow accessing any state the
  23187. theme might require
  23188. * ControlPaint methods for the theme now have a CP prefix to avoid
  23189. name clashes with the Draw methods for controls
  23190. * Every control now retrieves it's DefaultSize from the current
  23191. theme
  23192. 2004-09-28 12:17 jackson
  23193. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  23194. drawing
  23195. 2004-09-24 14:57 jackson
  23196. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  23197. Gives us a nice little performance boost.
  23198. 2004-09-24 12:02 jackson
  23199. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  23200. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  23201. Control and supporting classes. Initial checkin
  23202. 2004-09-23 13:08 jackson
  23203. * Form.cs: Temp build fixage
  23204. 2004-09-23 01:39 ravindra
  23205. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  23206. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  23207. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  23208. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  23209. EventHandlers needed by ListView Control.
  23210. 2004-09-22 14:12 pbartok
  23211. * ScrollableControl.cs:
  23212. - Implemented DockPadding property
  23213. - Implemented AutoScroll property
  23214. - Implemented AutoScrollMargin property
  23215. - Implemented AutoScrollMinSize property
  23216. - Implemented AutoScrollPosition property
  23217. - Implemented DisplayRectangle property (still incomplete)
  23218. - Implemented CreateParams property
  23219. - Implemented HScroll property
  23220. - Implemented VScroll property
  23221. - Implemented OnVisibleChanged property
  23222. 2004-09-22 14:09 pbartok
  23223. * Form.cs:
  23224. - Added Form.ControllCollection class
  23225. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  23226. RemoveOwnedForm (still incomplete, missing on-top and common
  23227. minimize/maximize behaviour)
  23228. - Added StartPosition property (still incomplete, does not use when
  23229. creating the form)
  23230. - Added ShowDialog() methods (still incomplete, missing forcing the
  23231. dialog modal)
  23232. 2004-09-22 14:05 pbartok
  23233. * Application.cs:
  23234. - Added message loop for modal dialogs
  23235. 2004-09-22 14:02 pbartok
  23236. * GroupBox.cs:
  23237. - Fixed wrong types for events
  23238. 2004-09-22 14:00 pbartok
  23239. * Shortcut.cs, FormWindowState.cs:
  23240. - Fixed wrong values
  23241. 2004-09-22 12:01 jackson
  23242. * Control.cs: Text is never null
  23243. 2004-09-20 22:14 pbartok
  23244. * XplatUIWin32.cs:
  23245. - Fixed accessibility level for Idle handler
  23246. 2004-09-20 18:54 jackson
  23247. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23248. XplatUIX11.cs: New message loop that uses poll so we don't get a
  23249. busy loop
  23250. 2004-09-17 10:43 pbartok
  23251. * ScrollBar.cs:
  23252. - Fixed behaviour of arrow buttons. Now properly behaves like
  23253. Buttons (and like Microsoft's scrollbar arrow buttons)
  23254. 2004-09-17 10:14 pbartok
  23255. * ScrollBar.cs:
  23256. - Added missing release of keyboard/mouse capture
  23257. 2004-09-17 06:18 jordi
  23258. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  23259. Theme.cs: Very early menu support
  23260. 2004-09-16 17:45 pbartok
  23261. * XplatUIWin32.cs:
  23262. - Fixed sending a window to the front
  23263. - Added overload for SetWindowPos to avoid casting
  23264. 2004-09-16 17:44 pbartok
  23265. * Control.cs:
  23266. - Added SendToBack and BringToFront methods
  23267. 2004-09-16 07:00 ravindra
  23268. * Copyright: Added Novell URL.
  23269. 2004-09-16 07:00 ravindra
  23270. * ToolBar.cs: Invalidate should be done before redrawing.
  23271. 2004-09-15 21:19 ravindra
  23272. * ColumnHeaderStyle.cs: Enum for ListView Control.
  23273. 2004-09-15 21:18 ravindra
  23274. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  23275. ListView Control.
  23276. 2004-09-13 18:26 jackson
  23277. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  23278. properly
  23279. 2004-09-13 18:13 jackson
  23280. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  23281. a second thread and post messages into the main threads message
  23282. queue. This makes timing much more consistent. Both win2K and XP
  23283. have a minimum timer value of 15 milliseconds, so we now do this
  23284. too.
  23285. 2004-09-13 15:18 pbartok
  23286. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23287. XplatUIX11.cs:
  23288. - Added Z-Ordering methods
  23289. 2004-09-13 10:56 pbartok
  23290. * Form.cs:
  23291. - Fixed #region names
  23292. - Moved properties and methods into their proper #regions
  23293. 2004-09-13 10:51 pbartok
  23294. * Form.cs:
  23295. - Added Accept and CancelButton properties
  23296. - Added ProcessDialogKey() method
  23297. 2004-09-13 08:18 pbartok
  23298. * IWindowTarget.cs:
  23299. - Initial check-in
  23300. 2004-09-10 21:50 pbartok
  23301. * Control.cs:
  23302. - Added DoDragDrop() [incomplete]
  23303. - Properly implemented 'Visible' handling
  23304. - Added SetVisibleCore()
  23305. - Implemented FindChildAtPoint()
  23306. - Implemented GetContainerControl()
  23307. - Implemented Hide()
  23308. 2004-09-10 19:28 pbartok
  23309. * Control.cs:
  23310. - Moved methods into their appropriate #regions
  23311. - Reordered methods within regions alphabetically
  23312. 2004-09-10 18:57 pbartok
  23313. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  23314. - Added method to retrieve text from window
  23315. 2004-09-10 18:56 pbartok
  23316. * Control.cs:
  23317. - Moved some internal functions into the internal region
  23318. - Implemented FontHeight
  23319. - Implemented RenderRightToLeft
  23320. - Implemented ResizeRedraw
  23321. - Implemented ShowFocusCues
  23322. - Implemented ShowKeyboardCues
  23323. - Implemented FromChildHandle
  23324. - Implemented FromHandle
  23325. - Implemented IsMnemonic
  23326. - Implemented ReflectMessage
  23327. - All public and protected Static Methods are now complete
  23328. 2004-09-10 16:54 pbartok
  23329. * Control.cs:
  23330. - Implemented remaining missing public instance properties
  23331. - Alphabetized some out of order properties
  23332. 2004-09-10 05:51 ravindra
  23333. * PictureBox.cs: Added a check for null image.
  23334. 2004-09-10 00:59 jordi
  23335. * GroupBox.cs: remove cvs tag
  23336. 2004-09-09 05:25 ravindra
  23337. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  23338. 2004-09-09 05:23 ravindra
  23339. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  23340. parent redraw.
  23341. 2004-09-09 02:28 pbartok
  23342. * ThemeWin32Classic.cs:
  23343. - Improve disabled string look
  23344. 2004-09-09 01:15 jordi
  23345. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  23346. args and handler
  23347. 2004-09-08 23:56 ravindra
  23348. * ItemBoundsPortion.cs: It's enum, not a class!
  23349. 2004-09-08 23:47 ravindra
  23350. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  23351. Enums for Form.
  23352. 2004-09-08 21:13 ravindra
  23353. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  23354. ListView control.
  23355. 2004-09-08 21:03 ravindra
  23356. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  23357. avoid crash.
  23358. 2004-09-08 21:01 ravindra
  23359. * ScrollableControl.cs: Removed unreachable code.
  23360. 2004-09-08 06:45 jordi
  23361. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  23362. 2004-09-08 01:00 jackson
  23363. * XplatUIX11.cs: Only run the timers when updating the message
  23364. queue. This effectively gives X messages a higher priority then
  23365. timer messages. Timers still need love though
  23366. 2004-09-07 14:01 jackson
  23367. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  23368. this for us and the handle is no longer valid.
  23369. 2004-09-07 13:59 jackson
  23370. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  23371. loop that manages to not crash. TODO: Add poll and cleanup timers
  23372. 2004-09-07 11:12 jordi
  23373. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  23374. 2004-09-07 03:40 jordi
  23375. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  23376. fixes, methods, multiple links
  23377. 2004-09-06 06:55 jordi
  23378. * Control.cs: Caches ClientRectangle rectangle value
  23379. 2004-09-05 02:03 jordi
  23380. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  23381. certain situations
  23382. 2004-09-04 11:10 jordi
  23383. * Label.cs: Refresh when font changed
  23384. 2004-09-02 16:24 pbartok
  23385. * Control.cs:
  23386. - Added sanity check to creation of double buffer bitmap
  23387. 2004-09-02 16:24 pbartok
  23388. * ButtonBase.cs:
  23389. - Fixed selection of text color
  23390. - Fixed handling of resize event; now properly recreates double
  23391. buffering bitmap
  23392. - Added missing assignment of TextAlignment
  23393. - Added proper default for TextAlignment
  23394. 2004-09-02 14:26 pbartok
  23395. * RadioButton.cs:
  23396. - Added missing RadioButton.RadioButtonAccessibleObject class
  23397. 2004-09-02 14:26 pbartok
  23398. * Control.cs:
  23399. - Added missing Control.ControlAccessibleObject class
  23400. - Started to implement Select()ion mechanisms, still very incomplete
  23401. 2004-09-02 14:25 pbartok
  23402. * AccessibleObject.cs:
  23403. - Added missing methods
  23404. 2004-09-02 14:23 pbartok
  23405. * AccessibleNavigation.cs, AccessibleSelection.cs:
  23406. - Initial check-in
  23407. 2004-09-02 10:32 jordi
  23408. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  23409. pool for pens, brushes, and hatchbruses
  23410. 2004-09-01 15:30 jackson
  23411. * StatusBar.cs: Fix typo
  23412. 2004-09-01 14:44 pbartok
  23413. * RadioButton.cs:
  23414. - Fixed state
  23415. 2004-09-01 14:39 pbartok
  23416. * Button.cs, RadioButton.cs:
  23417. - Functional initial check-in
  23418. 2004-09-01 14:01 pbartok
  23419. * CheckBox.cs:
  23420. - Added missing default
  23421. - Added missing region mark
  23422. 2004-09-01 09:10 jordi
  23423. * Label.cs: fixes method signatures, new methods, events, fixes
  23424. autosize
  23425. 2004-09-01 07:19 jordi
  23426. * Control.cs: Init string variables with an empty object
  23427. 2004-09-01 04:20 jordi
  23428. * Control.cs: fires OnFontChanged event
  23429. 2004-08-31 20:07 pbartok
  23430. * ButtonBase.cs:
  23431. - Enabled display of strings
  23432. 2004-08-31 20:05 pbartok
  23433. * Form.cs:
  23434. - Added (partial) implementation of DialogResult; rest needs to be
  23435. implemented when the modal loop code is done
  23436. 2004-08-31 19:55 pbartok
  23437. * CheckBox.cs:
  23438. - Fixed to match the removal of the needs_redraw concept
  23439. 2004-08-31 19:55 pbartok
  23440. * ButtonBase.cs:
  23441. - Removed the rather odd split between 'needs redraw' and redrawing
  23442. - Now handles the events that require regeneration (ambient
  23443. properties and size)
  23444. 2004-08-31 19:41 pbartok
  23445. * Control.cs:
  23446. - Added firing of BackColorChanged event
  23447. - Added TopLevelControl property
  23448. - Fixed handling of WM_ERASEBKGRND message
  23449. 2004-08-31 12:49 pbartok
  23450. * ButtonBase.cs:
  23451. - Removed debug
  23452. - Minor fixes
  23453. 2004-08-31 12:48 pbartok
  23454. * CheckBox.cs:
  23455. - Finished (famous last words)
  23456. 2004-08-31 04:35 jordi
  23457. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  23458. scrolling bugs, adds new methods
  23459. 2004-08-30 14:42 pbartok
  23460. * CheckBox.cs:
  23461. - Implemented CheckBox drawing code
  23462. 2004-08-30 14:42 pbartok
  23463. * ButtonBase.cs:
  23464. - Made Redraw() and CheckRedraw() virtual
  23465. - Improved mouse up/down/move logic to properly track buttons
  23466. 2004-08-30 09:44 pbartok
  23467. * CheckBox.cs:
  23468. - Updated to fix broken build. Not complete yet.
  23469. 2004-08-30 09:28 pbartok
  23470. * CheckState.cs:
  23471. - Initial checkin
  23472. 2004-08-30 09:17 pbartok
  23473. * Appearance.cs:
  23474. - Initial check-in
  23475. 2004-08-27 16:12 ravindra
  23476. * ToolBarButton.cs: Added TypeConverter attribute.
  23477. 2004-08-27 16:07 ravindra
  23478. * ImageIndexConverter.cs: Implemented.
  23479. 2004-08-27 14:17 pbartok
  23480. * Control.cs:
  23481. - Removed unneeded stack vars
  23482. - First attempt to fix sizing issues when layout is suspended
  23483. 2004-08-25 15:35 jordi
  23484. * ScrollBar.cs: more fixes to scrollbar
  23485. 2004-08-25 14:04 ravindra
  23486. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  23487. Added the missing divider code and grip for ToolBar Control.
  23488. 2004-08-25 13:20 pbartok
  23489. * Control.cs:
  23490. - Control now properly passes the ambient background color to child
  23491. controls
  23492. 2004-08-25 13:20 jordi
  23493. * ScrollBar.cs: small bug fix regarding bar position
  23494. 2004-08-25 12:33 pbartok
  23495. * Timer.cs:
  23496. - Now only calls SetTimer or KillTimer if the enabled state has
  23497. changed
  23498. 2004-08-25 12:33 pbartok
  23499. * XplatUIWin32.cs:
  23500. - Fixed timer handling, now seems to work
  23501. - Improved error message for window creation
  23502. 2004-08-25 12:32 pbartok
  23503. * Control.cs:
  23504. - Fixed generation of MouseUp message
  23505. 2004-08-25 12:29 jordi
  23506. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  23507. and fixes for progressbar
  23508. 2004-08-24 18:43 ravindra
  23509. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  23510. in ToolBar control.
  23511. 2004-08-24 17:15 pbartok
  23512. * Panel.cs:
  23513. - Added #region
  23514. - Added missing events
  23515. - Alphabetized
  23516. 2004-08-24 17:14 pbartok
  23517. * StatusBar.cs, PictureBox.cs:
  23518. - Now uses Control's CreateParams
  23519. 2004-08-24 16:36 pbartok
  23520. * XplatUIX11.cs:
  23521. - Fixed background color handling
  23522. - Fixed sending of enter/leave events on a grab
  23523. 2004-08-24 16:35 pbartok
  23524. * X11Structs.cs:
  23525. - Refined definitions for CrossingEvent
  23526. 2004-08-24 12:37 jordi
  23527. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  23528. formmating, methods signature, and adds missing events
  23529. 2004-08-24 12:24 jordi
  23530. * Control.cs: fire OnEnabledChanged event
  23531. 2004-08-24 11:17 pbartok
  23532. * XplatUIWin32.cs:
  23533. - Implemented SetTimer() and KillTimer()
  23534. 2004-08-24 11:16 pbartok
  23535. * XplatUIX11.cs:
  23536. - Now uses Remove instead of Add to kill the timer
  23537. 2004-08-24 10:16 jackson
  23538. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  23539. picture boxes in the theme now. Draw picture box borders and obey
  23540. sizing modes
  23541. 2004-08-24 05:49 jackson
  23542. * Timer.cs: Remove top secret debugging code
  23543. 2004-08-24 05:34 jackson
  23544. * PictureBox.cs: Temp hack to make picture boxes draw their full
  23545. image
  23546. 2004-08-24 05:29 jackson
  23547. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23548. XplatUIX11.cs: Move timers to the driver level. On X they are
  23549. queued by the driver and checked on idle.
  23550. 2004-08-24 01:07 jackson
  23551. * XplatUIX11.cs: Use a queue for async messages instead of passing
  23552. them as ClientMessages since that was totally broken. Also simply
  23553. check for events and return an idle message if none are found. This
  23554. gives us an idle handler, and prevents deadlocking when no messages
  23555. are in the queue.
  23556. 2004-08-23 18:19 ravindra
  23557. * XplatUIWin32.cs: Removed the unwanted destructor.
  23558. 2004-08-23 17:27 pbartok
  23559. * ButtonBase.cs:
  23560. - Finishing touches. Works now, just needs some optimizations.
  23561. 2004-08-23 16:53 jordi
  23562. * ScrollBar.cs: small fix
  23563. 2004-08-23 16:45 pbartok
  23564. * Application.cs:
  23565. - Removed debug output
  23566. - Simplifications
  23567. 2004-08-23 16:43 jordi
  23568. * ScrollBar.cs: [no log message]
  23569. 2004-08-23 16:10 pbartok
  23570. * Form.cs:
  23571. - Fixed handling of WM_CLOSE message
  23572. - Removed debug output
  23573. 2004-08-23 16:09 pbartok
  23574. * Application.cs:
  23575. - Added handling of Idle event
  23576. - Added handling of form closing
  23577. - Fixed reporting of MessageLoop property
  23578. - Removed some unneeded code, should provide a bit of a speedup
  23579. 2004-08-23 15:22 pbartok
  23580. * Control.cs:
  23581. - Added InitLayout() method
  23582. - Added code to properly perform layout when Anchor or Dock property
  23583. is changed
  23584. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  23585. LAMESPEC, tried to do it in a way that makes sense
  23586. 2004-08-23 14:10 jordi
  23587. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  23588. properties and methods
  23589. 2004-08-23 13:55 pbartok
  23590. * Control.cs:
  23591. - Properly fixed Jordi's last fix
  23592. - Now uses Cursor's Position property instead of calling XplatUI
  23593. directly
  23594. 2004-08-23 13:44 jordi
  23595. * PaintEventHandler.cs: Adding missing attribute
  23596. 2004-08-23 13:39 pbartok
  23597. * Cursor.cs:
  23598. - Implemented Position property
  23599. 2004-08-23 13:39 pbartok
  23600. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  23601. - Added method to move mouse cursor
  23602. 2004-08-23 13:39 pbartok
  23603. * XplatUIX11.cs:
  23604. - Fixed setting of background color
  23605. - Added method to move mouse cursor
  23606. 2004-08-23 13:16 jordi
  23607. * Control.cs: avoids null exception
  23608. 2004-08-22 17:46 jackson
  23609. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  23610. PictureBox
  23611. 2004-08-22 17:40 jackson
  23612. * XplatUIX11.cs: Add some missing locks
  23613. 2004-08-22 15:10 pbartok
  23614. * Control.cs, Form.cs:
  23615. - Removed OverlappedWindow style from Control, instead it's default
  23616. now is child
  23617. - Made form windows OverlappedWindow by default
  23618. 2004-08-22 13:34 jackson
  23619. * ScrollBar.cs: Update the position through the Value property so
  23620. the OnValueChanged event is raised.
  23621. 2004-08-22 12:04 pbartok
  23622. * SWF.csproj:
  23623. - Added Cursor.cs and UserControl.cs
  23624. 2004-08-22 12:03 pbartok
  23625. * Cursor.cs:
  23626. - Started implementation, not usable yet
  23627. 2004-08-22 12:00 pbartok
  23628. * UserControl.cs:
  23629. - Implemented UserControl (complete)
  23630. 2004-08-21 19:20 ravindra
  23631. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  23632. 2004-08-21 18:49 ravindra
  23633. * ToolBar.cs: Probably this completes the missing attributes in
  23634. toolbar control.
  23635. 2004-08-21 18:03 ravindra
  23636. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  23637. Fixed toolbar control signatures.
  23638. 2004-08-21 16:32 pbartok
  23639. * LinkLabel.cs:
  23640. - Signature Fixes
  23641. 2004-08-21 16:30 pbartok
  23642. * Label.cs:
  23643. - Signature fixes
  23644. 2004-08-21 16:19 pbartok
  23645. * Control.cs, Label.cs:
  23646. - Signature fixes
  23647. 2004-08-21 15:57 pbartok
  23648. * ButtonBase.cs:
  23649. - Added loads of debug output for development
  23650. - Fixed typo in method name
  23651. 2004-08-21 15:52 pbartok
  23652. * ToolBarButtonClickEventArgs.cs:
  23653. - Added missing base class
  23654. 2004-08-21 14:53 pbartok
  23655. * Control.cs:
  23656. - Updated to match new GrabWindow signature
  23657. 2004-08-21 14:51 pbartok
  23658. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23659. - Added method to get default display size
  23660. 2004-08-21 14:23 pbartok
  23661. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23662. - Added method to query current grab state
  23663. - Added argument to allow confining a grab to a window
  23664. 2004-08-21 14:22 pbartok
  23665. * Keys.cs:
  23666. - Added [Flags] attribute so that modifiers can be used in bitwise
  23667. ops
  23668. 2004-08-21 14:21 pbartok
  23669. * TrackBar.cs, ScrollBar.cs:
  23670. - Replaced direct XplatUI calls with their Control counterpart
  23671. 2004-08-21 13:32 pbartok
  23672. * Control.cs:
  23673. - Implemented Created property
  23674. 2004-08-21 13:28 pbartok
  23675. * Control.cs:
  23676. - Implemented ContainsFocus
  23677. 2004-08-21 13:26 pbartok
  23678. * Control.cs:
  23679. - Implemented CausesValidation
  23680. 2004-08-21 13:21 pbartok
  23681. * Control.cs:
  23682. - Implemented CanFocus
  23683. - Implemented CanSelect
  23684. - Implemented Capture
  23685. 2004-08-21 12:35 pbartok
  23686. * XplatUIWin32.cs:
  23687. - Fixed bug with Async message handling
  23688. - Implemented getting the ModifierKeys
  23689. 2004-08-21 12:32 jackson
  23690. * AsyncMethodResult.cs: Make sure we have the mutex before we
  23691. release it. Fixes BeginInvoke on windows
  23692. 2004-08-21 11:31 pbartok
  23693. * XplatUIWin32.cs, XplatUIX11.cs:
  23694. - Drivers now return proper mouse state
  23695. 2004-08-21 10:54 jackson
  23696. * Control.cs: Implement EndInvoke
  23697. 2004-08-21 10:48 jackson
  23698. * Timer.cs: Remove unneeded finalizer
  23699. 2004-08-20 19:52 ravindra
  23700. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  23701. in mouse event handling in the ToolBar control.
  23702. 2004-08-20 19:50 ravindra
  23703. * ImageList.cs: Changed draw method to use the arguments passed in
  23704. to draw the image.
  23705. 2004-08-20 18:58 pbartok
  23706. * XplatUIStructs.cs:
  23707. - Added private message for async communication
  23708. 2004-08-20 17:38 ravindra
  23709. * Control.cs: Made RightToLeft property virtual and removed a
  23710. Console.WriteLine.
  23711. 2004-08-20 14:39 jordi
  23712. * ThemeGtk.cs: use style_attach
  23713. 2004-08-20 14:39 pbartok
  23714. * XplatUIWin32.cs:
  23715. - Added jackson's Async code from X11 to Win32
  23716. 2004-08-20 14:09 pbartok
  23717. * SWF.csproj:
  23718. - Added all new files
  23719. 2004-08-20 14:09 pbartok
  23720. * Control.cs:
  23721. - Added call to set window background color
  23722. 2004-08-20 14:03 pbartok
  23723. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  23724. - Added method for setting the window background
  23725. 2004-08-20 14:02 pbartok
  23726. * XplatUIWin32.cs:
  23727. - Added method for setting the background color
  23728. - Added handling for erasing the window background
  23729. 2004-08-20 13:45 jordi
  23730. * TrackBar.cs: fixes timer, new properties and methods
  23731. 2004-08-20 13:34 jackson
  23732. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  23733. correct thread
  23734. 2004-08-20 13:22 jackson
  23735. * Timer.cs: Timer Tick events are now handed through Controls Async
  23736. mechanism so the callbacks are executed in the same thread as X
  23737. 2004-08-20 13:19 jackson
  23738. * XplatUIDriver.cs: Expose functionality to send async messages
  23739. through the driver
  23740. 2004-08-20 13:18 jackson
  23741. * Control.cs: Implement Begininvoke
  23742. 2004-08-20 13:14 jackson
  23743. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  23744. messages through the driver
  23745. 2004-08-20 13:12 jackson
  23746. * XplatUIX11.cs: Lock before all X operations. Also added Async
  23747. method functionality through XSendEvent
  23748. 2004-08-20 13:11 jackson
  23749. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  23750. This will screw up on 64 bit systems)
  23751. 2004-08-20 13:10 jackson
  23752. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  23753. Async messages through X/Win32
  23754. 2004-08-19 19:39 pbartok
  23755. * XplatUIX11.cs:
  23756. - Updated code to match new HandleData.DeviceContext type
  23757. 2004-08-19 19:38 pbartok
  23758. * HandleData.cs:
  23759. - Made DeviceContext a generic object to allow usage from various
  23760. drivers
  23761. - Added support for queueing Windows messages
  23762. 2004-08-19 19:37 pbartok
  23763. * XplatUIWin32.cs:
  23764. - Added generation of MouseEnter, MouseLeave and MouseHover events
  23765. - Added cleanup on EndPaint
  23766. 2004-08-19 19:17 pbartok
  23767. * Control.cs:
  23768. - Added handling of WM_MOUSEHOVER
  23769. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  23770. code
  23771. 2004-08-19 18:55 jordi
  23772. * ThemeGtk.cs: fixes button order
  23773. 2004-08-19 18:12 jordi
  23774. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  23775. 2004-08-19 17:09 pbartok
  23776. * Control.cs:
  23777. - Added Right property
  23778. - Added RightToLeft property
  23779. 2004-08-19 16:27 jordi
  23780. * ThemeGtk.cs: experimental GTK theme support
  23781. 2004-08-19 16:26 jordi
  23782. * ITheme.cs, Theme.cs: move themes from an interface to a class
  23783. 2004-08-19 16:25 jordi
  23784. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  23785. theme enhancaments
  23786. 2004-08-19 16:04 pbartok
  23787. * XplatUIX11.cs:
  23788. - Added colormap basics
  23789. - Added a way to re-initialize with a different display handle
  23790. - Fixed setting of the window background color
  23791. - Added various X11 imports related to colors and colormaps
  23792. 2004-08-19 15:51 pbartok
  23793. * X11Structs.cs:
  23794. - Removed packing hints (Paolo suggested this a while back)
  23795. - fixed colormap type
  23796. - Added default Atom types
  23797. - Added Screen and color structs and enums
  23798. 2004-08-19 15:39 pbartok
  23799. * ImageList.cs:
  23800. - Added missing Draw() method
  23801. - Added missing RecreateHandle event
  23802. 2004-08-19 15:30 pbartok
  23803. * Form.cs:
  23804. - Added handling of WM_CLOSE
  23805. 2004-08-18 13:16 jordi
  23806. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  23807. a table
  23808. 2004-08-18 09:56 jordi
  23809. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  23810. 2004-08-17 15:31 ravindra
  23811. * SWF.csproj: Updated project.
  23812. 2004-08-17 15:25 pbartok
  23813. * Control.cs:
  23814. - Drawing improvement; don't call UpdateBounds if we are not visible
  23815. (or have been minimized)
  23816. 2004-08-17 15:24 pbartok
  23817. * XplatUIWin32.cs:
  23818. - Finished IsVisible
  23819. - Added Win32GetWindowPlacement
  23820. 2004-08-17 15:08 jackson
  23821. * Panel.cs: Initial checkin of the Panel
  23822. 2004-08-17 14:25 pbartok
  23823. * Control.cs:
  23824. - Fixed broken handling of default window sizes
  23825. 2004-08-17 13:29 jackson
  23826. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  23827. has a large startup time.
  23828. 2004-08-17 10:25 jackson
  23829. * HandleData.cs: union areas properly
  23830. 2004-08-17 10:12 jackson
  23831. * HandleData.cs: union areas properly
  23832. 2004-08-16 20:00 ravindra
  23833. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  23834. 2004-08-16 18:48 ravindra
  23835. * ToolBar.cs: Added attributes.
  23836. 2004-08-16 17:17 ravindra
  23837. * SWF.csproj: Updated project.
  23838. 2004-08-16 17:16 jackson
  23839. * XplatUIX11.cs: Check for more expose events before sending a
  23840. WM_PAINT so they can all be grouped together. This makes dragging a
  23841. window across another window redraw in a sane way.
  23842. 2004-08-16 15:47 pbartok
  23843. * Control.cs:
  23844. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  23845. support OnMouseEnter/Leave()
  23846. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  23847. exposure handling
  23848. 2004-08-16 15:46 pbartok
  23849. * XplatUIStructs.cs, XplatUIX11.cs:
  23850. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  23851. OnMouseEnter/Leave()
  23852. 2004-08-16 15:34 jackson
  23853. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  23854. sure messages get the message field set to WM_NULL if they are not
  23855. handled.
  23856. 2004-08-16 15:24 jackson
  23857. * HandleData.cs: HandleData is used for storing message information
  23858. for window handles
  23859. 2004-08-15 17:23 ravindra
  23860. * ColorDepth.cs: Added attribute.
  23861. 2004-08-15 17:23 ravindra
  23862. * SWF.csproj: Updated project for ToolBar Control.
  23863. 2004-08-15 17:20 ravindra
  23864. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  23865. control and also dos2unix format.
  23866. 2004-08-15 17:13 ravindra
  23867. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  23868. ToolBarButtonClickEventArgs.cs,
  23869. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  23870. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  23871. 2004-08-15 15:31 pbartok
  23872. * ButtonBase.cs:
  23873. - First (mostly) working version
  23874. 2004-08-13 16:15 pbartok
  23875. * Control.cs:
  23876. - Fixed Anchor default
  23877. 2004-08-13 15:43 pbartok
  23878. * Control.cs:
  23879. - Changed GetCursorPos signature
  23880. 2004-08-13 15:42 pbartok
  23881. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  23882. - Changed signature for GetCursorPos
  23883. 2004-08-13 15:25 pbartok
  23884. * XplatUIX11.cs:
  23885. - Cleanup
  23886. - Fixed resizing/exposure handling
  23887. 2004-08-13 15:22 jordi
  23888. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  23889. with tickposition
  23890. 2004-08-13 14:55 jordi
  23891. * TrackBar.cs: change from wndproc to events
  23892. 2004-08-13 13:00 jordi
  23893. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23894. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  23895. 2004-08-13 12:53 pbartok
  23896. * XplatUIWin32.cs:
  23897. - Changed GetWindowPos to also provide client area size
  23898. - Fixed broken prototypes for several win32 functions
  23899. 2004-08-13 12:53 pbartok
  23900. * XplatUI.cs, XplatUIDriver.cs:
  23901. - Changed GetWindowPos to also provide client area size
  23902. 2004-08-13 12:52 pbartok
  23903. * XplatUIX11.cs:
  23904. - Added generation of WM_POSCHANGED
  23905. - Changed GetWindowPos to also provide client area size
  23906. 2004-08-13 12:52 pbartok
  23907. * Control.cs:
  23908. - Added Dispose() and destructor
  23909. - Fixed resizing and bounds calculation
  23910. - Fixed Layout
  23911. - Added memory savings for invisible windows
  23912. 2004-08-13 12:46 jordi
  23913. * TrackBar.cs: adds timer and grap window
  23914. 2004-08-13 10:25 jackson
  23915. * Timer.cs: SWF Timer
  23916. 2004-08-12 16:59 pbartok
  23917. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23918. - Implemented method to get current mouse position
  23919. 2004-08-12 14:29 jordi
  23920. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  23921. enhancement, fix mouse problems, highli thumb, etc
  23922. 2004-08-12 13:31 pbartok
  23923. * Control.cs:
  23924. - Fixed Anchoring bugs
  23925. 2004-08-12 13:01 jackson
  23926. * StatusBar.cs: Don't forget things
  23927. 2004-08-12 12:54 jackson
  23928. * ThemeWin32Classic.cs: Handle owner draw status bars
  23929. 2004-08-12 12:54 jackson
  23930. * StatusBar.cs: Implement missing properties, events, and methods.
  23931. Handle mouse clicking
  23932. 2004-08-12 10:19 jackson
  23933. * StatusBarPanelClickEventArgs.cs,
  23934. StatusBarPanelClickEventHandler.cs: Classes for handling status
  23935. bar panel click events
  23936. 2004-08-12 10:10 jackson
  23937. * Control.cs: Add missing properties
  23938. 2004-08-12 09:46 pbartok
  23939. * BindingsManagerBase.cs:
  23940. - Name changed to BindingManagerBase.cs
  23941. 2004-08-12 09:25 jordi
  23942. * ScrollableControl.cs: calls ctrlbase instead of exeception
  23943. 2004-08-11 16:28 pbartok
  23944. * InputLanguageChangingEventArgs.cs:
  23945. - Never check in before compiling. Fixes the last check-in
  23946. 2004-08-11 16:26 pbartok
  23947. * InputLanguageChangingEventArgs.cs:
  23948. - More signature fixes
  23949. 2004-08-11 16:20 pbartok
  23950. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  23951. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  23952. ImageListStreamer.cs, InputLanguage.cs,
  23953. InputLanguageChangedEventArgs.cs,
  23954. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  23955. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  23956. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  23957. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23958. - Signature fixes
  23959. 2004-08-11 16:16 pbartok
  23960. * Application.cs:
  23961. - Fixed Signature
  23962. - Added .Net 1.1 method
  23963. 2004-08-11 15:25 pbartok
  23964. * SWF.csproj:
  23965. - Fixed BindingManagerBase.cs filename
  23966. 2004-08-11 15:22 pbartok
  23967. * BindingManagerBase.cs:
  23968. - Was checked in with wrong filename
  23969. 2004-08-11 14:50 pbartok
  23970. * SWF.csproj:
  23971. - Updated
  23972. 2004-08-11 13:41 jordi
  23973. * XplatUIWin32.cs: Fixes ClientRect
  23974. 2004-08-11 13:19 pbartok
  23975. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  23976. XplatUIX11.cs:
  23977. - We had SetWindowPos and MoveWindow to set window positions and
  23978. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  23979. keep SetWindowPos as matching counterpart
  23980. - Added some X11 sanity checking
  23981. 2004-08-11 12:59 pbartok
  23982. * Control.cs:
  23983. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  23984. (It seems that SetBounds is just a front for SetBoundsCore and
  23985. SetBoundsCore updates the underlying window system and
  23986. UpdateBounds is responsible for updating the variables associated
  23987. with the Control and sending the events)
  23988. - Major cleanup of Size handling; we now have two sizes, client_size
  23989. and bounds. Bounds defines the window with decorations, client_size
  23990. without them.
  23991. 2004-08-11 12:55 pbartok
  23992. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  23993. - Added method to calculate difference between decorated window and
  23994. raw client area
  23995. 2004-08-11 12:54 pbartok
  23996. * Label.cs:
  23997. - Forcing redraw on resize
  23998. 2004-08-11 11:43 pbartok
  23999. * ImageList.cs:
  24000. - Removed disposing of the actual images when the list is disposed
  24001. 2004-08-11 09:13 pbartok
  24002. * Control.cs:
  24003. - Now properly reparents windows
  24004. 2004-08-11 08:37 pbartok
  24005. * Control.cs:
  24006. - Duh!
  24007. 2004-08-11 07:47 pbartok
  24008. * Control.cs:
  24009. - Rewrote the collection stuff. Might not be as fast now, not
  24010. keeping the number of children around and accessible directly, but
  24011. it's more straightforward
  24012. 2004-08-11 07:44 pbartok
  24013. * AccessibleObject.cs:
  24014. - Fixed to match ControlCollection rewrite
  24015. 2004-08-11 07:43 pbartok
  24016. * ImageList.cs:
  24017. - Added missing creation of the collection list
  24018. 2004-08-10 20:08 jackson
  24019. * StatusBar.cs: Get the paint message from WndProc
  24020. 2004-08-10 19:31 jackson
  24021. * ThemeWin32Classic.cs: Create Brushes as little as possible
  24022. 2004-08-10 19:20 jackson
  24023. * UICues.cs: Add Flags attribute
  24024. 2004-08-10 19:19 jackson
  24025. * StatusBarPanel.cs: Signature cleanup
  24026. 2004-08-10 19:10 jackson
  24027. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  24028. Initial implementation of status bar item drawing
  24029. 2004-08-10 17:27 jordi
  24030. * TrackBar.cs: add missing methods, properties, and restructure to
  24031. hide extra ones
  24032. 2004-08-10 16:24 jackson
  24033. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  24034. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  24035. attribute
  24036. 2004-08-10 13:21 jordi
  24037. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  24038. enhancements and standarize on win colors defaults
  24039. 2004-08-10 12:52 jackson
  24040. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  24041. ThemeWin32Classic.cs: Implement DrawItem functionality
  24042. 2004-08-10 12:47 jordi
  24043. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  24044. 2004-08-10 12:32 jordi
  24045. * Control.cs: throw ontextchange event
  24046. 2004-08-10 11:43 pbartok
  24047. * Control.cs:
  24048. - Added more to the still unfinished Dock/Anchor layout code
  24049. 2004-08-10 11:39 pbartok
  24050. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  24051. - Added GetWindowPos method
  24052. 2004-08-10 11:36 pbartok
  24053. * XplatUIWin32.cs:
  24054. - Implemented several methods
  24055. 2004-08-10 09:47 jackson
  24056. * TrackBar.cs: Allow control to handle buffering
  24057. 2004-08-10 09:41 jackson
  24058. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  24059. 2004-08-10 09:24 jackson
  24060. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  24061. 2004-08-10 09:09 jackson
  24062. * StatusBar.cs: Let Control handle all the buffering.
  24063. 2004-08-10 09:08 jackson
  24064. * Control.cs: Control will now handle the buffering code, so each
  24065. control does not have to implement this.
  24066. 2004-08-10 08:34 jackson
  24067. * XplatUIDriver.cs: Use default colors from the theme
  24068. 2004-08-09 17:12 pbartok
  24069. * ImageList.cs:
  24070. - Fixed several bugs Ravindra pointed out
  24071. 2004-08-09 16:11 pbartok
  24072. * Control.cs:
  24073. - Added incomplete dock layout code
  24074. - Added support for mouse wheel
  24075. 2004-08-09 16:09 pbartok
  24076. * XplatUIX11.cs:
  24077. - Added handling for middle and right mousebutton
  24078. - Added handling for mouse wheel
  24079. - Added handling for key state and mouse state and position
  24080. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  24081. messages
  24082. 2004-08-09 15:40 jackson
  24083. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  24084. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  24085. checkin
  24086. 2004-08-09 15:37 jackson
  24087. * StatusBar.cs: Initial implementation of StatusBar
  24088. 2004-08-09 15:36 jackson
  24089. * ITheme.cs: Add support for drawing status bar and getting status
  24090. bar item sizes
  24091. 2004-08-09 15:35 pbartok
  24092. * MouseButtons.cs:
  24093. - Fixed values
  24094. 2004-08-09 15:34 jackson
  24095. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  24096. status bar item sizes
  24097. 2004-08-09 15:21 jackson
  24098. * ThemeWin32Classic.cs: Use known colors for default control
  24099. colours
  24100. 2004-08-09 15:12 jackson
  24101. * ThemeWin32Classic.cs: Make the default font static, it is static
  24102. in control so this doesn't change functionality and creating fonts
  24103. is sloooooow.
  24104. 2004-08-09 14:56 pbartok
  24105. * X11Structs.cs:
  24106. - Added GrabMode enum
  24107. 2004-08-09 14:55 pbartok
  24108. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24109. - Removed Run method, was only required for initial development
  24110. 2004-08-09 14:51 pbartok
  24111. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  24112. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  24113. capture
  24114. 2004-08-09 13:48 pbartok
  24115. * XplatUIX11.cs:
  24116. - Fixed default sizing for child windows
  24117. 2004-08-09 12:56 pbartok
  24118. * XplatUIX11.cs:
  24119. - Added generation of WM_DESTROY message
  24120. - Added handling of window manager induced shutdown
  24121. 2004-08-09 11:31 jackson
  24122. * ThemeWin32Classic.cs: New names for control properties
  24123. 2004-08-09 11:25 jackson
  24124. * Control.cs: Use new color names
  24125. 2004-08-09 11:02 jackson
  24126. * XplatUI.cs: Get default window properties from the theme
  24127. 2004-08-09 11:01 jackson
  24128. * ITheme.cs: The theme engine now controls default window
  24129. properties
  24130. 2004-08-09 11:00 jackson
  24131. * ThemeWin32Classic.cs: Add default window color properties
  24132. 2004-08-09 10:17 jackson
  24133. * ThemeWin32Classic.cs: Use correct default back color
  24134. 2004-08-09 10:05 jackson
  24135. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  24136. the theme now.
  24137. 2004-08-09 09:56 jackson
  24138. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  24139. 2004-08-09 09:54 jackson
  24140. * Control.cs: Get default properties from the theme.
  24141. 2004-08-09 09:53 jackson
  24142. * ITheme.cs: Themes now handle default control properties
  24143. 2004-08-09 09:53 jackson
  24144. * ThemeWin32Classic.cs: Themes now handle default control
  24145. properties so coloring will be consistent
  24146. 2004-08-08 16:54 jordi
  24147. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  24148. 2004-08-08 15:08 jordi
  24149. * XplatUIX11.cs: fixes keyboard crash
  24150. 2004-08-08 13:47 jordi
  24151. * Label.cs: add cvs header info
  24152. 2004-08-08 12:09 jackson
  24153. * ThemeWin32Classic.cs: Add pen_buttonface
  24154. 2004-08-08 11:52 jordi
  24155. * Label.cs, LinkLabel.cs: [no log message]
  24156. 2004-08-08 11:34 jordi
  24157. * ThemeWin32Classic.cs: Use Windows Standard Colours
  24158. 2004-08-07 17:32 jordi
  24159. * TrackBar.cs: throw exceptions of invalid enums values
  24160. 2004-08-07 17:31 jordi
  24161. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  24162. draw method name
  24163. 2004-08-07 16:56 jackson
  24164. * HorizontalAlignment.cs: Initial checkin
  24165. 2004-08-07 13:16 jordi
  24166. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  24167. methods
  24168. 2004-08-07 13:05 jordi
  24169. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  24170. GetSysColor defines
  24171. 2004-08-06 18:01 pbartok
  24172. * ThemeWin32Classic.cs:
  24173. - Fixed some rounding issues with float/int
  24174. 2004-08-06 18:00 jackson
  24175. * DockStyle.cs, AnchorStyles.cs:
  24176. Add flags and serializable attributes.
  24177. 2004-08-06 17:46 pbartok
  24178. * XplatUIX11.cs:
  24179. - Implemented GetParent
  24180. 2004-08-06 17:18 pbartok
  24181. * TrackBar.cs:
  24182. - Fixed some rounding issues with float/int
  24183. 2004-08-06 17:17 pbartok
  24184. * X11Structs.cs, XplatUIX11.cs:
  24185. - Fixed Refresh and Invalidate
  24186. 2004-08-06 15:30 pbartok
  24187. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  24188. - Fixed recursive loop when resizing
  24189. - Improved/fixed redrawing on expose messages
  24190. 2004-08-06 09:53 jordi
  24191. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  24192. keyboard navigation
  24193. 2004-08-06 08:02 pbartok
  24194. * X11Structs.cs, XplatUIX11.cs:
  24195. - Fixed reparenting
  24196. - Fixed window border creation
  24197. 2004-08-05 15:38 pbartok
  24198. * XplatUIX11.cs:
  24199. - Attempted fix for reparenting problems
  24200. 2004-08-04 15:14 pbartok
  24201. * Control.cs:
  24202. - Fixed Invalidation bug (calculated wrong client area)
  24203. - Added ClientSize setter
  24204. 2004-08-04 15:13 pbartok
  24205. * Form.cs:
  24206. - Added AutoScale properties
  24207. 2004-08-04 15:13 pbartok
  24208. * SWF.csproj:
  24209. - Added latest files
  24210. 2004-08-04 14:11 pbartok
  24211. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  24212. XplatUIX11.cs:
  24213. - Added Invalidate handling
  24214. 2004-08-03 17:09 jordi
  24215. * XplatUIDriver.cs: fixes spelling mistake
  24216. 2004-07-27 09:53 jordi
  24217. * TrackBar.cs: fixes trackbar events, def classname, methods
  24218. signature
  24219. 2004-07-27 09:29 jordi
  24220. * ScrollBar.cs: fixes scrollbar events
  24221. 2004-07-27 04:38 jordi
  24222. * Control.cs: changes to be able to run winforms samples
  24223. 2004-07-26 11:42 jordi
  24224. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  24225. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  24226. 2004-07-26 05:41 jordi
  24227. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  24228. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  24229. implementation
  24230. 2004-07-22 09:22 jordi
  24231. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  24232. check link overlapping, implement events, and fixes
  24233. 2004-07-21 10:28 jordi
  24234. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  24235. 2004-07-21 10:19 jordi
  24236. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  24237. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  24238. LinkLabelLinkClickedEventArgs.cs,
  24239. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  24240. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  24241. implementation
  24242. 2004-07-19 13:09 jordi
  24243. * Control.cs, Label.cs: label control re-written: added missing
  24244. functionlity, events, and properties
  24245. 2004-07-19 10:49 jordi
  24246. * Control.cs: fixes SetBounds logic
  24247. 2004-07-19 01:29 jordi
  24248. * Control.cs: Call RefreshWindow only if the window has created
  24249. 2004-07-15 14:05 pbartok
  24250. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  24251. - Implemented ImageList and ImageList.ImageCollection classes
  24252. - Added ColorDepth enumeration
  24253. - Updated SWF VS.Net project
  24254. 2004-07-15 11:06 jordi
  24255. * XplatUIStructs.cs: added MsgButons enum
  24256. 2004-07-15 11:03 jordi
  24257. * Control.cs: added basic mouse handeling events
  24258. 2004-07-15 03:38 jordi
  24259. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  24260. Vertical TrackBar control implementation
  24261. 2004-07-13 09:33 jordi
  24262. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  24263. 2004-07-13 09:31 jordi
  24264. * Control.cs, Form.cs: commit: new properties and fixes form size
  24265. problems
  24266. 2004-07-09 14:13 miguel
  24267. * ProgressBar.cs: Spelling
  24268. 2004-07-09 11:25 pbartok
  24269. * ProgressBar.cs:
  24270. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  24271. faster
  24272. 2004-07-09 11:17 miguel
  24273. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  24274. * ProgressBar.cs: Fixed spelling for `block'
  24275. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  24276. style guidelines.
  24277. Avoid using the += on rect.X, that exposed a bug in the compiler.
  24278. 2004-07-08 23:21 pbartok
  24279. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  24280. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  24281. BaseCollection.cs, Binding.cs, BindingContext.cs,
  24282. BindingMemberInfo.cs, BindingsCollection.cs,
  24283. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  24284. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  24285. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  24286. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  24287. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  24288. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  24289. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  24290. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  24291. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  24292. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  24293. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  24294. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  24295. InputLanguageChangedEventArgs.cs,
  24296. InputLanguageChangedEventHandler.cs,
  24297. InputLanguageChangingEventArgs.cs,
  24298. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  24299. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  24300. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  24301. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  24302. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  24303. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  24304. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  24305. QueryAccessibilityHelpEventArgs.cs,
  24306. QueryAccessibilityHelpEventHandler.cs,
  24307. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  24308. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  24309. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  24310. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  24311. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  24312. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  24313. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  24314. XplatUIX11.cs, lang.cs:
  24315. - Initial check-in