ChangeLog 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879
  1. 2008-11-24 Jonathan Pobst <[email protected]>
  2. * DataGridView.cs: Listen for a DataTable's TableCleared event so we
  3. can clear ourselves when it is raised, we don't have a newrowindex
  4. if we don't have any columns.
  5. * DataGridViewRowCollection.cs: Ensure we always delete all the rows,
  6. re-index after each delete so the NewRow will have the correct index.
  7. [Fixes bug #448005]
  8. 2008-11-24 Jonathan Pobst <[email protected]>
  9. * Form.cs: Don't change min/max size if it is empty.
  10. [Fixes bug #447873]
  11. 2008-11-23 Carlos Alberto Cortez <[email protected]>
  12. * ScrollBar.cs:
  13. * ScrollableControl.cs: When the manual thumb size is used, the
  14. maximum allowed value should depend on that thumb size, instead of
  15. LargeChange (using the maximum - LargeChange + 1 value). But
  16. LargeChange should be used normally when incrementing/decrementing.
  17. Fixes the remaining part of #441546.
  18. 2008-11-23 Andreia Gaita <[email protected]>
  19. * WebBrowser.cs, WebBrowserBase.cs: Delay loading of DocumentStream
  20. until an about:blank has been loaded (according to spec). Fix
  21. ScrollbarsEnabled to set when a document is loaded (since we use js
  22. for it). Fix url so it reflects the current loading document and not
  23. the previous one. Send StatusChanged events.
  24. 2008-11-23 Andreia Gaita <[email protected]>
  25. * Application.cs: If a message comes in for an embedded control
  26. (like webbrowser) when we're capturing the keyboard, release the
  27. capture and continue.
  28. [fixes #429462]
  29. 2008-11-22 Andreia Gaita <[email protected]>
  30. * XplatUI.cs: Only use PlatformID.MacOSX enum when not building on VS
  31. 2008-11-21 Andreia Gaita <[email protected]>
  32. * WebBrowser.cs, HtmlDocument.cs: Fixes for #428172
  33. 2008-11-21 Carlos Alberto Cortez <[email protected]>
  34. * ScrollBar.cs:
  35. * ScrollableControl.cs: Set manually the thumb size for the
  36. ScrollableControl scrollbars, so any further changes to the underneath
  37. scrollbars respect the original size.
  38. Fixes part of #441546.
  39. 2008-11-21 Geoff Norton <[email protected]>
  40. * XplatUI.cs: Ensure that we can run on .net 2.0 with mono 2.2 where
  41. PlatformID.MacOSX now exists.
  42. 2008-11-20 Jonathan Pobst <[email protected]>
  43. * TextBoxBase.cs: Provide a default implementation for ChangeBackColor.
  44. Having something internal abstract isn't very nice for people who want
  45. to inherit from this class.
  46. 2008-11-20 Jonathan Pobst <[email protected]>
  47. * ToolStripItem.cs: Don't crash if ImageIndex or ImageKey is set to an
  48. invalid value. Just return null for the Image, and use the ImageList's
  49. ImageSize for calculations.
  50. 2008-11-20 Jonathan Pobst <[email protected]>
  51. * ComboBox.cs: Call HideWindow instead of Hide when closing the dropdown
  52. through DroppedDown so the proper events get called and state gets reset.
  53. [Fixes bug #446805]
  54. 2008-11-18 Jonathan Pobst <[email protected]>
  55. * DataGridViewColumnCollection.cs: Make sure we re-index the columns after
  56. the collection is modified.
  57. 2008-11-17 Jonathan Pobst <[email protected]>
  58. * DomainUpDown.cs: Remove string cache and reflection optimizations. They
  59. aren't always correct, and fixing them for every case is not worth the
  60. negligible benefit they provide.
  61. [Fixes bug #445713]
  62. 2008-11-17 Jonathan Pobst <[email protected]>
  63. * DataGridView.cs: We should never add actual cells to the RowTemplate.
  64. Internally, use RowTemplateFull to give us a new row with cells.
  65. * DataGridViewColumnCollection.cs: Clear Rows when we clear Columns.
  66. * DataGridViewRowCollection.cs: Use RowTemplateFull.
  67. 2008-11-17 Carlos Alberto Cortez <[email protected]>
  68. * XplatUIX11.cs: Forms without borders should be able to change its
  69. size - specially they should be able to be maximized, adding the
  70. respective MotifFunctions.Resize bit when setting window properties as
  71. well as *not* marking the Hwnd as size fixed.
  72. Fixes #444347.
  73. 2008-11-12 Jonathan Pobst <[email protected]>
  74. * DataGridViewCellStyle.cs: Allow SelectionBackColor to have
  75. an alpha value.
  76. [Fixes bug #444348]
  77. 2008-11-11 Jonathan Pobst <[email protected]>
  78. * DataGridView.cs: Add internal to OnAutoSizeColumnModeChanged.
  79. * DataGridViewColumn.cs: Recalculate columns when AutoSizeMode changes. Raise
  80. AutoSizeColumnModeChanged.
  81. [Fixes bug #443609]
  82. 2008-11-11 Jonathan Pobst <[email protected]>
  83. * DataGridViewRowCollection.cs: Guard against the user deleting the
  84. NewRow. Add an internal delete so we can still delete it.
  85. * DataGridView.cs: Use the new internal delete when deleting the NewRow.
  86. [Fixes bug #442181]
  87. 2008-11-10 Jonathan Pobst <[email protected]>
  88. * TextControl.cs: Add some order of operation to our math so
  89. we don't end up with a negative height for our invalidate rect.
  90. [Fixes bug #381889]
  91. 2008-11-10 Jonathan Pobst <[email protected]>
  92. * Control.cs: When our enabled changes, notify our implicit children
  93. controls as well as our regular controls.
  94. [Fixes bug #441523]
  95. 2008-11-08 Andreia Gaita <[email protected]>
  96. * HtmlElement.cs: Small code cleanup
  97. 2008-11-06 Carlos Alberto Cortez <[email protected]>
  98. * BindingNavigator.cs: MoveFirstItem should be enabled only if
  99. position is larger than 0, not only different than 0. Also Position
  100. and Count items should be enabled if the BindingSource is non null and
  101. non empty.
  102. Fixes #439961.
  103. 2008-11-05 Jonathan Pobst <[email protected]>
  104. * TabControl.cs: Don't raise SelectedIndexChanged until we have
  105. actually modified the tab collection, so TabCount will be correct.
  106. [Fixes bug #441896]
  107. 2008-11-05 Sandy Armstrong <[email protected]>
  108. * ListViewItem.cs: Mark ListViewSubItem.UIATextChanged event as
  109. NonSerialized to fix serialization of ListViewItem.
  110. 2008-11-04 Mike Gorse <[email protected]>
  111. * ListView.cs: Call OnUIAFocusedItemChanged after completing the
  112. focus change, and always call in SetFocusedItem.
  113. * ListBox.cs: Add UIAFocusedItemChanged as in ListView.
  114. 2008-11-04 Jonathan Pobst <[email protected]>
  115. * ComboBox.cs: Only call OnDrawItem when we are using an OwnerDraw
  116. mode. Based on a patch by John Mortlock.
  117. [Fixes bug #436790]
  118. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  119. * ListView.cs: Use the UsingGroups property where needed, instead of
  120. duplicating the check in other places.
  121. 2008-11-04 Carlos Alberto Cortez <[email protected]>
  122. * ListView.cs: When calculating layout, refresh the count of items
  123. belonging to the default item, insteas of doing it only one time. This
  124. was already working fine for icon views, not not for details.
  125. Fixes #438948.
  126. 2008-11-03 Carlos Alberto Cortez <[email protected]>
  127. * ListView.cs:
  128. * ListViewItem.cs:
  129. * ThemeWin32Classic.cs: Don't render Tile view if there wasn't a call
  130. to Applicatin.EnableVisualStyles, and use LargeIcon view, as .net
  131. does.
  132. Fixes #437933.
  133. 2008-11-03 Sandy Armstrong <[email protected]>
  134. * ListView.cs: Wrap call to OnUIAFocusedItemChanged with #if NET_2_0.
  135. 2008-11-03 Sandy Armstrong <[email protected]>
  136. * ListView.cs: Add internal UIAFocusedItemChanged event. Fixes bug
  137. #441280, patch by Mike Gorse <[email protected]>.
  138. 2008-11-03 Jonathan Pobst <[email protected]>
  139. * TreeView.cs: When doing ExpandAll, don't scroll to the bottom
  140. if there is no scrollbar.
  141. [Fixes bug #440885]
  142. 2008-11-03 Jonathan Pobst <[email protected]>
  143. * ProgressBar.cs, ThemeWin32Classic.cs, ThemeVisualStyles.cs: Commit
  144. patch from Andy Hume that fixes many issues with ProgressBar.
  145. [See bug #440220]
  146. 2008-11-03 Jonathan Pobst <[email protected]>
  147. * Form.cs: Don't allow MinimumSize and MaximumSize to conflict.
  148. [Fixes bug #438866]
  149. 2008-11-03 Sandy Armstrong <[email protected]>
  150. * UpDownBase.cs:
  151. * DomainUpDown.cs:
  152. * NumericUpDown.cs: Internal events added to UpDownBase:
  153. UIAUpButtonClick and UIADownButtonClick. Patch by Neville Gao
  154. <[email protected]>.
  155. 2008-11-03 Sandy Armstrong <[email protected]>
  156. * ToolStripLabel.cs: Internal event added: UIAIsLinkChanged.
  157. 2008-11-02 Carlos Alberto Cortez <[email protected]>
  158. * ListView.cs:
  159. * ThemeWin32Classic.cs: Don't use groups nor insertion mark in
  160. Application.EnableVisualStyles hasn't been called.
  161. Fixes part of #437933.
  162. 2008-10-31 Andreia Gaita <[email protected]>
  163. * Form.cs (SetVisibleCore): since set_ActiveControl no longer calls focus
  164. if the container is not focused already, we need to specifically set
  165. focus to the first available control, or to the form itself if there
  166. are no controls.
  167. 2008-10-31 Andreia Gaita <[email protected]>
  168. activate message fix: a call to .Show now waits until both WM_SHOWWINDOW and
  169. WM_ACTIVATE have been processed before returning, so it is guaranteed that
  170. once it returns and the form is visible, it is actually on the screen on X11
  171. * ContainerControl.cs: Only send focus to the control if the top container
  172. is already focused. This is so that, when a form is first shown, all
  173. the enter/leave events are done first before any focus stuff comes in.
  174. If a control has no top container, there's an extra check on Control.Focus
  175. to make sure it gets focused in this particular case.
  176. * Control.cs: Force focus if the control is active but did not receive
  177. focus after being set as active.
  178. * MdiClient.cs: Dispose the form when closing
  179. * XplatUIX11.cs: When mapping and unmapping windows, make sure the call
  180. doesn't return until both WM_SHOWWINDOW and WM_ACTIVATE have come in
  181. if the window is a top Form.
  182. Reset all hwnd properties when the window has been destroyed so that
  183. we don't land in any codepaths that might try to do something with it.
  184. Added a bunch of debugging messages. If TRACE is defined, all X calls
  185. are logged through DebugHelper. Set a few missing EntryPoint attributes.
  186. 2008-10-29 Mario Carrion <[email protected]>
  187. * ListViewItem.cs: Control enabled to support Accessibility:
  188. - Internal events: UIATextChanged, UIASubItemTextChanged.
  189. - Internal event UIATextChanged in ListViewSubItem that triggers
  190. UIASubItemTextChanged.
  191. * ListView.cs: Control enabled to support Accessibility:
  192. - Internal events: UIACheckBoxesChanged, UIAMultiSelectChanged,
  193. UIAShowGroupsChanged, UIAViewChanged and UIALabelEditChanged.
  194. - Internal event UIACollectionChanged in ColumnHeaderCollection.
  195. - Internal event UIACollectionChanged in ListViewItemCollection.
  196. - Internal properties: UIAHeaderControl, UIAColumns, UIARows,
  197. UIADefaultListViewGroup, UIAHScrollBar and UIAVScrollBar.
  198. - Internal methods: UIAGetHeaderBounds.
  199. 2008-10-25 Carlos Alberto Cortez <[email protected]>
  200. * ScrollableControl.cs: Actually fire the 2.0 Scroll event when we get
  201. the event from the respective scrollbars.
  202. Fixes #436709.
  203. 2008-10-24 Carlos Alberto Cortez <[email protected]>
  204. * ComboBox.cs: Use the new CanNavigateAutoCompleteList property of the
  205. textbox to know whether any navigation key will be handled or not. If
  206. not, don't pass the message to the textbox, and use it here instead.
  207. * TextBox.cs: Define a new CanNavigateAutoCompleteList property -which
  208. is more precise- than the previous AutoCompleteMatches one.
  209. This should the keyboard navigation in ComboBox when using auto
  210. complete modes.
  211. 2008-10-24 Jonathan Pobst <[email protected]>
  212. * ComboBox.cs: Fix item height calculation based off Font to match .Net.
  213. [Fixes bug #436730]
  214. 2008-10-24 Jonathan Pobst <[email protected]>
  215. * ToolStripDropDownItem.cs: Call OnClick instead of base.OnClick so
  216. overridden methods will get called.
  217. * ToolStripItem.cs: Raise Click before MouseUp.
  218. * ToolStripSplitButton.cs: Fix up some bounding rectangles to take
  219. the item's location into account.
  220. [Fixes bug #437683]
  221. 2008-10-24 Neville Gao <[email protected]>
  222. * NumericUpDown.cs: Control enabled to support accessibility.
  223. [Fiexes bug #438135]
  224. 2008-10-23 Carlos Alberto Cortez <[email protected]>
  225. * TextBox.cs: Check that we actually have items no navigate, select
  226. text when pressing enter, as well as handle direction keys only if
  227. mode is different to Suggest or the suggest listbox is visible.
  228. 2008-10-23 Andreia Gaita <[email protected]>
  229. * WebBrowser.cs: Use the new ContentStream property to retrieve
  230. a stream encoded from the document content
  231. 2008-10-23 Andreia Gaita <[email protected]>
  232. * HtmlDocument.cs,
  233. HtmlElement.cs,
  234. HtmlWindow.cs: Fix GetHashcode for null objects
  235. 2008-10-22 Andreia Gaita <[email protected]>
  236. * HtmlDocument.cs,
  237. HtmlElement.cs,
  238. HtmlWindow.cs: Fix equality operators (fixes #428173)
  239. 2008-10-21 Jonathan Pobst <[email protected]>
  240. * XplatUIWin32.cs: Apply patch from John Mortlock that ensures
  241. mouse_state gets set during WM_MOUSEMOVE and WM_NCMOUSEMOVE.
  242. [Fixes bug #436772]
  243. 2008-10-21 Jonathan Pobst <[email protected]>
  244. * ComboBox.cs: Fire SelectedIndexChanged when the user selects the
  245. same item with the mouse as was already selected.
  246. [Fixes bug #436789]
  247. 2008-10-21 Brad Taylor <[email protected]>
  248. * TextControl.cs: Break out code to get the visible range into
  249. GetVisibleLineIndexes to be used in UIA code.
  250. * Line.cs:
  251. * TextControl.cs:
  252. * TextBoxBase.cs: Add comments indicating that the method or property
  253. is used via reflection from UIA code.
  254. 2008-10-20 Carlos Alberto Cortez <[email protected]>
  255. * ListViewItem.cs: Match .net serialization.
  256. Fixes remaining part of #417520.
  257. 2008-10-20 Jonathan Pobst <[email protected]>
  258. * ToolStripProfessionalRenderer.cs: Don't paint over a set BackgroundImage.
  259. 2008-10-20 Mario Carrion <[email protected]>
  260. * ErrorProvider.cs, ToolTip.cs, HelpProvider.cs: UIA internal property
  261. added: UIAToolTipRectangle.
  262. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  263. * ListViewItem.cs: When deserializing enumerate over the data, instead
  264. of accessing the data directly. This way we handle much better the
  265. cases were we lack information.
  266. Fixes #417520.
  267. 2008-10-19 Carlos Alberto Cortez <[email protected]>
  268. * ListView.cs: When removing an item from a main ListView.Items
  269. collection (and not a ListViewGroupCollection.Items one), remove it
  270. also from the group, as .net does. Patch by Mario Carrion (mario at
  271. novell dot com).
  272. Fixes #436653.
  273. 2008-10-19 Andreia Gaita <[email protected]>
  274. * Form.cs: Forms that get closed without a handle being created are
  275. disposed in 2.0. Fixes failing FormTest.FormClose and
  276. FormTest.FormClose2 on windows.
  277. 2008-10-18 Carlos Alberto Cortez <[email protected]>
  278. * ListView.cs: If both scrollbars are visible, the vertical one
  279. shouldn't extend too far down.
  280. Fixes #435771.
  281. 2008-10-17 Jonathan Pobst <[email protected]>
  282. * DataGridView.cs: Add the ability to resize columns and rows with
  283. the mouse. Also support double-clicking to autoresize.
  284. * DataGridViewColumn.cs: Invalidate the grid if a column's width changes.
  285. * DataGridViewRow.cs: Invalidate the grid if a row's height changes.
  286. * DataGridViewTextBoxCell.cs: Add 1 to preferred width so ellipsis
  287. isn't shown on autoresize.
  288. [Fixes bug #420193]
  289. 2008-10-17 Mario Carrion <[email protected]>
  290. * ComboBox.cs: Remove UIAListbox.
  291. 2008-10-17 Mario Carrion <[email protected]>
  292. * ComboBox.cs, ListBox.cs: Using added/removed item in
  293. OnUIACollectionChangedEvent instead of index.
  294. 2008-10-17 Jonathan Pobst <[email protected]>
  295. * ComboBox.cs: When we are sorting the items, if the item's type
  296. doesn't support IComparer, use a default one that compares based
  297. off the item's visible text.
  298. [Fixes bug #436328]
  299. 2008-10-17 Carlos Alberto Cortez <[email protected]>
  300. * ColumnHeader.cs: Invalidate ListView.header_control when setting
  301. ImageIndex/ImageKey.
  302. * ThemeWin32Classic.cs: When drawing the column header, draw a image
  303. for the column if available, and make the required adjustments to the
  304. text location.
  305. Fixes #435105.
  306. 2008-10-17 Neville Gao <[email protected]>
  307. * StatusBarPanel.cs: Control enabled to support accessibility.
  308. [Fixes bug #435988]
  309. 2008-10-16 Jonathan Pobst <[email protected]>
  310. * DataGridView.cs: When a user begins an edit in the 'new row',
  311. make that a real row, and add a new 'new row'. If the user
  312. cancels the edit, remove the new 'new row' and reset everything.
  313. Also, ensure UserAddedRow and UserRemovedRow events are raised.
  314. [Fixes bug #430954]
  315. 2008-10-16 Ivan N. Zlatev <[email protected]>
  316. * TableLayoutSettings.cs: Fix NREs when deserializing and
  317. panel is not yet set.
  318. [Fixes bug #436199]
  319. 2008-10-16 Jonathan Pobst <[email protected]>
  320. * DataGridView.cs: Invalidate after deleting a row.
  321. 2008-10-16 Jonathan Pobst <[email protected]>
  322. * DataGridView.cs: Handle Enter and Escape keys.
  323. - Move call to EndEdit to MoveCurrentCell.
  324. - Remove call to EndEdit from navigation key routines.
  325. - Fire CellLeave and CellEnter.
  326. 2008-10-16 Jonathan Pobst <[email protected]>
  327. * DataGridViewCell.cs: Some fixes to the new cell border
  328. painting code.
  329. 2008-10-16 Jonathan Pobst <[email protected]>
  330. * ThemeEngine.cs: Enable visualstyles rendering by default
  331. (on platforms that support it).
  332. 2008-10-15 Ivan N. Zlatev <[email protected]>
  333. * XplatUIX11.cs, XplatUICarbon.cs: Do not Timer.Tick before
  334. MainForm.OnLoad has completed unless DoEvents is forced.
  335. [Fixes bug #412536]
  336. 2008-10-15 Jonathan Pobst <[email protected]>
  337. * ToolTip.cs: Ensure that Timer.Internal cannot be set to 0.
  338. 2008-10-15 Jonathan Pobst <[email protected]>
  339. * Control.cs: Make our implementation of DrawToBitmap better
  340. match WmPaint. [Fixes bug #435579]
  341. 2008-10-14 Andreia Gaita <[email protected]>
  342. * WebBrowser.cs: Use DocumentElement as the document's root for the
  343. whole content. Should fix DocumentText and DocumentStream problems.
  344. 2008-10-14 Jonathan Pobst <[email protected]>
  345. * DataGridViewColumnCollection.cs: Remove calls to OnColumnAddedInternal,
  346. these will get called in DGV.OnCollectionChanged. Make sure
  347. OnCollectionChanged always gets called.
  348. * DataGridView.cs: Make a OnColumnRemovedInternal that removes the cells
  349. from every row. Call this in OnCollectionChanged.
  350. [Fixes bug #433669]
  351. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  352. * ComboBox.cs: WM_KEYDOWN and WM_KEYUP messages should be sent to the
  353. textbox if auto complete is used, since we need to navigate over it.
  354. And in this case don't pass this messages to the base impl. Also hide
  355. the auto complete list box when displaying the drop down listbox.
  356. * TextBox.cs: new internal members to expose some of the auto complete
  357. functionality to combobox.
  358. 2008-10-13 Ivan N. Zlatev <[email protected]>
  359. * XplatUIX11.cs, XplatUICarbon.cs, Form.cs: Do not Timer.Tick before
  360. MainForm.OnLoad has completed.
  361. [Fixes bug #412536]
  362. 2008-10-13 Carlos Alberto Cortez <[email protected]>
  363. * TextBox.cs: Apply an old-approved patch that adds autocomplete's
  364. Append support to this controls. We need it to apply new patches.
  365. 2008-10-12 Carlos Alberto Cortez <[email protected]>
  366. * Control.cs: When updating z order in child controls, send to back
  367. the implicit controls. Also, do it explicitly, instead of making
  368. GetAllControls return the implicit controls in a specific order, and
  369. thus avoid depending on that, which could change in the future.
  370. Fixes #434304.
  371. 2008-10-11 Carlos Alberto Cortez <[email protected]>
  372. * X11Dnd.cs: Try to call Application.DoEvents before returning in a
  373. call to StartDrag, since we must fire DragDrop/DragLeave *before*
  374. that, as .net does - instead of firing DragDrop/DragLeave *after* the
  375. call to Control.DoDragDrop has completed. This is needed since at the
  376. point of returning, we have sent related dnd ClientMessages, but we
  377. need to wait for them to fire the wmf respective ones.
  378. Fixes #325076.
  379. 2008-10-09 Everaldo Canuto <[email protected]>
  380. * LinkLabel.cs: Recreate link pieces when change Padding.
  381. 2008-10-09 Everaldo Canuto <[email protected]>
  382. * LinkLabel.cs: Take Padding into account when recreate link pieces.
  383. [Fixes bug #412530]
  384. 2008-10-08 Everaldo Canuto <[email protected]>
  385. * Control.cs: Implement internal property PaddingClientRectangle, it will be
  386. useful for drawing controls that must take care about Padding property.
  387. 2008-10-08 Jonathan Pobst <[email protected]>
  388. * BindingSource.cs: Make item_type internal so we can access it in DGV.
  389. * DataGridView.cs: Add support for autogenerating columns from a
  390. BindingSource.
  391. 2008-10-07 Jonathan Pobst <[email protected]>
  392. * DataGridView.cs: Comment out an exception that is getting thrown
  393. too often currently.
  394. 2008-10-07 Jonathan Pobst <[email protected]>
  395. * DataGridView.cs: Always rebind to the datasource, as things may
  396. have changed in it that we aren't capturing yet.
  397. 2008-10-07 Jonathan Pobst <[email protected]>
  398. * DataGridViewTextBoxCell.cs: Don't default to VerticalCenter font
  399. drawing mode. If we are top aligned, give ourselves some top padding.
  400. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  401. * X11Dnd.cs: When firing the default dnd enter/leave events, fire the
  402. events on the control under the mouse pointer, instead of firing them
  403. on the window generating the dnd operation. To achieve this re-use the
  404. code used to get the window under the pointer when getting MouseMove
  405. events.
  406. Fixes #381876.
  407. 2008-10-06 Carlos Alberto Cortez <[email protected]>
  408. * X11Dnd.cs: Don't check that that the window sending the dnd events
  409. is the owner of the selection. Although Gtk+ sets it that way, it's
  410. not a requirement of the XDnd protocol, and Qt doesn't seem to do it.
  411. So, just as Gtk+ does, we set our window sending the dnd events as the
  412. owner of the selection, but don't check it when receiving them. This
  413. should fix interoperability with Qt/Kde.
  414. Fixes #324251.
  415. 2008-10-06 Jonathan Pobst <[email protected]>
  416. * DataGridView.cs: Make sure we take the vertical scrollbar into
  417. account when autosizing columns.
  418. 2008-10-06 Jonathan Pobst <[email protected]>
  419. * DataGridView.cs: Handle sorting datetimes.
  420. 2008-10-04 Ivan N. Zlatev <[email protected]>
  421. * ButtonBase.cs, Control.cs, Label.cs, PictureBox.cs, TabControl.cs,
  422. TextBoxBase.cs, ToolBar.cs, TrackBar.cs, TreeView.cs: Cleanup
  423. compilation warnings.
  424. 2008-10-03 Ivan N. Zlatev <[email protected]>
  425. * RTF.cs, Application.cs, BindingContext.cs, BindingSource.cs,
  426. ContextMenuStrip.cs, Control.cs, Hwnd.cs, Line.cs, MaskedTextBox.cs,
  427. ProgressBar.cs, SaveFileDialog.cs, TextControl.cs, Theme.cs,
  428. ToolBar.cs, ToolStripItemCollection.cs, TrackBar.cs: Cleanup
  429. compilation warnings.
  430. 2008-10-03 Ivan N. Zlatev <[email protected]>
  431. * DataGridView.cs, DataGridViewCell.cs,
  432. DataGridViewCellValidatingEventArgs.cs,
  433. DataGridViewComboBoxEditingControl.cs, DataGridViewHeaderCell.cs,
  434. DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  435. DataGridViewTextBoxEditingControl.cs: Cleanup compilation warnings.
  436. 2008-10-03 Ivan N. Zlatev <[email protected]>
  437. * HtmlElementEventArgs.cs, HtmlWindowCollection.cs:
  438. Cleanup compilation warnings.
  439. 2008-10-03 Ivan N. Zlatev <[email protected]>
  440. * XplatUIWin32.cs: Cleanup compilation warnings.
  441. 2008-10-03 Ivan N. Zlatev <[email protected]>
  442. * PropertyGrid.cs: Cleanup compilation warnings.
  443. 2008-10-02 Jonathan Pobst <[email protected]>
  444. * DataGridViewRow.cs: Only clear the row background if we
  445. are going to paint a new background.
  446. 2008-10-02 Jonathan Pobst <[email protected]>
  447. * DataGridViewCell.cs, DataGridViewColumnHeaderCell.cs,
  448. DataGridViewRowHeaderCell.cs: Remove PaintPartBorder and
  449. use PaintBorder instead.
  450. 2008-10-02 Jonathan Pobst <[email protected]>
  451. * DataGridView.cs: When CellBorderStyle is set, update the
  452. AdvancedCellBorderStyle to match.
  453. 2008-10-02 Jonathan Pobst <[email protected]>
  454. * DataGridViewCell.cs: Add helper methods to convert Alignment
  455. to TextFormatFlags and align rectangles.
  456. * DataGridViewTextBoxCell.cs: Use Alignment when painting text.
  457. * DataGridViewImageCell.cs: Use Alignment when painting the image.
  458. 2008-10-02 Ivan N. Zlatev <[email protected]>
  459. * ToolTip.cs: Display tooltips only for controls on the active form.
  460. [Fixes bug #428115]
  461. 2008-10-02 Jonathan Pobst <[email protected]>
  462. * DataGridView.cs: Make OnCellValueNeeded internal.
  463. * DataGridViewCell.cs: Raise the CellValueNeeded event so the
  464. user can supply their own value if they choose.
  465. 2008-10-02 Jonathan Pobst <[email protected]>
  466. * DataGridViewColumnHeaderCell.cs: Create a new style object
  467. so the DefaultCellStyle doesn't get changed.
  468. 2008-10-02 Jonathan Pobst <[email protected]>
  469. * ToolStripItem.cs: Check to make sure the owner is actually
  470. changing in InternalOwner before doing any work. Fixes some
  471. failing tests.
  472. 2008-10-01 Jonathan Pobst <[email protected]>
  473. * DataGridViewColumnHeaderCell.cs: Correctly calculate style.
  474. * DataGridView.cs: Use a column header's inherited style instead
  475. of just using the default.
  476. 2008-10-01 Jonathan Pobst <[email protected]>
  477. * SplitContainer.cs: Raise SplitterMoved when the splitter is
  478. moved through code.
  479. 2008-10-01 Mario Carrion <[email protected]>
  480. * ScrollBar.cs: Internal property added: UIAThumbPosition.
  481. 2008-10-01 Jonathan Pobst <[email protected]>
  482. * ToolStripOverflowButton.cs: Use InternalOwner instead of Owner.
  483. 2008-10-01 Jonathan Pobst <[email protected]>
  484. * ToolStripItem.cs: When the user sets Owner, we need to remove
  485. it from its previous owner and then add it to the new owner's
  486. item collection. Also, create InternalOwner, so we can set the owner
  487. that doesn't do this new stuff.
  488. * ToolStripItemCollection.cs: Use InternalOwner instead of Owner.
  489. 2008-10-01 Jonathan Pobst <[email protected]>
  490. * ToolStripItem.cs: When our parent changes, recalculate our text
  491. size, since we may be getting our Font from our parent. When our
  492. owner's Font changes, recalculate ourselves as we may be using
  493. that font.
  494. 2008-10-01 Everaldo Canuto <[email protected]>
  495. * MenuAPI.cs: Select the first option of a popup when opening the popup via
  496. return key. [Fixes bug #413792].
  497. 2008-10-01 Jonathan Pobst <[email protected]>
  498. * ToolStripItem.cs: Make Font, BackColor, and ForeColor be
  499. ambient properties. (Get their value from their parents if
  500. values haven't been set.)
  501. 2008-10-01 Jonathan Pobst <[email protected]>
  502. * ToolStripSystemRenderer.cs: Call overridden methods' bases
  503. after our logic, so users can do painting by handling the events.
  504. Currently, we draw over any user painting.
  505. 2008-10-01 Jonathan Pobst <[email protected]>
  506. * ToolStripProfessionalRenderer.cs: Call overridden methods' bases
  507. after our logic, so users can do painting by handling the events.
  508. Currently, we draw over any user painting.
  509. 2008-09-30 Everaldo Canuto <[email protected]>
  510. * MenuAPI.cs: Prevent NRE when deactivate menu. Fixes #413636.
  511. 2008-09-30 Jonathan Pobst <[email protected]>
  512. * TreeNode.cs, TreeView.cs: Move logic that determines the node
  513. image to draw to TreeNode. Give Index/Keys put on the node
  514. precedence over the global one for the TreeView.
  515. 2008-09-30 Jonathan Pobst <[email protected]>
  516. * TreeNode.cs: Setting ImageIndex or ImageKey should reset the other.
  517. 2008-09-29 Mario Carrion <[email protected]>
  518. * ListBox.cs: Index fixed.
  519. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  520. * TabControl.cs: When expanding the tab -because it's selected now-,
  521. using Right alignment, instead of adding some selected delta value to
  522. the X origin, substract it, so it gets a location adjacent to the panel,
  523. instead of be more separated.
  524. Fixes #409170.
  525. 2008-09-29 Jonathan Pobst <[email protected]>
  526. * MessageBox.cs: Use SystemIcons for graphics instead of keeping our
  527. own copies of them.
  528. 2008-09-29 Carlos Alberto Cortez <[email protected]>
  529. * X11Dnd.cs: source and related fields should be set to IntPtr.Zero,
  530. as well as the other static fields, to avoid using their previous
  531. values my mistake when handling the dnd events. This should avoid
  532. handling any status event after the drop has been finalized/cancelled.
  533. 2008-09-28 Carlos Alberto Cortez <[email protected]>
  534. * X11Dnd.cs: We have to send a dnd enter event as soon as we start the
  535. operation, instead of waiting until we get any movement - this will
  536. help us to have the data available in case no movement was detected
  537. and _still_ we have to fire DragEnter and DragLeave/DragDrop events.
  538. Finally add a windows.forms-only fallback to fire the mentioned events
  539. if no movement at all was detected, just like .net does.
  540. Fixes #381876.
  541. 2008-09-27 Jonathan Pobst <[email protected]>
  542. * ThemeWin32Classic.cs: When drawing a status bar panel, don't
  543. return early if the text is empty because the icon doesn't get
  544. drawn then. [Fixes bug #428113]
  545. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  546. * FileDialog.cs: Implement basic support for sorting by columns in
  547. Details view. Patch by Eric Petit.
  548. Fixes #428006.
  549. 2008-09-25 Carlos Alberto Cortez <[email protected]>
  550. * ThemeWin32Classis.cs: When drawing gridlines take into account the
  551. case where ListView.ItemSize hasn't been computed, and provide a
  552. fallback as well. This prevents a division by 0.
  553. 2008-09-24 Jonathan Pobst <[email protected]>
  554. * ThemeVisualStyles.cs: Use ClientRectangle instead of Bounds to
  555. correctly draw tooltip backgrounds.
  556. 2008-09-24 Jonathan Pobst <[email protected]>
  557. * ImageList.cs: Change CopyTo implementation to ensure clones are
  558. created of our images.
  559. [Fixes bug #409169]
  560. 2008-09-24 Jonathan Pobst <[email protected]>
  561. * Control.cs: When setting fonts, we need to ensure we change our
  562. reference to the new font object, even if it represents the same
  563. font as before. If we don't, the original font can get disposed
  564. and we will still try to use it.
  565. [Fixes bug #386450]
  566. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  567. * FileDialog.cs: Take into account Tile view when selecting the view
  568. (2.0 profile).
  569. 2008-09-24 Carlos Alberto Cortez <[email protected]>
  570. * ThemeWin32Classic.cs: When drawing gridlines for ListView don't use
  571. the item bounds, since we can't iterate over them in virtual mode.
  572. Also fix wrong calculation of the gridlines when using scrolling.
  573. Fixes #400390.
  574. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  575. * XplatUIX11.cs: When handling EnterNotify events, take into account
  576. both the public and implicit controls when trying to detect the
  577. grab/ungrab process. This should fix ListView selection in Details
  578. view.
  579. 2008-09-23 Jonathan Pobst <[email protected]>
  580. * TreeView.cs: Redraw the whole node area when the selected node changes.
  581. Things like state images were not getting redrawn because the invalid
  582. rectangle was too small.
  583. [Fixes bug #428211]
  584. 2008-09-23 Mario Carrion <[email protected]>
  585. * ListBox.cs: UIA Selection Pattern fully supported in ListBox control.
  586. [Fixes bug #428993]
  587. 2008-09-23 Jonathan Pobst <[email protected]>
  588. * Form.cs: Do not set the Form's icon in the backend if showicon = false.
  589. [Fixes bug #428114]
  590. 2008-09-23 Jonathan Pobst <[email protected]>
  591. * ThemeWin32Classic.cs: Allow tooltips to be multiline.
  592. [Fixes bug #427884]
  593. 2008-09-23 Jonathan Pobst <[email protected]>
  594. * StatusBar.cs: Add tooltip support.
  595. [Fixes bug #428113]
  596. 2008-09-23 Carlos Alberto Cortez <[email protected]>
  597. * ThemeWin32Classic.cs: Use StringAlignment.Center for the vertical
  598. alignments of sub items in Details view. Patch by John Mortlock (johnm at
  599. hlaustralia.com.au).
  600. Fixes #425360.
  601. 2008-09-23 Neville Gao <[email protected]>
  602. * StatusBar.cs: Add UIA event in AddInternal () to support accessibility.
  603. [Fixes bug #419079]
  604. 2008-09-22 Jonathan Pobst <[email protected]>
  605. * TextBoxBase.cs: Set Text to "" instead of null in Clear().
  606. [Fixes bug #428107]
  607. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  608. * ListView.cs: Don't do anything when EnsureVisible is called inside a
  609. BeginUpdate/EndUpdate block.
  610. Fixes #425049.
  611. 2008-09-22 Carlos Alberto Cortez <[email protected]>
  612. * ListViewItem.cs: The semantics for the public .ctor of
  613. ListViewSubItemCollection need us to already have a Text value for the
  614. item, which in our implementation have as available *after* adding the
  615. first sub item. So create an internal .ctor that satisfies our needs
  616. and let the public .ctor have the same semantics as .net.
  617. Fixes #427561.
  618. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  619. * ListControl.cs: Changes in Formatting related values should call
  620. RefreshItems, as .net does.
  621. * ComboBox.cs:
  622. * ListBox.cs: In the respective overrides of RefreshItems calculate
  623. layout as well as refreshing - again, this is what .net does.
  624. Fixes #426168.
  625. 2008-09-19 Carlos Alberto Cortez <[email protected]>
  626. * ListBox.cs: In UpdateTopItem, don' call to XplatUI.ScrollWindow,
  627. since we are already doing that when we change the value of the
  628. scrollbar or force the call to ScrollWindow in the same method. This
  629. way we don't cause a Invalidate call for all the listbox bounds for
  630. methods calling UpdateTopItem with an already updated top item. This
  631. was happening specially calling EnsureVisible with already visible
  632. items.
  633. 2008-09-18 Mike Gorse <[email protected]>
  634. * Application.cs, IKeyFilter.cs, X11Keyboard.cs, XplatUI.cs,
  635. XplatUIStructs.cs: Added KeyFilter
  636. [Fixes bug #427039]
  637. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  638. * RelatedPropertyManager.cs: The properties returned by
  639. GetItemProperties should be that ones of the *actual* object returned
  640. by the property, not the property type - this is very special when the
  641. property exposes a type, but the returned object actually is a child
  642. class and implements more functionality and properties.
  643. 2008-09-18 Carlos Alberto Cortez <[email protected]>
  644. * Binding.cs: Don't look for the property in the data source if the
  645. passed string is empty.
  646. 2008-09-18 Ivan N. Zlatev <[email protected]>
  647. * XplatUIX11.cs: Comment out _NET_WM_WINDOW_TYPE_DIALOG in order to
  648. fix unused variable warnings.
  649. 2008-09-18 Ivan N. Zlatev <[email protected]>
  650. * XplatUIX11.cs: Send WM_HELP when F1 is pressed.
  651. [Fixes bug #427073]
  652. 2008-09-18 Ivan N. Zlatev <[email protected]>
  653. * XplatUIX11.cs:
  654. - Do not set _NET_WM_WINDOW_TYPE_DIALOG for modal forms, because this
  655. leads to the window manager overriding our border style and zorder.
  656. - Allow the activation of non-modal forms, which are children of a
  657. modal form.
  658. [Fixes bug #423417]
  659. 2008-09-17 Ivan N. Zlatev <[email protected]>
  660. * XplatUIX11.cs, X11Structs.cs: For mapped windows SetTopMost should
  661. ask the window manager to do the work instead of changing the property
  662. directly.
  663. [Fixes bug #423417]
  664. 2008-09-17 Everaldo Canuto <[email protected]>
  665. * CurrencyManager.cs: Check for positon before call ChangeRecordState in
  666. AddNew to fix some navigation for empty datasets. [Fixes #323053]
  667. 2008-09-17 Everaldo Canuto <[email protected]>
  668. * FileDialog.cs: Remove OnPaint method on PopupButtonPanel and set
  669. InternalBorderStyle to BorderStyle.Fixed3D. It is the best way to get 3d
  670. border and fixes some drawing issues when resize form.
  671. 2008-09-17 Everaldo Canuto <[email protected]>
  672. * FileDialog.cs: Lots of layout fixes to mimic Win32. [Fixes #408752]
  673. * ThemeWin32Classic.cs: We don't need to reduce button size when it is
  674. AcceptButton.
  675. 2008-09-17 Ivan N. Zlatev <[email protected]>
  676. * TextBoxBase.cs: For standard textbox the scrollbars are always
  677. visible if Multiline is true.
  678. [Fixes bug #426896]
  679. 2008-05-12 Everaldo Canuto <[email protected]>
  680. * DataGridTextBoxColumn.cs: Uncomment code accidentally commited in last
  681. patch.
  682. 2008-05-12 Everaldo Canuto <[email protected]>
  683. [Fixes most od DBNull and HeadersVisible problems]
  684. * DataGrid.cs:
  685. - ShowingColumnHeaders removed because we dont need it, ColumnHeadersVisible
  686. returns the value that we need.
  687. - Fixed FromPixelToColumn method that return zero for first column and for
  688. row header cell, now it returns -1 for row header cell.
  689. - Fixed HitTest to check row header cell in column header area, it now
  690. returns HitTestType.None. [Fixes #322864]
  691. - Fixed the calculation of visible columns in UpdateVisibleColumn, now it
  692. checks for RowHeadersVisible and other things.
  693. - If an exception occurs when setting CurrentCell and user type 'yes' in
  694. message dialog, invalidade current and new cell and set setting_current_cell
  695. to false to prevent future errors. [Partially fixes #323050]
  696. * DataGridColumnStyle.cs: Don't call EndEdit after set property_descriptor
  697. value (SetColumnValueAtRow), it must be done by grid to properly show
  698. messages. [Fixes #323050]
  699. * ThemeWin32Classic.cs: Lots of fixes in DataGridPaintColumnHeaders to
  700. better draw column and row header. Also dont draw anything when column
  701. headers is not visible.
  702. 2008-09-16 Jonathan Pobst <[email protected]>
  703. * ThemeWin32Classic.cs: Hook ListViewItems into the ShowFocusCues
  704. logic.
  705. 2008-09-16 Jonathan Pobst <[email protected]>
  706. * TreeView.cs: Don't start editing a node on right click, only
  707. left click.
  708. 2008-09-16 Jonathan Pobst <[email protected]>
  709. * NativeWindow.cs: Reenable the ThreadExceptionDialog I accidentally
  710. disabled over a year ago.
  711. * Form.cs: Wrap calling Load in a try/catch because it can happen
  712. before the catch-all one in NativeWindow.
  713. [Fixes bug #425414]
  714. 2008-09-16 Jonathan Pobst <[email protected]>
  715. * ToolStripDropDownMenu.cs: Calculate the connected area better
  716. to take into account when the drop down is not directly under the
  717. owner item.
  718. * ToolStripProfessionalRenderer.cs: Draw the whole unconnected area.
  719. 2008-09-16 Mario Carrion <[email protected]>
  720. * ScrollBar.cs: New event added: UIAValueChanged, generated when
  721. LargeChange, SmallChange, Maximum or Minimum values are changed.
  722. [Fixes bug #426464]
  723. 2008-09-16 Mario Carrion <[email protected]>
  724. * ErrorProvider.cs: Component enabled to support accessibility.
  725. * Application.cs: Updated to Initialize UIA in ErrorProvider.
  726. [Fixes bug #426459]
  727. 2008-09-16 Jonathan Pobst <[email protected]>
  728. * TextBoxBase.cs: Flag has_been_focused when SelectionStart is set
  729. so we don't highlight on first focus.
  730. [Fixes bug #360869]
  731. 2008-09-16 Jonathan Pobst <[email protected]>
  732. * TextControl.cs: Correctly calculate the height of the area we
  733. need to invalidate when we have started scrolling and viewport_y
  734. is used. [Fixes bug #387608]
  735. 2008-09-16 Jonathan Pobst <[email protected]>
  736. * TextControl.cs: When getting the SelectedText, don't add in
  737. NewLine characters, as they are already contained in the lines.
  738. [Fixes bug #388115]
  739. 2008-09-16 Jonathan Pobst <[email protected]>
  740. * TextBoxBase.cs: Replace the buggy Lines setter with one that
  741. simply concats the lines and send it to the Text setter.
  742. [Fixes issue #2 and #3 of 388115]
  743. 2008-09-16 Carlos Alberto Cortez <[email protected]>
  744. * Binding.cs: The default value of DataSourceNullValue should be
  745. Convert.DBNull actually. Also, the NullValue should only be used *if*
  746. itself is not null, and use the null/Convert.DBNull value instead.
  747. 2008-09-15 Jonathan Pobst <[email protected]>
  748. * TextControl.cs: Add a method to convert a string newline to the
  749. newline enum.
  750. * TextBoxBase.cs: When the user hits enter, insert a native newline.
  751. [Fixes part 1 of bug #388115]
  752. 2008-09-15 Mario Carrion <[email protected]>
  753. * ToolTip.cs: UnPopup event set to internal to match public API.
  754. 2008-09-15 Jonathan Pobst <[email protected]>
  755. * TextBoxBase.cs: If the user is using Ctrl-Tab to move focus, we
  756. have to remove the Ctrl in order for the focus moving code to kick in.
  757. [Fixes bug #426170]
  758. 2008-09-15 Jonathan Pobst <[email protected]>
  759. * CheckedListBox.cs: Return the real item index from Add. It may not be
  760. the last item if the list is sorted. The user can change the NewValue in
  761. the ItemCheck event, we need to use that value if so.
  762. * ListBox.cs: Return the real item index from a sorted Add.
  763. [Fixes bug #426166]
  764. 2008-09-15 Ivan N. Zlatev <[email protected]>
  765. * MimeIcon.cs: Add null checks in the GnomeHandler, because it might
  766. happen that the icons from the theme is missing or the particular size
  767. unavailable.
  768. [Fixes bug #424981]
  769. 2008-09-15 Carlos Alberto Cortez <[email protected]>
  770. * Binding.cs: When assigning null or DBNull depending on value/ref type,
  771. use IsValueType instead to get the precise desired value.
  772. Fixes #424276.
  773. 2008-09-12 Jonathan Pobst <[email protected]>
  774. * TreeNodeCollection.cs: When adding a new node to an opened node,
  775. we have to invalidate everything below the parent node because
  776. every node scoots down and we have to repaint them.
  777. [Fixes bug #411386]
  778. 2008-09-12 Jonathan Pobst <[email protected]>
  779. * ThemeWin32Classic.cs: Take CheckBox and RadioButton's CheckAlign
  780. property into account when drawing.
  781. [Fixes bug #416064]
  782. 2008-09-12 Carlos Alberto Cortez <[email protected]>
  783. * ListBox.cs: When calling Items.Clear(), call
  784. SelectedIndexCollection.ClearCore instead of normal Clear method, to
  785. not fire any Selected*Changed event - this is done to match .net and
  786. don't have invalid values when changing the DataSourceProperty.
  787. Fixes #424273.
  788. 2008-09-12 Mario Carrion <[email protected]>
  789. * HelpProvider.cs: Control enabled to support accessibility.
  790. * Application.cs: Updated to Initialize UIA in HelpProvider.
  791. [Fixes bug #425988]
  792. 2008-09-12 Jonathan Pobst <[email protected]>
  793. * Form.cs: When we are showing a dialog box, if its owner is TopMost,
  794. make the dialog TopMost as well.
  795. [Fixes bug #425984]
  796. 2008-09-12 Jonathan Pobst <[email protected]>
  797. * Win32DnD.cs, XplatUIWin32.cs: Applied patch from Andy Hume that handles
  798. clipboard data better.
  799. [Fixes bug #414446]
  800. 2008-09-12 Jonathan Pobst <[email protected]>
  801. * TextBoxBase.cs: Applied patch from John Mortlock that ensures
  802. TextChanged and SelectionChanged events fire in the same order as .Net.
  803. [Fixes bug #425725]
  804. 2008-09-12 Jonathan Pobst <[email protected]>
  805. * DataGridView.cs: When sorting a column, if it only contains numbers,
  806. do a numeric sort instead of a string sort.
  807. [Fixes bug #425849]
  808. 2008-09-12 Jonathan Pobst <[email protected]>
  809. * TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Guard
  810. against NRE's when the settings have a null panel.
  811. * TableLayoutPanel.cs: When setting the TableLayoutSettings, ensure
  812. the panel gets set.
  813. [Fixes bug #425647]
  814. 2008-09-11 Mario Carrion <[email protected]>
  815. * ToolTip.cs: Control enabled to support accessibility.
  816. * Application.cs: Updated to Initialize UIA in ToolTip.
  817. [Fixes bug #425277]
  818. 2008-09-11 Jonathan Pobst <[email protected]>
  819. * Control.cs: Make the custom Enumerator internal to fix build.
  820. 2008-09-11 Jonathan Pobst <[email protected]>
  821. * DataGridViewCheckBoxCell.cs: If our content is clicked and we aren't
  822. already in edit mode, begin edit mode. Generally edit mode isn't
  823. started until the second click, but CheckBoxes are special.
  824. 2008-09-11 Jonathan Pobst <[email protected]>
  825. * ErrorProvider.cs: Never try to add our icons to ContainerControl,
  826. since that can be set to anything. Always add them to the Control's
  827. parent. [Fixes bug #416058]
  828. 2008-09-11 Jonathan Pobst <[email protected]>
  829. * ListView.cs: Use a custom enumerator for ListViewItemCollection
  830. so items can be deleted in a foreach.
  831. [Fixes bug #425342]
  832. 2008-09-11 Jonathan Pobst <[email protected]>
  833. * DataGridViewRow.cs: Better implementation of GetPreferredHeight.
  834. Store the user set explicit height so that the row can be AutoSized
  835. and then when AutoSize is turned off, it can get its original size back.
  836. * DataGridView.cs: Use the Row's GetPreferredHeight instead of
  837. duplicating the logic. When setting AutoSizeRowsMode to None, reset
  838. rows' heights back to their explicit values.
  839. [Fixes bug #415780]
  840. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  841. * DateTimePicker.cs: When getting focus, select the checkbox if we are
  842. already showing it. Also, don't change its value when pressing space
  843. if the checkbox is not visible (ShowCheckBox as false). Finally, the
  844. checkbox should remain selected as long as Checked is false, and the
  845. other parts are disabled.
  846. Fixes #424267.
  847. 2008-09-11 Jonathan Pobst <[email protected]>
  848. * MessageBox.cs: Handle shortcut keys to dialog buttons.
  849. [Fixes bug #425425]
  850. 2008-09-11 Carlos Alberto Cortez <[email protected]>
  851. * Binding.cs: When the value retrieved from the control property is
  852. null, don't return Convert.DBNull for Nullable instances, since they
  853. can *actually* get a null value.
  854. Fixes #424265.
  855. 2008-09-10 Jonathan Pobst <[email protected]>
  856. * Control.cs: Add an internal field to force doublebuffering regardless
  857. of what the public mechanisms are set to. This is because MS's native
  858. controls are doublebuffered even though their .Net bits are set to false.
  859. * ProgressBar.cs: Set force_double_buffer to true.
  860. [Fixes bug #406595]
  861. 2008-09-10 Jonathan Pobst <[email protected]>
  862. * DataGridViewCheckBoxColumn.cs: Use the threestate constructor for
  863. the cell template.
  864. * DataGridViewCheckBoxCell.cs: Add proper support for threestate.
  865. * DataGridViewCell.cs: Implement GetEditedFormattedValue for types
  866. without EditingControls, paint background selection for types without
  867. EditingControls, reset the EditingCellValueChanged flag when the
  868. cell's value is committed.
  869. * DataGridView.cs: Make BeginEdit and EndEdit work with cells that don't
  870. have EditingControls, remove a double call to a cell's OnContentClickInternal,
  871. don't do cell changing logic in OnMouseDown if the cell didn't change.
  872. [Fixes bug #420351]
  873. 2008-09-10 Carlos Alberto Cortez <[email protected]>
  874. * DateTimePicker.cs: Fix the edition of am/pm specifier.
  875. 2008-09-09 Jonathan Pobst <[email protected]>
  876. * TextControl.cs: Add "&" to the list of valid characters in a URL.
  877. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  878. * DateTimePicker.cs: Before incrementing or decrementing any part in
  879. the textbox, end any current edit. Also when ending the current edit
  880. use the editing_part_index field instead of the current selected
  881. value, since they can be out of synch, and we really need to work on
  882. the *real* current edit part. Finally when PartData.Selected changes,
  883. always try to end any ongoing edit.
  884. This should fix some small errors handling mouse navigation and
  885. increase/decrease operations.
  886. 2008-09-09 Carlos Alberto Cortez <[email protected]>
  887. * DateTimePicker.cs: 'hh' and 'HH' formats (12 and 24 hour formats
  888. respectively) should handled different, since the 12 hours format
  889. needs the value typed by the user to be adjusted depending on the
  890. a.m/p.m value, so it is preserved, and only changed when the value
  891. reaches the 12 value (when it changes from a.m to p.m).
  892. Fixes part of #416555.
  893. 2008-09-08 Jonathan Pobst <[email protected]>
  894. * ToolStrip.cs: Ensure MouseDown gets called for MenuStrip items.
  895. * ToolStripDropDownItem.cs: Don't fire events and such again if
  896. ShowDropDown is called on an already dropped down item.
  897. * ToolStripMenuItem.cs: Call ShowDropDown even if there aren't any
  898. subitems, the user may add some in the DropDownOpening event.
  899. [Fixes bug #417877]
  900. 2008-09-08 Jonathan Pobst <[email protected]>
  901. * ComboBox.cs: Fix IOORE when setting SelectedItem to null.
  902. [Fixes bug #424270]
  903. 2008-09-08 Jonathan Pobst <[email protected]>
  904. * MdiClient.cs: When looking for menustrips on a child form to merge,
  905. look inside ToolStripContainers.
  906. [Fixes bug #424264]
  907. 2008-09-08 Ivan N. Zlatev <[email protected]>
  908. * ErrorProvider.cs: Unbreak my previous commit.
  909. 2008-09-08 Ivan N. Zlatev <[email protected]>
  910. * ErrorProvider.cs: Icon should always be 16x16.
  911. [Fixes bug #424380]
  912. 2008-09-07 Ivan N. Zlatev <[email protected]>
  913. * GridEntry.cs: Invalidate the child items cache when the property
  914. value changes.
  915. 2008-09-07 Ivan N. Zlatev <[email protected]>
  916. * GridEntry.cs, PropertyGridView.cs:
  917. - Update the ReadOnly detection and rendering to finally hopefully
  918. match the one of MSFT.
  919. - Niceify and move the debug CWLS.
  920. [Fixes bug #409028]
  921. 2008-09-05 Carlos Alberto Cortez <[email protected]>
  922. * ListView.cs: Don't call Invalidate at all from SetItemLocation,
  923. since we are already calling Invalidate for the entire control when
  924. needed - and call Redraw() when size changes, since we need to paint
  925. there by ourselved and not anymore from the mentioned method.
  926. This should improve the layout process. Also clean some not needed calls
  927. here and there.
  928. 2008-09-05 Jonathan Pobst <[email protected]>
  929. * MenuAPI.cs: Add a null check to the Alt-F4 code.
  930. [Fixes bug #420309]
  931. 2008-09-05 Jonathan Pobst <[email protected]>
  932. * ThreadExceptionDialog.cs: Disable AutoScaling for this dialog.
  933. [Fixes bug #423040]
  934. 2008-09-04 Ivan N. Zlatev <[email protected]>
  935. * GridEntry.cs, CategoryGridEntry.cs, RootGridEntry.cs, PropertyGrid.cs,
  936. PropertyGridView.sc: Implement lazy/delayed propertygrid population
  937. on item expansion. Improves performance and fixes bug #417955.
  938. [Fixes bug #417955]
  939. 2008-09-05 Stephane Delcroix <[email protected]>
  940. * Control.cs: only check for OptimizedDoubleBuffer in NET_2_0.
  941. fix the build.
  942. 2008-09-04 Jonathan Pobst <[email protected]>
  943. * TextControl.cs: Add "_" to the list of valid characters in a URL.
  944. [Fixes bug #423408]
  945. 2008-09-04 Jonathan Pobst <[email protected]>
  946. * Control.cs: If using OptimizedDoubleBuffer, ensure the clip
  947. region gets set.
  948. [Fixes bug #414166]
  949. 2008-09-04 Jonathan Pobst <[email protected]>
  950. * FontDialog.cs: When storing our font size from the starting font,
  951. use SizeInPoints instead of Size in case Size is a different unit
  952. from Points.
  953. [Fixes bug #416489]
  954. 2008-09-04 Jonathan Pobst <[email protected]>
  955. * FileDialog.cs: When enter is pressed on a SaveFileDialog and we
  956. don't use it for anything else, check if a directory is highlighted.
  957. If it is, navigate into it.
  958. [Fixes bug #422087]
  959. 2008-09-04 Carlos Alberto Cortez <[email protected]>
  960. * Binding.cs: When acquiring a BindingManagerBase for the first time,
  961. check that the specified property actually exists in the data source,
  962. and throw an ArgumentException if that's not the case - this is only
  963. done for this scenario, since for later cases (such Position changes)
  964. we throw different exceptions (match .Net).
  965. 2008-09-03 Ivan N. Zlatev <[email protected]>
  966. * ButtonBase.cs CheckBox.cs, Control.cs, FlowLayoutPanel.cs,
  967. FlowLayoutSettings.cs, GroupBox.cs, Label.cs, ListBox.cs,
  968. PropertyGrid.cs, RadioButton.cs, TableLayoutPanel.cs,
  969. TableLayoutSettings.cs, ToolStrip.cs, ToolStripDropDownButton.cs,
  970. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripSplitButton.cs,
  971. ToolStripStatusLabel.cs: Add missing PerformLayout calls to various
  972. properties.
  973. [Fixes bug #418684]
  974. 2008-09-03 Neville Gao <[email protected]>
  975. * StatusBar.cs: Control enabled to support accessibility.
  976. [Fixes bug #419079]
  977. 2008-09-02 Carlos Alberto Cortez <[email protected]>
  978. * Binding.cs: When connecting the event handler for the "Changed"
  979. event for the property, only do it for PropertyManager, and not for
  980. CurrencyManager - this is exactly what does .Net, totally ignoring any
  981. change in the property of the elements of a list.
  982. Fixes the tests.
  983. 2008-09-02 Jonathan Pobst <[email protected]>
  984. * XplatUIWin32.cs: Ensure we never send the WS_EX_MDICHILD flag
  985. to Windows when creating a window, as we fake MDI stuffs.
  986. [Fixes bug #421858]
  987. 2008-09-01 Ivan N. Zlatev <[email protected]>
  988. * TextBox.cs: Invalidate after UseSystemPasswordChar, so that the
  989. change takes effect.
  990. 2008-08-24 Ivan N. Zlatev <[email protected]>
  991. * XplatUIX11.cs: Provide MouseButtons/State information to the XPlatUI.
  992. [Fixes bug #419001]
  993. 2008-08-27 Jonathan Pobst <[email protected]>
  994. * DataGridView.cs: Raise CellContentClick event.
  995. [Fixes part of bug #420351]
  996. 2008-08-27 Mario Carrion <[email protected]>
  997. * ScrollBar.cs: Control enabled to support accessibility.
  998. [Fixes bug #416759]
  999. 2008-08-27 Mario Carrion <[email protected]>
  1000. * ComboBox.cs: Control enabled to support accessibility.
  1001. [Fixes bug #416663]
  1002. 2008-08-27 Mario Carrion <[email protected]>
  1003. * ListBox.cs: Control enabled to support accessibility.
  1004. [Fixes bug #416640]
  1005. 2008-08-27 Jonathan Pobst <[email protected]>
  1006. * ComboBox.cs: Don't suppress the TextChanged event when changing
  1007. the SelectedIndex.
  1008. * ToolStripComboBox.cs: Listen to the ComboBox's TextChanged event
  1009. and re-raise it.
  1010. [Fixes bug #420673]
  1011. 2008-08-26 Jonathan Pobst <[email protected]>
  1012. * ErrorProvider.cs: Fix a regression NRE when setting properties
  1013. for a control before it has a parent.
  1014. [Fixes bug #420305]
  1015. 2008-08-25 Carlos Alberto Cortez <[email protected]>
  1016. * Binding.cs: Use the BindingManagerBase.Current value to obtain
  1017. connect the property "Changed" event, instead of using the data
  1018. sources - this is useful when the property specifies actually a
  1019. multiple objects path.
  1020. Fixes part of #417973.
  1021. 2008-08-24 Carlos Alberto Cortez <[email protected]>
  1022. * RelatedPropertyManager.cs: PropertyManager instances associated to a
  1023. nested properties should return not the properties of the data source
  1024. itself, but the properties of the type of a specific property in the
  1025. data source - match .net.
  1026. 2008-08-24 Gert Driesen <[email protected]>
  1027. * ListBox.cs (IntegerCollection): To avoid duplication, moved code for
  1028. AddRange overloads into AddItems method, and added missing NULL check.
  1029. Added extra argument check to RemoveAt for compatibility with MS.
  1030. Modified IList implementation of Add, Contains, IndexOf and Remove to
  1031. throw an ArgumentException if item is not an int. Modified IList.Insert
  1032. to throw a NotSupportException instead of an Exception. Implemented
  1033. ICollection.
  1034. (ObjectCollection): To avoid duplication, use AddItems method from
  1035. AddRange overloads. On 1.0 profile, first perform NULL check on items
  1036. in AddItems.
  1037. 2008-08-23 Gert Driesen <[email protected]>
  1038. * Control.cs: Do not modify bounds directly in .ctor's. Fixes bug
  1039. #419087.
  1040. 2008-08-22 Atsushi Enomoto <[email protected]>
  1041. * X11Keyboard.cs : comment out some Console.WriteLine().
  1042. 2008-08-22 Atsushi Enomoto <[email protected]>
  1043. * X11Keyboard.cs : fixed wrong call to XOpenIM() which happened
  1044. even if premises are not filled. Also XLookupString() was not
  1045. receiving correct input, which blocked precise input handling
  1046. on non-XIM mode.
  1047. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  1048. * ListView.cs: When calling OnCacheVirtualItems, cast to the right
  1049. type of delegate, instead of EventHandler - this was causing a type
  1050. cast exception in all apps handling this event.
  1051. Fixes #417876.
  1052. 2008-08-20 Jonathan Pobst <[email protected]>
  1053. * ToolStripDropDownItem.cs: Always raise DropDownOpening in
  1054. ShowDropDown to give the user a chance to dynamically add
  1055. drop down items. [Step 1 of fixing bug #417877]
  1056. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  1057. * X11Dnd.cs: Don't fire pseudo motion DragOver events if we haven't
  1058. had any mouse motion since the call to StartDrag, to match the dnd
  1059. behaviour of .net.
  1060. Fixes part of #381876.
  1061. 2008-08-20 Carlos Alberto Cortez <[email protected]>
  1062. * XplatUIX11.cs: Only do the children control bounds check for EnterNotify
  1063. if mode is NotifyUngrab, and let it flow if mode is NotifyNormal.
  1064. Also, if we are actually moving into a different window after
  1065. grabbing, generate a LeaveNotify event for the previous window, since
  1066. we need to fire the leave events until the grab ends, not when
  1067. actually moving outside of the control.
  1068. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  1069. * XplatUIX11.cs: The check inside EnterNotify case to fire MouseEnter
  1070. events only for client windows was wrong - we need to compare the
  1071. client window against the window receiving the EnterNotify event, not
  1072. against zero (since client window is never Zero, btw).
  1073. This prevents having unnecessary handling of EnterNotify events for
  1074. non-client windows when a gran begins.
  1075. 2008-08-19 Carlos Alberto Cortez <[email protected]>
  1076. * XplatUIX11.cs: Handling X ButtonPress events, we must *not* generate
  1077. MouseMove/MotionNotify events at all (which should only happen after
  1078. MouseUp/ButtonRelease, as .Net does).
  1079. This avoids firing an extra and unnecessary MouseMove event just after
  1080. every MouseDown event.
  1081. 2008-08-19 Jonathan Pobst <[email protected]>
  1082. * LinkLabel.cs: Always clear any previous links when LinkArea
  1083. is set. [Fixes bug #410709]
  1084. 2008-08-19 Jonathan Pobst <[email protected]>
  1085. * ToolStripProfessionalRenderer.cs: Revert last change.
  1086. * ProfessionalColorTable.cs: For Classic, use SystemColors.Window
  1087. for ToolStripDropDownBackground.
  1088. 2008-08-19 Jonathan Pobst <[email protected]>
  1089. * ToolStripProfessionalRenderer.cs: Use Window color for the
  1090. background of dropdowns to match .Net when the user is not
  1091. using the default white. [Fixes bug #418108]
  1092. 2008-08-19 Atsushi Enomoto <[email protected]>
  1093. * XplatUIWin32.cs : SetTimer() used to set wrong window handle and
  1094. it caused timer registration twice. Fixed bug #418107.
  1095. 2008-08-18 Carlos Alberto Cortez <[email protected]>
  1096. [Correction: This is the actual change to X11Dnd issue, not the
  1097. previous one, which was actually a different issue.]
  1098. * X11Dnd.cs: Increase the interval for the Timer, to not fire our
  1099. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  1100. when the pointer is actually in motion, but only when the pointer
  1101. seems to stop (as .net does).
  1102. Fixes part of #381876.
  1103. 2008-08-18 Jonathan Pobst <[email protected]>
  1104. * ListBox.cs: Fix CopyTo implementation.
  1105. [Fixes bug #409169]
  1106. 2008-08-18 Jonathan Pobst <[email protected]>
  1107. * ThemeWin32Classic.cs: Use ClientRectangle instead of Bounds when
  1108. drawing a ComboBox's background. Fixes bad disabled rendering when
  1109. the control is not at 0,0.
  1110. [Fixes bug #416063]
  1111. 2008-08-16 Ivan N. Zlatev <[email protected]>
  1112. * GridEntry.cs: Leave the ICustomTypeDescriptor handling up to the
  1113. ComponentModel layer, which will properly prioritize the attributes.
  1114. Avoids wrong prioritization of duplicate attributes when retrieving
  1115. the converter and editor.
  1116. [Fixes bug #417729]
  1117. 2008-08-15 Carlos Alberto Cortez <[email protected]>
  1118. * XplatUIX11.cs: Increase the interval for the Timer, to not fire our
  1119. pseudo motion HandleMouseOver method so aggresive. Also, don't call it
  1120. when the pointer is actually in motion, but only when the pointer
  1121. seems to stop (as .net does).
  1122. Fixes part of #381876.
  1123. 2008-08-15 Ivan N. Zlatev <[email protected]>
  1124. * GridEntry.cs: Perform stricter check for the ParentEntry's
  1125. PropertyDescriptor/PropertyOwner for the ICustomTypeDescriptor
  1126. implementation.
  1127. [Fixes bug #417567]
  1128. 2008-08-14 Geoff Norton <[email protected]>
  1129. * XplatUICarbon.cs: Properly implement PeekMessage and DoEvents.
  1130. Fixes #396983. Properly fix ActiveWindow trackin and do not
  1131. prematurely show POPUP windows.
  1132. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  1133. * XplatUIX11.cs: Handle the obscured regions while scrolling using
  1134. GraphicsExpose event, processing it just after we copy the scrolled
  1135. area. This ensures that the next calls to ScrollWindow will copy
  1136. regions already updated, and the scrolling will be smooth. Also remove
  1137. the code that was trying to detect the obscured regions, since we are
  1138. not using it anymore (too slow).
  1139. 2008-08-12 Carlos Alberto Cortez <[email protected]>
  1140. * ListBox.cs: Fix the -temporary- broken selection in ListBox for
  1141. MultiExtended mode, by separating some logic between the ctrl/shift
  1142. handling. Also ignore any MouseMove events generated together with
  1143. MouseDown events - we are only interested in the real motion event.
  1144. Fixes part of #414963.
  1145. 2008-08-08 Jonathan Pobst <[email protected]>
  1146. * DataGridViewCell.cs: Guard against an AOORE when checking if a cell
  1147. is selected. [Fixes bug #414143]
  1148. 2008-08-07 Ivan N. Zlatev <[email protected]>
  1149. * GridEntry.cs: Check if current property is a ICustomTypeDescriptor
  1150. and not the parent one (the propertyowner). Fixes the behavior of
  1151. GetConverter/GetEditor.
  1152. [Fixes bug #415452]
  1153. 2008-08-07 Ivan N. Zlatev <[email protected]>
  1154. * PropertyGrid.cs: Refresh should also repopulate the PropertyGrid.
  1155. [Fixes part of bug #415452]
  1156. 2008-08-05 Ivan N. Zlatev <[email protected]>
  1157. * GridEntry.cs: ITypeDescriptorContext should be relative to the parent
  1158. GridEntry, not the current.
  1159. [Fixes bug #413896]
  1160. 2008-08-04 Ivan N. Zlatev <[email protected]>
  1161. * TextBoxBase.cs: De-internalize max_length field.
  1162. * RichTextBox.cs: Use base.MaxLength - both TextBoxBase and RichTextBox
  1163. share the same logic.
  1164. [Fixes bug #414454]
  1165. 2008-08-03 Carlos Alberto Cortez <[email protected]>
  1166. * ListBox.cs: Selection changes made in the MouseDown handler should
  1167. use the *Core versions of selection in SelectedIndices collection,
  1168. since the SelectedIndexChanged/SelectedValueChanged events are fired
  1169. until we get a MouseUp event, and thus we need to separate the logic
  1170. from the events, as done in the keyboard navigation. Also, fire those
  1171. selection events from keyboard navigation in SelectionMode.None, even
  1172. if we don't have a selection, as .Net does.
  1173. 2008-08-01 Jonathan Pobst <[email protected]>
  1174. * ToolStripButton.cs, ToolStripMenuItem.cs: Guard against a NRE my
  1175. last change introduced when an item is clicked but isn't on a toolstrip.
  1176. 2008-07-31 Carlos Alberto Cortez <[email protected]>
  1177. * ListBindingHelper.cs: When looking for an object's properties, check
  1178. if it implements ICustomTypeDescriptor, in which case we should
  1179. resolve the propertu based on its GetProperties method, not in its
  1180. actual properties. This is what .Net seems to do.
  1181. Fixes a UsingWebBrowser problem during initialization.
  1182. 2008-07-31 Jonathan Pobst <[email protected]>
  1183. * ToolStrip.cs: Fix an NRE caused by clicking on a ToolStripButton
  1184. sitting on a MenuStrip.
  1185. 2008-07-31 Jonathan Pobst <[email protected]>
  1186. * ToolStripButton.cs: If we "click" a top button on a menustrip that has
  1187. no children with the keyboard, we need to release the keyboard capture.
  1188. [Fixes bug #413567]
  1189. 2008-07-31 Jonathan Pobst <[email protected]>
  1190. * ToolStripMenuItem.cs: If we "click" a top level menu item that has
  1191. no children with the keyboard, we need to release the keyboard capture.
  1192. [Fixes bug #413567]
  1193. 2008-07-31 George Giolfan <[email protected]>
  1194. * ThemeVisualStyles.cs: Made ScrollBar rendering less strict so it supports
  1195. the GTK+-based implementation of VisualStyles.
  1196. * ThemeWin32Classic.cs: Exposed various layout values for use in the
  1197. GTK+-based implementation of VisualStyles: ListViewGetHeaderHeight(Font),
  1198. ListViewGetHeaderHeight(), ProgressBarChunkSpacing, ProgressBarGetChunkSize(),
  1199. ProgressBarGetChunkSize(int), ProgressBarDefaultHeight,
  1200. TrackBarGetThumbSize(), TrackBarVerticalTrackWidth,
  1201. TrackBarHorizontalTrackHeight.
  1202. 2008-07-31 George Giolfan <[email protected]>
  1203. * TabControl.cs: Added hot style handling for the scroll buttons.
  1204. right_slider_state, left_slider_state are now of type PushButtonState to
  1205. allow for a hot state. Added tracking of the mouse button being held down
  1206. on a tab page. Extracted HasHotElementStyles, RightScrollButtonArea,
  1207. LeftScrollButtonArea.
  1208. * Theme.cs, ThemeWin32Classic.cs: Removed TabControlGetLeftScrollRect,
  1209. TabControlGetRightScrollRect.
  1210. 2008-07-30 Everaldo Canuto <[email protected]>
  1211. * MenuAPI.cs: Check for null GrabControl on ProcessMnemonic to prevent
  1212. runtime errors.
  1213. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1214. * Form.cs: Ensure that we reset the shown_raised flag after
  1215. the form is closed, so that we raise the show events the next
  1216. time the form is shown.
  1217. [Fixes bug #413141]
  1218. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1219. * Form.cs: Ensure closing events are raised only once.
  1220. [Fixes bug #413143]
  1221. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1222. * X11Keyboard.cs: Refactor SendKeyboardInput to accept the keycode,
  1223. so that we can successfully generate the LParam in-place instead of
  1224. in KeyEvent, which isn't called for e.g. MainMenu. Fixes keyboard
  1225. navigation for menus.
  1226. 2008-07-30 Everaldo Canuto <[email protected]>
  1227. * MenuAPI.cs: When montion don't set the keyboard navigation state to
  1228. 'navigating'. Fixes bug #411356.
  1229. 2008-07-30 Everaldo Canuto <[email protected]>
  1230. [Fixed remaining issues of #406773 (#1)]
  1231. * MenuItem.cs: UpdateMenuItem added to track the shotcut changes.
  1232. * MenuAPI.cs: Don't create tracker on TrackPopupMenu, it will be created in
  1233. MainMenu (already done) and ContextMenu creation.
  1234. * ContextMenu.cs: Create tracker on construction.
  1235. 2008-07-30 Everaldo Canuto <[email protected]>
  1236. * MenuAPI.cs: For ContextMenu set GrabControl on TrackPopupMenu, it make
  1237. possible to instantiate MenuTracker without GrabControl.
  1238. 2008-07-30 Everaldo Canuto <[email protected]>
  1239. * MenuAPI.cs: On constructor dont set the GrabControl for non ContextMenu.
  1240. * MainMenu.cs: Set GrabControl on SetForm using current form.
  1241. 2008-07-30 Everaldo Canuto <[email protected]>
  1242. * MenuAPI.cs: Chage grab_control to GrabControl and make it public.
  1243. 2008-07-30 Everaldo Canuto <[email protected]>
  1244. * MenuAPI.cs: Check if menu is activated before deactivate it in
  1245. ProcessShortcut.
  1246. 2008-07-30 Ivan N. Zlatev <[email protected]>
  1247. * TableLayoutStyleCollection, TableLayoutStyle.cs, RowStyle.cs,
  1248. ColumnStyle.cs:
  1249. Make the TableLayoutStyle owned by the the TableLayoutPanel, so that:
  1250. - One style instance can only participate in a single style collection.
  1251. - Styles can request their owner to layout whenever their properties
  1252. change.
  1253. [Fixes bugs #412583 and #412582]
  1254. 2008-07-29 Ivan N. Zlatev <[email protected]>
  1255. * X11Keyboard.cs: Implement the generation of the LParam for
  1256. all keyboard messages.
  1257. [Fixes bug #378728]
  1258. 2008-07-29 Jonathan Pobst <[email protected]>
  1259. * ListBox.cs: Don't let the user set TopIndex so high that it
  1260. scrolls up far enough to show empty items.
  1261. [Fixes bug #412728]
  1262. 2008-07-29 Carlos Alberto Cortez <[email protected]>
  1263. * ThemeWin32Classic.cs: Actually commit the changes to fix #410880
  1264. (I'm an idiot and forgot to commit the actual changes, as well as
  1265. specify the right file, which is this one, not ListView.cs).
  1266. 2008-07-28 Carlos Alberto Cortez <[email protected]>
  1267. * ListView.cs: Don't draw ListViewSubItem instances from
  1268. DrawListViewItem - we need to reuse the main item's drawing for the
  1269. first sub item in case owner draw is true, but wants the system to
  1270. do the default draw for the first sub item, without incurring in a
  1271. recursion problem.
  1272. Fixes #410880.
  1273. 2008-07-28 Jonathan Pobst <[email protected]>
  1274. * ToolStripButton.cs: Update Checked for CheckOnClick before
  1275. raising the Click event. [Fixes bug #412505]
  1276. 2008-07-28 Ivan N. Zlatev <[email protected]>
  1277. * Form.cs: Remove some seems leftover code for non-TopLevel's
  1278. CreateParams, which is breaking ClientSize sizing, because it
  1279. removes the border window styles.
  1280. 2008-07-27 Ivan N. Zlatev <[email protected]>
  1281. * PropertyGrid.cs: Invalidate the View when the PropertyTab
  1282. changes.
  1283. 2008-07-25 Gert Driesen <[email protected]>
  1284. * WebBrowser.cs: Removed debug output.
  1285. 2008-07-25 Jonathan Pobst <[email protected]>
  1286. * FileDialog.cs: Apply patch from Ernesto to clean up some
  1287. dialog messages.
  1288. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1289. * TableLayoutPanel.cs: Perform layout on GrowStyle change, so
  1290. that the change has an immediate effect.
  1291. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1292. * ScrollableControl.cs: Update PerformLayout calls to include
  1293. provide the name of the property that changed.
  1294. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1295. * TableLayoutPanel.cs: Draw relative to the DisplayRectangle
  1296. location. Fixes drawing of border and cell borders if scrollable.
  1297. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1298. * ScrollableControl.cs: Perform layouting after the AutoScroll
  1299. properties have changed, so that the changes have immediate
  1300. effect.
  1301. [Fixes bug #409090]
  1302. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1303. * XplatUIX11.cs: Non Client area is actually Client such in the
  1304. case of NotifyIcon, so double check WholeWindow == ClientWindow
  1305. when adding an expose.
  1306. [Fixes bugs #324237 and #357022]
  1307. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1308. * TableLayoutPanel.cs: Invalidate after layouting, so that we
  1309. repaint the cell borders.
  1310. 2008-07-25 Ivan N. Zlatev <[email protected]>
  1311. * PropertyGridTextBox.cs: Stop filtering messages prior to our
  1312. disposal to avoid unexpected ObjectDisposedExceptions.
  1313. 2008-07-24 Ivan N. Zlatev <[email protected]>
  1314. * TableLayoutPanel.cs: Layout on Row/Column count change.
  1315. 2008-07-22 Gert Driesen <[email protected]>
  1316. * ListViewItem.cs: Changed binary serialization to match MS. Fixes
  1317. bug #409351.
  1318. * PictureBox.cs: When ImageLocation is set to null or an empty string,
  1319. only set image to null if it was previously initialized from an url
  1320. (or using ImageLocation). In ImageLocation, load specified image
  1321. asynchronously if WaitOnLoad is false. Added support for local file
  1322. paths to LoadAsync, and added missing argument check.
  1323. 2008-07-22 Carlos Alberto Cortez <[email protected]>
  1324. * DateTimePicker.cs:
  1325. * ThemeWin32Classic.cs: Add a editing capability to DateTimePicker, in
  1326. order to set the value as required (which means: when selection
  1327. changes for a part being edited, and not before that if not needed).
  1328. Also use an enum to describe which part are we using, and use the
  1329. selection as a property in PartData, in order to notify the
  1330. DateTimePicker owner that we need to end the current edit.
  1331. Fixes #383462.
  1332. 2008-07-17 Ivan N. Zlatev <[email protected]>
  1333. * PropertyGridTextBox.cs: Validation should be performed only if we
  1334. are focused. We can lose focus for example if the Return key is used
  1335. to set the entry and there is an error. When the message box is
  1336. displayed we would have validate on click in the message box.
  1337. 2008-07-16 Ivan N. Zlatev <[email protected]>
  1338. * GridEntry.cs: Checking for DesignerSerializaitonVisibility.Content
  1339. in order to determine that we are expandable is wrong. There was a bug,
  1340. now fixed, in TypeDescriptor that was causing the wrong converter to be
  1341. returned which caused GetPropertiesSupported == false in most cases.
  1342. [Fixes bug #409027]
  1343. 2008-07-15 Jonathan Pobst <[email protected]>
  1344. * ImageList.cs: Fix ICollection.CopyTo implementation for
  1345. ImageListCollection. [Fixes bug #409169]
  1346. 2008-07-14 Jonathan Pobst <[email protected]>
  1347. * MenuAPI.cs, ToolStripDropDown.cs: Use VirtualScreen instead of
  1348. WorkingArea so that menus can appear on the second monitor
  1349. when one has dual monitors.
  1350. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1351. * TextBox.cs: Auto complete stuff in WndProc should be 2.0 only.
  1352. Fixes build.
  1353. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1354. * TextBox.cs: Implement navigation support for auto complete in
  1355. TextBox, as well as refactor the code to show the auto complete window
  1356. when receiving a WM_CHAR message, instead of TextChanged, since
  1357. autocomplete itself should be able to set the Text a lot of times and
  1358. finally only typing should show it, not changes from code.
  1359. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1360. * TabControl.cs: When expanding the selected tab, don't adjust the
  1361. width if alignment is Right, since it has a different offset than 0,
  1362. as opposed to the other alignments.
  1363. Fixes the selected tab not being painted at all with alignment = Right
  1364. and using FillToRight size mode.
  1365. 2008-07-14 Jonathan Pobst <[email protected]>
  1366. * TreeView.cs: Fix ToString to match MS. [Fixes bug #409029]
  1367. 2008-07-14 Jonathan Pobst <[email protected]>
  1368. * NumericUpDown.cs: Apply patch from Andy Hume to clamp out of range
  1369. values from the textbox to the boundary values. [Fixes bug #409026]
  1370. 2008-07-14 Jonathan Pobst <[email protected]>
  1371. * TreeNodeCollection.cs: We were copying one too many elements when
  1372. doing our array copy. Fixes a crash when RemoveAt is called.
  1373. [Fixes bug #408999]
  1374. 2008-07-14 Carlos Alberto Cortez <[email protected]>
  1375. * TabControl.cs: When doing the layout and need to call FillRow -using
  1376. FillToRight size mode-, use the overload receiving a bool param
  1377. indicating whether we need to do a vertical or horizontal calculation.
  1378. Fixes part of #399583.
  1379. 2008-07-13 Carlos Alberto Cortez <[email protected]>
  1380. * TextBox.cs: When painting, use the value returned by
  1381. GetLastVisibleItem instead of using the cached last_item field, since
  1382. there could be a desynchronization between the layout and the
  1383. painting. Fixes a AOOR exception in auto complete mode.
  1384. 2008-07-12 George Giolfan <[email protected]>
  1385. * ThemeVisualStyles.cs: Disabled when Application.VisualStyleState is
  1386. NonClientAreaEnabled until our VisualStyles is modified to allow it.
  1387. 2008-07-12 Gert Driesen <[email protected]>
  1388. * TextBox.cs: Fixed NRE in LostFocus. Avoid unnecessary initialization.
  1389. 2008-07-11 Carlos Alberto Cortez <[email protected]>
  1390. * TextBox.cs: When focus is lost, if the auto complete listbox is
  1391. visible, hide it.
  1392. 2008-07-11 George Giolfan <[email protected]>
  1393. * InternalWindowManager.cs: HandleSizing: Implemented a better minimum
  1394. tracking size for tool windows.
  1395. * Theme.cs, ThemeWin32Classic.cs : Extracted
  1396. ManagedWindowSpacingAfterLastTitleButton.
  1397. 2008-07-11 Jonathan Pobst <[email protected]>
  1398. * ThemeEngine.cs: Remove the clearlooks, nice, and old gtk themes.
  1399. They are bit-rotted and have always been listed as "unsupported".
  1400. 2008-07-11 Jonathan Pobst <[email protected]>
  1401. * PictureBox.cs: Don't crash if ImageLocation is set to "" or null.
  1402. 2008-07-11 George Giolfan <[email protected]>
  1403. * ThemeVisualStyles.cs: Fixed minimized window height adjustment.
  1404. 2008-07-10 Jonathan Pobst <[email protected]>
  1405. * ListBox.cs: Make sure last_item_visible gets reset before we try
  1406. to do a layout due to scrollbars appearing or disappearing.
  1407. [Fixes bug #408139]
  1408. 2008-07-10 Jonathan Pobst <[email protected]>
  1409. * XPlatUIWin32.cs: Change GetMenuOrigin to calculate borders better
  1410. for different window themes. [Fixes bug #339140]
  1411. 2008-07-10 George Giolfan <[email protected]>
  1412. * ThemeWin32Classic.cs: Implemented minimized window border width properly,
  1413. in ManagedWindowBorderWidth.
  1414. 2008-07-10 Jonathan Pobst <[email protected]>
  1415. * InternalWindowManager.cs: Change MouseMove to take a point, so
  1416. we can use the same point later on.
  1417. * MdiWindowManager.cs: Store point sent to MouseMove so we can
  1418. later reset to it. On Windows, the Cursor.Position had already
  1419. changed by the time we were resetting to it.
  1420. [Fixes bug #363239]
  1421. 2008-07-10 Jonathan Pobst <[email protected]>
  1422. * InternalWindowManager.cs: Ignore mouse actions on TitleButtons that
  1423. are inactive.
  1424. * ThemeWin32Classic.cs: Disable or hide MinimizeBox/MaximizeBox if
  1425. user requested it.
  1426. [Fixes bug #398686]
  1427. 2008-07-10 Jonathan Pobst <[email protected]>
  1428. * MdiWindowManager.cs: Double-clicking on the title bar should not
  1429. maximize a MDI form if MaximizeBox = false.
  1430. 2008-07-10 George Giolfan <[email protected]>
  1431. * ThemeVisualStyles.cs: Fixed a warning.
  1432. 2008-07-10 George Giolfan <[email protected]>
  1433. * ThemeVisualStyles.cs: Fixed warnings and formatted.
  1434. 2008-07-10 George Giolfan <[email protected]>
  1435. * ThemeVisualStyles.cs: Removed ManagedWindowGetMenuButtonSize. The base
  1436. implementation produces a better result.
  1437. 2008-07-10 George Giolfan <[email protected]>
  1438. * ThemeVisualStyles.cs: Adjusted height and border rendering for minimized
  1439. windows.
  1440. 2008-07-10 George Giolfan <[email protected]>
  1441. * Application.cs: Added VisualStylesEnabled because XplatUI.ThemesEnabled
  1442. cannot be used from the ThemeEngine constructor.
  1443. * ThemeEngine.cs: Changed the XplatUI.ThemesEnabled check to
  1444. Application.VisualStylesEnabled because it does not work on X11.
  1445. 2008-07-09 Jonathan Pobst <[email protected]>
  1446. * StatusBar.cs: Apply patch from Andy Hume to remove lazy instantiation
  1447. that we did not always check for, as well as fixes to the IList
  1448. implementations. [Fixes bug #402703]
  1449. 2008-07-09 George Giolfan <[email protected]>
  1450. * IDeviceContext.cs: Added Dispose.
  1451. 2008-07-09 George Giolfan <[email protected]>
  1452. * Control.cs: Added OnSizeInitializedOrChanged.
  1453. * Form.cs: OnLoadInternal: Added a call to
  1454. Control.OnSizeInitializedOrChanged.
  1455. * InternalWindowManager.cs:
  1456. * HandleTitleBarMouseMove: No longer invalidates the parent window.
  1457. * DrawTitleButton: Extracted Theme.ManagedWindowDrawMenuButton.
  1458. * TitleButton: Added Entered.
  1459. * TitleButtons.MouseMove: Added handling of TitleButton.Entered.
  1460. * MdiWindowManager.cs:
  1461. * HandleTitleBarMouseMove: Now invalidates the parent window when a mouse
  1462. move over the maximized title buttons causes a change.
  1463. * IsActive: Can now be called before the window is added to a MDI parent.
  1464. * Theme.cs: Added ManagedWindowTitleButtonHasHotElementStyle,
  1465. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  1466. * ThemeVisualStyles.cs: Implemented proper managed window rendering.
  1467. * ThemeWin32Classic.cs:
  1468. * Extracted ManagedWindowDrawTitleBarAndBorders, ManagedWindowDrawTitleButton.
  1469. * DrawTitleButton takes a new form parameter.
  1470. * Added ManagedWindowTitleButtonHasHotElementStyle,
  1471. ManagedWindowDrawMenuButton, ManagedWindowOnSizeInitializedOrChanged.
  1472. 2008-07-09 George Giolfan <[email protected]>
  1473. * ThemeEngine.cs: ThemeVisualStyles is now selected if
  1474. Application.EnableVisualStyles has been called, even if the current system
  1475. configuration does not support rendering with Visual Styles.
  1476. * ThemeVisualStyles.cs: Now falls back to ThemeWin32Classic when Visual
  1477. Styles should not be used.
  1478. 2008-07-08 Jonathan Pobst <[email protected]>
  1479. * ComboBox.cs: PreferredHeight is not tied to ItemHeight. Fixes 3rd
  1480. ComboBox in FormsTest.
  1481. 2008-07-08 Ivan N. Zlatev <[email protected]>
  1482. * ThemeWin32Classic.cs: (ManagedWindowBorderWidth): width 3 is only
  1483. for fixed toolwindows.
  1484. 2008-07-08 George Giolfan <[email protected]>
  1485. * Form.cs: SetBoundsCore: Added minimum size for minimized windows.
  1486. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1487. * Control.cs: CreateControl just returns if the Control is diposed
  1488. and doesn't throw ObjectDisposedException.
  1489. [Fixes bug #406566]
  1490. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1491. * Control.cs: Do not create the control if the parent isn't created
  1492. yet, e.g in the case of a parented form on which .Show is called.
  1493. It will be created when the parent is made visible/created.
  1494. Improves #402446.
  1495. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1496. * Form.cs: Avoid recursively calling OnSizeChanged due to recursive
  1497. WM_WINDOWPOSCHANGED caused by the layouting code on win32.
  1498. [Fixes bug #406786]
  1499. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1500. * Form.cs: When disposed set owner to null. Improves #402446.
  1501. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1502. * Form.cs, FlowLayoutPanel.cs: When calculating the PreferredSize
  1503. use children's PreferredSize if in AutoSize mode and ExplicitBounds
  1504. if not.
  1505. * Form.cs: Take the Padding into account for the PreferredSize.
  1506. [Fixes bug #402849]
  1507. 2008-07-07 Carlos Alberto Cortez <[email protected]>
  1508. * TabControl.cs: Since we don't support more than one direction in
  1509. TabControl rows alignment (this is, the row becomes the
  1510. bottom row when selected), make Direction return always 1. This way
  1511. the layout doesn't get confused about a bad calculation.
  1512. Fixes #399582.
  1513. 2008-07-07 Ivan N. Zlatev <[email protected]>
  1514. * XplatUIX11.cs: Implement NC hit-testing for mouse down/up messages,
  1515. so that the wparam is properly set.
  1516. Fixes form moving in the test case in bug 402446.
  1517. 2008-07-07 Jonathan Pobst <[email protected]>
  1518. * FolderBrowserDialog.cs: If we can't find the SelectedPath, display
  1519. the full tree instead of nothing. [Improves bug #406584]
  1520. 2008-07-07 George Giolfan <[email protected]>
  1521. * ThemeWin32Classic.cs: Adjusted minimized window painting.
  1522. 2008-07-07 George Giolfan <[email protected]>
  1523. * InternalWindowManager.cs: No longer draws decorations for maximized MDI
  1524. children.
  1525. 2008-07-04 Jonathan Pobst <[email protected]>
  1526. * TreeView.cs: Add a null check when using CollapseAll on an
  1527. empty tree. [Fixes bug #406449]
  1528. 2008-07-03 Jonathan Pobst <[email protected]>
  1529. * Form.cs: Make OnMenuComplete internal so we can call it.
  1530. * MenuAPI.cs: Raise Form.MenuComplete when a menu item is clicked.
  1531. [Fixes bug #399321]
  1532. 2008-07-03 Jonathan Pobst <[email protected]>
  1533. * TabControl.cs: Handle Up and Down keys when TabControl is in
  1534. vertical alignment.
  1535. [Fixes bug #399585]
  1536. 2008-07-03 Jonathan Pobst <[email protected]>
  1537. * TabControl.cs: Invalidate when we remove a tab. Guard against
  1538. an AOORE when trying to remove a tabpage that is not owned by the
  1539. parent control.
  1540. [Fixes bug #399927]
  1541. 2008-07-03 Jonathan Pobst <[email protected]>
  1542. * ScrollBar.cs: Change the LargeChange calculation to be correct.
  1543. Ensure we are using LargeChange instead of large_change so we our
  1544. calculations are correct.
  1545. [Fixes bug #403122]
  1546. 2008-07-03 Jonathan Pobst <[email protected]>
  1547. * TableLayoutPanel.cs: When we change to a serialized TableLayoutSettings,
  1548. we need to ensure the ColumnCount/RowCount gets set.
  1549. [Fixes bug #404851]
  1550. 2008-07-02 Carlos Alberto Cortez <[email protected]>
  1551. * ListBox.cs: When handling item navigation, if selection mode is
  1552. None, call EnsureVisible, since scrolling is normally handled by
  1553. selection, that we are not calling in this case.
  1554. Fixes #398345.
  1555. 2008-07-02 Jonathan Pobst <[email protected]>
  1556. * ContainerControl.cs: Apply a patch from Ernesto Carrea that adds
  1557. a null check to our focus walking code. [Fixes bug #394332]
  1558. 2008-07-02 Andy Hume <andyhume32 at yahoo dot co dot uk>
  1559. * ComboBox.cs: Case missed in bug 379596 "Support item
  1560. navigation by entering text": On _close_ drop-down select
  1561. the first item matching the text in the textbox. [Fixes bug #397265]
  1562. 2008-07-02 Jonathan Pobst <[email protected]>
  1563. * DataGridView.cs: Fix a crash when sorting by column headers,
  1564. mentioned in bug #404841. Remove some dead switch cases.
  1565. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  1566. * ComboBox.cs:
  1567. * TextBox.cs: Implement AutoComplete support for ComboBox, which just
  1568. uses the AutoComplete support in the internal TextBox. Also TextBox
  1569. can store a reference to ComboBox, in case AutoCompleteSource is set
  1570. to ListItems (this is, ComboBox's items, and we don't want to pass an
  1571. additional collection).
  1572. 2008-07-01 Carlos Alberto Cortez <[email protected]>
  1573. * ListViewItem.cs: Restore the initial value of bounds rect to
  1574. Rectangle.Empty, and is this value for Layout detection in virtual
  1575. mode. Fixes the tests.
  1576. 2008-06-30 Jonathan Pobst <[email protected]>
  1577. * XPlatUI.cs: Remove references to "new" X11 backend.
  1578. 2008-06-28 Ivan N. Zlatev <[email protected]>
  1579. * Control.cs: Add an internal virtual OnDragDropEnd method
  1580. to allow controls such as ListBox, which depend on a sequence
  1581. of MouseDown+Move+End events, to handle the lack of a MouseUp
  1582. when a DnD operation is started in MouseDown.
  1583. * ListBox.cs: If a DnD operation is started in MouseDown we won't
  1584. get a MouseUp, so reset our state whenever a DnD operation ends.
  1585. 2008-06-28 Ivan N. Zlatev <[email protected]>
  1586. * PropertyGrid.cs: Clear the root griditem first thing when
  1587. new object/s is/are selected. Fixes some rare cases where
  1588. the View will get a paint request and won't know that the
  1589. grid is in the process of repopulating.
  1590. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1591. * XplatUIX11.cs, InternalWindowManager.cs:
  1592. If WS_EX_TOOLWINDOW is set in the CreateParams for a form MS
  1593. doesn't automagically update the FormBorderStyle, so we must
  1594. double check the CreateParams explicitly to determine if the
  1595. window is a toolwindow.
  1596. * ThemeWin32Classic.cs: Use InternalWindowManager.IsToolWindow
  1597. instead of doing custom checks.
  1598. Fixes toolwindows for the test case in bug #402446
  1599. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1600. * Control.cs: Visibility of the control should be false
  1601. when the handle is destroyed in WmDestroy and not immediately
  1602. in Dispose(). This is effectively where the disposing process
  1603. ends even though the control is marked as Disposed immediately
  1604. after calling Dispose().
  1605. [Fixes bug #402446]
  1606. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1607. * PropertyGridTextBox.cs: Start monitoring the mouse clicks
  1608. when the textbox gets focus.
  1609. [Fixes bug #402704]
  1610. 2008-06-27 Ivan N. Zlatev <[email protected]>
  1611. * PropertyGridTextBox.cs, PropertyGridView.cs:
  1612. - Alt + Down should show the drop down editor.
  1613. - Focus the editor when showing it
  1614. [Fixes bug #402710]
  1615. 2008-06-25 Jonathan Pobst <[email protected]>
  1616. * ThemeWin32Classic.cs: Fix from Andy for panel text for panels
  1617. that are not the first panel.
  1618. * StatusBar.cs: Ensure that the X coordinate of panels is always
  1619. stored. Fix IList implementation of StatusBarPanelCollection to
  1620. call the regular methods.
  1621. [Fixes bug #403599, #402165]
  1622. 2008-06-23 Jonathan Pobst <[email protected]>
  1623. * ThemeWin32Classic.cs: Fix position calculation for centered
  1624. text on status bar panels. [Fixes bug #402165]
  1625. 2008-06-22 Ivan N. Zlatev <[email protected]>
  1626. * Splitter.cs: Fix Splitter to:
  1627. - Work for arbitrary splitter size
  1628. - Handle MinSize and MinExtra properly
  1629. - Get rid of absolute positioning during drag and use relative
  1630. - Multiple other fixes
  1631. [Fixes bug #338966]
  1632. 2008-06-22 Ivan N. Zlatev <[email protected]>
  1633. * Cursor.cs: Show shouldn't hide the cursor.
  1634. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  1635. * ListViewItem.cs: When invalidating, add some extra space to bounds,
  1636. since focus rectangle and selection can add some space and need to
  1637. take into account those small offsets - specially in Details view.
  1638. * ListView.cs: Instead of invalidate using item Bounds directly, call
  1639. item.Invalidate, to have the code centralized.
  1640. Fixes focused/selection garbage when selecting and deselecting items
  1641. that are close.
  1642. 2008-06-21 Carlos Alberto Cortez <[email protected]>
  1643. * ListViewItem.cs: Set bounds initially to -1 values - thus in virtual
  1644. mode we can check whether we have to force a Layout or not, and can
  1645. cache based on this, instead of avoiding caching all the the time. Do
  1646. this check in GetBounds and TextBounds.
  1647. Fixes selection in Details view.
  1648. 2008-06-20 Carlos Alberto Cortez <[email protected]>
  1649. * ListView.cs: Make HeaderControl internal, thus the theme engine can
  1650. get its *real* height instead of trying to infere it.
  1651. * ThemeWin32Classic.cs: When drawing gridlines, don't iterate over the items to
  1652. get the position of them, since it's in general a bad idea in general,
  1653. and because we can't do that in virtual mode. Instead get the first
  1654. visible item as well as item height, and draw them.
  1655. Fixes #400390.
  1656. 2008-06-20 Jonathan Pobst <[email protected]>
  1657. * ToolStripSplitButton.cs: We can't add in extra width if
  1658. the button is not AutoSize. [Fixes bug #401279]
  1659. 2008-06-20 Ivan N. Zlatev <[email protected]>
  1660. * PaddingConverter.cs:
  1661. - Implement conversion to InstanceDescriptor
  1662. - Handle "All" in CreateInstance by using the supplied
  1663. ITypeDescriptorContext.
  1664. [Fixes bugs #396076 and #396078]
  1665. Patch by Andy Hume <[email protected]>
  1666. Code contributed under MIT/X11 license.
  1667. 2008-06-19 Andy Hume <andyhume32 at yahoo dot co dot uk>
  1668. * ComboBox.cs, ListControl.cs, Control.cs, Button.cs,
  1669. ButtonBase.cs:
  1670. Add Category attributes.
  1671. Code is contributed under the MIT/X11 license.
  1672. 2008-06-18 Ivan N. Zlatev <[email protected]>
  1673. * Form.cs:
  1674. - Fix a NRE when unparenting a form.
  1675. - Do not recreate or destroy a parented form when
  1676. unparenting.
  1677. 2008-06-18 Carlos Alberto Cortez <[email protected]>
  1678. * TextBox.cs: Implement basic support for AutComplete with custom
  1679. sources.
  1680. 2008-06-18 Jonathan Pobst <[email protected]>
  1681. * ToolStripSplitButton.cs: Left and Top of ButtonBounds, SplitterBounds,
  1682. DropDownButtonBounds should be from the origin of the button, not the
  1683. ToolStrip. [Fixes bug #401279]
  1684. 2008-06-16 Sandy Armstrong <[email protected]>
  1685. * X11DesktopColors.cs: Clear GTK_MODULES environment variable before
  1686. running gtk_init_check. This prevents GAIL from loading
  1687. unnecessarily, which was breaking UIA support. Initial fix for bug
  1688. #375987.
  1689. * Application.cs: Add UIA support to Winforms. New static constructor
  1690. uses reflection to initialize UIAutomationWinforms assembly. Added
  1691. PreRun event so UIA can initialize before the mainloop starts, and
  1692. FormAdded event so UIA can provide a11y support for new Forms in an
  1693. Application.
  1694. 2008-06-16 Jonathan Pobst <[email protected]>
  1695. * DataGridView.cs: When binding to a dataset, subscribe to table
  1696. and column change events. Unsubscribe to these when we clear bindings.
  1697. [Fixes bug #399601]
  1698. 2008-06-14 Everaldo Canuto <[email protected]>
  1699. [DataGrid drawing refactory]
  1700. * DataGrid.cs: Fix the caption size, we need one pixel more for divider.
  1701. * DataGridColumnStyle.cs: Removing PaintHeader code, the draw operations
  1702. must be handle by Theme, now it call DataGridPaintColumnHeader.
  1703. * DataGridTextBoxColumn.cs: Fix the textbox size. It must be one pixel less,
  1704. test cases must be also fixed because it checks for wrong size.
  1705. * ThemeWin32Classic.cs:
  1706. - Draw the bottom line of grid caption.
  1707. - Prevent to draw caption text when it is empty.
  1708. - Use CPDrawBorder3D for 3D efects to simplify code.
  1709. - Uses 3D (when not flat) to paint corner shared between row and column
  1710. header.
  1711. - Fix header drawing issues on win32, now borders are drawing.
  1712. - Fix column header paint issues to mimic win32.
  1713. - Adjust header drawing for last column, like first one it must be draw
  1714. different.
  1715. - Added DataGridPaintRowHeaderStar to draw star like .net does, it is
  1716. not an character.
  1717. - DataGridPaintColumnHeader created to draw column headers, it also
  1718. paint stuff right on Win32.
  1719. - Use DataGridPaintColumnHeader method instead of DataGridColumnStyle
  1720. class.
  1721. * Theme.cs:
  1722. - DataGridPaintRowHeaderStar method added.
  1723. - DataGridPaintColumnHeader method added.
  1724. 2008-06-13 Jonathan Pobst <[email protected]>
  1725. * Control.cs: Don't reset to Dock style layout if DockStyle is
  1726. set to none. [Fixes bug #399316]
  1727. 2008-06-12 Everaldo Canuto <[email protected]>
  1728. * Win32DnD.cs: Fix the check for control not equal null.
  1729. Fixes bug #341420 and #381886.
  1730. 2008-06-12 Jonathan Pobst <[email protected]>
  1731. * DataGridViewRowCollection.cs: Update the indexes of rows after
  1732. one has been removed.
  1733. * DataGridViewSelectedRowCollection.cs: Add internal clear method.
  1734. * DataGridViewSelectedColumnCollection.cs: Add internal clear method.
  1735. * DataGridView.cs: Add support for deleting rows via Delete key, deleting
  1736. rows for the Rows collection, or deleting rows from the bound DataSet.
  1737. 2008-06-12 Jonathan Pobst <[email protected]>
  1738. * DataGridView.cs: Listen to a DataSet's changed event even
  1739. when autogeneratecolumns is false. Refactor the changed event's
  1740. add row code to use the same as the existing add row code.
  1741. [Fixes bug #399601]
  1742. 2008-06-11 Jonathan Pobst <[email protected]>
  1743. * TextBoxBase.cs: We need to call RaiseSelectionChanged pretty
  1744. much any time the caret moves and there is text, not just when
  1745. the selection changes as one would think.
  1746. * RichTextBox.cs: Override RaiseSelectionChanged and fire
  1747. SelectionChanged.
  1748. [Fixes bug #397271]
  1749. 2008-06-11 Jonathan Pobst <[email protected]>
  1750. * FontDialog.cs: Forward ListBox keyboard events to the ListBox
  1751. instead of trying to duplicate the code.
  1752. * ListBox.cs: Make method internal so we can send keyboard events.
  1753. [Fixes bug #398344]
  1754. 2008-06-11 Jonathan Pobst <[email protected]>
  1755. * TextBoxBase.cs: When pasting and checking the max length,
  1756. subtract the selected text length (the text we will be replacing) from
  1757. the document length.
  1758. * TextControl.cs: Ensure every character insertion is reflected in
  1759. charcount, so max length will work properly.
  1760. [Fixes bug #398605]
  1761. 2008-06-11 Jonathan Pobst <[email protected]>
  1762. * ListBox.cs: Ensure scrollbars are updated when a single
  1763. column listbox with an already set top-index is created.
  1764. [Fixes bug #398342]
  1765. 2008-06-11 Jonathan Pobst <[email protected]>
  1766. * FontDialog.cs: Typing in the font/style textboxes should search
  1767. the list boxes case-insensitively. [Fixes bug #398343]
  1768. 2008-06-11 George Giolfan <[email protected]>
  1769. * ThemeWin32Classic.cs: Managed window title bar layout now uses actual
  1770. widths of icon and buttons instead of hard coded values.
  1771. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  1772. * ListBox.cs: When SelectionMode is None, clicking an item should move focus
  1773. as well as generating a SelectedIndexChanged event, just like .Net does
  1774. -surprise-.
  1775. Fixes #398345.
  1776. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  1777. * ListBox.cs: When navigating items visually, use FocusedItem as the
  1778. reference point instead of SelectedIndex, since even in
  1779. SelectionMode.None we need to support navigation, and in that case we
  1780. just can't use SelectedIndex.
  1781. Fixes part of #398345.
  1782. 2008-06-10 Jonathan Pobst <[email protected]>
  1783. * Control.cs: Make a SetBoundsInternal that avoids the new
  1784. SetBounds code.
  1785. * ComboBox.cs, Form.cs, ListBox.cs, ScrollableControl.cs: Use
  1786. SetBoundsInternal instead of SetBoundsCoreInternal.
  1787. 2008-06-10 Ivan N. Zlatev <[email protected]>
  1788. * ScrollableControl.cs: Use SetBoundsCoreInternal instead of
  1789. SetBounds for the scrollbars.
  1790. 2008-06-10 Andreia Gaita <[email protected]>
  1791. * HtmlDocument.cs: Implement RightToLeft, ContextMenuShowing,
  1792. FocusingEvent, LosingFocusEvent, OnMouseDown, OnMouseLeave,
  1793. OnMouseMove, OnMouseOver, OnMouseUp
  1794. * HtmlElement.cs: Optimize InsertBefore. Implement RemoveFocus,
  1795. ScrollIntoView, Focusing, GotFocus, LosingFocus, LostFocus.
  1796. * HtmlElementCollection.cs, HtmlWindowCollection.cs: Keep a reference
  1797. to the WebControl object to pass to new collection objects
  1798. * HtmlHistory.cs: Implement support for individual window histories.
  1799. * HtmlWindow.cs: Implement History, Position, Size, WindowFrameElement,
  1800. AttachEventHandler, DetachEventHandler, RemoveFocus, Error,
  1801. GotFocus, LostFocus, OnLoad, OnUnload
  1802. * WebBrowser.cs: Implement EncryptionLevel, ScrollBarsEnabled,
  1803. ContextMenu
  1804. * WebBrowserBase.cs: Implement Cursor, Enabled, UseWaitCursor, Add
  1805. security level changes and context menu event support.
  1806. 2008-06-10 Carlos Alberto Cortez <[email protected]>
  1807. * ComboBox.cs: Pressing Enter should close the dropdown listbox, just
  1808. as happens with Esc, patch my Andy Hume.
  1809. Fixes #396294.
  1810. 2008-06-10 George Giolfan <[email protected]>
  1811. * MdiWindowManager.cs: DrawMaximizedButtons now uses
  1812. ManagedWindowGetMenuButtonSize instead of ManagedWindowButtonSize.
  1813. * Theme.cs: Made MenuButtonSize platform dependent. Added
  1814. ManagedWindowButtonSize.
  1815. * ThemeWin32Classic.cs: Added ManagedWindowGetMenuButtonSize.
  1816. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added MenuButtonSize.
  1817. 2008-06-10 George Giolfan <[email protected]>
  1818. * DateTimePicker.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs:
  1819. Added support for rendering with VisualStyles.
  1820. 2008-06-10 George Giolfan <[email protected]>
  1821. * ComboBox.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  1822. support for rendering the border with VisualStyles.
  1823. 2008-06-10 George Giolfan <[email protected]>
  1824. * InternalWindowManager.cs: Added ShowIcon. Fixed IconRectangleContains when
  1825. the icon is not shown.
  1826. * ThemeWin32Classic.cs: Now uses InternalWindowManager.ShowIcon instead of
  1827. its own logic.
  1828. 2008-06-10 George Giolfan <[email protected]>
  1829. * InternalWindowManager.cs: Draw minimized windows even if they don't have
  1830. borders.
  1831. 2008-06-09 Jonathan Pobst <[email protected]>
  1832. * ComboBox.cs, ListBox.cs: Use SetBoundsInternalCore instead of SetBounds.
  1833. 2008-06-09 Jonathan Pobst <[email protected]>
  1834. * Control.cs: Fill in the defaults for unspecified bounds in SetBounds.
  1835. [Fixes bug #397943]
  1836. 2008-06-06 Carlos Alberto Cortez <[email protected]>
  1837. * ComboBox.cs: When snaping height -because of IntegralHeight set to
  1838. true- with ComboBoxStyle.Simple, set the height to PreferredHeight
  1839. if the requested height leaves the listbox area with *less* than the
  1840. required are to see one item. We were setting it to PreferredHeight
  1841. even for values matching the height for a single item.
  1842. Fixes #396297.
  1843. 2008-06-06 Jonathan Pobst <[email protected]>
  1844. * DataGridViewCell.cs: Simplify GetInheritedStyle by using ApplyStyle.
  1845. 2008-06-06 Jonathan Pobst <[email protected]>
  1846. * DataGridViewCell.cs: Use property instead of field.
  1847. 2008-06-06 George Giolfan <[email protected]>
  1848. * InternalWindowManager.cs, ThemeWin32Classic.cs: Removed useless Form.Icon
  1849. null checks.
  1850. 2008-06-06 George Giolfan <[email protected]>
  1851. * Theme.cs: Added #region around the managed window code. Made the managed
  1852. window methods abstract.
  1853. * ThemeWin32Classic.cs: Added #region around the managed window code.
  1854. 2008-06-06 George Giolfan <[email protected]>
  1855. * InternalWindowManager.cs: Now only calls Theme.DrawManagedWindowDecorations
  1856. if it has borders.
  1857. * ThemeWin32Classic.cs: Removed HasBorders checks in
  1858. DrawManagedWindowDecorations.
  1859. 2008-06-06 George Giolfan <[email protected]>
  1860. * InternalWindowManager.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  1861. Extracted ManagedWindowGetTitleBarIconArea.
  1862. 2008-06-05 Jonathan Pobst <[email protected]>
  1863. * DataGridViewCellStyle.cs: Don't clone the font.
  1864. 2008-06-05 Jonathan Pobst <[email protected]>
  1865. * DataGridViewCell.cs: Ensure we don't pass null to GetConverter.
  1866. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  1867. * XplatUIX1..cs: Use IntPtr size instead of int, as wee need to work
  1868. also on 64 bit machinges. Fixes the BadWindow errors while scrolling
  1869. in 64 bit machines.
  1870. 2008-06-05 Jonathan Pobst <[email protected]>
  1871. * DataGridViewCell.cs: Correctly get converters for FormattedValue.
  1872. Use Format/FormatProvider before trying converters.
  1873. * DataGridViewCellStyle.cs: ApplyStyle should only apply things that
  1874. are 'set'. Change constructor to not use ApplyStyle since it wants
  1875. everything applied. Clone the Font.
  1876. * DataGridViewRowHeaderCell.cs: Start with DefaultCellStyle and
  1877. ApplyStyle the rest.
  1878. 2008-06-05 Carlos Alberto Cortez <[email protected]>
  1879. * ListView.cs: We need to calculate the scrollbars even if the handle
  1880. hasn't been created - this is needed when methods using scrollbars
  1881. info, such EnsureVisible, are called before control has been created.
  1882. Fixes #397272.
  1883. 2008-06-05 George Giolfan <[email protected]>
  1884. * ThemeVisualStyles.cs: ScrollBar is now rendered with the VisualStyles API
  1885. only if the elements are defined.
  1886. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  1887. * ComboBox.cs: I'm an idiiot - forgot to commit the last ComboBox
  1888. section. Also, when setting bounds, snap height as well as save the
  1889. requested height if Dock has any value affecting the height: Left,
  1890. Right and Bottom - important if using IntegralHeight as true.
  1891. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  1892. * ComboBox.cs: When calling UpdateComboBoxBounds, adjust the height
  1893. passed to SetBounds to reflect the new adjusted height (Integral-wise),
  1894. instead of doing that only in our SetBoundsCore override, since the
  1895. bounds cached can be the same as saved one and we could not get the
  1896. new height applied.
  1897. Fixes #396297.
  1898. 2008-06-04 George Giolfan <[email protected]>
  1899. * Theme.cs: Made ToolWindowCaptionButtonSize platform dependent.
  1900. * XplatUI.cs: Added ToolWindowCaptionButtonSize.
  1901. * XplatUIDriver.cs: Changed SmallCaptionButtonSize to 15,15. Added
  1902. ToolWindowCaptionButtonSize.
  1903. * XplatUIWin32.cs: Added ToolWindowCaptionButtonSize.
  1904. 2008-06-04 George Giolfan <[email protected]>
  1905. * MdiWindowManager.cs: Now uses SystemInformation.DoubleClickTime instead of
  1906. hard coded values.
  1907. * Theme.cs: Made DoubleClickTime plaform dependent.
  1908. 2008-06-04 George Giolfan <[email protected]>
  1909. * Theme.cs: Made ToolWindowCaptionHeight platform dependent.
  1910. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  1911. ToolWindowCaptionHeight.
  1912. 2008-06-04 George Giolfan <[email protected]>
  1913. * InternalWindowManager.cs: The adjustment to ensure positive client area
  1914. sizes is now platform dependent (disabled on Windows).
  1915. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added
  1916. RequiresPositiveClientAreaSize.
  1917. 2008-06-04 George Giolfan <[email protected]>
  1918. * Form.cs: Fixed null handling in Icon (see SettingIconToNull in the tests).
  1919. 2008-06-04 George Giolfan <[email protected]>
  1920. * InternalWindowManager.cs: Changed IconicSize to use
  1921. SystemInformation.MinimizedWindowSize.
  1922. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinimizedWindowSize.
  1923. * XplatUIDriver.cs: Changed MinimizedWindowSize to provide a default value.
  1924. 2008-06-04 Carlos Alberto Cortez <[email protected]>
  1925. * ComboBox.cs: If the combobox is anchored both on top and bottom,
  1926. adjust height if IntegralHeight is true when calling SetBoundsCore (as
  1927. likely the height was modified even if Height wasn't specified in
  1928. BoundsSpecified parameter).
  1929. Fixes part of #396297.
  1930. 2008-06-04 George Giolfan <[email protected]>
  1931. * InternalWindowsManager.cs: Changed minimum window size while resizing to
  1932. SystemInformation.MinWindowTrackSize.
  1933. * XplatUICarbon.cs, XplatUIX11.cs: Removed MinWindowTrackSize.
  1934. * XplatUIDriver.cs: Changed MinWindowTrackSize to provide a default value.
  1935. 2008-06-03 George Giolfan <[email protected]>
  1936. * MenuItem.cs: Fixed Dispose.
  1937. 2008-06-03 George Giolfan <[email protected]>
  1938. * ColumnHeader.cs: CalcColumnHeader now uses the theme to get the height.
  1939. * DataGridView.cs: * EnableHeadersVisualStyles: Fixed default value.
  1940. EnteredHeaderCell, PressedHeaderCell: Added.
  1941. * DataGridViewCell.cs: Refactored: Extracted GetBorderPen.
  1942. * DataGridViewColumnHeaderCell.cs, DataGridViewRowHeaderCell.cs: Gave the
  1943. theme a chance to override default painting.
  1944. * ListView.cs: Added EnteredColumnHeader. Refactored: Extracted
  1945. GetColumnHeaderInvalidateArea, Invalidate(ColumnHeader).
  1946. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added members for
  1947. ListView and DataGridView header rendering.
  1948. 2008-06-03 Ivan N. Zlatev <[email protected]>
  1949. * RichTextBox.cs: GetPositionFromCharIndex should return the
  1950. visual position of the character relative to the viewport.
  1951. [Fixes part of bug #396664]
  1952. 2008-06-03 Ivan N. Zlatev <[email protected]>
  1953. * GridEntry.cs: Make HasCustomEditor check for EditStyle != None
  1954. and not just for the existance of an UITypeEditor. In some cases
  1955. there is an editor associated just to do PaintValue, but which
  1956. doesn't actually support editing.
  1957. [Fixes bug #396632]
  1958. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  1959. * ComboBox.cs: page_size as well as vscrollbar.LargeChange should be 1
  1960. if needed, instead of 0 - this should help us in the corner case where
  1961. we have more than one item but we are only partially showing 1 item.
  1962. Fixes part of #374713.
  1963. 2008-05-02 Carlos Alberto Cortez <[email protected]>
  1964. * XplatUiX11.cs: When scrolling and detecting the obscured areas in a
  1965. control, return immediately if the any parent control's handle hasn't
  1966. been created or isn't visible, as well as avoiding creating the parent
  1967. Form if the handle hasn't been previously created.
  1968. Fixes tests.
  1969. 2008-06-02 Jonathan Pobst <[email protected]>
  1970. * TableLayoutPanel.cs: Use border sizes when calculating the
  1971. panel's preferred size. [Fixes part of bug #396433]
  1972. 2008-06-02 Ivan N. Zlatev <[email protected]>
  1973. * SplitContainer.cs:
  1974. - Fix SplitterDistance to update only if needed.
  1975. - Make it force min and max validation.
  1976. - Handle properly mouse moves outside the resizeable area.
  1977. [Fixes bug #396232]
  1978. 2008-06-02 Andreia Gaita <[email protected]>
  1979. * WebBrowserBase.cs: Implement support for ScriptErrorsSuppressed
  1980. (which also suppresses all popup dialogs). Throw NotSupported
  1981. exceptions for activex getters/setters.
  1982. * WebBrowser.cs: Implement DocumentStream, DocumentType, IsBusy,
  1983. IsOffline, ReadyState, ScriptErrorsSuppressed, ScrollbarsEnabled,
  1984. StatusText, Version, GoSearch
  1985. * HtmlDocument.cs: Add DocType support
  1986. 2008-06-02 Andy Hume <[email protected]>
  1987. * TextBox.cs: Implement TextBoxAutoCompleteSourceConverter.
  1988. [Fixes bug 396124]
  1989. 2008-06-02 Ivan N. Zlatev <[email protected]>
  1990. * GridEntry.cs: Pass the ITypeDescriptorContext everywhere.
  1991. 2008-06-02 Jonathan Pobst <[email protected]>
  1992. * TableLayoutPanel.cs: When calculating preferred size, use the
  1993. actual number of columns and rows, not what the user set them to.
  1994. [Fixes bug #396141]
  1995. 2008-06-02 George Giolfan <[email protected]>
  1996. * Form.cs: Enabled managed handling of tool window MDI children. Fixes bug
  1997. 394311.
  1998. 2008-06-01 Carlos Alberto Cortez <[email protected]>
  1999. * XplatUIX11.cs: When detecting areas obscured in a control by other
  2000. toplevel windows while scrolling, return if the control hasn't a
  2001. container form.
  2002. Fixes some tests.
  2003. 2008-05-01 Carlos Alberto Cortez <[email protected]>
  2004. * XplatUIX11.cs: Properly detect the visible area of a control being
  2005. scrolled (obscured by other winforms controls and any X toplevel
  2006. windows), to mark as invalid the requested area to be scrolled that
  2007. isn't visible and thus can't be copied.
  2008. Fixes #324513.
  2009. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  2010. * ListBox.cs: Compute the precise amount to vertically scroll when
  2011. using DrawMode.OwnerDrawVariable.
  2012. Patch by jkeymer ([email protected]).
  2013. 2008-05-30 Carlos Alberto Cortez <[email protected]>
  2014. * ComboBox.cs: Use ListBox-like scrollbar values In ComboListBox
  2015. to avoid setting an invalid value for the verticall scrollbar
  2016. when navigating items. And, duh, also remove my silly debug messages
  2017. from previous commits.
  2018. Fixes #374713.
  2019. 2008-05-30 Ivan N. Zlatev <[email protected]>
  2020. * FlatButtonAppearance.cs: Make FlatButtonAppearanceConverter exandable and
  2021. make it MS compatible.
  2022. 2008-05-30 Ivan N. Zlatev <[email protected]>
  2023. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs:
  2024. - Allow the editing of entries even if their parent is read-only.
  2025. - Do not render expandable properties read-only.
  2026. - Refactor expansion checks form PropertyGrid into PropertyGrid.
  2027. 2008-05-30 George Giolfan <[email protected]>
  2028. * ScrollBar.cs, Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs: Added
  2029. support for the hover style.
  2030. 2008-05-29 Andreia Gaita <[email protected]>
  2031. * ContainerControl.cs: Check for null dead-end when traversing the tree
  2032. of parent controls.
  2033. [Fixes #394332, patch by Ernesto Carrea]
  2034. 2008-05-29 Geoff Norton <[email protected]>
  2035. * XplatUICarbon.cs: Fix a culture-dependent conversion to be the
  2036. constant that it is. Fixes #393981
  2037. 2008-05-29 Jonathan Pobst <[email protected]>
  2038. * Form.cs: Add a MonoTODO to the AutoScaleBaseSize setter explaining
  2039. that the user probably doesn't want to set this.
  2040. 2008-05-29 Jonathan Pobst <[email protected]>
  2041. * ThemeWin32Classic.cs: Don't let the text size be bigger than
  2042. the control size for CheckBox/RadioBox.
  2043. [Fixes part of bug #394645]
  2044. 2008-05-29 Ivan N. Zlatev <[email protected]>
  2045. * PropertyGrid.cs: Update the state of the sorting buttons in
  2046. the toolbar if PropertySort is set programatically.
  2047. 2008-05-29 Ivan N. Zlatev <[email protected]>
  2048. * GridItemCollection.cs: Add multiple items with conflicting names
  2049. support and also preserve name ordering.
  2050. [Fixes #395345]
  2051. 2008-05-29 Ivan N. Zlatev <[email protected]>
  2052. * GridItemCollection.cs: Revert my multiple items with same
  2053. name patch.
  2054. 2008-05-28 Carlos Alberto Cortez <[email protected]>
  2055. * ScrollBar.cs: Scrollbars should only react to left-clicks, not right
  2056. or middle ones.
  2057. Fixes part of #393908.
  2058. 2008-05-28 Jonathan Pobst <[email protected]>
  2059. * ToolStripDrowDown.cs: When using the Show () methods that have a
  2060. Control parameter, set the menu owner to that Control.
  2061. [Fixes bug #394345]
  2062. 2008-05-28 Ivan N. Zlatev <[email protected]>
  2063. * PropertyGridTextBox.cs, PropertyGridView.cs: Implement validation.
  2064. [Fixes bug #362756]
  2065. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2066. * GridItemCollection.cs: Refactor to support multiple items with the
  2067. same name.
  2068. [Fixes bug #394314]
  2069. 2008-05-27 Jonathan Pobst <[email protected]>
  2070. * Control.cs: The 2.0 check for illegal cross thread calls in
  2071. Control.Handle were throwing an exception when we were getting
  2072. the Handle in order to invoke correctly. Created a private
  2073. version that does not contain this check.
  2074. [Fixes bug #394531]
  2075. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2076. * PropertyGrid.cs: Respect DefaultTabType.
  2077. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2078. * ListView.cs: SPACE selects an item.
  2079. [Fixes bug #393023]
  2080. 2008-05-27 Ivan N. Zlatev <[email protected]>
  2081. * ListView.cs: Reset the search string whenever the items are
  2082. modified.
  2083. [Fixes bug #393020]
  2084. 2008-05-25 Carlos Alberto Cortez <[email protected]>
  2085. * ListControl.cs: For the first added item PositionChanged is fired
  2086. _before_ ItemChanged, which leave us in a temporary invalid state - so
  2087. we need to set the selected index from ItemChanged handler *if* we
  2088. know that the first item has just been added *and* the items have been
  2089. actually added to the ListControl.
  2090. Fixes #369048.
  2091. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  2092. * TabControl.cs: Only clicks with the left button should be
  2093. handled.
  2094. Fixes #393908.
  2095. 2008-05-24 Carlos Alberto Cortez <[email protected]>
  2096. * ComboBox.cs:
  2097. * FIleDialog.cs:
  2098. * TextBox.cs: Expose an internal method in TextBox to restore the
  2099. original context menu, and call it from ComboBox to re-use it in the
  2100. combobox containing the file name in FileDialog.cs.
  2101. Fixes part of #393775.
  2102. 2008-05-24 George Giolfan <[email protected]>
  2103. * ThemeVisualStyles.cs: Added support for the hot ComboBox drop down button
  2104. style.
  2105. 2008-05-24 George Giolfan <[email protected]>
  2106. * ComboBox.cs, Theme.cs, ThemeWin32Classic.cs: Added support for the hot drop
  2107. down button style.
  2108. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  2109. * ComboBox.cs: Minor correction to previous patch: PageDown should
  2110. also *try* to move by one item if the computed offset is negative,
  2111. just like the PageUp case.
  2112. 2008-05-23 Carlos Alberto Cortez <[email protected]>
  2113. * ComboBox.cs: When navigating using PageDown/PageUp the navigation
  2114. should be done for at least 1 item, and not stay at the same item.
  2115. Fixes part of #374713.
  2116. 2008-05-23 Jonathan Pobst <[email protected]>
  2117. * FileDialog.cs: Add a FSEntryComparer, and use it to sort the
  2118. directories. [Fixes bug #393931]
  2119. 2008-05-22 Andreia Gaita <[email protected]>
  2120. * WebBrowser.cs: Implement DocumentText. Implement AllowNavigation.
  2121. Don't fire events until the initial about:blank page has finished
  2122. loading. Clean up events.
  2123. 2008-05-22 Atsushi Enomoto <[email protected]>
  2124. * XplatUIX11.cs : when we call WM_SETFOCUS, call X11Keyboard
  2125. FocusIn() too. This should fix the issue on switching
  2126. scim keyboards.
  2127. 2008-05-22 Atsushi Enomoto <[email protected]>
  2128. * X11Keyboard.cs : set XIM font size to somewhat reasonable
  2129. number (ideally the input textbox size, but that could be
  2130. too messy).
  2131. 2008-05-22 Jonathan Pobst <[email protected]>
  2132. * ToolStripTextBox.cs: List for the TextBox's TextChanged and fire
  2133. the ToolStripItem's TextChanged. [Fixes bug #393597]
  2134. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  2135. * TabControl.cs: When invalidating in SelectedIndex and we need to
  2136. inflate to take into account the border of the tabs, make sure that
  2137. the invalidated rect doesn't overflow the control bounds, since that
  2138. would avoid updating at all.
  2139. 2008-05-21 Carlos Alberto Cortez <[email protected]>
  2140. * TabControl.cs: Don't substract scroller width from the row width,
  2141. since we need to take into account the total width of the control when
  2142. calculating the position of the tabs. This avoids showing scroller
  2143. when it is actually not needed.
  2144. Fixes part of #322325.
  2145. 2008-05-21 George Giolfan <[email protected]>
  2146. * ThemeVisualStyles.cs: Added support for TextBoxBase.
  2147. 2008-05-21 George Giolfan <[email protected]>
  2148. * RichTextBox.cs, TextBoxBase.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  2149. Extracted TextBoxBase.Draw and Theme.TextBoxBase*.
  2150. 2008-05-21 Jonathan Pobst <[email protected]>
  2151. * DataGridView.cs: Only paint the top left header cell if there
  2152. are columns.
  2153. 2008-05-21 Jonathan Pobst <[email protected]>
  2154. * DataGridView.cs: When binding to a BindingSource, get the underlying
  2155. list to bind to. [Fixes bug #345483]
  2156. 2008-05-21 Jonathan Pobst <[email protected]>
  2157. * DataGridView.cs: Do not bind to collection properties.
  2158. [Fixes bug #337470]
  2159. 2008-05-21 George Giolfan <[email protected]>
  2160. * ThemeVisualStyles.cs: Added support for the hot TrackBar thumb style.
  2161. 2008-05-21 George Giolfan <[email protected]>
  2162. * Theme.cs, ThemeWin32Classic.cs, TrackBar.cs: Added support for the hot
  2163. thumb style.
  2164. 2008-05-21 George Giolfan <[email protected]>
  2165. * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
  2166. 2008-05-21 George Giolfan <[email protected]>
  2167. * Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
  2168. background.
  2169. 2008-05-21 George Giolfan <[email protected]>
  2170. * ThemeVisualStyles.cs: Added support for ToolBar hot and hot checked styles.
  2171. 2008-05-21 George Giolfan <[email protected]>
  2172. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs: Added support for hot and hot
  2173. checked styles.
  2174. 2008-05-21 George Giolfan <[email protected]>
  2175. * TabControl.cs: Extended to handle the hot style.
  2176. 2008-05-21 George Giolfan <[email protected]>
  2177. * Theme.cs, ThemeVisualStyles.cs, ThemeWin32Classic.cs, UpDownBase.cs:
  2178. Extended UpDownBase code to handle hot and disabled styles.
  2179. 2008-05-20 Jonathan Pobst <[email protected]>
  2180. * DataGridView.cs: Handle databinding to generic list type things.
  2181. [Fixes bug #325239]
  2182. 2008-05-20 Jonathan Pobst <[email protected]>
  2183. * DataGridViewCellCollection.cs: Add a method to find the cell
  2184. with the given DataPropertyName.
  2185. * DataGridViewColumn.cs: Track if the column was autogenerated or not.
  2186. * DataGridViewColumnCollection.cs: Add a method to clear all
  2187. autogenerated columns.
  2188. * DataGridView.cs: If AutoGenerateColumns is false, don't autogenerate
  2189. columns.
  2190. [Fixes bug #348082]
  2191. 2008-05-20 Jonathan Pobst <[email protected]>
  2192. * DataGridView.cs: Don't try to update the RowTemplate with
  2193. a null CellTemplate.
  2194. 2008-05-20 Jonathan Pobst <[email protected]>
  2195. * DataGridViewColumn.cs: Allow IsDataBound to be set internally.
  2196. * DataGridViewColumnCollection.cs: Ensure OnColumnAdded is called.
  2197. * DataGridView.cs: Lots of fixes/enhancements to databinding to
  2198. a DataSet.
  2199. 2008-05-20 Jonathan Pobst <[email protected]>
  2200. * Control.cs: Remove invalidating implicit child controls when
  2201. control is invalidated. It was causing too many redraws on
  2202. controls with implicit scrollbars.
  2203. * ListView.cs: Listen to the Invalidated event and invalidate
  2204. child controls.
  2205. 2008-05-20 Andreia Gaita <[email protected]>
  2206. * WebBrowserBase.cs, WebBrowser.cs: Hook up page loading events
  2207. * HtmlDocument.cs: Check for nulls
  2208. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  2209. * Control.cs: In ControlCollection.RemoveInternal, remove the
  2210. internal control before calling PerformLayout and OnControlRemoved,
  2211. which was leaving us in an invalid state and causing a X error (bad
  2212. match). Observe that Remove () call has the same order.
  2213. Fixes an X error changing ComboBoxStyle.DropDownStyle.
  2214. 2008-05-19 Carlos Alberto Cortez <[email protected]>
  2215. * TabControl.cs: Don't paint by ourselved and instead let OnPaint
  2216. being fired if ControlStyles.UserPaint style is activated.
  2217. Fixes #371905.
  2218. 2008-05-19 Ivan N. Zlatev <[email protected]>
  2219. * GridEntry.cs: Don't be so strict when setting the value -
  2220. do not check if what we set is what we get.
  2221. [Fixes bug #389245]
  2222. 2008-05-19 Ivan N. Zlatev <[email protected]>
  2223. * XplatUIX11.cs: If there are no timers timeout should be 0
  2224. [Fixes bug #363522]
  2225. 2008-05-19 Jonathan Pobst <[email protected]>
  2226. * Control.cs: As a followup to invalidating implicit children when
  2227. a control is invalidated, only invalidate them if they are in the
  2228. clip rectangle.
  2229. 2008-05-19 George Giolfan <[email protected]>
  2230. * ThemeVisualStyles.cs: Implemented partial support for ToolTip.
  2231. 2008-05-19 George Giolfan <[email protected]>
  2232. * ThemeWin32Classic.cs: Refactored: Extracted ToolTipDrawBackground.
  2233. 2008-05-19 George Giolfan <[email protected]>
  2234. * GroupBoxRenderer.cs: Fixed text area clipping in the Visual Styles case.
  2235. * XplatUIWin32.cs: Made Win32DeleteObject public.
  2236. 2008-05-19 Ivan N. Zlatev <[email protected]>
  2237. * GridEntry.cs: Determine HasDefaultValue more strictly by using
  2238. PropertyDescriptor.ShouldSerializeValue.
  2239. [Fixes bug #391924]
  2240. 2008-05-19 George Giolfan <[email protected]>
  2241. * ThemeVisualStyles.cs: Enabled support for ScrollBar element styles not present
  2242. in the classic theme.
  2243. 2008-05-19 George Giolfan <[email protected]>
  2244. * ScrollBar.cs: Added FirstButtonEntered, SecondButtonEntered, ThumbEntered,
  2245. ThumbPressed.
  2246. * Theme.cs, ThemeWin32Classic.cs: Added ScrollBarHasHotElementStyles,
  2247. ScrollBarHasPressedThumbStyle.
  2248. 2008-05-19 George Giolfan <[email protected]>
  2249. * TextRenderer.cs: Included some methods in the 1.1 profile.
  2250. 2008-05-19 Jonathan Pobst <[email protected]>
  2251. * Control.cs: When we make a control visible, it may have been
  2252. previously visible and while it wasn't visible, the z-order of
  2253. things may have been shuffled, so the control needs to have its
  2254. z-order updated just in case. [Fixes bug #391518]
  2255. 2008-05-19 George Giolfan <[email protected]>
  2256. * ThemeVisualStyles.cs: Added support for GroupBox.
  2257. 2008-05-19 George Giolfan <[email protected]>
  2258. * GroupBoxRenderer.cs: Included in the 1.1 profile.
  2259. 2008-05-16 Atsushi Enomoto <[email protected]>
  2260. * XplatUIX11.cs, X11Keyboard.cs : redoing r103060 with fix for
  2261. bug #389996; XSelectInput() behaved as mouse handler robber,
  2262. so remove extra call to it.
  2263. 2008-05-15 Jonathan Pobst <[email protected]>
  2264. * Control.cs: Simplify ControlCollection.Contains method.
  2265. 2008-05-15 Jonathan Pobst <[email protected]>
  2266. * DataGridViewRow.cs: Implement GetPreferredSize.
  2267. 2008-05-15 Jonathan Pobst <[email protected]>
  2268. * DataGridViewComboBoxCell.cs: Don't declare text twice. Fixes build.
  2269. 2008-05-15 Jonathan Pobst <[email protected]>
  2270. * DataGridViewComboBoxCell.cs: Implement some NIEX stuffs, better
  2271. painting and edit control fixes.
  2272. 2008-05-14 Jonathan Pobst <[email protected]>
  2273. * DataGridView.cs, DataGridViewCell.cs: Work around some external
  2274. checks to make sure we are in an actual row/col for top left header cell.
  2275. * DataGridViewTopLeftHeaderCell.cs: Implement some NIEX's.
  2276. 2008-05-14 Jonathan Pobst <[email protected]>
  2277. * Control.cs: Use long instead of int when handling WParam from
  2278. mousewheel scrolling. Int was overflowing on Win64.
  2279. 2008-05-14 Jonathan Pobst <[email protected]>
  2280. * FlowLayoutPanel.cs, ScrollableControl.cs: We need to layout the
  2281. flow panel without scrolling first, and then calculate the
  2282. scrolling based on the new layout. [Fixes bug #390149]
  2283. 2008-05-14 Jonathan Pobst <[email protected]>
  2284. * ListBox.cs: Invalidate after scrolling up when selected index
  2285. changes. [Fixes bug #390151]
  2286. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  2287. * ComboBox.cs: When setting mode to Simple *and* height hasn't been
  2288. set, default height to 150. I tried first with DefaultSize, but this
  2289. is not generating a SetBoundsCore call before handle creation time, so
  2290. we can take it into account. This is just what .net does.
  2291. 2008-05-13 Jonathan Pobst <[email protected]>
  2292. * XplatUIX11.cs, X11Keyboard.cs: Had to revert eno's r103060,
  2293. as it broke some stuff. Calberto is filing a bug for eno to
  2294. work with.
  2295. 2008-05-13 Carlos Alberto Cortez <[email protected]>
  2296. * ComboBox.cs: When handling PageDown pressed event, set SelectedIndex
  2297. to 0 is the current value is -1, and if style is not Simple, just
  2298. return, like .net does.
  2299. Fixes part of #374713.
  2300. 2008-05-13 Jonathan Pobst <[email protected]>
  2301. * ThemeWin32Classic.cs, ThemeVisualStyles.cs: When calculating
  2302. progress bar stuffs, use doubles instead of ints to prevent
  2303. overflow. [Fixes bug #389798]
  2304. 2008-05-13 Atsushi Enomoto <[email protected]>
  2305. * XplatUIX11.cs, X11Keyboard.cs :
  2306. Significant refactoring on XIM support. Now IM engine UI
  2307. should show up, at mostly-correct preedit position.
  2308. - Eliminated use of FocusWindow, as it is never mapped
  2309. and hence blocks correct preedit position. XIC is now
  2310. created per window, and it must be destroyed too when
  2311. the window is destroyed.
  2312. - WM_QUIT messages should not be filtered even when hwnd
  2313. is zombie. Filtering it could cause endless loop.
  2314. - Preedit position must move only when the window is alive.
  2315. - Make it IDisposable and make sure to release XIM/XICs.
  2316. 2008-05-13 Atsushi Enomoto <[email protected]>
  2317. * Timer.cs, Control.cs, Form.cs, ApplicationContext.cs,
  2318. XplatUIX11.cs, XplatUIWin32.cs :
  2319. fix for bug #325033 and #387693;
  2320. - WM_QUIT should not be sent when no running application
  2321. exists.
  2322. - SetTimer/KillTimer (especially on win32) should be
  2323. invoked for the window that the timer is/will_be attached.
  2324. - There could be unattached timers to a window when it's
  2325. started. For those timers, hold pending timers and when
  2326. a window is mapped, attach them to it.
  2327. - WaitForHwndMessage() could run into loop when
  2328. WM_SHOWWINDOW is handled before this method is called.
  2329. So, strictly check wm_showwindow state.
  2330. - Tick handler should not be invoked while one Tick handler
  2331. call is still running (introduced Busy state).
  2332. 2008-05-13 Andreia Gaita <[email protected]>
  2333. * WebBrowserBase.cs: Override Internal alternative methods for
  2334. SetBoundsCore and OnResize instead of the protected ones.
  2335. * Control.cs: Move SetBoundsCore and OnResize implementations to
  2336. SetBoundsCoreInternal and OnResizeInternal, so they can be
  2337. overriden internally (WebBrowserBase needs to catch them but can't
  2338. override the protected methods without api compat problems)
  2339. 2008-05-13 Andreia Gaita <[email protected]>
  2340. * WebBrowserBase.cs: Hiding away non-public overrides for api compat
  2341. 2009-05-12 Carlos Alberto Cortez <[email protected]>
  2342. * Binding.cs:
  2343. * ListView.cs: Remove debug messages.
  2344. 2008-05-12 Carlos Alberto Cortez <[email protected]>
  2345. * ComboBox.cs: Don't do any calculation for simple mode if the listbox
  2346. area is empty. Also calculate scrollbars in Simple mode based in area
  2347. height and total number of items, not in MaxDropDownItems.
  2348. Fixes part of #371991.
  2349. 2008-05-12 Jonathan Pobst <[email protected]>
  2350. * PictureBox.cs: Always invalidate on resize. Fixes an app for jhill.
  2351. 2008-05-12 Jonathan Pobst <[email protected]>
  2352. * BindingSource.cs: GetListSortDescription is not public.
  2353. 2008-05-12 Jonathan Pobst <[email protected]>
  2354. * WebBrowser.cs, WebBrowserBase.cs, WebBrowserSiteBase.cs: corcompare.
  2355. 2008-05-12 Jonathan Pobst <[email protected]>
  2356. * HtmlElement.cs: Fix parameter names to match MS.
  2357. * HtmlWindowCollection.cs: Should not be sealed.
  2358. 2008-05-12 Jonathan Pobst <[email protected]>
  2359. * ThemeWin32Classic.cs: Always draw the scrollbar area under the thumb
  2360. button, because the thumb button will not get drawn if the scrollbar
  2361. is disabled. [Fixes bug #389262]
  2362. 2008-05-12 Jonathan Pobst <[email protected]>
  2363. * ListBox.cs: Handle End key for multi-column listboxen.
  2364. [Fixes bug #389266]
  2365. 2008-05-12 Jonathan Pobst <[email protected]>
  2366. * ListBox.cs: Fix algorithm to determine which column our item is in.
  2367. [Fixes bug #389265]
  2368. 2008-05-12 Jonathan Pobst <[email protected]>
  2369. * ListBox.cs: Invalidate when the listbox is resized.
  2370. [Fixes bug #389256]
  2371. 2008-05-12 Jonathan Pobst <[email protected]>
  2372. * ListBox.cs: There is always at least one row in the ListBox (if
  2373. we are doing these calculations.) [Fixes bug #389253]
  2374. 2008-05-12 Jonathan Pobst <[email protected]>
  2375. * ListBox.cs: There is always at least one column in the ListBox.
  2376. [Fixes bug #389250]
  2377. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  2378. * ComboBox.cs: When handle is created call UpdateComboBoxBounds to
  2379. ensure in Simple mode that the height is exactly the requested one.
  2380. Also add the ComboBoxListControl to the controls collection in Simple
  2381. mode even if handle hasn't been created.
  2382. Fixes part of #371991.
  2383. 2008-05-10 Carlos Alberto Cortez <[email protected]>
  2384. * ComboBox.cs: For ComboListBox control -specially in Simple mode-, give focus to
  2385. our ComboBox owner instead of giving it back to the previous control (
  2386. as done in other controls). Also remove the empty override of Select
  2387. method, since we want to be selected *and* give focus to our owner.
  2388. This should let the user do keys-navigation in Simple mode.
  2389. 2008-05-10 Geoff Norton <[email protected]>
  2390. * XplatUICarbon.cs: Dont use HIViewScrollRect as it's causing painting
  2391. problems with rapid scrolling of treeviews. Fixes #381084
  2392. 2008-05-10 Geoff Norton <[email protected]>
  2393. * XplatUICarbon.cs: Deactivate the active window before
  2394. activating the desired window. Completes fixing #386504
  2395. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  2396. * ListView.cs: When calculating scrollbars, set horizontal scroll bar
  2397. SmallChange to the item size width plus the padding, to match .net.
  2398. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  2399. * FileDialog.cs: Apply the custom filter typed by the user in the file
  2400. name combobox as much as possible while navigating in the file dialog.
  2401. Fixes #385261.
  2402. 2008-05-09 Carlos Alberto Cortez <[email protected]>
  2403. * Binding.cs: Actually use NullValue if the retrieved value of
  2404. data source is null or DBNull. Makes a test pass.
  2405. 2008-05-09 Jonathan Pobst <[email protected]>
  2406. * ErrorProvider.cs, Form.cs: Get icons from ResourceImageLoader.
  2407. * MimeIcon.cs: Provide a way to get icons from resources.
  2408. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  2409. * Binding.cs: When the value retrieved from the control to be assigned
  2410. to the data source is null, actually use the 2.0 DataSourceNullValue
  2411. value. Make pass a data binding test.
  2412. 2008-05-08 Jonathan Pobst <[email protected]>
  2413. * Control.cs: We need to invalidate implicit children even when
  2414. invalidate is called with invalidatechildren = false. (Implicit
  2415. children are really part of the parent.)
  2416. * ListView.cs: Double-buffer internal child controls for less
  2417. flicker.
  2418. * ThemeWin32Classic.cs: Remove an extra nested loop in drawing
  2419. owner ListView subitems for greatly increased performance.
  2420. [Fixes bug #388477]
  2421. 2008-05-08 Carlos Alberto Cortez <[email protected]>
  2422. * FileDialog.cs: When the user types a wildcard character in the
  2423. filename combobox, update the contents of the folder using the text as
  2424. a filter.
  2425. Fixes part of #385261.
  2426. 2008-05-08 Jonathan Pobst <[email protected]>
  2427. * ListBox.cs: Various fixes for MultiColumn listboxen.
  2428. [Fixes bug #388114]
  2429. 2008-05-08 Andreia Gaita <[email protected]>
  2430. * HtmlElement.cs: Implement Style property
  2431. 2008-05-08 Jonathan Pobst <[email protected]>
  2432. * ListBox.cs: Respect checkboxes when measuring item size.
  2433. * ThemeWin32Classis.cs: When drawing list items, don't draw
  2434. text outside of the item's bounds to prevent overlapping.
  2435. (.Net actually overlaps, but that's just silly.)
  2436. [Fixes bug #388117]
  2437. 2008-05-08 Everaldo Canuto <[email protected]>
  2438. * NotifyIcon.cs: Call SetForegroundWindow before show context menu. Thanks
  2439. Gert Driesen. Fixes bug #324830.
  2440. 2008-05-07 Everaldo Canuto <[email protected]>
  2441. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: SetForegroundWindow
  2442. method implemented.
  2443. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  2444. * BindingSource.cs: When calling IsSynchronized, return the value of
  2445. the related IList list.
  2446. 2008-05-07 Carlos Alberto Cortez <[email protected]>
  2447. * ListBindingHelper.cs: Fix some bits in GetListItemProperties, to
  2448. make a test pass.
  2449. 2008-05-07 Jonathan Pobst <[email protected]>
  2450. * DataGridView.cs: Implement PageUp/PageDown keys. Extend keyboard
  2451. navigation to scroll the grid if the current cell is not visible.
  2452. 2008-05-07 Andreia Gaita <[email protected]>
  2453. * HtmlElement.cs: Implement TabIndex
  2454. 2008-05-07 Jonathan Pobst <[email protected]>
  2455. * ListBox.cs: Respect ScrollAlwaysVisible and HorizontalScrollbar
  2456. properties, even when there are no items.
  2457. [Fixes bug #387611]
  2458. 2008-05-07 Ivan N. Zlatev <[email protected]>
  2459. * NativeWindow.cs: Add support for multiple handles per window.
  2460. * NativeWindows.cs, LibSupport.cs, Control.cs, XplatUIX11GTK.cs,
  2461. XplatUIX11.cs, X11Display.cs: Do not access NativeWindow.windows_collection
  2462. directly - use FromHandle instead.
  2463. [Fixes bug #374660]
  2464. 2008-05-07 Andreia Gaita <[email protected]>
  2465. * HtmlElement.cs: Implement InnerHTML setter
  2466. 2008-05-07 Andreia Gaita <[email protected]>
  2467. * HtmlDocument.cs: Implement Focused
  2468. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  2469. * BindingSource.cs: Minor fixes to the the ApplySort and Remove sort
  2470. methods, as well as add messages to the exceptions.
  2471. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  2472. * BindingSource.cs: Setting DataSource should only reset DataMember if
  2473. the previous value was null (make pass a not working test).
  2474. 2006-05-06 Carlos Alberto Cortez <[email protected]>
  2475. * BindingSource.cs: When EndInit call is postponed and is called until
  2476. DataSource.EndInit is called, remove the handler for data source.
  2477. 2008-05-06 Jonathan Pobst <[email protected]>
  2478. * ToolStripManager.cs: Don't use IsAlive, race condition, etc. etc.
  2479. 2008-05-06 Jonathan Pobst <[email protected]>
  2480. * ToolStripManager.cs: Store references to toolstrips as
  2481. weak references so they do not prevent forms from getting collected.
  2482. [Fixes bug #386483]
  2483. 2008-05-06 Jonathan Pobst <[email protected]>
  2484. * TrackBar.cs: We can't set ResizeRedraw because it isn't set
  2485. on .Net. So do the same thing in WndProc.
  2486. 2008-05-06 Jonathan Pobst <[email protected]>
  2487. * TrackBar.cs: Commit patch from Andy Hume that corrects
  2488. the clickable areas to better match .Net.
  2489. [Fixes bug #387074]
  2490. 2008-05-06 Jonathan Pobst <[email protected]>
  2491. * TrackBar.cs: Commit patch from Andy Hume that adds the
  2492. ResizeRedraw control flag so the track bar repaints itself
  2493. when it is resized. [Fixes bug #387072]
  2494. 2008-05-06 Jonathan Pobst <[email protected]>
  2495. * TrackBar.cs: Commit patch from Andy Hume that adds better
  2496. support for keyboard navigation when the TrackBar is vertical.
  2497. [Fixes bug #387071]
  2498. 2008-05-06 Carlos Alberto Cortez <[email protected]>
  2499. * BindingSource.cs: Implement ISupportInitializeNotification support.
  2500. 2008-05-06 George Giolfan <[email protected]>
  2501. * ThemeVisualStyles.cs: Added support for ToolBar.
  2502. 2008-05-06 George Giolfan <[email protected]>
  2503. * ToolBar.cs: Made the Vertical property internal.
  2504. 2008-05-05 George Giolfan <[email protected]>
  2505. * ThemeVisualStyles.cs: Added support for TrackBar.
  2506. 2008-05-05 George Giolfan <[email protected]>
  2507. * ThemeWin32Classic.cs: Refactored: Extracted TrackBarGetThumbSize,
  2508. TrackBarDrawVerticalTrack, TrackBarDrawVerticalThumbRight,
  2509. TrackBarDrawVerticalThumbLeft, TrackBarDrawVerticalThumb,
  2510. TrackBarGetVerticalTickPainter, TrackBarDrawHorizontalTrack,
  2511. TrackBarDrawHorizontalThumbBottom, TrackBarDrawHorizontalThumbTop,
  2512. TrackBarDrawHorizontalThumb, TrackBarGetHorizontalTickPainter.
  2513. 2008-05-05 George Giolfan <[email protected]>
  2514. * ThemeVisualStyles.cs: Added support for UpDownBase.
  2515. 2008-05-05 George Giolfan <[email protected]>
  2516. * Theme.cs, ThemeWin32Classic.cs, UpDownBase.cs: Refactored:
  2517. Extracted Theme.UpDownBaseDrawButton.
  2518. 2008-05-05 Jonathan Pobst <[email protected]>
  2519. * ToolStrip.cs, ToolStripDropDownItem.cs: Make sure toolstrips are
  2520. removed from the static toolstrips collection in ToolStripManager
  2521. when they are disposed. Provides a workaround for bug #386483.
  2522. 2008-05-05 Ivan N. Zlatev <[email protected]>
  2523. * GridEntry.cs: Read-only properties with Editor with
  2524. UITypeEditorEditStyle.Modal shouldn't be read-only in the PropertyGrid.
  2525. [Fixes bug #384184]
  2526. 2008-05-05 Jonathan Pobst <[email protected]>
  2527. * MenuStrip.cs, ToolStrip.cs: Guard against an NRE when pressing
  2528. the menu key and there are no items on the menu.
  2529. [Fixes bug #386644]
  2530. 2008-05-05 Sebastien Pouliot <[email protected]>
  2531. * Control.cs: Avoid calling ToString on a string.
  2532. * Form.cs: Avoid calling ToString on a string. Found using Gendarme.
  2533. * GroupBox.cs: In FlatStyle property throw, not just create, the
  2534. exception. Avoid calling ToString on a string.
  2535. * ProgressBar.cs: Avoid calling ToString on a string.
  2536. * ScrollBar.cs: Avoid calling ToString on a string.
  2537. [All issues were found using Gendarme]
  2538. 2008-05-05 Everaldo Canuto <[email protected]>
  2539. * NotifyIcon.cs: Prevent click events to be trigger after double click
  2540. events. Fixes remaining issues of bug #324832.
  2541. 2008-05-05 Everaldo Canuto <[email protected]>
  2542. * NotifyIcon.cs: Trigger click and mouseclick events after mouseup event
  2543. to mimic win32 behavior. Partially fixes bug #324832.
  2544. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  2545. * BindingSource.cs: Implement Find methods.
  2546. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  2547. * BindingSource.cs: Implement Sort, ApplySort overloads, and
  2548. RemoveSort methods.
  2549. 2008-05-04 Carlos Alberto Cortez <[email protected]>
  2550. * ListBindingHelper.cs: When calling GetListItemProperties and the
  2551. passed object is ITypedList, return the result of
  2552. ITypedList.GetItemProperties instead.
  2553. 2008-05-04 Everaldo Canuto <[email protected]>
  2554. * LinkLabel.cs: Set default value of name on constructor of Link class
  2555. only for 2.0 profile.
  2556. 2008-05-04 Everaldo Canuto <[email protected]>
  2557. * LinkLabel.cs: Fix implementation of LinkCollection.LinksAdded property.
  2558. Fixes remaining issues of bug #346154.
  2559. 2008-05-04 Everaldo Canuto <[email protected]>
  2560. * LinkLabel.cs: Set a default value for name on internal contructor of
  2561. Link class. It fixes assert B5 of LinkCollectionTest.Constructor1.
  2562. 2008-05-04 Everaldo Canuto <[email protected]>
  2563. * LinkLabel.cs: Move links collection from LinkCollection to LinkLabel
  2564. and refer all instances to owner.links. Partially fixes #346154.
  2565. 2008-05-03 Everaldo Canuto <[email protected]>
  2566. * LinkLabel.cs: Fix linkarea values for empty text, must have start and
  2567. length equal zero. Also called CreateLinkPieces in constructor. It fixes
  2568. the LinkLabel test 'TestLinkArea'.
  2569. 2008-05-03 Everaldo Canuto <[email protected]>
  2570. * Form.cs: Remove menu before close form to prevent form to be not gaced.
  2571. [Fixes #386460]
  2572. 2008-05-03 Everaldo Canuto <[email protected]>
  2573. * MenuAPI.cs: Dispose popup window after hide. Thanks to Jesse Jones.
  2574. [Fixes #386463]
  2575. 2008-05-03 Everaldo Canuto <[email protected]>
  2576. * MenuAPI.cs: Implemented keyboard navigation for ContextMenu.
  2577. [Fixed bug #357004]
  2578. 2008-05-03 Everaldo Canuto <[email protected]>
  2579. * MenuAPI.cs: Remove unused ProcessCmdKey method.
  2580. 2008-05-03 Everaldo Canuto <[email protected]>
  2581. * MenuAPI.cs: Prevent NRE in menu deactivation when shortcut is used.
  2582. [Fixes bug #375398]
  2583. 2008-05-03 Everaldo Canuto <[email protected]>
  2584. * MenuAPI.cs: Enable implicit mnemonics for menus. Fixes remaining issues
  2585. of bug #367492.
  2586. 2008-05-03 Everaldo Canuto <[email protected]>
  2587. * MenuAPI.cs: Check if mouse down comes from menu, we need it because
  2588. sometimes we open a conext menu on mouse down of some controls and the mouse
  2589. up is dispatched to menu and dont need to. It fix remaining issues of
  2590. #363711 and other problems related to menu mouse click events.
  2591. 2008-05-02 Everaldo Canuto <[email protected]>
  2592. * MonthCalendar.cs: Implemented "Go to today" context menu, also changed
  2593. some var names to better fit changes, now we have month_menu and today_menu
  2594. vars. Fixes bug #363711.
  2595. 2008-05-02 Everaldo Canuto <[email protected]>
  2596. * MonthCalendar.cs: Handle every right mouse click to open context menu,
  2597. right now the default month menu but it will be change to have "Go to today"
  2598. menu.
  2599. 2008-05-02 Jonathan Pobst <[email protected]>
  2600. * FileDialog.cs, MaskedTextBox.cs, OpenFileDialog.cs: corcompare.
  2601. 2008-05-02 Everaldo Canuto <[email protected]>
  2602. * ThemeWin32Classic.cs: Fix MonthCalendar arrows drawing.
  2603. 2008-05-02 George Giolfan <[email protected]>
  2604. * ThemeVisualStyles.cs: Added support for TreeView.
  2605. 2008-05-02 George Giolfan <[email protected]>
  2606. * Theme.cs, ThemeWin32Classic.cs, TreeView.cs: Refactored:
  2607. Moved TreeView.DrawNodePlusMinus to Theme.TreeViewDrawNodePlusMinus.
  2608. 2008-05-02 Jonathan Pobst <[email protected]>
  2609. * OpenFileDialog.cs: Implement 2.0 SP1 stuffs.
  2610. 2008-05-02 Jonathan Pobst <[email protected]>
  2611. * FileDialogCustomPlace.cs, FileDialogCustomPlacesCollection.cs:
  2612. Implement 2.0 SP1 stuffs.
  2613. 2008-05-02 Jonathan Pobst <[email protected]>
  2614. * FileDialog.cs: Implement 2.0 SP1 stuffs.
  2615. 2008-05-02 Jonathan Pobst <[email protected]>
  2616. * Control.cs, ContainerControl.cs, DataGridView.cs, TextBoxBase.cs:
  2617. Implement CanEnableIme property. (2.0 SP1)
  2618. 2008-05-02 Jonathan Pobst <[email protected]>
  2619. * BindingManagerBase.cs, PropertyManager.cs: Hide GetItemProperties
  2620. from the 2.0 API.
  2621. 2008-05-02 Jonathan Pobst <[email protected]>
  2622. * Control.cs: Provide an internal way for a control to override
  2623. the setting of Height.
  2624. * DateTimePicker.cs: Remove SetBoundsCore from 2.0 profile,
  2625. set height using new method.
  2626. 2008-05-02 George Giolfan <[email protected]>
  2627. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawMixedCheckBox.
  2628. 2008-05-02 George Giolfan <[email protected]>
  2629. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Refactored:
  2630. ControlPaint.DrawMixedCheckBox now calls Theme.CPDrawMixedCheckBox.
  2631. 2008-05-02 George Giolfan <[email protected]>
  2632. * ThemeVisualStyles.cs: Added support for StatusBar.
  2633. 2008-05-02 Jonathan Pobst <[email protected]>
  2634. * DataObject.cs: Add the other IDataObject interface.
  2635. 2008-05-02 George Giolfan <[email protected]>
  2636. * ThemeWin32Classic.cs: Refactored: extracted DrawStatusBarBackground,
  2637. DrawStatusBarSizingGrip, DrawStatusBarPanelBackground.
  2638. 2008-05-02 Jonathan Pobst <[email protected]>
  2639. * DataGridViewCheckBoxCell.cs, DataGridViewImageCell.cs: Fix parameter names.
  2640. * ListView.cs: Hide non-public API.
  2641. * MaskedTextBox.cs: Remove extra attribute.
  2642. 2008-05-02 Jonathan Pobst <[email protected]>
  2643. * DataGridViewImageCell.cs: Use formatted value instead of value
  2644. to calculate preferred size.
  2645. 2008-05-01 Jonathan Pobst <[email protected]>
  2646. * ListBox.cs: Move some initialization around so that selected_indices
  2647. is not accessed before it is created.
  2648. 2008-05-01 Jonathan Pobst <[email protected]>
  2649. * InputLanguageCollection.cs: Implement the collection better.
  2650. [Fixes bug #385506]
  2651. 2008-05-01 Jonathan Pobst <[email protected]>
  2652. * ToolStripDropDownItem.cs: Get the correct event object for
  2653. DropDownItemClicked.
  2654. * ToolStripMenuItem.cs: Raise DropDownItemClicked on our owner.
  2655. [Fixes bug #385475]
  2656. 2008-05-01 Jonathan Pobst <[email protected]>
  2657. * DataGridViewRowCollection.cs: We don't currently support shared
  2658. rows. Should fix test failures caused by previous commit.
  2659. 2008-04-30 Jonathan Pobst <[email protected]>
  2660. * DataGridViewRow.cs: Fixes for cloning the row, ensure header cell's
  2661. datagridview gets set. Only paint cells in visible columns.
  2662. * DataGridViewCell.cs: Draw border after cell content.
  2663. * DataGridView.cs: Invalidate after setting some properties. Only
  2664. use visible columns. Fit hit test bug with areas in the col/row header
  2665. area but not in a row or col. Implement UpdateCell/Row methods.
  2666. 2008-04-30 Jonathan Pobst <[email protected]>
  2667. * DataGridViewElement.cs: Don't throw NIEX.
  2668. * DataGridViewColumnHeaderCell.cs: Draw error icons for top left header cells.
  2669. * DataGridViewColumnDesignTimeVisibleAttribute.cs: Don't throw NIEX.
  2670. * DataGridViewCheckBoxColumn.cs: Implement ToString.
  2671. * DataGridViewCheckBoxCell.cs: Allow DBNull as a value.
  2672. * DataGridViewCell.cs: Don't raise CellFormatting for RowHeader cells,
  2673. if the user filled in the formatting Value, use it.
  2674. 2008-04-30 Jonathan Pobst <[email protected]>
  2675. * DataGridViewTextBoxCell.cs: Fix for objects that cannot be cast
  2676. to a string.
  2677. 2008-04-29 Carlos Alberto Cortez <[email protected]>
  2678. * BindingSource.cs: Some corrections to Filter property, as well as
  2679. setting it for our list when resetting it.
  2680. 2008-04-29 Jonathan Pobst <[email protected]>
  2681. * ScrollBar.cs: Don't let dragging the thumb grip set the value greater
  2682. than the maximum. Fixes reopened bug #384182.
  2683. 2008-04-28 Everaldo Canuto <[email protected]>
  2684. * ToolStripDropDown.cs: Fix offscreen position for DropDown itens.
  2685. Fixes remaining issues of #367490.
  2686. 2008-04-28 Everaldo Canuto <[email protected]>
  2687. * ToolStripDropDown.cs: Screen.Bound dont return right value then use
  2688. SystemInformation.WorkingArea to get max_screen value.
  2689. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  2690. * BindingSource.cs: Implement Filter and RemoveFilter.
  2691. 2008-04-28 Everaldo Canuto <[email protected]>
  2692. * MenuAPI.cs: Prevent sub-menu positon to be less than zero.
  2693. 2008-04-28 Carlos Alberto Cortez <[email protected]>
  2694. * X11Dnd.cs: When trying to convert data and we know we started the
  2695. dnd loop, don't try to use the cached data if the loop is not running,
  2696. which means that the data has been resetted.
  2697. Fixes #378191.
  2698. 2008-04-28 Everaldo Canuto <[email protected]>
  2699. * MenuAPI.cs: Force first menu subitem to show from left to right to mimic
  2700. win32 behavior.
  2701. 2008-04-28 Everaldo Canuto <[email protected]>
  2702. * MenuAPI.cs: Check the screen limits before show sub-menus and prevent
  2703. it to drawn off screen edge. Fixes bug #367490.
  2704. 2008-04-28 Everaldo Canuto <[email protected]>
  2705. * MenuAPI.cs: In PopupWindow.RefreshItems uses a temp point var to store
  2706. menu position to have only one assignment of Location var.
  2707. 2008-04-28 Everaldo Canuto <[email protected]>
  2708. * MenuAPI.cs: Implement the right key for sub-menus. Thanks Ernesto Carrea
  2709. for this patch. Fixes bug #384115.
  2710. 2008-04-28 Jonathan Pobst <[email protected]>
  2711. * ScrollBar.cs: If SmallChange is larger than LargeChange, make them
  2712. the same. If LargeChange is zero, set a minimum size for the scroll
  2713. thumb grip. [Fixes bug #384182]
  2714. 2008-04-28 Jonathan Pobst <[email protected]>
  2715. * TextBoxTextRenderer.cs: Don't turn &A into a prefix for textboxen.
  2716. [Fixes bug #384181]
  2717. 2008-04-28 Jonathan Pobst <[email protected]>
  2718. * ListBox.cs: Math.Min should be Math.Max. [Fixes bug #384183]
  2719. 2008-04-28 George Giolfan <[email protected]>
  2720. * ThemeVisualStyles.cs: Added partial support for ScrollBar (based on the
  2721. patch from Ernesto).
  2722. 2008-04-28 George Giolfan <[email protected]>
  2723. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawComboButton.
  2724. 2008-04-28 George Giolfan <[email protected]>
  2725. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawButton.
  2726. 2008-04-28 George Giolfan <[email protected]>
  2727. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawRadioButton.
  2728. 2008-04-28 George Giolfan <[email protected]>
  2729. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawScrollButton.
  2730. 2008-04-27 George Giolfan <[email protected]>
  2731. * ThemeVisualStyles.cs: Added support for ButtonBase.UseVisualStyleBackColor.
  2732. 2008-04-27 Andreia Gaita <[email protected]>
  2733. * HtmlWindow.cs, HtmlHistory.cs: Throw on DomHistory getter (it's
  2734. supposed to return a reference to an mshtml interface, which we
  2735. don't support).
  2736. * HtmlElement.cs: Throw on DomElement getter (it's supposed to return a
  2737. reference to an mshtml interface, which we don't support). Code
  2738. formatting cleanup.
  2739. * HtmlDocument.cs: Add DefaultEncoding getter implementation. Throw on
  2740. DomDocument getter (it's supposed to return a reference to an
  2741. mshtml interface, which we don't support). Code formatting cleanup.
  2742. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  2743. * ListView.cs: Ouch, forgot to commit.
  2744. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  2745. * ListView.cs:
  2746. * ThemeWin32Classic.cs: Fire the -until now- forgotten CacheVirtualItems event.
  2747. 2008-04-26 Carlos Alberto Cortez <[email protected]>
  2748. * ListView.cs: When calculating box selection for virtual mode, don't
  2749. look for intersection with item's text, but item bounds, since that
  2750. would mean read ListViewItem's text for _every_ item, and that's
  2751. something we just can't do in virtual mode (items are only requested
  2752. when drawn).
  2753. 2008-04-26 George Giolfan <[email protected]>
  2754. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCaptionButton and
  2755. partial support for managed windows (based on the patch from Ernesto).
  2756. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  2757. * ListView.cs: When doing a key search use FindItemWithText method
  2758. instead of doing the search by ourselves, this way we avoid
  2759. duplicating the code and also we handle the special case for virtual
  2760. mode. To achieve that make our private overload of FindItemWithText
  2761. internal and also have a 'roundtrip' parameter.
  2762. 2008-04-25 Carlos Alberto Cortez <[email protected]>
  2763. * ListView.cs: When doing the layout don't request the
  2764. ListViewItem instance if we are in virtual mode (since we can't request it
  2765. until the item is actully drawn).
  2766. 2008-04-25 George Giolfan <[email protected]>
  2767. * ThemeVisualStyles.cs: Added support for ProgressBar (based on the patch
  2768. from Ernesto).
  2769. 2008-04-25 George Giolfan <[email protected]>
  2770. * ThemeVisualStyles.cs: Added support for ControlPaint.DrawCheckBox (based on
  2771. the patch from Ernesto).
  2772. 2008-04-25 George Giolfan <[email protected]>
  2773. * ThemeEngine.cs: Added code to select ThemeVisualStyles.
  2774. * ThemeVisualStyles.cs: Added.
  2775. 2008-04-25 George Giolfan <[email protected]>
  2776. * IDeviceContext.cs: Added a missing using.
  2777. 2008-04-25 George Giolfan <[email protected]>
  2778. * ButtonBase.cs: Made IsDefault protected internal.
  2779. * ButtonRenderer.cs: Made GetPushButtonRenderer(PushButtonState) internal.
  2780. 2008-04-25 George Giolfan <[email protected]>
  2781. * Application.cs: Included VisualStyles-related members in the 1.1 profile.
  2782. * ButtonRenderer.cs, CheckBoxRenderer.cs, Padding.cs, PaddingConverter.cs,
  2783. RadioButtonRenderer.cs: Included in the 1.1 profile.
  2784. * IDeviceContext.cs: Added.
  2785. * TextRenderer.cs: Included a member in the 1.1 profile.
  2786. 2008-04-25 George Giolfan <[email protected]>
  2787. * ThemeWin32Classic.cs: Added ShouldPaintFocusRectangle(ButtonBase).
  2788. 2008-04-24 Jonathan Pobst <[email protected]>
  2789. * ErrorProvider.cs: Make the error icons come after the control
  2790. they refer to. It isn't the way the MS does it, but its better
  2791. than what we were doing. See bug #368587.
  2792. 2008-04-24 Jonathan Pobst <[email protected]>
  2793. * InputLanguage.cs, InputLanguageCollection.cs: Apply patch
  2794. from Eric Albright that lazy loads the input language as ensures
  2795. everything gets properly initialized. Fixes bug #373871.
  2796. 2008-04-24 Jonathan Pobst <[email protected]>
  2797. * ToolStrip.cs: Don't use ToolStripControlHosts when figuring up
  2798. implicit mnemonics. [Fixes bug #383000]
  2799. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  2800. * X11Dnd.cs: When canceling the operation, automatically restore the
  2801. default cursor - normally the default cursor is restored when the
  2802. mouse buttons are released, but we should be able to restore it even
  2803. if the buttons are still pressed (for example, when pressing ESC to
  2804. cancel).
  2805. Fixes #381894.
  2806. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  2807. * X11Dnd.cs: When starting a new drad and drop operation, set control
  2808. field to null, just as the other fields, to avoid calling any
  2809. operation on a previous control. Also, when calling DndLeave on a
  2810. control, set it to null, thus we don't fire that event multiple times
  2811. for that control.
  2812. Fixes #209264.
  2813. 2008-04-23 Geoff Norton <[email protected]>
  2814. * XplatUICarbon.cs: Ensure that we have a valid hwnd before accessing
  2815. the whole_window object. Fixes #377084.
  2816. 2008-04-23 Andreia Gaita <[email protected]>
  2817. * HtmlElement.cs: Implement RaiseEvent (event injection into the
  2818. embedded browser)
  2819. 2008-04-23 Jonathan Pobst <[email protected]>
  2820. * DataGridViewColumnHeaderCell.cs: Implement some NIEX stuffs.
  2821. 2008-04-23 Andreia Gaita <[email protected]>
  2822. * HtmlElement.cs, HtmlDocument.cs: Implement javscript method
  2823. invocation
  2824. 2008-04-23 Andreia Gaita <[email protected]>
  2825. * HtmlElement.cs, HtmlDocument.cs: Implement custom event handler
  2826. attaching/detaching
  2827. 2008-04-23 Carlos Alberto Cortez <[email protected]>
  2828. * X11Dnd.cs: When the drop was cancelled, or could just not be
  2829. performed, return DragDropEffect.None always (match .net).
  2830. 2008-04-22 Jonathan Pobst <[email protected]>
  2831. * DataGridViewRowHeaderCell.cs: Fill in some NIEX stuff.
  2832. 2008-04-22 Jonathan Pobst <[email protected]>
  2833. * DataGridViewRowCollection.cs: Revert something I didn't mean to commit.
  2834. 2008-04-22 Jonathan Pobst <[email protected]>
  2835. * DataGridView.cs: Add support for error icon tool tips.
  2836. * DataGridViewCell.cs: ErrorIconBounds needs to call GetErrorIconBounds.
  2837. * DataGridViewRowHeaderCell.cs: Need internal way to get ErrorIconBounds.
  2838. 2008-04-22 Ivan N. Zlatev <[email protected]>
  2839. * X11Structs.cs: Add mouse button masks enum.
  2840. * XplatUIX11.cs, Hwnd.cs: Send WM_ENTERSIZEMOVE and
  2841. WM_EXITSIZEMOVE only once at the beginning and at the end of the
  2842. form resize/move operation instead of for each step of it.
  2843. [Fixes bug #346529 for the x11 backend]
  2844. 2008-04-21 Jonathan Pobst <[email protected]>
  2845. * DataGridView*: Implement support for drawing error icons.
  2846. 2008-04-21 Jonathan Pobst <[email protected]>
  2847. * TreeView.cs: Make vbar and hbar internal.
  2848. * TreeNode.cs: If collapsing the node removes one of the TreeView's
  2849. scrollbars, invalidate the whole thing.
  2850. [Fixes bug #382001]
  2851. 2008-04-21 Jonathan Pobst <[email protected]>
  2852. * TreeView.cs: Calling Sort() sets Sorted = true.
  2853. * TreeNodeCollection.cs: Try to find the owner TreeView to determine
  2854. if the nodes need to be sorted.
  2855. [Fixes bug #382028]
  2856. 2008-04-21 Ivan N. Zlatev <[email protected]>
  2857. * Form.cs: Fire SizeChanged for both when the form is minimized and
  2858. restored.
  2859. * XplatUIX11.cs: Instead of tracking minimization on UnmapNotify track it
  2860. on PropertyNotify of _NET_WM_STATE. Much much cleaner.
  2861. 2008-04-21 Jonathan Pobst <[email protected]>
  2862. * ComboBox.cs: If the combobox is disabled, draw a disabled
  2863. background before painting anything else.
  2864. [Fixes bug #381729]
  2865. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  2866. * X11Dnd.cs: Wehn the drag and drop operation is cancelled don't
  2867. forget to send a Leave event to the target window - just as .net does
  2868. when cancelling dnd operations.
  2869. 2008-04-20 Carlos Alberto Cortez <[email protected]>
  2870. * X11Dnd.cs: Stop tracking messages as part of the dnd operation as
  2871. soon as possible - this happens when we send the drop message to the
  2872. target window. This way we avoid firing any DragOver _after_ drop finished.
  2873. Fixes #378179.
  2874. 2008-04-20 Ivan N. Zlatev <[email protected]>
  2875. * XplatUIX11.cs: Send WM_WINDOWPOSCHANGED when a toplevel is minimized.
  2876. * Form.cs: Handle form minimization as a special state, where size doesn't
  2877. change, but we have to fire SizeChanged.
  2878. [Fixes bug #325122 for the win32 and x11 backends]
  2879. 2008-04-20 Ivan N. Zlatev <[email protected]>
  2880. * XplatUIX11.cs: Win32 doesn't send WM_(KILL|SET)FOCUS
  2881. if the handle is disabled.
  2882. [Fixes bug #371751]
  2883. 2008-04-20 Ivan N. Zlatev <[email protected]>
  2884. * XplatUIX11.cs: Enable Maximize/Minimize/Close ability (not decorations)
  2885. for forms with FormBorderStyle.None.
  2886. [Fixes bug #349571]
  2887. 2008-04-20 Ivan N. Zlatev <[email protected]>
  2888. * XplatUIX11.cs: Implement support for WM_ENTERSIZEMOVE and
  2889. WM_EXITSIZEMOVE.
  2890. [Fixes bug #346529 for the X11 backend]
  2891. 2008-04-19 Ivan N. Zlatev <[email protected]>
  2892. * XplatUIX11.cs:
  2893. - Send a mouse Enter message after say dragging the mouse with a
  2894. button down and then release it in another client.
  2895. - Reset the cursor to prevent X11 from remembering it and setting it
  2896. before the control gets WM_SETCURSOR.
  2897. - Qeueue a mouse move after a mouse enter like win32.
  2898. [Fixes bug #323234]
  2899. 2008-04-19 Ivan N. Zlatev <[email protected]>
  2900. * XplatUIX11.cs: Implement limited support for WM_SYSCOMMAND.
  2901. It's sent when the form gets moved, resized, closed.
  2902. * XplatUIStructs.cs: Add SystemCommands enum for WM_SYSCOMMAND.
  2903. [Fixes bug #359193 for X11]
  2904. 2008-04-19 Ivan N. Zlatev <[email protected]>
  2905. * Form.cs: Add a ValidateChildren for the 1.1 profile. Fixes
  2906. the build.
  2907. 2008-04-19 Ivan N. Zlatev <[email protected]>
  2908. * ListView.cs: Move CalculateDetailsGroupItemsCount to the NET_2_0
  2909. group. Fixes the 1.1 build.
  2910. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  2911. * ListView.cs: Use display indexes for selection in Details view, as
  2912. well as do the proper layout based on display indexes for that view
  2913. too.
  2914. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  2915. * ListView.cs: Focused item information is now stored as a display
  2916. index, and display indexes are used all over the place for selection,
  2917. instead of ListViewItem.Index values, which doesn't give us enough
  2918. information to modify the selection in groups mode, and was broken.
  2919. 2008-04-18 Ivan N. Zlatev <[email protected]>
  2920. * Control.cs: Do not fire MouseDown if validation of the control has
  2921. failed.
  2922. * Form.cs: Validate the form before closing.
  2923. [Fixes bugs #330501 and #353310]
  2924. 2008-04-18 Andreia Gaita <[email protected]>
  2925. * WebBrowserBase.cs: Added WndProc, DrawToBitmap,
  2926. CreateWebBrowserSiteBase implementations
  2927. * HtmlElement.cs: Add missing OuterHTML, OuterText setters, stubbed
  2928. Style and TabIndex setters
  2929. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  2930. * ListViewGroup.cs: When returning the actual item count, return the
  2931. proper count for default group.
  2932. Fix the tests.
  2933. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  2934. * ListView.cs:
  2935. * ListViewGroup.cs: When calculating groups layout, get the actual
  2936. number of items per group, since groups added to the group BUT not
  2937. added to the ListView are just ignored, and can cause some nasty
  2938. exceptions because of the lack of synchronization. Also for
  2939. ListViewGroup don't use lazy initialization for items, since we
  2940. the common scenario is to use it always - and it helps us to refactor
  2941. and clean the .ctor overloads.
  2942. 2008-04-18 Carlos Alberto Cortez <[email protected]>
  2943. * ListView.cs: When adding an item to a ListViewItemCollection
  2944. belonging to a group (ListViewGroup.Items), don't generate a redraw if
  2945. the added item hasn't beeen previously added to the ListView instance
  2946. refered by the group, since it will be ignored. This should avoid some
  2947. really nasty flickering.
  2948. 2008-04-17 Carlos Alberto Cortez <[email protected]>
  2949. * ListView.cs: When accessing an item in a specific display
  2950. position, use the helper method GetItemAtDisplayIndex, instead of
  2951. direct access to the reordered_items_indices array. When doing layout
  2952. for groups set the correct Items index for the display position (since
  2953. in groups mode items don't have the same position as in Items
  2954. collection).
  2955. * ListViewGroup.cs: Add a field to store the starting item number,
  2956. which is later used when calculating the layout.
  2957. Fixes #360805.
  2958. 2008-04-17 Gert Driesen <[email protected]>
  2959. * Application.cs: Fixed ProductVersion to fallback to the assembly
  2960. version. Fixes regression for bug #325413.
  2961. 2008-04-16 Carlos Alberto Cortez <[email protected]>
  2962. * ListView.cs: New helper method to retrieve an item in a _specific
  2963. display_ position (the items can be displayed in a different order
  2964. than one of Items collection).
  2965. * ThemeWin32Classic.cs: When drawing, instead of iterating over Items
  2966. collection, use ListView.GetItemAtDisplayIndex, to get an item in a
  2967. specific display position (again remember that items can be sorted
  2968. different than Items).
  2969. 2008-04-16 Jonathan Pobst <[email protected]>
  2970. * DataGridViewColumnCollection.cs: Create a cached copy of our sorted
  2971. list and update it when the collection changes. We were recreating
  2972. this several times per row paint and for every pixel the mouse moved
  2973. across the grid.
  2974. * DataGridViewColumn.cs: Regenerate cached sorted list when DisplayIndex
  2975. changes.
  2976. 2008-04-16 Jonathan Pobst <[email protected]>
  2977. * DataGridViewColumnCollection.cs: Convert our internal sorted columns
  2978. list to use generics.
  2979. * DataGridView.cs, DataGridViewRow.cs: Use generic sorted column list
  2980. and remove unneccessay casts.
  2981. 2008-04-16 Jonathan Pobst <[email protected]>
  2982. * DataGridViewBand.cs: Add internal way to set displayed variable.
  2983. * DataGridViewRow.cs: Don't paint cells in non-displayed columns.
  2984. * DataGridView.cs: Make sure we always keep track of Displayed
  2985. rows and columns, and only draw things that are displayed.
  2986. 2008-04-16 Atsushi Enomoto <[email protected]>
  2987. * X11Keyboard.cs, XplatUIX11.cs : manage key state regardless of
  2988. whether the key events are filtered or not. Introduced
  2989. PreFilter() process for this purpose. This fixes atokx3/iiimx
  2990. shift state issue.
  2991. 2008-04-16 Andreia Gaita <[email protected]>
  2992. * HtmlHistory.cs: Implement Length property
  2993. 2008-04-15 Jonathan Pobst <[email protected]>
  2994. * DataGridView.cs: Call EndEdit when a sort is performed so we take
  2995. away the edit textbox. Refactor to reuse column sort code.
  2996. 2008-04-12 Everaldo Canuto <[email protected]>
  2997. * MenuAPI.cs: Remove the code that save and restore capture status of
  2998. grab_control, this fixes some Menu and Context menu bugs but maybe it can
  2999. cause some others, I cant figure the possible problems of this patch but
  3000. right now remove the code looks to be better than keep it. This patch fixes
  3001. bugs #357638, #378721 and #379570.
  3002. 2008-04-12 Andreia Gaita <[email protected]>
  3003. * HtmlDocument.cs, HtmlElement.cs, HtmlHistory.cs, WebBrowser.cs:
  3004. Implement OuterHtml, OuterText, Enabled, Scroll*, *Rectangle properties,
  3005. add missing properties and event handlers.
  3006. 2008-04-14 Jonathan Pobst <[email protected]>
  3007. * ListBox.cs: Make sure the LargeChange we are setting is at least
  3008. zero, to prevent an IOORE. [Fixes bug #379531]
  3009. 2008-04-13 Andy Hume <[email protected]>
  3010. * ComboBox.cs: Support item navigation by entering text. Firstly,
  3011. in DropDownList mode, for each key-press select the next item
  3012. starting with that letter.
  3013. For other modes, when no item selected, on arrow-up/-down and open
  3014. drop-down select the first item matching the text in the textbox.
  3015. 2008-04-14 Atsushi Enomoto <[email protected]>
  3016. * X11Keyboard.cs : Control.FromHandle() could return null
  3017. in MoveCurrentCaretPos().
  3018. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  3019. * ListView.cs: When changing the size in VirtualMode, also Reset the
  3020. selection.
  3021. * ListViewItem.cs: Don't call SelectedIndexCollection.Reset when
  3022. changing selection info for VirtualMode.
  3023. Fixes #372618.
  3024. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  3025. * ThemeWin32Classic.cs: When drawing ListViewItem instancesin Details
  3026. view, don't use LineLimit for the first item - use NoWrap *always*
  3027. instead, since ListView.LabelWrap is not used for this view.
  3028. Fixes #378054.
  3029. 2008-04-12 Carlos Alberto Cortez <[email protected]>
  3030. * Binding.cs: Call UpdateIsBinding when setting control - probably
  3031. Binding is already usable and we don't need to wait to check the
  3032. IsBinding state. Also for 1.1 profile use IsHandleCreated instead of
  3033. Created, just like 2.0 does.
  3034. * CurrencyManager.cs: I'm so lame - the previous check was wrong.
  3035. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  3036. * Binding.cs: Just realized we don't need to have a handler for
  3037. BindingContextChanged, since this info should be now consumed directly
  3038. in the BindingManagerBase. And also, the manager.IsBindingSuspended
  3039. state info is checked directly, instead of caching it.
  3040. * CurrencyManager.cs: IsSuspended should return always false if Count
  3041. == 0.
  3042. 2008-04-11 Carlos Alberto Cortez <[email protected]>
  3043. * Binding.cs: When calling PushData, return if manager.Count == 0,
  3044. since we just don't have data to be read. Also, when setting the
  3045. Control for binding, hook up some events to refresh the IsBinding
  3046. state when BindingContext change or control gets created; use
  3047. Control.IsHandleCreated instead of Control.Created check to set
  3048. IsBinding state - we *actually* need to modify IsBinding when control
  3049. is created, but we don't have any Created event, only HandleCreated.
  3050. Fixes part of #349364.
  3051. 2008-04-11 Geoff Norton <[email protected]>
  3052. * XplatUICarbon.cs: Expose Caret to the Carbon layer. Guard against
  3053. warping a null Caret.
  3054. 2008-04-11 Jonathan Pobst <[email protected]>
  3055. * DataGridView.cs: Implement row/column autosizing methods. Implement
  3056. autosorting.
  3057. * DataGridViewColumnHeaderCell.cs: Add painting of the sort glyph.
  3058. * DataGridViewRowCollection.cs: Add an internal sorting method.
  3059. 2008-04-11 Jonathan Pobst <[email protected]>
  3060. * ThemeWin32Classic.cs: Apply patch from Ernesto to cache an expensive
  3061. value in ListView drawing code.
  3062. 2008-04-11 Jonathan Pobst <[email protected]>
  3063. * FileDialog.cs: Only call FileOk when Ok is clicked, not when Cancel
  3064. is clicked. Respect the user setting Cancel in FileOk.
  3065. 2008-04-11 Geoff Norton <[email protected]>
  3066. * ListView.cs: Avoid setting and resetting control Width/Heights and
  3067. calculate the final value and set it once. Prevents a feedback loop
  3068. on the mac.
  3069. 2008-04-10 Jonathan Pobst <[email protected]>
  3070. * TreeView.cs: Clamp setting the scrollbar value using SafeValueSet.
  3071. [Fixes bug #378869]
  3072. 2008-04-10 Atsushi Enomoto <[email protected]>
  3073. * X11Keyboard.cs, X11Structs.cs : make over-the-spot mode default.
  3074. Add some on-the-spot code, but it seems we don't need it.
  3075. 2008-04-10 Jonathan Pobst <[email protected]>
  3076. * Form.cs: Add method for DataGridView to trigger focus cues
  3077. even when it handles the tab keypress.
  3078. 2008-04-10 Jonathan Pobst <[email protected]>
  3079. * DataGridView.cs: More keyboard handling, tab, esc.
  3080. * DataGridViewTextBoxEditingControl.cs: Don't request arrow keys
  3081. when at the beginning or end of the text in the text box.
  3082. 2008-04-09 Jonathan Pobst <[email protected]>
  3083. * DataGridViewCell.cs: Guard against an NRE causing a test to fail.
  3084. 2008-04-09 Jonathan Pobst <[email protected]>
  3085. * DataGridView.cs: Some fixups for showing and adding the edit control.
  3086. * DataGridViewButtonColumn.cs: Implement ToString.
  3087. * DataGridViewCell.cs: Size and position the control simultaneously.
  3088. * DataGridViewTextBoxCell.cs: Use base to position control.
  3089. 2008-04-09 Jonathan Pobst <[email protected]>
  3090. * DataGridViewCell.cs: Fix up some formatting and painting code.
  3091. * DataGridViewImageCell.cs: Implement some NIEX methods.
  3092. 2008-04-09 Jonathan Pobst <[email protected]>
  3093. * ToolStripItemCollection.cs: What moving an item from one owner
  3094. to another, remove from source owner before adding to destination.
  3095. [Fixes bug #378109]
  3096. 2008-04-09 Jonathan Pobst <[email protected]>
  3097. * PictureBox.cs: Call Load when ImageLocation is set.
  3098. [Fixes bug #378308]
  3099. 2008-04-09 Atsushi Enomoto <[email protected]>
  3100. * X11Keyboard.cs, XplatUIX11.cs :
  3101. Implement over-the-spot mode (with some odd offsets).
  3102. - set preedit position when caret is set.
  3103. - Wrap XMoveResizeWindow() to move preedit position.
  3104. 2008-04-08 Everaldo Canuto <[email protected]>
  3105. * X11keyboard.cs: Fix last patch, maxval must be less not greater than
  3106. array lenght.
  3107. 2008-04-08 Everaldo Canuto <[email protected]>
  3108. * KeyboardLayouts.cs: Uses GENERATING_RESOURCES to make VKeyTableIndex
  3109. and ScanTableIndex public, it fix compilations errors when compiling
  3110. WinForms to generate keyboard layout resources.
  3111. 2008-04-08 Everaldo Canuto <[email protected]>
  3112. * X11keyboard.cs: Prevent keyboard errors when vitual table theres
  3113. different element count than scan table. It prevents some errors in non
  3114. standard keyboards.
  3115. 2008-04-08 Jonathan Pobst <[email protected]>
  3116. * DataGridViewHeaderCell.cs: Implement some NIEX methods.
  3117. 2008-04-08 Jonathan Pobst <[email protected]>
  3118. * DataGridView.cs: Call OnContentClick.
  3119. * DataGridViewCell.cs: Do a null check on ValueType instead
  3120. of valueType.
  3121. * DataGridViewCheckBoxCell.cs: Implement.
  3122. 2008-04-08 Atsushi Enomoto <[email protected]>
  3123. * X11Keyboard.cs : Do not cast IntPtr to int. Use long.
  3124. 2008-04-08 Atsushi Enomoto <[email protected]>
  3125. * X11Keyboard.cs : Check XGetIMValues() return value in
  3126. case it does not return input styles in some environment.
  3127. 2008-04-08 Atsushi Enomoto <[email protected]>
  3128. * X11Keyboard.cs : sizeof(IntPtr) != 4 on amd64.
  3129. 2008-04-07 Carlos Alberto Cortez <[email protected]>
  3130. * BindingContext.cs: Stub UpdateBinding method.
  3131. 2008-04-07 Atsushi Enomoto <[email protected]>
  3132. * X11Structs.cs : added couple of structs for XIM support.
  3133. * X11Keyboard.cs :
  3134. Release XIM in case it failed to create XIC.
  3135. Use consts for XNblah string.
  3136. Add support for IM style customization and XIC creation
  3137. for preedit-position and preedit-callback.
  3138. Right now use MONO_WINFORMS_XIM_STYLE environment variable
  3139. (list of: over-the-spot | on-the-spot | root). Only root
  3140. mode works so far.
  3141. (redoing r99172 with fix.)
  3142. 2008-04-07 Jonathan Pobst <[email protected]>
  3143. * TreeView.cs: Center the checkbox a little better.
  3144. 2008-04-07 Jonathan Pobst <[email protected]>
  3145. * ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs, ThemeWin32Classic.cs:
  3146. Apply very nice patch from Ernesto Carrea that simplifies our
  3147. scrollbar drawing. [From bug #376146]
  3148. 2008-04-07 Jonathan Pobst <[email protected]>
  3149. * TreeView.cs: Correct the location of the root node checkbox when
  3150. ShowRootLines = false. Don't draw the root lines for the root node
  3151. when ShowRootLines = false. [Fixes bug #377535]
  3152. 2008-04-06 Gert Driesen <[email protected]>
  3153. * WebBrowserBase.cs: Added missing attributes and fixed attributes.
  3154. Fixed line endings.
  3155. * WebBrowser.cs: Added missing attributes and fixed attributes. Fixed
  3156. line endings.
  3157. * MaskedTextBox.cs: Added missing attribute. Code formatting.
  3158. * PageSetupDialog.cs: Added missing attribute. Code formatting.
  3159. * HtmlWindowCollection.cs: Code formatting. Fixed line endings.
  3160. * ImeMode.cs: Added missing field.
  3161. * HtmlWindow.cs: Code formatting. Fixed line endings.
  3162. * HtmlElement.cs: Code formatting. Fixed line endings. Fixed compiler
  3163. warnings.
  3164. * HtmlHistory.cs: Code formatting. Fixed line endings.
  3165. * HtmlDocument.cs: Code formatting. Fixed line endings.
  3166. * ToolStripPanel.cs: Added missing IList implementation.
  3167. * HtmlElementCollection.cs: Code formatting. Fixed line endings.
  3168. 2008-04-06 Gert Driesen <[email protected]>
  3169. * BindingContext.cs: Changed argument names to fix corcompare errors.
  3170. * DataGridView.cs: Removed extra explicit interface implementation
  3171. of IDropTarget. Code formatting.
  3172. * FlowLayoutPanel.cs: Changed argument names to fix corcompare errors.
  3173. * ComboBox.cs: Changed argument names to fix corcompare errors.
  3174. * DataGridTextBoxColumn.cs: Changed argument names to fix corcompare
  3175. errors.
  3176. * GridColumnStylesCollection.cs: Changed argument names to fix
  3177. corcompare errors. Removed extra tabs.
  3178. * GridTableStylesCollection.cs: Changed argument names to fix corcompare
  3179. errors.
  3180. * Control.cs: Changed argument names to fix corcompare errors. Code
  3181. formatting. Removed extra explicit IList implementation.
  3182. * TextBox.cs: Changed argument names to fix corcompare errors. Code
  3183. formatting. Use string.Empty instead of "".
  3184. * GridItemCollection.cs: Changed argument names to fix corcompare
  3185. errors. Code formatting.
  3186. * DataGridViewTopLeftHeaderCell.cs: Changed argument names to fix
  3187. corcompare errors. Code formatting.
  3188. * ImageList.cs: Changed argument names to fix corcompare errors.
  3189. * ToolStripItem.cs: Changed argument names to fix corcompare errors.
  3190. * DataGridViewRowCollection.cs: Changed argument names to fix
  3191. corcompare errors. Code formatting.
  3192. * TableLayoutPanel.cs: Changed argument names to fix corcompare errors.
  3193. * DataGridViewSelectedCellCollection.cs: Changed argument names to
  3194. fix corcompare errors. Code formatting.
  3195. * DataGridViewComboBoxCell.cs: Changed argument names to fix
  3196. corcompare errors. Code formatting.
  3197. * LinkLabel.cs: Changed argument names to fix corcompare errors.
  3198. * TreeNode.cs: Changed argument names to fix corcompare errors. Code
  3199. formatting.
  3200. * PropertyGrid.cs: Changed argument names to fix corcompare errors.
  3201. Code formatting.
  3202. * BindingSource.cs: Changed argument names to fix corcompare errors.
  3203. Removed extra explicit interface implementations.
  3204. * DataGridViewSelectedRowCollection.cs: Changed argument names to
  3205. fix corcompare errors. Code formatting.
  3206. * ToolStripItemCollection.cs: Removed extra explicit interface
  3207. implementation of IList.ReadOnly.
  3208. * DataGridViewColumnCollection.cs: Changed argument names to fix
  3209. corcompare errors. Code formatting.
  3210. * DataGridViewRow.cs: Rename converter to match MS. Code formatting.
  3211. * ListView.cs: Changed argument names to fix corcompare errors.
  3212. * DataGridViewHeaderCell.cs: Changed argument names to fix corcompare
  3213. errors.
  3214. * DataGridBoolColumn.cs: Changed argument names to fix corcompare
  3215. errors.
  3216. * ListBindingHelper.cs: Changed argument names to fix corcompare
  3217. errors.
  3218. * DataGridViewSelectedColumnCollection.cs: Changed argument names to
  3219. fix corcompare errors. Code formatting.
  3220. * ToolStripPanel.cs: Removed extra explicit implementation of
  3221. IDropTarget interface.
  3222. * ListBox.cs: Changed argument names to fix corcompare errors. Code
  3223. formatting. Removed extra tabs and spaces.
  3224. * DataGridViewCellCollection.cs: Changed argument names to fix
  3225. corcompare errors.
  3226. * Help.cs: Changed argument names to fix corcompare errors. Code
  3227. formatting.
  3228. * TabControl.cs: Changed argument names to fix corcompare errors.
  3229. * DataGridColumnStyle.cs: Changed argument names to fix corcompare
  3230. errors.
  3231. * TableLayoutSettings.cs: Changed argument names to fix corcompare
  3232. errors.
  3233. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  3234. * ListBindingHelper.cs: When returning properties, only return those
  3235. that are browsable. Also, don't do a linear search of the properties,
  3236. but use the indexer of the PropertyDescriptorCollection class.
  3237. 2008-04-05 Carlos Alberto Cortez <[email protected]>
  3238. * BindingSource.cs: Implement GetRelatedCurrencyManager by adding a
  3239. Dictionary containing the related (child) currency managers. Also,
  3240. when setting DataSource, add datasource to our List if it is not a list.
  3241. 2008-04-05 Ivan N. Zlatev <[email protected]>
  3242. * PropertyGridTextBox.cs: Fix background color of the buttons.
  3243. * PropertyGridView.cs: Make the entry less jumpy.
  3244. 2008-04-05 Ivan N. Zlatev <[email protected]>
  3245. * PropertyGrid.cs: Fix unused variable warnings.
  3246. 2008-04-05 Ivan N. Zlatev <[email protected]>
  3247. * PropertyGridView.cs: Fix expansion via [+] misbehavior on
  3248. double-click. It expanded it once in the mouse down and then
  3249. again in the double-click handler.
  3250. 2008-04-04 Ivan N. Zlatev <[email protected]>
  3251. * GridEntry.cs: ICustomTypeDescriptor support for PropertyOwner,
  3252. TypeConverter and UITypeEditors.
  3253. 2008-04-04 Ivan N. Zlatev <[email protected]>
  3254. * Control.cs: Visibility should be set synchronously,
  3255. so we must also redraw once it is and not rely on layouting or
  3256. other code to repaint.
  3257. [Fixes bug #339898]
  3258. 2008-04-04 Jonathan Pobst <[email protected]>
  3259. * DataGridViewCell.cs: Respect DataGridView.GridColor.
  3260. 2008-04-03 Jonathan Pobst <[email protected]>
  3261. * Control.cs: Invalidate when the alpha channel is less than 255,
  3262. not only when control is transparent.
  3263. 2008-04-03 Jonathan Pobst <[email protected]>
  3264. * DataGridViewRowPrePaintEventArgs.cs, DataGridViewRowPostPaintEventArgs.cs:
  3265. Implement some painting convenience methods that threw NIEX.
  3266. 2008-04-03 Jonathan Pobst <[email protected]>
  3267. * DataGridView.cs: Call CellMouse[Enter|Move|Leave] properly.
  3268. * DataGridViewLinkCell.cs: Implement.
  3269. 2008-04-03 Ivan N. Zlatev <[email protected]>
  3270. * GridEntry.cs: Report the conversion exception error description.
  3271. [Fixes bug #375792]
  3272. 2008-04-03 Ivan N. Zlatev <[email protected]>
  3273. * PropertyGridView.cs: Do not scroll to item on resize.
  3274. [Fixes bug #375789]
  3275. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  3276. * BindingContext.cs: When retrieving a BindingManagerBase, if the
  3277. dataSource parameter is ICurrencyManagerProvider, then return
  3278. ICurrencyManagerProvider.CurrencyManager/GetRelatedCurrencyManager
  3279. instead of creating a new one.
  3280. 2008-04-02 Carlos Alberto Cortez <[email protected]>
  3281. * BindingSource.cs: Implement support for Type instances as
  3282. DataSource.
  3283. 2008-04-02 Jonathan Pobst <[email protected]>
  3284. * DataGridView.cs: Minor cleanups and call CellMouseUp.
  3285. * DataGridViewCell.cs: Make some painting routines internally virtual.
  3286. * DataGridViewButtonCell.cs: Implement.
  3287. 2008-04-02 Jonathan Pobst <[email protected]>
  3288. * Control.cs: We always need to invalidate our children with
  3289. transparent backgrounds when we are invalidated.
  3290. [Fixes bug #376081]
  3291. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  3292. * BindingSource.cs: EndEdit and CancelEdit should call EndCurrentEdit
  3293. and CancelCurrentEdit on CurrencyManager respectively. Implement
  3294. support for ICancelAddNew too.
  3295. 2008-04-01 Carlos Alberto Cortez <[email protected]>
  3296. * CurrencyManager.cs: When calling EndCurrentEdit/CancelCurrentEdit,
  3297. call EndNew/CancelNew if list is ICancelAddNew.
  3298. 2008-04-01 Jonathan Pobst <[email protected]>
  3299. * DataGridView.cs: Guard against an exception while painting
  3300. if there are no rows.
  3301. 2008-04-01 Jonathan Pobst <[email protected]>
  3302. * DataGridView.cs: Implement a bunch of keyboard commands.
  3303. 2008-03-31 Jonathan Pobst <[email protected]>
  3304. * ToolBar.cs: Don't do our painting if UserPaint is set. If UserPaint
  3305. isn't set, don't call OnPaint. [Fixes bug #375300]
  3306. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  3307. * BindingSource.cs: IsBindingSuspended, ResumeBinding and
  3308. SuspendBinding depend on CurrencyManager. Implement RemoveCurrent,
  3309. hookup the remaining events related to CurrencyManager, and fire
  3310. OnListChanged also for the Clear () method.
  3311. 2008-03-30 Carlos Alberto Cortez <[email protected]>
  3312. * BindingSource.cs: Use Current and Position implementations in
  3313. CurrencyManager instead of using our own routines, since we need
  3314. to be in synch with it. Count should NEVER return a -1 value, and
  3315. also report ListChanged events for both simple IList data
  3316. sources (manually) as well for IBindingList ones (by hooking up an
  3317. event handler for it).
  3318. 2008-03-28 Carlos Alberto Cortez <[email protected]>
  3319. * BindingSource.cs: Make one .ctor call the another, to avoid
  3320. duplicate code. Add the CurrencyManager property, and also for AddNew
  3321. throw the proper exceptions and show better error messages.
  3322. 2008-03-28 Jonathan Pobst <[email protected]>
  3323. * ComboBox.cs: Only adjust selectedindex if Handle has been
  3324. created. Fixes failing test.
  3325. 2008-03-28 Jonathan Pobst <[email protected]>
  3326. * ComboBox.cs: Adjust selectedindex if we insert a new item
  3327. above the current selectedindex in a sorted ComboBox.
  3328. [Fixes bug #374654]
  3329. 2008-03-28 Jonathan Pobst <[email protected]>
  3330. * ComboBox.cs: Support PageUp/PageDown when dropdown is closed.
  3331. [Fixes bug #374712]
  3332. 2008-03-28 Jonathan Pobst <[email protected]>
  3333. * DataGridViewTextBoxCell.cs: Implement stuffs.
  3334. 2008-03-27 Jonathan Pobst <[email protected]>
  3335. * TreeView.cs: Create the scrollbars even earlier to be
  3336. double dog certain they are created before they are accessed.
  3337. 2008-03-27 Jonathan Pobst <[email protected]>
  3338. * XplatUIX11.cs: Remove a no-op line that csc was choking on.
  3339. 2008-03-27 Jonathan Pobst <[email protected]>
  3340. * ScrollBar.cs: Create an internal safe Value setter so we
  3341. won't crash if we try to set a value outside the min and max.
  3342. * TextBoxBase.cs: Use safe value setter to guard against a
  3343. potential NRE that is being reported by Reflector.
  3344. 2008-03-27 Jonathan Pobst <[email protected]>
  3345. * TreeView.cs: Create the scrollbars earlier in the constructor
  3346. to attempt to guard against an NRE in SetTop in Reflector.
  3347. 2008-03-27 Jonathan Pobst <[email protected]>
  3348. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCell.cs,
  3349. DataGridViewRowCollection.cs: Do not scroll column and row headers,
  3350. show messagebox on data format error, use column display index
  3351. correctly, make sure HitTest supports new layout stuff,
  3352. make sure scrollbars support new layout stuff.
  3353. 2008-03-27 Atsushi Enomoto <[email protected]>
  3354. * XplatUIX11.cs : Patch by Doug Rintoul.
  3355. For some IM engines, keypress events need to delay call
  3356. to XPending() and XNextEvent() in the loop so that it
  3357. does not mess the orders in XIM commit callback.
  3358. Some KeyRelease events such as shift keys need to be
  3359. processed both in the IM engine and winforms driver
  3360. itself since winforms holds its own state check.
  3361. For details, see: http://lists.ximian.com/pipermail/mono-winforms-list/2008-March/003279.html
  3362. 2008-03-27 Atsushi Enomoto <[email protected]>
  3363. * X11Keyboard.cs, XplatUIX11.cs :
  3364. add primitive support for XIM input support (preedit-
  3365. nothing and status-nothing). It requires precise event
  3366. capturing (XSelectInput/"filterEvents") and different
  3367. call to XFilterEvent against root window.
  3368. Get composed string and send dummy WM_IME_COMPOSITION.
  3369. Free XIM and XIC instances in finalizer.
  3370. (This first patch does not include suggested changes
  3371. by Doug Rintoul. It will follow.)
  3372. 2008-03-26 Jonathan Pobst <[email protected]>
  3373. * DataGridView.cs: When binding to a property, if the property
  3374. doesn't have a setter, set the column to readonly.
  3375. [Fixes bug #343965]
  3376. 2008-03-26 Jonathan Pobst <[email protected]>
  3377. * ComboBox.cs: Guard against NRE if an arrow key is hit while
  3378. we aren't dropped down. Support Home/End in DropDownList mode.
  3379. [Fixes bug #371990]
  3380. 2008-03-26 Jonathan Pobst <[email protected]>
  3381. * TreeNodeCollection.cs: Don't increment count until we've
  3382. saved our index to return.
  3383. [Fixes bug #373603]
  3384. 2008-03-25 Jonathan Pobst <[email protected]>
  3385. * Label.cs: Add padding to the label's AutoSize calculation.
  3386. [Fixes bug #373792]
  3387. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  3388. * ListBindingHelper.cs: Actually implement GetListName method.
  3389. 2008-03-25 Carlos Alberto Cortez <[email protected]>
  3390. * BindingSource.cs: Throw the propert expceptions for some methods, as
  3391. well as detect the list item type for Add method if DataSource is null.
  3392. 2008-03-25 Jonathan Pobst <[email protected]>
  3393. * DataGridViewCell.cs: I don't know why I commented this out,
  3394. putting it back for now.
  3395. 2008-03-25 Jonathan Pobst <[email protected]>
  3396. * DataGridViewCell.cs: Remove storage for owning column, just
  3397. use column index.
  3398. * DataGridViewColumn.cs: Make getter for HeaderTextSet.
  3399. * DataGridViewColumnHeaderCell.cs: If the header text has been
  3400. explicitly set, return it.
  3401. [Fixes bug #325979]
  3402. 2008-03-25 Jonathan Pobst <[email protected]>
  3403. * DataGridViewRowCollection.cs: Disable row sharing when
  3404. using data binding. Its a great feature, but lets work on
  3405. getting DGV usable first before we worry about optimizations.
  3406. 2008-03-24 Carlos Alberto Cortez <[email protected]>
  3407. * BindingSource.cs: When resetting our internal list, compute list
  3408. item type information to be used for indirect list access. Also
  3409. implement/tune some properties and methods related to the list access
  3410. too.
  3411. * ListBindingHelper.cs: Add a stub for GetListName method, used from
  3412. BindingSource.
  3413. 2008-03-24 Jonathan Pobst <[email protected]>
  3414. * DataGridView.cs: If RowCount is increased while ColumnCount
  3415. is zero, add a column. [Fixes bug #331649]
  3416. 2008-03-24 Jonathan Pobst <[email protected]>
  3417. * DataGridViewRowCollection.cs: When adding new rows for
  3418. databinding, make sure they are place before the add row.
  3419. [Fixes bug #343961]
  3420. 2008-03-24 Jonathan Pobst <[email protected]>
  3421. * DataGridViewRow.cs: Draw cells in column DisplayIndex order
  3422. instead of Index order.
  3423. 2008-03-24 Jonathan Pobst <[email protected]>
  3424. * DataGridView.cs: If columns are added by increasing ColumnCount,
  3425. they need to be DataGridViewTextBoxColumns, not DataGridViewColumn.
  3426. [Fixes bug #325588]
  3427. 2008-03-24 Jonathan Pobst <[email protected]>
  3428. * DataGridView.cs: Turn off and on the "new row" when
  3429. AllowUserToAddRows is toggled. When the handle is created,
  3430. set current cell and selected cell/row/col.
  3431. 2008-03-24 Jonathan Pobst <[email protected]>
  3432. * ComboBox.cs: When navigating the drop down by keyboard, we
  3433. need to scroll the list box if our selection moves out of the
  3434. currently shown items. [Fixes bug #371990]
  3435. 2008-03-24 Luke Page <[email protected]>
  3436. * RichTextBox.cs: Handles visible rtf tag and no longer shows the text
  3437. on the control. Also now handles unicode compatibility characters and
  3438. stores the unicode compatibility length on the stack. Fixes Bugs
  3439. #355198 and #366436.
  3440. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  3441. * BindingSource..cs: Take into account DataMember when re-creating the
  3442. List property, and also create a specific kind of list as needed.
  3443. 2008-03-23 Carlos Alberto Cortez <[email protected]>
  3444. * ListBindingHelper.cs: Add a new case for GetList () method - when we
  3445. get an empty IEnumerable, try to detect whether the datamember is
  3446. valid or not for that type, if true, return null, and throw exception
  3447. otherwise.
  3448. 2008-03-22 Jonathan Pobst <[email protected]>
  3449. * ComboBox.cs: Alt-Down should drop down the list, Esc should
  3450. retract it. [Fixes bug #371989]
  3451. 2008-03-22 Ivan N. Zlatev <[email protected]>
  3452. * PropertyGrid.cs: Initialize the sorting button as pushed.
  3453. 2008-03-22 Ivan N. Zlatev <[email protected]>
  3454. * PropertyGrid.cs:
  3455. - Visually select the PropertyTab.
  3456. - Filter Properties by Attributes properly.
  3457. 2008-03-21 Jonathan Pobst <[email protected]>
  3458. * MenuItem.cs: Remove menu item from parent when disposed.
  3459. [Fixes bug #372845]
  3460. 2008-03-21 Jonathan Pobst <[email protected]>
  3461. * ToolBar.cs: Don't reset layout_type if Dock = None.
  3462. 2008-03-21 Andreia Gaita <[email protected]>
  3463. * UserControl.cs: Select the first available control when we get focus.
  3464. Fixes #372616
  3465. 2008-03-21 Jonathan Pobst <[email protected]>
  3466. * DataGridViewCell.cs, DataGridViewTextBoxCell.cs: Don't paint
  3467. the content if we are in edit mode. [Fixes bug #343964]
  3468. 2008-03-21 Jonathan Pobst <[email protected]>
  3469. * DataGridViewCell.cs: Fix border painting for column headers.
  3470. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  3471. * BindingSource.cs: When setting or resetting data source,
  3472. use ListBindingHelper.GetList () method, since it will get the list in
  3473. case datasource is IListSource.
  3474. 2008-03-20 Jonathan Pobst <[email protected]>
  3475. * DataGridViewCell.cs: Implement lots more stuffs.
  3476. 2008-03-20 Ivan N. Zlatev <[email protected]>
  3477. * PropertyGridView.cs, GridEntry.cs: Implement support for
  3478. UITypeEditor.IsDropDownResizable.
  3479. 2008-03-20 Jonathan Pobst <[email protected]>
  3480. * DataGridViewCell.cs: Remove unused variables, improve how
  3481. several of the property getters work.
  3482. * DataGridViewRow.cs: Don't call setSize on a cell, cell should
  3483. get its size from the parent row/col.
  3484. 2008-03-20 Ivan N. Zlatev <[email protected]>
  3485. * PropertyGrid.cs: Ensure PropertiesTab is visible even if the
  3486. user alters manually the PropertyTabs collection via the
  3487. PropertyTabs property.
  3488. 2008-03-20 Carlos Alberto Cortez <[email protected]>
  3489. * ListBindingHelper.cs: Implement -previously- ignored cases. We have
  3490. new tests for them to be sure to be compatible with .net.
  3491. 2008-03-20 Andreia Gaita <[email protected]>
  3492. * WebBrowserBase.cs: Fix attributes, add events
  3493. * WebBrowser.cs: Fix Padding signature
  3494. 2008-03-20 Ivan N. Zlatev <[email protected]>
  3495. * PropertyGrid.cs, PropertyGridView.cs: Implement PropertyTab support.
  3496. 2008-03-19 Jonathan Pobst <[email protected]>
  3497. * DataGridView.cs, DataGridViewCell.cs, DataGridViewCellStyle.cs,
  3498. DataGridViewLinkCell.cs, DataGridViewRow.cs, DataGridViewRowHeaderCell.cs,
  3499. DataGridViewTextBoxCell.cs: Changes so that DataGridViewCell
  3500. passes the new suite of tests for it.
  3501. 2008-03-18 Andreia Gaita <[email protected]>
  3502. * WebBrowser.cs: Add missing attributes, missing Padding and
  3503. DefaultSize properties, remove extraneous getters
  3504. 2008-03-17 Carlos Alberto Cortez <[email protected]>
  3505. * ListBindingHelper.cs: Implement a pair of GetListItemProperties
  3506. method overloads.
  3507. 2008-03-16 Jonathan Pobst <[email protected]>
  3508. * ComboBox.cs: Move resetting the selected index to keypress
  3509. instead of textchanged. Changing the text programmatically
  3510. should not trigger resetting the selected index. Fixes test.
  3511. 2008-03-16 Jonathan Pobst <[email protected]>
  3512. * ComboBox.cs: When the user types into the textbox, reset
  3513. the selected index to -1. [Fixes bug #371672]
  3514. 2008-03-16 Jonathan Pobst <[email protected]>
  3515. * FileDialog.cs: Support Control-A for selecting everything
  3516. in an OpenFileDialog. [Fixes bug #371564]
  3517. 2008-03-15 Jonathan Pobst <[email protected]>
  3518. * DataGridView.cs: When row/column visible/height properties
  3519. change, invalidate. Take the NIEX out of InvalidateRow/Column
  3520. etc. We don't support them yet, but we can just invalidate
  3521. everything until we do support them. (Added MonoTODO). Set
  3522. proper control styles.
  3523. * DataGridViewRow.cs: Don't call PaintHeader if row headers
  3524. are turned off.
  3525. 2008-03-15 Carlos Alberto Cortez <[email protected]>
  3526. * ListBindingHelper.cs: Implement 2.0 GetListItemType methods.
  3527. 2008-03-14 Jonathan Pobst <[email protected]>
  3528. * DataGridViewRow.cs: Only paint the white background in
  3529. cell bounds, the row bounds extends past the cells if the
  3530. grid width isn't as wide as the DGV.
  3531. 2008-03-14 Jonathan Pobst <[email protected]>
  3532. * DataGridView*: Completely revamp the drawing to match the
  3533. public API. Our grids now look better, and call all the
  3534. appropriate methods and event to allow users to override
  3535. the painting and do their own.
  3536. 2008-03-13 Carlos Alberto Cortez <[email protected]>
  3537. * ListBindingHelper.cs: Implement 2.0 GetList methods.
  3538. 2008-03-13 Jonathan Pobst <[email protected]>
  3539. * DataGridView.cs: Implement BorderStyle.
  3540. 2008-03-13 Jonathan Pobst <[email protected]>
  3541. * FileDialog.cs: Apply patch from Andy Hume: Any time we
  3542. are comparing attributes, make sure we only look at the
  3543. one we are interested. These calls were failing if there
  3544. were more than one attribute.
  3545. [Fixes bug #370385]
  3546. 2008-03-13 Jonathan Pobst <[email protected]>
  3547. * DataGridColumnStyle.cs: Hide ctor from 1.1 profile.
  3548. 2008-03-12 Jonathan Pobst <[email protected]>
  3549. * PageSetupDialog.cs: Stub EnableMetric.
  3550. * PrintControllerWithStatusDialog.cs: Implement IsPreview.
  3551. * PrintPreviewDialog.cs: Add ProcessDialogKey,
  3552. ProcessTabKey.
  3553. 2008-03-12 Jonathan Pobst <[email protected]>
  3554. * MonthCalendar.cs: Remove unused variable.
  3555. 2008-03-12 Jonathan Pobst <[email protected]>
  3556. * DataGridView*.cs: corcompare stuffs.
  3557. 2008-03-11 Jonathan Pobst <[email protected]>
  3558. * MonthCalendar.cs: Remove an incorrect invalidate optimization.
  3559. The savings aren't worth the extra code to fix the optimization.
  3560. [Fixes bug #368585]
  3561. 2008-03-11 Jonathan Pobst <[email protected]>
  3562. * ToolBar.cs: Always call base.Dock in the Dock override so that
  3563. Control's layout_type gets reset correctly.
  3564. [Fixes bug #368882]
  3565. 2008-03-11 Ivan N. Zlatev <[email protected]>
  3566. * X11Dnd.cs: End DnD operation also for the middle mouse button.
  3567. 2008-03-11 Jonathan Pobst <[email protected]>
  3568. * ContainerControl.cs: We can't do MenuStrip implicit mnemonics
  3569. at the same time we do explicit ones, because we have to give all
  3570. other controls on the container a chance to handle explicit ones
  3571. first. If no one has an explicit mnemonic, then we can let the
  3572. MenuStrip have a shot at implicit mnemonics.
  3573. * MenuStrip.cs: Create an implicit mnemonic function.
  3574. * ToolStrip.cs: When processing explicit mnemonics, don't do implicit
  3575. mnemonics for MenuStrips.
  3576. [Fixes bug #368493]
  3577. 2008-03-11 Jonathan Pobst <[email protected]>
  3578. * AxHost.cs, Binding.cs, DataGridView.cs, DataGridViewCell.cs,
  3579. DataGridColumnStyle.cs: corcompare stuffs.
  3580. 2008-03-10 Carlos Alberto Cortez <[email protected]>
  3581. * FileDialog.cs: Don't add any ColumnHeader to Columns if view is not
  3582. Details - This is needed after we added the bits to use any available
  3583. column also for List and SmallIcon view.
  3584. 2008-03-09 Carlos Alberto Cortez <[email protected]>
  3585. * ListBox.cs: Fire SelectedIndexChanged and SelectedValueChanged events
  3586. at the proper place, not only when changing SelectedIndex and changing
  3587. the selection using keys/mouse, as .net does.
  3588. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  3589. * ControlBindingsCollection.cs: Implement last 2.0
  3590. DefaultDataSourceUpdateMode property. Also fix a wrong instruction
  3591. in the new 2.0 Add methods.
  3592. 2008-03-07 Carlos Alberto Cortez <[email protected]>
  3593. * ListBox.cs: When calling SelectedIndexCollection.Clear,
  3594. return if no items are previously selected - this is done to avoid
  3595. firing OnSelectedIndexChanged without need to do so. Also,
  3596. when creating handle ensure that the focused item is visible (as
  3597. .net does).
  3598. 2008-03-06 Carlos Alberto Cortez <[email protected]>
  3599. * ListBox.cs: Rewrote/refactored most of selection code. We require
  3600. the following things in selection: a) keep selection sorted (both
  3601. indices and items), b) SelectedIndices automatically detect the
  3602. selection mode, c) SelectedIndex should be the first selected item
  3603. index, d) Need to Focus/adjust scroll bar when selecting a new item,
  3604. not only for SelectedIndex, which is specially important in Multi*
  3605. selection modes. To achieve this we are moving the selection core to
  3606. SelectedIndexCollection and make depend all selection modifications on
  3607. it.
  3608. Fixes #366438.
  3609. 2008-03-06 Jonathan Pobst <[email protected]>
  3610. * ToolStrip.cs: Enable implicit mnemonics for drop down
  3611. menu strips. [Fixes part of bug #367692]
  3612. 2008-03-06 Jonathan Pobst <[email protected]>
  3613. corcompare - fix parameter names [stragglers].
  3614. Binding.cs, BindingsCollection.cs, GridColumnStylesCollection.cs,
  3615. HelpEventHandler.cs, Label.cs, ListView.cs, Message.cs,
  3616. TabControl.cs.
  3617. 2008-03-06 Jonathan Pobst <[email protected]>
  3618. Control.cs: Don't call ProcessMenuKey on WM_SYSKEYUP if there
  3619. was a mnemonic pressed as well as Alt. Also, if nothing handles a
  3620. mnemonic, let the ToolStripManager have it even if it doesn't
  3621. have a matching mnemonic.
  3622. [Fixes bug #367499]
  3623. 2008-03-06 Jonathan Pobst <[email protected]>
  3624. corcompare - fix warning about implicit implementation
  3625. * ToolStrip.cs: Add IToolStripData interface.
  3626. * IToolStripData.cs: Add.
  3627. 2008-03-06 Jonathan Pobst <[email protected]>
  3628. corcompare - fix warning about implicit implementation
  3629. * Control.cs, ToolStripPanelRow.cs: Add IBounds interface.
  3630. * IBounds.cs: Add.
  3631. 2008-03-05 Jonathan Pobst <[email protected]>
  3632. corcompare - fix parameter names [N-Z].
  3633. LinkArea.cs, NativeWindow.cs, NotifyIcon.cs, PageSetupDialog.cs,
  3634. Panel.cs, PrintDialog.cs, PrintPreviewControl.cs, PropertyGrid.cs,
  3635. PropertyManager.cs, RichTextBox.cs,
  3636. ScrollBar.cs, SelectionRange.cs, SplitContainer.cs, StatusBar.cs,
  3637. StatusBarDrawItemEventArgs.cs, StatusBarPanelClickEventArgs.cs,
  3638. StatusStrip.cs, TabControl.cs, TableLayoutColumnStyleCollection.cs,
  3639. TableLayoutRowStyleCollection.cs, TableLayoutStyleCollection.cs,
  3640. TextBoxBase.cs, ThreadExceptionDialog.cs, ToolStrip.cs,
  3641. ToolStripContentPanel.cs, ToolStripDropDown.cs,
  3642. ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  3643. ToolStripPanel.cs, ToolStripSeparator.cs,
  3644. TreeNode.cs, TreeView.cs, TreeViewHitTestInfo.cs,
  3645. UICuesEventHandler.cs, UpDownBase.cs.
  3646. 2008-03-05 Jonathan Pobst <[email protected]>
  3647. corcompare - fix parameter names [G-M].
  3648. GridColumnStylesCollection.cs, GridItemCollection.cs,
  3649. GridTableStylesCollection.cs, GroupBox.cs, Help.cs,
  3650. HelpProvider.cs, ImageListStreamer.cs, InputLanguageCollection.cs,
  3651. Label.cs, LayoutEngine.cs, LinkClickedEventArgs.cs,
  3652. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewGroupCollection.cs,
  3653. ListViewItem.cs, Menu.cs, MenuItem.cs, MenuStrip.cs, MouseEventArgs.cs.
  3654. 2008-03-05 Jonathan Pobst <[email protected]>
  3655. corcompare - fix parameter names [A-F].
  3656. Control.cs, DataGridBoolColumn.cs, DataGridColumnStyle.cs,
  3657. DataGridTextBoxColumn.cs, DataGridViewButtonCell.cs,
  3658. DataGridViewCellCollection.cs, DataGridViewCellParsingEventArgs.cs,
  3659. DataGridViewCheckBoxCell.cs, DataGridViewColumnDesignTimeVisibleAttribute.cs,
  3660. DataGridViewComboBoxCell.cs, DataGridViewHeaderCell.cs,
  3661. DataGridViewImageCell.cs, DataObject.cs, DomainUpDown.cs,
  3662. DrawItemEventArgs.cs, FolderBrowserDialog.cs, FontDialog.cs, Form.cs.
  3663. 2008-03-03 Ivan N. Zlatev <[email protected]>
  3664. * GridEntry.cs: Do not convert not only if the types match,
  3665. but also if the property type is assigneable from the value's
  3666. type.
  3667. [Fixes bug #366566]
  3668. 2008-03-03 Ivan N. Zlatev <[email protected]>
  3669. * PropertyGridView.cs:
  3670. - Subscribe to the listbox only once and not everytime.
  3671. - Update the textbox even if SetValue fails.
  3672. - Close the listbox before calling TrySetValue just in case.
  3673. [Fixes bug #366569]
  3674. 2008-03-03 Jonathan Pobst <[email protected]>
  3675. * Control.cs: Hide ICollection.CopyTo from the 1.1 profile.
  3676. 2008-03-02 Carlos Alberto Cortez <[email protected]>
  3677. * ListView.cs: Implement support for custom column width based on
  3678. Columns collection (we were previously using this collection only
  3679. with Details view).
  3680. Fixes #364484.
  3681. 2008-03-01 Carlos Alberto Cortez <[email protected]>
  3682. * ListViewItem.cs: For Tile view, always set bounds for the first
  3683. subitem (which is the main one), and also don't let Width be larger
  3684. than ListView.TileSize.Width. Improve code readibility also.
  3685. * ThemeWin32Classic.cs: When painting the ListViewItem instances
  3686. in Tile view, _always_ use the NoWrap flag.
  3687. Fixes #360798.
  3688. 2008-02-29 Ivan N. Zlatev <[email protected]>
  3689. * PropertyGrid.cs: Check for null PropertyDescriptor.Name just
  3690. in case.
  3691. * GridEntry.cs: For MS compitability make all child properties
  3692. readonly if the parent is readonly. Ugh.
  3693. [Fixes bug #365945 and #365944]
  3694. 2008-02-29 Andreia Gaita <[email protected]>
  3695. * HtmlHistory.cs: Fix sigs for Forward and Back to navigate by index
  3696. relative to the history
  3697. 2008-02-29 Andreia Gaita <[email protected]>
  3698. * HtmlElement.cs: More handlers for mouse and key events
  3699. 2008-02-28 Andreia Gaita <[email protected]>
  3700. * WebBrowserBase.cs: MouseClick sig changed.
  3701. * HtmlHistory.cs: Implement history navigation
  3702. * HtmlElement.cs: Add event handlers, and connect them.
  3703. 2008-02-28 Ivan N. Zlatev <[email protected]>
  3704. * GridEntry.cs:
  3705. - Use PropertyDescriptor.DisplayName instead of .Name for Label,
  3706. so that DisplayNameAttribute doesn't get ignored.
  3707. - Check for ParenthesizeNameAttribute and parenthesize the Label.
  3708. - Add support for PasswordPropertyTextAttribute
  3709. * PropertyGridView.cs: Check if an entry is a password.
  3710. [Fixes bugs #365589, #365586, #365588]
  3711. 2008-02-28 Andreia Gaita <[email protected]>
  3712. * PropertyGridView.cs: Revert the message filtering change, as we
  3713. need it to block after all. Remove block parameter, unnecessary.
  3714. 2008-02-27 Jonathan Pobst <[email protected]>
  3715. * UserControl.cs: Better implementation of GetPreferredSize.
  3716. First step to fixing bug #361441.
  3717. 2008-02-26 Carlos Alberto Cortez <[email protected]>
  3718. * Binding.cs: Actually implement data binding support for
  3719. classes implementing IBindableComponent.
  3720. * ControlBindingsCollection.cs: Likewise.
  3721. 2008-02-26 Andreia Gaita <[email protected]>
  3722. * PropertyGridView.cs: Use a message filter to check when to
  3723. close the dropdown
  3724. 2008-02-26 Andreia Gaita <[email protected]>
  3725. * Application.cs: Change the message_filters loop so a filter
  3726. can be removed while looping.
  3727. 2008-02-26 Ivan N. Zlatev <[email protected]>
  3728. * GridEntry.cs: Optimization in ToggleValue so that it caches
  3729. the current value.
  3730. * PropertyGridView.cs: An optimization so that the property isn't
  3731. re-read twice for each StandardValue added to the drop-down menu.
  3732. Patch by Andy Hume <[email protected]> under the MIT/X11
  3733. license.
  3734. [Fixes bug #362755]
  3735. 2008-02-26 Jonathan Pobst <[email protected]>
  3736. * Application.cs: Apply patch from Justin Cherniak to match
  3737. MS better for ProductName, ProductVersion, and CompanyName.
  3738. [Fixes bug #361709]
  3739. 2008-02-25 Carlos Alberto Cortez <[email protected]>
  3740. * Binding.cs: Actually implement 2.0 NullValue property. Also
  3741. when changing the formatting related properties, only update the state
  3742. if formatting_enabled is true (we don't mind otherwise).
  3743. 2008-02-25 Jonathan Pobst <[email protected]>
  3744. * ToolStrip.cs: Don't raise ItemClicked for disabled items.
  3745. [Fixes bug #364486]
  3746. 2008-02-25 Ivan N. Zlatev <[email protected]>
  3747. * GridEntry.cs: Use the PropertyDescriptor.PropertyType instead
  3748. of GetType on the current value as it uses reflection to
  3749. determine the type. This fixes the case where the new value is
  3750. null.
  3751. 2008-02-25 Ivan N. Zlatev <[email protected]>
  3752. * PropertyGridView.cs: Limit mousewheel scrolling to not scroll
  3753. past the view.
  3754. 2008-02-24 Luke Page <[email protected]>
  3755. * Line.cs, TextControl.cs: Implement offset x and y so that a
  3756. document doesn't have to begin at (0,0) on the viewpoint.
  3757. * TextBox.cs, TextBoxBase.cs: RightToLeft switches the scroll
  3758. bars and switches the text alignment (and therefore is now
  3759. implemented for textbox). Fixes #321383.
  3760. 2008-02-23 Carlos Alberto Cortez <[email protected]>
  3761. * Binding.cs: Actually implement 2.0 FormatString and FormatInfo
  3762. properties. Also when changing FormattingEnabled update the control
  3763. property -as .Net does-.
  3764. 2008-02-22 Carlos Alberto Cortez <calberto.cortez@ŋmail.com>
  3765. * ControlBindingsCollection.cs: Add the missing 2.0 Add overloads.
  3766. * Binding.cs: Add stubs for the overloads of the Add method in
  3767. CBCollection.
  3768. 2008-02-22 Carlos Alberto Cortez <[email protected]>
  3769. * Binding.cs: PullData () returns a false value if we got an exception.
  3770. Also when validating the control and we get an error, instead of
  3771. setting the value of the previous one, cancel the event (tested in 1.1
  3772. and 2.0).
  3773. 2008-02-22 Jonathan Pobst <[email protected]>
  3774. * TreeView.cs: Make selected_node and highlighted_node internal.
  3775. * TreeNodeCollection.cs: Reset selected_node and highlighted_node
  3776. to null when Nodes.Clear is called.
  3777. [Fixes bug #363884]
  3778. 2008-02-21 Jonathan Pobst <[email protected]>
  3779. * FontDialog.cs: Ensure that when the Font is set in code,
  3780. all the gui pieces are updated accordingly.
  3781. [Fixes bug #361020]
  3782. 2008-02-21 Jonathan Pobst <[email protected]>
  3783. * TextRenderer.cs: Respect proposed size for MeasureString.
  3784. * ThemeWin32Classics.cs: If our CheckBox/RadioButton isn't
  3785. autosize, use a proposed width to force wrapping for long text.
  3786. [Fixes bug #360981]
  3787. 2008-02-21 Jonathan Pobst <[email protected]>
  3788. * TreeView.cs: Factor in checkboxes = false and state images in
  3789. to HitTest. [Fixes bug #363360]
  3790. 2008-02-21 Jonathan Pobst <[email protected]>
  3791. * ThemeWin32Classic.cs: Only look at the Date part of a DateTime
  3792. when drawing the selected range.
  3793. [Fixes bug #363648]
  3794. 2008-02-21 Jonathan Pobst <[email protected]>
  3795. * ToolStripContainer.cs: Add SupportsTransparentBackColor and
  3796. ResizeRedraw control styles.
  3797. [Fixes bug #363555]
  3798. 2008-02-20 Jonathan Pobst <[email protected]>
  3799. * TreeView.cs: StateImages are basically custom checkboxes, so
  3800. factor their size the same as real checkboxes when determining
  3801. what got clicked.
  3802. [Fixes bug #363367]
  3803. 2008-02-20 Jonathan Pobst <[email protected]>
  3804. * MessageBox.cs: Make the message box wider if the form caption
  3805. is longer than the text in the form.
  3806. [Fixes bug #361137]
  3807. 2008-02-20 Ivan N. Zlatev <[email protected]>
  3808. * PropertyGridView.cs: Fix a NRE when closing the drop down form.
  3809. 2008-02-20 Jonathan Pobst <[email protected]>
  3810. * TreeNode.cs: Guard against an NRE when the parent's
  3811. StateImageList hasn't been set.
  3812. [Fixes bug #363353]
  3813. 2008-02-20 Jonathan Pobst <[email protected]>
  3814. * SplitContainer.cs: Add SupportsTransparentBackColor and
  3815. OptimizedDoubleBuffering control styles.
  3816. [Fixes bug #363303]
  3817. 2008-02-20 Jonathan Pobst <[email protected]>
  3818. * Application.cs: For the app data paths and the registry key paths,
  3819. ensure they are created before returning them to the user.
  3820. [Fixes bug #361709]
  3821. 2008-02-20 Jonathan Pobst <[email protected]>
  3822. * Application.cs: Guard against an NRE in CompanyName and
  3823. ProductName.
  3824. 2008-02-20 Jonathan Pobst <[email protected]>
  3825. * Application.cs: For CompanyName, ProductName, and ProductVersion,
  3826. make sure we handle all three cases correctly: attribute is present,
  3827. attribute is present but is an empty string, and attribute is not
  3828. present.
  3829. 2008-02-20 Ivan N. Zlatev <[email protected]>
  3830. * PropertyGridView.cs:
  3831. - Fix a NRE that caused a test failure
  3832. - Another performance improvement - cache the standard values
  3833. listbox.
  3834. 2008-02-19 Jonathan Pobst <[email protected]>
  3835. * ComboBox.cs: Fix previous change to affect both 1.1 and 2.0
  3836. code paths.
  3837. 2008-02-19 Ivan N. Zlatev <[email protected]>
  3838. * PropertyGridView.cs: Fix a big performance bug.
  3839. 2008-02-19 Jonathan Pobst <[email protected]>
  3840. * SelectionRange.cs: Apply patch from Andy Hume to make
  3841. constructor behavior more accurate. [Fixes bug #362117]
  3842. 2008-02-19 Andreia Gaita <[email protected]>
  3843. * Control.cs: Added a new flag is_disposing to track if the
  3844. window is currently in the process of being disposed of.
  3845. This is used so that, when firing visibility changes triggered
  3846. by unparenting controls during Dispose, the control doesn't
  3847. get created again.
  3848. 2008-02-19 Jonathan Pobst <[email protected]>
  3849. * ComboBox.cs: Set height to preferred height when the handle
  3850. is created. [Fixes bug #360862]
  3851. 2008-02-18 Andreia Gaita <[email protected]>
  3852. * XplatUIX11.cs: Create FosterParent with border width at 0.
  3853. With the previous value of 4, everytime a control got reparented
  3854. from parent = null, it's location would be shifted right and
  3855. down by 4, since these coordinates would be offset by the
  3856. FosterParent's border width.
  3857. 2008-02-18 Ivan N. Zlatev <[email protected]>
  3858. * Control.cs: During diposing firstly remove ourselfes from
  3859. the parent and *then* destroy our handle, because removing
  3860. ourselfes from the parent controls collection causes
  3861. VisibilityChange, etc events, which require a handle and end
  3862. up recreating the control.
  3863. 2008-02-17 Ivan N. Zlatev <[email protected]>
  3864. * GridEntry.cs: Set expanded state before notifying that the
  3865. expansion has taken place.
  3866. * PropertyGridView.cs:
  3867. - Set the propertygridtextbox text to the selected
  3868. StandardValue before proceeding to setting it.
  3869. - Scrolling bugfixes.
  3870. 2008-02-16 Ivan N. Zlatev <[email protected]>
  3871. * GridEntry.cs:
  3872. - Fix ValueText to not return null.
  3873. - Fix conversion error reporting to actually happen.
  3874. * PropertyGridView.cs: Set entry only if the text has changed.
  3875. [Fixes bug #362116]
  3876. 2008-02-16 Ivan N. Zlatev <[email protected]>
  3877. * GridEntry.cs:
  3878. - Fix handling of a null current value.
  3879. - Swallow editor exceptions.
  3880. [Fixes bug #362114]
  3881. 2008-02-16 Ivan N. Zlatev <[email protected]>
  3882. * PropertyGrid.cs: Clear current items first thing before
  3883. repopulating subitems.
  3884. * GridEntry.cs:
  3885. - Handle null StandardValuesCollection.
  3886. - Mark as not editable if there is no PropertyDescriptor and
  3887. if the Converter cannot convert from string.
  3888. [Part of fix for bugs #360666 and #358332]
  3889. 2008-02-15 Luke Page <[email protected]>
  3890. * MaskedTextBox.cs: Now skips non editable characters after a
  3891. character has been entered and we are progressing to the next
  3892. position in the MaskedTextBox.
  3893. 2008-02-15 Luke Page <[email protected]>
  3894. * TextBoxBase.cs: Handles MouseDown when shift key is clicked so
  3895. that it changes the selection rather than just repositioning the
  3896. cursor. Fixes Bug #360873.
  3897. 2008-02-15 Luke Page <[email protected]>
  3898. * TextBoxBase.cs, TextControl.cs, RichTextBox.cs: TextChanged fires
  3899. when Undo/Redo changes the text. Undo/Redo/Undo/Redo now works
  3900. correctly. See #359330
  3901. 2008-02-15 Andreia Gaita <[email protected]>
  3902. * XplatUIX11.cs: If the handle is null when posting a message, use the
  3903. current thread queue to post instead. Fixes #332409
  3904. * SendKeys.cs: Slight optimization
  3905. 2008-02-14 Ivan N. Zlatev <[email protected]>
  3906. * PropertyGrid.cs, PropertyGridView.cs:
  3907. Fix multiple scrolling and sizing issues.
  3908. [Fixes bug #359199]
  3909. 2008-02-12 Ivan N. Zlatev <[email protected]>
  3910. * PropertyGridView.cs: Ensure that drop down editors are shown
  3911. in the WorkingArea of the screen.
  3912. [Fixes bug #359807]
  3913. 2008-02-12 Ivan N. Zlatev <[email protected]>
  3914. * GridEntry.cs: Fail silently when UITypeEditor is missing.
  3915. [Fixes bug #360666]
  3916. 2008-02-11 Carlos Alberto Cortez <[email protected]>
  3917. * Binding.cs: Implement 2.0 DataSourceNullValue property.
  3918. 2008-02-11 Ivan N. Zlatev <[email protected]>
  3919. * PropertyGridView.cs:
  3920. - Clear the controls in the drop down form after it is hidden.
  3921. - Fix Width sizing of the dropdown editors to match MSFT.
  3922. 2008-02-11 Ivan N. Zlatev <[email protected]>
  3923. * PropertyGridView.cs:
  3924. - Fix height for drawing the grid entry
  3925. text value, so that it clips multiline text properly.
  3926. - Fix unfocusing to match MSFT.
  3927. 2008-02-11 Ivan N. Zlatev <[email protected]>
  3928. * PropertyGrid.cs: Do not populate subgriditems unless expandable.
  3929. Fixes a bug where on repopulation after value changed items become
  3930. expandable.
  3931. 2008-02-10 Carlos Alberto Cortez <[email protected]>
  3932. * Binding.cs: For the 2.0 profile, look for a
  3933. 'PropertyChanged' event in the target control, and add checks for
  3934. DataSourceUpdateMode property to change -or not- the data source
  3935. from validation/control property change.
  3936. 2008-02-10 Atsushi Enomoto <[email protected]>
  3937. * Binding.cs : build fix (operator == is not overriden in 1.x. Do
  3938. not compare struct with null in 2.0).
  3939. 2008-02-10 Luke Page <[email protected]>
  3940. * MaskedTextBox.cs: UseSystemPasswordChar updates PasswordChar, PasswordChar
  3941. updates the provider and if not using a provider, uses the internal document
  3942. class implementation of password char. Also when showing text, uses display string
  3943. from the provider, instead of the actual text.
  3944. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  3945. * Binding.cs: Ooooops, forgot to take into account the data_source
  3946. and binding_member_info null case (it was breaking the Binding tests).
  3947. 2008-02-09 Carlos Alberto Cortez <[email protected]>
  3948. * Binding.cs: Implement support for data source changes exposed by
  3949. 'PropertyNameChanged' events, and update the control property as
  3950. needed.
  3951. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  3952. * Binding.cs: Implement 2.0 WriteValue method.
  3953. 2008-02-08 Jonathan Pobst <[email protected]>
  3954. Commit patch from James Purcell for better AutoScale implementation:
  3955. * ScaleControl should call GetScaledBounds with the control's total size rather
  3956. than client size. GetScaledBounds should handle ignoring the borders in its
  3957. calculations. Cleaned up ScaleControl/GetScaledBounds overrides in controls
  3958. (for the most part they just call the base code now since that is fixed).
  3959. * Added ScaleChildrenInternal to allow controls to disable scaling of children
  3960. without having to override ScaleChildren (since none of .NET's controls do).
  3961. This is required for most controls in Mono that have scrollbars to prevent the
  3962. scrollbars from being moved/resized.
  3963. * Nested ContainerControls can have a different scale mode than their parent.
  3964. This is briefly mentioned in MSDN but is buggy in MS.NET (the runtime and
  3965. designer produce different results both of which look incorrect).
  3966. * Default AutoScaleMode for ContainerControl should be Inherit.
  3967. * Simplified workaround for ComboBox scaling issue.
  3968. * 1.0 style auto-scaling now uses its own methods instead of sharing 2.0's.
  3969. 1.0 style auto scaling should scale the whole control's size instead of
  3970. ignoring the borders (except for Form) and the rounding is done differently to
  3971. preserve control alignment.
  3972. * ApplyAutoScaling (used for 1.0 style) should use the rounded result of
  3973. GetAutoScaleSize.
  3974. * Cleaned up fix for "Bug 355703 - Setting AutoScale = true doesn't stick".
  3975. * CurrentAutoScaleDimensions should round the estimated character width instead
  3976. of truncating.
  3977. * ListBox's GetScaledBounds should always use the height it was set to instead
  3978. of the height that was passed in. This prevents rounding errors from
  3979. accumulating quickly with IntegralHeight.
  3980. [Bug #359098]
  3981. 2008-02-08 Andreia Gaita <[email protected]>
  3982. * Form.cs: Add a null check (darn it).
  3983. 2008-02-08 Jonathan Pobst <[email protected]>
  3984. * MdiClient.cs: Make sure the requesting form actually owns the
  3985. control menu items before removing them. Also, use
  3986. Suspend/ResumeLayout when adding or removing items so we only
  3987. layout once.
  3988. [Fixes bug #359887]
  3989. 2008-02-08 Jonathan Pobst <[email protected]>
  3990. * Control.cs: Guard against an NRE in ShowFocusCues.
  3991. [Fixes bug #359830]
  3992. 2008-02-08 Carlos Alberto Cortez <[email protected]>
  3993. * Binding.cs: Implement 2.0 ReadValue method and ControlUpdateMode
  3994. property, as well as stubbing DataSourceUpdateMode.
  3995. 2008-02-08 Andreia Gaita <[email protected]>
  3996. * Form.cs: When closing forms, get focus back to the active control of the
  3997. active form. [Fixes #341314, corner case]
  3998. 2008-02-07 Jonathan Pobst <[email protected]>
  3999. * MdiClient.cs: After we move the scrollbars, invalidate the NC
  4000. area, so any old scrollbar artifacts are cleaned up.
  4001. [Fixes bug #336305]
  4002. 2008-02-07 Jonathan Pobst <[email protected]>
  4003. * MdiWindowManager.cs: If we are maximized and using MainMenuStrip
  4004. for our menus, display that control box menu instead of the 1.1
  4005. menu one.
  4006. 2008-02-07 Jonathan Pobst <[email protected]>
  4007. * MdiControlStrip.cs: Add property to access the mdi form tied to
  4008. each toolstripitem.
  4009. * MdiClient.cs: Be smarter about removing and adding toolstripitems
  4010. to the implicitly merged menu. Every time we clicked the form, items
  4011. were getting removed and the re-added, causing the form to jump around
  4012. as the menu resized.
  4013. 2008-02-07 Jonathan Pobst <[email protected]>
  4014. * MdiClient.cs: Make sure the NormalBounds always gets set. It
  4015. was being reset by the implicit menu merge for menustrips.
  4016. [Fixes bug #336296]
  4017. 2008-02-07 Jonathan Pobst <[email protected]>
  4018. * Form.cs: Don't do the previous change when WindowState = Normal,
  4019. or it messes up where the window is placed. Fixes test failure.
  4020. 2008-02-07 Jonathan Pobst <[email protected]>
  4021. * Form.cs: When becoming visible, if we are an MDI child, call
  4022. SetWindowState with a dummy old_state so that changes will actually
  4023. be made.
  4024. [Fixes the 2nd part of bug #325473]
  4025. 2008-02-07 Andreia Gaita <[email protected]>
  4026. * Control.cs: Reset properties to their pre parent-change values in case
  4027. the new parent == null (in which case we're basically removing the control,
  4028. and don't want any events fired due to fake property changes)
  4029. [Fixes #355850]
  4030. 2008-02-06 Ivan N. Zlatev <[email protected]>
  4031. * PropertyGridView.cs:
  4032. - Refactor SetValue to allow setting the value
  4033. when a custom editor is used, but the entry is not editable.
  4034. - Remove the custom editor control on CloseDropDown.
  4035. [Fixes #359196]
  4036. 2008-02-06 Andreia Gaita <[email protected]>
  4037. * PrintControllerWithStatusDialog.cs: Set PrintFileName value through
  4038. reflection only on 1.1, this property is public on system.drawing on 2.0.
  4039. Fixed #359247
  4040. 2008-02-06 Andreia Gaita <[email protected]>
  4041. * WebBrowser.cs: Do a normal page refresh by default.
  4042. 2008-02-05 Andreia Gaita <[email protected]>
  4043. * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
  4044. the window so that the check on Control.UpdateZOrderOfChild passes on non-X
  4045. platforms. Fixes #359036
  4046. Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
  4047. platform-specific flags.
  4048. 2008-02-05 Carlos Alberto Cortez <[email protected]>
  4049. * Binding.cs: Add 2.0 BindableComponent property - just return control
  4050. by now.
  4051. 2008-02-05 Everaldo Canuto <[email protected]>
  4052. * MenuAPI.cs: Check if control is disposable when track popup menu. Thanks
  4053. Jonathan for this patch. Fixes #358442.
  4054. 2008-02-05 Jonathan Pobst <[email protected]>
  4055. * Form.cs: If we change the active MDI child form, let the others
  4056. know they need to repaint their title bar so it will appear inactive.
  4057. [Fixes part 1 of bug #325473]
  4058. 2008-02-05 Ivan N. Zlatev <[email protected]>
  4059. * PropertyGridView.cs: Do not trucate custom editors' width
  4060. and align them to the left.
  4061. [Fixes #358353 and #358349]
  4062. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  4063. * BindingsCollection.cs: Implement 2.0 CollectionChanging event.
  4064. Also fix the arguments passed to CollectionChangeEventArgs in the
  4065. related methods.
  4066. 2008-02-04 Geoff Norton <[email protected]>
  4067. * Hwnd.cs: The conversion to Quartz coordinates happens in
  4068. System.Drawing. Removing this translation from here.
  4069. 2008-02-04 Ivan N. Zlatev <[email protected]>
  4070. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs,
  4071. CategoryGridEntry.cs, RootGridEntry.cs, GridItem.cs,
  4072. GridItemCollection.cs:
  4073. PropertyGrid rewrite part 2. Tons of bugfixes and new features.
  4074. 2008-02-04 Geoff Norton <[email protected]>
  4075. * X11Keyboard.cs: VK_MENU should send a KEYUP instead of
  4076. SYSKEYUP if any other key has been pressed in the mean time.
  4077. Fixes #324404
  4078. 2008-02-04 Carlos Alberto Cortez <[email protected]>
  4079. * ListView.cs: In ItemControl.ItemsMouseMove, only fire ItemDrag event
  4080. when the item in current position is different than 0. Also, save the
  4081. item index in the beginning of the operation, instead of getting the
  4082. index of the item when the event is actually performed. Lastly clean
  4083. the related fields in ItemsMouseUp if the ItemDrag operation wasn't
  4084. triggered.
  4085. [Fixes #357873]
  4086. 2008-02-03 Jonathan Pobst <[email protected]>
  4087. * Form.cs: Alt-Minus for MDI children system menu should work
  4088. with both the minus keys on the keyboard.
  4089. [Fixes bug #336295]
  4090. 2008-02-03 Jonathan Pobst <[email protected]>
  4091. * Control.cs: Don't invalidate on region change. The WM should
  4092. take care of this automagically. Keeps us out of an infinite
  4093. paint loop if someone changes the Region in the OnPaint.
  4094. [Fixes bug #358327]
  4095. 2008-02-04 Ivan N. Zlatev <[email protected]>
  4096. * ImageIndexConverter.cs: ConvertFrom must handle "(none)".
  4097. 2008-02-03 Jonathan Pobst <[email protected]>
  4098. * DateTimePicker.cs: Apply patch from Srikanth Madikeri so we drop
  4099. down the MonthCalendar only on F4, not Alt+F4.
  4100. * MonthCalendar.cs: If we are a popup, close ourselves on Alt+F4.
  4101. [Fixes bug #358340]
  4102. 2008-02-03 Jonathan Pobst <[email protected]>
  4103. * ThemeWin32Classic.cs: For MonthCalendar, draw a dark border
  4104. if its part of a DateTimePicker, else, use the back color.
  4105. [Fixes bug #358339]
  4106. 2008-02-03 Jonathan Pobst <[email protected]>
  4107. * Hwnd.cs: Use GraphicContext instead of the uninitialized bmp_g.
  4108. [Fixes bug #358342]
  4109. 2008-02-03 Carlos Alberto Cortez <[email protected]>
  4110. * CurrencyManager.cs: When we get a ListChanged event from our source,
  4111. always fire our own ListChanged event, as .Net does.
  4112. 2008-02-03 Luke Page <[email protected]>
  4113. * RichTextBox.cs: AutoSize now defaults to false. Fixes Bug
  4114. #358379.
  4115. 2008-02-03 Luke Page <[email protected]>
  4116. * TextBoxBase.cs, RichTextBox.cs, TextControl.cs: Sets richtext
  4117. property. Removed if for richtext property that was always true.
  4118. PgUp/PgDn at top/bottom fixed for RTB. Fixes bug #358237.
  4119. 2008-02-03 Luke Page <[email protected]>
  4120. * TextBoxBase.cs - commited patch from James Purcell that
  4121. correctly sets the FixedHeight control style when the MultiLine
  4122. property is changed on a TextBox control. Fixes bug 358229.
  4123. 2008-02-02 Luke Page <[email protected]>
  4124. * Line.cs, LineTag.cs, RichTextBox.cs, TextControl.cs
  4125. Fixes bug 351938 - caret is positioned correctly when drawn
  4126. and when calculating textual position of caret, no longer
  4127. has a NRE in certain situations.
  4128. 2008-02-01 Geoff Norton <[email protected]>
  4129. * Hwnd.cs: Ensure that windows moved into -'ve coordinate space
  4130. get that region removed from the paint event.
  4131. * XplatUICarbon.cs: Remove the window mapping after disposing of
  4132. window. Prevents a crash with handle reuse. Optimize exposes
  4133. only onto visible windows (rare; but possible).
  4134. 2008-02-01 Jonathan Pobst <[email protected]>
  4135. * UpDownBase.cs: Make sure the internal textbox calls the base's
  4136. OnMouseDown and OnMouseUp so the textbox will function correctly.
  4137. There were notes saying it doesn't chain up, but its an internal
  4138. class, so our implementation may differ.
  4139. [Fixes bug #357482]
  4140. 2008-02-01 Jonathan Pobst <[email protected]>
  4141. * ListBox.cs: Fix a logic error and don't process MouseDown
  4142. for mouse buttons other than Left.
  4143. 2008-02-01 Jonathan Pobst <[email protected]>
  4144. * Control.cs: Remove HeightInternal.
  4145. * ListBox.cs: Commit patch from James Purcell that correctly
  4146. calculates heights for ListBoxen.
  4147. [Fixes bug #357152]
  4148. 2008-02-01 Jonathan Pobst <[email protected]>
  4149. * Label.cs: Apply patch from James Purcell that corrects the
  4150. signature of the AutoSize property.
  4151. [Fixes bug #357605]
  4152. 2008-02-01 Jonathan Pobst <[email protected]>
  4153. * ListBox.cs: Don't throw [Mouse]Click events for buttons
  4154. other than the left mouse button.
  4155. 2008-01-31 Jonathan Pobst <[email protected]>
  4156. * Control.cs: Remove my awesome optimization as it caused some
  4157. regressions with control ordering. :(
  4158. [Fixes bug #357467]
  4159. 2008-01-31 Ivan N. Zlatev <[email protected]>
  4160. * PropertyGridView.cs: Fix a NRE on double click when there is no
  4161. selected object.
  4162. 2008-01-30 Carlos Alberto Cortez <[email protected]>
  4163. * BindingManagerBase.cs: Implement IsBindingSuspended 2.0 property.
  4164. 2008-01-30 Jonathan Pobst <[email protected]>
  4165. * ListBox.cs: Call MouseClick and MouseDoubleClick.
  4166. [Fixes bug #357146]
  4167. 2008-01-29 Jonathan Pobst <[email protected]>
  4168. * Hwnd.cs: Make bmp, bmp_g variables threadstatic and private.
  4169. * Control.cs, DataGridViewCell.cs, LineTag.cs: Use Hwnd.GraphicsContext
  4170. instead of Hwnd.bmp_g.
  4171. 2008-01-29 Jonathan Pobst <[email protected]>
  4172. * TextRenderer.cs: Don't maintain private bitmap/graphics contexts.
  4173. Use the Hwnd one instead.
  4174. 2008-01-29 Jonathan Pobst <[email protected]>
  4175. * Form.cs: Remove duplicated copy of GetAutoScaleSize.
  4176. 2008-01-29 Jonathan Pobst <[email protected]>
  4177. * Form.cs: corcompare for RestoreBounds.
  4178. 2008-01-29 Jonathan Pobst <[email protected]>
  4179. * Control.cs: Add MarshalAs attribute to Font getter for corcompare.
  4180. 2008-01-29 Jonathan Pobst <[email protected]>
  4181. * Form.cs: Handle Alt-Minus for MDI children forms.
  4182. * MdiWindowManager.cs: Make ShowPopup internal so Form can call it.
  4183. Add mnemonics to the control menu.
  4184. [Fixes bug #336295]
  4185. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  4186. * Binding.cs: Initial implementation bits of FormattingEnabled
  4187. property and BindingComplete event (2.0).
  4188. * BindingCompleteEventArgs.cs: Internal methods for setting error text
  4189. and exception.
  4190. 2008-01-28 Jonathan Pobst <[email protected]>
  4191. * TableLayoutPanel.cs: Draw the table border at 0,0 instead of
  4192. table.Location. [Fixes bug #354672]
  4193. 2008-01-28 Jonathan Pobst <[email protected]>
  4194. * Form.cs: Handle WM_ENTERSIZEMOVE and WM_EXITSIZEMOVE to raise
  4195. ResizeBegin and ResizeEnd. [Fixes bug #346529 for win32]
  4196. 2008-01-28 Carlos Alberto Cortez <[email protected]>
  4197. * ComboBox.cs: When OnDisplayMemberChanged method is reached, instead
  4198. of doing all the re-bound work, just invalidate and call SetControlText
  4199. to set the updated text of selected item to our textbox.
  4200. Fixes #333750.
  4201. 2008-01-28 Andreia Gaita <[email protected]>
  4202. * HtmlWindow.cs: Add event handler support. Add Document, Frames,
  4203. IsClosed, Opener, StatusBarText, Url properties, stub out the remaining
  4204. missing properties and methods. Add Load, Unload, Error, GotFocus,
  4205. LostFocus, Resize, Scroll events (only load and unload are connected)
  4206. 2008-01-27 Gert Driesen <[email protected]>
  4207. * AccessibleObject.cs: Modified argument names to match MS.
  4208. * Button.cs: Modified argument names to match MS.
  4209. * BindingContext.cs: Modified argument names to match MS.
  4210. * BindingMemberInfo.cs: Modified argument names to match MS.
  4211. * ButtonBase.cs: Modified argument names to match MS.
  4212. * ComboBox.cs: Modified argument names to match MS.
  4213. * Control.cs: Modified argument names to match MS.
  4214. * CheckedListBox.cs: Modified argument names to match MS.
  4215. * CommonDialog.cs: Modified argument names to match MS.
  4216. * DataGrid.cs: Modified argument names to match MS.
  4217. * CursorConverter.cs: Modified argument names to match MS.
  4218. * ControlPaint.cs: Modified argument names to match MS.
  4219. * CheckBox.cs: Modified argument names to match MS.
  4220. * ControlBindingsCollection.cs: Modified argument names to match MS.
  4221. * BindingSource.cs: Modified argument names to match MS.
  4222. * DataFormats.cs: Modified argument names to match MS.
  4223. * ContainerControl.cs: Modified argument names to match MS.
  4224. * CurrencyManager.cs: Modified argument names to match MS.
  4225. * Application.cs: Modified argument names to match MS.
  4226. * ContextMenuStrip.cs: Modified argument names to match MS.
  4227. * ContextMenu.cs: Modified argument names to match MS.
  4228. * BindingManagerBase.cs: Modified argument names to match MS.
  4229. * WindowsFormsSection.cs: Fixed line ending.
  4230. 2008-01-27 Andreia Gaita <[email protected]>
  4231. * PropertyGridView.cs: Rearrange the dropdown loop so that it exits when
  4232. detecting that the dropdown toolwindow is hidden. EndLoop outside the
  4233. while.
  4234. 2008-01-26 Gert Driesen <[email protected]>
  4235. * PropertiesTab.cs: Fixed argument name of GetDefaultProperty to match
  4236. MS. Code formatting.
  4237. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  4238. * Binding.cs: Don't avoid the Format event if the control
  4239. property type is object. Also, if the value retrieved by
  4240. the data source is null _and_ the control proeprty type
  4241. is object, return Convert.DBNull (match .Net).
  4242. Fixes part of #324286.
  4243. 2008-01-26 Carlos Alberto Cortez <[email protected]>
  4244. * ListControl.cs: Since we are getting two BinginContextChanged events
  4245. for the same binding context instance (when the control is added to
  4246. form, and when the form is actually shown), take it into account only the
  4247. first time for a given binding context instance.
  4248. Fixes part of #324286.
  4249. 2008-01-26 Ivan N. Zlatev <[email protected]>
  4250. * PropertryGridView.cs: Ops.
  4251. 2008-01-26 Ivan N. Zlatev <[email protected]>
  4252. * PropertyGridView.cs: Close dropdown form if the owner form is
  4253. moved or minimized.
  4254. [Fixes bug #322446]
  4255. 2008-01-25 Ivan N. Zlatev <[email protected]>
  4256. * PropertyGrid.cs, PropertyGridView.cs, GridEntry.cs, GridItem.cs,
  4257. RootGridEntry.cs, CategoryGridEntry.cs:
  4258. PropertyGrid rewrite.
  4259. - Rewrite all of the control logic in PropertyGrid.
  4260. - Rewrite all of the ComponentModel logic in GridEntry.
  4261. - Rewrite all UI work in PropertyGridView.
  4262. - Many bugfixes, etc.
  4263. 2008-01-24 Jonathan Pobst <[email protected]>
  4264. * TableLayoutPanel.cs: Enhance GetPreferredSize to take into account
  4265. when all contained controls are autosize or dock-fill. Also take into
  4266. account when the total percentage of column/row sizes is not 100%.
  4267. [Fixes bug #354672]
  4268. 2008-01-24 Andreia Gaita <[email protected]>
  4269. * HtmlDocument.cs:
  4270. - Save a reference to the IDocument in the instance and
  4271. use that one instead of going to WebHost.Document; the document that the
  4272. WebHost returns might not be the right one (in case of frames).
  4273. - Use the hashcode returned from the IDocument interface.
  4274. - Implemented: ActiveElement, ActiveLinkColor, All, BackColor, Cookie,
  4275. Domain (setter is not supported), Encoding, ForeColor, Forms, Images,
  4276. LinkColor, Url, VisitedColor, Window
  4277. * HtmlElement.cs:
  4278. - Implemented: CanHaveChildren, Children, Document, GetAttribute,
  4279. set_Attribute, NextSibling, Parent, TagName, AppendChild,
  4280. GetElementsByTagName, GetHashCode, HasAttribute, InsertAdjacentElement,
  4281. SetAttribute, Equals, equality operators.
  4282. - Added stubs for: AttachEventHandler, DetachEventHandler, Focus,
  4283. InvokeMember, RaiseEvent, RemoveFocus, ScrollIntoView,
  4284. * HtmlElementCollection.cs: Change implementation to use a generic
  4285. collection. Implemented Enumerator and CopyTo
  4286. * HtmlHistory.cs: Add constructor, no implementation yet.
  4287. * HtmlWindow.cs: Initial implementation with: Name, Parent, Alert,
  4288. Confirm, Prompt, Navigation, ScrollTo, Open, OpenNew, GetHashCode,
  4289. Equals, equality operators.
  4290. * HtmlWindowCollection.cs: Implemented.
  4291. * WebBrowser.cs: Use the Navigation object to navigate (WebHost.Navigate
  4292. has been deprecated).
  4293. * WebBrowserBase.cs: Use Completed event to track document loading
  4294. (Navigated has been deprecated)
  4295. 2008-01-24 Jonatham Pobst <[email protected]>
  4296. * ThemeWin32Classic.cs: Add tab stops and NoWrap to dropdown MenuItems. Top
  4297. level MenuItems do not respect tabs.
  4298. [Fixes bug #355196]
  4299. 2008-01-23 Geoff Norton <[email protected]>
  4300. * XplatUICarbon.cs: Ensure that windows are created in their initial
  4301. FormWindowState. Finished fixing Fullscreen windows on Carbon
  4302. 2008-01-23 Everaldo Canuto <[email protected]>
  4303. * MenuAPI.cs: When FindForm fails uses FindRootParent to find the control to
  4304. be used as grab_control. Also save status of capture before show ContextMenu
  4305. and restore it after close.
  4306. 2008-01-23 Everaldo Canuto <[email protected]>
  4307. * Control.cs: Internal FindRootParent method added to return high control
  4308. in parent tree.
  4309. 2008-01-23 Geoff Norton <[email protected]>
  4310. * Hwnd.cs: Refactor Whole/Client pointer to 1 element for Cursors.
  4311. * XplatUICarbon.cs: Refactor some dead code out to Cursor.cs and make
  4312. it work again. Handle HITTEST events.
  4313. 2008-01-23 Geoff Norton <[email protected]>
  4314. * XplatUICarbon.cs: Ensure that we always have a host window. Prevents
  4315. a crash in certain cases. Support for fullscreen windows in certain cases.
  4316. 2008-01-23 Jonathan Pobst <[email protected]>
  4317. * Form.cs: Don't set AutoScaleMode in AutoScale if we don't have to.
  4318. [Fixes bug #355703]
  4319. 2008-01-23 Geoff Norton <[email protected]>
  4320. * XplatUICarbon.cs: Remove some dead code that was causing warnings.
  4321. 2008-01-23 Geoff Norton <[email protected]>
  4322. * XplatUICarbon.cs: Re-enabled Carets in QuickDraw as a overlay window.
  4323. 2008-01-23 Everaldo Canuto <[email protected]>
  4324. * SplitContainer.cs: Remove unused declarations.
  4325. * Binding.cs: Remove unused declarations.
  4326. 2008-01-23 Everaldo Canuto <[email protected]>
  4327. * Form.cs: Remove unused declaration of 'active' in Activate method.
  4328. * Control.cs: Move declaration of nested_layout inside '#if NET_2_0" to
  4329. prevent compilation warnings.
  4330. * TextControl.cs: Remove unused declaration of selection_pos_on_line.
  4331. * Hwnd.cs: Remove unused declaration of clip in GetClippingRectangles.
  4332. * Bindings.cs: Remove unused formatting_enabled declaration.
  4333. * ToolTip.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  4334. warnings.
  4335. * TreeView.cs: Put some methods inside '#if NET_2_0" to prevent compilation
  4336. warnings.
  4337. * PropertyGridView.cs: Remove usused 'ex' declaration.
  4338. * DataGridView.cs: Remove unused declarations.
  4339. 2008-01-23 Everaldo Canuto <[email protected]>
  4340. [Fixes bugs #343966, #338511 and other non reported (context)menu bugs]
  4341. * Form.cs: Remove all active_tracker (used by menu) stuff, it is now moved
  4342. to Control class, it makes possible to grab menu to controls that can't
  4343. reach Form using parent tree. Handle for WmButtonUp, WmButtonDown and
  4344. WmMouseMove removed since it was used only to track menu events.
  4345. * Control.cs:
  4346. - Moved all active_tracker stuff from Form.
  4347. - ProcessActiveTracker added to prevent code duplicity, now mouse events
  4348. can call this method instead of reimplement all necessary code handle for
  4349. menu tracker.
  4350. - Call to ProcessActiveTracker for mouse events (WmButtonUp, WmButtonDown
  4351. and WmMouseMove).
  4352. * MenuAPI.cs:
  4353. - Remove special handle to ToolStripOverflow, now we can grab menu to
  4354. controls that can't reach Form using parent tree.
  4355. - Change type of grab_control from Form to Control.
  4356. 2008-01-22 Geoff Norton <[email protected]>
  4357. * TextBoxBase.cs: Split up the sizing of controls and placing of
  4358. controls. Fixes a bug where scrollbars in Reflector could be sized
  4359. wrong and have non-working thumbers.
  4360. 2008-01-23 Geoff Norton <[email protected]>
  4361. * XplatUI.cs: Refactor environment variables to default support to the
  4362. Carbon driver on the Mac.
  4363. 2008-01-23 Everaldo Canuto <[email protected]>
  4364. * Label.cs: Uses new LabelPainter for drawing operations.
  4365. * ThemeWin32Classic.cs: DrawLabel and LabelDefaultSize removed.
  4366. * Theme.cs: DrawLabel and LabelDefaultSize removed.
  4367. 2008-01-22 Geoff Norton <[email protected]>
  4368. * XplatUICarbon.cs: Enable packing scroll delta into the mouse wParam
  4369. 2008-01-22 Jonathan Pobst <[email protected]>
  4370. * ThemeWin32Classic.cs: Run Flat, Button appearance, 2.0 CheckBoxes
  4371. through the normal flat button code and don't draw the checkbox glyph.
  4372. * Theme.cs: Button->ButtonBase signature change.
  4373. [Fixes bug #324755]
  4374. 2008-01-22 Everaldo Canuto <[email protected]>
  4375. * LinkLabel.cs: Uses new class LinkLabelPainter.
  4376. 2008-01-22 Everaldo Canuto <[email protected]>
  4377. * MessageBox.cs: Adjust right border space, we don't need to add
  4378. "space_border*2" two times.
  4379. 2008-01-22 Jonathan Pobst <[email protected]>
  4380. * ScrollableControl.cs: With the advent of 2.0's Padding, DockPadding
  4381. becomes a wrapper around Padding.
  4382. [Fixes a part of bug #354676]
  4383. 2008-01-22 Geoff Norton <[email protected]>
  4384. * Mime.cs: Avoid a needles exception on OSX if we dont have a buffer
  4385. acquired. Also ensure the buffer is large enough to grab the header
  4386. we need on linux boxes.
  4387. 2008-01-22 Jonathan Pobst <[email protected]>
  4388. * Control.cs: Implement a custom enumerator so people can delete
  4389. from the Controls collection while in a foreach.
  4390. [Fixes bug #355074]
  4391. 2008-01-22 Ivan N. Zlatev <[email protected]>
  4392. * PropertyGridView.cs: Fix focusing behavior:
  4393. - Tab should focus the grid text box.
  4394. - Clicking on the labels shouldn't focus the grid text box.
  4395. 2008-01-22 Ivan N. Zlatev <[email protected]>
  4396. * PropertyGridView.cs: IsValueTypeGridItem should return true
  4397. for Arrays as well.
  4398. 2008-01-22 Ivan N. Zlatev <[email protected]>
  4399. * PropertyGrid.cs, GridEntry.cs, PropertyGridView.cs:
  4400. - Renamed GridEntry.SelectedObjects to TargetObjects to better
  4401. reflect the property name role.
  4402. - PropertyGrid.GetTarget is not required as the target is known
  4403. (TargetObjects).
  4404. - Setting values will handle value types as a special case now and
  4405. populate them up in the chain.
  4406. [Fixes #354990]
  4407. 2008-01-21 Jonathan Pobst <[email protected]>
  4408. * Hwnd.cs: Create a public property for the Graphics we keep around.
  4409. 2008-01-21 Ivan N. Zlatev <[email protected]>
  4410. * PropertyGridView.cs: Just hide the grid textbox and do nothing more
  4411. when the current object selection changes.
  4412. Fixes failing test SelectedObject_Null2.B5.
  4413. 2008-01-21 Ivan N. Zlatev <[email protected]>
  4414. * PropertyGrid.cs: Process Browsable properties with
  4415. DesignerSerializationVisibilityAttribute.Content as being expandable.
  4416. This seems also what MS does. Without this e.g SplitContainer.Panel1/2
  4417. will not be expandable. We should be nested components-friendly now.
  4418. 2008-01-21 Andreia Gaita <[email protected]>
  4419. * WebBrowserBase.cs: Check if control was loaded properly,
  4420. don't bind if it wasn't.
  4421. * HtmlDocument.cs: Implement CreateElement, Equals, Focus,
  4422. GetElementFromPoint, equality operators, OpenNew, Write.
  4423. Remove extra set_Body
  4424. 2008-01-18 Jonathan Pobst <[email protected]>
  4425. * ContainerControl.cs, Control.cs: Apply patch from James Purcell
  4426. that makes our AutoScale* stuff more tolerant to different orders
  4427. of being set. [Fixes bug #354669]
  4428. 2008-01-18 Ivan N. Zlatev <[email protected]>
  4429. * PropertyGridView.cs, PropertyGridTextBox.cs:
  4430. Drop WM_LBUTTONDOWN msg sending and use focusing instead.
  4431. [Fixes #339005 and #348209]
  4432. 2008-01-18 Ivan N. Zlatev <[email protected]>
  4433. * PropertyGridView.cs: Hide the grid text box before adjusting it
  4434. for the newly selected GridItem.
  4435. [Fixes #338999]
  4436. 2008-01-18 Jonathan Pobst <[email protected]>
  4437. * Form.cs: Give MDI children the opportunity to cancel the parent form
  4438. attempting to close. Ensure that all [Form]Clos[ing,ed] events get called
  4439. properly for both the parent and child.
  4440. * Application.cs: Signature of internal method changed, pass the previous
  4441. default of false.
  4442. [Fixes bug #354286]
  4443. 2008-01-17 Ivan N. Zlatev <[email protected]>
  4444. * PropertyGridView.cs: Set the property value only if it has changed.
  4445. [Fixes bug #338997]
  4446. 2008-01-17 Jonathan Pobst <[email protected]>
  4447. * MenuAPI.cs: Windows sends us MOUSEMOVE messages when any key is pressed.
  4448. If the mouse hasn't actually moved, ignore these messages so the currently
  4449. highlighted menuitem isn't reset to the one under the mouse.
  4450. [Fixes bug #333668]
  4451. 2008-01-17 Ivan N. Zlatev <[email protected]>
  4452. * PropertyGridView.cs: When the property changes Invalidate the GridItem
  4453. in order for the properties with UITypeEditor.GetPaintValueSupported == true
  4454. to reflect the change visually.
  4455. [Fixes bug #338998]
  4456. 2008-01-17 Jonathan Pobst <[email protected]>
  4457. * ButtonBase.cs: Add LineLimit to 1.1 button drawing, and TextBoxControl
  4458. to 2.0 button drawing.
  4459. * ThemeWin32Classic.cs: Ensure that the rectangle we are using to draw
  4460. the button text is tall enough for one line. LineLimit says it will
  4461. always draw at least one line, but it is a lie.
  4462. [Fixes bug #324941]
  4463. 2008-01-17 Atsushi Enomoto <[email protected]>
  4464. * XplatUIStructs.cs, X11Keyboard.cs :
  4465. added some more VK_* keys to be handled.
  4466. 2008-01-16 Andreia Gaita <[email protected]>
  4467. * Control.cs: Check if there is a container before setting or getting
  4468. the validation flag.
  4469. 2008-01-16 Andreia Gaita <[email protected]>
  4470. * ContainerControl.cs: Add flag to track if a control cancels validation,
  4471. so we don't fire click events.
  4472. * Control.cs:
  4473. - (HandleClick) Check if validation was cancelled before firing the click
  4474. events (doubleclicks are fired, but not clicks)
  4475. - (WmLButtonDown) Reset validation flag. The flag is normally reset on
  4476. ContainerControl.set_ActiveControl, but in the case of non-selectable
  4477. controls, like a Label, activecontrol is not set.
  4478. * ButtonBase.cs: Only fire clicks if validation passes.
  4479. Fixes #353310
  4480. 2008-01-16 Geoff Norton <[email protected]>
  4481. * XplatUICarbon.cs: Implement GetAutoScaleSize to fix Reflector on
  4482. trunk
  4483. 2008-01-16 Jonathan Pobst <[email protected]>
  4484. * FolderBrowserDialog.cs: If we cannot interpret the user's requested
  4485. SelectedPath, just display the default dialog instead of crashing.
  4486. [Fixes bug #348989]
  4487. 2008-01-16 Geoff Norton <[email protected]>
  4488. * XplatUICarbon.cs: Flicker be gone! Generate our messages in
  4489. AddExpose instead of trusting apples compositing manager which doesn't
  4490. work for our use case. Remove some dead code causing warnings and
  4491. redecorate some other code to prevent warnings.
  4492. 2008-01-16 Geoff Norton <[email protected]>
  4493. * XplatUICarbon.cs: Avoid some unecessary invalidation calls when
  4494. carbon signals us to redraw. Fixes another portion of the flickering bug
  4495. 2008-01-16 Everaldo Canuto <[email protected]>
  4496. * Form.cs: Prevent the MdiParent property to be set when value is the same
  4497. as value already set. Fixes bug #328019.
  4498. 2008-01-16 Everaldo Canuto <[email protected]>
  4499. * Form.cs: Don't set mdi_parent as null when mdi window close is prevented,
  4500. it prevents NRE when closing mdi child windows. Fixes bug #325211.
  4501. 2008-01-16 Everaldo Canuto <[email protected]>
  4502. * InternalWindowManager.cs: Invalidade close button after mouse up when
  4503. mdi form is prevented to close.
  4504. 2008-01-16 Everaldo Canuto <[email protected]>
  4505. * MdiClient.cs: Fix the minimum bounds on child window sizes when cascade,
  4506. thanks to Andy Hume. Fixes bug #325433.
  4507. 2008-01-16 Andreia Gaita <[email protected]>
  4508. * LinkLabel.cs: Reset focused_index when resellecting the control.
  4509. Fixes #323190
  4510. 2008-01-15 Geoff Norton <[email protected]>
  4511. * XplatUICarbon.cs: Rework Grab/Ungrab handling to send some needed
  4512. messages.
  4513. 2008-01-15 Jonathan Pobst <[email protected]>
  4514. * Form.cs: Change 2 more AutoScaleBaseSize calculation to round instead
  4515. of truncate.
  4516. 2008-01-15 Jonathan Pobst <[email protected]>
  4517. * ContainerControl.cs: Setting AutoScaleMode to anything should set
  4518. Form.AutoScale to false.
  4519. * Form.cs: Setting AutoScale to true should set AutoScaleMode to None.
  4520. AutoScaleBaseSize should be changed on Font change unless it has been
  4521. explicitly set.
  4522. [Fixes bug #353827]
  4523. 2008-01-15 Everaldo Canuto <[email protected]>
  4524. * MenuAPI.cs: On instance of MenuTracker check if source control is
  4525. ToolStripOverflow and use properly method to find form.
  4526. [Fixes bug #338511]
  4527. 2008-01-15 Everaldo Canuto <[email protected]>
  4528. [Fixes bug #323241 Transparent toolbar support]
  4529. * ToolBar.cs: Define ToolBarStyles.TBSTYLE_FLAT in CreateParams when toolbar
  4530. is flat.
  4531. * Control.cs: Paint background as transparent in case of TBSTYLE_FLAT is
  4532. defined in control style to mimic win32 behavior.
  4533. * ThemeWin32Classic.cs: Don't paint background for flat apparence toolbar,
  4534. it will be transparent.
  4535. 2008-01-14 Everaldo Canuto <[email protected]>
  4536. * XplatUIStructs.cs: Implement ToolBarStyles to use in Style property of
  4537. CreateParams for ToolBar controls.
  4538. 2008-01-14 Jonathan Pobst <[email protected]>
  4539. * Form.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs: Forms with
  4540. FixedToolWindow, SizeableToolWindow, or None for border styles have
  4541. different minimum sizes than regular forms. Implemented to fix
  4542. regression in PDN with toolbox being too wide.
  4543. 2008-01-14 Andreia Gaita <[email protected]>
  4544. * HtmlElementCollection.cs: Implemented
  4545. * HtmlElement.cs: Implemented:
  4546. - All
  4547. - InnerHtml
  4548. - InnerText
  4549. - Id
  4550. - Name
  4551. - FirstChild
  4552. * HtmlDocument.cs: Implemented GetElementsByTagName.
  4553. 2008-01-14 Jonathan Pobst <[email protected]>
  4554. * Screen.cs: Stub BitsPerPixel to always return 32.
  4555. 2008-01-14 Jonathan Pobst <[email protected]>
  4556. * Form.cs: Implement RestoreBounds.
  4557. 2008-01-14 Jonathan Pobst <[email protected]>
  4558. * RichTextBox.cs, ToolStrip.cs: Fix some typos pointed out by
  4559. Sebastien and his fabulous magical problem-finding machine:
  4560. Gendarme. Also put a MonoTodo on AutoWordSelect since we don't
  4561. respect the value set.
  4562. 2008-01-14 Everaldo Canuto <[email protected]>
  4563. * Form.cs: In WmWindowPosChanged call base.WndProc including when state is
  4564. minimized. Fixes bug #325122 for Win32. Thanks Srikanth Madikeri.
  4565. 2008-01-12 Carlos Alberto Cortez <[email protected]>
  4566. * X11Dnd.cs: Since we don't propagate the WM_LBUTTONUP/WM_RBUTTONUP
  4567. messages (to match .Net), we need to remove the capture ourselves.
  4568. 2008-01-11 Jonathan Pobst <[email protected]>
  4569. * MenuAPI.cs: If we get an Alt-F4, release our capture so Windows
  4570. will process the message and close our window.
  4571. [Fixes bug #324328]
  4572. 2008-01-10 Geoff Norton <[email protected]>
  4573. * XplatUICarbon.cs: Clip the Graphics context to the invalid area
  4574. tracked in the Hwnd. Only invalidate the dirty region to the Carbon
  4575. window manager.
  4576. 2008-01-10 Jonathan Pobst <[email protected]>
  4577. * Form.cs: Enforce the Form minimum size in SetBoundsCore. Fixed
  4578. failing test.
  4579. 2008-01-10 Jonathan Pobst <[email protected]>
  4580. * XplatUIX11.cs: Set a minimum window size and enforce it. Even though
  4581. Linux doesn't care, having a minimum matches MS and keeps the window
  4582. from becoming too small to use window decorations.
  4583. [Fixes bug #338996]
  4584. 2008-01-10 Jonathan Pobst <[email protected]>
  4585. * ThemeWin32Classic.cs: Tie CheckBox/RadioButton focus rectangles to
  4586. ShowFocusCues. Make focus rectangles fit the text instead of the whole
  4587. control. [Fixes bug #325419]
  4588. 2008-01-10 Jonathan Pobst <[email protected]>
  4589. * ComboBox.cs: Guard against an NRE if the user open a new form from a
  4590. SelectedIndexChanged event. This closes the combobox dropdown, and we
  4591. were trying to dispose it. [Fixes bug #352830]
  4592. 2008-01-09 Jonathan Pobst <[email protected]>
  4593. * Control.cs, Form.cs: Implement the necessary semantics for
  4594. ShowFocusCues. All paint code will need to check Control.ShowFocusCues
  4595. to determine if a focus rectangle should be drawn.
  4596. * PropertyGrid.cs: Fix property visibility to match override.
  4597. * ThemeWin32Classic.cs: Use ShowFocusCues for Button.
  4598. 2008-01-09 Jonathan Pobst <[email protected]>
  4599. * Application.cs: Use GetCommandLineArgs to calculate ExecutablePath.
  4600. [Fixes bug #323552]
  4601. 2008-01-09 Geoff Norton <[email protected]>
  4602. * XplatUICarbon.cs: Scroll windows in the correct direction.
  4603. 2008-01-09 Geoff Norton <[email protected]>
  4604. * XplatUICarbon.cs: Track all created utility windows so we can hide them
  4605. when the app is deactivated or spaces is enabled.
  4606. 2008-01-08 Carlos Alberto Cortez <[email protected]>
  4607. * ListViewItem.cs: Cosmetic fix - When calculating layout for item, don't add an
  4608. extra separation pixel for the label rect origin if SmallImageList is
  4609. null, and thus we don't need that separation between icon and label
  4610. rects.
  4611. Patch by Ernesto Carrea.
  4612. Fixes # 340195.
  4613. 2008-01-08 Jonathan Pobst <[email protected]>
  4614. * StatusStrip.cs: Invalidate after completing a layout. The base
  4615. OnLayout does this, but we don't call the base.
  4616. * ToolStripItem.cs: Revert the previous change to invalidate after
  4617. the item moves.
  4618. [Fixes bug #351341 better.]
  4619. 2008-01-07 Geoff Norton <[email protected]>
  4620. * XplatUICarbon.cs: WM_DESTROY is a teardown of a single window
  4621. not a notification to exit the application. Listen for WM_QUIT
  4622. instead.
  4623. 2008-01-07 Andreia Gaita <[email protected]>
  4624. * HtmlDocument.cs: Fix case on GetElementById (interface changed)
  4625. 2008-01-07 Jonathan Pobst <[email protected]>
  4626. * ToolStripItem.cs: If the bounds of an item changes, invalidate it
  4627. so it can repaint at the correct location.
  4628. [Fixes bug #351341]
  4629. 2008-01-06 Carlos Alberto Cortez <[email protected]>
  4630. * ListControl.cs: SelectedValue should return a null value if
  4631. SelectedIndex is -1. Also, when setting it, it should throw an
  4632. ArgumentNullException if the value is null, as well as taking
  4633. into account the String.Empty value, instead of ignoring it (we have
  4634. tests for that now).
  4635. Fixes part of #324286.
  4636. 2008-01-06 Jonathan Pobst <[email protected]>
  4637. * TextBoxBase.cs, TextControl.cs: Patch from Luke Page to ensure
  4638. SelectionStart is updated after pressing enter. Fixes bug #351918.
  4639. 2008-01-05 Jonathan Pobst <[email protected]>
  4640. * TextControl.cs: Revert a piece r92316 that prevented the fix
  4641. from working when there were multiple tags in the text box.
  4642. Fixes bug #351881.
  4643. 2008-01-05 Jonathan Pobst <[email protected]>
  4644. * TextControl.cs: Apply patch from Luke Page that prevents an
  4645. NRE when determining the beginning of a paragraph.
  4646. Fixes bug #351886.
  4647. 2008-01-05 Jonathan Pobst <[email protected]>
  4648. * TextBoxBase.cs: Apply patch from Luke Page that ensures the
  4649. caret gets moved with clicking away from a selected block of
  4650. text. Fixes bug #351885.
  4651. 2008-01-05 Jonathan Pobst <[email protected]>
  4652. * TextControl.cs: Apply patch from Luke Page that takes line
  4653. alignment into account for mouse selection, so that center and
  4654. right aligned text can be selected.
  4655. Fixes bug #351881.
  4656. 2008-01-05 Jonathan Pobst <[email protected]>
  4657. * RichTextBox.cs: Apply patch from Luke Page that fixes some caret
  4658. issues after loading an RTF file by using the correct line feeds.
  4659. Fixes bug #351841.
  4660. 2008-01-05 Jonathan Pobst <[email protected]>
  4661. * TextControl.cs: When deleting multiple line selections, we need
  4662. to invalidate every line beginning at the first line of the selection.
  4663. Patch from Luke Page fixes bug #351791.
  4664. 2008-01-04 Carlos Alberto Cortez <[email protected]>
  4665. * ListControl.cs: When getting a CurrencyManager.PositionChanged
  4666. event, don't set SelectedIndex if the number of items is 1. This is
  4667. because, for the first item, PositionChanged is fired _before_
  4668. ItemChanged (the place where we actually populate the items), and
  4669. leave us in a temporary invalid state (since items collection is
  4670. empty).
  4671. Fixes #349655.
  4672. 2008-01-04 Geoff Norton <[email protected]>
  4673. * XplatUICarbon.cs: Create native toolwindows instead of
  4674. the managed drawing ones.
  4675. 2008-01-03 Jonathan Pobst <[email protected]>
  4676. * LineTag.cs: If the line doesn't have any characters, return
  4677. 0 for GetCharIndex. Fixes an AOORE exception after certain
  4678. caret movements. Fixes bug #351683. Patch by Luke Page.
  4679. 2008-01-03 Jonathan Pobst <[email protected]>
  4680. * TextBoxBase.cs: Apply patch from Luke Page so when backspace
  4681. is hit when there is selected text, only the selected text gets
  4682. deleted, not the character in front of the selection as well.
  4683. Fixes bug #351578.
  4684. 2008-01-03 Carlos Alberto Cortez <[email protected]>
  4685. * ComboBox.cs: When the values are displayed, calculate the
  4686. ComboListBox scrollbar's LargeChange based on the visible area's
  4687. height and the actuall ItemHeight, instead of calculating it
  4688. based on MaxDropItems value, since it's not used by our _current_
  4689. 2.0 profile.
  4690. Fixes #332366.
  4691. 2008-01-03 Jonathan Pobst <[email protected]>
  4692. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  4693. Patch from Luke Page that fixes issues with font colors and styles
  4694. not showing up in a readonly RichTextBox. Fixes bug #324354.
  4695. 2008-01-03 Jonathan Pobst <[email protected]>
  4696. * Line.cs, RichTextBox.cs, TextControl.cs: Another awesome patch
  4697. from Luke Page. This one fixes bug #349926.
  4698. 2007-12-30 Carlos Alberto Cortez <[email protected]>
  4699. * CurrencyManager.cs: Actually fire the 2.0 ListChanged event when
  4700. an item in the IBindingList source changes with
  4701. ListChangedType.ItemAdded. Ignore for now firing the event for other
  4702. changes, since we want to have tests for those cases as well.
  4703. 2007-12-28 Jonathan Pobst <[email protected]>
  4704. * TextBoxBase.cs: Don't store a 1x1 Bitmap for every TextBox
  4705. created.
  4706. 2007-12-28 Jonathan Pobst <[email protected]>
  4707. * TextBoxTextRenderer.cs: Implement a cache for measuring each
  4708. character. This is effective because the typical usage of a
  4709. TextBox is with a limited amount of fonts and characters, and
  4710. the current implementation of TextBox measures everything one
  4711. character at a time. Another second or two speedup for bug #347238.
  4712. 2007-12-28 Jonathan Pobst <[email protected]>
  4713. * Control.cs: Rewrite the Font getter to only query the parent's
  4714. Font property once instead of twice. Since this operation is
  4715. recursive, the queries were growing exponentially as the control
  4716. tree got deeper. Another second or two speedup for bug #347238.
  4717. 2007-12-28 Jonathan Pobst <[email protected]>
  4718. * Control.cs: Avoid setting a parent (and more importantly, updating
  4719. the zorder of all its children) if the parent is already correct in
  4720. WmShowWindow. Decreases the startup time of the test case on bug
  4721. #347238 from 35 seconds to 11 seconds.
  4722. 2007-12-27 Carlos Alberto Cortez <[email protected]>
  4723. * X11Dnd.cs: When the dnd operation has started and we are
  4724. in the dnd loop, don't dispatch either WM_LBUTTONUP nor WM_RBUTTONUP.
  4725. This is done to match .Net, which doesn't send those messages after
  4726. dnd operation was completed/cancelled.
  4727. Fixes #349922.
  4728. 2007-12-27 Jonathan Pobst <[email protected]>
  4729. * ToolStrip.cs: Previous change should be != null, not == null.
  4730. Thanks Gert!
  4731. 2007-12-27 Jonathan Pobst <[email protected]>
  4732. * ToolStrip.cs: Guard against an NRE after ItemClicked is called, the
  4733. user may have moved the mouse off the current item during the event.
  4734. 2007-12-23 Carlos Alberto Cortez <[email protected]>
  4735. * ListView.cs: In ItemControl.ItemsMouseMove, try to avoid
  4736. calling GetItemAt for every MouseMove event by also taking into
  4737. account whether any mouse button is pressed (probably dragging);
  4738. if so, we can call GetItemAt, and if not, try to not call it
  4739. (GetItemAt can be quite expensive when used with a large number of items).
  4740. 2007-12-22 Carlos Alberto Cortez <[email protected]>
  4741. * ListView.cs: Implement -finally- support for dnd, by calling
  4742. OnItemDrag as needed. Also, remove the dnd TODO, and add myself to the
  4743. authors list ;-).
  4744. * ListViewInsertionMark.cs: Implement NearestIndex method, by doing a
  4745. simple calculation of distances for all the items in the owner
  4746. listview.
  4747. 2007-12-21 Geoff Norton <[email protected]>
  4748. * XplatUICarbon.cs: Ensure that we create WindowMapping handles
  4749. for windows that are originally created as invisible. Fixes missing
  4750. main window in paint-mono.
  4751. 2007-12-21 Geoff Norton <[email protected]>
  4752. * XplatUICarbon.cs: Register our D&D handler. Register our custom
  4753. subclass handler for com.novell.mwfview subclassing HIView. Implement
  4754. Pasteboard and Dnd methods.
  4755. 2007-12-20 Carlos Alberto Cortez <[email protected]>
  4756. * ListBox.cs: When we got focus, give focus to first item if there
  4757. wasn't any pervious focused item. Also update navigation to depend on
  4758. SelectedIndex rather than FocusedItem, just as .Net does.
  4759. Fixes #349174.
  4760. 2007-12-19 Carlos Alberto Cortez <[email protected]>
  4761. * ListBox.cs: Both FindString and FindStringExact methods must do an
  4762. case insensitive search, should allow the last valid index to be
  4763. passed in the overload taking an initial index, and should also
  4764. continue searching from the top back to the specified index when it
  4765. reaches the bottom.
  4766. 2007-12-19 Jonathan Pobst <[email protected]>
  4767. * TextControl.cs: Apply patch from Luke Page that fixes a scrolling
  4768. redraw issue, and allows RichTextBox to draw colored text even while
  4769. disabled or readonly.
  4770. 2007-12-19 Jonathan Pobst <[email protected]>
  4771. * RichTextBox.cs, TextBoxBase.cs: Apply patch from Luke Page that
  4772. disallows cut/paste in a readonly textbox, adds support for Shift-Insert,
  4773. and doesn't grey text in a disabled RichTextBox.
  4774. 2007-12-19 Jonathan Pobst <[email protected]>
  4775. * RichTextBox.cs: Apply patch from Luke Page that adds better support
  4776. for many RTF commands: quad alignment, separate formatting for blocks
  4777. inside groups, and ParDef support. Makes the test case from bug #324589
  4778. look much better.
  4779. 2007-12-19 Jonathan Pobst <[email protected]>
  4780. * LineTag.cs: Fix an error in the new Draw method that caused
  4781. a crash when rendering the document on bug #324589.
  4782. 2007-12-19 Jonathan Pobst <[email protected]>
  4783. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs,
  4784. TextControl.cs: Apply patch from Luke Page that adds support
  4785. for URL links in RichTextBox.
  4786. [Fixes enhancement #342516]
  4787. 2007-12-18 Everaldo Canuto <[email protected]>
  4788. * MenuItem.cs: When cloning menuitem clone also name and tag properties for
  4789. 2.0 profile. Thanks Ernesto Carrea and Luke Page. Fixes bug #340289.
  4790. 2007-12-18 Carlos Alberto Cortez <[email protected]>
  4791. * ListBox.cs: When a key gets pressed, try to find a string
  4792. if the key is a character or a digit.
  4793. Fixes #343971.
  4794. 2007-12-17 Jonathan Pobst <[email protected]>
  4795. * TableLayoutPanel.cs: Remove some unused variables.
  4796. 2007-12-17 Jonathan Pobst <[email protected]>
  4797. * DateTimePicker.cs: Commit patch from Luke Page that ensures
  4798. we don't end up at an invalid date when we click the up/down
  4799. spinner to change the month or year. Fixes bug #348682.
  4800. 2007-12-17 Jonathan Pobst <[email protected]>
  4801. * Application.cs: Calling Exit in 2.0 should chain to the
  4802. Exit (CancelEventArgs) version so it can be cancelled.
  4803. * Form.cs: Create a flag to allow raising the Closing
  4804. events to be skipped. We raise them once in Application.Exit
  4805. and don't want to raise them again when the Form is actually
  4806. closed. [Fixes bug #349073]
  4807. 2007-12-16 Jonathan Pobst <[email protected]>
  4808. * ToolStripDropDown.cs: Guard against an NRE when there
  4809. hasn't been a mainform set in the application context.
  4810. [Fixes bug #349108]
  4811. 2007-12-15 Carlos Alberto Cortez <[email protected]>
  4812. * ListBox.cs: When SetBoundsCore gets called, besides
  4813. calling UpdateScrollBars, update the value of
  4814. last_visible_index, since we could need to show more items
  4815. than before, and we need to let the paint routines know that.
  4816. Fixes #344445.
  4817. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  4818. * ListView.cs: Add DesignerSerializationVisibility attribute to
  4819. InsertionMark property.
  4820. * ListViewItem.cs: Add same attribute to Position property.
  4821. 2007-12-14 Carlos Alberto Cortez <[email protected]>
  4822. * ListViewItem.cs: .ctor (SerializationInfo, StreamingContext)
  4823. is 2.0 only.
  4824. 2007-12-14 Jonathan Pobst <[email protected]>
  4825. * ThemeWin32Classic.cs: Don't draw the background on a
  4826. flat button if there is a background image.
  4827. [Fixes bug #348649]
  4828. 2007-12-13 Carlos Alberto Cortez <[email protected]>
  4829. * ListBox.cs: If we remove the item currently selected,
  4830. remove it not only from SelectedItems, but also
  4831. resetting selected_index. Moreover, set focused_item to Items.Count - 1 if
  4832. the items count decreased and focused_item has bigger value than that.
  4833. 2007-12-13 Jonathan Pobst <[email protected]>
  4834. * Control.cs: Perform our layout after we resize ourselves
  4835. if we had to adjust our AutoSize. Missed commit for bug
  4836. #346246.
  4837. 2007-12-13 Jonathan Pobst <[email protected]>
  4838. * TableLayoutPanel.cs: Override GetPreferredSizeCore so
  4839. we can provide an implementation of AutoSize.
  4840. [Fixes bug #346246]
  4841. 2007-12-12 Carlos Alberto Cortez <[email protected]>
  4842. * ListBox.cs: Add the internal overload Sort (bool paint),
  4843. to indicate whether we actually need a paint or we will
  4844. call Refresh ourselves. This way we don't request a paint
  4845. _before_ having an updated and valid layout.
  4846. Fixes #347233.
  4847. 2007-12-12 Andreia Gaita <[email protected]>
  4848. * XPlatUIX11.cs: Send paint messages when updating a systray icon
  4849. * NotifyIcon.cs: Invalidate the window before doing a systray change so it is
  4850. properly invalidated.
  4851. Fixes #324237
  4852. 2007-12-10 Carlos Alberto Cortez <[email protected]>
  4853. * ListViewItem.cs: When using a .ctor taking a ListViewGroup,
  4854. don't simply assign it to our internal group field, but instead
  4855. use our Group property, which should do all the neccessary work
  4856. required to support groups. Fixes an issue reported to me (mail) by a
  4857. guy using this new feature.
  4858. 2007-12-11 Jonathan Pobst <[email protected]>
  4859. * Control.cs: Use Scale instead of ScaleControl to ensure the
  4860. whole hierarchy gets scaled.
  4861. [Fixes bug #347282]
  4862. 2007-12-10 Jonathan Pobst <[email protected]>
  4863. * DateTimePicker.cs: Don't set the internal MonthCalendar's
  4864. Parent property. Doing this causes the control to be hosted by
  4865. the Form instead of being a popup window.
  4866. [Fixes bug #347665]
  4867. 2007-12-10 Jonathan Pobst <[email protected]>
  4868. * ToolStripItemCollection.cs: If we try to insert a ToolStripItem
  4869. at an index higher than Count, just use Add instead of Insert.
  4870. [Fixes bug #347669]
  4871. 2007-12-10 Jonathan Pobst <[email protected]>
  4872. * ThemeWin32Classic.cs: Don't draw a PictureBox's background in
  4873. DrawPictureBox, this is handled by Control.PaintBackground.
  4874. [Fixes bug #347276]
  4875. 2007-12-10 Everaldo Canuto <[email protected]>
  4876. * MenuAPI.cs: When process menu keys return true by default only if menu is
  4877. active. Fixes bug #342892.
  4878. 2007-12-09 Andreia Gaita <[email protected]>
  4879. * Control.cs: check if windows are actually mapped before
  4880. trying to zorder. Fixes #342509, #346955
  4881. 2007-12-07 Carlos Alberto Cortez <[email protected]>
  4882. * ListView.cs:
  4883. * ListViewInsertionMark.cs:
  4884. * ThemeWin32Classic.cs: Implement the drawing side of the
  4885. new 2.0 ListView.InsertionMark property.
  4886. 2007-12-07 Jonathan Pobst <[email protected]>
  4887. * CurrencyManager.cs: Silence some debug spew.
  4888. 2007-12-07 Geoff Norton <[email protected]>
  4889. * Hwnd.cs: Refactor GetClippingRectangles to suppose returning the
  4890. masks for our children as well as siblings to avoid having to query
  4891. Quartz for this information.
  4892. * XplatUICarbon.cs: Implement a delegate based system to pass
  4893. information to System.Drawing. Implement Async methods. Remove
  4894. the hack for the resize thumb and imlpement a transparent Grow Box.
  4895. Rework the messaging system to proplery create window's and messages,
  4896. fixes TabControl.
  4897. 2007-12-06 Andreia Gaita <[email protected]>
  4898. * X11Keyboard.cs: Use Xutf8LookupString to support international
  4899. characters under alternate codepages. Patch from #340878
  4900. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  4901. * ListView.cs: When doing layout computations, set position in the
  4902. ListView instances (we cache the position just as .Net does).
  4903. * ListViewItem.cs: New internal setter method for Position. Also set
  4904. position field as also available in 1.1, since we are going to use it
  4905. now in the common case.
  4906. 2007-12-06 Andreia Gaita <[email protected]>
  4907. * Control.cs: When removing controls, get the actual container
  4908. to notify about active control changes. Fixes 341314.
  4909. 2007-12-06 Carlos Alberto Cortez <[email protected]>
  4910. * ListViewItem.cs: Forgot to add Font to our serialization stuff.
  4911. 2007-12-05 Andreia Gaita <[email protected]>
  4912. * Control.cs: When updating the zorder, ignore windows that are not
  4913. mapped. Fixes #342509
  4914. 2007-12-05 Carlos Alberto Cortez <[email protected]>
  4915. * ListViewItem.cs: Actually implement serialization on this class.
  4916. 2007-12-05 Gert Driesen <[email protected]>
  4917. * LinkLabel.cs: Fixed paramname of ArgumentNullException in ctor of
  4918. LinkCollection. Spaces to tabs, and removed extra tabs.
  4919. 2007-12-04 Rolf Bjarne Kvinge <[email protected]>
  4920. * XplatUIX11.cs: Make toolwindows' decorations show up without causing any
  4921. tests to fail (hopefully).
  4922. 2007-12-03 Jonathan Pobst <[email protected]>
  4923. * ToolStripDropDownMenu.cs: Fill in AffectedBounds when drawing
  4924. the image margin so custom renderers can correctly place it.
  4925. 2007-12-03 Jonathan Pobst <[email protected]>
  4926. * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
  4927. so custom renderers can correctly place it.
  4928. 2007-12-03 Jonathan Pobst <[email protected]>
  4929. * Application.cs: Let WM_CHAR messages flow through to controls
  4930. hosted in Strips. [Fixes bug #343972]
  4931. 2007-12-02 Jonathan Pobst <[email protected]>
  4932. * ToolStripManager.cs: Guard against an NRE I ran into.
  4933. 2007-12-02 Jonathan Pobst <[email protected]>
  4934. * LinkLabel.cs: Apply patch from George to fix bug 344012. If
  4935. a Link is manually added to the Links collection, we need to set
  4936. its owner, so it can invalidate properly.
  4937. [Fixes bug #344012]
  4938. 2007-11-24 Carlos Alberto Cortez <[email protected]>
  4939. * ListView.cs: When changing ListViewItem.Position (which calls
  4940. ListView.ChangeItemLocation), invalidate not only the area
  4941. corresponding to the main item, but also to the area occupied
  4942. by the items being moved.
  4943. 2007-11-23 Carlos Alberto Cortez <[email protected]>
  4944. * ListView.cs: When changing the position of a given item,
  4945. don't use item bounds, but item areas (which includes the item spacing
  4946. between them). Also, use first/last position if the requested
  4947. position is outside bounds (as .Net does). Invalidate the previous and
  4948. new bounds. Finally, in ItemControl.ItemsMouseDown use the actual item
  4949. in a specific position, instead of directly accessing Items collection
  4950. (this is done to get the right item - remember an Item can have a
  4951. different position in the grid than in the Items collection).
  4952. 2007-11-23 Everaldo Canuto <[email protected]>
  4953. * MessageBox.cs: Calculate text area instead of just top left, this rect
  4954. area will be used in DrawString. Fixes bug #343364.
  4955. 2007-11-23 Everaldo Canuto <[email protected]>
  4956. * MessageBox.cs: Calculate max amount for text area width, it must be 60% of
  4957. screen width. Partially fixes bug #343364.
  4958. 2007-11-23 Everaldo Canuto <[email protected]>
  4959. * NotifyIcon.cs: Remove duplicated code before call realculate and put this
  4960. code inside recalculate, it makes code more simple.
  4961. 2007-11-22 Everaldo Canuto <[email protected]>
  4962. * NotifyIcon.cs: When recalculate icon verify if icon is active to decide
  4963. between update or add icon. Fixes bug #324344.
  4964. 2007-11-21 Andreia Gaita <[email protected]>
  4965. * XPlatUIX11.cs: Do not treat tool windows as if they have no
  4966. window manager, since that stretches the drawing area to include
  4967. the window decorations, and they get hidden. Reverts r84444 and fixes
  4968. #335849 and #342790 (mdi and pdn3 regression)
  4969. 2007-11-20 Carlos Alberto Cortez <[email protected]>
  4970. * ListView.cs: When setting focused item, try to give focus to the
  4971. previous one _only_ if the previous one remains valid.
  4972. Fixes #342504.
  4973. 2007-11-20 Jonathan Pobst <[email protected]>
  4974. * Application.cs: Revert r89650, as it broke a common case to fix
  4975. an obscure case. Fixes bug #342606.
  4976. 2007-11-20 Everaldo Canuto <[email protected]>
  4977. * ThemeWin32Classic.cs: Fix extra space on end of tooltip.
  4978. 2007-11-20 Everaldo Canuto <[email protected]>
  4979. * ThemeWin32Classic.cs: Fix tooltip text align removing horizontal
  4980. alignment. [Fixes #324228]
  4981. 2007-11-19 Jonathan Pobst <[email protected]>
  4982. * ToolStrip.cs: Handle flow layout in GetPreferredSize to fix PDN3.
  4983. [Fixes bug #342123]
  4984. 2007-11-19 Everaldo Canuto <[email protected]>
  4985. * Form.cs: Check for empty Text before assign to cp.Caption in CreateParams
  4986. it prevent problems when empty captions. [Fixes #342141]
  4987. 2007-11-19 Jonathan Pobst <[email protected]>
  4988. * Label.cs: Use Size instead of None. Fixes bug #342077.
  4989. 2007-11-18 Carlos Alberto Cortez <[email protected]>
  4990. * ListViewItem.cs: Implement 2.0 FindNearestItem method.
  4991. 2007-11-17 Jonathan Pobst <[email protected]>
  4992. * MenuStrip.cs: Guard against a NRE when a MdiWindowItem is set
  4993. but there isn't a MdiContainer.
  4994. [Fixes bug #342358]
  4995. 2007-11-17 Jonathan Pobst <[email protected]>
  4996. * TextControl.cs: Don't recalculate document if the recalc_start and
  4997. recalc_end hasn't changed.
  4998. [Fixes bug #342505]
  4999. 2007-11-17 Gert Driesen <[email protected]>
  5000. * DataGridViewTextBoxCell.cs: Removed CWL.
  5001. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  5002. * ListView.cs: Implement 2.0 SearchForVirtualItem event support.
  5003. 2007-11-16 Jonathan Pobst <[email protected]>
  5004. * TextControl.cs: Missed some code for bug 341534 to trigger a
  5005. recalculation when the font changes.
  5006. 2007-11-16 Andreia Gaita <[email protected]>
  5007. * Control.cs: When updating the zorder, check if the child to update is
  5008. the same control that is set to always be on top (i.e., scrollbars), and
  5009. just put it on top directly. Fixes BadMatch error on pdn3
  5010. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  5011. * ListView.cs: Throw the needed exceptions for FindNearestItem.
  5012. 2007-11-16 Jonathan Pobst <[email protected]>
  5013. * Control.cs: Don't perform a new layout when a label changes its text,
  5014. cause label handles its own autosizing.
  5015. [Fixes bug #342077]
  5016. 2007-11-16 Carlos Alberto Cortez <[email protected]>
  5017. * ListView.cs: Implement 2.0 FindNearestItem methods.
  5018. 2007-11-15 Jonathan Pobst <[email protected]>
  5019. * ToolStripPanel.cs: Make Join at least add the control to the panel,
  5020. even if the rest of what Join does isn't supported. Add some more
  5021. support for vertical toolbars.
  5022. * ToolStripPanelRow.cs: Add some more support for vertical toolbars.
  5023. [Fixes the application breaking parts of bug #341998]
  5024. 2007-11-15 Jonathan Pobst <[email protected]>
  5025. * ToolStripItem.cs: When determining if we have a check/image margin,
  5026. we need to look at ShowCheckMargin as well as ShowImageMargin.
  5027. 2007-11-15 Geoff Norton <[email protected]>
  5028. * XplatUIOSX.cs: Rename to...
  5029. * XplatUICarbon.cs: and refactor all event handling out to the new event handling
  5030. system in System.Windows.Forms.CarbonInternal. Lots of code cleanup as well.
  5031. 2007-11-15 Jonathan Pobst <[email protected]>
  5032. * KeysConverter.cs: The default values should be an array of Keys, not
  5033. strings. Also, the array has more values for 2.0.
  5034. [Fixes bug #341851]
  5035. 2007-11-14 Jonathan Pobst <[email protected]>
  5036. * Application.cs: Change ExecutablePath to use
  5037. Process.GetCurrentProcess ().MainModule.FileName instead of Assembly.GetEntryAssembly.
  5038. [Fixes bug #323552]
  5039. 2007-11-14 Jonathan Pobst <[email protected]>
  5040. * LineTag.cs: Don't attempt to draw '\r', treat it like it doesn't exist.
  5041. When measureing CR or LF, use /u000D instead of /u0013. (Hex, not decimal.)
  5042. * TextControl.cs: Fix a case in GetLineEnding where a \n before a \r would
  5043. be ignored. Create a new GetLineEnding that can specify which types of
  5044. line endings to look for. On Insert, only create new lines for \n and \r\n.
  5045. [Fixes bug #324274]
  5046. 2007-11-14 Jonathan Pobst <[email protected]>
  5047. * TextBoxBase.cs: As we loop through each line changing the font, tell
  5048. the document that the line needs to be recalculated. Fixes bug #341534.
  5049. 2007-11-13 Jonathan Pobst <[email protected]>
  5050. [Another round of refactoring]
  5051. * Line.cs: Add DeleteCharacters.
  5052. * LineTag.cs: Add Delete.
  5053. * TextBoxBase.cs: Update to use new methods.
  5054. * TextControl.cs: Refactor the Delete* methods.
  5055. 2007-11-13 Everaldo Canuto <[email protected]>
  5056. * Win32DnD.cs: Implement Win32 Drop files, thank you Srikanth Madikeri for
  5057. the patch. [Fixes #324856]
  5058. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  5059. * ListView.cs:
  5060. * ListViewItem.cs: Add an initial implementation of
  5061. 2.0 ListViewItem.Position getter.
  5062. 2007-11-12 Carlos Alberto Cortez <[email protected]>
  5063. * ListView.cs: Add a reordered_items_indices array, to allow us
  5064. to have a different sorting than that of Items (the sorting in Items
  5065. could not match the actual sorting in screen). This is needed to
  5066. implement a pair of 2.0 features.
  5067. * ListViewItem.cs: Add a DisplayIndex property to keep track of the
  5068. actual position in the ListView grid, since it could have a position
  5069. different than its Index (position in ListViewItemCollection).
  5070. 2007-11-09 Jonathan Pobst <[email protected]>
  5071. * Label.cs: Add StringFormatFlags.LineLimit. This tells DrawString to
  5072. not draw partial lines.
  5073. * LinkLabel.cs: Change FormatFlags setter from = to |= so that the
  5074. LineLimit flag from the base is preserved.
  5075. Fixes the windows part of bug #338965.
  5076. 2007-11-09 Jonathan Pobst <[email protected]>
  5077. * TextBoxBase.cs: Move handling of the enter key from KEYDOWN to CHAR
  5078. so that it can be canceled in KeyPress.
  5079. Fixes bug #340078.
  5080. 2007-11-08 Carlos Alberto Cortez <[email protected]>
  5081. * ListView.cs: In ItemControl, reset mouse-handling related
  5082. fields even if we dont' have items (we still should reset them when
  5083. we had items but then called Items.Clear). Partially based in a patch
  5084. by George Giolfan.
  5085. Fixes #338399.
  5086. 2007-11-08 Gert Driesen <[email protected]>
  5087. * Application.cs: In ProductVersion first try AssemblyFileVersion
  5088. before falling back to assembly version. Fixes bug #339787.
  5089. 2007-11-08 Andreia Gaita <[email protected]>
  5090. * HtmlElement.cs: Implement InnerText setter.
  5091. * WebBrowserBase.cs: Implement Navigated event support.
  5092. Add flag to track when the browser "document" is ready to be retrieved.
  5093. * WebBrowser.cs: Implement CanGoBack, CanGoForward, Title, Url.
  5094. Make sure browser document is ready before retrieving it.
  5095. Clean up cached objects (document) when moving to a new page through
  5096. any of the navigation methods.
  5097. Use the new Mono.WebBrowser.INavigation interface to control navigation.
  5098. Implement OnNavigated event.
  5099. 2007-11-07 Jonathan Pobst <[email protected]>
  5100. * ThemeWin32Classic.cs: Don't draw the background in DrawLabel or
  5101. DrawLinkLabel, this is handled by OnPaintBackground.
  5102. Fixes bug #339565, part II.
  5103. 2007-11-07 Andreia Gaita <[email protected]>
  5104. * Control.cs: Revert r88915. Selecting text on a textbox depends on
  5105. getting a Select call on click, so this call needs to be here for now.
  5106. Unfixes #325809
  5107. 2007-11-07 Geoff Norton <[email protected]>
  5108. * OSXStructs.cs: Add the kEventClassApplication constants.
  5109. * XplatUIOSX.cs: Send a WM_LBUTTONDOWN to the Grab window when the
  5110. application is deactivated otherwise Menu overlays linger on top of
  5111. other application windows.
  5112. 2007-11-07 Geoff Norton <[email protected]>
  5113. * XplatUIOSX.cs: Dont throw an exception on OverrideCursor as we
  5114. dont support cursors yet anyways. This allows Reflector to run.
  5115. 2007-11-07 Geoff Norton <[email protected]>
  5116. * XplatUIOSX.cs: Implement DragSize.
  5117. 2007-11-07 Carlos Alberto Cortez <[email protected]>
  5118. * ListView.cs: When we receive a WM_LBUTTONDOWN message in
  5119. ItemControl, request the focus, as .Net does. This is needed after
  5120. Control does not request focus anymore when it receives a
  5121. WM_LBUTTONDOWN.
  5122. 2007-11-06 Jonathan Pobst <[email protected]>
  5123. * Label.cs: Make DrawImage internal so it can be called from Theme code.
  5124. Remove the DrawImage call from OnPaint.
  5125. * LinkLabel.cs: Remove the DrawImage call from OnPaint.
  5126. * ThemeWin32Classic.cs: Call DrawImage after we paint the background,
  5127. but before we draw the text for DrawLabel and DrawLinkLabel.
  5128. Fixes bug #339565.
  5129. 2007-11-05 Andreia Gaita <[email protected]>
  5130. * Control.cs: Remove select call on click. Fixes #325809
  5131. 2007-11-05 Carlos Alberto Cortez <[email protected]>
  5132. * ListViewItem.cs: Add 2.0 Position property getter.
  5133. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5134. * ListView.cs: Add 2.0 BackgroundImageTiled property.
  5135. Also, to make it work properly, change item's BackColor and
  5136. BackgroundImageLayout as needed.
  5137. * ThemeWin32Classic.cs: Don't fill any background rectangle
  5138. in ListView.ItemControl when drawing items; just let the Control
  5139. base implementation fill it.
  5140. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5141. * ListViewGroup.cs: Adda TypeConverter attribute for this class,
  5142. as well as adding a custom 'dummy' Converter, as .net does.
  5143. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5144. * PropertyGridView.cs: When clicking drop-down button,
  5145. select an index in the listbox only if our standard values collection
  5146. has one or more items.
  5147. 2007-11-04 Carlos Alberto Cortez <[email protected]>
  5148. * ListViewItem.cs: Add a DefaultValue attribute to 2.0 IndentCount
  5149. property.
  5150. 2007-11-04 Gert Driesen <[email protected]>
  5151. * PropertyGrid.cs: In PropertySort, update the toolbar buttons even if
  5152. the value is not changed. This ensure a pushed button remains in that
  5153. state when clicked again. When switching the value of PropertySort
  5154. between Categorized and CategorizedAlphabetical, do not update the
  5155. grid items and do not fire a PropertyChangedEvent. When clicking the
  5156. sorting buttons, do not modify the PropertySort value when switching
  5157. between Categorized and CategorizedAlphabetical but only update the
  5158. button state.
  5159. 2007-11-04 Gert Driesen <[email protected]>
  5160. * Label.cs: Make AutoEllipsis internal on 1.0 profile. Code
  5161. formatting.
  5162. * PropertyGrid.cs: Also put Categorized button in pushed state when
  5163. PropertySort is CategorizedAlphabetical. Set AutoEllipsis to true
  5164. for help description label.
  5165. 2007-11-03 Carlos Alberto Cortez <[email protected]>
  5166. * ListView.cs: When calculating the biggest item for a given column,
  5167. take into account 2.0 LIstViewItem.IndentCount, since it directly affects
  5168. the item's width.
  5169. 2007-11-03 Gert Driesen <[email protected]>
  5170. * PropertyGrid.cs: Fixed default value for PropertySort. Allow invalid
  5171. value for PropertySort on 1.0 profile. PropertySortChanged event
  5172. should only be fired on 2.0 profile. Fixed NullReferenceException
  5173. in UpdateSortLayout when PropertyGrid contains no items.
  5174. 2007-11-02 Jonathan Pobst <[email protected]>
  5175. * MessageBox.cs: Patch from George to implement MessageBoxDefaultButton.
  5176. [Fixes bug #338554]
  5177. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  5178. * ListViewItem.cs: Implement 2.0 IndentCount property.
  5179. 2007-11-01 Carlos Alberto Cortez <[email protected]>
  5180. * X11Dnd.cs: When sending status in a dnd operation, compare current
  5181. effect with the 'allowed' field instead of 'drag_data.Allowed', since
  5182. the later is only created when a Winforms application is both the
  5183. source and the target, but not when we are the target only.
  5184. Fixes part of #324251.
  5185. 2007-11-01 Geoff Norton <[email protected]>
  5186. * XplatUI*.cs: Add GetPreviousWindow utility method to return windows in
  5187. order of Z-Order.
  5188. * Hwnd.cs: Add initial implementation of GetClippingRectangles to clip sibling
  5189. children out of the drawing view on mac.
  5190. * XplatUIOSX.cs: Code cleanup. Handle more window grab cases. Fix SetParent
  5191. to handle the orphan and invisible case (1/2 fixes TabStrip drawing in FormsTest)
  5192. 2007-11-01 Jonathan Pobst <[email protected]>
  5193. * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost, clicking
  5194. on the non-hosted-control part of it shouldn't do anything.
  5195. Fixes part of bug #327498.
  5196. 2007-11-01 Andreia Gaita <[email protected]>
  5197. * WebBrowserBase.cs: revert previous change, resize can be called anytime
  5198. 2007-11-01 Jonathan Pobst <[email protected]>
  5199. * Application.cs: When a toolstrip has the keyboard input loop, let messages
  5200. it does not use flow through to controls that are hosted in menus.
  5201. Same with mouse clicks.
  5202. * Form.cs: Don't close all menus on click if the click is on a
  5203. control hosted in a menu.
  5204. Fixes part of bug #327498, and part of bug #325969.
  5205. 2007-10-31 Andreia Gaita <[email protected]>
  5206. * WebBrowserBase.cs: Only call resize on gluezilla when it is active
  5207. 2007-10-31 Jonathan Pobst <[email protected]>
  5208. * TextBoxBase.cs: Use int.MaxValue for MaxLength instead of magic number.
  5209. Addresses an issue raised in bug #336218.
  5210. 2007-10-30 Jonathan Pobst <[email protected]>
  5211. * Form.cs: Patch from George that moves the conversion of ClientSize->Size
  5212. for PreferredSize from OnLayout to PreferredSize. Fixes bug #325242.
  5213. 2007-10-30 Andreia Gaita <[email protected]>
  5214. * ContainerControl.cs: Check if the active control is a
  5215. child of a removed control and update active_control accordingly.
  5216. Fixes #329718
  5217. 2007-10-29 Jonathan Pobst <[email protected]>
  5218. * DateTimePicker.cs: Throw ArgEx if the Value is set outside the MinDate
  5219. or the MaxDate. Fixed bug #337693.
  5220. 2007-10-29 Jonathan Pobst <[email protected]>
  5221. * XplatUIWin32.cs: Always call SetWindowPos with SWP_FRAMECHANGED flag
  5222. after calling SetWindowLong for a form, to force an immediate NC refresh.
  5223. Fixes first part of bug #325150.
  5224. 2007-10-29 Jonathan Pobst <[email protected]>
  5225. * ComboBox.cs: Don't try to resize the listbox when we are DropDownStyle
  5226. simple. Fixes the last part of bug #322668.
  5227. 2007-10-29 Jonathan Pobst <[email protected]>
  5228. * MessageBox.cs: If the owner is TopMost, then the MessageBox form
  5229. needs to be TopMost as well, or else the MessageBox is under the form.
  5230. Patch by George fixes bug #325300.
  5231. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  5232. * X11Dnd.cs: When starting a new drag operation, reset the static
  5233. 'dropped' field to false (previously the implementation didn't reset
  5234. it and got confused after the first drag).
  5235. Fixes #325071.
  5236. 2007-10-27 Carlos Alberto Cortez <[email protected]>
  5237. * PropertyGrid.cs: When PropertySort changes, re-organize the grid
  5238. items instead of re-creating them all. For this purpose we now cache
  5239. both CategoryGridEntry items and the GridEntries for the main object's
  5240. properties.
  5241. * GridItem.cs: Make SetParent method abstract.
  5242. * GridEntry.cs: Override the SetParent method (already there, but now
  5243. we override it).
  5244. Fixes #324866.
  5245. 2007-10-24 Carlos Alberto Cortez <[email protected]>
  5246. * PropertyGridView.cs: Set the plus/minus bounds of a grid item
  5247. depending on its depth (as .Net does). Update the needed values in
  5248. MouseDown handler. Also draw the plus/minus rect after the label,
  5249. so we don't draw on top of it.
  5250. 2007-10-24 Everaldo Canuto <[email protected]>
  5251. * MenuAPI.cs: Return true as default in ProcessKeys to prevent keys to be
  5252. processed by forms or controls when menu is active. [Fixes #333548]
  5253. 2007-10-24 Jonathan Pobst <[email protected]>
  5254. * ToolStripItem.cs: Don't focus a ToolStripControlHost on Select of the
  5255. parent doesn't have focus. This was causing ToolStripTextBoxes to take
  5256. focus on mouse over.
  5257. 2007-10-24 Jonathan Pobst <[email protected]>
  5258. * TextControl.cs: Code cleaning, simplifying.
  5259. 2007-10-24 Geoff Norton <[email protected]>
  5260. * XplatUIOSX.cs: Route mouse events to the grab hwnd on mouse down as well.
  5261. * XplatUIStructs.cs: Fix the ToString method of POINT and MSG.
  5262. 2007-10-24 Jonathan Pobst <[email protected]>
  5263. * TextBoxBase.cs: If the user sets maxlength to 0, it should mean
  5264. the cap is maxvalue, not actually 0. [Fixes bug #336218]
  5265. 2007-10-24 Andreia Gaita <[email protected]>
  5266. * SendKeys.cs: apply jpobst's patch to bug #332409
  5267. 2007-10-23 Andreia Gaita <[email protected]>
  5268. * TextBoxTextRenderer.cs: Lower bounds max size to Int16.MaxValue, the
  5269. Windows 2000 gdi DrawText call doesn't draw if it's higher than that
  5270. for some reason
  5271. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  5272. * PropertyGridView.cs: If a property has an UIEditor available,
  5273. make the drop-down/editor button available only if the property
  5274. is _not_ read only.
  5275. 2007-10-23 Carlos Alberto Cortez <[email protected]>
  5276. * PropertyGridView.cs: Don't make the grid item textbox
  5277. editable when a drop-down control is available, but
  5278. CanConvertFrom (typeof (string)) is false or GetStandardValuesExclusive () is
  5279. true. The same bur the color of the grid item value's label.
  5280. 2007-10-22 Geoff Norton <[email protected]>
  5281. * OSXStructs.cs: Add the needed constants for keyboard modifiers.
  5282. * OSXKeyboard.cs: Initial support for keyboard and limited modifiers.
  5283. * XplatUIOSX.cs: New reversible frame support. Wire in the new keyboard
  5284. driver. Padd the bottom of all real windows so the resize thumb doesn't
  5285. obscure scroll/status bars.
  5286. 2007-10-22 Jonathan Pobst <[email protected]>
  5287. * WindowsFormsSection.cs: Implement.
  5288. 2007-10-22 Everaldo Canuto <[email protected]>
  5289. * MdiClient.cs: Maximize new active mdi child when a maximized child is
  5290. closed see #325434 patch.
  5291. 2007-10-22 Everaldo Canuto <[email protected]>
  5292. * MdiClient.cs: Fix remaining issues from layout vertical and horizontal,
  5293. see #325434 patch.
  5294. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  5295. * PropertyGridView.cs: When showing the textbox for a grid item,
  5296. have two local variables to store the read-only and non-editable
  5297. status of a grid item (we were previously using just one variable
  5298. to do this, when actually they are slightly different).
  5299. Fixes part of #325023.
  5300. 2007-10-21 Carlos Alberto Cortez <[email protected]>
  5301. * PropertyGridView.cs: When showing a drop-down list, try to get the
  5302. values using TypeConverter.ConvertTo (to convert to a string). Fixes
  5303. part of #325023.
  5304. 2007-10-19 Carlos Alberto Cortez <[email protected]>
  5305. * PropertyGrid.cs: When updating a property and populating sub grid
  5306. items, remove the previous ones, and invalidate the specific area.
  5307. * PropertyGridView.cs: A new InvalidateBelowGridItem to invalidate the
  5308. area behind a grid item.
  5309. * GridItemCollection.cs: Add an internal Clear method, to allow us to
  5310. clean the items if needed (specially for controls implementing
  5311. ICustomTypeDescriptor and returning a variable number of properties).
  5312. Fixes #324865.
  5313. 2007-10-19 Jonathan Pobst <[email protected]>
  5314. * TextControl.cs: Clean up and document the Insert function.
  5315. 2007-10-17 Jonathan Pobst <[email protected]>
  5316. * TextControl.cs: Make sure we know our start point for updating the view
  5317. in ReplaceSelection. Fixes an issue where pasting multiline text wouldn't
  5318. update the view.
  5319. 2007-10-17 Jonathan Pobst <[email protected]>
  5320. * ListView: Couple of corcompare fixes.
  5321. 2007-10-17 Geoff Norton <[email protected]>
  5322. * XplatUIOSX.cs: Implement support for window icons in the dock. Set
  5323. the title caption of real window.
  5324. 2007-10-17 Jonathan Pobst <[email protected]>
  5325. * ErrorProvider.cs: Add the error provider's internal window to a
  5326. containercontrol when the parent changes. [Fixes bug #329714]
  5327. 2007-10-17 Geoff Norton <[email protected]>
  5328. * XplatUIOSX.cs: Implement ScrollWindow. Properly create TOOLWINDOWs.
  5329. When we make a new window; restore the old active window - fixes dialogs.
  5330. 2007-10-17 Carlos Alberto Cortez <[email protected]>
  5331. * PropertyGridView.cs: Look for RefreshPropertiesAttribute
  5332. when modifying a property, and if found then invalidate as
  5333. requested.
  5334. Fixes part of #324865.
  5335. 2007-10-17 Geoff Norton <[email protected]>
  5336. * XplatUIOSX.cs: Re-enable the native driver on the Mac. This is still
  5337. highly experimental. Fixed coordinate translation. Fixed window locations.
  5338. Initial support for clipping. Implemented NC areas and menus. Support for
  5339. launching from command line from Will Johansson ([email protected]).
  5340. * OSXStructs.cs: Add ProcessSerialNumer (Patch from Will Johansson
  5341. [email protected])
  5342. * Hwnd.cs: Add some internal structures for tracking Mac cursors.
  5343. Hwnds now track the existence of all of their children for Mac clipping.
  5344. * XplatUI.cs: Re-enabled the native driver on the Mac.
  5345. 2007-10-17 Jonathan Pobst <[email protected]>
  5346. * Line.cs: Move the InsertString function to here.
  5347. * TextControl.cs: Cleanup some duplicate code, move some InsertString
  5348. functionality to Line.
  5349. 2007-10-17 Geoff Norton <[email protected]>
  5350. * ComboBox.cs: Destroy the popup after hiding it. Fixes #322582
  5351. 2007-10-16 Gert Driesen <[email protected]>
  5352. * ButtonBase.cs: Fixed IsDefault to use assigned value instead of
  5353. always setting value to true.
  5354. * Form.cs: When changing AcceptButton, notify new and original button.
  5355. 2007-10-16 Jonathan Pobst <[email protected]>
  5356. * Form.cs: Guard against an NRE when the user sets the AcceptButton to
  5357. a custom control that implements IButtonControl instead of an actual
  5358. button. [Fixes bug #334244]
  5359. 2007-10-15 Everaldo Canuto <[email protected]>
  5360. * Form.cs: Change SelectActiveControl to internal, we need to call it in
  5361. MdiWindowManager.
  5362. * MdiWindowManager.cs: In RaiseActivated call SelectActiveControl to select
  5363. active control when activate a new mdi window.
  5364. [Fixes bug #330495]
  5365. 2007-10-15 Everaldo Canuto <[email protected]>
  5366. * ComboBox.cs: Dont implicit add listbox_ctrl on OnHandleCreated because it
  5367. is already added.
  5368. [Fixes bug #333617]
  5369. 2007-10-15 Jonathan Pobst <[email protected]>
  5370. * TextControl.cs: When SuspendRecalc is first called, reset the recalc_start
  5371. to MaxValue and recalc_end to MinValue. Currently, recalc_start is always 1,
  5372. so we always recalculate the whole document instead of just the new part.
  5373. [Fixes bug #325082]
  5374. 2007-10-15 Jonathan Pobst <[email protected]>
  5375. * LineTag.cs: Fix a case where the GetCharIndex would not return 0
  5376. when the mouse was to the left of the first character in the line.
  5377. 2007-10-15 Jonathan Pobst <[email protected]>
  5378. * TextBox.cs, TextBoxBase.cs: When setting the document's password
  5379. character, use the property instead of the variable so that the
  5380. UseSystemPasswordChar property is taken into account.
  5381. [Fixes bug #333748]
  5382. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  5383. * FolderBrowserDialog.cs: When a node is right clicked and the "New
  5384. folder" contex menu appears, actually add the new folder to it, even
  5385. if the node is not currently selected. Still use SelectedNode in case
  5386. there wasn't found a node under the pointer.
  5387. Fixes #325452.
  5388. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  5389. * ListViewItem.cs: When retrieving the focused state, the index check
  5390. should be done only when ListView is in virtualmode, as it is an
  5391. expensive check for normal mode.
  5392. 2007-10-13 Carlos Alberto Cortez <[email protected]>
  5393. * ListViewItem.cs: Make the focus state information be stored
  5394. in the ListView, not in the items. This is done to match the MS
  5395. behaviour for items that are not yet part of a ListView control;
  5396. besides that, since just one item can be focused at the same time,
  5397. we save a little space in our items.
  5398. Fixes part of #331643.
  5399. 2007-10-13 Gert Driesen <[email protected]>
  5400. * ComboBox.cs: When focus is lost, deselect the text. When setting
  5401. text of control, select all text. Do not hide selection when control
  5402. does not have focus. Fixes bug #333663.
  5403. 2007-10-13 Gert Driesen <[email protected]>
  5404. * TextBoxBase.cs: On 2.0 profile, throw ArgumentOutOFRangeException
  5405. instead of ArgumentException when SelectionLength is set to negative
  5406. value. Added same check to SelectionStart. Code formatting.
  5407. 2007-10-13 Gert Driesen <[email protected]>
  5408. * TextBoxBase.cs: Invalidate selection before changing SelectionLength
  5409. or SelectionStart. Code formatting.
  5410. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  5411. * TreeView.cs: drag_begin_x and drag_begin_y are now set to -1,
  5412. indicating that there was not a previous drag-and-drop operation going
  5413. on.
  5414. Fixes part of #325071.
  5415. 2007-10-12 Carlos Alberto Cortez <[email protected]>
  5416. * X11Dnd.cs: When DragEventArgs.Effect is set to a value not part of
  5417. AllowedEffect, don't let the drop operation happen.
  5418. Fixes #32580.
  5419. 2007-10-12 Jonathan Pobst <[email protected]>
  5420. * TextRenderer.cs: Use GDI on Windows in both the 1.1 and 2.0 profiles.
  5421. 2007-10-12 Jonathan Pobst <[email protected]>
  5422. * Line.cs, LineTag.cs: Guard against an exception when Document.Clear
  5423. is called.
  5424. 2007-10-12 Jonathan Pobst <[email protected]>
  5425. * Line.cs: Add a method that finds the tag that contains an x-coord.
  5426. * LineTag.cs: Add a method that finds the character at an x-coord using
  5427. a binary search, the old way was a linear search.
  5428. * TextControl.cs: Change FindCursor to use the above new methods.
  5429. 2007-10-11 Carlos Alberto Cortez <[email protected]>
  5430. * DragEventArgs.cs: Allow Effect to have a non allowed value (a
  5431. value different than AllowedEffect). This should be possible to
  5432. indicate that dragging is not possible in some control/area.
  5433. 2007-10-11 Jonathan Pobst <[email protected]>
  5434. * LineTag.cs: Encapsulate all variables with properties. Calculate ascent/
  5435. descent internally when font changes instead of outside code being responsible
  5436. for setting it.
  5437. * Line.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Use Tag properties
  5438. instead of accessing internal variables.
  5439. 2007-10-09 Everaldo Canuto <[email protected]>
  5440. * MdiClient.cs: Always call ArrangeIconicWindows before any arrangement and
  5441. remove special treatment for ArrangeIcons since it is already arranged.
  5442. 2007-10-09 Jonathan Pobst <[email protected]>
  5443. * TextBoxTextRenderer.cs: Draw takes a Color now instead of a Brush, as
  5444. the Win32 backend uses Color.
  5445. * Line.cs, LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs:
  5446. Refactor to store a Color instead of a Brush for Color.
  5447. 2007-10-09 Jonathan Pobst <[email protected]>
  5448. * Line.cs, LineTag.cs: Override GetHashCode to make a compiler warning go
  5449. away. I didn't realize I needed this when I refactored these earlier.
  5450. 2007-10-09 Jonathan Pobst <[email protected]>
  5451. * LineTag.cs, RichTextBox.cs, TextBoxBase.cs, TextControl.cs: Refactor to
  5452. store a Color structure and use the ResPool for back color instead of
  5453. holding onto brushes.
  5454. 2007-10-09 Jonathan Pobst <[email protected]>
  5455. * TextControl.cs: Fix how we calculate the end of the tag we are drawing.
  5456. [Fixes bug #325592]
  5457. 2007-10-08 Jonathan Pobst <[email protected]>
  5458. * MonthCalendar.cs: When ShowWeekNumbers is changed, force the calendar
  5459. to recalculate its size. Fixes a part of bug #331052.
  5460. 2007-10-08 Jonathan Pobst <[email protected]>
  5461. * NotifyIcon.cs: Set the correct mouse button when handling right mouse
  5462. button. Fixes a part of bug #331052.
  5463. 2007-10-08 Jonathan Pobst <[email protected]>
  5464. * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
  5465. the CreateParams.
  5466. * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window
  5467. decorations.
  5468. [Fixes bug #330986]
  5469. 2007-10-08 Jonathan Pobst <[email protected]>
  5470. * TextBoxTextRenderer.cs: Don't make this a static class, as static
  5471. doesn't exist in 1.1. (Thanks jb!)
  5472. 2007-10-08 Jonathan Pobst <[email protected]>
  5473. * TextBoxTextRenderer.cs: Abstract text measuring and drawing to this
  5474. class to allow us to use different backends on different platforms.
  5475. Linux uses the current [Draw|Measure]String backend. Windows uses
  5476. the TextRenderer.[Draw|Measure]Text backend, which uses GDI instead
  5477. of GDI+. This leads to better looking text and more accurate measurements
  5478. on Windows, fixing many of the reported issues.
  5479. * Line.cs, LineTag.cs: Update to use TextBoxTextRenderer.
  5480. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  5481. * FolderBrowserDialog.cs: When running on Windows,
  5482. try to detect paths such "C:" and add Path.DirectorySeparatorChar,
  5483. since we must match both "C:" and "C:\" forms. A little hackish, but
  5484. works.
  5485. Fixes #325247.
  5486. 2007-10-07 Carlos Alberto Cortez <[email protected]>
  5487. * ListView.cs: When calling EndEdit (after editing an item),
  5488. create a new instance of LabelEditEventArgs to keep clean the fields
  5489. in case we get a new call to BeginEdit; also do Application.DoEvents
  5490. to have focus in synch. This is a fix similar to TreeView's #325244.
  5491. 2007-10-07 Andreia Gaita <[email protected]>
  5492. * HtmlDocument.cs, HtmlElement.cs, WebBrowser.cs: Added dom support
  5493. * WebBrowserBase.cs: Added dialog support, calling the
  5494. WebBrowserDialogs classes for each specific dialog type.
  5495. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  5496. * ListView.cs: When the last item is focused and is removed,
  5497. move the focus to the previous item (in Items order). This is what MS
  5498. does.
  5499. Fixes #330415.
  5500. 2007-10-06 Carlos Alberto Cortez <[email protected]>
  5501. * ListView.cs: In ListViewItemCollection, make Remove call RemoveAt,
  5502. instead of the opposite (RemoveAt call Remove). This is a better
  5503. approach since we don't need to to a pair of traversals when using
  5504. RemoveAt.
  5505. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  5506. * TreeView.cs: When Keys.Left is pressed, before trying to Collapse
  5507. check that the node actually has nodes, and if not, move to the
  5508. parent node instead.
  5509. Fixes #325265.
  5510. 2006-10-05 Carlos Alberto Cortez <[email protected]>
  5511. * TreeView.cs: Move the previous change to the general case (to
  5512. call Application.DoEvents in cases where the method was called by
  5513. different places).
  5514. 2007_10-05 Carlos Alberto Cortez <[email protected]>
  5515. * TreeView.cs: When calling EndEdit and we need to hide the textbox,
  5516. call Application.DoEvents. This is neccessary when we get a call to
  5517. BeginEdit from an AfterLabelEdit handler, because the focus always
  5518. goes to the TreeView, even if we try to give it to our
  5519. LabelEditTextBox. The call do Application.DoEvents seems to
  5520. synchronize the focus, basically.
  5521. Fixes #325244.
  5522. 2007-10-04 Carlos Alberto Cortez <[email protected]>
  5523. * TreeView.cs: When AfterLabelEdit event is fired, TreeNode.IsEditing
  5524. should be false. This also removes some nasty recursive paths. Fixes
  5525. part of #325244.
  5526. 2007-10-04 Everaldo Canuto <[email protected]>
  5527. * MdiClient.cs: When cascade (layout) mdi window that is maximized, set the
  5528. state to normal. Also resize window when cascading. Fixes #325433.
  5529. 2007-10-04 Jonathan Pobst <[email protected]>
  5530. * RichTextBox.cs: When SelectionColor is set to Color.Empty, use
  5531. DefaultForeColor, as drawing empty colored lines isn't very useful.
  5532. [Fixes the not drawn lines part of bug #324358]
  5533. 2007-10-04 Jonathan Pobst <[email protected]>
  5534. * TextControl.cs: Move Line and LineTag classes into separate files to
  5535. make things easier to find.
  5536. * Line.cs, LineTag.cs: Bring coding standards up to Mono's guidelines.
  5537. * RichTextBox.cs: Capitalize LineTag.Length property access.
  5538. - This is purely an organizational/formatting change, no logic changed. -
  5539. 2007-10-03 Everaldo Canuto <[email protected]>
  5540. * ThemeWin32Classic.cs: Do not show focus rectangle in radio buttons when
  5541. text is empty.
  5542. 2007-10-03 Everaldo Canuto <[email protected]>
  5543. * ThemeWin32Classic.cs: Do not show focus rectangle in checkboxes when
  5544. text is empty.
  5545. 2007-10-03 Everaldo Canuto <[email protected]>
  5546. * ComboBox.cs: On contructor use backgound_color instead of BackColor to
  5547. prevent calling of OnBackColorChanged. Fixes #325321.
  5548. 2007-10-03 Everaldo Canuto <[email protected]>
  5549. * TextBox.cs: When check enabled uses Enabled property instead of is_enabled
  5550. because control can be disabled because owner is disabled.
  5551. 2007-10-02 Jonathan Pobst <[email protected]>
  5552. * ComboBox.cs: For the 1.1 profile, the default SelectedText is
  5553. string.Empty, test failed from previous change.
  5554. 2007-10-02 Jonathan Pobst <[email protected]>
  5555. * TextBoxBase.cs: For the 1.1 profile, the default SelectedText
  5556. is null, not String.Empty. See bug #323038.
  5557. 2007-10-01 Jonathan Pobst <[email protected]>
  5558. * TextControl.cs: Change the margins to match MS a little better.
  5559. Still not perfect for X11 due to some DrawString differences, but
  5560. is still an improvement over the old stuff.
  5561. Partially fixes #324467.
  5562. 2007-09-30 Carlos Alberto Cortez <[email protected]>
  5563. * FolderBrowserDialog.cs: When using MyComputer as
  5564. RootFolder, let absolute paths be considered as valid ones. Also, use
  5565. Path.DirectorySeparatorChar instead of Path.AltDirectorySeparatorChar,
  5566. for Windows compatibility.
  5567. Partially fixes #325247.
  5568. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  5569. * FolderBrowserDialog.cs: Fix the recursive FindPathInNodes method.
  5570. Also remove the stack.Count > 0 check in FBTreeView.SetSelectedNode
  5571. method, since it causes the dialog to not select folders directly
  5572. under the root path (when setting SelectedPath property).
  5573. 2007-09-29 Carlos Alberto Cortez <[email protected]>
  5574. * TreeNode.cs: When calling Expand/Collapse and need to call
  5575. ExpandBelow/CollapseBelow respectively, take into account
  5576. partially visible nodes (previously Expanding/Collapsing
  5577. a partially visible node in the bottom was not updating its +- sign).
  5578. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  5579. * TreeView.cs: When calling Expand on a TreeNode, and we need to
  5580. expand nodes below (ExpandBelow), scroll the entire Viewport
  5581. area if the node is above it and not visible (instead of scrolling
  5582. the area from node's Bottom, which applies only when the node is
  5583. visible).
  5584. Fixes #325266.
  5585. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  5586. * TreeView.cs: When calling ExpandAll, set SelectedNode to the top
  5587. node in the bottom area (as .Net does). This is done to preserve the
  5588. scroll position when ExpandAll is called before handle is created for
  5589. the 1.1 profile (bottom area, as opposed to top area in 2.0).
  5590. Fixes #324103.
  5591. 2007-09-28 Carlos Alberto Cortez <[email protected]>
  5592. * TreeView.cs: When calling ExpandAll, don't move the scroll to the
  5593. bottom area if we are in fact not using the vertical scroll bar.
  5594. Fixes #324824.
  5595. 2007-09-27 Jonathan Pobst <[email protected]>
  5596. * Control.cs: Comment out a double buffering optimization that doesn't
  5597. take into account invalidates created in OnPaint, causing the control
  5598. to never be redrawn. It would take quite a bit of work to work around
  5599. this, but I left it commented with an explanation for later possible
  5600. optimization.
  5601. [Fixes bug #328681]
  5602. 2007-09-27 Jonathan Pobst <[email protected]>
  5603. * Control.cs: Ask parent to perform a layout if control is AutoSize and
  5604. the text changes.
  5605. * RadioButton.cs: Implement GetPreferredSizeCore.
  5606. [Fixes bug #328672]
  5607. 2007-09-26 Jonathan Pobst <[email protected]>
  5608. * RichTextBox.cs, TextBoxBase.cs, WindowsFormsSynchronizationContext.cs:
  5609. corcompare stuffs.
  5610. 2007-09-26 Jonathan Pobst <[email protected]>
  5611. * Application.cs: Move the sync context stuff to Run instead of RunLoop
  5612. so that it doesn't get uninstalled on modal forms.
  5613. * Control.cs: Install a sync context when a control is created.
  5614. * WindowsFormsSyncronizationContext.cs: Create a private static control
  5615. to invoke on. This is easier than trying to find a created control we
  5616. can use.
  5617. [Fixes bug #327608]
  5618. 2007-09-25 Jonathan Pobst <[email protected]>
  5619. * Application.cs: Install a WindowsFormsSynchronizationContext in the
  5620. run loop, and uninstall it when done.
  5621. * WindowsFormsSynchronizationContext.cs: Implement.
  5622. [Fixes the common case in bug #327608]
  5623. 2007-09-23 Gert Driesen <[email protected]>
  5624. * DataGridViewCellCollection.cs: Added argument checks for indexers.
  5625. Use case-insensitive lookup of column name in indexer. Code
  5626. formatting.
  5627. 2007-09-21 Carlos Alberto Cortez <[email protected]>
  5628. * TreeNode.cs: When collapsing or expanding a node, check whether its
  5629. change will affect the visible area (we were previously doing a
  5630. IsVisible check, but that check is not enough since children nodes
  5631. could be still visible). Fixes part of #325266.
  5632. 2007-09-21 Jonathan Pobst <[email protected]>
  5633. * TreeView.cs: Always select the first node when the TreeView gets
  5634. focus if there is no currently selected node.
  5635. [Fixes bug #324279]
  5636. 2007-09-21 Jonathan Pobst <[email protected]>
  5637. * TreeView.cs: Do not raise BeforeSelect or AfterSelect when the
  5638. node being selected is null.
  5639. [Patch from Yves Bastide fixes bug #326858]
  5640. 2007-09-20 Carlos Alberto Cortez <[email protected]>
  5641. * TreeNode.cs: Add an internal ArePreviousNodesExpanded, to know
  5642. whether all the parent nodes are expanded.
  5643. * TreeNodeCollection.cs: When adding a new node an calling SetupNode,
  5644. call RecalculateVisibleOrder if all previous nodes are expanded.
  5645. Before that we were doing a IsVisible check, but sometimes the node
  5646. is not in the visible area, but _should_already be ready, because of
  5647. all previous nodes are expanded. Fixes #325259.
  5648. 2007-09-20 Jonathan Pobst <[email protected]>
  5649. * ToolStripSplitButton.cs: Call the ButtonClick event if the button
  5650. portion of the item is clicked.
  5651. 2007-09-20 Jonathan Pobst <[email protected]>
  5652. * TextControl.cs: Do not tell the system to move the cursor if the
  5653. textbox isn't focused. Fixes part of bug #322668.
  5654. 2007-09-20 Jonathan Pobst <[email protected]>
  5655. * ComboBox.cs: When there are no items, do not show the dropdown if
  5656. the down arrow is clicked. Fixes part of bug #322668.
  5657. 2007-09-20 Jonathan Pobst <[email protected]>
  5658. * ToolStripComboBox.cs: Manually set the size of this control in the
  5659. constructor, as it doesn't seem to be the same as DefaultSize.
  5660. Fixes a failing monobuild test.
  5661. 2007-09-19 Jonathan Pobst <[email protected]>
  5662. * DateTimePicker.cs: If the user sets MinDate to DateTime.MinValue,
  5663. change it to DateTimePicker.MinDateTime. [Fixes bug #326609]
  5664. 2007-09-19 Jonathan Pobst <[email protected]>
  5665. * Theme.cs: FileDialogs should be using DesktopDirectory instead of
  5666. Desktop. This lets it work for people who have moved their desktops
  5667. from the default location on windows. For people who have not, both
  5668. values are the same, so it shouldn't hurt anything. [Fixes bug #325270]
  5669. 2007-09-18 Jonathan Pobst <[email protected]>
  5670. * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,
  5671. but when the base constructor sets this, the control is null. Set it
  5672. again in the constructor. Fixes a failing monobuild test.
  5673. 2007-09-18 Jonathan Pobst <[email protected]>
  5674. * ToolStripDropDownItem.cs: Make sure Click and DropDownOpened events
  5675. get called.
  5676. * ToolStripSplitButton.cs: Make sure MouseDown and MouseUp events get
  5677. called.
  5678. 2007-09-18 Jonathan Pobst <[email protected]>
  5679. * ToolStrip.cs: Don't show tooltips for ToolStripTextBoxes, they
  5680. will handle it themselves.
  5681. * ToolStripItem.cs: When deciding what the text of a tooltip should
  5682. be, use the Text property instead of the text field.
  5683. * ToolStripTextBox.cs: Handle tooltips.
  5684. [Fixes bugs #325417 and #325973]
  5685. 2007-09-18 Jonathan Pobst <[email protected]>
  5686. * ToolStripDropDownButton.cs: Only drop down overflow menu with a
  5687. left click. Fixes the easy part of bug #325969.
  5688. 2007-09-18 Jonathan Pobst <[email protected]>
  5689. * ToolStrip.cs: Set AutoSizeMode back to GrowAndShrink to refix
  5690. bug #325406, but set a minimum for StatusStrip to 22 to keep
  5691. bug #325390 fixed. I think this minimum would have been figured
  5692. up automatically if the grip was actually a ToolStripItem, but it
  5693. currently is not.
  5694. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  5695. * ListView.cs: max_label_wrapping is now 30 pixels instead of 38,
  5696. as this is apparently the actual value used by .Net. Also apply
  5697. ItemPadding in Details view only, and decrease the general width padding,
  5698. to have only the needed. This should fix #324340 in Windows too.
  5699. 2007-09-18 Carlos Alberto Cortez <[email protected]>
  5700. * ListViewItem.cs: Don't Invalidate item if parent is inside
  5701. a BeginUpdate/EndUpdate block. This prevents to have differences
  5702. between the ListView and items state, as well as avoid some exceptions
  5703. there.
  5704. * ListView.cs: Make 'updating' field internal.
  5705. 2007-09-17 Jonathan Pobst <[email protected]>
  5706. * ToolStripControlHost.cs: Realign control when ControlAlign changes.
  5707. * ToolStripItem.cs: Use ImageScalingSize when calculating preferred
  5708. size if appropriate.
  5709. Fixes reopened bug #325414.
  5710. 2007-09-17 Jonathan Pobst <[email protected]>
  5711. * ToolStrip.cs: Set AutoSizeMode back to GrowOnly.
  5712. * ToolStripItem.cs: Invalidate before and after our new autosize when
  5713. text changes.
  5714. Fixes reopened bug #325390.
  5715. 2007-09-17 Jonathan Pobst <[email protected]>
  5716. * ToolStripMenuItem.cs: Make sure we invalidate when clicked so
  5717. mnemonics can be drawn or undrawn correctly. Fixes reopened bug
  5718. #325044.
  5719. 2007-09-17 Jonathan Pobst <[email protected]>
  5720. * Control.cs: Do WM_CONTEXTMENU before OnMouseUp. [Fixes bug #325535]
  5721. 2007-09-14 Carlos Alberto Cortez <[email protected]>
  5722. * ColumnHeader.cs: When drawing column text, use EllipsisCharacter
  5723. instead of EllipsisWord (by equistango at gmail.com). Fixes part of
  5724. #82734.
  5725. 2007-09-14 Jonathan Pobst <[email protected]>
  5726. * ToolStrip.cs: Make ToolStrip selectable when TabStop = true. Find an
  5727. item to select when the ToolStrip is selected.
  5728. * ToolStripControlHost: Realign the control when the bounds or visibility
  5729. change.
  5730. * ToolStripItem.cs: When selected, if it's a control host, focus the control.
  5731. * ToolStripOverflow.cs: When laying out the drop down, respect the item's
  5732. preferred height.
  5733. * ToolStripTextBox.cs: OnPaintInternal should call base.OnPaintInternal, not
  5734. base.OnPaint. Was causing text not to be drawn.
  5735. 2007-09-14 Jonathan Pobst <[email protected]>
  5736. * SplitterPanel.cs: Ignore attempts to set AutoSizeMode.
  5737. 2007-09-13 Carlos Alberto Cortez <[email protected]>
  5738. * TreeView.cs: When creating the label edit text box,
  5739. set is initially to Visible = false. This is done to
  5740. prevent a confusion in the layout which makes it to lose
  5741. focus when shown the first time. Fixes part of #82592.
  5742. 2007-09-13 Andreia Gaita <[email protected]>
  5743. * WebBrowserBase.cs: add FocusOption enumeration for finer focus control
  5744. 2007-09-13 Jonathan Pobst <[email protected]>
  5745. * ToolStrip.cs: Take Margin into account when calculating preferred
  5746. size. Also, allow preferred size to get smaller than the explicit
  5747. size.
  5748. * ToolStripTextBox.cs: Don't change the GetPreferredSize implementation.
  5749. First step towards fixing bug #82747.
  5750. 2007-09-13 Jonathan Pobst <[email protected]>
  5751. * TreeView.cs: Applied patch from [email protected] to not paint the
  5752. full row select background over the plus/minus glyph. Also, turn
  5753. off the focus rectangle for full row select since MS doesn't seem
  5754. to ever paint it. [Fixes bug #81839]
  5755. 2007-09-13 Jonathan Pobst <[email protected]>
  5756. * ToolStrip.cs: Don't FocusInternal if there is no selected item.
  5757. This was causing keyboard opened dropdowns to lose focus.
  5758. [Fixes bug #82803]
  5759. 2007-09-13 Jonathan Pobst <[email protected]>
  5760. * Control.cs: If Rectangle.Empty is passed to Invalidate, use
  5761. ClientRectangle instead. [Fixes bug #82838]
  5762. 2007-09-13 Jonathan Pobst <[email protected]>
  5763. * SplitContainer.cs: We can't reset Visible on every layout because
  5764. someone may have set Visible = false explicitly on a SplitterPanel.
  5765. Make sure when we switch orientation the SplitterDistance does not
  5766. change. Fixes two failing tests.
  5767. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  5768. * TreeView.cs: Use MeasureTextInternal instead of MeasureText in
  5769. TextRenderer, since the latter is only available in 2.0.
  5770. 2007-09-13 Ivan N. Zlatev <[email protected]>
  5771. * Cursor.cs: Fix Cursor.Current to apply Cursor.Default.
  5772. * SplitContainer.cs: Implement FixedPanel layouting.
  5773. 2007-09-12 Andreia Gaita <[email protected]>
  5774. * WebBrowserBase.cs: setup shutdown routine
  5775. 2007-09-12 Andreia Gaita <[email protected]>
  5776. * Application.cs: Let keyboard events that are targetted
  5777. to non-mwf windows hosted inside mwf (as in, webbrowser),
  5778. propagate properly. Fixes keyboard handling on the webbrowser.
  5779. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  5780. * ListView.cs: When handling MouseUp event and we are
  5781. highligting a node with the mouse right button, don't trigger
  5782. Before/AfterSelecting event, since we are not actually selecting
  5783. the node.
  5784. 2007-09-12 Carlos Alberto Cortez <[email protected]>
  5785. * TreeView.cs: When editing a node, modify the edit text box
  5786. depending on the text length (as you are typing), like MS does.
  5787. 2007-09-12 Jonathan Pobst <[email protected]>
  5788. * ToolStrip.cs: Fixup preferred size calculations for vertical toolbars.
  5789. Override GetPreferredSizeCore to perform calculations. Remove custom
  5790. autosize logic. [Fixes bug #82739]
  5791. 2007-09-12 Jonathan Pobst <[email protected]>
  5792. * TextBoxBase.cs: Modified should default to false.
  5793. 2007-09-11 Jonathan Pobst <[email protected]>
  5794. * Control.cs: Update the anchoring distances even when layout is supspended.
  5795. Patch provided by George fixes bug #82805.
  5796. 2007-09-11 Jonathan Pobst <[email protected]>
  5797. * Control.cs: Provide a setter for ExplicitHeight.
  5798. * TextBoxBase.cs: Now that we have the implementation for explicit heights,
  5799. remove the hacks in here for requested_height.
  5800. [Fixes bug #82749]
  5801. 2007-09-11 Jonathan Pobst <[email protected]>
  5802. * ScrollBar.cs: Fix an issue reported on the lists where setting a scrollbar's
  5803. Maximum to lower that its current Value caused an ArgumentException by setting
  5804. the Value to the new Maximum.
  5805. 2007-09-11 Jonathan Pobst <[email protected]>
  5806. * ThemeWin32Classic.cs: Math is hard! Fix some math so that the TrackBar
  5807. handle moves to the closest tick when it is being dragged.
  5808. [Fixes bug #82751]
  5809. 2007-09-11 Jonathan Pobst <[email protected]>
  5810. * ToolStripManager.cs: When we have added MDI buttons onto a MenuStrip, we
  5811. can't let them count as real items when calculating where to merge in the
  5812. user's items. [Fixed bug #82786]
  5813. 2007-09-10 Jonathan Pobst <[email protected]>
  5814. * ToolStripMenuItem.cs: Add a parent type check so we don't crash on people
  5815. who want to add a menu item directly onto a toolstrip.
  5816. [Fixes bug #82775, part II]
  5817. 2007-09-10 Jonathan Pobst <[email protected]>
  5818. * StatusStrip.cs: Synchronize SetDisplayedItems with the ToolStrip version.
  5819. * ToolStrip.cs: If a ToolStripItem set to not visible is added to a ToolStrip,
  5820. don't set it to available.
  5821. * ToolStripItem.cs: When Visible is changed, tell the owner to perform a layout.
  5822. [Fixes bug #82727, part II]
  5823. 2007-09-10 Jonathan Pobst <[email protected]>
  5824. * StatusStrip.cs: Change item placement to None if not visible.
  5825. * ToolStripItem.cs: Invalidate when InternalVisible changes.
  5826. These should have been committed to fix 82723, but I missed them.
  5827. 2007-09-10 Jonathan Pobst <[email protected]>
  5828. * ToolStrip.cs: Make sure ItemClicked is raised before the ToolStripItem's
  5829. Click, and that it is only called once.
  5830. * ToolStripMenuItem.cs: Call OnClick even when there are dropdown items.
  5831. * ToolStripDropDownItem.cs: Override HandleItemClick so dropdowns stay
  5832. dropped down.
  5833. [Fixes bug #82775]
  5834. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  5835. * ColumnHeaderSample.cs: Use 5 pixels as extra height instead of 8
  5836. to match .Net.
  5837. * ThemeWin32Classic.cs: For the columns text, use 5 pixels as left padding
  5838. instead of 8, just like above. Partially fixes #82734.
  5839. 2007-09-08 Carlos Alberto Cortez <[email protected]>
  5840. Patch by Ernesto Carrea <equistango at gmail.com>. Partially
  5841. fixes #82734.
  5842. * ListView.cs: Remove extra space between rows in Details view (match
  5843. .Net).
  5844. * ThemeWin32Classic.cs: Header text should use ListView.Font, not
  5845. the DefaultFont.
  5846. 2007-09-08 Gert Driesen <[email protected]>
  5847. * Application.cs: Modified ProductVersion to return value of
  5848. AssemblyInformationVersion if available, and fallback to assembly
  5849. version. Fixes bug #82746. Code formatting.
  5850. * BindingSource.cs: Remove NIE from Dispose, and mark it MonoTODO
  5851. instead.
  5852. 2007-09-07 Carlos Alberto Cortez <[email protected]>
  5853. * Control.cs: When updating ZOrder for a child control,
  5854. take into account the implicit ones (we need it in our controls
  5855. using them). Fixes #82642.
  5856. 2007-09-07 Jonathan Pobst <[email protected]>
  5857. * ToolStripItem.cs: Add support for animated images.
  5858. [Fixes bug #82726]
  5859. 2007-09-07 Jonathan Pobst <[email protected]>
  5860. * ToolStrip.cs: Make sure we aren't drawing anything that isn't
  5861. visible. [Fixes bug #82727]
  5862. 2007-09-06 Jonathan Pobst <[email protected]>
  5863. * ToolStripItem.cs: If AutoSize changes the size of our item, invalidate
  5864. so we repaint using the new size. [Fixes bug #82723]
  5865. 2007-09-06 Jonathan Pobst <[email protected]>
  5866. * TreeView.cs: If ShowLines is true, we should ignore the FullRowSelect
  5867. option. [Fixes bug #81779]
  5868. 2007-09-06 Jonathan Pobst <[email protected]>
  5869. * TreeView.cs: Override HandleClick because the StandardClick style is
  5870. set to false. According to MSDN (and testing), the click events should
  5871. only be raised when the click occurs on a TreeNode. [Fixes bug #81739]
  5872. 2007-09-06 Jonathan Pobst <[email protected]>
  5873. * ToolStripTextBox.cs: Invalidate our textbox when it loses focus, so
  5874. the border will disappear. Fixes reopened #82653.
  5875. 2007-09-06 Jonathan Pobst <[email protected]>
  5876. * Control.cs: If the control is autosize, and its preferred size changes
  5877. when it lays out its children, tell its parent so it can be re-layed out.
  5878. Fixing some of the fallout from r85433.
  5879. 2007-09-06 Jonathan Pobst <[email protected]>
  5880. * ThemeWin32Classic.cs: Fix a NRE caused by r85427 because RadioButton
  5881. and CheckBox share some code.
  5882. 2007-09-06 Jonathan Pobst <[email protected]>
  5883. * TrackBar.cs: Only call OnScroll if we actually changed the Value of
  5884. the TrackBar, not every mouse move. [Fixed bug #82718]
  5885. 2007-09-06 Jonathan Pobst <[email protected]>
  5886. * ThemeWin32Classic.cs: Allow a CheckBox to be rendered like a Button
  5887. under 2.0 rendering. [Fixes bug #82657]
  5888. 2007-09-06 Jonathan Pobst <[email protected]>
  5889. * TreeView.cs: If we found a TreeNode to display a context menu, but
  5890. it doesn't have one to show, let the TreeView display its menu
  5891. instead. [Fixes bug #82680]
  5892. 2007-09-06 Jonathan Pobst <[email protected]>
  5893. * ToolStripTextBox.cs: TextBox no longer call OnPaint, we need to use
  5894. OnPaintInternal instead. Give the internal TextBox a Border property
  5895. so it can draw itself more correctly. [Fixes bug #82653]
  5896. 2007-09-06 Zoltan Varga <[email protected]>
  5897. * HtmlHistory.cs HtmlWindow.cs HtmlWindowCollection.cs ListBindingHelper.cs WindowsFormsSection.cs WindowsFormsSynchronizationContext.cs: Stubs for missing 2.0 classes.
  5898. 2007-09-05 Everaldo Canuto <[email protected]>
  5899. * ComboBox.cs: Adjust combobox button state to reflect current state when
  5900. back to enabled = true. Fixes first issue of #82654.
  5901. 2007-09-05 Everaldo Canuto <[email protected]>
  5902. * Control.cs: Fix last patch regression, prevent forms to update zorder when
  5903. setting visible property.
  5904. 2007-09-05 Everaldo Canuto <[email protected]>
  5905. * Control.cs: Update zorder after control creation in SetVisibleCore, it
  5906. fix zorder for controls initially created as non visible. Fixes #82667.
  5907. 2007-09-04 Everaldo Canuto <[email protected]>
  5908. * ThemeWin32Classic.cs: Adjust checkbox light color to ControlLightLight to
  5909. mimic win32 look. Fixes #82656.
  5910. 2007-09-01 Zoltan Varga <[email protected]>
  5911. * FileDialogCustomPlace.cs FileDialogCustomPlacesCollection.cs:
  5912. Stubs for new net 3.5 classes.
  5913. 2007-08-31 Carlos Alberto Cortez <[email protected]>
  5914. * ListViewItem.cs: In ListViewItemCollection operations calculate
  5915. Layout for owner as well as invalidate it. Fixes part of #82642.
  5916. 2007-08-31 Jonathan Pobst <[email protected]>
  5917. * ToolStripItem.cs: Take Parent/Owner's Enabled state in to account
  5918. when returning Enabled. [Fixes bug #82651]
  5919. 2007-08-30 Everaldo Canuto <[email protected]>
  5920. * ToolBar.cs: Fix button size for non flat toolbars. Fixes #82368.
  5921. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  5922. * ListView.cs: Put item padding info in a single place
  5923. (Theme.ListViewItemPaddingWidth) to have working AutoResize on
  5924. columns again.
  5925. * ThemeWin32Classic.cs:
  5926. * Theme.cs: Likewise.
  5927. 2007-08-30 Carlos Alberto Cortez <[email protected]>
  5928. * ListView.cs: When a ListViewSubItem instance is invalidated,
  5929. invoke Invalidate on parent ListViewItem, not parent ListView.
  5930. Fixes #81570.
  5931. 2007-08-30 Jonathan Pobst <[email protected]>
  5932. * ListView.cs, ListViewItem.cs: corcompare stuffs.
  5933. 2007-08-30 Jonathan Pobst <[email protected]>
  5934. * BindingMemberInfo.cs: Implement == and != operators.
  5935. 2007-08-30 Jonathan Pobst <[email protected]>
  5936. * HtmlElementEventArgs.cs: Implement properties.
  5937. 2007-08-29 Jonathan Pobst <[email protected]>
  5938. * HtmlElementErrorEventArgs.cs, HtmlElementErrorEventHandler.cs: Added.
  5939. 2007-08-29 Jonathan Pobst <[email protected]>
  5940. * TabControl.cs: I was looking into the MonoTODO on TabPageCollection.
  5941. Add (string,string,string) to implement the imagekey. It turns out, we
  5942. use the requested imagekey whereas .Net does not. So I broke ours to match
  5943. theirs. :(
  5944. 2007-08-29 Jonathan Pobst <[email protected]>
  5945. * Form.cs, UserControl.cs: Override ValidateChildren, AutoValidate.
  5946. 2007-08-29 Jonathan Pobst <[email protected]>
  5947. * ContainerControl.cs: Implement ValidateChildren and new Validate overload.
  5948. 2007-08-29 Gert Driesen <[email protected]>
  5949. * FolderBrowserDialog.cs: Set Tag of newly created node, and keep it
  5950. up-to-date. Fixes bug #82618.
  5951. 2007-08-29 Everaldo Canuto <[email protected]>
  5952. * TextBoxBase.cs: Call CalculateDocument after changes Lines property to
  5953. reflect document changes. Fixes #82367.
  5954. 2007-08-29 Carlos Alberto Cortez <[email protected]>
  5955. * ListView.cs: Add/fix some override differences between 1.1 and 2.0,
  5956. as well as add new ones. This should make work the BackgroundImage
  5957. property for ListView again.
  5958. 2007-08-28 Jonathan Pobst <[email protected]>
  5959. * DataGrid.cs, DataGridViewButtonColumn.cs, DataGridViewCheckBoxColumn.cs,
  5960. DataGridViewComboBoxColumn.cs, DataGridViewImageColumn.cs, DataGridViewLinkColumn.cs,
  5961. DataGridViewTextBoxColumn.cs, ToolTip.cs: corcompare stuffs.
  5962. 2007-08-28 Jonathan Pobst <[email protected]>
  5963. * Control.cs, XPlatUI.cs, XPlatUIDriver.cs, XPlatUIWin32.cs: Implement
  5964. IsKeyLocked.
  5965. 2007-08-28 Jonathan Pobst <[email protected]>
  5966. * Cursor.cs: Add HotSpot, hook into XPlatUI.GetCursorInfo.
  5967. * XPlatUIWin32.cs: Implement hotspot lookup in GetCursorInfo.
  5968. 2007-08-28 Jonathan Pobst <[email protected]>
  5969. * RadioButton.cs: Use 2.0 rendering. Use base implementation of TextAlign.
  5970. * Theme.cs, ThemeWin32Classic.cs: Implement 2.0 rendering for RadioButton.
  5971. 2007-08-27 Ivan N. Zlatev <[email protected]>
  5972. * CursorConverter.cs: Implement conversion to InstanceDescriptor.
  5973. 2007-08-27 Ivan N. Zlatev <[email protected]>
  5974. * GridEntry.cs: Implement GetService.
  5975. 2007-08-27 Jonathan Pobst <[email protected]>
  5976. * LabelEditTextBox.cs, TreeView.cs: After hiding the textbox used
  5977. for label editting, make sure we focus back on the TreeView.
  5978. [Fixes bug #82590]
  5979. 2007-08-27 Carlos Alberto Cortez <[email protected]>
  5980. * ListView.cs: Add some 2.0 overrides.
  5981. 2007-08-27 Everaldo Canuto <[email protected]>
  5982. * Form.cs: Uses opacity var instead of Opacity property in CreateHandle
  5983. because getter dont returns right value before handle creation. Thanks
  5984. to George. Fixes #82569.
  5985. 2007-08-27 Everaldo Canuto <[email protected]>
  5986. * Theme.cs: Revert last patch, it causes error under win32.
  5987. 2007-08-27 Everaldo Canuto <[email protected]>
  5988. * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of
  5989. Environment.SpecialFolder.Desktop in Places method, Desktop returns the
  5990. logical Desktop rather than the physical file system location. Fixes #82603.
  5991. 2007-08-26 Everaldo Canuto <[email protected]>
  5992. * MessageBox.cs: Add clipboard copy (ctrl+c) to messagebox. Thanks Andy Hume
  5993. for the patch. Fixes #82568.
  5994. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  5995. * ListView.cs: Add a pair of missing 2.0 ListViewItemCollection.Insert
  5996. methods.
  5997. 2007-08-26 Carlos Alberto Cortez <[email protected]>
  5998. * ListViewInsertionMark.cs: New stubbed class.
  5999. 2007-08-25 Gert Driesen <[email protected]>
  6000. * FolderBrowserDialog.cs: When adding folder, immediately create the
  6001. directory with temporary name and rename the directory when editing
  6002. finishes. This matches MS. Ensure the node for the new folder is
  6003. selected and LabelEdit is disabled, when editing is either finished
  6004. or cancelled.
  6005. 2007-08-25 Gert Driesen <[email protected]>
  6006. * TreeView.cs: When editing label of node, ensure node is visible.
  6007. 2007-08-25 Ivan N. Zlatev <[email protected]>
  6008. * PropertyGridView.cs: Set the value only if it has changed.
  6009. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  6010. * ListView.cs: Some more code refactoring to add support sorting
  6011. with groups (now for Details view). Remove unused code also.
  6012. 2007-08-24 Jonathan Pobst <[email protected]>
  6013. * NodeLabelEditEventArgs.cs: EndEdit immediately when CancelEdit is called.
  6014. Not a big fan of reacting immediately to a field in an EventArg, but that's
  6015. the way it's done. (This is part of the previous commit that got left out.)
  6016. 2007-08-25 Gert Driesen <[email protected]>
  6017. * FolderBrowserDialog.cs: Removed need for separate description field.
  6018. Replaced "" with string.Empty. Fixed tabindex. Ensure OK button
  6019. has focus when dialog box is displayed again, regardless of what
  6020. button was pressed the previous time. Set RootFolder and SelectedPath
  6021. each time dialog box is displayed. This ensures the treeview is
  6022. refreshed, and fixes bug #82579. Do no hide selected node in TreeView
  6023. when it does not have focus. Added support for more special folders.
  6024. 2007-08-24 Jonathan Pobst <[email protected]>
  6025. * TreeView.cs: Create a CancelEdit method. Clone the edit_args in EndEdit
  6026. before calling AfterLabelEdit. If the user calls BeginEdit in that event,
  6027. it resets the edit_args.
  6028. * TreeNode.cs: Call CancelEdit if the user passes cancel = true to EndEdit.
  6029. [Fixes bug #82577]
  6030. 2007-08-24 Gert Driesen <[email protected]>
  6031. * FolderBrowserDialog.cs: Modifies form caption and text of new folder
  6032. button to match MS. Provide more meaningful exception message for
  6033. invalid RootFolder value. Use zero-length string when SelectedPath
  6034. is set to null. Allow non-rooted paths in SelectedPath, but ignore
  6035. them in FolderBrowserTreeView. Allow folders to be created in
  6036. RootFolder. Fixes bug #82576.
  6037. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  6038. * ListView.cs: Correctly compute the layout_ht (height) when using groups,
  6039. since we need to take into account the group headers and the margin
  6040. between them.
  6041. * ListViewGroup.cs: Add a rows field to store the number of rows per
  6042. group.
  6043. 2007-08-24 Rolf Bjarne Kvinge <[email protected]>
  6044. * DateTimePicker.cs: The MS' MTB has a really stupid year formatting.
  6045. Anyways, let's just follow the lead.
  6046. 2007-08-24 Jonathan Pobst <[email protected]>
  6047. * CheckBox.cs: Set the AutoSizeMode to GrowAndShrink.
  6048. * Form.cs, GroupBox.cs: Don't skip Right or Bottom anchored
  6049. controls in GetPreferredSizeCore.
  6050. * ThemeWin32Classic.cs: Tweak text drawing of CheckBoxes.
  6051. [Fixes bug #82488]
  6052. 2007-08-24 Jonathan Pobst <[email protected]>
  6053. * PrintDialog.cs: Need to instantiate the form variable here too.
  6054. 2007-08-24 Carlos Alberto Cortez <[email protected]>
  6055. * ListView.cs: Do some reorganization to support sorting in groups,
  6056. by doing the layout sequentially in ListView.Items. Also add support
  6057. for the Default Group, which should be available for items with no
  6058. group assigned.
  6059. * ListViewGroup.cs: Add support for DefaultGroup. Include new members
  6060. for storing layout info also.
  6061. * ListViewGroupCollection.cs: Add a DefaultGroup as part of the
  6062. collection, as well as providing internal members to do a traversal
  6063. including the default group (needed when doing layout/drawing).
  6064. * ThemeWin32Classic.cs: When drawing group headers use internal
  6065. ListViewGroupCollection members to take into account the default
  6066. group.
  6067. 2007-08-23 George Giolfan <[email protected]>
  6068. * FlowLayoutPanel.cs: Add GetPreferredSizeCore. [Fixes bug #82537]
  6069. 2007-08-23 Jonathan Pobst <[email protected]>
  6070. * TreeView.cs: IsInputKey: don't ask for any keys if the handle hasn't
  6071. been created. If handle is created, we want arror keys. If we are editing
  6072. a node, we want things like enter, esc, home, end, page up, page down.
  6073. Allows Esc to work for FolderBrowserDialog.
  6074. 2007-08-23 Jonathan Pobst <[email protected]>
  6075. * ColorDialog.cs, FontDialog.cs: Set the form's CancelButton so that
  6076. they close when ESC is pressed. Thanks Andy!
  6077. 2007-08-23 Jonathan Pobst <[email protected]>
  6078. * CommonDialog.cs: Do not instantiate form, leave that for derived classes.
  6079. This way we can tell if this is a CommonDialog provided with mono, or one
  6080. that is being implemented outside by a developer. If it is an external one,
  6081. the developer is responsible for showing their own form. We were showing
  6082. our blank form after the developer showed his.
  6083. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs, FontDialog.cs,
  6084. PageSetupDialog.cs: Instantiate form variable in our constructor.
  6085. [Fixes bug #82531]
  6086. 2007-08-23 Jonathan Pobst <[email protected]>
  6087. * ListBox.cs, ListView.cs, TreeView.cs: Override IsInputCharInternal
  6088. and always return true. [Fixes bug #81616]
  6089. 2007-08-23 Jonathan Pobst <[email protected]>
  6090. * TextBoxBase.cs: Allow 2.0 AutoSize to change the height of the
  6091. TextBox. [Fixes bug #82549]
  6092. 2007-08-23 Gert Driesen <[email protected]>
  6093. * FileDialog.cs: When Save/Open is clicked and no filename is selected
  6094. or entered then do not close the dialog. Fixes bug #82539. Removed
  6095. CWLs.
  6096. 2007-08-22 Everaldo Canuto <[email protected]>
  6097. * FileDialog.cs: Create UpdateRecentFiles and move the recent files refresh
  6098. code to this method. It is calling every time filter changes. This method
  6099. will help to fix the bug #80887.
  6100. 2007-08-22 Jonathan Pobst <[email protected]>
  6101. * CheckBox.cs: Implement AutoSize calculation.
  6102. 2007-08-22 Jonathan Pobst <[email protected]>
  6103. * CheckBox.cs: Use new 2.0 rendering for 2.0.
  6104. * Theme.cs: Method declarations for 2.0 rendering path.
  6105. * ThemeWin32Classic.cs: 2.0 rendering implementation for CheckBox.
  6106. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  6107. * ListViewGroupCollection.cs: Fix a typo of the previous patch.
  6108. 2007-08-21 Carlos Alberto Cortez <[email protected]>
  6109. * ListViewGroupCollection.cs: Implement AddRange the right way, to
  6110. only call Redraw on the parent one time.
  6111. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  6112. * DataGridViewRowHeaderCell.cs, DataGridViewColumnHeaderCell.cs: Implemented
  6113. GetClipboardContent.
  6114. * DataGridViewCell.cs: Implemented GetClipboardContent,
  6115. GetEditedFormattedValue, GetFormattedValue.
  6116. * DataGridView.cs: Implemented GetClipboardContent, TopLeftHeaderCell.
  6117. 2007-08-21 Jonathan Pobst <[email protected]>
  6118. * TableLayoutStyleCollection.cs: corcompare fix.
  6119. 2007-08-21 Rolf Bjarne Kvinge <[email protected]>
  6120. * DataObject.cs: Implemented retrieval of convertible / not convertible
  6121. objects.
  6122. 2007-08-21 Jonathan Pobst <[email protected]>
  6123. * ToolStripItem.cs: When changing the item's text, invalidate before we resize
  6124. ourselves. This ensures the entire old bounds are repainted, in case our new
  6125. size is smaller. [Fixes bug #82518]
  6126. 2007-08-20 Everaldo Canuto <[email protected]>
  6127. * XplatUIX11.cs: Apply patch from #81588, it makes use of PointerMotionHintMask
  6128. flag to make fast handle of mouse events, without this the mouse move is
  6129. handled in some manner, whether it is a mouse move or not. Fixes #81588.
  6130. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  6131. * ListView.cs: When doing layout calculations don't use a ref
  6132. param to keep the current item; instead use its Index value (this
  6133. is specially important when doing the layout with Groups
  6134. and Items being sparse). Also don't take into account items added to
  6135. the Group but not yet added to the main ListView.Items collection.
  6136. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  6137. * ListViewGroupCollection.cs: Forgot to mimic an issue
  6138. in the indexer (don't assign the ListView owner for new values).
  6139. 2007-08-20 Carlos Alberto Cortez <[email protected]>
  6140. * ListViewGroupCollection.cs: Make the string indexer use
  6141. the int based indexer to re-use code, instead of duplicate the code.
  6142. Also Redraw as needed and take into account null values.
  6143. 2007-08-20 Jonathan Pobst <[email protected]>
  6144. * StatusStrip.cs: Make sure the item's parent gets set in SetDisplayedItems.
  6145. [Fixes bug #82481]
  6146. 2007-08-20 Jonathan Pobst <[email protected]>
  6147. * ToolStrip.cs: Add some logic to un-focus controls in ToolStripControlHosts
  6148. when other buttons are clicked or navigated to.
  6149. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6150. * XplatUIX11.cs: Treat toolwindows as if they had no window manager, since
  6151. it's XplatUIX11 that attaches them.
  6152. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6153. * DataGridView.cs: If a column has been added, recreate the editing row.
  6154. Fixes #82226.
  6155. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6156. * TextControl.cs: Use Math.Max instead of Math.Min when deciding the length
  6157. of the tag to draw. Makes disappearing text show up again.
  6158. 2007-08-20 Rolf Bjarne Kvinge <[email protected]>
  6159. * StatusBar.cs: Take into account any icons when a panel has AutoSize =
  6160. Contents. Fixes #82487.
  6161. 2007-08-19 Andreia Gaita <[email protected]>
  6162. * Added HtmlElement.cs, HtmlElementCollection.cs,
  6163. HtmlElementEventArgs.cs, HtmlElementEventHandler.cs
  6164. 2007-08-19 Andreia Gaita <[email protected]>
  6165. * BindingSource.cs: Implement this, dispose and getenumerator.
  6166. * DataGridViewRowCollection.cs: Move the InvalidOperationException
  6167. out of AddInternal, throw it only on public Add calls. The
  6168. UsingWebBrowser sample was blowing up with this when setting the
  6169. DataSource after adding DataBindings, so it's likely that .net
  6170. only throws this exception when Add is called directly.
  6171. * ToolStripControlHost.cs: Return the hosted control's text
  6172. property, and not the ToolStripItem one (it would always return
  6173. the initial value).
  6174. * HtmlDocument.cs: Implement GetElementById and All
  6175. * WebBrowser.cs: Remove exception on set_DocumentStream.
  6176. 2007-08-19 Everaldo Canuto <[email protected]>
  6177. * Form.cs: Fix the max and min value for opacity (0~1).
  6178. 2007-08-19 Everaldo Canuto <[email protected]>
  6179. [Fixes #80118]
  6180. * DataGridTableStyle.cs: Default header font is now null, on getter it
  6181. returns datagrid font when is null. On setter permits null.
  6182. * DataGrid.cs:
  6183. - When ResetHeaderFont set header font to null.
  6184. - On EndInit set grid_style.DataGrid.
  6185. 2007-08-19 Everaldo Canuto <[email protected]>
  6186. * TabControl.cs: Fix regression in default padding x.
  6187. 2007-08-19 Everaldo Canuto <[email protected]>
  6188. * TabControl.cs: Fix tab page text area removing padding. Fixes #82471.
  6189. 2007-08-19 Everaldo Canuto <[email protected]>
  6190. * TabControl.cs: Fix first tab drawing, when selected it must have x = 0
  6191. not 2. Fixes #82229.
  6192. 2007-08-18 Everaldo Canuto <[email protected]>
  6193. * TabControl.cs: Fix tab size when image height is less than text height.
  6194. Partially fixes #81837.
  6195. 2007-08-18 Everaldo Canuto <[email protected]>
  6196. * Form.cs: Add WS_EX_CONTROLPARENT to forms to make it selectable using
  6197. "alt + tab". It works only for Win32, for X11 theres no way to remove window
  6198. from taskbar and keep it on "alt_tab". Fixes #81722.
  6199. 2007-08-18 Everaldo Canuto <[email protected]>
  6200. * XplatUIX11.cs: Apply patch from Jurek Bartuszek to fix DrawReversibleFrame
  6201. and DrawReversibleLine, also apply same behavior to FillReversibleRectangle.
  6202. Fixes #80877 and #79418.
  6203. 2007-08-18 Everaldo Canuto <[email protected]>
  6204. * MenuAPI.cs: Fix popup menu position when the size is larger than distance
  6205. between position and one of the screen borders. Fixes #82349.
  6206. 2007-08-18 Everaldo Canuto <[email protected]>
  6207. * MessageBox.cs: When there is no form that invoked the MessageBox, shows
  6208. the MessageBox in the taskbar. Fixes #82457.
  6209. 2007-08-18 Everaldo Canuto <[email protected]>
  6210. * MessageBox.cs: Fix form size when icon is set and text height is bigger
  6211. than icon. Fixes #82468.
  6212. 2007-08-18 Rolf Bjarne Kvinge <[email protected]>
  6213. * ThemeWin32Classic.cs: A FixedToolWindow has border size 3.
  6214. * InternalWindowManager.cs: Change HandleCalcSize to return a boolean value
  6215. if handled or not. Implement WM_NCCALCSIZE for WParam == 0 as well.
  6216. Refactored HandleNCCalcSize somewhat to avoid code duplication.
  6217. * Form.cs: Add is_clientsize_set, set in set_ClientSize, used by
  6218. FormBorderStyle to decide if we're calculating a new size from the
  6219. client size or not. CreateParams: Don't fake tool windows, only the X11
  6220. backend manages toolwindows manually.
  6221. 2007-08-17 Jonathan Pobst <[email protected]>
  6222. * Form.cs: Only reset is_visible if !IsDisposed to prevent an
  6223. ObjectDisposedException.
  6224. 2007-08-17 Jonathan Pobst <[email protected]>
  6225. * Form.cs: Reset is_visible back to true after OnLoad. Setting this
  6226. in OnLoad should not have any effect. [Fixes bug #82470]
  6227. 2007-08-17 Jonathan Pobst <[email protected]>
  6228. * ToolTip.cs: Add a hack to ToolTipWindow so it will still size and
  6229. paint for controls that create their own ToolTipWindow instead of
  6230. going through ToolTip.
  6231. 2007-08-17 Jonathan Pobst <[email protected]>
  6232. * ToolTip.cs: Make Hide internal instead of public to match MS API.
  6233. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  6234. * ListViewGroupCollection.cs: Use generic List instead of an
  6235. ArrayList, since this collection is 2.0 only.
  6236. 2007-08-17 Jeffrey Stedfast <[email protected]>
  6237. * ToolTip.cs (Hide): Made public to make the build work (should
  6238. this not be public?).
  6239. 2007-08-17 Jonathan Pobst <[email protected]>
  6240. * ToolBar.cs, ToolStrip.cs, TreeView.cs: Use a ToolTip instead of a
  6241. ToolTipWindow.
  6242. * ToolTip.cs: Add an internal Visible property to facilitate transition.
  6243. 2007-08-17 Jonathan Pobst <[email protected]>
  6244. * DrawToolTipEventArgs.cs, DrawToolTipEventHandler.cs, PopupEventArgs.cs,
  6245. PopupEventHandler.cs: Make these internal for 1.1.
  6246. * ThemeClearlooks.cs, ThemeWin32Classic.cs: Use TextRenderer, and modify to not
  6247. use ToolTipWindow internals.
  6248. * ToolTip.cs: Add 2.0 modal Show methods. Had to move a lot of stuff around to
  6249. support this. A lot of stuff in the ToolTipWindow got moved to the ToolTip.
  6250. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6251. * X11Dnd.cs: Add a null check.
  6252. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6253. * X11Dnd.cs: MwfWindow: Try to load the control directly from the handle if
  6254. nothing else succeeds. Fixes #82453.
  6255. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6256. * XplatUIWin32.cs: PaintEventStart: validate the entire source client
  6257. rectangle if we're painting to another window than the one the paint
  6258. message was generated on. Simplify the code somewhat, which makes
  6259. PaintEventEnd also simpler.
  6260. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6261. * Control.cs: When changing parent of a form, let the form decide whether
  6262. XplatUI.SetParent should be called or not.
  6263. * Form.cs: ChangingParent: only call XplatUI.SetParent if we're not
  6264. recreating the handle. If the new parent's handle isn't created, don't
  6265. recreate our handle, just destroy it. CreateParams: Check if the
  6266. parent's handle is created before fetching it.
  6267. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6268. * Control.cs, Form.cs, InternalWindowManager.cs, MainMenu.cs, MdiClient.cs:
  6269. Update calls to PaintEventStart/End to take a Message argument.
  6270. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Update PaintEventStart/End to
  6271. take a Message argument.
  6272. * XplatUIWin32.cs, XplatUIX11.cs: Update PaintEventStart/End to take a
  6273. Message argument, and handle the case where we don't paint to the window
  6274. for which the paint message was generated.
  6275. 2007-08-17 Rolf Bjarne Kvinge <[email protected]>
  6276. * XplatUIWin32.cs: Don't call Win32GetLastError directly, use
  6277. Marshal.GetLastWin32Error. Plug nasty memory leak in
  6278. PaintEventStart/End, we were creating a DC we weren't releasing.
  6279. 2007-08-17 Carlos Alberto Cortez <[email protected]>
  6280. * ListView.cs: Add Groups support in Details view. Also have a small
  6281. method to do the layout of the group header. Don't use a separate
  6282. method to do the groups calculation in Icons view, since our methods
  6283. are now a little simpler.
  6284. * ListViewGroup.cs: Use the more accurate `HeaderBounds' name than
  6285. `Bounds'.
  6286. * ThemeWin32Classic.cs: Likewise.
  6287. 2007-08-16 Jonathan Pobst <[email protected]>
  6288. * Application.cs: Add FilterMessage method and rework our message loop
  6289. logic to use it.
  6290. 2007-08-16 Jonathan Pobst <[email protected]>
  6291. * Application.cs: Add some methods and stub a few methods that are
  6292. pretty much never used.
  6293. 2007-08-15 Jonathan Pobst <[email protected]>
  6294. * TreeNode.cs: Add some serialization methods.
  6295. 2007-08-14 Carlos Alberto Cortez <[email protected]>
  6296. * ListView.cs: In ListViewItemCollection have a
  6297. 'is_main_collection' field to not modify ListViewItem.ListView
  6298. when using it as ListViewGroup.Items (and not ListView.Items)
  6299. and also don't modify selection state (.Net behaviour).
  6300. Instead, set group for items contained in a ListViewGroup.Items collection.
  6301. * ListViewItem.cs: Simplify some code in Group setter.
  6302. * ListViewGroup.cs: use the new .ctor to pass the current instance
  6303. to the ItemsCollection.
  6304. * ListViewGroup.cs: Set the ListView property for ListViewGroup
  6305. instances when adding/removing. Also make Remove use RemoveAt, which
  6306. should perform better.
  6307. 2007-08-14 Jonathan Pobst <[email protected]>
  6308. * Message.cs, TabControl.cs, TextBox.cs, TextBoxBase.cs: Hide some 2.0 API
  6309. that crept into the 1.1 profile.
  6310. 2007-08-14 Jonathan Pobst <[email protected]>
  6311. * ToolBarButton.cs: Implement ImageKey.
  6312. 2007-08-14 Jonathan Pobst <[email protected]>
  6313. * ToolBar.cs: Implement ScaleControl/ScaleCore.
  6314. 2007-08-13 Rolf Bjarne Kvinge <[email protected]>
  6315. * PictureBox.cs: OnAnimateImage/UpdateAnimateImage: Check if handle is still
  6316. created, it might have gotten destroyed since we last checked. Fixes
  6317. #82405.
  6318. 2007-08-11 Jonathan Pobst <[email protected]>
  6319. * ToolTip.cs: Remove mouse in control check from mouseleave handler so
  6320. tooltip will hide when mouse is moved off the control.
  6321. [Fixes bug #82407]
  6322. 2007-08-11 Andreia Gaita <[email protected]>
  6323. * WebBrowserBase.cs, WebBrowser.cs: add implementation
  6324. using Mono.Mozilla for loading and navigating webcontrol
  6325. with xulrunner.
  6326. The initial implementation was done on
  6327. /trunk/mozembed/tests/browser , and copied here.
  6328. 2007-08-11 Gert Driesen <[email protected]>
  6329. * ThemeWin32Classic.cs: On 2.0 profile, use ForeColor and BackColor of
  6330. ToolTipWindow for drawing the tooltip. Fixes bug #82408.
  6331. 2007-08-10 Rolf Bjarne Kvinge <[email protected]>
  6332. * DataGridView.cs: Add support for an editing row. Fixes #82226.
  6333. RowTemplateFull: throw an exception if a column doesn't have a template.
  6334. * DataGridViewRowCollection.cs: AddInternal: if there are any editing rows,
  6335. add the row just before it.
  6336. * DataGridViewTextBoxCell.cs: Don't paint cells which are in edit mode as
  6337. selected.
  6338. * DataGridViewSelectedRowCollection.cs: Don't return the editing row. Add a
  6339. DataGridView field to be able to reach the grid's editing row.
  6340. 2007-08-10 Jonathan Pobst <[email protected]>
  6341. * ToolTip.cs: If the control's handle hasn't been created when it has a
  6342. tooltip set on it, don't check to see if we need to show the tooltip. This
  6343. check was causing the control's handle to be created.
  6344. [Fixes bug #82399]
  6345. 2007-08-10 Jonathan Pobst <[email protected]>
  6346. * TextBoxBase.cs: Fix SelectionLength when no text selected to match MS:
  6347. 1.1 2.0
  6348. Handle Not Created -1 0
  6349. Handle Created 0 0
  6350. [Fixes bug #82371]
  6351. 2007-08-10 Jonathan Pobst <[email protected]>
  6352. * ToolTip.cs: Hide the tooltip if the control is clicked to match MS behavior.
  6353. [Fixes bug #82348]
  6354. 2007-08-09 Jonathan Pobst <[email protected]>
  6355. * DrawToolTipEventArgs.cs: Don't dispose a brush we got from the respool.
  6356. * ToolTip.cs: Implement some properties and owner draw.
  6357. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6358. * DataGridView.cs: OnPaint: don't set scrollbar visibility to false then
  6359. show them again, since setting visibility causes a paint, causing an
  6360. endless loop (instead use a temporary and set it all when it's known if
  6361. they should be shown or not). Fixes #79265.
  6362. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6363. * DataGridView.cs: Only do a full column/row selection if a header was
  6364. clicked and we're in Column/RowHeader selection mode. If shift and ctrl
  6365. isn't pressed, deselect everything before selecting something.
  6366. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6367. * DataGridView.cs: Fix SelectedRows and SelectedColumns to match MS
  6368. behaviour according to bug #81075 - they are returned in the order they
  6369. are selected. Fix HitTest to check if the point is within any of the
  6370. headers. Allow for row/column selection when in ColumnHeader or
  6371. RowHeader selection mode. Add SetSelected[Column|Row]CoreInternal for
  6372. the row and column to call when their selected state changes, and
  6373. updated selected_[rows|columns] whenever SetSelected* is called.
  6374. * DataGridViewBand.cs: Initialize isRow correctly. Call
  6375. SetSelected[Row|Column]CoreInternal when the selected state changes, and
  6376. add a SelectedInternal to avoid StackOverflows.
  6377. * DataGridViewColumn.cs, DataGridViewRow.cs: If DGV is ReadOnly, we're also
  6378. ReadOnly no matter what.
  6379. * DataGridViewSelectedColumnCollection.cs,
  6380. DataGridViewSelectedRowCollection.cs: Add an InternalAddRange that adds
  6381. the items in reverse order (just as MS does...)
  6382. 2007-08-09 Jonathan Pobst <[email protected]>
  6383. * Application.cs: Only release menustrips if Alt (MenuKey) is pressed by
  6384. itself, not part of a mnemonic. [Fixes bug #82378]
  6385. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6386. * DataGridView.cs: BeginEdit: don't allow editing of readonly cells.
  6387. * DataGridViewCell.cs: Implement ReadOnly better: the cell is ReadOnly if
  6388. the DGV, the column, the row, or the cell itself is readonly.
  6389. 2007-08-09 Gert Driesen <[email protected]>
  6390. * ThemeNice.cs: Use XplatUI.RunningOnUnix instead of checking
  6391. OSVersion.Platform.
  6392. * FileDialog.cs: Same.
  6393. * TextRendered.cs: Same.
  6394. * FolderBrowserDialog.cs: Same.
  6395. * TextBoxBase.cs: Same.
  6396. * Application.cs: Same.
  6397. * Cursors.cs: Same.
  6398. * ThemeClearLooks.cs: Same.
  6399. 2007-08-09 Gert Driesen <[email protected]>
  6400. * XplatUI.cs: Added RunningOnUnix property to be used by controls
  6401. instead of duplicating these checks everywhere.
  6402. * FileDialog.cs: Use case-insensitive comparison for populating the
  6403. DirComboBox when not running on unix. Fixes bug #82385.
  6404. * OpenFileDialog.cs: to match MS, change label of DirComboBox to
  6405. "Look in".
  6406. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6407. * DataGridView.cs: SelectedRows: we need to check if selectionMode is
  6408. FullRowSelect (not FullColumnSelect). Fixes #81075. Implemented
  6409. BeginEdit, EndEdit, SetSelected<Cell|Row|Column>Core. Implemented row,
  6410. cell and column selection with ctrl and shift pressed. Call the correct
  6411. BeginEdit/EndEdit whenever we start/end editing. Move painting code to
  6412. the corresponding virtual method (PaintBackground to paint background,
  6413. etc).
  6414. * DataGridViewCell.cs: Implement Selected correctly, we're selected if
  6415. either the column, row or the cell itself is selected.
  6416. * DataGridViewRowCollection.cs: Use DGV.OnRowsAddedInternal instead of
  6417. OnRowsAdded.
  6418. * DataGridViewRow.cs: Moved some of the painting code from DataGridView
  6419. here. When the row is selected, don't select all cells. Each cell now
  6420. queries the row to see if the row is selected.
  6421. 2007-08-09 Rolf Bjarne Kvinge <[email protected]>
  6422. * DataGridViewColumn.cs: Throw if the SortMode conflicts with DataGridView's
  6423. SelectionMode.
  6424. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  6425. * ListView.cs: In ListViewItemsCollection check that owner is
  6426. not null before trying to access it (this happens quite often
  6427. using Groups). Also don't duplicate calls by calling CollectionChanged
  6428. method.
  6429. 2007-08-08 Jonathan Pobst <[email protected]>
  6430. * ToolStrip.cs: Record if we were activated by mouse or keyboard. Redraw
  6431. when we are dismissed to clear keyboard mnemonics.
  6432. * MenuStrip.cs, ToolStripDropDown.cs, ToolStripItem.cs,
  6433. ToolStripMenuItem.cs: Record if we were activated by mouse or keyboard.
  6434. * ToolStripItemTextRenderEventArgs.cs: Draw mnemonic underlines if menu
  6435. was activated by keyboard or the OS tells us to always draw them.
  6436. * ToolStripManager.cs: Setup storage for activated by mouse or keyboard.
  6437. [Fixes bugs #82376, #82377]
  6438. 2007-08-08 Jonathan Pobst <[email protected]>
  6439. * Control.cs: If no one accepts a mnemonic, let the MenuStrip have a
  6440. shot at having it because Alt was pressed.
  6441. * MenuStrip.cs: When handling Alt, don't select a SystemMenuItem, select
  6442. the first real menu item.
  6443. * ToolStrip.cs: Don't crash when looking for a ToolStripItem to handle
  6444. a mnemonic if Text is null.
  6445. [Fixes bug #82374]
  6446. 2007-08-08 Carlos Alberto Cortez <[email protected]>
  6447. * ListView.cs: In ListViewItemCollection.AddItem, don't do a linear
  6448. search do check whether the item is already contained in the
  6449. collection or not; instead check if the owner of the item is the same
  6450. as ours. Also, remove a redundant check in the same method.
  6451. 2007-08-08 Jonathan Pobst <[email protected]>
  6452. * Control.cs: Allow the clip region to be set back to null.
  6453. * XplatUIWin32.cs: If we are sent a null clip region, use IntPtr.Zero.
  6454. [Fixes button still showing up in bug #82370 when Show Through is turned off]
  6455. 2007-08-08 Rolf Bjarne Kvinge <[email protected]>
  6456. * GridEntry.cs: Add a null check.
  6457. * PropertyGrid.cs: When checking for existing grid entries, ignore category
  6458. entries. Fixes #82297.
  6459. 2007-08-07 Jonathan Pobst <[email protected]>
  6460. * OwnerDrawPropertyBag.cs: Make the serialization constructor protected
  6461. for 2.0.
  6462. 2007-08-07 Jonathan Pobst <[email protected]>
  6463. * ListBox.cs: Implement ScaleControl.
  6464. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6465. * Form.cs: Add a few ActiveMenu null checks. ActiveMenu might be null if we
  6466. have a menu strip.
  6467. * MdiWindowManager.cs: Don't create a maximized menu if the child or it's
  6468. parent has a menu strip. Fixes #81689.
  6469. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6470. * ToolTip.cs: We don't get mouse events on all platforms in the exact same
  6471. moments, so apply some fuzzy logic to determine if the mouse is still
  6472. inside a control or not. Fixes #82288 (for the third time).
  6473. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6474. * Control.cs: CreateControl: create implicit children as well. Fixes #82344.
  6475. Don't create the child if it has been disposed already (may happen if
  6476. the user closes the form the Load event).
  6477. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6478. * ToolTip.cs: If ReshowDelay is 0, show the tooltip immediately. Fixes
  6479. #82288.
  6480. 2007-08-07 Rolf Bjarne Kvinge <[email protected]>
  6481. * Control.cs: Add a null check in OnParentBindingContextChanged. The parent
  6482. might call us after we've been destroyed, in which case our own private
  6483. parent field is null. Fixes #82326.
  6484. 2007-08-06 Jonathan Pobst <[email protected]>
  6485. * ToolStripDropDown.cs: Fix a failing test on X11 by adding a null
  6486. check for setting the dropdown's owner.
  6487. 2007-08-06 Jonathan Pobst <[email protected]>
  6488. * MdiClient.cs: Fix some failing tests on X11 by adding a null check
  6489. before removing system menu items.
  6490. 2007-08-02 Jonathan Pobst <[email protected]>
  6491. * MdiClient.cs, MdiWindowManager.cs: Support 2.0 Mdi MenuStrip
  6492. folding.
  6493. * MdiControlStrip.cs: Added. These are the menu items used in mdi
  6494. folding.
  6495. * ToolStrip.cs: Add a null check to mnemonics.
  6496. * ToolStripDropDownMenu.cs: When using a SystemMenuItem, there is
  6497. no ConnectedArea.
  6498. [Fixes most of bug #81689]
  6499. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  6500. * PropertyGrid.cs: Add a null-check. Fixes #82289/SVGPad.
  6501. 2007-08-02 Rolf Bjarne Kvinge <[email protected]>
  6502. Use InitialDelay if ReshowDelay is zero. Fixes #82288.
  6503. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  6504. * DataGridViewCell.cs: EditType: returns
  6505. DataGridViewTextBoxEditingControl always.
  6506. 2007-08-01 Jonathan Pobst <[email protected]>
  6507. * TextRenderer.cs: Remove the LineLimit string format flag from the
  6508. DrawString fallback method so that things like buttons that aren't
  6509. tall enough to draw a full line will still draw part of the text.
  6510. [Fixes part of bug #82272]
  6511. 2007-08-01 Rolf Bjarne Kvinge <[email protected]>
  6512. * DataGridView.cs: Implemented AutoResizeColumn(s).
  6513. * DataGridViewCellStyle.cs: Added SetAlignment, fills in a StringFormat
  6514. according to the Alignment.
  6515. * DataGridViewColumnHeaderCell.cs, DataGridViewTextBoxCell.cs:
  6516. Implement alignment and padding when painting.
  6517. * DataGridViewRow.cs: SetValues: Don't create a cell if it already
  6518. exists.
  6519. * DataGridViewCell.cs: Implement BorderWidths in the most primitive
  6520. way.
  6521. * DataGridViewColumnCollection.cs: Raise OnColumnAdded on the DGV when
  6522. a column is added.
  6523. 2007-07-31 Jonathan Pobst <[email protected]>
  6524. * TextBoxBase.cs: Use Control.ExplicitBounds instead of explicit_bounds,
  6525. which is internal.
  6526. 2007-07-31 Jonathan Pobst <[email protected]>
  6527. * ToolStrip.cs: Stub out drag and drop methods, fix some corcompare stuff,
  6528. hide GetPreferredSize from public API.
  6529. * ToolStripDropDown.cs: Override AllowItemReorder, fix AccessibleObject.
  6530. * ToolStripItem.cs: Stub out drag and drop methods and events.
  6531. * ToolStripManager.cs: Stub out Save/LoadSettings.
  6532. * ToolStripOverflow.cs: Use renamed ToolStrip.GetPreferredSize.
  6533. * ToolStripPanel.cs: Fix corcompare error.
  6534. * ToolStripPanelRow.cs: Use renamed ToolStrip.GetPreferredSize.
  6535. * ToolStripSplitButton.cs: Fix AccessibleObject stuff.
  6536. * ToolStripSplitStackLayout.cs: Use renamed ToolStrip.GetPreferredSize.
  6537. 2007-07-31 Jonathan Pobst <[email protected]>
  6538. * TextBoxBase.cs: In our new GetPreferredSizeCore, return the explicit
  6539. bounds height instead of PreferredHeight. Puts things back the way
  6540. they were for height while still fixing the width. Fixes broken unit
  6541. tests.
  6542. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6543. * Binding.cs: Implement 2.0 constructors and add a null check.
  6544. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6545. * DataGridViewRowCollection.cs: Allow a null DGV in the constructor,
  6546. and fix row index (off by one).
  6547. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6548. * PropertyGridView.cs: Remove debug output.
  6549. 2007-07-31 Rolf Bjarne Kvinge <[email protected]>
  6550. * Control.cs: We need to reset the is_created flags when the handle is
  6551. destroyed. Fixes #82187.
  6552. * XplatUIWin32.cs: In GetWindowRect don't offset screen coordinates to
  6553. client coordinates if the window doesn't have a parent.
  6554. Win32GetParent returns the parent or the owner, and for top-level
  6555. windows with no parent (but with an owner) we were calculating the
  6556. location from the location of the owner.
  6557. * Form.cs: Remove incorrect fix for #82187. Don't raise OnLoad if the
  6558. form has been disposed.
  6559. * MdiClient.cs: Add a null-check.
  6560. 2007-07-30 Jonathan Pobst <[email protected]>
  6561. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  6562. actually do auto-sizing. Override the internal GetPreferredSizeCore
  6563. so we can provide an implementation that returns the current width
  6564. and preferred height. Allows anchor = right to work with TextBox 2.0.
  6565. [Fixes bug #82233]
  6566. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  6567. * ListView.cs: Add support for navigating items in Groups mode, by
  6568. creating a big matrix containing all rows and cols of all groups. When
  6569. are in other mode than Details, pressing Up should have a similar
  6570. behaviour as that one of Down (moving to the next available column if
  6571. current one doesn't have an item in the requested row). Also, don't
  6572. proceed to use groups if ShowGroups is false.
  6573. * ListViewGroup.cs: Add an internal int field to store the starting
  6574. row of the group (used by the big matrix used for navigating the
  6575. ListView).
  6576. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  6577. false.
  6578. 2007-07-30 Jonathan Pobst <[email protected]>
  6579. * ToolStripDropDown.cs: When we do Show, start with the
  6580. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  6581. modify the direction to keep it on screen. [Fixes bug #82210]
  6582. 2007-07-29 Gert Driesen <[email protected]>
  6583. * FileDialog.cs: Accept any FilterIndex value, and store it
  6584. unmodified. When FilterIndex is less than 1, or greater than number
  6585. of filters, then default to first filter. Only add filter extension to
  6586. file if user did not specifiy an extension. When type of dialog is
  6587. OpenFileDialog and DefaultExt is set, then only use filter extension
  6588. if: CheckFileExists is true and no file wih the default extension
  6589. exists, or CheckFileExists is false, and user specified file does not
  6590. exist. When CheckFileExists is true, then add first extension of
  6591. selected filter that matches existing file. Perform checks for
  6592. existing file, overwrite and create after extension has been added to
  6593. file name. When CheckFileExists is true and type is SaveFileDialog,
  6594. then only consider first filter extension if DefaultExt is set.
  6595. When CheckFileExists is true, then ignore DefaultExt if file with that
  6596. extension does not exist. Also perform check for existing file when
  6597. type is SaveFileDialog. Changed some field to constants.
  6598. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  6599. * ListView.cs: Take into account the region used by header
  6600. control when doing the vertical scroll (this way we invalidate
  6601. the precise area, and don't get any dirty one).
  6602. 2007-07-27 Everaldo Canuto <[email protected]>
  6603. * FileDialog.cs: Check for valid filterIndex on button open/save.
  6604. Fixes #82184.
  6605. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  6606. * ListView.cs: Update some layout calculations in details view
  6607. and clean the code in a pair of assignations.
  6608. 2007-07-26 Jonathan Pobst <[email protected]>
  6609. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  6610. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  6611. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  6612. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  6613. 2007-07-26 Jonathan Pobst <[email protected]>
  6614. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  6615. performance of thread-safe Graphic methods. (Thanks rolf!)
  6616. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  6617. * ListView.cs: When doing the layout calculations, don't calculate
  6618. scroll bars before handle is created. This is unnecessary and also
  6619. calculating them before handle creation item causes a number of random
  6620. bugs (which begin to appear after Chris' big patch for handle creation
  6621. fixes).
  6622. 2007-07-26 Jonathan Pobst <[email protected]>
  6623. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  6624. for things that don't have a Graphics object. Currently, things just use
  6625. the static Hwnd.bmp_g which is not thread safe.
  6626. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  6627. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  6628. dialog. Fixes #82187.
  6629. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  6630. * DataGridViewElement.cs: Initialize state.
  6631. * DataGridView.cs: Forward a few Mouse events to cells. Add
  6632. GetRowInternal and GetCellInternal that doesn't unshare rows.
  6633. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  6634. don't use the index, but look it up. Add
  6635. DataGridViewControlCollection.RemoveInternal to remove controls
  6636. that Remove won't remove (scrollbars, edit control).
  6637. * DataGridViewColumn.cs: Initialize State correctly.
  6638. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  6639. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  6640. implementing this.
  6641. * DataGridViewRowCollection.cs: Implemented shared rows.
  6642. * DataGridViewRow.cs: Throw exceptions as MS do.
  6643. * DataGridViewCell.cs: A few properties are implemented by a
  6644. Get<Property> method, so move implementation there and remove the
  6645. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  6646. calls when necessary.
  6647. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  6648. complicates matters.
  6649. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  6650. unshare any rows.
  6651. 2007-07-25 Jonathan Pobst <[email protected]>
  6652. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  6653. the children controls. Instead, we will just set up the proper docking for the
  6654. children controls so we don't have to worry about it. [Fixes bug #82188]
  6655. 2007-07-25 Jonathan Pobst <[email protected]>
  6656. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  6657. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  6658. 81847. [Fixes bug #81847]
  6659. 2007-07-25 Jonathan Pobst <[email protected]>
  6660. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  6661. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  6662. an explicit size based on the design-time size of the text. Since our fonts
  6663. may not match this explicit size, we tend to cut off the ends of people's labels.
  6664. 2007-07-24 Jonathan Pobst <[email protected]>
  6665. * Menu.cs: Add some missing methods to MenuItemCollection.
  6666. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  6667. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  6668. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  6669. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  6670. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  6671. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  6672. * DataGridViewElement.cs: State defaults to Visible.
  6673. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  6674. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  6675. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  6676. * Control.cs: Minor 1.1 corcompare fix.
  6677. 2007-07-23 Jonathan Pobst <[email protected]>
  6678. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  6679. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  6680. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  6681. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  6682. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  6683. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  6684. DataGridViewSelectedColumnCollection.cs,
  6685. DataGridViewSelectedRowCollection.cs: Corcompare work.
  6686. 2007-07-23 Jonathan Pobst <[email protected]>
  6687. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  6688. it is autoset by VS2005 designer and the effect is barely noticeable.
  6689. 2007-07-23 Jonathan Pobst <[email protected]>
  6690. * TreeView.cs: Implement HitTest.
  6691. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  6692. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  6693. manually adding and removing the control from the Controls
  6694. collecftion.
  6695. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  6696. EditingControlInternal property that tracks the editing control.
  6697. Always keeping the scrollbars in the Controls collection, as MS
  6698. testing confirms is the right behaviour.
  6699. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  6700. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  6701. according to MSDN and new test.
  6702. 2007-07-20 Jonathan Pobst <[email protected]>
  6703. * TreeNode.cs: Implement ToolTipText.
  6704. * TreeView.cs: Implement tooltips, NodeMouse* events.
  6705. 2007-07-20 Jonathan Pobst <[email protected]>
  6706. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  6707. 2007-07-20 Jonathan Pobst <[email protected]>
  6708. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  6709. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  6710. 2007-07-20 Ivan N. Zlatev <[email protected]>
  6711. * Control.cs, Form.cs, ContainerControl.cs,
  6712. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  6713. for misc properties.
  6714. 2007-07-20 Jonathan Pobst <[email protected]>
  6715. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  6716. * TreeView.cs: Implement StateImageList.
  6717. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6718. * Form.cs: Don't check if the current form is the active form before
  6719. activating it. Fixes #81904.
  6720. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6721. * Form.cs: Don't check if the current form is the active form before
  6722. activating it. Fixes #81904.
  6723. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6724. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  6725. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6726. * Form.cs: Don't try to position the form after loading if the form was
  6727. disposed. Fixes #81969.
  6728. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6729. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  6730. properties. Had to change ToolBar into ToolStrip, which required a
  6731. few #ifs.
  6732. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  6733. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  6734. resized, fixes part of #79829 (vertical lines in toolbar).
  6735. PropertyGrid: Refactored Populate* to something that's easier to
  6736. follow at least for me, as well as splitting it up into several new
  6737. methods, required to update only subitems when something has
  6738. changed by a popup editor or listbox. Don't use events to check
  6739. when any values are changed, since the events are unreliable (we're
  6740. changing the objects the events are registered with, and if the
  6741. event handling requires the objects to be immutable (objects stored
  6742. in hashtables for instance), the events will never be raised).
  6743. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  6744. everytime we change a value, since events are unreliable.
  6745. DropDownButtonClicked: For the same reason don't compare objects to
  6746. check if it has changed or not, it would require all objects to
  6747. derive Equals. Fix dialog location on windows, MS is doing weird
  6748. things when creating parented forms.
  6749. * GridEntry.cs: Add a SelectedObject setter.
  6750. 2007-07-19 Jonathan Pobst <[email protected]>
  6751. * TreeNode.cs: Add some corcompare attributes.
  6752. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  6753. * TreeView.cs: Implement some 2.0 stuffs.
  6754. 2007-07-18 Andreia Gaita <[email protected]>
  6755. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  6756. for moma.
  6757. 2007-07-19 Jonathan Pobst <[email protected]>
  6758. * ListBox.cs: Implement custom tab offsets.
  6759. 2007-07-18 Jonathan Pobst <[email protected]>
  6760. * ToolStripContentPanel.cs: Support System renderer.
  6761. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  6762. 2007-07-18 Jonathan Pobst <[email protected]>
  6763. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  6764. 2007-07-18 Jonathan Pobst <[email protected]>
  6765. * CheckBox.cs: Chain TextAlign to base implementation instead of
  6766. maintaining another one.
  6767. 2007-07-18 Jonathan Pobst <[email protected]>
  6768. * ButtonBase.cs: Fix an incorrect string constant.
  6769. 2007-07-18 Jonathan Pobst <[email protected]>
  6770. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  6771. of creating one for measuring strings.
  6772. 2007-07-18 Jonathan Pobst <[email protected]>
  6773. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  6774. Implement MaxItemSize.
  6775. 2007-07-17 Jonathan Pobst <[email protected]>
  6776. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  6777. for DeviceContext. Instead, use the static one available in Hwnd.
  6778. Informal tests show this saves about 500k on formtest.exe.
  6779. 2007-07-17 Jonathan Pobst <[email protected]>
  6780. * ContainerControl.cs: Implement 2.0 AutoScaling.
  6781. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  6782. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  6783. 2007-07-16 Jonathan Pobst <[email protected]>
  6784. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  6785. Darken the focus color.
  6786. 2007-07-16 Jonathan Pobst <[email protected]>
  6787. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  6788. for the checkbox.
  6789. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  6790. X, Y instead of a rect for drawing text.
  6791. - For ControlPaint.DrawCheckBox, center the check a little better when the
  6792. checkbox is odd width. When drawing a flat checkbox, use a white background
  6793. when state != inactive.
  6794. [Fixes bugs #82097, 82100]
  6795. 2007-07-16 Gert Driesen <[email protected]>
  6796. * ListControl.cs: When changing CurrencyManager, disconnect event
  6797. handlers from previous one. Fixes bug #81771. Code formatting.
  6798. 2007-07-15 Andreia Gaita <[email protected]>
  6799. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  6800. full preview invalidation from layout invalidation, and only invalidate
  6801. the layout when setting zoom or other properties. Invalidation should
  6802. always be done even when resetting properties with the same values as
  6803. what is there. Fixes #81744 and #79830.
  6804. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  6805. * ListView.cs: Implement initial support for Groups. Split some of the
  6806. LayoutIcons code to render a partial list of the items (needed by
  6807. items contained in ListViewGroup instances). Let the
  6808. ListViewItemsCollection.ListView property be modifiable (needed when
  6809. using Groups, too).
  6810. * ListViewGroup.cs: Use a Bounds property rather than a Location
  6811. one. Also invalidate the bounds when they get changed.
  6812. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  6813. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  6814. method as well.
  6815. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  6816. * ListView.cs: When space gets pressed and CheckBoxes is true,
  6817. don't invoke the Begin and EndUpdate methods. We are generating
  6818. a redraw of the entire control without need to do so.
  6819. 2007-07-13 William Holmes <[email protected]>
  6820. * Control.cs: Changing logic in FindFlatForward and
  6821. FindFlatBackward to handle multiple Controls with
  6822. the same TabIndex.
  6823. This fixes bug 81687.
  6824. 2007-07-13 Jonathan Pobst <[email protected]>
  6825. * OSFeature.cs: Enable IsPresent.
  6826. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  6827. * Control.cs: Don't do anything in WmShowWindow if the control has been
  6828. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  6829. control is created, put on a form, the control is disposed (the
  6830. form is never shown), and then we get a MapNotify, triggering a
  6831. WM_SHOWWINDOW.
  6832. * Form.cs: Exclude the current form when sending Deactivate to all
  6833. MdiChildren.
  6834. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  6835. there was a race condition because assigning the handle raises
  6836. events, we can get more messages, therefore trying to assign the
  6837. handle again, which would fail if any of those event handlers
  6838. closed/disposed the control.
  6839. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  6840. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  6841. 2007-07-12 Jonathan Pobst <[email protected]>
  6842. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  6843. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  6844. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  6845. * DateTimePicker.cs: If there's no part format specifier, return an
  6846. empty string.
  6847. 2007-07-12 Jonathan Pobst <[email protected]>
  6848. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  6849. Transparent BorderColor.
  6850. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  6851. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  6852. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  6853. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  6854. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  6855. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  6856. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  6857. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  6858. Remove warnings.
  6859. * X11Structs.cs: Remove warnings, add ToString implementations.
  6860. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  6861. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  6862. size, and not the current size. Fixes #81798.
  6863. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  6864. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  6865. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  6866. to the control yet).
  6867. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  6868. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  6869. mousedowns to the contained textbox.
  6870. * X11Structs.cs: More ToString implementation.
  6871. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  6872. #81791.
  6873. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  6874. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  6875. 2007-07-10 Jonathan Pobst <[email protected]>
  6876. * TableLayoutPanelCellPosition.cs: TypeConverter.
  6877. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  6878. [ Fixes #79761]
  6879. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  6880. controls.
  6881. * PropertyGridView.cs: A few color fixes.
  6882. 2007-07-10 Jackson Harper <[email protected]>
  6883. * TextControl.cs: Remove some old unused text formatting stuff.
  6884. 2007-07-10 Jackson Harper <[email protected]>
  6885. * TreeView.cs: Update full row select invalidation to match the
  6886. newer DrawSelection... method.
  6887. - Make sure to invalidate the entire width when selecting a new
  6888. node, if we have full row selection enabled.
  6889. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  6890. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  6891. display of properties again.
  6892. 2007-07-10 Jonathan Pobst <[email protected]>
  6893. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  6894. to existing collections.
  6895. 2007-07-09 Jonathan Pobst <[email protected]>
  6896. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  6897. that changed between 1.1 and 2.0.
  6898. 2007-07-09 Jonathan Pobst <[email protected]>
  6899. * PowerStatus.cs: Added. This is just a data class, it is filled
  6900. in by SystemInformation.
  6901. 2007-07-09 Jonathan Pobst <[email protected]>
  6902. * Message.cs: Add op_Equality and op_Inequality.
  6903. 2007-07-09 Jonathan Pobst <[email protected]>
  6904. * MenuStrip.cs: Finish corcompare work.
  6905. 2007-07-09 Jonathan Pobst <[email protected]>
  6906. * LinkArea.cs: Add op_Equality and op_Inequality.
  6907. 2007-07-09 Jonathan Pobst <[email protected]>
  6908. * Application.cs: Add MessageLoopCallback delegate.
  6909. 2007-07-09 Jonathan Pobst <[email protected]>
  6910. * ListBox.cs: First set of 2.0 stuffs.
  6911. 2007-07-09 Jonathan Pobst <[email protected]>
  6912. * Control.cs: Make an internal Height property we can override
  6913. without messing up the public API.
  6914. * ListBox.cs: Override HeightInternal to always return the size
  6915. the user set. [Fixes bug #80466]
  6916. 2007-07-08 Jonathan Pobst <[email protected]>
  6917. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  6918. paint cell borders if we haven't calculated where they go yet.
  6919. [Fixes bugs #82040 and #82041]
  6920. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  6921. * ListView.cs: In Details view, set the location of item_control
  6922. in the (0,0) position (and the header_control is thus on the
  6923. item_control). This way the Bounds of the Items are relative to the
  6924. ListView control (before this, they had a Bounds value without the
  6925. header_control offset, which wasn't matching .Net). Fixes #82004.
  6926. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  6927. * ListControl.cs: When DataSource is set to null, pass an empty
  6928. array of object to SetItemsCore. This is done to clean the items
  6929. in the ListContol children. Fixes #81788.
  6930. 2007-07-06 Jonathan Pobst <[email protected]>
  6931. * ListControl.cs: Add 2.0 stuffs.
  6932. 2007-07-06 Jonathan Pobst <[email protected]>
  6933. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  6934. Refresh is overkill for just about every repaint request.
  6935. 2007-07-06 Jonathan Pobst <[email protected]>
  6936. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  6937. so remove my custom Get method and fix the property getter.
  6938. 2007-07-06 Jonathan Pobst <[email protected]>
  6939. * Label.cs: DefaultMargin for 2.0.
  6940. 2007-07-06 Jonathan Pobst <[email protected]>
  6941. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  6942. reported issue where other controls with mnemonics would steal strokes
  6943. from a selected ComboBox.
  6944. 2007-07-06 Jonathan Pobst <[email protected]>
  6945. * ScrollOrientation.cs: Make internal for 1.1.
  6946. * ScrollEventArgs.cs: Add 2.0 stuffs.
  6947. 2007-07-05 Jonathan Pobst <[email protected]>
  6948. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  6949. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  6950. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  6951. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  6952. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  6953. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  6954. * ListView.cs: Implement the so-incredibly broken 2.0
  6955. VirtualItemsSelectionRangeChanged event.
  6956. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  6957. * ListView.cs: When enter is pressed and selection is non empty,
  6958. an OnItemActivate event must be fired.
  6959. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  6960. * ListView.cs: Store the FocusedItem information as an
  6961. int instead of a ListViewItem (needed by VirtualMode).
  6962. Update the calls to SetFocusedItem to pass an index instead of
  6963. an item.
  6964. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  6965. the Focused state from the owner ListView.
  6966. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  6967. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  6968. property. Also, invalidate previous focused item in the mentioned
  6969. property (match .Net).
  6970. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  6971. * ListView.cs: Implement 2.0 FocusedItem property setter.
  6972. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  6973. * ListView.cs: Implement 2.0 TopItem property setter.
  6974. 2007-07-03 Jonathan Pobst <[email protected]>
  6975. * StatusStrip.cs: The default renderer is System.
  6976. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  6977. if the user specifies it.
  6978. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  6979. if we are ManagerRenderMode.
  6980. * ToolStripMenuItem.cs: Calculate our text color better.
  6981. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  6982. from Professional to the base class based off working with the System renderer.
  6983. * ToolStripSystemRenderer.cs: Added.
  6984. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  6985. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  6986. 2007-07-02 Jonathan Pobst <[email protected]>
  6987. * ToolTip.cs: Implement 2.0 Tag property.
  6988. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  6989. * ListView.cs: Implement 2.0 HitTest methods.
  6990. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  6991. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  6992. item is under the pointer or not (sugar). Also remove the TODO
  6993. regarding to the cursor changes in OneClick activation.
  6994. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  6995. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  6996. true; otherwise don't show the underline style.
  6997. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  6998. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  6999. the code to retrieve the item at position only one time. Also
  7000. change cursor when Activation is ItemActivation.OneClick as well
  7001. as invalidate the item if HotTracking is true (to show/hide the
  7002. underline style). Add an internal HotItemIndex property to retrieve
  7003. the current hot item's index.
  7004. * ListViewItem.cs: Add an internal HotFont property to cache the
  7005. font used when HotTracking is true and the pointer moves within the
  7006. item's borders.
  7007. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  7008. HotFont depending on the hot state of the item.
  7009. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  7010. * ListView.cs: Implement 2.0 HotTracking property.
  7011. 2007-06-21 Jonathan Pobst <[email protected]>
  7012. * ToolStripControlHost.cs: If our hosted control never got created,
  7013. don't try to dispose it. [Fixes bug #81909]
  7014. 2007-06-21 Jonathan Pobst <[email protected]>
  7015. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  7016. 2007-06-21 Jonathan Pobst <[email protected]>
  7017. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  7018. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  7019. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  7020. Details view.
  7021. * DrawListViewColumnHeaderEventArgs.cs:
  7022. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  7023. using the DrawText () methods.
  7024. 2007-06-19 Jonathan Pobst <[email protected]>
  7025. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  7026. background which got erased in my changes yesterday.
  7027. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  7028. * ListViewItem.cs: Actually set bounds for subitems in Details view
  7029. (2.0 feature).
  7030. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  7031. can invoke from the owner draw routines if we need it. Also, add
  7032. support for Owner draw in Details view.
  7033. 2007-06-18 Jonathan Pobst <[email protected]>
  7034. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  7035. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  7036. ShowImageMargin setting, properly align text in a ToolStripLabel
  7037. hosted on a ToolStripDropDown.
  7038. 2007-06-18 Jonathan Pobst <[email protected]>
  7039. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  7040. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  7041. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  7042. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  7043. 2007-06-18 Jonathan Pobst <[email protected]>
  7044. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  7045. location to match ToolStripMenuItems.
  7046. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  7047. * DrawListViewColumnHeaderEventArgs.cs:
  7048. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  7049. column headers in ListView.
  7050. 2007-06-15 Jonathan Pobst <[email protected]>
  7051. * UserControl.cs: Implement AutoSize.
  7052. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  7053. * DrawListViewItemEventArgs.cs:
  7054. * ListView.cs:
  7055. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  7056. ListView.
  7057. 2007-06-15 Jonathan Pobst <[email protected]>
  7058. * ToolStripDropDownItemAccessibleObject.cs: Added.
  7059. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  7060. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  7061. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  7062. ToolStripTextBox.cs: corcompare work.
  7063. 2007-06-14 Jonathan Pobst <[email protected]>
  7064. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  7065. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  7066. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  7067. corcompare.
  7068. 2007-06-14 Jonathan Pobst <[email protected]>
  7069. * OSFeature.cs: Add IsPresent.
  7070. * PrintPreviewControl.cs: Add RightToLeft.
  7071. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  7072. * SplitterPanel.cs: Add AutoSizeMode.
  7073. 2007-06-13 Jonathan Pobst <[email protected]>
  7074. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  7075. * MdiClient.cs: Add 2.0 ScaleControl.
  7076. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  7077. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  7078. 2007-06-13 Jonathan Pobst <[email protected]>
  7079. * Form.cs: Implement some scaling methods, stub some RTL methods,
  7080. corcompare work.
  7081. 2007-06-13 Jonathan Pobst <[email protected]>
  7082. * Control.cs: corcompare work.
  7083. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  7084. 2007-06-13 Jonathan Pobst <[email protected]>
  7085. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  7086. ControlPaint 2.0 stuffs.
  7087. 2007-06-12 Jonathan Pobst <[email protected]>
  7088. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  7089. 2007-06-12 Jonathan Pobst <[email protected]>
  7090. * UpDownBase.cs: Add 2.0 stuffs.
  7091. 2007-06-12 Jonathan Pobst <[email protected]>
  7092. * NumericUpDown.cs: Add 2.0 stuffs.
  7093. 2007-06-12 Jonathan Pobst <[email protected]>
  7094. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  7095. 2007-06-12 Jonathan Pobst <[email protected]>
  7096. * ErrorProvider.cs: Implement 2.0 stuffs.
  7097. 2007-06-12 Jonathan Pobst <[email protected]>
  7098. * DomainUpDown.cs: Implement 2.0 stuffs.
  7099. 2007-06-12 Jonathan Pobst <[email protected]>
  7100. * CheckedListBox.cs: Fix RefreshItems signature.
  7101. 2007-06-12 Jonathan Pobst <[email protected]>
  7102. * PictureBox.cs: Implement 2.0 stuffs.
  7103. 2007-06-12 Andreia Gaita <[email protected]>
  7104. * TabControl.cs: Check if there are tabpages before checking
  7105. the selected index - fix #81802 (font changes raise a ResizeTabs
  7106. call on controls.add, which blew up nicely with no tabpages)
  7107. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  7108. * ListView.cs:
  7109. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  7110. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  7111. * ListView.cs:
  7112. * ListViewItem.cs: In VirtualMode the selection information
  7113. resides in the ListView, rather than in the Items. Also, throw
  7114. InvalidOperationExceptions when VirtualMode is being used and
  7115. CheckedItemCollection is accessed.
  7116. 2007-06-08 Jonathan Pobst <[email protected]>
  7117. * ComboBox.cs: Add ScaleControl.
  7118. 2007-06-08 Jonathan Pobst <[email protected]>
  7119. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  7120. 2007-06-08 Jonathan Pobst <[email protected]>
  7121. * GroupBox.cs: Add 2.0 stuffs.
  7122. 2007-06-08 Jonathan Pobst <[email protected]>
  7123. * Panel.cs: Add autosize properties/event.
  7124. 2007-06-07 Jonathan Pobst <[email protected]>
  7125. * Control.cs:
  7126. - When we remove a control, remove it from the collection before performing the layout.
  7127. - Setup an internal property for explicit_bounds.
  7128. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  7129. - Perform a layout when we set a new AutoSizeMode.
  7130. 2007-06-07 Jonathan Pobst <[email protected]>
  7131. * ScrollableControl.cs: Add 2.0 stuffs.
  7132. 2007-06-06 Jonathan Pobst <[email protected]>
  7133. * ScrollBar.cs: Add 2.0 stuffs.
  7134. 2007-06-06 Jonathan Pobst <[email protected]>
  7135. * Splitter.cs: Add 2.0 stuffs.
  7136. 2007-06-06 Jonathan Pobst <[email protected]>
  7137. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  7138. to have BindingContext simply use base implementation.
  7139. 2007-06-06 Jonathan Pobst <[email protected]>
  7140. * ColumnHeader.cs: corcompare fix.
  7141. 2007-06-06 Jonathan Pobst <[email protected]>
  7142. * Button.cs: corcompare fixes.
  7143. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  7144. 2007-06-06 Jonathan Pobst <[email protected]>
  7145. * Button.cs: Override GetPreferredSizeCore.
  7146. * ButtonBase.cs: PerformLayout after changing properties that can affect
  7147. AutoSize. Simplify some mouse/keyboard code.
  7148. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  7149. * MouseEventArgs.cs: Make Location internal for 1.1.
  7150. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  7151. * Theme.cs: Add CalculateButtonAutoSize.
  7152. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  7153. 2007-06-05 Miguel de Icaza <[email protected]>
  7154. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  7155. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  7156. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  7157. since we can get different item instances every time we retrieve it.
  7158. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  7159. * ListView.cs: Work around for #81602, since an unkown an pretty
  7160. infrequent condition appears only in some systems (old linux boxes, it
  7161. seems).
  7162. 2007-06-04 Jonathan Pobst <[email protected]>
  7163. * Button.cs: Completely reformat and a little refactor to bring
  7164. this closer to Mono circa 2007.
  7165. 2007-06-04 Jonathan Pobst <[email protected]>
  7166. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  7167. to be ButtonBase.Invalidate.
  7168. 2007-06-04 Jonathan Pobst <[email protected]>
  7169. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  7170. 2007-06-04 Jonathan Pobst <[email protected]>
  7171. * ButtonBase.cs: Completely reformat and a little refactor to bring
  7172. this closer to Mono circa 2007.
  7173. 2007-06-01 Everaldo Canuto <[email protected]>
  7174. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  7175. values for autosize. Fixes #80137.
  7176. 2007-06-01 Jonathan Pobst <[email protected]>
  7177. * Control.cs: Don't perform layout when AutoSize changes.
  7178. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  7179. directly when autosizing, use SetBounds with BoundsSpecified.None.
  7180. Fixes unit tests my last commit broke.
  7181. 2007-06-01 Jonathan Pobst <[email protected]>
  7182. * Control.cs: Perform layout when AutoSize changes.
  7183. * Form.cs: Implement AutoSizing.
  7184. 2007-06-01 Chris Toshok <[email protected]>
  7185. * DataGrid.cs: remove the XXX'ed check at the top of
  7186. ProcessGridKey. fixes #80464.
  7187. 2007-06-01 Chris Toshok <[email protected]>
  7188. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  7189. adding idempotent (add/remove in Edit()), and also make sure we
  7190. don't add it until after we set the text, so it's not tripped in
  7191. Edit(). Fixes unit test regression.
  7192. 2007-06-01 Jonathan Pobst <[email protected]>
  7193. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  7194. change is user explicit, not when the layout engine moves stuff. Fixes
  7195. anchoring to bottom and right. [Fixes bug #81790]
  7196. 2007-06-01 Andreia Gaita <[email protected]>
  7197. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  7198. 2007-06-01 Andreia Gaita <[email protected]>
  7199. * ContainerControl.cs:
  7200. Fire enter event for common ancestor if it is not a ContainerControl.
  7201. Send focus to the active_control and not the 'value', the active
  7202. control might have been changed in one of the events fired.
  7203. Definitely fixes #80159.
  7204. 2007-06-01 Andreia Gaita <[email protected]>
  7205. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  7206. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  7207. * PropertyGrid.cs: Anchor the help description to the bottom of the
  7208. help panel and refactor SelectGridItem into a
  7209. SelectGridItemInternal that can be set to null (and update it to
  7210. clear the help texts when it is set to null). Set root item to null
  7211. when there's no SelectedObject. Fixes #80438.
  7212. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  7213. when we're recalculating after a resize (only).
  7214. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  7215. * ListView.cs: Implement 2.0 RedrawItems method.
  7216. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  7217. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  7218. handlers from previous data manager when DataSource is set to
  7219. null. Fixes #81771.
  7220. 2007-05-31 Jackson Harper <[email protected]>
  7221. * TextBoxBase.cs: These seem to be the correct values.
  7222. 2007-05-31 Everaldo Canuto <[email protected]>
  7223. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  7224. value. Fixes #81784.
  7225. 2007-05-31 Jonathan Pobst <[email protected]>
  7226. * Control.cs: Implement 2.0 scaling methods.
  7227. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7228. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  7229. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  7230. corcompare issues.
  7231. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7232. * ProgressBar.cs: Implemented missing 2.0 members.
  7233. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7234. * Control.cs: Corcompare issues.
  7235. * MessageBox.cs: Implemented missing 2.0 functions.
  7236. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7237. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  7238. Implemented more 2.0 members.
  7239. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  7240. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  7241. null (strange, but it seems to happen when running unit tests).
  7242. 2007-05-30 Andreia Gaita <[email protected]>
  7243. * ContainerControl.cs: Set active_control even earlier, before
  7244. firing any events, and undo it if validation returns false.
  7245. 2007-05-30 Andreia Gaita <[email protected]>
  7246. * ContainerControl.cs: Raise Validation and Enter/Leave events
  7247. even if there is no Form and set active_control earlier, just
  7248. before firing Enter events (toshok's patches). Fixes #80647.
  7249. 2007-05-30 Jackson Harper <[email protected]>
  7250. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  7251. things and fix bug #81311.
  7252. 2007-05-30 Jackson Harper <[email protected]>
  7253. * X11Dnd.cs: Now that we have our own event loop, we need to
  7254. cancel when we get a mouseup but it won't be accepted.
  7255. 2007-05-30 Chris Toshok <[email protected]>
  7256. * DataGrid.cs (set_CurrentCell): guard against negative
  7257. column/row.
  7258. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  7259. array index syntax instead of looping over the property names.
  7260. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  7261. and set IsInEditOrNavigateMode to false there.
  7262. 2007-05-30 Jackson Harper <[email protected]>
  7263. * TreeView.cs: Make sure we don't get a bad visible order when
  7264. setting to the top node. Fixes some misc crashing in
  7265. ControlInspector.
  7266. 2007-05-30 Andreia Gaita <[email protected]>
  7267. * UserControl.cs: Add 2.0 AutoSizeMode
  7268. 2007-05-29 Everaldo Canuto <[email protected]>
  7269. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  7270. 2007-05-29 Everaldo Canuto <[email protected]>
  7271. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  7272. lines. Fixes #80285.
  7273. 2007-05-29 Everaldo Canuto <[email protected]>
  7274. * DataGridColumnStyle.cs: Add char trimming column header text format.
  7275. 2007-05-29 Everaldo Canuto <[email protected]>
  7276. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  7277. Fixes #80147.
  7278. 2007-05-29 Jackson Harper <[email protected]>
  7279. * TreeNode.cs: Fix off by one on calculating whether or not a node
  7280. is visible.
  7281. 2007-05-29 Jonathan Pobst <[email protected]>
  7282. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  7283. * ScrollableControl.cs: Force an UpdateDistances when we move the
  7284. scrollbars.
  7285. [Fixes bug #80605]
  7286. 2007-05-29 Andreia Gaita <[email protected]>
  7287. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  7288. update the page setup screen.
  7289. 2007-05-29 Andreia Gaita <[email protected]>
  7290. * PageSetupDialog.cs: Fix landscape mode.
  7291. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  7292. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  7293. IconSizeHorizontalSpacing.
  7294. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  7295. * ListView.cs: The declaration of prev_tooltip_item should be inside
  7296. a NET_2_0 conditional (avoid a warning).
  7297. 2007-05-28 Andreia Gaita <[email protected]>
  7298. * PageSetupDialog.cs: Implement PrintPreview control to display
  7299. the preview thumbnail. Change unit conversion to use
  7300. PrinterUnitConvert methods.
  7301. Note: there is a huge bug in ms.net where the default margins are
  7302. interpreted as centimeters (?), when in fact they are set in inches. When
  7303. loading the page setup dialog initially (ms.net), the default margins
  7304. are set to 1 inch, and the dialog shows them with value 10, when in fact
  7305. it should be 25 (properly converted). Our dialog doesn't have this bug.
  7306. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  7307. RectangleF.
  7308. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  7309. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  7310. * ListView.cs:
  7311. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  7312. items.
  7313. 2007-05-28 Andreia Gaita <[email protected]>
  7314. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  7315. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  7316. bug?), convert the ptr to Int32 first.
  7317. 2007-05-28 Jackson Harper <[email protected]>
  7318. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  7319. recieved, we will exit the dnd tracking loop.
  7320. 2007-05-28 Jackson Harper <[email protected]>
  7321. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  7322. recieved. TODO: I should probably stick a timer on the dropped
  7323. event, and finish the drag if the XDND Finished event never shows
  7324. (because some apps don't seem to send it).
  7325. 2007-05-28 Everaldo Canuto <[email protected]>
  7326. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  7327. #81733.
  7328. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  7329. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  7330. handled.
  7331. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  7332. * MonthCalendar.cs: Set the size after initializing all the relevant
  7333. variables. Fixes #81742.
  7334. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  7335. * KeyEventArgs.cs: Fix typo.
  7336. 2007-05-28 Gert Driesen <[email protected]>
  7337. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  7338. to match MS. Fixed MinDate to only accept value less than or equal
  7339. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  7340. Removed TODO's that are now verified by unit tests.
  7341. 2007-05-27 Gert Driesen <[email protected]>
  7342. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  7343. MS.
  7344. 2007-05-25 Jackson Harper <[email protected]>
  7345. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  7346. it's own message loop.
  7347. * XplatUIX11.cs: Remove some of the dnd hooks
  7348. 2007-05-25 Gert Driesen <[email protected]>
  7349. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  7350. instead of MinimizedWindowSize.
  7351. 2007-05-25 Jackson Harper <[email protected]>
  7352. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  7353. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  7354. * KeyEventArgs.cs: Added SuppressKeyPress.
  7355. * Control.cs: Added support for SuppressKeyPress.
  7356. 2007-05-24 Andreia Gaita <[email protected]>
  7357. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  7358. problems with PieChart. suppress_validation should not be a counter,
  7359. if there are several BeginInit calls, the first EndInit will
  7360. activate validation. Fix exceptions thrown by set_Value.
  7361. * UpDownBase.cs: ValidateText only if it's the user editing it.
  7362. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  7363. * ListControl.cs: FilterItemOnProperty should return the filtered
  7364. item proeprty even if DataSource is null. The same applies for
  7365. GetItemText. Fixes #80427.
  7366. 2007-05-24 Jonathan Pobst <[email protected]>
  7367. * Control.cs: If a control doesn't have a parent when it's Dock is
  7368. set, but it has children, it needs to do a layout. Fixes some nested
  7369. controls issues. [Fixes bug #81199]
  7370. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  7371. * ComboBox.cs: If there are few items in the drop down list, make it
  7372. the exact size the items need, no bigger. Fixes #81612.
  7373. 2007-05-24 Jonathan Pobst <[email protected]>
  7374. * Application.cs: When we have captured the keyboard for a menu,
  7375. check for mouse down events in case we need to close the menu.
  7376. * Control.cs, Form.cs: Remove mouse down checks for menus.
  7377. 2007-05-24 Jackson Harper <[email protected]>
  7378. * TextControl.cs: Handle tabs in non multiline mode a little
  7379. differently.
  7380. 2007-05-24 Jackson Harper <[email protected]>
  7381. * TextControl.cs: We need to manually break apart tabbed text and
  7382. move the tabs, since the system.drawing tabbing mechanism relies
  7383. on tab stops.
  7384. * TextBoxBase.cs: Move the caret properly when the user enters a
  7385. tab.
  7386. 2007-05-24 Jonathan Pobst <[email protected]>
  7387. * ContainerControl.cs: Don't check CanSelect before calling
  7388. ProcessMnemonic.
  7389. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  7390. release a KeyboardActive on click if it's not ours.
  7391. 2007-05-23 Andreia Gaita <[email protected]>
  7392. * ColumnHeader.cs: Add TypeConverter
  7393. 2007-05-23 Everaldo Canuto <[email protected]>
  7394. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  7395. 2007-05-23 Everaldo Canuto <[email protected]>
  7396. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  7397. 2007-05-23 Everaldo Canuto <[email protected]>
  7398. * LinkLabel.cs: Implement public Padding property.
  7399. 2007-05-23 Everaldo Canuto <[email protected]>
  7400. * LinkLabel.cs: Implement public FlatStyle.
  7401. 2007-05-23 Jonathan Pobst <[email protected]>
  7402. * Control.cs: Apply patch from George to call parent.PerformLayout
  7403. when Visible is changed. [Fixes bugs #81118, 81718]
  7404. 2007-05-23 Everaldo Canuto <[email protected]>
  7405. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  7406. 2007-05-23 Everaldo Canuto <[email protected]>
  7407. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  7408. 2007-05-23 Everaldo Canuto <[email protected]>
  7409. * ContextMenu.cs: Implement Collapse.
  7410. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  7411. * ToolBarButton.cs: Implement Name.
  7412. 2007-05-22 Everaldo Canuto <[email protected]>
  7413. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  7414. use current_item, it prevents some NRE. Fixes #81675.
  7415. 2007-05-22 Andreia Gaita <[email protected]>
  7416. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  7417. without updating the text.
  7418. 2007-05-22 Jonathan Pobst <[email protected]>
  7419. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  7420. without calling DeleteObject. [Should fix bug #81709]
  7421. 2007-05-22 Jackson Harper <[email protected]>
  7422. * RichTextBox.cs: Set the line endings correctly, when flushing
  7423. RTF text.
  7424. 2007-05-22 Gert Driesen <[email protected]>
  7425. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  7426. {Width=0,Height=0}.
  7427. 2007-05-22 Jackson Harper <[email protected]>
  7428. * TreeView.cs: Setting top with a null node should set to the very
  7429. top.
  7430. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7431. * Form.cs: ShowDialog: destroy the handle when message loop is
  7432. finished, matches MS behaviour. Refactor parts of WmClose into
  7433. RaiseCloseEvents, that only raises events if they haven't already
  7434. been raised. Fixes #81688 and #81521.
  7435. * Application.cs: Don't call close on the form when exiting a modal
  7436. loop, it will raise all the (Form)Closed/Closing events again if
  7437. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  7438. which doesn'r raise any events it they have been raised before.
  7439. 2007-05-22 Jonathan Pobst <[email protected]>
  7440. * Control.cs: Add OnPrint.
  7441. * ToolStrip.cs: Add GetChildAtPoint.
  7442. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  7443. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  7444. 2007-05-22 Everaldo Canuto <[email protected]>
  7445. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  7446. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7447. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  7448. isn't visible anymore. Fixes #81651.
  7449. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7450. * Control.cs: WmShowWindow: Update children's z-order after setting
  7451. their parent. SetParent may show the window, thereby corrupting
  7452. z-order, since the window will be shown on top.
  7453. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  7454. multiple (and redundant) WM_SHOWWINDOW messages.
  7455. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  7456. event has already been raised.
  7457. * Form.cs: Change is_changing_visible_state to a counter, since
  7458. SetVisibleCore can be called recursively. CreateHandle: when
  7459. creating mdi children, send (De)Activated events.
  7460. * MdiClient.cs: Update use of is_changing_visible_state.
  7461. * Application.cs: OnThreadException: Surround exception handling with
  7462. try/finally to ensure we always reset the error-handling state
  7463. before leaving.
  7464. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  7465. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  7466. (#81704).
  7467. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  7468. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  7469. SmallIcon views, now that we have a standarized horizontal spacing.
  7470. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  7471. 4, just like the other views (Match .Net).
  7472. 2007-05-21 Jonathan Pobst <[email protected]>
  7473. * Control.cs: Delay calculating anchor distances until we actually layout.
  7474. Always query the WM for the actual size and location it put us at instead of
  7475. only when we send negative values.
  7476. [Fixes bugs #81694, 81695]
  7477. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  7478. * Application.cs: Avoid a possible stack overflow when trying to exit
  7479. the application.
  7480. 2007-05-19 Marek Safar <[email protected]>
  7481. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  7482. enum value.
  7483. 2007-05-19 Andreia Gaita <[email protected]>
  7484. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  7485. * NumericUpDownAcceleration.cs,
  7486. NumericUpDownAccelerationCollection.cs: Added 2.0
  7487. implementation.
  7488. 2007-05-19 Gert Driesen <[email protected]>
  7489. * RichTextBox.cs: Recalculate the document after the ScrollBars
  7490. property is changed. Fixes bug #81681.
  7491. 2007-05-18 Jonathan Pobst <[email protected]>
  7492. * DataObject.cs: Implement 2.0 methods.
  7493. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  7494. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  7495. in the center of the checkbox, not in the left-top corner.
  7496. Fixes #80037.
  7497. 2007-05-18 Jackson Harper <[email protected]>
  7498. * RichTextBox.cs: Recalculate the document after the scrollbars
  7499. property is changed.
  7500. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  7501. 81486.
  7502. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  7503. * CreateParams.cs: Make HasWindowManager marginally faster.
  7504. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  7505. into Hwnd so that other drivers can use it as well.
  7506. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  7507. the default location from Hwnd. Fixes MDI client windows always
  7508. showing up at (0,0) in Windows (Win32 won't set the default
  7509. location since the window styles aren't correct).
  7510. 2007-05-18 Gert Driesen <[email protected]>
  7511. * TreeView.cs: Modified DoubleBuffered to just use the base
  7512. implementation.
  7513. 2007-05-18 Jackson Harper <[email protected]>
  7514. * TreeView.cs: Set the top node to the last child node when
  7515. expanding all
  7516. - When we get focus, if there is no selected node, use the top
  7517. node.
  7518. 2007-05-18 Jonathan Pobst <[email protected]>
  7519. * KeysConverter.cs: Add CanConvertTo.
  7520. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  7521. * LinkConverter.cs: Added.
  7522. 2007-05-18 Everaldo Canuto <[email protected]>
  7523. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  7524. it prevents error when file dont have write access. Fixes #81669 and #81667.
  7525. 2007-05-18 Everaldo Canuto <[email protected]>
  7526. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  7527. button text. Fixes #79640.
  7528. 2007-05-18 Everaldo Canuto <[email protected]>
  7529. * Control.cs: According to MSDN controls created in the designer theres
  7530. keyboard accelerators visible by default. So included check for design
  7531. in ShowKeyboardCuesInternal.
  7532. 2007-05-18 Everaldo Canuto <[email protected]>
  7533. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  7534. text. Fixes #81621.
  7535. 2007-05-18 Everaldo Canuto <[email protected]>
  7536. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  7537. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  7538. 2007-05-17 Everaldo Canuto <[email protected]>
  7539. * Control.cs: Finish implementation of UI State using WmChangeUIState
  7540. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  7541. in some controls to check for show_keyboard_cues to draw accell keys "_".
  7542. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  7543. * ListBox.cs: When calculating the horizontal scrollbar
  7544. in single column mode, don't use values less than 0 for
  7545. Maximum. Fixes #81474.
  7546. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  7547. * ListBox.cs: Throw the some missing exceptions in
  7548. ListBox.ObjectCollection methods.
  7549. 2007-05-17 Jackson Harper <[email protected]>
  7550. * TextBoxBase.cs: Recalculate the document when the word wrap
  7551. value has changed. This fixes 81488.
  7552. 2007-05-17 Jonathan Pobst <[email protected]>
  7553. * Clipboard.cs: Implement missing GetText overload.
  7554. 2007-05-17 Chris Toshok <[email protected]>
  7555. * Control.cs (CheckDataBindings): remove the binding_context arg
  7556. to binding.Check.
  7557. * CurrencyManager.cs (OnItemChanged): fix this now that
  7558. BindingManagerBase is fixed. also remove the comment telling where
  7559. the fix should go. We set transfering_data to true/false around
  7560. the call to PushData to keep UpdateIsBinding from being called.
  7561. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  7562. PropertyDescriptorAdded in the 1.1 case. The extra call is
  7563. actually generated by System.Data generating 2 metadata changed
  7564. events of its own per column add. The fix should go there. Add a
  7565. comment to that affect in our test's Assert.Ignore.
  7566. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  7567. we keep a boolean flag (transfering_data) that keeps us from
  7568. calling UpdateIsBinding multiple times if we re-enter either of
  7569. them.
  7570. * ControlBindingsCollection.cs (AddCore): remove the
  7571. binding_context arg to binding.Check.
  7572. * Binding.cs (IsBinding): don't check if we're binding here, just
  7573. return our cached value. we update it in UpdateIsBinding.
  7574. (Check): don't take the binding_context arg, we'll just use our
  7575. control's. Also, for some reason MS doesn't use the data member
  7576. field when getting the bindingmanager for this binding. it just
  7577. uses the datasource. Make this method callable multiple times,
  7578. and only do the is_null_desc stuff if manager.Position != -1 (so
  7579. we don't get an exception accessing manager.Current).
  7580. (UpdateIsBinding): move the code from IsBinding here.
  7581. (PositionChangedHandler): call Check here to we can initialize
  7582. things that require a non- -1 position.
  7583. 2007-05-17 Everaldo Canuto <[email protected]>
  7584. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  7585. control.
  7586. 2007-05-17 Andreia Gaita <[email protected]>
  7587. * TabControl.cs: Add 2.0 methods and events, including
  7588. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  7589. * TabPage.cs: Add 2.0 methods
  7590. 2007-05-17 Everaldo Canuto <[email protected]>
  7591. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  7592. keyboard_cues is properly handled by message method.
  7593. 2007-05-17 Jonathan Pobst <[email protected]>
  7594. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  7595. 2007-05-17 Jonathan Pobst <[email protected]>
  7596. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  7597. 2007-05-16 Everaldo Canuto <[email protected]>
  7598. * Control.cs:
  7599. - WmUpdateUIState added to handle state changes, it make call to
  7600. OnChangeUICues event.
  7601. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  7602. SystemInformation.
  7603. 2007-05-16 Jonathan Pobst <[email protected]>
  7604. * ImageKeyConverter.cs: Added.
  7605. * TreeViewImageKeyConverter.cs: Added.
  7606. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  7607. * ToolTips.cs: Update Text if SetToolTip is called for a control
  7608. already showing the tooltip, as well as restarting its timer; show
  7609. tooltip if we are inside the control bounds by the time of calling
  7610. SetToolTip. Inside ShowTooltip remove the check to not show the
  7611. tooltip again for the active control (it is allowed by .Net to
  7612. show the tooltip on the same control multiple times).
  7613. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  7614. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  7615. 2007-05-16 Andreia Gaita <[email protected]>
  7616. * ContainerControl.cs: only process tab key if there are no
  7617. modifier keys present, otherwise the control does the
  7618. tab processing, if it needs to. Fixes #81622
  7619. * TabControl.cs: Fixes calculation for which tab to select on
  7620. shift+ctrl+tab.
  7621. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  7622. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  7623. 2007-05-15 Jonathan Pobst <[email protected]>
  7624. * Control.cs: Make IsInputCharInternal to allow controls to
  7625. override it and still match MS API.
  7626. * TextBoxBase.cs: Override IsInputCharInternal and always
  7627. return true.
  7628. [Fixes bug #81616]
  7629. 2007-05-15 Jackson Harper <[email protected]>
  7630. * TextBox.cs: Disable some of the menu options when using a
  7631. readonly textbox.
  7632. 2007-05-15 Jackson Harper <[email protected]>
  7633. * TextBox.cs:
  7634. * TextBoxBase.cs:
  7635. * RichTextBox.cs: Some new 2.0 methods
  7636. 2007-05-15 Gert Driesen <[email protected]>
  7637. * FileDialog.cs: On 1.0 profile, do not support multidotted
  7638. extensions.
  7639. 2007-05-14 Jackson Harper <[email protected]>
  7640. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  7641. * RichTextBox.cs: We need to override these methods on 2.0.
  7642. * MaskedTextBox.cs: These are implemented now
  7643. * TextControl.cs: This was off by one.
  7644. 2007-05-14 Jackson Harper <[email protected]>
  7645. * TextControl.cs: Because the line endings are including in the
  7646. text, we don't need to add them in anymore.
  7647. 2007-05-11 Everaldo Canuto <[email protected]>
  7648. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  7649. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  7650. 2007-05-11 Everaldo Canuto <[email protected]>
  7651. * ToolBar.cs: Adjust size to default size when button theres no text and
  7652. image, it fixes remaining issues from #81524.
  7653. 2007-05-11 Everaldo Canuto <[email protected]>
  7654. * ToolBar.cs:
  7655. - When not flat call redraw to recalculate sizes on creare handle to match
  7656. win32 behavior.
  7657. - Revert 77220 because it causes some regressions in toobar
  7658. button.
  7659. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  7660. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  7661. now actually enters a usable state.
  7662. 2007-05-11 Everaldo Canuto <[email protected]>
  7663. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  7664. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  7665. 3 buttons.
  7666. 2007-05-11 Everaldo Canuto <[email protected]>
  7667. * ToolBar.cs: Save default_size on create handle to use later for buttons
  7668. without text, needed to mimic win32 behavior.
  7669. 2007-05-11 Everaldo Canuto <[email protected]>
  7670. * ToolBar.cs: Fix button layour to best fit width or height according to
  7671. vertical or not. Fixes #81524.
  7672. 2007-05-10 Everaldo Canuto <[email protected]>
  7673. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  7674. toolbar size info because different styles theres different sizes.
  7675. Fixes #81522.
  7676. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  7677. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  7678. if we are using checkboxes, checked is true, and we have less
  7679. than two images in StateImageList; for the 1.1 in the same scenario
  7680. draw the first image if we have at least one image in StateImageList.
  7681. Fixes part of #81191.
  7682. 2007-05-10 Jonathan Pobst <[email protected]>
  7683. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  7684. the owner's Items collection on merge.
  7685. 2007-05-10 Jonathan Pobst <[email protected]>
  7686. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  7687. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  7688. and parent/owner gets changed based on gert's unit tests.
  7689. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  7690. * MaskedTextBox.cs: Started implementing parts of it.
  7691. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  7692. * ListView.cs: When clicking the checkbox on the items
  7693. take into account the double clicks even if we have only
  7694. one image in StateImageList (only for 1.0/1.1). Also
  7695. generate an extra change of checked state when we receive
  7696. the second click on checkbox (match .Net behaviour).
  7697. Fixes part of #81191.
  7698. 2007-05-10 Everaldo Canuto <[email protected]>
  7699. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  7700. 2007-05-10 Jonathan Pobst <[email protected]>
  7701. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  7702. even if OnLoad is overriden and base.OnLoad is not called.
  7703. [Fixes bug #81582]
  7704. 2007-05-10 Andreia Gaita <[email protected]>
  7705. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  7706. shame. (I blame my ever-persisting and annoying cold)
  7707. 2007-05-09 Jonathan Pobst <[email protected]>
  7708. * ListView.cs: Don't eat navigation keys. Let them flow through to
  7709. KeyDown/KeyPress routines. [Fixes bug #81569]
  7710. 2007-05-09 Jonathan Pobst <[email protected]>
  7711. * ListView.cs: When handling keys for selecting the item based off
  7712. keyboard input, do not consider keys pressed with Alt or Control. Also,
  7713. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  7714. 2007-05-09 Jonathan Pobst <[email protected]>
  7715. * Control.cs: When using UseWaitCursor, we have to store the requested
  7716. Cursor to use when UseWaitCursor is turned off.
  7717. 2007-05-09 Jonathan Pobst <[email protected]>
  7718. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  7719. to false.
  7720. * Application.cs: Use PreProcessControlMessage instead of
  7721. PreProcessMessage.
  7722. * PreProcessControlMessage.cs: Make internal for 1.1.
  7723. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  7724. * Control.cs: Add InternalContains focus property, which hast the same
  7725. functionality of ContainsFocus, but also including implicit controls.
  7726. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  7727. since we need to know if the focus is contained in our implicit
  7728. ItemControl when calculating Layout. Fixes part of #80888.
  7729. 2007-05-08 Everaldo Canuto <[email protected]>
  7730. * ToolTip.cs: Remove center form string alignment as it must be align to
  7731. left.
  7732. 2007-05-08 Jonathan Pobst <[email protected]>
  7733. * ToolStripItemCollection.cs: Set the new item's parent and owner
  7734. in Insert like we do in Add. [Fixes bug #81568]
  7735. 2007-05-08 Jackson Harper <[email protected]>
  7736. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  7737. - Off by one error in SetTop
  7738. - Disable DoubeBuffering
  7739. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  7740. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  7741. control as much as necessary in order to make it entirely visible,
  7742. instead of centering the control in the container (matches MS
  7743. behaviour). CalculateCanvasSize: we need to take the current scroll
  7744. position into account when calculating the maximum canvas,
  7745. otherwise the following scenario will fail: resize so that the
  7746. scrollbars appear, use the scrollbars to scroll, resize again
  7747. smaller, and now the canvas size is too small. Recalculate: when
  7748. showing scrollbars make sure they start off at 0, and try to scroll
  7749. the active control into view. Fixes #79540. HandleScrollBar: don't
  7750. scroll anywhere if the scrollbar isn't visible.
  7751. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  7752. * ListView.cs: When focus changed, call Layout/Invalidate
  7753. in the focused item to update the selected state (should show
  7754. entire label when ListView is focused, and a part of it if is not).
  7755. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  7756. for displaying the entire label not only the Focused state of the
  7757. item, but also the Focused state of the ListView (match .Net
  7758. behaviour).
  7759. 2007-05-07 Jonathan Pobst <[email protected]>
  7760. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  7761. Implement UseWaitCursor.
  7762. 2007-05-07 Jonathan Pobst <[email protected]>
  7763. Applying contributed patch from Sergey Volk.
  7764. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  7765. of SetDataObject.
  7766. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  7767. 2007-05-07 Jonathan Pobst <[email protected]>
  7768. * Control.cs: Implement DrawToBitmap.
  7769. 2007-05-07 Jonathan Pobst <[email protected]>
  7770. Applying contributed patch from Stefan Noack.
  7771. * Control.cs: Add [Get|Set]AutoSizeMode.
  7772. 2007-05-07 Jonathan Pobst <[email protected]>
  7773. * MdiClient.cs: Unmerge menus when the last child is closed.
  7774. 2007-05-07 Jonathan Pobst <[email protected]>
  7775. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  7776. * ToolStripManager.cs: Call Merge on DropDowns.
  7777. [Fixes bug #81477]
  7778. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  7779. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  7780. uints.
  7781. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  7782. visibility. We can't create forms visible, since we have to set the
  7783. owner before making the form visible (otherwise Win32 will do
  7784. strange things with task bar icons). The problem is that we set the
  7785. internal is_visible to true before creating the control, so
  7786. is_changing_visible_state is the only way of determining if we're
  7787. in the process of creating the form due to setting Visible=true -
  7788. this works because SetVisibleCore explicitly makes the form
  7789. visibile afterwards anyways. Fixes #80775.
  7790. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  7791. * ThemeWin32Classic.cs: When drawing ListViewItems,
  7792. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  7793. or LargeIcon _and_ item is not focused (match .Net behaviour).
  7794. 2007-05-04 Jonathan Pobst <[email protected]>
  7795. * Control.cs, Form.cs: Fix some obsolete method warnings.
  7796. 2007-05-04 Jonathan Pobst <[email protected]>
  7797. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  7798. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  7799. 2007-05-04 Andreia Gaita <[email protected]>
  7800. * ContainerControl.cs: Fix active_control attribution when going
  7801. up the parent chain so that the first parent container gets the control
  7802. and the rest of the parent containers get the child containers (skips
  7803. non-containers). Fixes #80729
  7804. 2007-05-04 Randolph Chung <[email protected]>
  7805. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  7806. [Fixes bug #81499]
  7807. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  7808. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  7809. takes a size parameter, since the CreateParam's size isn't true for
  7810. minimized forms. Fixes #81518,
  7811. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  7812. * Form.cs: Add OnDeactivateInternal.
  7813. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  7814. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  7815. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  7816. accessing the parent. Fixes #81508.
  7817. 2007-05-03 Chris Toshok <[email protected]>
  7818. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  7819. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  7820. was added before the current listposition. Fixes the
  7821. TestInsertRowBeforeCurrent unit test.
  7822. 2007-05-03 Jonathan Pobst <[email protected]>
  7823. * Application.cs: Add RaiseIdle.
  7824. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7825. XplatUIX11.cs: Implement RaiseIdle.
  7826. 2007-05-02 Jonathan Pobst <[email protected]>
  7827. corcompare work: N - Z
  7828. * NotifyIcon.cs
  7829. * ProgressBar.cs
  7830. * RadionButton.cs
  7831. * ScrollableControl.cs
  7832. * SplitContainer.cs
  7833. * SplitterPanel.cs
  7834. * StatusBar.cs
  7835. * SystemInformation.cs
  7836. * TabControl.cs
  7837. * TableLayoutControlCollection.cs
  7838. * TableLayoutPanel.cs
  7839. * TabPage.cs
  7840. * ToolBar.cs
  7841. * ToolBarButton.cs
  7842. * ToolStrip.cs
  7843. * ToolStripComboBox.cs
  7844. * ToolStripContainer.cs
  7845. * ToolStripContentPanel.cs
  7846. * ToolStripDropDown.cs
  7847. * ToolStripDropDownItem.cs
  7848. * ToolStripDropDownMenu.cs
  7849. * ToolStripItem.cs
  7850. * ToolStripItemCollection.cs
  7851. * ToolStripMenuItem.cs
  7852. * ToolStripPanel.cs
  7853. * ToolStripSplitButton.cs
  7854. * ToolTip.cs
  7855. * TreeNode.cs
  7856. * TreeNodeCollection.cs
  7857. * TreeNodeMouseHoverEventArgs.cs
  7858. * TreeView.cs
  7859. 2007-05-01 Everaldo Canuto <[email protected]>
  7860. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  7861. stuff. Thanks aatdark for the patch.
  7862. 2007-05-01 Jonathan Pobst <[email protected]>
  7863. * GridItem.cs: Implement 2.0 Tag property.
  7864. 2007-05-01 Frederik Carlier <[email protected]>
  7865. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  7866. count instead of Nodes.Length. [Fixes bug #81448]
  7867. 2007-05-01 Jonathan Pobst <[email protected]>
  7868. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  7869. [Fixes bug #81506]
  7870. 2007-05-01 Jonathan Pobst <[email protected]>
  7871. corcompare work: A - M
  7872. * BindingNavigator.cs
  7873. * Button.cs
  7874. * ButtonBase.cs
  7875. * CheckBox.cs
  7876. * Control.cs
  7877. * FlowLayoutPanel.cs
  7878. * Form.cs
  7879. * Label.cs
  7880. * LinkLabel.cs
  7881. * ListView.cs
  7882. 2007-05-01 Jonathan Pobst <[email protected]>
  7883. * Application.cs: Give toolstrips a chance to process mnemonics.
  7884. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  7885. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  7886. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  7887. 2007-05-01 Jackson Harper <[email protected]>
  7888. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  7889. wider area too.
  7890. - Don't set the BoundsSpecified
  7891. 2007-04-30 Jonathan Pobst <[email protected]>
  7892. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  7893. message to pass through to a regular control if it hosted by a toolstrip.
  7894. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  7895. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  7896. 2007-04-30 Jonathan Pobst <[email protected]>
  7897. * TextRenderer.cs: Use the flags argument when using the MeasureString
  7898. fallback algorithm.
  7899. 2007-04-30 Jonathan Pobst <[email protected]>
  7900. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  7901. the MDI menu item. [Fixes bug #81483]
  7902. 2007-04-30 Gert Driesen <[email protected]>
  7903. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  7904. string. When setting Name to null, use zero-length string instead.
  7905. 2007-04-29 Andreia Gaita <[email protected]>
  7906. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  7907. DeselectTab). Implement missing 2.0 TabPageCollection methods
  7908. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  7909. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  7910. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  7911. 2007-04-29 Gert Driesen <[email protected]>
  7912. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  7913. Fixes bug #81479. Include details of exception when LoadFile fails.
  7914. 2007-04-28 Alan McGovern <[email protected]>
  7915. * DrawListViewSubItemEventArgs.cs: Added missing setter
  7916. 2007-04-27 Andreia Gaita <[email protected]>
  7917. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  7918. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  7919. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  7920. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  7921. removed in ly last commit (it was breaking the Label edit feature).
  7922. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  7923. StringAlignment.Near for LineAlignment (match .Net).
  7924. 2007-04-27 Andreia Gaita <[email protected]>
  7925. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  7926. of controls if it isn't already there - was blowing up when doing
  7927. tabcontrol.TabPages[i]=new TabPage().
  7928. SetTab now does a replace by removing the page at the index.
  7929. Add a new InsertTab method that inserts a page in a given index
  7930. instead of replacing.
  7931. Implements TabPageCollection.Insert(int, TabPage).
  7932. 2007-04-27 Chris Toshok <[email protected]>
  7933. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  7934. internal handler that can be invoked from our subclasses.) Also,
  7935. add a comment to PushData about how we need to fix it.
  7936. * CurrencyManager.cs: tons of changes here. trying to get things
  7937. matching the behavior of .net wrt event orders (ItemChanged,
  7938. CurrentChanged, PositionChanged.) I've implemented a private .net
  7939. symbol (ChangeRecordState) that appears in stack traces because
  7940. it's actually easier to do this than to effective inline all its
  7941. various behaviors at every call site.
  7942. * RelatedPropertyManager.cs: guard against an exception here by
  7943. not using parent.Current if the position is set to -1 (if the
  7944. parent datasource is cleared, for instance).
  7945. * Binding.cs: don't parse data in PushData (this might be wrong,
  7946. but it jives with MS's behavior.) Also, don't call PushData when
  7947. we get a CurrentChanged event.
  7948. 2007-04-27 Andreia Gaita <[email protected]>
  7949. * WebBrowser.cs,
  7950. WebBrowserBase.cs,
  7951. WebBrowserSiteBase.cs,
  7952. HtmlDocument.cs: Added stubbed out classes, no real implementations
  7953. yet.
  7954. 2007-04-27 Everaldo Canuto <[email protected]>
  7955. * MainMenu.cs: In draw method without parameters call draw method with
  7956. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  7957. as Rect property is already adjusted. Fixes #80694.
  7958. 2007-04-27 Jonathan Pobst <[email protected]>
  7959. * Application.cs: Need to handle keyboard menu deselection here.
  7960. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  7961. navigation, allowing keyboard to work on X11.
  7962. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  7963. 2007-04-27 Everaldo Canuto <[email protected]>
  7964. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  7965. menu bar. It fixes some drawing issues in menu bar.
  7966. 2007-04-27 Everaldo Canuto <[email protected]>
  7967. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  7968. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  7969. when <alt> key is pressed.
  7970. 2007-04-26 Everaldo Canuto <[email protected]>
  7971. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  7972. example just set visible to false and make this prevent from other problems.
  7973. In SystrayAdd always remove pending expose. Fixes #81072.
  7974. 2007-04-26 Marek Safar <[email protected]>
  7975. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  7976. value is set.
  7977. 2007-04-26 Alan McGovern <[email protected]>
  7978. * ListView.cs: Added three missing 2.0 events and corresponding
  7979. EventHandlers. Added the OwnerDraw property.
  7980. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  7981. 2007-04-26 Alan McGovern <[email protected]>
  7982. * DrawListViewItemEventArgs.cs
  7983. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  7984. 2007-04-26 Alan McGovern <[email protected]>
  7985. * TextControl.cs: Fixed typo in constructor
  7986. 2007-04-26 Jonathan Pobst <[email protected]>
  7987. * Application.cs: Create a shortcut path so that currently selected
  7988. MenuStrips can intercept keyboard events without having focus.
  7989. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  7990. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  7991. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  7992. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  7993. generate WM_SYSCOMMAND message in X11 for other platforms.
  7994. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  7995. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  7996. * ToolStripSplitButton.cs: Add DefaultItem property.
  7997. 2007-04-26 Everaldo Canuto <[email protected]>
  7998. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  7999. fixes some menu draw problem on Windows with border diferent from default
  8000. it also fixes #81403.
  8001. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  8002. * Form.cs: Refactor WndProc into separate methods, just like Control is
  8003. doing it.
  8004. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  8005. * Control.cs: set_Text: move the call to the driver into a seperate
  8006. virtual method so that Form can override it.
  8007. * MaskedTextBox.cs: Corcompare fixes.
  8008. * Form.cs: Override UpdateWindowText and only update the styles if the
  8009. form has been shown (fixes #81405).
  8010. 2007-04-25 Jonathan Pobst <[email protected]>
  8011. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  8012. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  8013. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  8014. the form lost focus or another control was clicked.
  8015. 2007-04-25 Gert Driesen <[email protected]>
  8016. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  8017. fixed.
  8018. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  8019. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  8020. DrawListViewItemEventHandler.cs,
  8021. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  8022. Added.
  8023. * X11Structs.cs: More ToString implementation.
  8024. 2007-04-25 Jonathan Pobst <[email protected]>
  8025. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  8026. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  8027. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  8028. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  8029. handle.
  8030. * FormCollection.cs: Don't add a form if it's already in the
  8031. collection.
  8032. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  8033. according to behaviour and MSDN. The ownerWin32 is the active
  8034. window at the moment when we call ShowDialog, not the context's
  8035. main form (the context's main form may open another form that opens
  8036. a form with ShowDialog, the win32 owner is the second form). Add
  8037. and remove forms to the Application.OpenForms in other places to
  8038. better match MS behaviour. Add an IsActive property that raises
  8039. On(de)Activated only if the active state has changed (we were
  8040. raising OnDeactivated before OnActivated while creating forms).
  8041. * Application.cs: Refactor Enabling/Disabling of windows for modal
  8042. dialog loops out to separate methods, and restore the thread
  8043. context when we quit the method. Fixes #81407.
  8044. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  8045. * ListView.cs: In ItemControl.HandleClicks, also fire
  8046. 2.0 MouseClick or MouseDoubleClick events on the parent,
  8047. not only the Click/DoubleClick events.
  8048. 2007-04-24 Andreia Gaita <[email protected]>
  8049. * TableLayoutSettings.cs:
  8050. - Added a GetControls method and a support structure to help the
  8051. TypeConverter to enumerate the controls for serialization.
  8052. - Added a new serialization constructor.
  8053. - Added a isSerialized flag initialized to true on the
  8054. serialization constructor so that the TableLayoutPanel.LayoutSettings
  8055. setter does not throw the designed NotSupportedOperation exception
  8056. when the object is built through deserialization.
  8057. - Implemented GetObjectData
  8058. * TableLayoutPanel.cs: Added check on LayoutSettings.
  8059. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  8060. * ListView.cs: Report Click and DoubleClick events to the parent
  8061. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  8062. from breaking the click count state when using dialog forms (Control
  8063. reports the clicks in a similar fashion). In the previous behaviour
  8064. the last WM_LBUTTONUP message in a double click was sent to the
  8065. ListView's form, instead of the ListView, which was breaking the click
  8066. count for it. Fixes #80387.
  8067. 2007-04-24 Alan McGovern <[email protected]>
  8068. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  8069. 2007-04-24 Jonathan Pobst <[email protected]>
  8070. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  8071. us from created dropdowns for menu items that do not have subitems.
  8072. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  8073. Check HasDropDownItems before calling DropDown so a dropdown will not be
  8074. created if it isn't needed.
  8075. 2007-04-24 Jackson Harper <[email protected]>
  8076. * TreeView.cs: Set the first node to the selected node when we get
  8077. focus if there is no selected node.
  8078. 2007-04-24 Andreia Gaita <[email protected]>
  8079. * MimeIcon.cs: remove using blocks so that image streams are
  8080. not disposed of. Fixes #80151
  8081. 2007-04-24 Jackson Harper <[email protected]>
  8082. * TextBoxBase.cs: Fixup the height of textboxes when the control
  8083. is created.
  8084. 2007-04-24 Jonathan Pobst <[email protected]>
  8085. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  8086. for each ToolStripItem when the parent's RightToLeftChanged is called.
  8087. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8088. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  8089. Fixes #80163.
  8090. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  8091. property, so that the setter can be overriden too.
  8092. * TextBox.cs: Change GetContextMenuInternal() to use
  8093. ContextMenuInternal.
  8094. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8095. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  8096. #81406.
  8097. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8098. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  8099. #81406.
  8100. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  8101. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  8102. avoid duplicate work. Mostily skeleton code, it's not working at
  8103. all yet.
  8104. 2007-04-20 Leszek Ciesielski <[email protected]>
  8105. * NotifyIcon.cs : stub for MouseClick event
  8106. * Application.cs: stub for SetUnhandledExceptionMode
  8107. 2007-04-24 Alan McGovern <[email protected]>
  8108. * BindingNavigator.cs : Initial (partial) implementation
  8109. 2007-04-23 Jackson Harper <[email protected]>
  8110. * TreeView.cs: Do not create the treeview's handle when setting
  8111. the scroll position.
  8112. - ExpandAll needs to compute the scrollbars so it knows which
  8113. position to set the bar too.
  8114. * TreeNode.cs:
  8115. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  8116. 2007-04-23 Jackson Harper <[email protected]>
  8117. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  8118. key. Fixes #81408.
  8119. 2007-04-23 Jonathan Pobst <[email protected]>
  8120. * ToolStripItem.cs: Make GetImageSize internal.
  8121. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  8122. need to draw an item. Fixes a reported issue where images on menus
  8123. that were not 16x16 were drawing incorrectly.
  8124. 2007-04-21 Miguel de Icaza <[email protected]>
  8125. * Padding.cs: Use the converter, fixes the resgen2 issue with
  8126. XMLNotePad.
  8127. 2007-04-21 Jackson Harper <[email protected]>
  8128. * TreeView.cs: Dont try to unhighlight the selected node if there
  8129. isn't a selected node.
  8130. 2007-04-21 Jackson Harper <[email protected]>
  8131. * UpDownBase.cs:
  8132. * TextBoxBase.cs:
  8133. * ListView.cs:
  8134. * ListBox.cs:
  8135. * TreeView.cs: Use the InternalBorderStyle property to set the
  8136. initial border style, this forces the client rectangle to be sized
  8137. correctly.
  8138. 2007-04-20 Jackson Harper <[email protected]>
  8139. * TreeView.cs: Simplify scrolling to the last node after expanding
  8140. all.
  8141. - Fix some off by ones with setting the bottom.
  8142. 2007-04-20 Jonathan Pobst <[email protected]>
  8143. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  8144. that. We were incorrectly doing it the other way around. Also,
  8145. update ClientSize if we change the BorderStyle before the control
  8146. is created.
  8147. 2007-04-20 Gert Driesen <[email protected]>
  8148. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  8149. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  8150. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  8151. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  8152. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  8153. Caption to CaptionHeight.
  8154. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  8155. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  8156. and FixedFrameBorderSize to return value from current XplatUI driver.
  8157. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  8158. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  8159. and FixedFrameBorderSize using win32 API. Renamed Caption to
  8160. CaptionHeight.
  8161. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  8162. * SystemInformation.cs: Fixed typo in BorderSize.
  8163. 2007-04-20 Gert Driesen <[email protected]>
  8164. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  8165. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  8166. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  8167. returning false.
  8168. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  8169. value from XplatUI driver.
  8170. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  8171. SystemParametersInfo.
  8172. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  8173. override.
  8174. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  8175. returning false.
  8176. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  8177. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  8178. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  8179. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  8180. 2007-04-20 Jonathan Pobst <[email protected]>
  8181. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  8182. MenuStrips that contain ToolStripSeparators.
  8183. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  8184. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  8185. DefineStdCursorBitmap.
  8186. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  8187. has been created off a standard cursor. This is used to get a
  8188. bitmap of the standard cursor when Draw or DrawStretched is called
  8189. in order to draw the cursor.
  8190. * X11Structs.cs: Added XcursorImage and XcursorImages.
  8191. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  8192. DefineStdCursorBitmap.
  8193. * Cursors.cs: Update all relevant creations of Cursor to use the new
  8194. internal constructor.
  8195. 2007-04-19 Jackson Harper <[email protected]>
  8196. * TextBox.cs: Move the has_been_focused into the base control, so
  8197. some of the text adding methods can manipulate it (probably time
  8198. for a better name for this flag too).
  8199. - Call a new version of selectall that doesn't scroll
  8200. * TextBoxBase.cs: When we append text, if the document is empty,
  8201. don't scroll. If the document has text already, we scroll to the
  8202. end of the appended text.
  8203. - When the text is changed, we reset the has_been_focused, so the
  8204. next time the control gets focused, all the text is selected.
  8205. 2007-04-19 Jackson Harper <[email protected]>
  8206. * TextControl.cs: Move the margins to the document, add a method
  8207. so the margin sizes can be updated.
  8208. * TextBoxBase.cs: When the border style is changed, update the
  8209. border sizes.
  8210. 2007-04-19 Jonathan Pobst <[email protected]>
  8211. * Control.cs: Respect DefaultPadding.
  8212. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  8213. padding into account.
  8214. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  8215. 2007-04-19 Jackson Harper <[email protected]>
  8216. * TextControl.cs: Oops, we need to use the ClientRect not the
  8217. bounds here.
  8218. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  8219. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  8220. account the double clicks when CheckBoxes are used and
  8221. the pointer is inside the checkbox. Fixes part of #81191.
  8222. 2007-04-18 Jackson Harper <[email protected]>
  8223. * TextControl.cs: Pressing the end key shouldn't move the caret
  8224. past the line ending.
  8225. * TextBoxBase.cs: We can still delete if we are in the line
  8226. ending and the combine will just kill the existing line ending.
  8227. 2007-04-18 Jackson Harper <[email protected]>
  8228. * TextControl.cs: We can't move lines, then invalidate their
  8229. bounds, we need to get the old bounds and combine that with the
  8230. new bounds.
  8231. * TextBoxBase.cs: Before combining two lines for a delete, we need
  8232. to invalidate the area of the old line, since that will be moved
  8233. in the combine operation.
  8234. 2007-04-18 Everaldo Canuto <[email protected]>
  8235. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  8236. with transparent background. Fixes #80482.
  8237. 2007-04-18 Jonathan Pobst <[email protected]>
  8238. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  8239. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  8240. [Fixes bug #81391]
  8241. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  8242. * CreateParams.cs: Add a couple of helper methods and do a less string
  8243. concatenation in ToString.
  8244. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  8245. overload that takes a Control parameter, since this method may be
  8246. called before a control is assigned to the hwnd (from
  8247. CreateWindow), and update CreateWindow to use the new overload. In
  8248. GetMenuOrigin subtract the title bar from the y position if the
  8249. form has a window manager (since we're painting it and not X).
  8250. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  8251. CreateParams to calculate the origin (since border sizes may vary).
  8252. In ScreenToMenu only subtract the title height if we actually have
  8253. a title.
  8254. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  8255. mdi children never have menus of themselves.
  8256. * InternalWindowManager.cs: Implement menu handling like form does.
  8257. Added GetMenuOrigin to calculate the menu origin, can't use the
  8258. CreateParams from the form like normally since it's lying.
  8259. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  8260. windows-like) and add Inflate and comparison operators to the
  8261. Borders type. When calculating MenuOrigin and it's a form with a
  8262. window manager, use the window manager to calculate it.
  8263. 2007-04-17 Chris Toshok <[email protected]>
  8264. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  8265. OnBindingContextChanged thing here. It's only generated from
  8266. ContainerControl.OnCreateControl. Fixes a newly written unit test
  8267. - BindingTest.BindingContextChangedTest4.
  8268. 2007-04-17 Jackson Harper <[email protected]>
  8269. * ScrollBar.cs: When setting values, make sure the current
  8270. position stays within the new values range.
  8271. 2007-04-17 Chris Toshok <[email protected]>
  8272. * Control.cs (CreateControl): talk about a bizarre corner case.
  8273. Don't emit OnBindingContextChanged here if we're a parentless
  8274. control (i.e. if we're a form.). Fixes
  8275. BindingTest.BindingContextChangedTest2.
  8276. 2007-04-17 Everaldo Canuto <[email protected]>
  8277. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  8278. from win32. Fixes #81255.
  8279. 2007-04-17 Everaldo Canuto <[email protected]>
  8280. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  8281. already present in CalculateButtonTextAndImageLayout.
  8282. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  8283. * XplatUIX11.cs: When setting min/max size for a window we need to
  8284. translate the coordinates to x coordinates. Create an overload of
  8285. SetWindowMinMax that takes a CreateParams handling this, and change
  8286. SetWMStyles to call this function (can't use Control.FromHandle in
  8287. the SetWindowMinMax to get the control/CreateParams from the handle
  8288. because the handle might not have been assigned to the control
  8289. yet). Fixes #81371.
  8290. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  8291. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  8292. if StateImageList is non-null and it has less than two items (match MS
  8293. behaviour). Also, in HandleNavKeys handle the Space key, calling
  8294. the new ToggleItemsCheckState method, which tries to change the
  8295. checked state of the selected items. Fixes part of #81191.
  8296. 2007-04-16 Jackson Harper <[email protected]>
  8297. * RichTextBox.cs: namespace cleanup.
  8298. 2007-04-16 Everaldo Canuto <[email protected]>
  8299. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  8300. 2007-04-16 Everaldo Canuto <[email protected]>
  8301. [Fixes #79447]
  8302. * Control.cs: Call invalidate in set_Region.
  8303. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  8304. it dont works here.
  8305. 2007-04-16 Jackson Harper <[email protected]>
  8306. * TextBoxBase.cs: When enter is pressed, we need to update all
  8307. lines below the current.
  8308. 2007-04-16 Jonathan Pobst <[email protected]>
  8309. * MdiClient.cs: Implement implicit menu merging for MDI
  8310. children. When a child form is active, if it has a menustrip
  8311. and the parent form has a MainMenuStrip, automatically merge
  8312. the menus.
  8313. 2007-04-15 Andreia Gaita <[email protected]>
  8314. * TabControl.cs: Refactored sizing methods to not repeat
  8315. code all over the place. Tab bounds are now calculated
  8316. as if alignment is top and single line, and only when
  8317. setting the bounds are the positions adjusted according
  8318. to alignment. Replaced hardcoded positions, spacings and
  8319. paddings by getting the values the ThemeEngine.
  8320. Fixes #79619.
  8321. * Theme.cs: Change TabControl properties and methods so
  8322. that all start with TabControl*. Added more properties
  8323. to help remove hardcoded values on tabcontrol.
  8324. Add CPDrawBorder3D declaration so the Theming classes
  8325. can access it.
  8326. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  8327. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  8328. on the Theming namespace, and call the appropriate methods here.
  8329. Change CPDrawBorder3D to public.
  8330. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  8331. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  8332. the control after firing the OnMouseUp event, instead of sending
  8333. the message before the mentioned event. This is so we can match the
  8334. MS behaviour. Fixes part of #80385.
  8335. 2007-04-13 Jonathan Pobst <[email protected]>
  8336. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  8337. RightToLeft property.
  8338. 2007-04-13 Jonathan Pobst <[email protected]>
  8339. * ToolStrip.cs: Add properties and internal methods to support merging.
  8340. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  8341. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  8342. not trigger reparenting or layouts.
  8343. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  8344. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  8345. is hosting the overflow menu.
  8346. 2007-04-13 Jackson Harper <[email protected]>
  8347. * TextControl.cs: Set the line ending correctly for the first
  8348. inserted line.
  8349. 2007-04-13 Sebastien Pouliot <[email protected]>
  8350. * Theme.cs: Update GetMethod to get the new definition for
  8351. KnownColors.Update (and fix theme color updates).
  8352. 2007-04-12 Everaldo Canuto <[email protected]>
  8353. * MessageBox.cs: Fix some test and button position.
  8354. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  8355. * Form.cs: Consider the implicit controls in
  8356. GetRealChildAtPoint. We need it since this method
  8357. is called on Form when handling the some messages in
  8358. WndProc, and need to consider those implicit ones too.
  8359. Fixes #80385.
  8360. 2007-04-12 Jonathan Pobst <[email protected]>
  8361. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  8362. if there are no ShortcutKeys set.
  8363. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  8364. set, use it when painting.
  8365. 2007-04-12 Jackson Harper <[email protected]>
  8366. * TextControl.cs: Fix some off-by-one issues in line duplication
  8367. and insertion in the undo manager. Also, overwrite the first tag
  8368. of a line on insert, if it is just a zero lengthed tag. This
  8369. prevents us from getting an extra stranded tag at the beginning of
  8370. the first line.
  8371. 2007-04-11 Everaldo Canuto <[email protected]>
  8372. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  8373. to calculated proper size including when handle was not created yet.
  8374. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  8375. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  8376. when the mouse is outside of it's parent's client rectangle. Fixes
  8377. #79982 (take 3, part 2).
  8378. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  8379. * X11Structs.cs: Add a few ToString() overrides.
  8380. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  8381. the window location in a window-manager independent way. Reworked
  8382. FrameExtents, it now actually works. Reworked AddConfigureNotify
  8383. and ReparentNotify handling to use GetTopLevelWindowLocation
  8384. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  8385. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  8386. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  8387. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  8388. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  8389. and generally refactored to do as few calculations as possible
  8390. inside the lock.
  8391. 2007-04-09 Sebastien Pouliot <[email protected]>
  8392. * Theme.cs: Change "reflective-contract" between MWF and SD to
  8393. minimize # of calls, avoid Color serialization and avoid updating
  8394. every "known colors" each time a single one is updated.
  8395. 2007-04-09 Gert Driesen <[email protected]>
  8396. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  8397. when not readonly and the text is explicitly set. Code style updates.
  8398. * DataGridTableStyle.cs: Removed extra line.
  8399. * DataGrid.cs: Code style updates. Removed extra whitespace.
  8400. * DataGridColumnStyle.cs: Code style updates. Removed extra
  8401. whitespace.
  8402. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  8403. * XplatUIX11.cs: Added comment that "fixes" #80021.
  8404. 2007-04-09 Jackson Harper <[email protected]>
  8405. * TextControl.cs: We don't need this -1 on the line count anymore.
  8406. 2007-04-09 Gert Driesen <[email protected]>
  8407. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  8408. entered value to underlying type, and convert it back to a string to
  8409. apply formatting. Modified GetFormattedValue to use TypeConverter
  8410. if available.
  8411. 2007-04-08 Gert Driesen <[email protected]>
  8412. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  8413. Use SubItems property when we want to ensure there's at least one
  8414. subitem. Modified SubItems property to ensure there's always at least
  8415. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  8416. the NRE's reported by MS.
  8417. 2007-04-07 Gert Driesen <[email protected]>
  8418. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  8419. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  8420. Spaces to tabs. Removed extra tabs.
  8421. 2007-04-06 Jonathan Pobst <[email protected]>
  8422. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  8423. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  8424. 2007-04-06 Jackson Harper <[email protected]>
  8425. * TextBoxBase.cs: When a delete removes a line, recalculate all
  8426. lines below that line (they need to get offsets setup correctly)
  8427. and invalidate.
  8428. 2007-04-05 Jackson Harper <[email protected]>
  8429. * TextControl.cs: We need to invalidate across the width of the
  8430. document when we are invalidating multiple lines.
  8431. * TextBoxBase.cs: Don't delete into the line ending.
  8432. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  8433. * ListView.cs: Restore the check for the MouseHover event
  8434. in ListView. It looks like the ListView fires more than one MouseHover
  8435. event when HoverSelection is true _only_ in weird-corner scenarios, but
  8436. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  8437. event.
  8438. 2007-04-05 Mike Kestner <[email protected]>
  8439. * ListView.cs : raise MouseDown before updating selection.
  8440. [Fixes #80373 tab 1&3]
  8441. 2007-04-05 Jonathan Pobst <[email protected]>
  8442. * ToolStripRenderer.cs: Add static method to mirror image.
  8443. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  8444. and RightToLeftAutoMirrorImage.
  8445. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  8446. 2007-04-05 Jonathan Pobst <[email protected]>
  8447. * ToolStripSplitStackLayout.cs: Support Alignment property.
  8448. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  8449. 2007-04-05 Jackson Harper <[email protected]>
  8450. * TextControl.cs: Move around the line endings when crossing line
  8451. boundaries.
  8452. - When combining lines, strip the ending text off the first line.
  8453. 2007-04-05 Jackson Harper <[email protected]>
  8454. * TextControl.cs:
  8455. * TextBoxBase.cs: Try to never move the cursor into the line
  8456. ending.
  8457. 2007-04-04 Jonathan Pobst <[email protected]>
  8458. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  8459. the item is disabled. Also add a few missing methods.
  8460. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  8461. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  8462. to fire just one MouseHover event when HoverSelection is true, since
  8463. .Net does fire more than one MouseHover event in that scenario. Also,
  8464. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  8465. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  8466. Finally, we need to reset the Hover logic in MouseMove, even when we
  8467. don't have a selected item.
  8468. 2007-04-04 Jonathan Pobst <[email protected]>
  8469. * ToolStrip.cs: Add several missing methods, properties, and events.
  8470. 2007-04-04 Chris Toshok <[email protected]>
  8471. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  8472. (0,0,0,0) in Commit, as MS does.
  8473. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  8474. make sure we set CurrentRow on a row header click *before* calling
  8475. Select. This moves the current cell (and the textbox) to the new
  8476. row. The call to Select then hides the textbox, giving us the
  8477. correct behavior. Fixes #80362.
  8478. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  8479. (ListChangedHandler): reorder the position/current changed events,
  8480. and call UpdateIsBinding in the ItemAdded case.
  8481. * GridColumnStylesCollection.cs: add some columns events, one of
  8482. which raises the CollectionChanged event.
  8483. 2007-04-04 Jackson Harper <[email protected]>
  8484. * TextControl.cs: When we delete multiple selection lines
  8485. invalidate the selection area, don't need to do that for single
  8486. lines because the final update view will handle it.
  8487. 2007-04-04 Jonathan Pobst <[email protected]>
  8488. * Control.cs: When we CreateControl, we need to also create all of the
  8489. control's children. The child's OnLoad must also fire before the parent's
  8490. OnLoad. Fixes the toolbox size in PDN.
  8491. 2007-04-04 Jackson Harper <[email protected]>
  8492. * TextBoxBase.cs: When the user presses enter, insert a line
  8493. ending into the text. (Maybe this would be a good spot for
  8494. Environment.NewLine).
  8495. * TextControl.cs: Remove undo manager hack, line endings get
  8496. inserted properly now.
  8497. 2007-04-04 Everaldo Canuto <[email protected]>
  8498. * MenuAPI.cs:
  8499. - Remove unneeded parameters in UpdateCursor.
  8500. - Fix UpdateCursor to check if menu is active.
  8501. - Call UpdateCursor when menu deactivate my click.
  8502. [Fixes remaining issues from #80410]
  8503. 2007-04-04 Everaldo Canuto <[email protected]>
  8504. * Control.cs: GetRealChildAtPoint method added, it make an
  8505. recursive child control search for the point.
  8506. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  8507. menu.
  8508. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  8509. 2007-04-03 Everaldo Canuto <[email protected]>
  8510. * Form.cs: Fix mouse position when send back mouse event after closes
  8511. menu.
  8512. 2007-04-03 Everaldo Canuto <[email protected]>
  8513. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  8514. 2007-04-03 Jonathan Pobst <[email protected]>
  8515. * Control.cs: Fix an issue where if a user resized a control inside
  8516. a sizing method like OnResize, we would overwrite their explicit
  8517. value. Also, only call DefaultSize once in the constructor instead
  8518. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  8519. nothing actually changed.
  8520. 2007-04-03 Jackson Harper <[email protected]>
  8521. * TextControl.cs: Don't attempt to copy text for lines with no
  8522. text in them (technically this shouldn't happen, but we aren't
  8523. always inserting line endings when we should be).
  8524. 2007-04-03 Jackson Harper <[email protected]>
  8525. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  8526. document, because this sets some of the document size properties
  8527. that are needed.
  8528. 2007-04-03 Jackson Harper <[email protected]>
  8529. * TextBoxBase.cs: We need to calculate maximums even if this is
  8530. not a multiline control, because the maxs are used for scrolling.
  8531. - Display the caret after doing a page up/down, we need to
  8532. manually display it because a proper CaretMoved event isn't
  8533. triggered (this is because of the way the math is done to
  8534. determine how far to scroll).
  8535. 2007-04-03 Jonathan Pobst <[email protected]>
  8536. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  8537. (ToolBar was relying on SetBoundsCore to default the values sent
  8538. base off of BoundsSpecified.)
  8539. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8540. * DateTimePicker.cs: Change Text so that when a null value or empty
  8541. string is assigned to the test we always raise ValueChanged and
  8542. TextChanged (earlier implementation would only raise ValueChanged
  8543. if the current date value was different from DateTime.Now).
  8544. 2007-04-03 Andreia Gaita <[email protected]>
  8545. * ButtonBase: Call update after invalidation, fixes #80194
  8546. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8547. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  8548. #79335.
  8549. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8550. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  8551. FormBorderStyle = None, don't give the window any decorations.
  8552. Fixes #81276.
  8553. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  8554. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  8555. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  8556. to check for is a mix of several styles (such as WS_CAPTION for
  8557. instance).
  8558. * Control.cs: Don't paint an area bigger than the client area when
  8559. painting the background colour. Add an internal GetCreateParams.
  8560. Update calls to XplatUI.CalculateWindowRect due to API change.
  8561. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  8562. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  8563. the size if it hasn't been handled by any windows. When creating
  8564. and moving windows, X wants the location of the entire window, but
  8565. the size of the client window, so add
  8566. TranslateClientRectangleToXClientRectangle,
  8567. TranslateWindowSizeToXWindowSIze and
  8568. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  8569. before every window creation and move. Update CalculateWIndowRect
  8570. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  8571. In AddConfigureNotify don't do anything if the hwnd is a zombie
  8572. (fixes the BadWindow we were getting while running the tests),
  8573. always calculate the offsets when it's a parentless window, not
  8574. only when reparented, and translate the window size, since we're
  8575. getting the client size of the whole window, excluding entire
  8576. window.
  8577. * Theme.cs: Added BorderSizableSize.
  8578. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  8579. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  8580. chang
  8581. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  8582. change. Fake the window styles here instead of in XplatUIWin32 so
  8583. that all back-ends get the same window styles (and it's Form that's
  8584. deciding when to use wm, not the Win32 backend anyways)
  8585. * Hwnd.cs: Completely reworked GetWindowRectangle and
  8586. GetClientRectangle - they are now passed a CreateParams and they
  8587. only use Style and ExStyle to determine the rectangles (they should
  8588. now work just like Win32AdjustWindowRectEx - though quite a few
  8589. special cases are probably missing). They should also be 100%
  8590. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  8591. == rect), and all numbers (borders, menu sizes) are taken from the
  8592. current theme. Added a GetBorders helper function that will return
  8593. the borders for any given CreateParams (including captions and
  8594. menus), and GetBorderSize that returns the given border size only.
  8595. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  8596. Hwnd.GetClientRectangle.
  8597. 2007-04-02 Chris Toshok <[email protected]>
  8598. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  8599. logic between the values we present to the user and the values
  8600. which are stored in the column's property. Also, don't call
  8601. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  8602. 2007-04-02 Jackson Harper <[email protected]>
  8603. * TextBoxBase.cs: Scroll faster!
  8604. 2007-04-02 Jonathan Pobst <[email protected]>
  8605. * StatusStrip.cs: Layout fixes for PDN.
  8606. * ToolStrip.cs: Set item's available to true, and placement to main when
  8607. added.
  8608. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  8609. changing in setter before doing any work, add InternalVisible.
  8610. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  8611. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  8612. infinite loop.
  8613. 2007-04-02 Jackson Harper <[email protected]>
  8614. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  8615. text on focus.
  8616. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  8617. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  8618. Makes ToolStripComboBoxes show up again.
  8619. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  8620. * ListView.cs: Add a hover_pending field in ListView
  8621. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  8622. cycle (we are resetting the MouseHover logic in XplatUI
  8623. to handle HoverSelection). Fixes #80429.
  8624. 2007-04-02 Jackson Harper <[email protected]>
  8625. * TextControl.cs: Make sure the attributes get set on the last
  8626. tag.
  8627. - Still have to do the end tag if we have stepped all the ways to
  8628. the end.
  8629. 2007-04-02 Sebastien Pouliot <[email protected]>
  8630. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  8631. on an internal libgdiplus call when the information is already
  8632. available via the public API.
  8633. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  8634. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  8635. control is removed from a control collecftion.
  8636. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  8637. Fixes FormPropertyTest (failed on rare occasions).
  8638. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  8639. of Win32SetParent (when changing from no parent to a parent it
  8640. might add the new parent's location in screen coordinates to this
  8641. window's location).
  8642. * Form.cs: Rework ChangingParent once again, now the handle is
  8643. recreated whenever a FormWindowManager is added or removed (that is
  8644. whenever a normal form is parented or abandoned). Also change
  8645. CreateParams so that all non-toplevel windows always get the
  8646. specified sice (StartupPosition is never considered for
  8647. non-TopLevel forms).
  8648. * ContainerControl.cs: Add ChildControlRemoved, the container control
  8649. needs to be notified when a control is removed from it's
  8650. collection, in the case the removed control is the active control.
  8651. 2007-04-02 Jackson Harper <[email protected]>
  8652. * RichTextBox.cs: Use the new methods for setting the font and
  8653. color, these methods set the specified attribute without
  8654. overriding the other attributes.
  8655. 2007-04-02 Jonathan Pobst <[email protected]>
  8656. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  8657. 2007-03-31 Gert Driesen <[email protected]>
  8658. * TextBox.cs: Added internal ChangeBackColor method to special-case
  8659. Color.Empty. Added check for invalid ScrollBars value.
  8660. * TextBoxBase.cs: Added internal ChangeBackColor method.
  8661. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  8662. internal ChangeBackColor method to special-case Color.Empty. Added
  8663. check for invalid ScrollBars value.
  8664. 2007-03-30 Everaldo Canuto <[email protected]>
  8665. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  8666. 2007-03-30 Jonathan Pobst <[email protected]>
  8667. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  8668. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  8669. [Based on submitted patch from Olivier Duff.]
  8670. 2007-03-30 Jackson Harper <[email protected]>
  8671. * TextBox.cs: Only select all on initial focus if the user has not
  8672. specified a selection area.
  8673. 2007-03-30 Jonathan Pobst <[email protected]>
  8674. * UserControl.cs: Override CreateParams.
  8675. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  8676. [ Fixes #80995 ]
  8677. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  8678. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  8679. check for is a mix of several styles (such as WS_CAPTION for instance).
  8680. * Control.cs: Don't paint an area bigger than the client area when painting
  8681. the background colour. Add an internal GetCreateParams. Update calls to
  8682. XplatUI.CalculateWindowRect due to API change.
  8683. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  8684. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  8685. hasn't been handled by any windows. When creating and moving windows, X
  8686. wants the location of the entire window, but the size of the client
  8687. window, so add TranslateClientRectangleToXClientRectangle,
  8688. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  8689. to cope with this, and call them before every window creation and move.
  8690. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  8691. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  8692. hwnd is a zombie (fixes the BadWindow we were getting while running the
  8693. tests), always calculate the offsets when it's a parentless window, not
  8694. only when reparented, and translate the window size, since we're getting
  8695. the client size of the whole window, excluding entire window.
  8696. * Theme.cs: Added BorderSizableSize.
  8697. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  8698. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  8699. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  8700. Fake the window styles here instead of in XplatUIWin32 so that all
  8701. back-ends get the same window styles (and it's Form that's deciding when
  8702. to use wm, not the Win32 backend anyways)
  8703. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  8704. they are now passed a CreateParams and they only use Style and ExStyle
  8705. to determine the rectangles (they should now work just like
  8706. Win32AdjustWindowRectEx - though quite a few special cases are probably
  8707. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  8708. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  8709. sizes) are taken from the current theme. Added a GetBorders helper
  8710. function that will return the borders for any given CreateParams
  8711. (including captions and menus), and GetBorderSize that returns the given
  8712. border size only.
  8713. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  8714. Hwnd.GetClientRectangle.
  8715. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  8716. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  8717. layout of the mdi children is handled by CreateParams. Fixes
  8718. #79964,
  8719. 2007-03-29 Everaldo Canuto <[email protected]>
  8720. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  8721. processed.
  8722. * Form.cs: When active tracker mouse down is not processed, send event
  8723. back to control inside mouse position. [Fixes #81227]
  8724. 2007-03-29 Jonathan Pobst <[email protected]>
  8725. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  8726. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  8727. stealing focus from the active form on Windows. (Control will be made
  8728. visible in ShowWindow.)
  8729. 2007-03-29 Mike Kestner <[email protected]>
  8730. * ImageList.cs : add internal Changed event.
  8731. * ListView.cs : hook up to StateImageList.Changed to perform
  8732. invalidations when the the state icon list changes. [Fixes #81191]
  8733. 2007-03-29 Jonathan Pobst <[email protected]>
  8734. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  8735. to prevent tooltips from stealing focus from the active form on Windows.
  8736. 2007-03-29 Everaldo Canuto <[email protected]>
  8737. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  8738. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  8739. 2007-03-29 Everaldo Canuto <[email protected]>
  8740. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  8741. balloons.
  8742. 2007-03-29 Jackson Harper <[email protected]>
  8743. * TextControl.cs: When deleting text from non multiline textboxes,
  8744. we need to update the entire document, because line offsets will
  8745. be shifting.
  8746. 2007-03-29 Everaldo Canuto <[email protected]>
  8747. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  8748. added to theme, now we can create themes that uses diferent notify engines
  8749. like notification-daemon from galago project or growl for Mac OS.
  8750. 2007-03-28 Everaldo Canuto <[email protected]>
  8751. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  8752. 2007-03-28 Everaldo Canuto <[email protected]>
  8753. * XplatUIX11.cs: Prevent system to open more than one balloon.
  8754. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  8755. some compiler warning messages.
  8756. 2007-03-28 Everaldo Canuto <[email protected]>
  8757. [Fixes #79149]
  8758. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  8759. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  8760. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  8761. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  8762. systems.
  8763. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  8764. * ListViewItem.cs: Forgot to make Invalidate internal.
  8765. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  8766. * ListView.cs: Add a InvalidateSelection method to
  8767. invalidate methods which are currently selected, and call
  8768. it when setting FullRowSelect and HideSelection, instead of
  8769. calling Redraw.
  8770. 2007-03-28 Chris Toshok <[email protected]>
  8771. * XplatUIX11.cs (UnmapWindow): reindent this block.
  8772. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  8773. the selection_start if we're moving the selection (that is, not
  8774. extending it). Fixes bug #80461.
  8775. 2007-03-28 Jonathan Pobst <[email protected]>
  8776. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  8777. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  8778. create private ControlCollection.
  8779. 2007-03-28 Jonathan Pobst <[email protected]>
  8780. * Control.cs: We need to call OnVisibleChanged for our implicit
  8781. children as well as our normal children. Fixes scrollbars in
  8782. comboboxes not showing up.
  8783. 2007-03-28 Jonathan Pobst <[email protected]>
  8784. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  8785. the check for IsHandleCreated first. The check in CreateHandle is not
  8786. good enough because CreateHandle can be overriden, and the override
  8787. should not be called if the handle is already created.
  8788. 2007-03-28 Jonathan Pobst <[email protected]>
  8789. * ToolStrip.cs: Remove MonoTODO for tooltips.
  8790. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  8791. * ToolStripContainer.cs: Add custom ControlCollection class.
  8792. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  8793. * ToolStripDropDown.cs: Add some missing properties/methods.
  8794. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  8795. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  8796. * ToolStripManager.cs: Add IsShortcutDefined.
  8797. * ToolStripOverflow.cs: Override LayoutEngine.
  8798. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  8799. * ToolStripSeparator.cs: Add ImageKey.
  8800. 2007-03-28 Jackson Harper <[email protected]>
  8801. * TextControl.cs: If a char delete removes a line ending, we need
  8802. to update the ending style.
  8803. - Make sure the line ending calcs get called.
  8804. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  8805. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  8806. it was making the new code not work. Fixed a typo in the new code
  8807. as well. Fixes #79826.
  8808. 2007-03-27 Everaldo Canuto <[email protected]>
  8809. * XplatUIWin32.cs:
  8810. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  8811. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  8812. - SystrayBalloon method implemented.
  8813. [Add support for notifyicon balloon on win32, #79149]
  8814. 2007-03-27 Mike Kestner <[email protected]>
  8815. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  8816. the ms behavior when only one image is added to the list.
  8817. [Fixes #81191]
  8818. 2007-03-27 Jackson Harper <[email protected]>
  8819. * TextControl.cs: Improvements to non multiline line ending
  8820. drawing/measuing.
  8821. 2007-03-27 Everaldo Canuto <[email protected]>
  8822. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  8823. 2007-03-27 Everaldo Canuto <[email protected]>
  8824. * NotifyIcon.cs:
  8825. - Balloon message handling added.
  8826. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  8827. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8828. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  8829. to SystrayBalloon to me like other Systray method, also a
  8830. handle parameter added.
  8831. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  8832. * ListView.cs: Show scrollbars even when items.Count == 0
  8833. but the columns Width is bigger than the ListView.Width.
  8834. Also, when columns.Count == 0 set layout_wd and layout_ht
  8835. to the ClientRectangle values, so we don't show any scrollbar
  8836. in that case.
  8837. 2007-03-27 Everaldo Canuto <[email protected]>
  8838. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  8839. 2007-03-27 Jackson Harper <[email protected]>
  8840. * RichTextBox.cs: The RTF library decodes the text properly for us
  8841. now.
  8842. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  8843. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  8844. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  8845. ListView header (HeaderControl), instead of Control.BackColor.
  8846. 2007-03-27 Jonathan Pobst <[email protected]>
  8847. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  8848. Fixes tab control issues where controls would not show up because they
  8849. never received their OnVisibleChanged call.
  8850. 2007-03-27 Everaldo Canuto <[email protected]>
  8851. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  8852. BalloonTipShown).
  8853. 2007-03-27 Jonathan Pobst <[email protected]>
  8854. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  8855. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  8856. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  8857. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  8858. the handle. Fix WindowState by using the internal variable until we are
  8859. sure that we've been shown.
  8860. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  8861. max or min.
  8862. [Fixes bug #81198]
  8863. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  8864. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  8865. (at least borders). Fixes #79386 on Linux (with a small difference
  8866. in behaviour: when trying to resize a caption-less window metacity
  8867. shows the sysmenu. Resizing is still possible though).
  8868. * XplatUIWin32.cs: When setting window styles send request an extra
  8869. WM_NCCALCSIZE when it's a form without title (due to no text and no
  8870. caption), since Win32 seems to calculate it wrong the first time we
  8871. get the message, though the second time things work as they should.
  8872. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  8873. newly reparented window might show up unparented. Update
  8874. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  8875. there's no title text. Fixes #79386.
  8876. 2007-03-27 Mike Kestner <[email protected]>
  8877. * ListBox.cs : don't perform invalidations if the handle hasn't been
  8878. created. [Fixes #80753]
  8879. 2007-03-27 Mike Kestner <[email protected]>
  8880. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  8881. [Fixes #80428]
  8882. 2007-03-26 Everaldo Canuto <[email protected]>
  8883. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  8884. needed to implement Balloon.
  8885. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  8886. * ListViewItem.cs: In the constructors that take
  8887. an array of strings, don't use ListViewSubItemCollection.AddRange
  8888. method to add items, since we need to have a different behaviour (in
  8889. the constructors we add an item for each null string, opposed to
  8890. the behaviour of AddRange, which adds nothing).
  8891. 2007-03-26 Andreia Gaita <[email protected]>
  8892. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  8893. 2007-03-26 Jackson Harper <[email protected]>
  8894. * TextControl.cs: Draw and measure line endings when in non
  8895. multiline mode.
  8896. - When searching the text, count the end of the last line as a
  8897. word boundary.
  8898. 2007-03-26 Jackson Harper <[email protected]>
  8899. * RichTextBox.cs: The selection_start and selection_end don't
  8900. really track the correct tags for the selection. So we'll manually
  8901. compute the correct tag here.
  8902. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  8903. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  8904. and Continuous styles. Fixes #79469.
  8905. 2007-03-26 Jonathan Pobst <[email protected]>
  8906. * ToolStrip.cs: Implement Tooltips.
  8907. * ToolStripItem.cs: Create internal method for determining tooltip.
  8908. 2007-03-26 Jonathan Pobst <[email protected]>
  8909. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  8910. 2007-03-26 Everaldo Canuto <[email protected]>
  8911. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  8912. it prevents a problem thak keeps icon visible after application
  8913. closes on win32.
  8914. 2007-03-26 Everaldo Canuto <[email protected]>
  8915. * NotifyIcon.cs: Balloon properties and methods created.
  8916. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  8917. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  8918. 2007-03-25 Jonathan Pobst <[email protected]>
  8919. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  8920. 2007-03-24 Jonathan Pobst <[email protected]>
  8921. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  8922. parameter indicates which aspects were explicit/user-set.
  8923. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  8924. 2007-03-24 Jonathan Pobst <[email protected]>
  8925. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  8926. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  8927. SmallChange, and Value (2.0).
  8928. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  8929. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  8930. * ListView.cs: Always set item_control.Width in LayoutDetails
  8931. if View is Details. Setting it later in CalculateScrollBars
  8932. in a not-so-corner scenario (the sum of columns width is
  8933. not bigger than the ListView width when handle is created, and then
  8934. that sum gets bigger by increasing the width of the columns)
  8935. causes a very weird recursion path (which shouldn't be happening,
  8936. since header_control sets it in CalculateScrollBars too). This bug
  8937. appeared after Chris' fixes for handle created issues, so probably
  8938. it's related to some handle-creation time.
  8939. 2007-03-23 Chris Toshok <[email protected]>
  8940. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  8941. case where there's an add row, just so we don't end up in a case
  8942. where it's not displayed (this happens when the row is partially
  8943. obscured). Fixes bug #79574.
  8944. 2007-03-23 Jackson Harper <[email protected]>
  8945. * TextControl.cs:
  8946. * TextBoxBase.cs:
  8947. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  8948. also added an enum that represents the line ending type.
  8949. 2007-03-23 Andreia Gaita <[email protected]>
  8950. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  8951. messed with in every method call, but only from DownButton,
  8952. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  8953. 2007-03-23 Chris Toshok <[email protected]>
  8954. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  8955. format objects if the format spec is "". Fixes bug #80889.
  8956. 2007-03-22 Miguel de Icaza <[email protected]>
  8957. * ToolStripPanel.cs (Join): added stubs to build PDN3
  8958. * Control.cs (AutoScrollOffset): Add.
  8959. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  8960. property, its only implemented for Win32, on X11 it defaults to
  8961. some hardcoded value.
  8962. * ToolStripItem.cs (AllowDrop): Add property
  8963. 2007-03-22 Mike Kestner <[email protected]>
  8964. * ListView.cs : in FullRowSelect Details mode, only enable box
  8965. selection if the user clicks over the "item" column outside of the
  8966. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  8967. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  8968. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  8969. handle is not created yet.
  8970. * Form.cs: Select: Don't call CreateHandle if the handle is already
  8971. created, avoids a stack overflow on Windows when we are recreating
  8972. controls.
  8973. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  8974. they are made visible, and override AfterTopMostControl to keep
  8975. them on top when other controls are brought to front.
  8976. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  8977. or force_*scroll_visible is true (old implementation always shows
  8978. scrollbars when needed, no matter what auto_scroll was set to).
  8979. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  8980. IsHandleCreated check.
  8981. 2007-03-22 Andreia Gaita <[email protected]>
  8982. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  8983. row or col separator.
  8984. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  8985. 2007-03-22 Everaldo Canuto <[email protected]>
  8986. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  8987. 2007-03-22 Everaldo Canuto <[email protected]>
  8988. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  8989. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  8990. every time. Fixes #80410.
  8991. 2007-03-22 Chris Toshok <[email protected]>
  8992. * BindingSource.cs (AddNew): partially implement.
  8993. remove a couple of NotImplementedException's
  8994. to get bug #81148 closed.
  8995. 2007-03-22 Everaldo Canuto <[email protected]>
  8996. [Fixes #80380]
  8997. * Control.cs:
  8998. - UpdateCursor method added to update the screen cursor.
  8999. - GetAvailableCursor method added to return cursor for enabled tree,
  9000. it searches for cursor on control and it's parent's for enabled control.
  9001. - Call UpdateCursor method on setter of Cursor property.
  9002. - On setter of Enabled call UpdateCursor when it is false, we need to
  9003. change cursor to normal (or to this parent cursor) because cursor
  9004. setting theres no effect to disabled controls.
  9005. - Some minor source changes to follow the coding style guidelines.
  9006. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  9007. controls.
  9008. 2007-03-22 Chris Toshok <[email protected]>
  9009. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  9010. generates.
  9011. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  9012. * XplatUIX11.cs: Implement default locations for forms.
  9013. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  9014. * Hwnd.cs: Add previous_child_startup_location (to track the current
  9015. startup location for any child forms of the current form) and
  9016. previous_main_startup_location (to track the startup location for
  9017. the current toplevel form).
  9018. 2007-03-21 Jonathan Pobst <[email protected]>
  9019. * Control.cs: Don't trigger a layout if an implicit control is added
  9020. that isn't visible. Also, don't notify the owner when an implicit control
  9021. is added. (Owners shouldn't even know about their implicit controls.)
  9022. 2007-03-21 Jonathan Pobst <[email protected]>
  9023. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  9024. to save some re-layouts.
  9025. 2007-03-21 Everaldo Canuto <[email protected]>
  9026. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  9027. [Fixes #81203]
  9028. 2007-03-21 Jonathan Pobst <[email protected]>
  9029. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  9030. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  9031. 2007-03-21 Mike Kestner <[email protected]>
  9032. * ListView.cs : disable selection update for non-left button clicks
  9033. with mods and over selected items. [Fixes #80524]
  9034. 2007-03-20 Jackson Harper <[email protected]>
  9035. * TextControl.cs:
  9036. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  9037. \r\r\n, \n.
  9038. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9039. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  9040. very probably a more complicated calculation there. Update the
  9041. textbox' ForeColor and BackColor when the ComboBox' colors are
  9042. changed. Change the border change in LayoutComboBox to only affect
  9043. the textbox, not all the calculations there. Seems to fix most of
  9044. #79436.
  9045. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9046. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  9047. modifiers + navigation keys as input keys, enables advanced text
  9048. selection in the combobox (like Shift+Left Arrow for instance).
  9049. ComboTextBox now overrides Focused and returns whatever
  9050. ComboBox.Focused returns, since it really should be focused
  9051. whenever the ComboBox is. Fixes #80795. Also make the border around
  9052. the text box one pixel bigger, as mentioned in #79436.
  9053. 2007-03-20 Jackson Harper <[email protected]>
  9054. * TreeView.cs: Don't offset the images, this was causing some
  9055. artifacts when expanding/collapsing with images that were the
  9056. exact height of the treenode.
  9057. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9058. * TrackBar.cs: Query the theme for the correct value when the mouse
  9059. moves and the thumb is pressed.
  9060. * Theme.cs: Added TrackBarValueFromMousePosition
  9061. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  9062. implementation was updating the trackbar value when drawing, now
  9063. the drawing methods only draw. Fixes #80900. Refactored the
  9064. calculations out to TrackBarValueFromMousePosition and
  9065. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  9066. according to the mouse position whenever it wants to. Changed the
  9067. light coloured pen when drawing the thumb from ControlLight to
  9068. ControlLightLight, because the ControlLight is the same colour as
  9069. the background so the 3D effect is lost.
  9070. 2007-03-20 Everaldo Canuto <[email protected]>
  9071. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  9072. defined. Fixes #80784.
  9073. 2007-03-20 Marek Habersack <[email protected]>
  9074. * ContextMenuStrip.cs: align with the change introduced in
  9075. revision 74664.
  9076. 2007-03-20 Everaldo Canuto <[email protected]>
  9077. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  9078. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  9079. in SetTopmost.
  9080. 2007-03-19 Chris Toshok <[email protected]>
  9081. * Control.cs (WmPaint): don't make use of the Handle property
  9082. after an event is emitted, as the user could have closed the
  9083. form/destroyed the control. Store the Handle in a local variable
  9084. and make use of that. Fixes bug #80768.
  9085. 2007-03-20 Everaldo Canuto <[email protected]>
  9086. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  9087. behavior in X11 environments.
  9088. 2007-03-20 Everaldo Canuto <[email protected]>
  9089. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  9090. because on setter of topmost we dont call SetTopmost when handle is not
  9091. created.
  9092. 2007-03-20 Jackson Harper <[email protected]>
  9093. * TextControl.cs: Need to use SelectionLength () not
  9094. selection_length, since that var is reset to -1.
  9095. - Draw the caret when we don't have focus.
  9096. * TextBox.cs: The selectall actually doesn't occur until the first
  9097. focus.
  9098. * TextBoxBase.cs: Need to update the caret position after a
  9099. selectall.
  9100. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  9101. * ListView.cs: Enable scrolling when using Tile view.
  9102. 2007-03-20 Everaldo Canuto <[email protected]>
  9103. [Fixes #80902]
  9104. * XplatUIDriver.cs: Abstract SetOwner method created.
  9105. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  9106. must be implemented and was masked as todo.
  9107. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  9108. GWL_HWNDPARENT.
  9109. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  9110. cheking for null owner to remove transient. The SetTopmost will be change
  9111. on a decond step.
  9112. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  9113. SetTopmost. Now owned forms will work properly in win32 and X11.
  9114. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  9115. * MdiWindowManager.cs: Update function name.
  9116. * Form.cs: After closing a form MdiParent is always null.
  9117. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  9118. better what it should do: necessary book-keeping when the form is
  9119. closed, it should not close the form itself.
  9120. 2007-03-19 Andreia Gaita <[email protected]>
  9121. * ListViewItem.cs: Fix back and fore color. The subitems only
  9122. use their own colors if they are set, otherwise use the listview's
  9123. colors. Don't set default colors on constructor for subitem.
  9124. Fixes #79315.
  9125. 2007-03-19 Mike Kestner <[email protected]>
  9126. * ListView.cs : make box selection for Details views with
  9127. FullRowSelect conform to MS behavior when clicking in the "item"
  9128. column and clicking outside the defined columns.
  9129. [Fixes case 5-6 of #80374]
  9130. 2007-03-19 Chris Toshok <[email protected]>
  9131. * ScrollableControl.cs: create the controls from within the ctor,
  9132. but don't actually add them until our handle is created. this
  9133. fixes a NRE possibility jpobst found (if you override OnLayout in
  9134. a subclass, it's called before your ctor). Also, add a
  9135. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  9136. 2007-03-19 Jackson Harper <[email protected]>
  9137. * TextBox.cs: Reduce the amount of invalidation we do.
  9138. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  9139. some of them are true by default on MS.
  9140. - Add some functions to reduce the amount of invalidates we do.
  9141. * TextControl.cs: Less invalidation.
  9142. 2007-03-19 Chris Toshok <[email protected]>
  9143. [ Fixes #81773, and *seems* to fix #81553 as well ]
  9144. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  9145. AccumulateDestroyedHandles. We need to do it *after* we send
  9146. WM_DESTROY, as the user's code can access Control.Handle in
  9147. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  9148. move the WM_DESTROY/zombie handling to before the call to
  9149. XDestroyWindow. For some reason without this ordering
  9150. FormTest.RecreateHandle hangs. This ordering is semantically
  9151. equivalent, however, as XDestroyWindow is async anyway.
  9152. 2007-03-19 Gert Driesen <[email protected]>
  9153. * RichTextBox.cs: Reset backcolor_set after setting default.
  9154. 2007-03-19 Chris Toshok <[email protected]>
  9155. * ScrollableControl.cs: the scroll position should not effect the
  9156. canvas size. commit patch from [email protected], which
  9157. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  9158. 2007-03-19 Chris Toshok <[email protected]>
  9159. * ScrollableControl.cs: clean this up a bit. create the
  9160. scrollbars in the ctor and just show/hide them as needed. Also,
  9161. make hscroll_visible/vscroll_visible internal to Recalculate, and
  9162. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  9163. everywhere else. This seems to fix the scrollbars appearing
  9164. beneath the content for me (i have *no* idea why that is,
  9165. however.)
  9166. 2007-03-19 Jonathan Pobst <[email protected]>
  9167. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  9168. some redundacy for stuff in Anchor and Dock that base will take care of.
  9169. [Fixes #80762]
  9170. 2007-03-19 Mike Kestner <[email protected]>
  9171. * ListView.cs : make box selection for Details views without
  9172. FullRowSelect dependent on the text bounds, not item bounds.
  9173. * ListViewItem.cs : add an internal property to obtain the TextBounds
  9174. in Details view. [Fixes case 1-4 of #80374]
  9175. 2007-03-19 Andreia Gaita <[email protected]>
  9176. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  9177. we're < 2.0. #78448 && #80316
  9178. 2007-03-19 Jonathan Pobst <[email protected]>
  9179. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  9180. have the same style available as the previously selected one. Also,
  9181. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  9182. 2007-03-19 Jackson Harper <[email protected]>
  9183. * TextControl.cs: Add an alignment property that all new lines
  9184. will be given.
  9185. - Make sure to use the align shift when calculating the line's X
  9186. position.
  9187. * TextBox.cs: Set the alignment on the document as well as on all
  9188. the document lines.
  9189. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  9190. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  9191. throw if setting the parent of an mdichild that already has an
  9192. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  9193. AssemblyProductAttribute in the assembly, use the type's namespace (as
  9194. MS seems to do). CreateControl: don't create the handle if the control
  9195. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  9196. create handle if the control is not a form. Change FocusInternal to
  9197. virtual so that it can be overriden by Form.
  9198. * TextBox.cs: Update call to FocusInternal.
  9199. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  9200. form is not a toplevel form when it's a mdi child, so update is_toplevel
  9201. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  9202. hasn't been created. Show (IWin32Window): Don't allow this overload for
  9203. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  9204. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  9205. parent isn't visible yet, save the visibility and restore it when the
  9206. parent is made visible.
  9207. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  9208. methods, since the visibility of the scrollbars can be changed from
  9209. several places, not only from AutoScroll.
  9210. [Fixes #81179]
  9211. 2007-03-19 Jackson Harper <[email protected]>
  9212. * RichTextBox.cs: Enable shortcuts by default.
  9213. * TextBoxBase.cs: Add conditional shortcuts.
  9214. 2007-03-19 Everaldo Canuto <[email protected]>
  9215. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  9216. 2007-03-19 Chris Toshok <[email protected]>
  9217. [ Fixes bug #80604]
  9218. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  9219. swallow the message we're waiting on, instead of delivering it, as
  9220. this is only used for the WM_SHOWWINDOW raised from
  9221. MapWindow/UnmapWindow, and the message needs to be generated
  9222. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  9223. before doing the Map/Unmap. Also make sure that the Hwnd is still
  9224. alive after the message has been handled.
  9225. *before* the window is shown.
  9226. * Control.cs (CreateControl): guard a few more things inside the
  9227. if (!is_created) block, as we might end up being called again -
  9228. yay .net.
  9229. (WmShowWindow): call CreateControl if we're showing the control.
  9230. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  9231. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  9232. controls without a handle if they have any parent with a handle. In
  9233. Dispose add a check whether the handle is created or not before
  9234. calling BeginInvoke, this removes the need of the extra disposing
  9235. parameter (which was bogus anyway since it didn't prevent the
  9236. invoke from happening, it only skipped the check for an existing
  9237. handle, meaning that the invoke would call on an inexistent
  9238. handle).
  9239. 2007-03-19 Everaldo Canuto <[email protected]>
  9240. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  9241. appears in taskbar.
  9242. 2007-03-18 Everaldo Canuto <[email protected]>
  9243. * MessageBox.cs:
  9244. - Fixed a problem that dont show help button for messages with 3 buttons.
  9245. - Refactory button size and position calculations, now dont use fixed
  9246. values, also fixed button sizes (#80043) and form's border space.
  9247. - AddButton method created, now all other AddButton methods call this one.
  9248. - Some other source code cosmetic changes.
  9249. 2007-03-18 Jackson Harper <[email protected]>
  9250. * RichTextBox.cs: Don't do this all fonts must match check if
  9251. there is only one char selected.
  9252. 2007-03-18 Jackson Harper <[email protected]>
  9253. * TreeView.cs: ScrollWindow works properly now, so we don't need
  9254. to screw around with the scroll area. This fixes some artifacts
  9255. when expanding and collapsing.
  9256. 2007-03-18 Jackson Harper <[email protected]>
  9257. * TextBoxBase.cs: Allow updating the selection position when the
  9258. cursor is outside the textarea, but we have a capture.
  9259. * TextControl.cs: A special case for when the cursor is outside
  9260. the bounds of the TB.
  9261. 2007-03-18 Jackson Harper <[email protected]>
  9262. * TextBoxBase.cs: Remove image pasting code for now. There is no
  9263. way to get an image on the clipboard right now anyways.
  9264. * TextControl.cs:
  9265. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  9266. 2007-03-18 Everaldo Canuto <[email protected]>
  9267. * MessageBox.cs:
  9268. - Set window properties in constructor intead of on CreateParams.
  9269. - Remove topmost from Window ExStyle.
  9270. - Set ShowInTaskbar to false.
  9271. - Set form border to FixedDialog.
  9272. - Some cosmetic changes and remove unneeded comments.
  9273. - It fixes itens 2,3 and 4 of bug #80043.
  9274. 2007-03-18 Gert Driesen <[email protected]>
  9275. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  9276. none was explicitly set. Fixes part of bug #79949.
  9277. 2007-03-16 George Giolfan <[email protected]>
  9278. * ToolStripComboBox.cs: Add AutoComplete*.
  9279. 2007-03-16 George Giolfan <[email protected]>
  9280. * ToolStripComboBox.cs: Add FlatStyle.
  9281. 2007-03-16 Jonathan Pobst <[email protected]>
  9282. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  9283. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  9284. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  9285. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  9286. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  9287. DataGridColumnStyle.cs: Remove warnings.
  9288. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  9289. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  9290. it.
  9291. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  9292. visibility of mdi child forms. FormSizeChangedHandler: update the
  9293. maximized size if size has changed while maximized.
  9294. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  9295. creating the handle.
  9296. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  9297. avoid creating the handle if not created.
  9298. * XplatUI.cs: Update debug output.
  9299. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  9300. 2007-03-16 Jonathan Pobst <[email protected]>
  9301. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  9302. ProcessCmdKey().
  9303. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  9304. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  9305. Implement keyboard shortcuts.
  9306. 2007-03-15 Everaldo Canuto <[email protected]>
  9307. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  9308. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  9309. ColorDialog and all derived classes.
  9310. 2007-03-15 Everaldo Canuto <[email protected]>
  9311. [ Fixes bug #79828 ]
  9312. * ToolBar.cs:
  9313. - Rename ToolBarButtonInfor to ToolBarItem.
  9314. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  9315. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  9316. collection to be able add same button more than one time on a toolbar.
  9317. - Refactory all properties and methods to use ToolBarItem.
  9318. * ToolBarButton.cs:
  9319. - Remove all propeties and methods that is now in ToolBarItem.
  9320. - Rectangle propery now gets the rectangle from first ToolBarItem to
  9321. mimic win32 behavior.
  9322. - Size calculation and layout methods also removed.
  9323. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  9324. ToolBarItem instead of ToolBarButton to right drawing buttons when
  9325. same button/separator was added more than one time to ToolBar.
  9326. * ThemeNice.cs: Same as above.
  9327. 2007-03-15 Andreia Gaita <[email protected]>
  9328. * XplatUIX11.cs: Fire extra MouseMove events right after
  9329. MouseDown and MouseUp, emulating win32's <censored> behaviour
  9330. for apps that rely on it.
  9331. 2007-03-15 Jackson Harper <[email protected]>
  9332. * TextControl.cs:
  9333. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  9334. it is drawn on the controls client window and there is no NC
  9335. area.
  9336. - Set the background color to gray on 2.0 when we are readonly.
  9337. 2007-03-15 Chris Toshok <[email protected]>
  9338. [ Fixes bug #81144 ]
  9339. * XplatUIX11.cs: implement VirtualScreen independently of
  9340. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  9341. property.
  9342. 2007-03-15 Chris Toshok <[email protected]>
  9343. * Hwnd.cs: add an internal field for the cached_window_state.
  9344. * XplatUIX11.cs: cache the window state, invalidating the cache
  9345. (and thus re-querying the X server) only when we see an update to
  9346. the _NET_WM_STATE property.
  9347. 2007-03-15 Chris Toshok <[email protected]>
  9348. * BindingSource.cs: get a lot of the unit tests working.
  9349. 2007-03-15 Jonathan Pobst <[email protected]>
  9350. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  9351. 0 instead of just bounds > 0. [Fixes bug #80912]
  9352. 2007-03-15 Jonathan Pobst <[email protected]>
  9353. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  9354. and methods.
  9355. 2007-03-15 Ivan N. Zlatev <[email protected]>
  9356. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  9357. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  9358. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  9359. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  9360. 2007-03-15 Chris Toshok <[email protected]>
  9361. [ Fixes #81101 ]
  9362. * Control.cs: add Ivan's fix for 81101, with a slight modification
  9363. - you can set control.Target to null.
  9364. 2007-03-14 Jonathan Pobst <[email protected]>
  9365. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  9366. HideDropDown, use Hide instead to prevent an NRE.
  9367. [Fixes bug #81147]
  9368. 2007-03-14 Jackson Harper <[email protected]>
  9369. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  9370. to calculate the document before the handle is created, in some
  9371. cases. (Actually just one case).
  9372. 2007-03-14 Jackson Harper <[email protected]>
  9373. * TextBoxBase.cs: Need to display the caret after letting the base
  9374. wndproc handle the focus methods, because the caret display
  9375. methods check the focus state.
  9376. - Try to display the caret after updating it's position with SelectWord.
  9377. - Don't need to do an immediate update on this recalc, since there
  9378. will be an invalidate anyways.
  9379. 2007-03-14 Jackson Harper <[email protected]>
  9380. * TreeView.cs: Some workarounds so that we can match event order a
  9381. little better.
  9382. 2007-03-14 Gert Driesen <[email protected]>
  9383. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  9384. #80803. Avoid NullReferenceException when Control does not have
  9385. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  9386. event a single time. Only draw error icon when control is created and
  9387. visible. Fixes failing unit tests.
  9388. 2007-03-14 Andreia Gaita <[email protected]>
  9389. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  9390. Selecting events. Fire Leave and Enter events when changing tabs.
  9391. 2007-03-14 George Giolfan <[email protected]>
  9392. * TreeView.cs: Add TreeViewNodeSorter.
  9393. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  9394. 2007-03-14 Chris Toshok <[email protected]>
  9395. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  9396. removed earlier and I had him add back it. It turns out metacity
  9397. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  9398. just doesn't redraw the window titlebar until you resize the
  9399. window. This also means we aren't recreating the entire window
  9400. hierarchy on X when you change this property. And it looks better
  9401. on windows, too.
  9402. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  9403. * ListViewItem.cs:
  9404. * ListView.cs: Collecting selection information
  9405. is now done in SelectedIndexCollection rather than in
  9406. SelectedListViewItemCollection. This is done so we can
  9407. have the selection information code in one single place
  9408. (virtual mode selection information entirely depends on
  9409. SelectedIndexCollection).
  9410. 2007-03-13 Miguel de Icaza <[email protected]>
  9411. * ErrorProvider.cs: Add stubs for ISupportInitialize
  9412. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  9413. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  9414. in the right order with the right values, from the Checked property,
  9415. just as MS does (instead of triggering them from ListView).
  9416. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  9417. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  9418. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  9419. the correct handler in OnItemCheck method (ItemCheckEventHandler
  9420. instead of EventHandler). This used to throw an InvalidCastException.
  9421. 2007-03-13 Jackson Harper <[email protected]>
  9422. * TextBoxBase.cs: Calculate the document before the handle is
  9423. created, so there isn't an extra invalidate called.
  9424. 2007-03-13 Jonathan Pobst <[email protected]>
  9425. * Form.cs: Don't set owner in ShowDialog until we are sure
  9426. that we aren't going to throw an exception. [Fixes bug #80773]
  9427. 2007-03-12 George Giolfan <[email protected]>
  9428. * TreeView.cs: Make it compile.
  9429. 2007-03-12 Jonathan Pobst <[email protected]>
  9430. * Control.cs: Another place we don't call SizeFromClientSize.
  9431. * Form.cs: Another place we don't call SizeFromClientSize.
  9432. [Fixes bug #81125]
  9433. 2007-03-12 Jackson Harper <[email protected]>
  9434. * TreeView.cs: Basically emulating some strangness here with
  9435. exanding nodes and setting node positions when windows aren't
  9436. created.
  9437. - Also attempting to walk the node tree less than previously, and
  9438. just use visible order calculations for determining offsets.
  9439. - oops made scrolling backwards.
  9440. * TreeNode.cs: We need to start nodes with a zero visible order,
  9441. because the order calcs are based on the first nodes order.
  9442. 2007-03-12 Jonathan Pobst <[email protected]>
  9443. * Form.cs: Don't exit the program if RecreateHandle is called on
  9444. the main form.
  9445. 2007-03-12 Chris Toshok <[email protected]>
  9446. * XEventQueue.cs: remove the use of PostQuitState.
  9447. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  9448. WM_QUIT message in GetMessage, return false (and if we're in the
  9449. nested WaitForHwndMessage, repost the WM_QUIT message).
  9450. 2007-03-12 Jonathan Pobst <[email protected]>
  9451. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  9452. or the MaximizeBox properties. [Part of bug #80640]
  9453. 2007-03-12 Everaldo Canuto <[email protected]>
  9454. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  9455. no links.
  9456. 2007-03-12 Jonathan Pobst <[email protected]>
  9457. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  9458. instead of visible.
  9459. 2007-03-12 Gert Driesen <[email protected]>
  9460. * FileDialog.cs: Use text of File name combobox to determine what
  9461. files the user selected. Added tokenizer to parse the file names.
  9462. Fixes bug #81123.
  9463. 2007-03-12 Jonathan Pobst <[email protected]>
  9464. * Control.cs: We can't call SizeFromClientSize in the constructor,
  9465. but we still need to do the same work, so make an internal version.
  9466. [Fixes bug #80621]
  9467. 2007-03-12 Jackson Harper <[email protected]>
  9468. * TreeView.cs:
  9469. * TreeNode.cs:
  9470. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  9471. IsExpanded.
  9472. 2007-03-12 Jackson Harper <[email protected]>
  9473. * TextBoxBase.cs: Now that the handles are being created a little
  9474. later, we need to make sure that the document is recalculated when
  9475. the handle is created.
  9476. 2007-03-11 Everaldo Canuto <[email protected]>
  9477. * Theme.cs: GetLinkFont abstract method added.
  9478. * LinkLabel.cs:
  9479. - Remove CalcTrimRectangle, no longer needed.
  9480. - Factor also remove, position issues must be fixed in libgdiplus.
  9481. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  9482. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  9483. care about font used to draw links.
  9484. - Set TabStop to true when control is "Selectable", control is selectable
  9485. when have one or more links. Fixes #80501 (test case is also added).
  9486. - Set the LinkArea values after links change, LinkArea values must be
  9487. based in first link position and size, a test case was created.
  9488. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  9489. the attribute must be true LinkArea.Length > 0. The same was applied to
  9490. TabStop.
  9491. * ThemeWin32Classic.cs:
  9492. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  9493. in draw method.
  9494. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  9495. color change.
  9496. - Draw focus rectangle for every parts focused, including parts that
  9497. is on another line, its because regions returns various rectangles
  9498. and not only one. Needed to mimic W32 look.
  9499. - Uses Graphics.Clip to delimite region painted, it mean that now
  9500. complete text is passed to DrawString, with this we solve layout
  9501. issues without create another text renderer.
  9502. - Uses Region.Intersect to fix some flickers problems, now only needed
  9503. parts will redrawed.
  9504. - This changes fixes #79614 and some other unreported issues, on Linux
  9505. some layout problems still remain, the problem is under
  9506. MeasureCharacterRanges but it is an libgdiplus bug.
  9507. 2007-03-10 Gert Driesen <[email protected]>
  9508. * TextBox.cs: Set for foreground color.
  9509. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  9510. this is already done in Control.
  9511. 2007-03-10 Jackson Harper <[email protected]>
  9512. * TextBox.cs: Set the background color, but reset the
  9513. backcolor_set flag which is just for the user setting the
  9514. background color.
  9515. 2007-03-09 Chris Toshok <[email protected]>
  9516. * Control.cs: really remove the call to XplatUI.SetVisible from
  9517. CreateHandle(), like I said I did when I merged the branch.
  9518. * BindingSource.cs: implement some more of this stuff.
  9519. 2007-03-09 Jackson Harper <[email protected]>
  9520. * TextBox.cs: Don't explicitly set our background colors.
  9521. * TextControl.cs:
  9522. * TextBoxBase.cs: Draw readonly text.
  9523. - Need to invalidate when backcolor or readonly are changed.
  9524. 2007-03-09 Jackson Harper <[email protected]>
  9525. * TextBoxBase.cs: Don't set the forecolor until the handle is
  9526. created.
  9527. - Do not raise OnPaint, and removed some old debug code.
  9528. 2007-03-09 George Giolfan <[email protected]>
  9529. * ScrollableControl.cs: Fix mouse wheel scrolling.
  9530. 2007-03-09 Jonathan Pobst <[email protected]>
  9531. * Control.cs: Wire up MouseDoubleClick event.
  9532. 2007-03-09 Jonathan Pobst <[email protected]>
  9533. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  9534. top or bottom.
  9535. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  9536. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  9537. item is added. This logic was moved to ToolStrip.OnItemAdded.
  9538. [Fixes bug #81090]
  9539. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  9540. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  9541. 2007-03-08 Jackson Harper <[email protected]>
  9542. * TreeView.cs: Show the correct image for selected node (this used
  9543. to work, not sure how the code got deleted). Also implemented 2.0 feature
  9544. SelectedImageKey.
  9545. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  9546. * ListView.cs:
  9547. * ListViewItem.cs: Cache index in items when retrieving them
  9548. in VirtualMode.
  9549. 2007-03-08 Jonathan Pobst <[email protected]>
  9550. * ToolStripItem.cs: Don't return the explicit_size if we are using
  9551. AutoSize. Fixes invalidation issue when user has explicitly set a
  9552. size and has AutoSize = true.
  9553. 2007-03-08 Jonathan Pobst <[email protected]>
  9554. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  9555. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9556. * DataGridView.cs: Remove event handler from DataView when a
  9557. DataTable is used as DataSource.
  9558. 2007-03-08 Jonathan Pobst <[email protected]>
  9559. * Control.cs: Create internal setter for client_size to allow it to be
  9560. set without triggering resizing code.
  9561. * Form.cs: Calculate client_size in constructor, only change client_size
  9562. in FormBorderStyle property if Handle has been created.
  9563. [Fixes #80574, #80791]
  9564. 2007-03-08 George Giolfan <[email protected]>
  9565. * SystemInformation.cs: Add TerminalServerSession.
  9566. 2007-03-07 Jonathan Pobst <[email protected]>
  9567. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  9568. TreeView code.
  9569. 2007-03-07 Jonathan Pobst <[email protected]>
  9570. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  9571. Handle before we were supposed to. Now checks ActivateOnShow property
  9572. in Control.
  9573. * Control.cs: Add internal ActivateOnShow property.
  9574. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  9575. for ActivateOnShow.
  9576. * Hwnd.cs Remove no longer needed no_activate field.
  9577. 2007-03-07 Jackson Harper <[email protected]>
  9578. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  9579. 2.0 properties
  9580. * DrawTreeNodeEventHandler.cs: Add
  9581. * DrawTreeNodeEventArgs.cs: Correct default value.
  9582. 2007-03-07 Chris Toshok <[email protected]>
  9583. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  9584. to be called before NativeWindow.WndProc. Put the HwndCreating
  9585. magic there to hook up our Hwnd's to handles.
  9586. 2007-03-07 Gert Driesen <[email protected]>
  9587. * DataGridView.cs: Comment out debug code.
  9588. 2007-03-07 Chris Toshok <[email protected]>
  9589. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  9590. to make the rest of the world happy]
  9591. * Control.cs (CreateHandle): there's no need to call
  9592. XplatUI.SetVisible here, it's effectively done by
  9593. XplatUI.CreateWindow on X now, and always was on windows.
  9594. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  9595. shortcircuit out of the loop if we have a message loop running on
  9596. this thread.
  9597. [Changelog from merge]
  9598. 2007-03-05 Chris Toshok <[email protected]>
  9599. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  9600. causes handle creation.
  9601. 2007-02-28 Chris Toshok <[email protected]>
  9602. * ApplicationContext.cs: Add a flag to make sure we only raise the
  9603. ThreadExit event once (ExitThreadCore can be indirectly called
  9604. from a few places.) I don't like the additional flag, but it
  9605. makes the event ordering/count correct.
  9606. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  9607. without locking the collection. An enumerator doesn't give us any
  9608. protection from modification anyway. Lock the thread hash and
  9609. replace the complicated enumerator loop with a foreach.
  9610. (Application.CloseForms): make internal so it can be called from
  9611. ApplicationContext. This should probably be moved to MWFThread.
  9612. (Application.ExitThread): don't call MWFThread.Current.Exit()
  9613. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  9614. when the runloop exits (in response to WM_QUIT.)
  9615. (Application.RunLoop): add a comment (and check) for
  9616. context.MainForm being null after setting context.MainForm.Visible
  9617. = true. This is because you're perfectly free to dispose of a
  9618. form in VisibilityChanged. Chalk this up to another case where we
  9619. need to synchronously generate WM_ACTIVATE from Control.Show.
  9620. Also, add handling for WM_QUIT here so we'll exit the loop.
  9621. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  9622. fact that we don't wait if we're only unmapping the whole_window
  9623. makes me a bit nervous, but it doesn't seem to cause any problems
  9624. yet.
  9625. also, add a comment about the stupid, broken and wrong resetting
  9626. of PostQuitState to false in GetMessage().
  9627. In PostQuitMessage, we need to add a WM_QUIT message to the
  9628. thread's queue. We use the FosterParent to get the right
  9629. handle/hwnd/queue.
  9630. Lastly, in SetVisible, we need to unmap both windows, since the
  9631. waiting only happens when we're unmapping the client window. So
  9632. now, the *only* time we unmap just the whole_window is in the hack
  9633. for resizing a control to 0,0.
  9634. 2007-02-21 Chris Toshok <[email protected]>
  9635. * Application.cs (CloseForms): rewrite this so that we don't
  9636. modify the list while we're traversing it.
  9637. 2007-02-20 Chris Toshok <[email protected]>
  9638. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  9639. of OnHandleCreated.
  9640. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  9641. handle is created. otherwise we'll create it here.
  9642. (VerticalScrollEvent): same here.
  9643. * Application.cs (CloseForms): call Form.Dispose, don't post
  9644. WM_CLOSE_INTERNAL.
  9645. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  9646. here. Application should Dispose() of the Form's.
  9647. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  9648. WM_DESTROY as well.
  9649. (MapWindow,UnmapWindow): only actually do the waiting for
  9650. SHOWWINDOW if the control we're dealing with is a Form.
  9651. (CreateWindow): if the control isn't a form, SendMessage
  9652. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  9653. * Control.cs (SetVisibleCore): always use is_visible here, not
  9654. value. If we use value, we can end up re-setting something
  9655. visible if, for instance, you do Control.Hide() in a delegate
  9656. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  9657. 2007-02-20 Chris Toshok <[email protected]>
  9658. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  9659. the message we need. PeekMessage returning false should not be a
  9660. condition under which we exit the loop.
  9661. 2007-02-15 Chris Toshok <[email protected]>
  9662. * Control.cs (Refresh): only refresh if we've got a handle and are
  9663. visible.
  9664. (CreateAccessibilityInstance): CreateControl() here.
  9665. (UpdateChildrenZOrder): complicate the code loop even more by
  9666. taking into account controls that haven't had their handle
  9667. created, and those that aren't visible. But on the flip side,
  9668. simplify the code by splitting it into two loops. one which
  9669. builds up the list of child controls we're interested in, and the
  9670. other that sets the z order of those children.
  9671. 2007-02-14 Chris Toshok <[email protected]>
  9672. * Control.cs: Control.AccessibilityObject causes the control to be
  9673. created, not just the handle.
  9674. 2007-02-14 Chris Toshok <[email protected]>
  9675. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  9676. problem on X where a window might have its handle created (and be
  9677. visible) while the window is unmapped. calling XConfigureWindow
  9678. on an unmapped window is bad, and generates X errors.
  9679. 2007-02-13 Chris Toshok <[email protected]>
  9680. * Control.cs (CreateHandle): don't loop over our children setting
  9681. their parent here. do it when in WndProc when we're shown.
  9682. (UpdateChildrenZOrder): make this internal so we can call it from
  9683. ScrollableControl.
  9684. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  9685. creating its handle. Also, remove the calls to PerformLayout from
  9686. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  9687. OnVisibleChanged only seems to be called directly here for the
  9688. toplevel control. It's propagated down the window hierarchy by
  9689. calls to child.OnParentVisibleChanged.
  9690. (OnVisibleChanged): don't do layout here - it's done (oddly
  9691. enough, according to a glance at stack traces on ms.net..) in
  9692. ScrollableControl.
  9693. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  9694. z order of our children before calling PerformLayout.
  9695. 2007-02-12 Chris Toshok <[email protected]>
  9696. [big change, fixes #80020]
  9697. * AccessibleObject.cs: we need to make owner internal again to fix
  9698. some of ControlAccessibleObject.
  9699. * Control.cs: lots of changes here. add support for WM_CREATE,
  9700. for which we generate OnHandleCreated. Remove the OnHandleCreated
  9701. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  9702. we create child controls. leave the MonoTODO's for the
  9703. accessibility calls, but fix the exceptions so the tests pass.
  9704. Add the InvalidOperationExceptions to Invoke methods, and remove a
  9705. couple of InvokeInternal methods we aren't using.
  9706. Also, add a couple of CreateHandle calls in places where we know
  9707. the handles are being created but our code doesn't reference
  9708. .Handle.
  9709. Make SetVisibleCore call OnVisibleChange if the handle isn't
  9710. created. If the handle is created, we rely on XplatUI.SetVisible
  9711. generating the event synchronously.
  9712. Lastly, make sure we don't use this.Handle inside CreateHandle,
  9713. because we can call back into client (and that code can dispose of
  9714. the control).
  9715. * XplatUIStructs.cs: misc/cleanup.
  9716. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  9717. although we don't populate the wParam properly.
  9718. (CreateWindow): generate WM_CREATE.
  9719. (MapWindow,UnmapWindow): make these calls synchronous, at great
  9720. performance expense (particularly in the unmap case), to match
  9721. win32 behavior.
  9722. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  9723. to call it.
  9724. (set_MdiParent): don't recreate the handle unless it's been
  9725. created already.
  9726. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  9727. it's created.
  9728. * NativeWindow.cs: this is probably the weirdest part of the
  9729. patch. We need a way to link up the window being created to the
  9730. WM_CREATE message. Since we can only be creating one window at a
  9731. time on a given thread, we keep track of a per-thread reference so
  9732. we can dispatch it properly. We also need to keep track of the
  9733. Hwnd currently being created so that the win32 backend doesn't
  9734. have problems.
  9735. * XplatUIWin32.cs: a similar change to the one we made in
  9736. NativeWindow.cs.
  9737. 2007-03-07 Jonathan Pobst <[email protected]>
  9738. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  9739. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  9740. to draw the menu shortcut string.
  9741. 2007-03-07 Jackson Harper <[email protected]>
  9742. * TreeNode.cs: Add the 2.0 collapse method.
  9743. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9744. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  9745. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9746. * DataGridView.cs: Change DataSource will clear column and row
  9747. lists. Call Invalidate() to reflect DataSource change.
  9748. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9749. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  9750. and a new row is added to it.
  9751. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  9752. * DataGridView.cs: Add columns when DataSource is en empty list but
  9753. is a System.Data.DataView (from a System.Data.DataTable).
  9754. 2007-03-06 Andreia Gaita <[email protected]>
  9755. * Label.cs: Implement AutoEllipsis (2.0)
  9756. 2007-03-06 Jackson Harper <[email protected]>
  9757. * TreeView.cs: Implement 2.0 TopNode setter property.
  9758. - Use a local var instead of the skipped_nodes field for computing
  9759. how many nodes to skip. Otherwise we won't scroll because the
  9760. valuechanged handler checks if skipped_nodes is equal to the new
  9761. value.
  9762. - Implement 2.0 Sort method.
  9763. - Add useless 2.0 DoubleBuffer property
  9764. - Implement 2.0 LineColors property. Lets you change the color of
  9765. the lines in the tree. Terribly useful for creating non cohesive
  9766. desktops.
  9767. - Implement 2.0 image key feature.
  9768. 2007-03-06 Jackson Harper <[email protected]>
  9769. * TreeView.cs: We can't get the bounds of the nodes before raising
  9770. the AfterSelect event, because that event could change the node's
  9771. bounds (scrolling, font change, etc).
  9772. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  9773. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  9774. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  9775. update window styles. In CreateParams us VisibleInternal instead of
  9776. VIsible to get the actual visible flag set for this form.
  9777. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  9778. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  9779. handle the case when the form is already maximized, in which case
  9780. it should be restored. Fixes #81043.
  9781. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  9782. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  9783. 2007-03-05 Jackson Harper <[email protected]>
  9784. * TreeViewHitTestInfo.cs: implement.
  9785. 2007-03-05 Jackson Harper <[email protected]>
  9786. * InternalWindowManager.cs: class status fix.
  9787. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  9788. * InternalWindowManager.cs: All windows that have a parent
  9789. are confined to their parent when they're being moved.
  9790. Fixes #80822.
  9791. 2007-03-04 Gert Driesen <[email protected]>
  9792. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  9793. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  9794. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  9795. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  9796. buttons invisible before deciding which ones should be visible
  9797. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  9798. an unused variable.
  9799. * InternalWindowManager.cs: Remove warning.
  9800. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  9801. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  9802. to throw an InvalidOperationException is virtual mode is being used.
  9803. 2007-03-02 Jonathan Pobst <[email protected]>
  9804. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  9805. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  9806. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  9807. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  9808. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  9809. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  9810. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  9811. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  9812. driver.KeyboardDelay from XplatUI.KeyboardDelay
  9813. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  9814. (patch by Sergey Volk)
  9815. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  9816. * ToolWindowManager.cs: Added, contains logic for
  9817. tool windows.
  9818. * CreateParams.cs: Add a few helper methods and an
  9819. internal variable to know which control the CreateParams belongs
  9820. to.
  9821. * Control.cs: Call Form.ChangingParent when the
  9822. parent is about to be changed.
  9823. * XplatUIX11.cs: DeriveStyles (): Set
  9824. caption_height for all windows that have captions and are children.
  9825. Update to use ToolWindowManager instead of InternalWindowManager
  9826. for ToolWindows.
  9827. * XplatUIWin32.cs: Set fake window styles for all
  9828. windows that have window managers.
  9829. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  9830. now duplicated for mdi windows when they are
  9831. maximized, first for the buttons the window itself has, then for
  9832. the buttons that appear in the menu bar. Makes things a little
  9833. easier). Updated UpdateWindowDecorations, SetWindowState and the
  9834. mouse eventhandlers accordingly.
  9835. * Form.cs: Add ChangingParent (), contains the
  9836. logic of what should happen when the parent changes. In MdiParent
  9837. don't set things that ChangingParent () is doing. When handling
  9838. WM_CLOSE, we can close the form if there are any other modal forms
  9839. and the current form is a descendent of the modal form.
  9840. * InternalWindowManager.cs: A lot of refactoring,
  9841. the title buttons are now extracted to a separate container class
  9842. that takes care of all button code (clicks, tooltips, etc). Moved
  9843. Iconic|Maximized|Normal Bounds properties to this class from
  9844. MdiWindowManager, so that the window state logic can succeed for
  9845. other than mdi wm's. Implemented general window state change logic.
  9846. Moved CreateButtons to ThemeWin32Classic, since the theme might
  9847. override which buttons are available when as well as the exact
  9848. location.
  9849. * FormWindowManager.cs: Added, contains logic for
  9850. normal forms.
  9851. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  9852. which buttons go where (and if they are at all visible).
  9853. Removed special handling of maximized windows, since they aren't special.
  9854. In DrawManagedWindowDecorations don't try to draw the text if it is
  9855. empty.
  9856. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  9857. use whatever the wm gives us.
  9858. 2007-03-02 Jonathan Pobst <[email protected]>
  9859. * ButtonBase.cs: Add 2.0 properties.
  9860. * Button.cs: Override Draw for 2.0.
  9861. * Control.cs: Add Entered and Selected properties.
  9862. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  9863. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  9864. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  9865. buttons.
  9866. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  9867. 2007-03-01 Jonathan Pobst <[email protected]>
  9868. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  9869. 2007-03-01 Jonathan Pobst <[email protected]>
  9870. * XplatUIWin32.cs: Register a new class with Windows each time we get
  9871. a new ClassStyle. [Fixes bugs #79432, #80817]
  9872. * Controls.cs: Set the correct ClassStyle in CreateParams.
  9873. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  9874. 2007-03-01 Gert Driesen <[email protected]>
  9875. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  9876. ColumnReordered event must not be signaled when modifying DisplayIndex
  9877. of a ColumnHeader. Added internal ReorderColumns method which takes
  9878. care of drawing, and updating the internal DisplayIndex of the
  9879. ColumnHeader. Added AddColumn method which is invoked from
  9880. ColumnHeaderCollection when adding or inserting columns, and which
  9881. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  9882. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  9883. Recalculated dispay indices after removing a ColumnHeader.
  9884. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  9885. match MS. Allows last display index to be returned after ListView
  9886. is disposed. Update actual location of ColumnHeader when DisplayIndex
  9887. is modified.
  9888. 2007-03-01 Everaldo Canuto <[email protected]>
  9889. * LinkLabel.cs: Improve CalcTrimRectangle.
  9890. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  9891. 2007-02-28 Everaldo Canuto <[email protected]>
  9892. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  9893. get rectangle as a result value.
  9894. 2007-02-28 Everaldo Canuto <[email protected]>
  9895. * LinkLabel.cs: Theres some diferences between rectangle return from
  9896. MeasureCharacterRanges and the area used for DrawString to fix this
  9897. CalcMeasurementFactor method was created, it calcules the diferences
  9898. to be use later to adjust rectangle in draw operations. Fixes #80473.
  9899. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  9900. to adjust draw rectangle.
  9901. 2007-02-27 Everaldo Canuto <[email protected]>
  9902. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  9903. text and some other changes to reduce and optimize source code.
  9904. 2007-02-27 Jonathan Pobst <[email protected]>
  9905. * RadioButton.cs: Implement 2.0 event.
  9906. * RelatedImageListAttribute.cs: Implement new class.
  9907. 2007-02-27 Everaldo Canuto <[email protected]>
  9908. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  9909. 2007-02-27 Jonathan Pobst <[email protected]>
  9910. * CheckBox.cs: Implement 2.0 functionality.
  9911. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  9912. * ListView.cs: Refactor Add and AddRange methods of
  9913. ListViewItemCollection, to not update the ListView
  9914. everytime an item is added in AddRange. Also move the update
  9915. code to a new CollectionChanged method, and call it
  9916. from other methods that need it as well (this should also fix some
  9917. bugs when Sorting is used).
  9918. 2007-02-27 Jackson Harper <[email protected]>
  9919. * TextControl.cs: Try to never let the caret stay in a non-text
  9920. tag.
  9921. * TextBoxBase.cs: Update the caret.
  9922. 2007-02-26 Jonathan Pobst <[email protected]>
  9923. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  9924. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  9925. delete POINT structure, duplicate of one in XplatUIStructs.
  9926. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  9927. 2007-02-26 Gert Driesen <[email protected]>
  9928. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  9929. edit box since otherwise the Label would immediately be set (even if
  9930. the user did not modify the label). In OnKeyDown set Handled to true
  9931. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  9932. columns that are to be removed. In ListViewItemCollection unlink items
  9933. that are to be removed.
  9934. 2007-02-24 Jonathan Pobst <[email protected]>
  9935. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  9936. it when we are done. [Fixes bug #80949]
  9937. 2007-02-23 Jonathan Pobst <[email protected]>
  9938. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  9939. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  9940. * ListView.cs: I forgot to commit the changes for ListView
  9941. in my previous patch.
  9942. 2007-02-23 Jonathan Pobst <[email protected]>
  9943. * Clipboard.cs: Partially implement an overload of SetDataObject.
  9944. * Form.cs: Implement ShowWithoutActivation.
  9945. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  9946. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  9947. This is a first set of changes to make the Virtual mode works,
  9948. by avoiding the retrieval of ListViewItem instances until
  9949. draw time.
  9950. * ListView.cs: Store item position in the ListView instead of the
  9951. ListViewItem, this way we don't request the Bounds property of
  9952. ListViewItem inside the ListView calculations, as well as cache the item
  9953. size in item_size field. Store indexes instead of ListViewItem
  9954. instances in the matrix used by icon view. Add a ItemMatrixLocation
  9955. struct to hold the row and col info of the matrix info.
  9956. * ListViewItem.cs: Don't store the location anymore, and only cache
  9957. the rectangles for GetBounds. Use the ListView.GetItemLocation
  9958. method to retrieve the actual location.
  9959. 2007-02-23 Jonathan Pobst <[email protected]>
  9960. * TextRenderer.cs: Add clipping support, thanks to George.
  9961. [Fixes bug #80949]
  9962. 2007-02-23 Gert Driesen <[email protected]>
  9963. * ListViewItem.cs: Cancel label edit when item is removed from
  9964. ListView.
  9965. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  9966. event before the edit textbox is displayed. Added CancelEdit method
  9967. which is used end to editing while ignoring the value set by the
  9968. user. In EndEdit, set focus to ListView to avoid losing focus to
  9969. other controls. In ListViewItemCollection.Clear, cancel editing of
  9970. any of the items. In Remove, cancel editing of item being removed.
  9971. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  9972. 2007-02-23 Gert Driesen <[email protected]>
  9973. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  9974. bug #80948.
  9975. 2007-02-23 Everaldo Canuto <[email protected]>
  9976. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  9977. compatible with non X11 systems. Fixes #80901.
  9978. 2007-02-23 Gert Driesen <[email protected]>
  9979. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  9980. whether the item should be unselected and reselect. We do no want this
  9981. when we're starting to edit the label. Do not fire the
  9982. SelectedIndexChanged event from ListView when its already been fired
  9983. by modifying ListViewItem.Selected. Fixes bug #80943.
  9984. 2007-02-23 Jonathan Pobst <[email protected]>
  9985. * TextRenderer.cs: Previos commit logic was backwards.
  9986. 2007-02-23 Jonathan Pobst <[email protected]>
  9987. * TextRenderer.cs: Don't add padding on MeasureText if we were
  9988. sent the NoPadding flag.
  9989. 2007-02-23 Everaldo Canuto <[email protected]>
  9990. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  9991. after DrawButton. To prevent image overlaps button borders SetClip and
  9992. ResetClip added before and after draw image. Fixes #79129.
  9993. 2007-02-23 Everaldo Canuto <[email protected]>
  9994. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  9995. window size, it fix problem when you run under win32 that theres
  9996. Size diferent than ClientSize. Also fix controls size and positions
  9997. to mimic Win32. Fixes #80837.
  9998. 2007-02-22 Everaldo Canuto <[email protected]>
  9999. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  10000. menu area to fix some problems for non X11 systems. Fixes #80613.
  10001. 2007-02-22 Jackson Harper <[email protected]>
  10002. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  10003. even if it doesn't have any children.
  10004. 2007-02-22 Jackson Harper <[email protected]>
  10005. * TreeView.cs: Calculate the top node 'on the fly', this
  10006. eliminates issues where you need to click on the tree before
  10007. scrolling it to get the top node computed correctly.
  10008. * TreeNodeCollection.cs: We don't need to mess with the top node
  10009. anymore.
  10010. 2007-02-22 Jackson Harper <[email protected]>
  10011. * DataGridViewRow.cs: Fix typo so height can actually be set.
  10012. Patch by Peter Grimm.
  10013. 2007-02-22 Gert Driesen <[email protected]>
  10014. * FileDialog.cs: Fixed support for renaming files and directories.
  10015. * ListView.cs: Do not lose focus when edit is canceled. Process
  10016. Escape as regular key (to prevent closing of dialogs).
  10017. 2007-02-22 Gert Driesen <[email protected]>
  10018. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  10019. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  10020. 2007-02-22 Gert Driesen <[email protected]>
  10021. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  10022. did not modify label.
  10023. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  10024. modified the text. Reset Label when user presses Escape in edit mode.
  10025. Move focus to ListView after having cancelled or finished editing the
  10026. label.
  10027. 2007-02-21 Gert Driesen <[email protected]>
  10028. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  10029. private. Clear textbox when Text is set to null and SelectedIndex is
  10030. already -1.
  10031. * FileDialog.cs: Removed unnecessary initializations. Removed
  10032. workarounds for ComboBox bugs that are now fixed. Modified
  10033. DefaultExt, InitialDirectory and Title property to change null to
  10034. zero-length string in getters. Avoid directly accessing fields.
  10035. 2007-02-20 Jackson Harper <[email protected]>
  10036. * TextControl.cs: Remove RecalAlignments call, that was some
  10037. debugging leftovers.
  10038. - Don't use the line indent when we shouldn't.
  10039. * RichTextBox.cs: Add support for paragraph left indents.
  10040. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  10041. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  10042. Seems like the class status pages doesn't catch params differences.
  10043. 2007-02-19 Gert Driesen <[email protected]>
  10044. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  10045. 2007-02-19 Gert Driesen <[email protected]>
  10046. * ComboBox.cs: Setting Text should have no effect if item text of
  10047. selected item exactly matches value. First lookup text using
  10048. case-sensitive comparison, and fallback to case-insensitive comparison.
  10049. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  10050. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  10051. paramname to match MS. Restart from first item if string is not found
  10052. after startIndex. Fixed paramname of ArgumentNullException that is
  10053. thrown for null value in ObjectCollection.Contains.
  10054. 2007-02-19 Everaldo Canuto <[email protected]>
  10055. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  10056. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  10057. * ListControl.cs: In SelectedValue use value.Equals to compare for
  10058. equality instead of ==, otherwise it will fail for strings.
  10059. Fixes #80794.
  10060. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  10061. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  10062. since the caret won't show up unless ShowSelection is true.
  10063. Fixes #80795.
  10064. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  10065. * Application.cs: When disabling all forms but the main form, do not
  10066. disable any descendants of the main form (such as mdi children or
  10067. other parented forms). Fixes #80822 on Windows.
  10068. * Form.cs: If we have a parent, set the WS_CHILD style.
  10069. * Control.cs: Update the window styles if the control whose parent has
  10070. changed is a form (the WS_CHILD style has to be switched).
  10071. 2007-02-19 Everaldo Canuto <[email protected]>
  10072. * XplatUIStructs.cs: MsgUIState structure added.
  10073. 2007-02-18 Gert Driesen <[email protected]>
  10074. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  10075. profile, do not check filename(s) for illegal character if filename(s)
  10076. were set non-interactively but always check on 1.0 profile. Fixed NRE
  10077. in DefaultExt and only strip off first leading dot. Improve exception
  10078. message when invalid Filter is set. Do not ignore InitialDirectory if
  10079. it does no exist. Store specified Title, and if empty use default
  10080. title (depending on type of dialog). Added an internal DialogTitle
  10081. property for retrieving dialog title. Fixed logic of displayed dir to
  10082. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  10083. string as its buggy.
  10084. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  10085. FileName is a zero-length string (it can never be null). Override
  10086. DialogTitle property to set default title of dialog box.
  10087. * SaveFileDialog.cs: Override DialogTitle property to set default
  10088. title of dialog box.
  10089. 2007-02-18 Gert Driesen <[email protected]>
  10090. * FileDialog.cs: Modify default text of filename and filetype labels
  10091. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  10092. after we've updated the SelectedIndex. Fixes part of bug #80887.
  10093. * SaveFileDialog.cs: Set text of filetype label.
  10094. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  10095. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  10096. label field. Needed by latest Jackson's fixes for ListView.
  10097. 2007-02-16 Andreia Gaita <[email protected]>
  10098. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  10099. print preview images.
  10100. 2007-02-16 Jackson Harper <[email protected]>
  10101. * ListView.cs: Make AfterLabelEdit work correctly.
  10102. * FileDialog.cs: After changing the name of the folder, we have to
  10103. make sure that it is created, or that we pop up an error because
  10104. it already exists.
  10105. 2007-02-16 Jackson Harper <[email protected]>
  10106. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  10107. System.String are mapped to text.
  10108. - Handle dataobjects, getting all the possible formats out of them
  10109. - We dont need the drag event args before we give feedback. This
  10110. allows feedback cursors to be immediate before selections have
  10111. been converted.
  10112. 2007-02-16 Jackson Harper <[email protected]>
  10113. * TextBoxBase.cs: Modified the method for inserting images to
  10114. taking a line and position instead of tag and position.
  10115. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  10116. into the RTF file.
  10117. * TextControl.cs: Allow images to be inserted as the first tag of
  10118. a line.
  10119. - Fix some off by one issues when we assume the first tag is a
  10120. text tag, not an image tag.
  10121. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  10122. * ListView.cs: Set focus to ListView when ItemControl gets a
  10123. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  10124. Fixes part of #80467.
  10125. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  10126. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  10127. validate Text input (if null or empty string reset Value to default
  10128. value). Fixes #80830.
  10129. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  10130. * ListView.cs: Set owner as null for columns and items when
  10131. Dispose is invoked. Fixes #80607.
  10132. 2007-02-14 Jonathan Pobst <[email protected]>
  10133. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  10134. showing DropDowns, don't show a Grip when doing Flow layout.
  10135. [This fixes the toolbox in PDN 2.72.]
  10136. * ToolStripItem.cs: Add Anchor property and some internal properties to
  10137. reduces needed changes to FlowLayout.
  10138. * ToolStripOverflow.cs: Remove unused variable.
  10139. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  10140. use it in the layout calculations.
  10141. 2007-02-13 Everaldo Canuto <[email protected]>
  10142. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  10143. reported in #79640.
  10144. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  10145. size calculation.
  10146. 2007-02-13 Everaldo Canuto <[email protected]>
  10147. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  10148. MeasureString format, it can make button very large in some cases, it is
  10149. strange but is what win32 do.
  10150. 2007-02-13 Everaldo Canuto <[email protected]>
  10151. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  10152. size calculation.
  10153. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  10154. rendering, the value is based on MenuAccessKeysUnderlined.
  10155. 2007-02-13 Everaldo Canuto <[email protected]>
  10156. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  10157. for most themes.
  10158. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  10159. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  10160. and use MenuAccessKeysUnderlined instead.
  10161. 2007-02-13 Andreia Gaita <[email protected]>
  10162. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  10163. A selected control would not get a Focus call if:
  10164. - the default active control of the container is the same as
  10165. the one that was selected
  10166. - we are switching from one container to another
  10167. Under these conditions, the container being selected already has
  10168. an active_control, which is the same as the one being activated,
  10169. so set_ActiveControl would always return and not send the Focus
  10170. call. Fix to check if the currently active control of the container
  10171. is actually focused.
  10172. 2007-02-13 Jonathan Pobst <[email protected]>
  10173. * StatusStrip.cs: Implement the spring layout.
  10174. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  10175. always matches the host.
  10176. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  10177. and TextAfterImage.
  10178. 2007-02-13 Andreia Gaita <[email protected]>
  10179. * Control.cs: Code reorganization only.
  10180. - Reorganize the WndProc cases so that each case has it's own handling method,
  10181. to help with the no-line-numbering stack traces.
  10182. - Formatting changes (it's vstudio's fault, really :p)
  10183. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  10184. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  10185. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  10186. behaviour.
  10187. 2007-02-12 Jackson Harper <[email protected]>
  10188. * RichTextBox.cs:
  10189. * TextBox.cs: By default we have a non multiline document
  10190. - use the multiline property instead of the internal variable
  10191. * TextBoxBase.cs: Treat multiline and non multiline the same in
  10192. most places.
  10193. - Use the documents multiline flag instead of tracking it ourself
  10194. * TextControl.cs: Attempt at getting multiline to match MS
  10195. behavior. Lines now track an offset, which is either their X or Y
  10196. offset depending on whether or not we are in multiline mode.
  10197. - Update all the methods to understand that lines have an X value.
  10198. - Fix crash in Undo::Duplicate when empty lines are deleted.
  10199. 2007-02-12 Everaldo Canuto <[email protected]>
  10200. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  10201. code moved to properties PreferredHeight and PreferredWidth. It solve the
  10202. all problems when preferred sizes must be recalculated. Fixes #80801.
  10203. 2007-02-12 Everaldo Canuto <[email protected]>
  10204. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  10205. font height when compatible_text_rendering is false. Partially fix #80801.
  10206. 2007-02-09 Gert Driesen <[email protected]>
  10207. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  10208. 2007-02-09 Gert Driesen <[email protected]>
  10209. * Form.cs: Improved exception messages in ShowDialog.
  10210. 2007-02-09 Gert Driesen <[email protected]>
  10211. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  10212. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  10213. if not set. Fixes bug #80764. Avoid accessing current_settings field
  10214. directly.
  10215. 2007-02-08 Everaldo Canuto <[email protected]>
  10216. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  10217. false.
  10218. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  10219. public in 2.0 and for easy maintenance and dont break compatibility it is
  10220. internal in 1.1.
  10221. 2007-02-08 Jonathan Pobst <[email protected]>
  10222. * ToolStripItem.cs: Implement using images from ImageList.
  10223. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10224. * DateTimePicker.cs: Change default date-formatting culture from
  10225. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  10226. seems to be the way MS does it.
  10227. 2007-02-08 Andreia Gaita <[email protected]>
  10228. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  10229. (the 6 was cut off on the right side)
  10230. 2007-02-08 Jonathan Pobst <[email protected]>
  10231. * Form.cs: Tell MenuStrips to close when the form is clicked.
  10232. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  10233. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  10234. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  10235. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  10236. support for Overflow, where items that do not fit are automatically
  10237. reparented to a drop down menu.
  10238. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  10239. Also: fixes bug #80747.
  10240. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10241. * ComboBox.cs: Remove warning (unused code).
  10242. * ScrollableControl.cs: Remove warning for 1.1 profile.
  10243. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10244. * Form.cs: Remove a warning.
  10245. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  10246. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  10247. 'g' specifier, not documented anywhere, but seems to always show up
  10248. as a single space (might have something to do with the DateTime 'g'
  10249. specifier, which is the era format, but since DateTimePicker can't
  10250. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  10251. won't crash if the format has an unmatched quote. Now shows
  10252. single-character formats correctly. Fixes #80744.
  10253. 2007-02-08 Jonathan Pobst <[email protected]>
  10254. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  10255. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  10256. 2007-02-07 Chris Toshok <[email protected]>
  10257. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  10258. background color. it overwrites the background image we've
  10259. already painted. Fixes #80599.
  10260. 2007-02-07 Chris Toshok <[email protected]>
  10261. * DataGrid.cs: return immediately from Edit() when there are no
  10262. columns. Fixes #80662.
  10263. 2007-02-07 Chris Toshok <[email protected]>
  10264. * MessageBox.cs: fix #80625. don't always show the Help button in
  10265. 2.0. use the displayHelpButton parameter to determine if we
  10266. should show it. Also, make the internal show_help field private.
  10267. 2007-02-07 Chris Toshok <[email protected]>
  10268. * Control.cs (SetVisibleCore): check in the proposed patch for
  10269. 80604, and set is_visible before calling CreateControl.
  10270. 2007-02-07 Jonathan Pobst <[email protected]>
  10271. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  10272. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  10273. on it.
  10274. 2007-02-06 Everaldo Canuto <[email protected]>
  10275. * MenuAPI.cs: hotkey_active internal field added, it is required because
  10276. we need to know when hotkeys must be draw, before this change a keystate
  10277. Navigating was used but we can have menu in navigating state without
  10278. hotkeys. Fixes #80694.
  10279. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  10280. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  10281. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  10282. corresponding events and methods to be internal for 1.1 profile and
  10283. public for 2.0 profile (required by SizeGrip).
  10284. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  10285. implicit control list). Don't set the size nor the location of the
  10286. SizeGrip anymore as it's not needed.
  10287. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  10288. draw directly on the captured control (fixes #80656). Removed
  10289. ShowGrip (it wasn't used anywhere), redraw (always true), added
  10290. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  10291. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  10292. be called from SizeGrip.
  10293. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  10294. * Timer.cs: Throw ArgumentException if Interval <= 0.
  10295. 2007-02-05 Jackson Harper <[email protected]>
  10296. * TreeView.cs: We need to check scrollbar visibility when window
  10297. visibility is updated, because non visible trees don't ever add
  10298. scrollbars.
  10299. * Cursor.cs: We want the override cursor to be reset to NULL when
  10300. we set current cursor to the default cursor.
  10301. 2007-02-05 Jackson Harper <[email protected]>
  10302. * TextControl.cs: Don't have crlfs when we are non multiline.
  10303. - Consolidate the line position.
  10304. 2007-02-05 Jackson Harper <[email protected]>
  10305. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  10306. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  10307. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  10308. handling LeaveNotify->NotifyUngrab in order to send
  10309. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  10310. after calling XUngrabPointer, so we call WindowUngrabbed directly
  10311. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  10312. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  10313. MouseCaptureChanged correctly. Also create handles if changing
  10314. Capture (matches MS behaviour).
  10315. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10316. * SizeGrip.cs: Make the last change 2.0 only.
  10317. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10318. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  10319. changes to initial size (fixes #80597).
  10320. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10321. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  10322. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  10323. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  10324. background) and only allow dragging if enabled. This way the
  10325. sizegrip can be used to fill the open square that otherwise would
  10326. have been shown in the bottom right corner of ScrollableControl
  10327. when ScrollableControl is not suppose to support sizing.
  10328. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  10329. sizegrip is shown and enabled, and hook up with necessary events.
  10330. 2007-02-01 Chris Toshok <[email protected]>
  10331. * DataGridTextBoxColumn.cs: clean up the
  10332. GetFormattedString/GetColumnValueAtRow combination of functions.
  10333. Also fix UpdateUI, and the initial state of
  10334. IsInEditOrNavigateMode.
  10335. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  10336. aren't supposed to scroll the textbox here, we're supposed to
  10337. scroll the datagrid.
  10338. 2007-02-01 Chris Toshok <[email protected]>
  10339. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  10340. setting the position.
  10341. 2007-02-01 Chris Toshok <[email protected]>
  10342. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  10343. here, since the most recent focus fixes keep us from generating
  10344. the Leave event when our textbox gets focus.
  10345. (Edit): we should be passing null for the column style's
  10346. instantText parameter.
  10347. 2007-02-01 Jonathan Pobst <[email protected]>
  10348. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  10349. raised. Fixes menu text/icons not showing up in PDN.
  10350. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  10351. * Control.cs: Remove code in constructor that makes every
  10352. control with WS_CHILD set have initial location -1, -1.
  10353. 2007-01-31 Jackson Harper <[email protected]>
  10354. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  10355. XplatUIX11.
  10356. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  10357. 2007-01-31 Jackson Harper <[email protected]>
  10358. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  10359. - Remove some debug code.
  10360. 2007-01-31 Jackson Harper <[email protected]>
  10361. * XplatUIX11.cs: If you set the override cursor during a grab, it
  10362. should actually override the grab cursor. This comes into play
  10363. when you are setting custom cursors in a DND feedback method.
  10364. 2007-01-31 Jackson Harper <[email protected]>
  10365. * X11Dnd.cs: Add support for handling the QueryContinue and
  10366. GiveFeedback events.
  10367. - Cancel drag and drop actions when the escape key is clicked.
  10368. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  10369. can handle the ESCAPE key.
  10370. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  10371. done when dnd events are continued after the button is released.
  10372. - Add a new helper method so that dnd can translate key events.
  10373. 2007-01-31 Alexander Olk <[email protected]>
  10374. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  10375. make it more obvious what is happening.
  10376. 2007-01-30 Jackson Harper <[email protected]>
  10377. * XplatUIX11.cs: Don't break when handling button release in drag
  10378. and drop operations. We need that BUTTONUP message to get through
  10379. so capture is released.
  10380. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  10381. this is handled automatically when the mouse is down.
  10382. 2007-01-30 Jackson Harper <[email protected]>
  10383. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  10384. is closed, so we need to make sure that we aren't changing the
  10385. dialog result when the OK (Open or Save) button has been clicked
  10386. and we are closing the window ourselves. Note we don't need to
  10387. worry about the cache being written in this case, because it was
  10388. already done in the previous FilOk call.
  10389. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  10390. * DateTimePicker.cs: Remove a warning.
  10391. * ComboBox.cs: Remove a couple of warnings.
  10392. 2007-01-29 Chris Toshok <[email protected]>
  10393. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  10394. set one, if SetIcon is passed a null icon.
  10395. 2007-01-29 Andreia Gaita <[email protected]>
  10396. * TextBox.cs: Redraw when the password characters changes
  10397. * TextControl.cs: Check if textbox has a password char and draw
  10398. a line of password chars instead of the text in the line. LineTag gets
  10399. an extra Draw() method which allows document.Draw to override the text
  10400. that will be drawn. Removes 1024 char limitation on length of passworded
  10401. lines.
  10402. 2007-01-29 Jackson Harper <[email protected]>
  10403. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  10404. single chars is not.
  10405. 2007-01-28 Jonathan Pobst <[email protected]>
  10406. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  10407. one pixel. Fix a StackOverflowException caused by an overload wrongly
  10408. calling itself.
  10409. 2007-01-26 Everaldo Canuto <[email protected]>
  10410. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  10411. also remove ProcessArrowKey and put the code inside ProcessKeys.
  10412. 2007-01-26 Jonathan Pobst <[email protected]>
  10413. * PaddingConverter.cs: Added.
  10414. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  10415. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  10416. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  10417. of text (fixes #80601). For panels clip the text to draw to the
  10418. panel (fixes #80603).
  10419. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  10420. * ComboBox.cs: Fixed implementation of ResetText.
  10421. 2007-01-25 Jackson Harper <[email protected]>
  10422. * TextControl.cs: For the last char of a line we need to use the
  10423. line size, not that chars width, since it won't actually be
  10424. computed since the right side of a char is based on the start of
  10425. the left side of the next char, and the next char does not exist.
  10426. 2007-01-25 Chris Toshok <[email protected]>
  10427. * Splitter.cs: fix the new unit tests, and reindent some switch
  10428. statements.
  10429. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10430. * ComboBox.cs: Implemented 2.0 methods and events.
  10431. * TextBoxBase.cs: Added OnTextUpdate, so that
  10432. ComboBox.ComboTextBox can inform ComboBox of it.
  10433. 2007-01-25 Jackson Harper <[email protected]>
  10434. * TextControl.cs: Respect ShowSelection when deciding whether or
  10435. not to display the caret, this allows comboboxes to have carets
  10436. when the combotextbox does not have focus.
  10437. 2007-01-25 Jackson Harper <[email protected]>
  10438. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  10439. same as the Suspend/Resume for recalc, except this will do actual
  10440. Invalidates.
  10441. - New Undo manager, works much like the MS version.
  10442. - Implemented Redo
  10443. * TextBoxBase.cs: The Cut operation is undoable.
  10444. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10445. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  10446. on Windows (no difference on Linux).
  10447. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10448. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  10449. we don't want to activate any windows. Fixes #79433.
  10450. 2007-01-25 Jonathan Pobst <[email protected]>
  10451. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  10452. [Fixes bug #80609]
  10453. 2007-01-25 Alexander Olk <[email protected]>
  10454. * FileDialog.cs:
  10455. - Move to using System.ComponentModel.EventHandlerList
  10456. - Replace Refresh with Invalidate
  10457. - Clear the mime filecache on closing
  10458. - Some other memory reducing work. After beeing closed FD now uses
  10459. only about 300 KB for the fdo mime stuff plus the memory of the
  10460. cached icons.
  10461. * Mime.cs: Changed coding style and removed unnecessary commented
  10462. code. Some more memory memory reducing work.
  10463. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  10464. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  10465. a few other missing 2.0 properties.
  10466. * Theme.cs: Added DrawFlatStyleComboBox.
  10467. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  10468. 2007-01-24 Chris Toshok <[email protected]>
  10469. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  10470. wake_waiting flag, not just when there's data to be read. if we
  10471. don't, then future wakeup's won't reach us and we'll be doomed to
  10472. wait for the entire 1 second timeout forever (unless there are X
  10473. events to be had).
  10474. 2007-01-24 Jonathan Pobst <[email protected]>
  10475. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  10476. until you pass Items.Count, not Items.Count - 1 like 1.1.
  10477. 2007-01-24 Gert Driesen <[email protected]>
  10478. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  10479. 2007-01-24 Jonathan Pobst <[email protected]>
  10480. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  10481. adding the panels in the wrong order.
  10482. 2007-01-24 Jackson Harper <[email protected]>
  10483. * TextBoxBase.cs: When we move the caret we also need to move the
  10484. selection, this fixes some random crashing after doing select
  10485. text, unselect, delete a char, paste.
  10486. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  10487. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  10488. 2007-01-23 Everaldo Canuto <[email protected]>
  10489. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  10490. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  10491. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  10492. 2007-01-23 Everaldo Canuto <[email protected]>
  10493. * ToolBar.cs:
  10494. - Implement support for vertical toolbars. Fixes #80539;
  10495. - Call LayoutToolBar when resize, it fix some other problems in layout.
  10496. - Rename requested_height to requested_size, as we can have width on it
  10497. when toolbar is vertical.
  10498. - Create a private property "Vertical" that uses Dock to verify when
  10499. toolbar is vertical or not.
  10500. - Set ControlStyles when change Dock property.
  10501. - Refactory in LayoutToolBar to have better variables names and to support
  10502. vertical toolbars.
  10503. - Fixes default value for ButtonSize when button count is equal zero, size
  10504. must be (39, 36) test case writed.
  10505. 2007-01-23 Chris Toshok <[email protected]>
  10506. * Control.cs: fix the checks so that they work correctly for mdi
  10507. parents/children.
  10508. 2007-01-23 Chris Toshok <[email protected]>
  10509. * Control.cs: ControlCollection seems to have super-secret
  10510. abstraction breaking knowledge of Mdi containers. allow MdiClient
  10511. to add toplevel controls.
  10512. 2007-01-23 Chris Toshok <[email protected]>
  10513. * Control.cs: throw an ArgumentException if a toplevel control is
  10514. added to our control collection from ControlCollection.Add, as
  10515. well as from ControlCollection.IList.Add. This fixes the
  10516. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  10517. Also, in ControlCollection.IList.Add, don't through an
  10518. ArgumentNullException, throw an ArgumentException, when value ==
  10519. null. This matches MS.
  10520. 2007-01-23 Chris Toshok <[email protected]>
  10521. * BindingSource.cs: initial, incomplete, implementation of
  10522. BindingSource.
  10523. 2007-01-23 Jackson Harper <[email protected]>
  10524. * TextControl.cs:
  10525. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  10526. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  10527. 2007-01-23 Everaldo Canuto <[email protected]>
  10528. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  10529. 2007-01-23 Andreia Gaita <[email protected]>
  10530. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  10531. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  10532. IndexOfKey() for 2.0
  10533. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  10534. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  10535. to prevent it from changing z-order.
  10536. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  10537. leave UI updates in MdiWindowManager.
  10538. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  10539. 1 sized (NC handling goes weird on Linux otherwise).
  10540. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  10541. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  10542. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  10543. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  10544. and SetWindowState(s) to allow for changing the size of an activated child
  10545. before activating it (reduces a lot of flicker).
  10546. 2007-01-22 Jonathan Pobst <[email protected]>
  10547. * Form.cs: Changing FormBorderStyle has different semantics based
  10548. on whether the Form is visible or not. If not visible, don't change
  10549. the Size. But InvalidateNC needs to be called to force the window
  10550. to pick up the changes and redraw itself. [Fixes bug #80574]
  10551. 2007-01-22 Jonathan Pobst <[email protected]>
  10552. [Moma work]
  10553. * ContainerControl.cs: ProcessCmdKey.
  10554. * ErrorProvider.cs: new constructor.
  10555. * Form.cs: fix AutoValidateEvent compiler warning.
  10556. * Label.cs: fix OnAutoSizeChanged compiler warning.
  10557. * MenuStrip.cs: fix CanOverflow compiler warning.
  10558. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  10559. * TextBox.cs: Dispose.
  10560. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  10561. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  10562. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  10563. * ToolStripItem.cs: Overflow, RightToLeft properties.
  10564. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  10565. * Form.cs: Move the layout of the main form to MdiWindowManager.
  10566. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  10567. do a layout of the main window to update MdiClient's client area to
  10568. the right area. Fixes #80533. Remove the calculation of nc size,
  10569. it was just wrong and the correct one is the same as for
  10570. InternalWindowManager.
  10571. 2007-01-20 Jonathan Pobst <[email protected]>
  10572. * Control.cs: Setting Anchor or Dock needs to reset the other
  10573. to its default. [Fixes bug #80556]
  10574. 2007-01-20 Chris Toshok <[email protected]>
  10575. * CheckedListBox.cs: class status changes.
  10576. * ScrollableControl.cs: same.
  10577. * RichTextBox.cs: same.
  10578. * ContainerControl.cs: same.
  10579. * ListView.cs: same.
  10580. * NotifyIcon.cs: same.
  10581. * MenuStrip.cs: same.
  10582. * RadioButton.cs: same.
  10583. * CheckBox.cs: same.
  10584. * PrintPreviewDialog.cs: same.
  10585. * Form.cs: same.
  10586. 2007-01-19 Jonathan Pobst <[email protected]>
  10587. * TreeNode.cs: Apply Alan's patch for Name property.
  10588. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  10589. * Form.cs: Implemented SizeGripStyle.
  10590. * SizeGrip.cs: Check for minimum and maximum size for the
  10591. control being resized and only resize if size has actually
  10592. changed.
  10593. 2007-01-19 Chris Toshok <[email protected]>
  10594. * DataGridColumnStyle.cs: stop setting _readonly in the
  10595. PropertyDescriptor setter. fixes a unit test failure.
  10596. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  10597. just consult our table style (if we have one). We don't need to
  10598. consult the datagrid readonly attribute because that's passed in
  10599. as the _ro arg to Edit. this simplifies things a little.
  10600. * DataGrid.cs: use CurrentColumn instead of
  10601. current_cell.ColumnNumber just to simplify some of the code.
  10602. switch the order of some things in the CurrentCell setter to keep
  10603. the previous cell from getting a textbox again -
  10604. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  10605. So we need to set the new cell before calling it.
  10606. call Edit in OnEnter, as does Microsoft.
  10607. also, make sure the current table style isn't the one we create
  10608. initially when checking to see if it's different than the one
  10609. we're setting it to in BindColumns (this fixes #80421).
  10610. * GridTableStylesCollection.cs: table styles can have "" for a
  10611. mapping name. part of the fix for #80421.
  10612. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  10613. Edit significantly.
  10614. 2007-01-18 Jonathan Pobst <[email protected]>
  10615. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  10616. and less GDI object leaky-er.
  10617. 2007-01-18 Andreia Gaita <[email protected]>
  10618. * LinkLabel.cs: Add opaque control style
  10619. 2007-01-18 Jackson Harper <[email protected]>
  10620. * TextControl.cs: Calculate width properly.
  10621. - Don't store the tag's X offset, this can be figured out very
  10622. easily.
  10623. - When getting the caret tag make sure to get the last empty tag.
  10624. 2007-01-18 Jonathan Pobst <[email protected]>
  10625. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  10626. [Fixes bug #79959]
  10627. * Control.cs: Color.Empty shouldn't count for previous transparent
  10628. redraw changes.
  10629. 2007-01-18 Jackson Harper <[email protected]>
  10630. * TextBox.cs:
  10631. * RichTextBox.cs:
  10632. * TextControl.cs: Starting to merge in some pieces of my older
  10633. undo work. Basically just some slight cleanup of the undo API.
  10634. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  10635. * TrackBar.cs: Fix signature of RightToLeftLayout.
  10636. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  10637. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  10638. * Application.cs: Implemented UseWaitCursor.
  10639. 2007-01-18 Jackson Harper <[email protected]>
  10640. * TextControl.cs: We can't skip tags if any part of the tag is
  10641. visible.
  10642. 2007-01-18 Jonathan Pobst <[email protected]>
  10643. * ContainerControl.cs: Override OnLayout.
  10644. 2007-01-18 Jonathan Pobst <[email protected]>
  10645. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  10646. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  10647. everything else.
  10648. 2007-01-18 Chris Toshok <[email protected]>
  10649. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  10650. (leftover from the container_selected days, I'd wager). fixes bug
  10651. #80546.
  10652. 2007-01-18 Jonathan Pobst <[email protected]>
  10653. * Control.cs: Apply patch from George to fix the new testcase on
  10654. bug #80451. We can't just check for Color.Transparent, we need
  10655. to check if the back color's alpha channel is < 255.
  10656. 2007-01-18 Jonathan Pobst <[email protected]>
  10657. * Form.cs: Move setting show_icon = true to before the constructor
  10658. so that the base constructor has that information when it calculates
  10659. the form's size. Was causing forms to be (6, 6) bigger than they
  10660. were supposed to be. Thanks for catching this Rolf!
  10661. 2007-01-18 Jackson Harper <[email protected]>
  10662. * TextControl.cs: When replacing a selection we need to invalidate
  10663. from the initial selection start, because selection start is moved
  10664. to the end of the replacement.
  10665. 2007-01-18 Andreia Gaita <[email protected]>
  10666. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  10667. 2007-01-18 Chris Toshok <[email protected]>
  10668. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  10669. I just added.
  10670. 2007-01-17 Everaldo Canuto <[email protected]>
  10671. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  10672. layout methods and properties from ToolBarButton must be available
  10673. into ToolBarButtonInfo.
  10674. 2007-01-17 Jonathan Pobst <[email protected]>
  10675. * Control.cs: If the control has a transparent background, we
  10676. need to refresh it when it moves and when it's parent's background
  10677. image changes. [Fixes bug #80451]
  10678. 2007-01-17 Jonathan Pobst <[email protected]>
  10679. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  10680. 2007-01-17 Jonathan Pobst <[email protected]>
  10681. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  10682. [Fixes bug #80447, and probably speeds up things as well]
  10683. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10684. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  10685. * XplatUIWin32.cs: We need to recalculate NC size after changing
  10686. window style to toolwindow (otherwise the client rectangle will be
  10687. 3 pixels to small for some reason).
  10688. * MdiWindowManager.cs: Revert NC size calculations to match how
  10689. they are calculated only based on window styles (to match
  10690. Win32AdjustWindowRectEx, since otherwise when setting size or
  10691. location, Control will call Win32AdjustWindowRectEx to update client
  10692. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  10693. calculate a different value of client size causing another paint
  10694. (and flickering))
  10695. * InternalWindowManager.cs: When moving or resizing a window only
  10696. update size or location if they actually changed.
  10697. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  10698. (seems to match Windows behaviour better). Cleaned up
  10699. ManagedWindowDecorations to draw what's needed and nothing else
  10700. (was drawing borders and lines where they shouldn't be)
  10701. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  10702. (style = 0xFFFF) and takes into account caption height when
  10703. calculating window rectangle.
  10704. 2007-01-16 Everaldo Canuto <[email protected]>
  10705. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  10706. can be added to toolbar multiple times, we need to maintain a list of
  10707. button information for each positions.
  10708. 2007-01-16 Everaldo Canuto <[email protected]>
  10709. * ToolBar.cs: Some small stetic changes.
  10710. 2007-01-16 Jackson Harper <[email protected]>
  10711. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  10712. that allow us to have nested recalc = false blocks.
  10713. - Add paste support for images in the RichTextBox
  10714. * RichTextBox.cs: flush the text after the color is changed, so
  10715. the change takes effect.
  10716. - Use SuspendRecalc
  10717. - Some extra debugging info
  10718. * TextControl.cs: Tags no longer track their length, it is just
  10719. computed from the next tags length, this makes things a little
  10720. simpler and reduces places that we have to track length changes.
  10721. - Refactored the linetag class a little so we could make it
  10722. a base class for different kinds of tags
  10723. - Created a image tag, a tag that can have a single image inserted
  10724. into it
  10725. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  10726. that we can call suspend multiple times.
  10727. - Add some debugging methods
  10728. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10729. * MdiClient.cs: Add ActivatePreviousChild for
  10730. mdi child window navigation.
  10731. * Form.cs: Use MdiClient.ActivateNextChild/
  10732. ActivatePreviousChild instead of Form.SelectNextControl
  10733. to select the next/previous child since
  10734. SelectNextControl doesn't do it in the same order
  10735. as mdi children should do it.
  10736. 2007-01-16 Chris Toshok <[email protected]>
  10737. * Control.cs: remove container_selected field.
  10738. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10739. * MdiClient.cs: Update main form's ActiveChild when
  10740. updating keyboard focus for the mdi child.
  10741. 2007-01-16 Jonathan Pobst <[email protected]>
  10742. * Control.cs: PreferredSize fix.
  10743. * Form.cs: Add several 2.0 events, properties, and methods.
  10744. 2007-01-16 Gert Driesen <[email protected]>
  10745. * Form.cs: Provide meaningful message when MdiParent is assigned a
  10746. Form that is not an MdiContainer.
  10747. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10748. * MdiClient.cs: Update main form's ActiveChild when
  10749. activating a mdi child.
  10750. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  10751. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  10752. doesn't have a menu.
  10753. * Form.cs: Request NCRecalc after creating a mdi child window.
  10754. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  10755. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  10756. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  10757. sends keyboard focus to the active child, or to the MdiClient
  10758. if there are no child forms.
  10759. 2007-01-15 Chris Toshok <[email protected]>
  10760. * ListView.cs: drop the *Internal overrides, just do our work in
  10761. ItemControl's WndProc instead.
  10762. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  10763. of the various controls, and forward the events properly (in the
  10764. same manner as MS) from the textbox to the UpDown. Also the
  10765. ActiveControl of the UpDownBase gets set properly now. Finally,
  10766. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  10767. * NumericUpDown.cs: set Text in the ctor.
  10768. * DomainUpDown.cs: call UpdateEditText in the ctor.
  10769. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  10770. so even a Selectable = false textbox can be focused if you click
  10771. in it. Go figure.
  10772. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  10773. just add their handling in their respective WndProc's. Also add
  10774. an explicit FocusInternal method that doesn't consult CanFocus
  10775. before calling Select(this).
  10776. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  10777. do our work in WndProc instead.
  10778. * TabControl.cs: same.
  10779. * ComboBox.cs: same.
  10780. 2007-01-15 Everaldo Canuto <[email protected]>
  10781. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  10782. Fixes #80006.
  10783. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  10784. * ListViewItem.cs:
  10785. * ThemeWin32Classic.cs: Don't draw the item text outside
  10786. item bounds in Details view, as well as use trimming.
  10787. Fixes bug #80376.
  10788. 2007-01-15 Jonathan Pobst <[email protected]>
  10789. * Form.cs: Implement Form.ShowIcon.
  10790. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  10791. null, which when combined with the DlgModalFrame window style removes
  10792. the icon from the title bar.
  10793. 2007-01-15 Jonathan Pobst <[email protected]>
  10794. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  10795. 2007-01-15 Everaldo Canuto <[email protected]>
  10796. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  10797. menu when mdi child windows theres a menu, uses insert to get icon
  10798. at first position. Partially fix #80006.
  10799. 2007-01-15 Jonathan Pobst <[email protected]>
  10800. * Clipboard.cs: Implement 2.0 methods.
  10801. 2007-01-15 Everaldo Canuto <[email protected]>
  10802. * Menu.cs: Implement Insert method of MenuItemCollection class
  10803. to fix MenuMerge.
  10804. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  10805. * ListView.cs: Implement 2.0 FindItemWithText method.
  10806. 2007-01-11 Everaldo Canuto <[email protected]>
  10807. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  10808. to calculate menu bar size. Fixes #80290.
  10809. 2007-01-11 Everaldo Canuto <[email protected]>
  10810. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  10811. 2007-01-11 Chris Toshok <[email protected]>
  10812. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  10813. initial form.
  10814. 2007-01-11 Chris Toshok <[email protected]>
  10815. * LinkLabel.cs: make sure to call base.Select in our Select method
  10816. if it turns out we're going to be selected (i.e. if we have a link
  10817. that is going to receive focus). That way our container's
  10818. ActiveControl is updated properly.
  10819. 2007-01-11 Chris Toshok <[email protected]>
  10820. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  10821. they have 1 or more links. this fixes the crash gert reported.
  10822. 2007-01-11 Andreia Gaita <[email protected]>
  10823. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  10824. anymore.
  10825. * Control.cs (Controls.Add): Check if control to be added to the collection
  10826. is a top level control, and throw an ArgumentException if it is.
  10827. Remove ContainerSelectedFlag, not needed anymore.
  10828. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  10829. top most control doesn't activate the form. This fixes a problem in the
  10830. MessageBox, where the default button wouldn't get focus because the form
  10831. was activated before being Loaded - when the Owner is set, SetTopMost is
  10832. called, and it would activate it.
  10833. 2007-01-11 Jonathan Pobst <[email protected]>
  10834. * Button.cs: When clicked and setting the parent form's DialogResult,
  10835. use FindForm instead of Parent, since parent could be a container
  10836. control and not the Form. Fixes bug #80495.
  10837. 2007-01-10 Chris Toshok <[email protected]>
  10838. * Form.cs: move the call to SendControlFocus into the same
  10839. is_loaded check.
  10840. 2007-01-10 Chris Toshok <[email protected]>
  10841. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  10842. It breaks in the face of the new ActiveControl stuff, and should
  10843. be unnecessary.
  10844. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  10845. activecontrol's focus if it's not already set, after we set
  10846. ActiveControl, but before we call OnActivated. Re-fixes #79667
  10847. after the previous focus/active control fixes regressed it.
  10848. * Control.cs: reindent some code.
  10849. 2007-01-10 Chris Toshok <[email protected]>
  10850. * Splitter.cs: clearing some outstanding changes from my tree.
  10851. Replace all accesses (not writes) to the internal dock_style field
  10852. with the Dock property.
  10853. 2007-01-10 Chris Toshok <[email protected]>
  10854. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  10855. FireValidated virtual.
  10856. * Form.cs: override and don't chain up calls to FireEnter and
  10857. FireLeave.
  10858. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  10859. * ListView.cs: Add more text padding space when using
  10860. auto resize for columns (the previous value didn't work fine).
  10861. * ThemeWin32Classic.cs: Update text position inside columns,
  10862. to match the appeareance of .Net.
  10863. * ColumnHeader.cs: When using auto resize, only the Width should
  10864. depend on the sub items, not the Height. Also, set width after
  10865. auto resizing (the value of Width should never remain as -1 or -2).
  10866. 2007-01-10 Chris Toshok <[email protected]>
  10867. * Application.cs: fix compilation errors when debug is enabled.
  10868. 2007-01-10 Chris Toshok <[email protected]>
  10869. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  10870. add some nice ascii art pictures and explanation of the process).
  10871. (GetMostDeeplyNestedActiveControl): new utility function we need
  10872. because our ActiveControl can refer to a child container with its
  10873. own ActiveControl.
  10874. * Form.cs (OnActivated): remove the call to SelectActiveControl
  10875. from here, since you can override this method and not chain up,
  10876. and winforms still sets the active control.
  10877. (OnCreateControl): also remove the unnecessary SelectActiveControl
  10878. call from here.
  10879. (WndProc): it's actually called from the WM_ACTIVATE block, just
  10880. before calling OnActivated.
  10881. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  10882. inside the else. the ActiveControl setter will end up setting
  10883. focus on @control. This keeps us from setting it again (and
  10884. generating an extra LostFocus/GotFocus pair).
  10885. (Select (bool, bool)): reindent.
  10886. 2007-01-10 Jonathan Pobst <[email protected]>
  10887. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  10888. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  10889. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  10890. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  10891. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  10892. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  10893. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  10894. ToolStripTextBox.cs: Another wave of corcompare work.
  10895. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  10896. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  10897. the Width property.
  10898. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  10899. methods by callling Column.AutoResize method on columns.
  10900. 2007-01-09 Jonathan Pobst <[email protected]>
  10901. * Control.cs: Provide proper implementations of PreferredSize
  10902. and GetPreferredSize (2.0).
  10903. 2007-01-09 Jonathan Pobst <[email protected]>
  10904. * Form.cs: Remove one character (!) to make my previous OnClosing
  10905. stuff work for modal windows like MessageBox.
  10906. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  10907. * ListView.cs:
  10908. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  10909. ListView.Columns to get the last displayed column. Fixes #80452.
  10910. 2007-01-09 Everaldo Canuto <[email protected]>
  10911. * Label.cs, LinkLabel.cs: Source code identation fixes.
  10912. 2007-01-08 Everaldo Canuto <[email protected]>
  10913. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  10914. we dont need to invalidate only borders because when we invalidate four
  10915. border lines the invalidate's generates a complete redraw of button,
  10916. because it now invalidate a complete rect some other redraws operations
  10917. are fixed. Fixes #80196.
  10918. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  10919. Remove ToolBarInvalidateEntireButton as it is not used.
  10920. 2007-01-08 Jonathan Pobst <[email protected]>
  10921. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  10922. called for 2.0 profile.
  10923. * CloseReason.cs: Make class internal for 1.1.
  10924. 2007-01-08 Jonathan Pobst <[email protected]>
  10925. * ToolStripManager.cs: Implement FindToolStrip functionality.
  10926. * ToolStrip.cs: Register and unregister with ToolStripManager.
  10927. 2007-01-07 Jonathan Pobst <[email protected]>
  10928. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  10929. to ArrangedElementCollection. Implemented this with as few #if's as
  10930. possible (which is still too many).
  10931. 2007-01-07 Jonathan Pobst <[email protected]>
  10932. * Control.cs: Implement SizeFromClientSize() [2.0].
  10933. 2007-01-07 Everaldo Canuto <[email protected]>
  10934. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  10935. use Theme.BorderSize to calculate area instead of static value 1,
  10936. by the way use new BorderStaticSize instead Border3DSize when
  10937. border_static is true. Fixes #79537.
  10938. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  10939. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  10940. it is not needed.
  10941. 2007-01-06 Everaldo Canuto <[email protected]>
  10942. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  10943. 2007-01-06 Everaldo Canuto <[email protected]>
  10944. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  10945. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  10946. * Hwnd.cs:
  10947. - border_static field added, it will used to define when a control
  10948. theres 3D border but it must be static (thin).
  10949. - In GetWindowRectangle use Theme.BorderSize to calculate area
  10950. instead of static value 1, by the way use new BorderStaticSize instead
  10951. Border3DSize when border_static is true.
  10952. * XplatUIX11.cs, XplatUIOSX.cs:
  10953. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  10954. * Theme.cs: BorderStaticSize field added.
  10955. 2007-01-05 Everaldo Canuto <[email protected]>
  10956. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  10957. 2007-01-05 Everaldo Canuto <[email protected]>
  10958. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  10959. mimic same behavior than win32 that set border only in CreateParams,
  10960. it fix problems under CreateParams overrides. Fix #79442 and partial
  10961. fix #79537.
  10962. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  10963. of thi control you must call recreate handle.
  10964. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  10965. need to do anything as RecreateHangle will take care about borders.
  10966. 2007-01-05 Mike Kestner <[email protected]>
  10967. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  10968. cycles between the ItemControl and parent. Fixes #80388.
  10969. 2007-01-05 Gert Driesen <[email protected]>
  10970. * Control.cs: Lazy init layout engine. Do not directly use
  10971. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  10972. 2007-01-05 Chris Toshok <[email protected]>
  10973. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  10974. unless our list manager has changed (i.e. unless we have reason to
  10975. believe our columns have changed). Fixes #80422.
  10976. also, disable the call do BindColumns in
  10977. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  10978. 1.1 the event isn't raised in response to a column addition on a
  10979. table.)
  10980. 2007-01-05 Jonathan Pobst <[email protected]>
  10981. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  10982. that inheritors can not call it if they choose. Fixes bug #80456.
  10983. 2007-01-05 Andreia Gaita <[email protected]>
  10984. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  10985. doesn't blow up with a null exception on marshalling.
  10986. 2007-01-05 Jonathan Pobst <[email protected]>
  10987. * Control.cs: Implement several 2.0 protected properties and methods.
  10988. Ensure that all necessary events are being called when properties
  10989. are set.
  10990. 2007-01-05 Mike Kestner <[email protected]>
  10991. * ListView.cs: implement PgUp/PgDn for Details view. Also
  10992. fixes First/LastVisibleIndex to use the item_control.ClientRect
  10993. instead of the parent control. Fixes #80378.
  10994. 2006-01-05 Atsushi Enomoto <[email protected]>
  10995. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  10996. determine whether to use yard-pound or not (bug #78399).
  10997. 2006-01-04 Alexander Olk <[email protected]>
  10998. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  10999. problems. So it is time to bring back the old popupbutton colors.
  11000. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  11001. * ColumnHeader.cs:
  11002. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  11003. property by using the internal information of the
  11004. columns order in ListView.
  11005. 2007-01-04 Jonathan Pobst <[email protected]>
  11006. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  11007. Add 2.0 Tag properties.
  11008. * LinkArea.cs: Add 2.0 ToString method.
  11009. 2007-01-03 Chris Toshok <[email protected]>
  11010. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  11011. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  11012. when we're editing, which fixes #80047.
  11013. 2007-01-03 Chris Toshok <[email protected]>
  11014. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  11015. #80404.
  11016. 2007-01-03 Jonathan Pobst <[email protected]>
  11017. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  11018. property and implementation.
  11019. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  11020. for MdiWindowListItem property.
  11021. * ToolStripDropDown.cs: Don't consider hidden menu items while
  11022. laying out the menu.
  11023. 2007-01-03 Andreia Gaita <[email protected]>
  11024. * SendKeys.cs: window handle is not needed in win32, so just
  11025. get the active window for X after parsing keys and don't use
  11026. it when building the message; it is passed by parameter to the
  11027. Xplat method and used there to build the message instead. Also,
  11028. wait for events to be processed on SendWait, as opposed to Send,
  11029. which doesn't wait :) Playing with threads and Send() completely
  11030. hangs on ms.net, only SendWait() works.
  11031. XplatUIX11.cs
  11032. X11Display.cs: Check for valid window handle.
  11033. 2007-01-03 Jackson Harper <[email protected]>
  11034. * TextControl.cs: Need to prevent wrap calculations when replacing
  11035. text (this was there before i removed it accidently).
  11036. - Don't update the cursor during the positioning, just set it to
  11037. selection_start at the end of the operaion.
  11038. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  11039. * Control.cs:
  11040. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  11041. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  11042. * MonthCalendar.cs: Added Click and DoubleClick events again,
  11043. but this time they only hide Control's Click and DoubleClick.
  11044. 2007-01-03 Gert Driesen <[email protected]>
  11045. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  11046. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  11047. 2007-01-02 Jackson Harper <[email protected]>
  11048. * TextBoxBase.cs: We move the caret with the split now, so we
  11049. don't need to explicitly move the caret after splitting. This
  11050. fixes the caret bumping down an extra line on Enter.
  11051. 2007-01-02 Miguel de Icaza <[email protected]>
  11052. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  11053. 2.72).
  11054. * ScrollableControl.cs: Add Scroll event.
  11055. 2007-01-02 Mike Kestner <[email protected]>
  11056. * ListView.cs: one more try with help from [email protected]
  11057. to fix all hdr height padding codepaths. Fixes #80207.
  11058. 2007-01-02 Chris Toshok <[email protected]>
  11059. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  11060. setting it to the Control defaults anyway, and it being after the
  11061. Dock set was screwing up layout.
  11062. (set_Dock): don't short circuit out of setting base.Dock. Also,
  11063. no need to call UpdateStatusBar here, as it'll be re-layed out if
  11064. it needs to be.
  11065. 2007-01-02 Mike Kestner <[email protected]>
  11066. * ListView.cs: patch from [email protected] to add padding
  11067. to header height for width == -1. Fixes the rest of #80207.
  11068. 2007-01-02 Mike Kestner <[email protected]>
  11069. * ListView.cs: rework the mouse event forwarding everaldo added
  11070. to translate the coordinates to the parent control not
  11071. raise the parent events until after we've done our work. Hover
  11072. needs more work, in the case where HoverSelection is on, because
  11073. the item control receives more than one MouseHover per Enter
  11074. event, so we need to ensure only the "first" hover gets forwarded.
  11075. Opening a minor bug for that.
  11076. 2007-01-02 Gert Driesen <[email protected]>
  11077. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  11078. * ListControl.cs: Implemented AllowSelection property. Removed extra
  11079. tabs.
  11080. * ListBox.cs: Implemented AllowSelection property.
  11081. 2007-01-02 Everaldo Canuto <[email protected]>
  11082. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  11083. SelectedItem, it prevent for errors when you must disable item
  11084. before perform click. Fixes #80409.
  11085. 2007-01-02 Everaldo Canuto <[email protected]>
  11086. * MenuAPI.cs: Prevent second level and beyond submenus to close
  11087. until first level when move out side of popup.
  11088. 2007-01-02 Everaldo Canuto <[email protected]>
  11089. * MenuAPI.cs:
  11090. - Down submenu positin in three pixels.
  11091. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  11092. 2007-01-02 Everaldo Canuto <[email protected]>
  11093. * ThemeWin32Classic.cs:
  11094. - Fix popup menu size adding one pixel on the top.
  11095. - Down menu item border from two to one to mimic Win32.
  11096. - Some source identation fixes.
  11097. 2007-01-01 Everaldo Canuto <[email protected]>
  11098. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  11099. position of menu arrows, it fix wrong arrow size.
  11100. 2007-01-01 Everaldo Canuto <[email protected]>
  11101. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  11102. instead of line, it simplify draw operation and fix it using 3D
  11103. borders to mimic Win32.
  11104. 2007-01-01 Jonathan Pobst <[email protected]>
  11105. * StatusStrip.cs: Add implementation of the sizing grip.
  11106. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  11107. StatusStrip rendering.
  11108. 2006-12-31 Chris Toshok <[email protected]>
  11109. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  11110. override the layout style (anchor/dock) of the control. assign to
  11111. Dock instead. Fixes bug #80416.
  11112. * ToolStrip.cs: same.
  11113. 2006-12-31 Andreia Gaita <[email protected]>
  11114. * ContainerControl.cs: Use ContainerSelected flag to check if
  11115. a Container is directly selected, or if Select is called on a
  11116. non-container. If a container is directly selected, focus events
  11117. should not be raised.
  11118. Apply #80411 patch to throw exception on set_ActiveControl if
  11119. control is the same as the current one.
  11120. * Control.cs: Use ContainerSelected flag (see above).
  11121. Add invalidation check to raise event but not invalidate if
  11122. dimensions are 0.
  11123. Apply #80411 patch.
  11124. 2006-12-31 Everaldo Canuto <[email protected]>
  11125. * MenuAPI.cs: After click, dont close popup menu when menu is
  11126. ContextMenu. Fixes #80399.
  11127. 2006-12-30 Chris Toshok <[email protected]>
  11128. * ContainerControl.cs: make sure we throw the exception if the
  11129. container control doesn't contain the control we're setting
  11130. ActiveControl to.
  11131. 2006-12-30 Chris Toshok <[email protected]>
  11132. * Control.cs (SetTopLevel): fix the exception raised by
  11133. SetTopLevel for child controls.
  11134. (set_Anchor): call UpdateDistances when setting the anchor type.
  11135. This fixes bug #80336.
  11136. 2006-12-29 Gert Driesen <[email protected]>
  11137. * Theme.cs: For now, revert back to 8pt font.
  11138. 2006-12-29 Everaldo Canuto <[email protected]>
  11139. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  11140. Fixes #80395.
  11141. 2006-12-29 Chris Toshok <[email protected]>
  11142. * Control.cs: reorder the code in OnResize to give the same event
  11143. ordering as MS.
  11144. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  11145. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  11146. TileHorizontally and TileVertically.
  11147. 2006-12-29 Alexander Olk <[email protected]>
  11148. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  11149. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  11150. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  11151. Corrected copyright and email adress.
  11152. 2006-12-29 Gert Driesen <[email protected]>
  11153. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  11154. of Exception in FullPath property if no TreeView is associated with
  11155. the TreeNode.
  11156. 2006-12-29 Gert Driesen <[email protected]>
  11157. * Theme.cs: Marked default_font as private, and initialize it in ctor
  11158. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  11159. on 2.0 profile.
  11160. * ThemeGtk.cs: Removed default_font intialization.
  11161. * ThemeWin32Classic.cs: Removed default_font initialization.
  11162. 2006-12-28 Chris Toshok <[email protected]>
  11163. * Control.cs: fix a couple of place where we were creating handles
  11164. more aggressively than we should be. Fixes ControlRefresh unit
  11165. tests.
  11166. 2006-12-28 Chris Toshok <[email protected]>
  11167. * Control.cs: contrary to what the comment said, Control.Dock does
  11168. not supercede Control.Anchor - the last one you assign to decides
  11169. the layout behavior. so we need to keep track of which was the
  11170. last set. Also, fix some of the affected property arguments in
  11171. PerformLayout calls, and remove an redundant parent.PerformLayout
  11172. call in OnResized.
  11173. Add a VisibleInternal property, which returns is_visible. We
  11174. can/should get rid of all the usage of this field elsewhere.
  11175. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11176. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  11177. control style, not DoubleBuffer. Added UseDoubleBuffering property
  11178. that indicates whether doublebuffering is enabled and supported.
  11179. (comment from and code based on Gert Driesen's patch in #80324).
  11180. Fixes #80324.
  11181. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11182. * Control.cs: Fixed a NRE.
  11183. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11184. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  11185. for 2.0.
  11186. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  11187. * Control.cs: Rewrote double buffering, now a seperate
  11188. class handles all the buffering, no Graphics is disposed of
  11189. until the painting is finished (earlier implementation
  11190. would crash if the control was resized in the OnPaint,
  11191. since it would cause the double buffer to be recreated
  11192. and the old one disposed), a separate Graphics is
  11193. created for every paint (MS behaviour and anyways the state
  11194. of the Graphics would have to be saved and restored otherwise)
  11195. * XplatUIDriver.cs:
  11196. * XplatUIX11.cs:
  11197. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  11198. so that we can get the graphics for the back buffer without
  11199. having to create a new one and remove the offscreen_dc parameter
  11200. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  11201. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  11202. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  11203. Also make virtual all the key-related methods.
  11204. * ListViewItem.cs: Make virtual the key related methods for
  11205. ListViewSubItemCollection.
  11206. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  11207. * ListView.cs:
  11208. * ListViewItem.cs:
  11209. * ThemeWin32Classic.cs:
  11210. * Theme.cs: Initial support for Tile view in ListView,
  11211. as well as the implementation of the required bits for it (Item
  11212. and Subitem).
  11213. 2006-12-27 Gert Driesen <[email protected]>
  11214. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  11215. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  11216. Provide useful exception messages.
  11217. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  11218. * TrackBar.cs: Remove a warning.
  11219. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  11220. when used by DateTimePicker, fixes #80287. This also requires that
  11221. MonthCalendar implements it's own drawing for the yearly updown control,
  11222. otherwise the Capture tracking would be too complicated. Removed the Click
  11223. and DoubleClick events (according to comments they were hiding the base class
  11224. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  11225. raise these events, not that they cannot be raised. It is possible to raise
  11226. them by calling OnClick and OnDoubleClick). Added two internal fields in
  11227. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  11228. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  11229. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  11230. event, no longer needed.
  11231. 2006-12-27 Gert Driesen <[email protected]>
  11232. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  11233. true if new value differs from current value.
  11234. 2006-12-27 Gert Driesen <[email protected]>
  11235. * Control.cs: ControlCollection.Count must be public. Fixed build of
  11236. unit tests.
  11237. 2006-12-27 Gert Driesen <[email protected]>
  11238. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  11239. 2006-12-27 Gert Driesen <[email protected]>
  11240. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  11241. 2006-12-26 Everaldo Canuto <[email protected]>
  11242. * Control.cs: Invalidates control including when Width and Height is
  11243. equal zero or is not visible, only Paint event must be care about
  11244. this. Fixes #79913.
  11245. 2006-12-26 Chris Toshok <[email protected]>
  11246. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  11247. more corcompare work.
  11248. * DataGridView.cs: fix compiler warning.
  11249. * ColumnHeader.cs: some corcompare work, and also take the
  11250. opportunity to make the internal fields private.
  11251. * ListView.cs: fix the fallout from the above field change.
  11252. 2006-12-26 Jonathan Pobst <[email protected]>
  11253. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  11254. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  11255. ToolStripTextBox.cs: Fixes to events and corcompare.
  11256. 2006-12-26 Everaldo Canuto <[email protected]>
  11257. * ListView.cs: Call owner.OnMousexx event to propagate events from
  11258. item to ListView. Fixes #80367.
  11259. 2006-12-26 Gert Driesen <[email protected]>
  11260. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  11261. if value is less than one. ItemHeight should not be set to a value
  11262. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  11263. Removed extra tabs.
  11264. 2006-12-26 Jonathan Pobst <[email protected]>
  11265. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  11266. * ToolStripStatusLabel.cs: Add Spring for Moma.
  11267. 2006-12-26 Gert Driesen <[email protected]>
  11268. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  11269. Fixed code formatting. Removed debug code.
  11270. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  11271. 2006-12-26 Gert Driesen <[email protected]>
  11272. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  11273. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  11274. ArgumentOutOfRangeException if ColumnCount is negative. In
  11275. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  11276. less than 4 or higher than 32768.
  11277. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  11278. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  11279. Fixed IsFormatProviderDefault to return true if FormatProvider has
  11280. not been explicitly set.
  11281. 2006-12-25 Chris Toshok <[email protected]>
  11282. * Application.cs: add a couple of 2.0 events.
  11283. 2006-12-25 Chris Toshok <[email protected]>
  11284. * Control.cs: fix compiler warning.
  11285. * AxHost.cs: corcompare fixes.
  11286. * ApplicationContext.cs: corcompare fixes.
  11287. 2006-12-25 Chris Toshok <[email protected]>
  11288. * Control.cs: only update dist_right/dist_bottom if the
  11289. width/height is > 0. this fixes anchored controls being resized
  11290. smaller until they disappear and then resized larger again.
  11291. 2006-12-25 Chris Toshok <[email protected]>
  11292. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  11293. since they're nothing more than X/Left and Y/Top, respectively.
  11294. Also, move back to a per-control Bitmap/Graphics for
  11295. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  11296. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  11297. Height.
  11298. 2006-12-25 Miguel de Icaza <[email protected]>
  11299. * MessageBox.cs: Implemented overload that takes a new "bool
  11300. displayHelpButton" by adding a new internal field "show_help".
  11301. When clicked this will raise the HelpRequested on the owner or the
  11302. main form.
  11303. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  11304. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  11305. * ListView.cs: Add support ColumnWidthChanged and
  11306. ColumnWidthChanging.
  11307. Add support for ColumnReordered event.
  11308. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  11309. reorder.
  11310. Very nice codebase!
  11311. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  11312. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  11313. 2006-12-24 Chris Toshok <[email protected]>
  11314. * GridTablesFactory.cs: 2.0 corcompare work.
  11315. * ToolStripContainer.cs: add "override" to
  11316. ContextMenuStripChanged, and remove the local event object.
  11317. * ToolStripDropDown.cs: same with a couple properties.
  11318. * ToolStripPanel.cs: same with AutoSizeChanged event.
  11319. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  11320. * Form.cs: add the remaining 2.0 events, and do some corcompare
  11321. attribute work.
  11322. * DateTimePicker.cs: add "new" to padding.
  11323. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  11324. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  11325. * DataGridView.cs: PaddingChanged is overridden.
  11326. 2006-12-24 Chris Toshok <[email protected]>
  11327. * Control.cs: corecompare work here too.
  11328. * DataGridViewElement.cs, DataGridView.cs,
  11329. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  11330. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  11331. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  11332. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  11333. work.
  11334. 2006-12-24 Miguel de Icaza <[email protected]>
  11335. * Control.cs: Switched the error message on the console for a
  11336. todo. A review of the code will have to cope with this anyways
  11337. (since its a large feature, it is in our radar) and it was
  11338. producing too much output when running PDN.
  11339. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  11340. changes. Applications depend on this (PDN 2.72)
  11341. 2006-12-23 Chris Toshok <[email protected]>
  11342. * TableLayoutSettings.cs: finish up the corcompare work for this
  11343. class.
  11344. 2006-12-23 Chris Toshok <[email protected]>
  11345. * Control.cs: make SetImplicitBounds internal, do some futzing
  11346. with LayoutEngine so that it's available in 1.1, and remove the
  11347. entire duplicated code mess from PerformLayout. Use
  11348. System.Windows.Forms.Layout.DefaultLayout instead.
  11349. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  11350. 2006-12-23 Jonathan Pobst <[email protected]>
  11351. * Form.cs: Add MainMenuStrip property.
  11352. 2006-12-23 Jonathan Pobst <[email protected]>
  11353. * Control.cs: Add ContextMenuStrip property and implementation.
  11354. Fix ContextMenu implementation to show menu centered on control when
  11355. activated using the keyboard instead of showing at screen (0,0).
  11356. * ToolStripDropDown.cs: Fix needed overload of Show ().
  11357. 2006-12-23 Everaldo Canuto <[email protected]>
  11358. * Menu.cs: Name property added for 2.0 profile.
  11359. 2006-12-23 Everaldo Canuto <[email protected]>
  11360. * Menu.cs: Update information about FindMenuItem, method to be
  11361. implemented soon.
  11362. 2006-12-23 Everaldo Canuto <[email protected]>
  11363. * MenuAPI.cs: When deselect items deselect also selected subitems.
  11364. 2006-12-23 Everaldo Canuto <[email protected]>
  11365. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  11366. FindSubItemByCoord to found itens that is not active, also an
  11367. cheking added to FindSubItemByCoord to search for items only
  11368. in visible popup windows. Fixes #80274.
  11369. 2006-12-22 Everaldo Canuto <[email protected]>
  11370. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  11371. internal property, it be care about change ExStyle.
  11372. 2006-12-22 Andreia Gaita <[email protected]>
  11373. * ContainerControl.cs: set activeControl for parent forms up the
  11374. tree when the new activecontrol is a container.
  11375. When validating the active control, if it is a container, also
  11376. raise up the validation for it's active control. Fixes #80280
  11377. * Control.cs: Add internal property flag and check to prevent
  11378. Focus events from getting raised when Select() is called for
  11379. a ContainerControl. There are still too many focus events being
  11380. raised at the moment though.
  11381. Cleaned up the code a bit.
  11382. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  11383. * Control.cs: Added all missing 2.0 events.and
  11384. fixed a couple of corcompare issues.
  11385. * TrackBar.cs: Implemented missing 2.0 bits.
  11386. * MonthCalendar.cs,
  11387. * DateTimePicker.cs,
  11388. * MdiClient.cs: Fixed some corcompare issues.
  11389. 2006-12-21 Jonathan Pobst <[email protected]>
  11390. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  11391. SplitterPanel.cs: corecompare work.
  11392. 2006-12-21 Jonathan Pobst <[email protected]>
  11393. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  11394. Clean up warnings for BackgroundImageChanged and PaddingChanged
  11395. events now that they are implemented in Control.cs.
  11396. 2006-12-21 Jonathan Pobst <[email protected]>
  11397. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  11398. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  11399. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  11400. of TableLayoutPanel and supporting cast.
  11401. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  11402. * XplatUIWin32.cs:
  11403. - GrabWindow now confines the mouse pointer to the confine window.
  11404. - Added Win32ClipCursor and Win32GetClipCursor.
  11405. * Control.cs:
  11406. - Added CaptureWithConfine to be able to capture and confine
  11407. mouse pointer.
  11408. * InternalWindowManager.cs:
  11409. - Call CaptureWithConfine instead of Capture if we're an
  11410. MdiChild (fixes #79982).
  11411. 2006-12-21 Chris Toshok <[email protected]>
  11412. * DataGrid.cs: guard against the initial state of selection, where
  11413. selection_start == -1. make sure we only select from index >= 0.
  11414. Fixes bug #80291.
  11415. 2006-12-21 Chris Toshok <[email protected]>
  11416. * Control.cs: we don't need to be so draconian with
  11417. UpdateDistances, and we thusly don't need to call it before
  11418. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  11419. 2006-12-21 Daniel Nauck <[email protected]>
  11420. * ComboBox.cs,
  11421. TextBox.cs: Implemented AutoComplete properties.
  11422. 2006-12-20 Chris Toshok <[email protected]>
  11423. * DataGridView*.cs: some corecompare work.
  11424. 2006-12-20 Jackson Harper <[email protected]>
  11425. * XplatUIX11.cs: We need to hide the caret when deleting it,
  11426. otherwise you get carets left lying around everywhere.
  11427. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  11428. prevents getting some weird half drawn caret tracers when
  11429. scrolling.
  11430. * TextControl.cs: Attempt to reduce the number of times we need to
  11431. recreate the caret.
  11432. 2006-12-20 Gert Driesen <[email protected]>
  11433. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  11434. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  11435. * DateTimePicker.cs:
  11436. - Implemented missing 2.0 bits.
  11437. - Changed some default values to match MS.
  11438. 2006-12-20 Jackson Harper <[email protected]>
  11439. * TextBoxBase.cs: When changing the font across the document we
  11440. can't recalculate after changing each line, since that will cahnge
  11441. the line count.
  11442. - PreferredHeight is a little different than i thought.
  11443. - When backspacing, move the caret before we do the actual char
  11444. delete, because when that delete crosses a wrap boundary the
  11445. positional information will change.
  11446. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  11447. * Control.cs: Added some missing 2.0 bits:
  11448. BackgroundImageLayout, BackgroundImageLayoutChanged,
  11449. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  11450. add IBindableComponent and IDropTarget implementation.
  11451. * MonthCalendar.cs:
  11452. - Added all missing 2.0 features:
  11453. BackgroundImageLayout, RightToLeftLayout,
  11454. OnHandleDestroyed, RightToLeftLayoutChanged,
  11455. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  11456. PaddingChanged.
  11457. - Rewrote all the BoldDate code, it was completely broken.
  11458. - Fixed all the tests (the tests can now be re-enabled, the
  11459. problems were not with the tests, but with the control, it was
  11460. mostly broken).
  11461. * DateTimePicker.cs: Changed the location where the
  11462. MonthCalendar is shown.
  11463. 2006-12-19 Chris Toshok <[email protected]>
  11464. * DataGridView.cs: add IDropTarget implementation.
  11465. * ToolStripPanel.cs: add IDropTarget implementation.
  11466. 2006-12-19 Jackson Harper <[email protected]>
  11467. * TextControl.cs: soft now means something different than what it
  11468. used to mean, we want to move the caret regardless of whether or
  11469. not this break was soft (would we really have wanted the caret
  11470. to not move with the break in the old context?)
  11471. * TreeView.cs: Make sure we factor in the vert scrollbar when
  11472. calculating the horizontal scrollbar's maximum.
  11473. 2006-12-19 Andreia Gaita <[email protected]>
  11474. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  11475. check for keywords in alternate casing, close bug #80049.
  11476. 2006-12-19 Chris Toshok <[email protected]>
  11477. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  11478. methods (which all do nothing).
  11479. * IDropTarget.cs: add the 4 missing methods.
  11480. 2006-12-19 Chris Toshok <[email protected]>
  11481. * TableLayoutRowStyleCollection.cs: corcompare work.
  11482. * TableLayoutSettings.cs: same.
  11483. * TableLayoutStyle.cs: same.
  11484. * TableLayoutColumnStyleCollection.cs: same.
  11485. 2006-12-19 Jonathan Pobst <[email protected]>
  11486. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  11487. TableLayoutPanel I've had in my local tree for way too long.
  11488. 2006-12-19 Miguel de Icaza <[email protected]>
  11489. * TableLayoutSettings.cs: Finish the public API (still needs all
  11490. the logic to update on changes).
  11491. * TableLayoutPanelCellPosition.cs: new file.
  11492. * TableLayoutRowStyleCollection.cs,
  11493. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  11494. TableLayoutSettings.cs: Track the final 2.0 table api.
  11495. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  11496. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  11497. and Image List 2.0 members for ColummnHeader.
  11498. * ListView.cs: Add key-related 2.0 methods for
  11499. ColumnHeaderCollection.
  11500. 2006-12-19 Gert Driesen <[email protected]>
  11501. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  11502. ArgumentNullException if items argument is null. Ignore null item in
  11503. arrays. Removed extra tabs.
  11504. 2006-12-19 Gert Driesen <[email protected]>
  11505. * MonthCalendar.cs: Fixed InvalidCastException.
  11506. 2006-12-19 Jackson Harper <[email protected]>
  11507. * TextControl.cs: Don't increment the position here.
  11508. - When calculating char positions only add in the line break size
  11509. for hard line breaks.
  11510. 2006-12-19 Andreia Gaita <[email protected]>
  11511. * SendKeys.cs: Changed some things to match ms.net behaviour
  11512. when parsing shifted capital letters.
  11513. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  11514. Add window handle as parameter to SendInput. X11 needs the
  11515. window handle, and the handle being passed to it in the keys
  11516. queue is the active control handle (which windows needs), not
  11517. the window handle.
  11518. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  11519. to support SendKeys on X.
  11520. * X11Keyboard: Implement helper method to lookup a linux keycode
  11521. given the virtual keycode. Added table of keycode-2-virtualkey
  11522. values to support this.
  11523. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  11524. * ListView.cs: Add support for SelectedIndexCollection
  11525. and SelectedItemCollection 2.0 methods. Implement support
  11526. for ImageKey too.
  11527. * ListViewItem.cs: Add support for ListViewSubItemCollection
  11528. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  11529. (it shouldn't call Clear).
  11530. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  11531. 2006-12-19 Jackson Harper <[email protected]>
  11532. * RichTextBox.cs:
  11533. * TextBoxBase.cs: New args for FormatText
  11534. * TextControl.cs: Rewrote the main drawing method, this version
  11535. feels a little easier to understand and debug to me. Hopefully it
  11536. does to others also
  11537. - Fix FormatText to OR in the new formating values. Added
  11538. FormatSpecified param, basically this works in the same way as
  11539. BoundsSpecified in Control.
  11540. - Set the caret properties when the caret is positioned.
  11541. - When wrapping text make sure that we calculate the width of the
  11542. last character
  11543. - when calculating alignments we might have wrapped down to the
  11544. next line, so don't search for an individual tag, search for the
  11545. end of the line
  11546. - We need to invalidate the selection area when we replace the
  11547. selection.
  11548. 2006-12-19 Daniel Nauck <[email protected]>
  11549. * Application.cs: add Restart () 2.0 support
  11550. 2006-12-18 Everaldo Canuto <[email protected]>
  11551. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  11552. property. Fixes #80268.
  11553. 2006-12-18 Everaldo Canuto <[email protected]>
  11554. * MenuAPI.cs: Dont trigger select event when closes top menu
  11555. item. Fixes #80270.
  11556. 2006-12-18 Everaldo Canuto <[email protected]>
  11557. * MenuAPI.cs: When you click on menuitem only trigger onselect
  11558. event for top menu itens. Fixes #80271.
  11559. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  11560. * MdiWindowManager.cs: Make IconicBounds depend on
  11561. the bottom of MdiClient, not the top (fixes #80267)
  11562. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  11563. * MdiClient.cs: Added missing 2.0 attribute
  11564. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  11565. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  11566. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  11567. 2006-12-18 Everaldo Canuto <[email protected]>
  11568. * MenuAPI.cs: Fix click when menuitem is not popup,
  11569. this regression was caused by last commit (#80272).
  11570. 2006-12-17 Everaldo Canuto <[email protected]>
  11571. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  11572. fire click event or close menu. Fixes #80272.
  11573. 2006-12-17 Daniel Nauck <[email protected]>
  11574. * ListViewHitTestInfo.cs: add
  11575. 2006-12-17 Daniel Nauck <[email protected]>
  11576. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  11577. * FlatButtonAppearance.cs: add
  11578. * DockingAttribute.cs: add
  11579. 2006-12-17 Chris Toshok <[email protected]>
  11580. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  11581. and rebind our columns when it does - this way, if you make
  11582. changes to the DataTable (or set the Table attribute on a DataView
  11583. after setting it as the DataGrid's DataSource, the changes are
  11584. made visible.) Fixes bug #80107.
  11585. 2006-12-17 Daniel Nauck <[email protected]>
  11586. * ListViewGroup.cs: add internal Location property for layouting.
  11587. * Theme.cs: add abstract ListViewGroupHeight function.
  11588. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  11589. 2006-12-16 Andreia Gaita <[email protected]>
  11590. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  11591. Added reset of selected index to 0 when adding first tab page.
  11592. Fixes #80264
  11593. * NumericUpDown.cs: Fix NET_2_0 check
  11594. 2006-12-16 Daniel Nauck <[email protected]>
  11595. * ListViewGroup.cs: fixed DefaultValueAttribute value
  11596. 2006-12-16 Daniel Nauck <[email protected]>
  11597. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  11598. 2006-12-15 Miguel de Icaza <[email protected]>
  11599. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  11600. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  11601. ScrollableControl.cs: Add a handful of methods that are
  11602. overwritten in 2.0
  11603. 2006-12-15 Chris Toshok <[email protected]>
  11604. * XplatUIWin32.cs: initial implementation of the Reversible
  11605. drawing functions. there are some problems. DrawReversibleFrame
  11606. doesn't seem to work at all for Dashed FrameStyle, and in the
  11607. Thick case there are drawing errors at the corners (we probably
  11608. need to bind Rectangle instead of doing moveto/lineto's.)
  11609. 2006-12-16 Andreia Gaita <[email protected]>
  11610. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  11611. to send blocks of key messages. Send accumulates keys to send with Flush,
  11612. while SendWait sends all keys immediately.
  11613. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11614. XplatUIX11.cs, XplatUIX11-new.cs:
  11615. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  11616. to Win32 SendInput.
  11617. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  11618. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  11619. testing for ms.net on this class is very tricky, as the tests run too fast
  11620. to allow the hook to release, essentially freezing the keyboard and the
  11621. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  11622. category :p
  11623. 2006-12-16 Daniel Nauck <[email protected]>
  11624. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  11625. added missing attributes.
  11626. 2006-12-15 Daniel Nauck <[email protected]>
  11627. * ListViewGroup.cs: Added missing attributes.
  11628. * ListViewGroupCollection.cs: Added missing attributes.
  11629. 2006-12-15 Daniel Nauck <[email protected]>
  11630. * ListViewItem.cs: fixed ListViewSubItem text property.
  11631. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11632. * Control.cs: Added missing 2.0 attributes
  11633. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11634. * MdiClient.cs: Added missing 2.0 attribute.
  11635. * MonthCalendar.cs: Added some missing 2.0 attributes
  11636. and properties.
  11637. 2006-12-15 Daniel Nauck <[email protected]>
  11638. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  11639. 2006-12-15 Jonathan Pobst <[email protected]>
  11640. * MainMenu.cs: Add the new 2.0 constructor to help out people
  11641. using the MainMenu in VS2005.
  11642. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11643. * MdiChildContext.cs: Removed it, no longer used.
  11644. * MdiClient.cs: Added missing 2.0 attributes.
  11645. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11646. * InternalWindowManager.cs: Fix a NullRef with previous
  11647. changes for toolwindows.
  11648. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  11649. * Control.cs:
  11650. - Added AfterTopMostControl to allow for certain controls
  11651. to always stay on top when normal controls are brought to
  11652. front.
  11653. * XplatUIWin32.cs:
  11654. - (DrawInversibleRectangle): Get window rectangle from Win32
  11655. in stead of from control, since Win32 doesn't calculate
  11656. screen coords correctly from control's Location if it
  11657. have docked siblings.
  11658. * MdiWindowManager.cs:
  11659. - Correct the control menu popup location when clicked on
  11660. the maximized form icon. (fixes #80223.1)
  11661. - Don't show moving rectangle if mouse hasn't moved from
  11662. the original clicked point.
  11663. - Removed FormGotFocus handler (not used).
  11664. - Calculate the control buttons location from the main
  11665. window's size and not client size (fixes #79770).
  11666. - Form is now closed when the form icon is double-clicked
  11667. (fixes #79775).
  11668. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  11669. * InternalWindowManager.cs:
  11670. - Moved some MDI-only methods to MdiWindowManager.
  11671. - Removed unused properties and methods.
  11672. - Unified method naming for methods handling wm messages.
  11673. - Moved all message handling to seperate methods for
  11674. each message.
  11675. * ThemeWin32Classic.cs:
  11676. - DrawManagedWindowDecorations now draws the title bar
  11677. with a gradient brush.
  11678. - Add a CPDrawButtonInternal that allows us to specify
  11679. light, normal and dark colors for the buttons (control
  11680. buttons for MDI children were drawn with the same light
  11681. color as the background, therefore loosing the 3D effect).
  11682. * SizeGrip.cs:
  11683. - Add a CapturedControl property that is used to
  11684. determine the control to resize (defaults to parent).
  11685. Needed for MdiClient, since its SizeGrip's parent is
  11686. MdiClient, but the control to resize is the main form.
  11687. * MdiClient.cs:
  11688. - Set SizeGrip's CapturedControl to the main form in order
  11689. to resize the main form and not the MdiClient.
  11690. - Override AfterTopMostControl to leave the scrollbars
  11691. always on top.
  11692. 2006-12-15 Daniel Nauck <[email protected]>
  11693. * ListView.cs: fixed ListViewItemCollection AddRange and
  11694. implemented ListViewItemCollection AddRange 2.0 support.
  11695. 2006-12-15 Daniel Nauck <[email protected]>
  11696. * ListViewGroup.cs: Add.
  11697. * ListViewGroupCollection.cs: Add
  11698. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  11699. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  11700. stub for ImageKey 2.0 support.
  11701. 2006-12-14 Mike Kestner <[email protected]>
  11702. * ListView.cs: add text padding to the autocalculation for columns
  11703. of width -2. Fixes #80207.
  11704. 2006-12-14 Mike Kestner <[email protected]>
  11705. * ListView.cs: add some index guarding for partial row navigation
  11706. logic. Fixes #80250.
  11707. 2006-12-14 Mike Kestner <[email protected]>
  11708. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  11709. are added or inserted to the collection. Fixes #81099.
  11710. 2006-12-13 Everaldo Canuto <[email protected]>
  11711. * MenuAPI.cs: Closes menu when right click out side of popup
  11712. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  11713. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  11714. * ListViewItem.cs: Fix dumb error.
  11715. * ListView.cs: Add Find and ContainsKey methods in
  11716. ListViewItemCollection, and also return true for IsReadOnly
  11717. and IsFixedSize (changes for 2.0).
  11718. 2006-12-13 Gert Driesen <[email protected]>
  11719. * Control.cs: Allow Region to be set to null.
  11720. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  11721. * MdiWindowManager.cs: Remove unused (commented out) code.
  11722. * Form.cs: When the MdiChild is maximized, the form needs
  11723. WM_NCMOUSELEAVE, so request it.
  11724. * InternalWindowManager.cs:
  11725. - Added tooltips to control buttons.
  11726. - Removed duplicated control button handling code.
  11727. - Removed unused (commented out) code.
  11728. 2006-12-12 Everaldo Canuto <[email protected]>
  11729. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  11730. was used because we must set cursor without trigger ChangeCursor event
  11731. and without change Cursor control property. Fixes #79963.
  11732. 2006-12-12 Andreia Gaita <[email protected]>
  11733. * Control.cs: Check if Region setter value is null, and ignore
  11734. 2006-12-12 Jackson Harper <[email protected]>
  11735. * TextControl.cs: We were almost always drawing one more line then
  11736. needed, since the GetLineByPixel will return the last line found
  11737. at that pixel. In most cases though, we were invalidating up to
  11738. the junction between two lines.
  11739. - Improve debug code.
  11740. 2006-12-12 Chris Toshok <[email protected]>
  11741. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  11742. and FillReversibleRectangle.
  11743. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  11744. and FillReversibleRectangle.
  11745. * XplatUIWin32.cs: add stubs which do nothing for
  11746. DrawReversibleFrame, DrawReversibleLine, and
  11747. FillReversibleRectangle.
  11748. * XplatUIOSX.cs: add stubs which raise NIE for
  11749. DrawReversibleFrame, DrawReversibleLine, and
  11750. FillReversibleRectangle.
  11751. * XplatUIX11.cs: add working implementation for
  11752. DrawReversibleFrame, DrawReversibleLine, and
  11753. FillReversibleRectangle.
  11754. * ControlPaint.cs: implement DrawReversibleFrame,
  11755. DrawReversibleLine, and FillReversibleRectangle, by calling into
  11756. the appropriate XplatUI method.
  11757. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11758. * Form.cs: Make MdiClient have the focus even if it's
  11759. not selectable, since it should receive WM_KEY* and WM_MOUSE
  11760. messages. Fixes #79907.
  11761. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11762. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  11763. queried after the window is created.
  11764. * XplatUIX11.cs: Added SendParentNotify to implement
  11765. WM_PARENTNOTIFY logic. Fixes #79965.
  11766. * Control.cs: Added MakeParam.
  11767. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11768. * MdiClient.cs: Resume Layout before setting window
  11769. states (fixes #80201).
  11770. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  11771. * MenuAPI.cs: Deselect a menu item after performing
  11772. the click (fixes #80197).
  11773. 2006-12-11 Jackson Harper <[email protected]>
  11774. * TextBoxBase.cs: We need to cap this value, since Maximum -
  11775. ViewPortHeight can be less than zero.
  11776. - Only do selection with the left mouse button.
  11777. * TextBox.cs: Don't tell the world that we have a context menu.
  11778. * Control.cs: New method so that we can control whether or not the
  11779. context menu is visible outside MWF.
  11780. 2006-12-11 Everaldo Canuto <[email protected]>
  11781. * ToolBarButton.cs: Fix text positon.
  11782. 2006-12-11 Miguel de Icaza <[email protected]>
  11783. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  11784. * Control.cs (DoubleBuffered): Add implementation.
  11785. * Application.cs (OpenForms): Add.
  11786. 2006-12-11 Jonathan Pobst <[email protected]>
  11787. * Form.cs: Use opacity instead of Opactiy to determine if we need
  11788. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  11789. 2006-12-11 Jonathan Pobst <[email protected]>
  11790. * Control.cs: Fix NRE if Control.Site was set to null.
  11791. 2006-12-11 Chris Toshok <[email protected]>
  11792. * Control.cs: ControlCollection.Remove should return if the arg is
  11793. null, and ControlCollection.SetChildIndex should raise a ANE.
  11794. 2006-12-11 Gert Driesen <[email protected]>
  11795. * Control.cs: Verify value set for Dock property. Code formatting
  11796. updates.
  11797. 2006-12-11 Jackson Harper <[email protected]>
  11798. * TextControl.cs: Draw the caret and the selection when a flag is
  11799. set on the owner.
  11800. * TextBoxBase.cs: We want to draw the caret and the selection for
  11801. TextBox but not for TextBoxBase.
  11802. - If the window is resized and scrolling is no longer needed (the
  11803. whole doc is visible) set the scroll position to zero.
  11804. - The default SelectWord (the one TextBox uses) should move the
  11805. caret to the end of the word.
  11806. - SelectAll moves the caret to the end of the selection.
  11807. * TextBox.cs: We don't selectall on focus, we just do it when the
  11808. control is created.
  11809. 2006-12-11 Mike Kestner <[email protected]>
  11810. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  11811. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  11812. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  11813. 2.0 support.
  11814. * ListViewItem.cs: Add Name 2.0 property.
  11815. 2006-12-11 Andreia Gaita <[email protected]>
  11816. * TabControl.cs: Set visibility on selected or default tab
  11817. when tabcontrol handle is created, so that it's contents
  11818. actually show up (duh). Fixes #80193
  11819. Don't redraw the control if there is no handle created, as
  11820. the selected index might be completely invalid. Added some tests
  11821. to check for this.
  11822. 2006-12-11 Everaldo Canuto <[email protected]>
  11823. * ToolBar.cs: Uses maximun width and height of all buttons as
  11824. button rectangle when ButtonSize specified, it looks strange but
  11825. is what happens in Win32. Fixes #80189.
  11826. 2006-12-11 Jackson Harper <[email protected]>
  11827. * TextControl.cs: Need to track undo levels ourself, since
  11828. compound actions will mess them up.
  11829. 2006-12-10 Andreia Gaita <[email protected]>
  11830. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  11831. SelectedIndex value is changed (even if it's not valid).
  11832. Reset SelectedIndex to 0 when the handle is created and if
  11833. the current index is invalid.
  11834. Fixes SelectdeIndex unit tests and #80128
  11835. 2006-12-08 Chris Toshok <[email protected]>
  11836. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  11837. calls EndEdit, it needs to be called before we set current_cell to
  11838. its new value. Otherwise, we end up committing the value in the
  11839. textbox to the new cell as well. Fixes bug #80160.
  11840. 2006-12-08 Chris Toshok <[email protected]>
  11841. * Form.cs (set_CancelButton): if the button's DialogResult is
  11842. None, set it to Cancel. Fixes bug 80180.
  11843. 2006-12-08 Jackson Harper <[email protected]>
  11844. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  11845. to watch ourselves when setting the canvas size and setting the
  11846. scrollbar values.
  11847. 2006-12-08 Chris Toshok <[email protected]>
  11848. * DataGrid.cs: comment out the two MakeTransparent calls for the
  11849. time being so people using trunk (and not 1.2.2) on windows can
  11850. actually use the datagrid. This deals with bug #80151.
  11851. 2006-12-08 Jonathan Pobst <[email protected]>
  11852. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  11853. Graphics.DrawImage (image, int, int, int, int) overload instead
  11854. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  11855. the dpi difference and was blurring images it drew.
  11856. [Fixes bug #79960]
  11857. 2006-12-08 Chris Toshok <[email protected]>
  11858. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  11859. rowcnt is 0 (such as with an empty datasource), and make sure we
  11860. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  11861. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  11862. 2006-12-08 Chris Toshok <[email protected]>
  11863. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  11864. grid.
  11865. 2006-12-08 Chris Toshok <[email protected]>
  11866. [ Fixes bug #80167 ]
  11867. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  11868. style is FlatStyle.System.
  11869. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  11870. ButtonBase.flat_style private, and switch uses of it to the public
  11871. property.
  11872. 2006-12-08 Chris Toshok <[email protected]>
  11873. [ Fixes bug #80121 ]
  11874. * ThemeWin32Classic.cs: center the caption text in the datagrid
  11875. when we draw it.
  11876. * DataGrid.cs: lessen the amount we add to the caption height from
  11877. 6 to 2. 6 was making it huge.
  11878. 2006-12-08 Andreia Gaita <[email protected]>
  11879. * UpDownBase: Handle MouseWheel call directly instead of capturing
  11880. the inner textbox's OnMouseWheel. Fixes #80166
  11881. 2006-12-08 Jackson Harper <[email protected]>
  11882. * TextControl.cs: We need to invalidate the textbox when we empty
  11883. it (how had this not been discovered before?)
  11884. 2006-12-08 Jackson Harper <[email protected]>
  11885. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  11886. to behave like MS, we now ignore the eventargs.Click and just
  11887. track state ourself, which we were already doing anyways.
  11888. - Constrain the double click handler to the double click size.
  11889. 2006-12-08 Chris Toshok <[email protected]>
  11890. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  11891. direction if that scrollbar isn't shown. fixes bug #80158.
  11892. 2006-12-08 Andreia Gaita <[email protected]>
  11893. * NumericUpDown.cs: Update value on getter. Fixes #79950
  11894. 2006-12-08 Chris Toshok <[email protected]>
  11895. * MenuItem.cs: add back in the event cloning code. I didn't know
  11896. how to do it in the face of the EventHandlerList work i'd done
  11897. last week. Fixes bug #80183.
  11898. 2006-12-08 Jonathan Pobst <[email protected]>
  11899. * Control.cs: Add an invalidate to the BackgroundImage setter.
  11900. [Fixes 80184]
  11901. 2006-12-07 Jonathan Pobst <[email protected]>
  11902. * ToolStrip*: Add some small properties reported by MoMA, fix event
  11903. firing and default properties based off of unit tests, and add some
  11904. attributes based off of the class status page.
  11905. 2006-12-07 Jackson Harper <[email protected]>
  11906. * TextBoxBase.cs: Take HideSelection into account when determining
  11907. whether or not to show the selection.
  11908. * RichTextBox.cs: After inserting the RTF into the document move
  11909. the cursor to the beginning of the document.
  11910. 2006-12-07 Jonathan Pobst <[email protected]>
  11911. * Control.cs: Remove static ArrayList "controls" which maintained
  11912. a reference to every control created.
  11913. * Application.cs: Create a static FormCollection to maintain a reference
  11914. to every form created. Use it in places that formerly enumerated through
  11915. the controls one looking for forms.
  11916. * Form.cs: Add and remove self from above FormCollection.
  11917. 2006-12-07 Alexander Olk <[email protected]>
  11918. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  11919. not libgdk (though it makes me wonder why I didn't have any
  11920. problems)
  11921. 2006-12-07 Chris Toshok <[email protected]>
  11922. [ you had to know this was coming after that last commit...]
  11923. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  11924. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  11925. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  11926. XCopyArea).
  11927. 2006-12-07 Chris Toshok <[email protected]>
  11928. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  11929. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  11930. all the behavior we need for double buffering.
  11931. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  11932. client side Bitmap, just like the old Control-based double buffer
  11933. code did. The methods are virtual, so each XplatUI driver
  11934. subclass can replace the implementation to use a faster, platform
  11935. specific approach.
  11936. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  11937. double buffer code, and clean things up a bit in the process.
  11938. 2006-12-06 Chris Toshok <[email protected]>
  11939. * Control.cs: reindent WndProc.
  11940. 2006-12-06 Chris Toshok <[email protected]>
  11941. [ I wanna be like BenM when I grow up ]
  11942. * Hwnd.cs: create a single static Graphics object on the static
  11943. Bitmap we create. use this for our text measurements.
  11944. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  11945. This was causing us to allocate a backbuffer for every control,
  11946. even when it wasn't flagged as double buffered. Instead use the
  11947. single graphics instance. This might have implications for
  11948. multithreaded applications. If we run into problems we can switch
  11949. to creating 1 Graphics per control, on the static Hwnd bitmap.
  11950. this change nets us a 7M savings in private dirty mappings when
  11951. running FormsTest.exe.
  11952. 2006-12-06 Chris Toshok <[email protected]>
  11953. * ListView.cs: the BackgroundImage override is just to set
  11954. attributes. chain up to base.BackgroundImage.
  11955. * RichTextBox.cs: same.
  11956. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  11957. changes, so instead a handler for BackgroundImageChanged.
  11958. * Control.cs: make background_image private.
  11959. 2006-12-06 Chris Toshok <[email protected]>
  11960. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  11961. sure we even need this assignment, but roll with it for now.
  11962. * Control.cs: make the cursor field private.
  11963. 2006-12-06 Chris Toshok <[email protected]>
  11964. * Form.cs: we don't need to explicitly set ImeMode to
  11965. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  11966. behavior in the face of ImeMode.Inherit.
  11967. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  11968. change the ctor's assignment to use ImeMode instead of ime_mode.
  11969. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  11970. ImeModeInherit. Only check for the parent's imemode (and return
  11971. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  11972. This fixes the button unit test, which sets both ImeMode and
  11973. DefaultImeMode to ImeMode.Disable.
  11974. also make the ime_mode field private.
  11975. 2006-12-06 Chris Toshok <[email protected]>
  11976. * Control.cs: make control_style private.
  11977. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  11978. setting the styles to true, then setting them to false instead of
  11979. reverting to their previous values.
  11980. also, call SetStyle on the scrollbars instead of using
  11981. control_style directly.
  11982. 2006-12-06 Jonathan Pobst <[email protected]>
  11983. * FormCollection.cs: Implement. [2.0]
  11984. 2006-12-06 Chris Toshok <[email protected]>
  11985. * Control.cs: make tab_stop private.
  11986. * Label.cs: set TabStop, not tab_stop. reformat some event
  11987. add/remove methods to make them more compact.
  11988. 2006-12-06 Chris Toshok <[email protected]>
  11989. * RadioButton.cs: fix TabStop handling.
  11990. 2006-12-06 Chris Toshok <[email protected]>
  11991. * TextBox.cs: remove the explicit assignments to has_focus.
  11992. Control does that.
  11993. * ButtonBase.cs: remove the assignment to has_focus. Control will
  11994. manage that.
  11995. 2006-12-06 Chris Toshok <[email protected]>
  11996. * ButtonBase.cs: remove all uses of is_enabled from this code.
  11997. it's always true when any of the code containing the checks is
  11998. executed.
  11999. 2006-12-06 Chris Toshok <[email protected]>
  12000. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  12001. with different semantics (some are present in both 1.1 and 2.0
  12002. profiles) so that we match MS's behavior in our unit tests.
  12003. 2006-12-06 Jackson Harper <[email protected]>
  12004. * TextControl.cs: Make this operation undoable.
  12005. * TextBoxBase.cs: Factor the border width into the preferred
  12006. height.
  12007. - implement Modified as per the spec.
  12008. 2006-12-06 Chris Toshok <[email protected]>
  12009. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  12010. 2006-12-06 Chris Toshok <[email protected]>
  12011. * Control.cs: make right_to_left and context_menu fields private.
  12012. 2006-12-06 Chris Toshok <[email protected]>
  12013. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  12014. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  12015. Control.child_controls private. switch all uses over to
  12016. Control.Controls.
  12017. 2006-12-06 Chris Toshok <[email protected]>
  12018. * System.Windows.Forms/GroupBox.cs,
  12019. System.Windows.Forms/AccessibleObject.cs,
  12020. System.Windows.Forms/ErrorProvider.cs,
  12021. System.Windows.Forms/Control.cs,
  12022. System.Windows.Forms/UpDownBase.cs,
  12023. System.Windows.Forms/ScrollBar.cs,
  12024. System.Windows.Forms/DateTimePicker.cs,
  12025. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  12026. System.Windows.Forms/ToolTip.cs,
  12027. System.Windows.Forms/RadioButton.cs,
  12028. System.Windows.Forms/LinkLabel.cs,
  12029. System.Windows.Forms/Splitter.cs,
  12030. System.Windows.Forms/TextBoxBase.cs,
  12031. System.Windows.Forms/ToolStripTextBox.cs,
  12032. System.Windows.Forms/ContainerControl.cs,
  12033. System.Windows.Forms/ThemeWin32Classic.cs,
  12034. System.Windows.Forms/SizeGrip.cs,
  12035. System.Windows.Forms/ToolStripDropDown.cs,
  12036. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  12037. private. switch all uses over to Control.Parent.
  12038. 2006-12-06 Chris Toshok <[email protected]>
  12039. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  12040. Control does this before calling emitting these events.
  12041. * TabControl.cs: same.
  12042. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  12043. Control.client_rect.
  12044. * ButtonBase.cs: use the ClientSize property instead of the
  12045. client_size field.
  12046. * ScrollableControl.cs: same.
  12047. * Control.cs: another pass at making properties private. also,
  12048. move the initialization of tab_stop to the ctor.
  12049. 2006-12-05 Andreia Gaita <[email protected]>
  12050. * TabControl.cs: Let the selected index be set freely if the
  12051. control handle is not yet created.
  12052. 2006-12-05 Jonathan Pobst <[email protected]>
  12053. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  12054. internal until I can rewrite DefaultLayout.
  12055. * ToolStrip.cs: Fix build error and some general cleaning.
  12056. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  12057. Fix build errors caused by making some of Control's fields private.
  12058. 2006-12-05 Jackson Harper <[email protected]>
  12059. * TextControl.cs: Redo Insert a little so that it use IndexOf
  12060. instead of Split, this prevents it from messing up on things like
  12061. \n\n\n. Also more effecient since the split array doesn't need to
  12062. be created.
  12063. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  12064. multiline text differently, this is the first of many fixes that
  12065. will make multiline/non-multiline the same thing as far as the
  12066. TextBoxBase is concerned.
  12067. - Don't split the text and insert lines, this can lose some line
  12068. endings (like is the last line a soft or hard break). Instead use
  12069. the new Insert.
  12070. - Fix an off by one when combining all the lines in the Text
  12071. getter.
  12072. - Remove separate multiline handling from the Text getter/setter.
  12073. 2006-12-05 Chris Toshok <[email protected]>
  12074. * ButtonBase.cs: a few changes:
  12075. - don't reinitialize internal Control fields in the ctor when they
  12076. have the same values as Control sets them.
  12077. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  12078. this before calling those methods.
  12079. - we don't need to call Refresh for anything. use Invalidate
  12080. instead.
  12081. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  12082. calls Refresh in its OnEnabledChanged.
  12083. - several of the events we were registered for in the ctor to
  12084. redraw ourselves already include calls to Invalidate in the
  12085. property setters that raise the events. remove the extra
  12086. invalidation.
  12087. - reformat a switch statement that was 83274658 columns wide.
  12088. 2006-12-05 Mike Kestner <[email protected]>
  12089. * ComboBox.cs: fix a unit test regression from a TextBox
  12090. SelectionLength return of -1 when there's no selection.
  12091. 2006-12-05 Chris Toshok <[email protected]>
  12092. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  12093. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  12094. cleaning up some of the internal Control fields being used by
  12095. subclasses.
  12096. 2006-12-05 Mike Kestner <[email protected]>
  12097. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  12098. listbox after AddImplicit calls since it defaults to hidden. Add a
  12099. hack to preserve requested heights across DropDownStyle changes.
  12100. 2006-12-05 Jonathan Pobst <[email protected]>
  12101. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  12102. 2006-12-05 Chris Toshok <[email protected]>
  12103. * DataGridView.cs: fix compiler warnings.
  12104. * PrintControllerWithStatusDialog.cs: same.
  12105. * ToolBar.cs: same.
  12106. * FolderBrowserDialog.cs: same.
  12107. * Splitter.cs: same.
  12108. * DataGridViewComboBoxCell.cs: same.
  12109. * XplatUIWin32.cs: same.
  12110. * PictureBox.cs: same.
  12111. * Win32DnD.cs: same.
  12112. * PageSetupDialog.cs: same.
  12113. * FileDialog.cs: same.
  12114. * PrintDialog.cs: same.
  12115. * DataGridTextBoxColumn.cs: same.
  12116. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  12117. 2006-12-05 Chris Toshok <[email protected]>
  12118. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  12119. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  12120. System.ComponentModel.EventHandlerList work.
  12121. 2006-12-05 Jonathan Chambers <[email protected]>
  12122. * DrawTreeNodeEventArgs.cs: Added.
  12123. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  12124. * InternalWindowManager.cs: Remove an unused field.
  12125. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  12126. * InternalWindowManager.cs:
  12127. - Save the point where the title bar is clicked.
  12128. * MdiWindowManager.cs:
  12129. - Only allow moving of the window as long as the
  12130. clicked point on the title bar does not get out of
  12131. MdiClient's rectangle. Fixes #79982.
  12132. * MdiClient.cs:
  12133. - Added Horizontal/VerticalScrollbarVisible.
  12134. - Simplified the scrollbar sizing algorithm.
  12135. - Cache the difference in scrolled value in
  12136. H/VBarValueChanged and move the calculation out
  12137. of the for loop.
  12138. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  12139. * Control.cs: Make the Console.WriteLine in WndProc
  12140. write more info.
  12141. 2006-12-05 Chris Toshok <[email protected]>
  12142. * ToolStripManager.cs, ToolStripButton.cs,
  12143. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  12144. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  12145. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  12146. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  12147. ToolStripProgressBar.cs, ToolStripContainer.cs,
  12148. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  12149. to using System.ComponentModel.EventHandlerList.
  12150. 2006-12-04 Chris Toshok <[email protected]>
  12151. * LinkLabel.cs: fix up compiler warnings.
  12152. * TableLayoutSettings.cs: same.
  12153. * TreeView.cs: same.
  12154. * ToolBar.cs: same.
  12155. * TabControl.cs: same.
  12156. * RichTextBox.cs: same.
  12157. * ListViewItem.cs: same.
  12158. * PropertyGrid.cs: same.
  12159. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  12160. * ToolTip.cs same.
  12161. * TextRenderer.cs: fix up compiler warnings.
  12162. * Label.cs: same.
  12163. * Form.cs: corcompare fixes.
  12164. * PictureBox.cs: fix up compiler warnings.
  12165. * ImageListStreamer.cs: same.
  12166. * TrackBar.cs: corcompare fix.
  12167. * Control.cs: fix up compiler warnings.
  12168. * SplitterPanel.cs: same.
  12169. * NumericTextBox.cs: same.
  12170. * ImageList.cs: same.
  12171. * StatusStrip.cs: same.
  12172. * ProgressBar.cs: corcompare fix.
  12173. * ToolStripButton.cs: fix up compiler warnings.
  12174. * ToolStripStatusLabel.cs: same.
  12175. * ToolStripSplitButton.cs: same.
  12176. * ToolStripSeparator.cs: same.
  12177. * ToolStripProgressBar.cs: same.
  12178. * ToolStripDropDownMenu.cs: same
  12179. * ToolStripDropDown.cs: same.
  12180. * ToolStripDropDownButton.cs: same.
  12181. * ToolStrip.cs: same.
  12182. * ToolStripControlHost.cs: same.
  12183. * ToolStripContentPanel.cs: same.
  12184. * ToolStripDropDown.cs: same.
  12185. * ToolStripContainer.cs: same.
  12186. * ToolStripPanel.cs: same, and add "new" where we need it to work
  12187. with the new ArrangedElementCollection.
  12188. * ToolStripItemCollection.cs: add "new" where we need it to work
  12189. with the new ArrangedElementCollection.
  12190. 2006-12-04 Andreia Gaita <[email protected]>
  12191. * TabControl.cs: Fix default tab selection to after TabControl
  12192. gets focus and not before. Fixes #80128
  12193. 2006-12-04 Chris Toshok <[email protected]>
  12194. * DataGridTableStyle.cs: remove the gross calling of
  12195. datagrid.Refresh from here. It's a broken idea and it doesn't
  12196. work anyway.
  12197. * DataGrid.cs: instead, just register/unregister from the
  12198. DataGridTableStyle events in CurrentTableStyle. we play it
  12199. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  12200. even though some would most likely not require it. Fixes bug
  12201. #80115 (and one portion of #80117 as a side effect).
  12202. 2006-12-04 Chris Toshok <[email protected]>
  12203. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  12204. so the textbox (if any) goes away. Fixes bug #80117.
  12205. 2006-12-04 Chris Toshok <[email protected]>
  12206. * DataGridColumnStyle.cs: set the column's readonly property
  12207. initially based on the property descriptor's IsReadOnly. Fixes
  12208. bug #80044.
  12209. 2006-12-04 Chris Toshok <[email protected]>
  12210. * ComboBox.cs: wrap the dropdown style changing work in
  12211. SuspendLayout/ResumeLayout. Fixes bug #79968.
  12212. 2006-12-04 Jackson Harper <[email protected]>
  12213. * TextBoxBase.cs: Fix off by one, since these are one-based.
  12214. * TextBox.cs: Select all the text when we get focus. The TextBox
  12215. does this but the RTB does not.
  12216. 2006-12-04 Chris Toshok <[email protected]>
  12217. * DataGridTextBoxColumn.cs: remove some spew.
  12218. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  12219. but some part of me is saying "it shouldn't be here.." At any
  12220. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  12221. setting the value.
  12222. 2006-12-04 Chris Toshok <[email protected]>
  12223. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  12224. to reassign the propertydescriptor.
  12225. 2006-12-04 Jackson Harper <[email protected]>
  12226. * TextBoxBase.cs:
  12227. * TextControl.cs: Remove some unused variables. Maybe this will
  12228. patch things up between mike and I.
  12229. - don't split lines less then one char wide, if the viewport is
  12230. that small text won't be visible anyways.
  12231. 2006-12-04 Jackson Harper <[email protected]>
  12232. * TextBoxBase.cs: Default selection length is -1, need to do some
  12233. more testing on windows to see when this is used for the property.
  12234. - Redid the Lines [] property to that we properly remove soft line
  12235. breaks
  12236. - added support for preserving carriage returns
  12237. - CanUndo is not a variable like 'is undo enabled' it just returns
  12238. true if there is undo operations available.
  12239. - AppendText doesn't need to grab the last tag itself anymore,
  12240. this happens automatically when we move the cursor.
  12241. * TextControl.cs: Add CompoundActions to the undo class. This
  12242. allows combining the other operations into one big option. ie a
  12243. paste will combine { delete old, insert new, move cursor }
  12244. - Add InsertString undo operation
  12245. - New method for deleting multiline text
  12246. - Add carriage returns to lines. So we can preserve carriage
  12247. returns when text is 'roundtripped'
  12248. 2006-12-04 Chris Toshok <[email protected]>
  12249. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  12250. minimum 0. Fixes the scrollbar exception in bug #80136.
  12251. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  12252. * MdiClient.cs:
  12253. * MdiWindowManager: Removed unused fields and methods.
  12254. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  12255. * StatusBar.cs: Update all panels when a AutoSize=Contents
  12256. panel needs updating.
  12257. * StatusBarPanel.cs: Remove twidth and only use initialize.
  12258. Fixes #80031.
  12259. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  12260. * Form.cs: When a form's MdiParent is set add it directly
  12261. on top of the z-order in stead of relying on MdiClient's
  12262. ActivateChild to do it. Fixes #80135.
  12263. * MdiClient.cs:
  12264. - Remove original_order, mdi_child_list is already doing
  12265. the same thing.
  12266. - Create mdi_child_list on construction in
  12267. stead of first use (avoids a few null checks).
  12268. * MenuItem.cs: Use an already existing list of mdi children
  12269. to get the correct order of children and remove the other
  12270. redundant list.
  12271. 2006-12-04 Chris Toshok <[email protected]>
  12272. * PropertyGridView.cs: cached_splitter_location is only used in
  12273. !DOUBLEBUFFER code.
  12274. * PropertyGrid.cs: implement the ComComponentNameChanged event
  12275. using Events, hoping that would fix the warning. Looks like a
  12276. compiler bug instead (#80144).
  12277. * PropertyManager.cs: remove unused method.
  12278. 2006-11-04 Everaldo Canuto <[email protected]>
  12279. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  12280. include parentesis to fix expression evaluation. Fixes #79634.
  12281. 2006-11-02 Everaldo Canuto <[email protected]>
  12282. * MenuAPI.cs:
  12283. - Changes to fix behavior in Menu control, some reported in #80097
  12284. and other detected during behavior refactory like a select event
  12285. problems.
  12286. - Remove unneded "if's" conditions.
  12287. - Created an internal to flag when popup is active in control, we need
  12288. it because in .NET you can have menu active but without popup active
  12289. when you active menu using popup without visible items.
  12290. - Mimic win32 behavior for Select and Popup events.
  12291. - Dont open popup menu when you dont have visible subitems.
  12292. - Do nothing when click on disabled menu item.
  12293. - Some small changes to follow the coding style guidelines.
  12294. - Unselect menu only when another control gives focus. Fixes #80097.
  12295. - Remove unused code.
  12296. * MenuItem.cs: internal VisibleItems method to check if menu
  12297. theres visible subitems, it will be usefull to fix some
  12298. behavior in Menu control.
  12299. 2006-11-01 Everaldo Canuto <[email protected]>
  12300. * Timer.cs: Tag property for 2.0 profile.
  12301. 2006-12-01 Chris Toshok <[email protected]>
  12302. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  12303. * Win32DnD.cs: comment out some unused fields.
  12304. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  12305. some unused properties/methods.
  12306. * XplatUIX11.cs: fix MousePosition so we override the base class's
  12307. property instead of conflicting with it.
  12308. * PictureBox.cs: comment out some unused fields
  12309. * OSXStructs.cs: make some struct fields public.
  12310. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  12311. MousePosition so we override the base class's property instead of
  12312. conflicting with it.
  12313. * X11Dnd.cs: comment out some unused fields
  12314. * X11DesktopColors.cs: fix some struct field visibility to quiet
  12315. the compiler.
  12316. * X11Dnd.cs: remove some debug code.
  12317. * ThemeClearlooks.cs: comment out unused field.
  12318. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  12319. * ThemeGtk.cs: comment out some unused pinvokes.
  12320. * Timer.cs: remove some unused fields.
  12321. * ThemeClearlooks.cs: comment out unused field.
  12322. * UpDownBase.cs: comment out unused field.
  12323. * DataObject.cs: comment out unused field.
  12324. * DataGridBoolColumn.cs: reomve unused field.
  12325. * DataGrid.cs: remove unused field.
  12326. * Cursor.cs: remove old ToBitmap code.
  12327. * ControlPaint.cs: remove unused method.
  12328. * ScrollBar.cs: remove unused fields.
  12329. * ComboBox.cs: remove unused field, and chain up to
  12330. AccessibleObject ctor.
  12331. * ListBox.cs: remove unused field.
  12332. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  12333. * GridEntry.cs: remove unused fields.
  12334. * Binding.cs: remove unused fields.
  12335. * AxHost.cs: remove unused method.
  12336. * ContainerControl.cs: remove unused field.
  12337. * ScrollableControl.cs: remove unused fields.
  12338. 2006-12-01 Chris Toshok <[email protected]>
  12339. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  12340. the Where/WhereString stuff. it's easy enough to CWL
  12341. Environment.StackTrace.
  12342. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  12343. unused private fields.
  12344. 2006-12-01 Jackson Harper <[email protected]>
  12345. * TextControl.cs: Do not update the view while inserting multiline
  12346. text. If we update the view we might wrap lines, before entering
  12347. the new lines, which causes the new line insertion calculations to
  12348. be totally fubared.
  12349. - Remove an old TODO
  12350. - Make debug output a little nicer
  12351. 2006-12-01 Chris Toshok <[email protected]>
  12352. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  12353. 2006-12-01 Chris Toshok <[email protected]>
  12354. [ fix the majority of the CS0108 warnings we've been suppressing ]
  12355. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  12356. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  12357. to "LayoutToolBar" to quiet mcs.
  12358. * TabControl.cs: mark our ControlCollection class as 'new'.
  12359. * TextBoxBase.cs: mark some events as 'new'.
  12360. * Splitter.cs: TabStop is 'new'.
  12361. * ControlBindingsCollection.cs: mark a few methods as new since
  12362. they change the visibility from protected to public.
  12363. * RadioButton.cs: DoubleClick -> base class, and remove unused
  12364. HaveDoubleClick.
  12365. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  12366. events as new.
  12367. * NumericUpDown.cs: TextChanged -> base class.
  12368. * CheckedListBox.cs: mark our ObjectCollection class as new to
  12369. quiet mcs.
  12370. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  12371. muck with the base class.
  12372. * StatusBar.cs: fix some mcs warnings about Update being the same
  12373. name as a base class method.
  12374. * RichTextBox.cs: mark some events as new, and make them do things
  12375. to the base class impl.
  12376. * UserControl.cs: mark TextChanged as new, and have it manipulate
  12377. base.TextChanged.
  12378. * UpDownBase.cs: mark some things new.
  12379. * CheckBox.cs: mark DoubleClick "new", and add some text about
  12380. what we need to look at.
  12381. * Panel.cs: make the events "new", and manipulate the base
  12382. version. these are just here for attributes.
  12383. * AccessibleObject.cs: make owner private.
  12384. * Control.cs: deal with AccessibleObject.owner being private.
  12385. cache our own copy if we need it.
  12386. * Button.cs: add "new" to the DoubleClickEvent.
  12387. * ListBox.cs: no need to track our own has_focus here. let
  12388. Control.has_focus do it for us. Also some other work to clear up
  12389. warnings about not overriding base class methods of the same name.
  12390. * ComboBox.cs: clear up some warnings about not override base
  12391. class methods of the same name.
  12392. 2006-12-01 Chris Toshok <[email protected]>
  12393. * Form.cs: flag a few things as "new" to quiet some of the mcs
  12394. warnings.
  12395. * AxHost.cs: same.
  12396. * PrintPreviewDialog.cs: same.
  12397. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  12398. now DGV isn't so horrible on the class status page. also, move
  12399. all events to using System.ComponentModel.EventHandlerList. my
  12400. wrists hurt.
  12401. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  12402. * MdiWindowManager.cs:
  12403. - Set form to active mdi child if shown,
  12404. and update the active mdi child to the next
  12405. remaining child in the z-order if the form is hidden.
  12406. * Form.cs:
  12407. - Track if the form has been visible and if its
  12408. visibility is beeing changed, so that the MdiClient
  12409. can properly decide the ActiveMdiChild. The MdiClient
  12410. cannot track this since the form can change visibility
  12411. before MdiClient is created.
  12412. * MdiClient.cs:
  12413. - Don't activate anything of the parent form is changing
  12414. its visibility.
  12415. - Rework ActiveMdiChild to only return visible mdi
  12416. children and take into account several other corner
  12417. cases.
  12418. 2006-12-01 Chris Toshok <[email protected]>
  12419. * IBindableComponent.cs: new 2.0 interface.
  12420. 2006-12-01 Gert Driesen <[email protected]>
  12421. * DataGrid.cs: Font for caption area is bold by default.
  12422. 2006-12-01 Everaldo Canuto <[email protected]>
  12423. * Menu.cs: Tag property for 2.0.
  12424. 2006-11-01 Everaldo Canuto <[email protected]>
  12425. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  12426. 2006-12-01 Chris Toshok <[email protected]>
  12427. * TreeView.cs: doh, the Begin* events should be
  12428. TreeViewCancelEventHandler.
  12429. 2006-12-01 Chris Toshok <[email protected]>
  12430. * Form.cs: Form.ControlCollection already stores off the
  12431. form_owner field. don't access the base class's internal "owner"
  12432. field.
  12433. * Control.cs: make all the fields in Control.ControlCollection
  12434. private. there's no need for any internal fields here.
  12435. 2006-12-01 Chris Toshok <[email protected]>
  12436. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  12437. OnHandleCreated. Fixes bug #80109.
  12438. 2006-12-01 Chris Toshok <[email protected]>
  12439. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  12440. SplitContainer.cs, Control.cs, StatusStrip.cs,
  12441. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  12442. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  12443. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  12444. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  12445. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  12446. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  12447. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  12448. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  12449. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  12450. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  12451. do most of the work to convert our code over to use
  12452. System.ComponentModel.Component.Events for
  12453. adding/removing/dispatching events.
  12454. 2006-11-30 Jonathan Pobst <[email protected]>
  12455. * DataGridView.cs: Fix an ArgumentNullException reported
  12456. twice today in IRC.
  12457. 2006-11-30 Mike Kestner <[email protected]>
  12458. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  12459. grabbed listbox. Fixes #80036 and #80101.
  12460. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  12461. * Message.cs: Changed ToString() to match MS.
  12462. 2006-11-30 Jackson Harper <[email protected]>
  12463. * TextBoxBase.cs: You can still change the selected text on a read
  12464. only textbox.
  12465. * TextControl.cs: Lower magic number for wrap calculations. This
  12466. lets text get closer to the right (far) edge.
  12467. 2006-11-30 Jonathan Pobst <[email protected]>
  12468. * Control.cs: Tweak 2.0 layout properties.
  12469. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  12470. * TextRenderer.cs: Add a new overload.
  12471. * ToolStrip*: Huge amount of changes and new features.
  12472. 2006-11-30 Mike Kestner <[email protected]>
  12473. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  12474. scroll range correct. Fixes #79994.
  12475. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  12476. * MdiWindowManager.cs: Update main form's text when
  12477. a form is closed. (fixes #80038)
  12478. 2006-11-30 Everaldo Canuto <[email protected]>
  12479. * ToolBar.cs:
  12480. - Fix an regression in ButtonSize.
  12481. - Get ImeMode default value change to "Disable".
  12482. - Get ShowTooltips default value change to true, default value is
  12483. "false" but after make a test in .NET we get "true" result as default.
  12484. 2006-11-29 Jonathan Pobst <[email protected]>
  12485. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  12486. 2006-11-29 Chris Toshok <[email protected]>
  12487. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  12488. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  12489. SetWindowTransparency hasn't been called.
  12490. 2006-11-29 Chris Toshok <[email protected]>
  12491. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  12492. if it's supported.
  12493. (set_AllowTransparency): reorder things a little so that the
  12494. WS_EX_LAYERED style is removed properly.
  12495. 2006-11-29 Chris Toshok <[email protected]>
  12496. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  12497. * Form.cs: only call the XplatUI transparency method (get/set) if
  12498. SupportsTransparency says it's supported. Otherwise fallback to
  12499. doing nothing (in the set case) or returning the instance field we
  12500. cache (in the get case).
  12501. * XplatUIStructs.cs: add TransparencySupport flag enum.
  12502. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  12503. change to SupportsTransparency.
  12504. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  12505. TransparencySupport.None from SupportsTransparency.
  12506. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  12507. TransparencySupport.Set from SupportsTransparency.
  12508. * XplatUIWin32.cs: implement GetWindowTransparency calling
  12509. GetLayeredWindowAttributes, and implement SupportsTransparency by
  12510. checking whether or not both
  12511. GetWindowTransparency/SetWindowTransparency are available
  12512. entrypoints. We need to do this since SetWindowTransparency is
  12513. available as of win2k, but GetWindowTransparency requires winxp.
  12514. yay win32 api.
  12515. * XplatUI.cs: Add GetWindowTransparency, and change
  12516. SupportsTransparency to allow for either/both Get/Set.
  12517. 2006-11-29 Chris Toshok <[email protected]>
  12518. * DataGrid.cs: keep from going into an infinite loop redrawing a
  12519. datagrid that has no datasource. Fixes bug #80033.
  12520. 2006-11-29 Chris Toshok <[email protected]>
  12521. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  12522. Invalidate) before the mainmenu has been assigned to a control.
  12523. 2006-11-29 Chris Toshok <[email protected]>
  12524. * DataGrid.cs: detect when we should be double the double click
  12525. row/column autosize stuff, although that codepath has yet to be
  12526. written. part of the work for bug #79891.
  12527. 2006-11-29 Chris Toshok <[email protected]>
  12528. * Binding.cs (SetControl): fix unit test.
  12529. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  12530. * PageSetupDialog.cs: Validate the margins and set them in
  12531. PageSettings.
  12532. * NumericTextBox.cs: New class to mimic the behavior of the
  12533. textboxes used in the printing dialogs.
  12534. 2006-11-29 Andreia Gaita <[email protected]>
  12535. * Form.cs: Revert previous change (remove call UpdateBounds
  12536. from form constructor), because it messes with the handle creation
  12537. order, and that one needs lots and lots of love.
  12538. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  12539. for valid printer and throw InvalidPrinterException if document
  12540. is set but printer not valid), adding a MonoTODO. Once
  12541. handle creation is done properly, we can put this back in.
  12542. 2006-11-28 Everaldo Canuto <[email protected]>
  12543. * MenuItem.cs: Create a invalidate method for menu item, to be
  12544. calling from set text, it make text changes to imadiate update
  12545. on screen. Fixes #80013.
  12546. 2006-11-28 Everaldo Canuto <[email protected]>
  12547. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  12548. fixes bug #80070 and some other problem on toolbar buttons
  12549. layout.
  12550. 2006-11-28 Everaldo Canuto <[email protected]>
  12551. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  12552. with dotted brush. Fixes #79564
  12553. 2006-11-28 Andreia Gaita <[email protected]>
  12554. * Form.cs: Removed call to UpdateBounds on Form
  12555. constructor, it was causing a call to CreateHandle
  12556. before it was supposed to.
  12557. * PrintControllerWithStatusDialog: Applied patch
  12558. by Chris Toshok to hide controller when there are
  12559. no printers available.
  12560. PrintDialog.cs: initialize printer settings to
  12561. null - correct DefaultValues test #5
  12562. * PrintPreviewControl.cs: Move PrintController
  12563. initialization to GeneratePreview
  12564. * PrintPreviewDialog.cs:
  12565. - Remove Preview generation from Document_set(). It is
  12566. called on OnPaint
  12567. - Throw InvalidPrinterException on CreateHandle if
  12568. a Document is set but there are no printers or
  12569. printer is not valid.
  12570. * ThemeWin32Classic: don't paint PrintPreviewControl
  12571. if there is nothing to paint
  12572. 2006-11-28 Miguel de Icaza <[email protected]>
  12573. * Form.cs: Add another popular method.
  12574. * TabPage.cs: ditto.
  12575. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12576. * MenuItem.cs: Fixed a warning.
  12577. * InternalWindowManager: Fixed a warning.
  12578. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12579. * MenuItem.cs:
  12580. - When cloning a menu also clone MdiList and clone the
  12581. window menu items properly (as the forms and menuitems
  12582. are kept in an internal hashtable, these need updating
  12583. as well)
  12584. - Rewrote the window menu code, menu items are added in the
  12585. order the forms were added to their parent, and they are
  12586. updated every time the window menu is shown (before the
  12587. list was only generated once, in the current order of the
  12588. forms, and would never be updated). A checkmark is shown
  12589. next to the item corresponding to the active mdi child.
  12590. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12591. * XplatUIStructs.cs:
  12592. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  12593. * XplatUIWin32.cs:
  12594. - Added TME_NONCLIENT to TMEFlags.
  12595. - Handles WM_NCMOUSEMOVE in GetMessage to
  12596. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  12597. * MdiWindowManager:
  12598. - Now merges mdi child menu to parent menu when maximized.
  12599. - Recalculate NC areas of both mdi child and mdi parent.
  12600. Fixes #79757 (4).
  12601. on window state and size changes.Fixes #79844 (3).
  12602. - Handle WM_NCCALCSIZE to properly calculate borders.
  12603. * Form.cs:
  12604. - Add/remove to the mdi containers list of mdi children
  12605. in the order they are added.
  12606. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  12607. to the maximized mdi child.
  12608. * InternalWindowManager.cs:
  12609. - Only execute a click on the control buttons on the mouse up,
  12610. not on the mouse down. Show the state of the button
  12611. (was only showing Normal state, never Pressed state). The
  12612. pressed button now follows the mouse (if you click the Close
  12613. button and move the mouse over the Maximize button, the
  12614. Maximize button will be shown as pressed). Since Win32 does
  12615. not generate WM_NCLBUTTONUP if you release the button outside
  12616. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  12617. it as a mouse up.
  12618. * ThemeWin32Classic.cs:
  12619. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  12620. * MdiClient.cs:
  12621. - Added a list of forms which contains the order the forms are
  12622. added to the mdi parent.
  12623. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  12624. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  12625. - If the active form changes set the scrollbars to the top
  12626. of the Z order, otherwise the form could hide them.
  12627. - Scrollbars are now sized according to ClientSize, not
  12628. to Size, and they take into account the other scrollbar
  12629. to determine maximum.
  12630. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  12631. * XplatUI.cs:
  12632. * XplatUIDriver.cs:
  12633. * XplatUIX11.cs:
  12634. * XplatUIWin32.cs:
  12635. * XplatUIOSX.cs:
  12636. - Added RequestAdditionalWM_NCMessages for windows to
  12637. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  12638. Currently only implemented in XplatUIWin32.
  12639. 2006-11-27 Chris Toshok <[email protected]>
  12640. * Hwnd.cs: only add the hwnd to the windows hash in
  12641. set_WholeWindow and set_ClientWindow if whole_window/client_window
  12642. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  12643. 2006-11-27 Mike Kestner <[email protected]>
  12644. * ComboBox.cs: remove redundant OnDropDown call. It is called
  12645. from the ComboListBox.ShowWindow code. Fixes #79969.
  12646. 2006-11-27 Chris Toshok <[email protected]>
  12647. * Hwnd.cs: remove the setters for ExposePending and
  12648. NCExposePending - noone uses them.
  12649. 2006-11-27 Jackson Harper <[email protected]>
  12650. * TextControl.cs: new param for ReplaceSelection which determines
  12651. whether we select the new selection, or set the cursor to the end
  12652. of the new selection.
  12653. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  12654. pasting, select the new text.
  12655. * RichTextBox.cs: Use new param for ReplaceSelection.
  12656. 2006-11-27 Jackson Harper <[email protected]>
  12657. * TextBoxBase.cs: Set the selection to the caret after the caret
  12658. is moved, otherwise they get out of sync.
  12659. 2006-11-26 Everaldo Canuto <[email protected]>
  12660. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  12661. it fixes #80015
  12662. 2006-11-26 Everaldo Canuto <[email protected]>
  12663. * ThemeWin32Classic.cs:
  12664. - Fix toolbar drop down arrow position.
  12665. - Fix drop down appearance when ToolBar.Appearance is normal,
  12666. it fixes #80018.
  12667. 2006-11-26 Gert Driesen <[email protected]>
  12668. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  12669. * Control.cs: Same.
  12670. * UpDownBase.cs: Same.
  12671. * ButtonBase.cs: Same.
  12672. * ScrollBar.cs: Same.
  12673. * TrackBar.cs: Same.
  12674. * PictureBox.cs: Same.
  12675. * UserControl.cs: Same.
  12676. * Label.cs: Same.
  12677. * ListControl.cs: Same.
  12678. * TextBoxBase.cs: Same.
  12679. * ListView.cs: Same.
  12680. * RichTextBox.cs: Same.
  12681. * TreeView.cs: Same.
  12682. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  12683. * PrintDialog.cs:
  12684. - Text label for where
  12685. - Text label comment was not shown
  12686. 2006-11-23 Everaldo Canuto <[email protected]>
  12687. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  12688. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  12689. * InternalWindowManager.cs:
  12690. - Handle WM_PARENTNOTIFY to activate the form
  12691. if any child control is clicked.
  12692. - The form is only sizable if not minimized.
  12693. * MdiWindowManager.cs:
  12694. - Save the IconicBounds if the form is moved.
  12695. - Rework SetWindowState, now the window bounds
  12696. are stored only if the old window state is Normal.
  12697. * MdiClient.cs:
  12698. - In SetWindowStates store the old window state if
  12699. the window is maximized and restore window state if
  12700. the window looses focus.
  12701. - Don't handle any scrollbar value changes if
  12702. initializing the scroll bars. Fixes #79771.
  12703. - Reworked ArrangeIconicWindows. Current algorithm
  12704. tests bounds agains all other minimized windows, if
  12705. any intersections create new bounds (going left to
  12706. right, bottom to top) and then test again. When
  12707. successful the bounds are saved and never computed
  12708. again. Fixes #79774.
  12709. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  12710. * InternalWindowManager.cs: Added HandleTitleBarUp.
  12711. 2006-11-23 Gert Driesen <[email protected]>
  12712. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  12713. hexadecimal in ParseUserEdit.
  12714. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  12715. * MdiWindowManager.cs:
  12716. - Handle a click on the form's icon to show the
  12717. system menu (when maximized). Fixes #79775.
  12718. - Change the existing click handler for the form's
  12719. icon when not maximized to show on MouseUp.
  12720. Fixes #79776.
  12721. * Form.cs: In OnResize only layout the mdi child's
  12722. parent if it actually has a parent. Might not if
  12723. the window is closing.
  12724. 2006-11-23 Gert Driesen <[email protected]>
  12725. * MdiClient.cs: Ignore active MDI client for text of parent, if
  12726. child has no text set.
  12727. 2006-11-23 Gert Driesen <[email protected]>
  12728. * ToolBar.cs: Fixed ToString to match MS.
  12729. 2006-11-22 Andreia Gaita <[email protected]>
  12730. * NumericUpDown:
  12731. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  12732. update inner values on set. Fixes #79966.
  12733. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  12734. - Fix hexadecimal parsing.
  12735. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  12736. parent. Fixes #79957
  12737. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  12738. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  12739. the actual size has to be queried, since if height /
  12740. width is negative Win32 changes it to 0.
  12741. Fixes #79999 on Windows.
  12742. * XplatUIX11.cs: Set height / width to 0 if negative
  12743. in SetWindowPos. Fixes #79999 on Linux.
  12744. 2006-11-22 Everaldo Canuto <[email protected]>
  12745. * ThemeWin32Classic.cs: Fix text redenring when button is
  12746. pressed.
  12747. 2006-11-22 Everaldo Canuto <[email protected]>
  12748. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  12749. and later navigate by mouse. Fixes #79528.
  12750. 2006-11-21 Everaldo Canuto <[email protected]>
  12751. * ToolBar.cs: Set default value for TabStop to false in
  12752. constructor, it fixes remaining behavior of bug #79863.
  12753. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  12754. * MdiWindowManager.cs:
  12755. * InternalWindowManager.cs:
  12756. - Moved a few methods specific to Mdi from
  12757. InternalWindowManager to MdiWindowManager.
  12758. Fixes #79996.
  12759. 2006-11-21 Chris Toshok <[email protected]>
  12760. * XplatUIOSX.cs: stub out InvalidateNC.
  12761. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  12762. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  12763. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  12764. * XplatUIDriver.cs: add InvalidateNC abstract method.
  12765. * XplatUI.cs: add InvalidateNC.
  12766. 2006-11-21 Everaldo Canuto <[email protected]>
  12767. * ToolBar.cs: Invalidate complete button area when pressed status
  12768. was changed.
  12769. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  12770. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  12771. by 1 when button is pressed.
  12772. 2006-11-20 Everaldo Canuto <[email protected]>
  12773. * ToolButton.cs: Invalidate middle of DropDown button when
  12774. ToolBar theres DropDownArrows.
  12775. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  12776. fix DropDown drawing operations.
  12777. 2006-11-20 Chris Toshok <[email protected]>
  12778. * NativeWindow.cs: fix the formatting of functions ('{' on the
  12779. following line), and enable the thread exception dialog.
  12780. * Application.cs: remove the duplicate exception catching from
  12781. here.
  12782. 2006-11-20 Everaldo Canuto <[email protected]>
  12783. * Toolbar.cs: Triggers button click event when click on icon
  12784. of dropdown ToolBarButton. Fixes #79912.
  12785. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  12786. * Theme.cs:
  12787. * ThemeWin32Classic.cs:
  12788. - Added a property WindowBorderFont to enable themeing
  12789. of mdi child windows' Text.
  12790. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  12791. * InternalWindowManager.cs:
  12792. * Form.cs:
  12793. * MdiClient.cs:
  12794. * MdiWindowManager.cs:
  12795. - If mdi child is maximized, set mdi parent's
  12796. text to "Parent - [Child]". Fixes #79770.
  12797. - If there is any maximized mdi child windows, only the active
  12798. window (and any new windows) is maximized, the rest are normal.
  12799. - On a WindowState change only save mdi child's window bounds
  12800. if the old window state was normal. Fixes #79774.
  12801. - The scroll bars are now calculated on hopefully all
  12802. necessary events. Fixed #79771 / #79844->6 / #79906.
  12803. - MdiClient.SizeScrollBars() now takes into account docked
  12804. controls in the parent when calculating available space.
  12805. - InternalWindowManager now always repaints the entire title
  12806. area. Fixes #79844->1/4/5.
  12807. - Added RequestNCRecalc on mdi child windowstate changes.
  12808. Fixes #79772.
  12809. 2006-11-20 Mike Kestner <[email protected]>
  12810. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  12811. in the MouseUp handler of the listbox and move the return handling
  12812. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  12813. 2006-11-20 Everaldo Canuto <[email protected]>
  12814. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  12815. 2006-11-17 Alexander Olk <[email protected]>
  12816. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  12817. working in 1.2.x anymore. So, updated.
  12818. 2006-11-19 Gert Driesen <[email protected]>
  12819. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  12820. NumberGroupSeparator of current culture instead of assuming en-US.
  12821. Fixed bug #79967.
  12822. 2006-11-17 Mike Kestner <[email protected]>
  12823. * Control.cs: Add the concept of implicit bounds setting so that
  12824. dock/undock round trips preserve explicitly set size/locations.
  12825. Fixes #79313.
  12826. 2006-11-17 Alexander Olk <[email protected]>
  12827. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  12828. can't handle those filters. (Fixes bug #79961)
  12829. 2006-11-17 Chris Toshok <[email protected]>
  12830. [ fixes the exit/crashes associated with #79835. it's clearly
  12831. suboptimal though, we need to figure out a better way to solve
  12832. this. ]
  12833. * PrintPreviewControl.cs: deal with the new invalid printer
  12834. exceptions.
  12835. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  12836. and return false (so CommonDialog.ShowDialog doesn't actually show
  12837. the form.)
  12838. * PrintDialog.cs: enable/disable the Ok button depending on
  12839. whether or not the printer is valid.
  12840. * CommonDialog.cs (ShowDialog): only actually show the form if
  12841. RunDialog returns true.
  12842. 2006-11-17 Jackson Harper <[email protected]>
  12843. * TextControl.cs: When soft splitting a line, mark it as a soft
  12844. split line. Also carry over the current line break to the next
  12845. line.
  12846. 2006-11-17 Chris Toshok <[email protected]>
  12847. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  12848. only want to shift the part of the invalid area that overlaps the
  12849. area we're scrolling. we also don't want to clear the invalid
  12850. area unless the invalid area was entirely contained within the
  12851. scrolling area.
  12852. 2006-11-16 Chris Toshok <[email protected]>
  12853. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  12854. also make sure to free the memory returned by XGetWindowProperty
  12855. in GetText().
  12856. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  12857. 2006-11-16 Chris Toshok <[email protected]>
  12858. * XplatUI.cs: add a new super secret way to get at the totally
  12859. unsupported X11 backend.
  12860. 2006-11-16 Gert Driesen <[email protected]>
  12861. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  12862. 2006-11-16 Jackson Harper <[email protected]>
  12863. * TreeView.cs: Allow more explicit setting of top node position
  12864. for scrollbars. Slower algo, but more accurate.
  12865. - CollapseAll should maintain the current top node.
  12866. * TextBoxBase.cs: When positioning the caret, use the line, pos
  12867. method, since the x, y method does not grab the correct tag, and
  12868. the caret height never gets set correctly. (Maybe I should just do
  12869. away with the caret having its own height, and always use the
  12870. carets current tag for height).
  12871. 2006-11-16 Jonathan Pobst <[email protected]
  12872. [Fixes 79778, 79923]
  12873. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  12874. Parent to the FosterParent instead.
  12875. 2006-11-16 Jackson Harper <[email protected]>
  12876. * TreeView.cs: Need to recalc the topnode when we expand or
  12877. collapse. The scrolling methods can't handle this on their own,
  12878. since they use differences between the last scroll position, and
  12879. those difference get completely messed up since we are expanding
  12880. nodes. This problem should probably be fixed in the scrolling
  12881. methods, so they can figure out exactly where they are, but this
  12882. will slow things down a little.
  12883. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  12884. strings, makes nunit-gui look a lot nicer.
  12885. 2006-11-16 Chris Toshok <[email protected]>
  12886. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  12887. the broken multithreaded event handling we have in here. File
  12888. this entry under "Why we should move to the new X11 backend".
  12889. Any thread can make it into UpdateMessageQueue, which gets events
  12890. from the X socket - some of which could belong to hwnds being
  12891. managed by a different thread. We can also have multiple threads
  12892. in UpdateMessageQueue at the same time, with each one reading from
  12893. the X socket. This leads to many problems, with the following
  12894. solutions:
  12895. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  12896. EnqueueLocked.
  12897. The MotionNotify compression we do can't work across threads
  12898. (without locking the entire queue, perhaps) since we call
  12899. hwnd.Queue.Peek, so we just punt and don't compress motion events
  12900. unless the owning thread is the one which got the X event.
  12901. ConfigureNotify is another fun one, since it modifies the hwnd's
  12902. bounds and then enqueues the event. We add a lock to Hwnd which
  12903. is held when setting configure_pending to true (and enqueuing the
  12904. event).
  12905. There is a race wrt the wake socket. we need to make sure that
  12906. only 1 thread is waiting on that socket, or else a thread could
  12907. sleep waiting for data that never comes. It's difficult (but not
  12908. impossible) to make happen, because it seems to require something
  12909. like the following:
  12910. 1. Thread 1 polls on wake_receive
  12911. 2. poll returns saying there's data to be read on
  12912. wake_receive.
  12913. 3. Thread 2 polls on wake_receive and immediately returns
  12914. saying there's data to be read.
  12915. 4. Thread 2 reads the wakeup byte from wake_receive
  12916. 5. Thread 1 attempts to read the wakeup byte from
  12917. wake_receive.
  12918. 6. Thread 2 exits (due to a form closing, perhaps).
  12919. 7. Thread 1 blocks forever.
  12920. Fun, eh?
  12921. Fixing the Expose handling isn't done yet, and the races inherent
  12922. in that piece of code are responsible for the drawing mistakes you
  12923. see when generating expose events in a MT app (like NPlot). This
  12924. one is the likely to be the hardest to bandaid, and it doesn't
  12925. appear to cause anything but drawing problems. The other issues
  12926. caused apps to exit or hang.
  12927. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  12928. called from a different thread than the one that should be calling
  12929. these functions.
  12930. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  12931. 2006-11-15 Chris Toshok <[email protected]>
  12932. * Application.cs: null out the context's MainForm when we exit
  12933. RunLoop. Fixes a newly checked in unit test as well as the last
  12934. ODE from bug #79933.
  12935. 2006-11-15 Chris Toshok <[email protected]>
  12936. * Form.cs (set_Owner): allow a null value so we can clear the
  12937. form's owner.
  12938. (Dispose): set all our owned_form's Owner properties to null, and
  12939. clear the owned_forms collection.
  12940. (WM_CLOSE): clean up this a little bit.. still not right though.
  12941. * ApplicationContext.cs: OnMainFormClosed should only call
  12942. ExitThreadCore if the main form isn't recreating. Fixes unit
  12943. test.
  12944. 2006-11-15 Jonathan Pobst <[email protected]>
  12945. [Fixes 78346]
  12946. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  12947. 2006-11-15 Jonathan Pobst <[email protected]>
  12948. [Fixes 79433]
  12949. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  12950. keep popup window types from stealing focus from the main form
  12951. on Windows.
  12952. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  12953. * MenuAPI.cs: Set above flag to true.
  12954. 2006-11-15 Chris Toshok <[email protected]>
  12955. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  12956. the button being released is not in wParam.
  12957. 2006-11-15 Jonathan Pobst <[email protected]>
  12958. * Form.cs: Add the released button to MouseEventArgs.Button
  12959. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  12960. on Win32.
  12961. 2006-11-15 Chris Toshok <[email protected]>
  12962. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  12963. GetText(). untested because it's unused in our implementation.
  12964. Control.Text always caches the text, even if
  12965. ControlStyles.CacheText is not set.
  12966. fixes bug #79939.
  12967. 2006-11-15 Chris Toshok <[email protected]>
  12968. [ fixes #79933 ]
  12969. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  12970. message. no hiding, no disposing.
  12971. in the WM_CLOSE handler, hide the form if it's modal.
  12972. 2006-11-15 Chris Toshok <[email protected]>
  12973. * XplatUIX11.cs: use AddExpose instead of sending a message.
  12974. fixes textbox border drawing.
  12975. 2006-11-15 Chris Toshok <[email protected]>
  12976. * PropertyGridView.cs: keep from crashing on mouse move/down when
  12977. the property grid is empty.
  12978. 2006-11-14 Jackson Harper <[email protected]>
  12979. * TextControl.cs: Make PageUp and PageDown more like the MS
  12980. versions.
  12981. * TextBoxBase.cs: When we set the text property position the
  12982. cursor at the beginning of the document.
  12983. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  12984. * Form.cs: if a mdi child's WindowState has changed
  12985. before it's creation, it would display wrong control
  12986. buttons.
  12987. 2006-11-14 Alexander Olk <[email protected]>
  12988. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  12989. (Fixes bug #79927)
  12990. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  12991. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  12992. the window gets to paint its borders even if the window is
  12993. getting smaller.
  12994. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  12995. otherwise the old control buttons would still be painted
  12996. if the window gets bigger.
  12997. * PaintEventArgs.cs: add an internal method so that the clip
  12998. rectangle can be changed.
  12999. 2006-11-13 Chris Toshok <[email protected]>
  13000. [ fixes bug #79745 ]
  13001. * NotifyIcon.cs: lots of cleanup.
  13002. * X11Structs.cs: add an enum for XEMBED messages.
  13003. * XplatUIX11.cs: reindent one of the giant switch statements, it
  13004. was taking up an additional tab stop, and this file is already way
  13005. too wide for my laptop's screen.
  13006. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  13007. we get it, resize the hwnd to the WMNormalHints max_width/height.
  13008. 2006-11-13 Jackson Harper <[email protected]>
  13009. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  13010. teh simple way.
  13011. 2006-11-13 Chris Toshok <[email protected]>
  13012. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  13013. #79898. force a reference to the Region to stick around so the
  13014. unmanaged object isn't collected (rendering our handle in the MSG
  13015. stale).
  13016. 2006-11-13 Chris Toshok <[email protected]>
  13017. * XplatUIX11.cs: fix #79917 for window managers which support
  13018. using XStoreName on the raw utf8, and we need to convert to
  13019. COMPOUND_TEXT if it's non-latin1.
  13020. 2006-11-13 Chris Toshok <[email protected]>
  13021. * Form.cs (set_DialogResult): we need to set closing to false if
  13022. we're setting our result to None. fixes bug #79908.
  13023. 2006-11-13 Jackson Harper <[email protected]>
  13024. * TextControl.cs: When formatting text, compute the adjusted tag
  13025. lengths correctly, using FindTag for the end tag instead of trying
  13026. to figure it out outselves.
  13027. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  13028. the item, ItemHeight doesn't work, because trees with large
  13029. imagelists use those for their height
  13030. * TreeView.cs: ActualItemHeight factors in the image height
  13031. - compute left edge of checkboxes correctly
  13032. - when expanding/collapsing move the bottom down one pixel, so we
  13033. aren't moving part of the node
  13034. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  13035. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  13036. stack in PaintEventStart so that it won't get disposed by the gc
  13037. before reaching PaintEventEnd.
  13038. 2006-11-13 Jackson Harper <[email protected]>
  13039. * TextBoxBase.cs: Don't select the word if we are on a line with
  13040. no text.
  13041. - We don't need to position the caret on mouse up, since the mouse
  13042. move handler should be doing this
  13043. - When double clicking a blank line, the caret is advanced to the
  13044. next line.
  13045. 2006-11-13 Gert Driesen <[email protected]>
  13046. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  13047. 2006-11-12 Gert Driesen <[email protected]>
  13048. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  13049. Fixes part of bug #79910.
  13050. 2006-11-11 Alexander Olk <[email protected]>
  13051. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  13052. (bug #79903). Some minor string updates to match ms.
  13053. 2006-11-10 Alexander Olk <[email protected]>
  13054. * FileDialog.cs: Don't add an extension if the filename
  13055. already ends with that extension.
  13056. 2006-11-10 Jackson Harper <[email protected]>
  13057. * TreeView.cs: Use the currently highlighted node for the
  13058. BeforeSelect event.
  13059. * TextBoxBase.cs: There is no need to expand selection on
  13060. MouseMove.
  13061. - CanUndo means 'is there any undo operations', not 'is undo
  13062. allowed on this textcontrol. Fixed ClearUndo unit test.
  13063. 2006-11-10 Andreia Gaita <[email protected]>
  13064. * Button.cs: only perform click when button is Selectable (so as
  13065. not to activate default buttons when they're disabled)
  13066. * Control.cs: Rewrite of the SelectNextControl and related
  13067. methods. HandleClick now selects next control if the current one
  13068. is being disabled.
  13069. * Form.cs: OnActivated selects next active control only if Load
  13070. has already occurred. If Load hasn't run, there's no point in
  13071. selecting here, Load might change the state of controls.
  13072. * FocusTest.cs: Tests marked as working again for these fixes
  13073. 2006-11-10 Chris Toshok <[email protected]>
  13074. * XplatUIX11.cs: a couple of fixes.
  13075. - use XInternAtoms with almost all the atoms we need to register,
  13076. instead of many, many calls to XInternAtom. should help a bit on
  13077. startup time, at the expense of making the code look a little
  13078. worse.
  13079. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  13080. isn't reparented (which seems to be a clue that we're running fon
  13081. compiz) and they have an Owner form. This fixes the tool windows
  13082. in paint.net when running under compiz.
  13083. - when setting the opacity of a window, support both the case
  13084. where the window has been reparented and also when it hasn't been.
  13085. Since compiz/beryl doesn't seem to reparent windows, and these are
  13086. the only window managers which support translucency, I'm not sure
  13087. why we need the hwnd.reparented case at all.. but leave it in.
  13088. now we get translucent windows in paint.net under compiz/beryl.
  13089. 2006-11-10 Alexander Olk <[email protected]>
  13090. * FileDialog.cs: Always return the value for FilterIndex that
  13091. was set. Internally convert it to values that make sense.
  13092. 2006-11-10 Everaldo Canuto <[email protected]>
  13093. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  13094. 2006-11-10 Everaldo Canuto <[email protected]>
  13095. * Toolbar.cs: Change default value of DropDownArrows to true, the
  13096. signature still using false to make it compatible with MS but the
  13097. initial value is true. Fixes #79855.
  13098. 2006-11-10 Alexander Olk <[email protected]>
  13099. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  13100. only available on Linux.
  13101. 2006-11-09 Everaldo Canuto <[email protected]>
  13102. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  13103. reduce number of calls to redraw method during toolbar creation.
  13104. 2006-11-09 Mike Kestner <[email protected]>
  13105. * ListView.cs : raise SelectedIndexChanged when an item is selected
  13106. programmatically via the Item.Selected property. Gert's nice
  13107. ListViewSelectedIndexChanged test fixture now runs clean.
  13108. 2006-11-09 Mike Kestner <[email protected]>
  13109. * ListView.cs : raise SelectedIndexChanged when a selected item is
  13110. removed from the item collection using Remove or RemoveAt.
  13111. 2006-11-09 Mike Kestner <[email protected]>
  13112. * ListView.cs : raise SelectedIndexChanged once per selected item
  13113. for compat with MS. Fixes #79849+.
  13114. 2006-11-09 Chris Toshok <[email protected]>
  13115. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  13116. we need to (if we have any tab pages). Fixes unit test.
  13117. 2006-11-09 Chris Toshok <[email protected]>
  13118. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  13119. width is 0, not 3. Fixes a unit test.
  13120. 2006-11-09 Mike Kestner <[email protected]>
  13121. * ListView.cs : use Implicit scrollbars so that focus isn't
  13122. stolen from the listview when they are clicked. Fixes #79850.
  13123. 2006-11-09 Chris Toshok <[email protected]>
  13124. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  13125. have a root item. Fixes #79879.
  13126. 2006-11-09 Alexander Olk <[email protected]>
  13127. * FileDialog.cs:
  13128. - Fix ToString ()
  13129. - An ArgumentException is now thrown if a wrong filter
  13130. is applied (matches ms). The previous filter doesn't change
  13131. anymore if an exception is thrown.
  13132. - Changing the FileName property also affects FileNames
  13133. * ColorDialog.cs: The length of the CustomColors array is always
  13134. 16. It doesn't matter if we use a smaller array or null to update
  13135. or change the custom colors property.
  13136. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  13137. for RootFolder if we get a undefined value.
  13138. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  13139. * StatusBarPanel.cs:
  13140. - Width is set to MinWidth if Width is smaller than
  13141. MinWidth. Fixes #79842.
  13142. - MinWidth now always overrides Width (MSDN says MinWidth
  13143. is set to Width when AutoSize = None, but they do not
  13144. behave like that).
  13145. - Style has now the the correct default value.
  13146. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  13147. * TrackBar.cs:
  13148. - The control is completely invalidated on
  13149. Got/LostFocus to draw the focus rectangle correctly.
  13150. - When AutoSize then height is always 45 (width for
  13151. vertical controls).
  13152. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  13153. on the mouse when moved and it doesn't move when grabbed
  13154. until the mouse moves as well. Also fixed some wrong
  13155. calculations when clicking on the thumb (control thought
  13156. click was outside of thumb and didn't grab it).
  13157. Fixes some of the issues in #79718.
  13158. 2006-11-08 Everaldo Canuto <[email protected]>
  13159. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  13160. 2006-11-08 Chris Toshok <[email protected]>
  13161. * PropertyGridView.cs: only call ToggleValue if the item is not
  13162. readonly.
  13163. 2006-11-08 Jackson Harper <[email protected]>
  13164. * TextBoxBase.cs: The RichTextBox and textbox have very different
  13165. word selection methods. Implement the textbox's simple word
  13166. selection here, and let the RichTextBox override and provide it's
  13167. own.
  13168. - Don't do extra selection on mouseup
  13169. * RichTextBox.cs: Use the documents word selection algorithm, I
  13170. think ideally, this function will be pulled into the
  13171. RichTextBox.cs code someday.
  13172. 2006-11-08 Chris Toshok <[email protected]>
  13173. * RootGridEntry.cs: new class to represent GridItemType.Root.
  13174. * CategoryGridEntry.cs: reformat, and add boilerplate.
  13175. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  13176. returns the UI parent anyway, and we need special handling to
  13177. implement the GetTarget method in the face of it. Also, implement
  13178. Select().
  13179. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  13180. a root grid item, and use that instead of PropertyGrid.grid_items.
  13181. Also, make use of TypeConverters (and add limitted support for
  13182. ICustomTypeDescriptors) when initially populating the grid.
  13183. Arrays now show up more or less properly.
  13184. 2006-11-08 Chris Toshok <[email protected]>
  13185. * Application.cs: set the modal dialog to non modal after we close
  13186. it. Fixes bug #79866.
  13187. 2006-11-08 Jackson Harper <[email protected]>
  13188. * TextControl.cs: When combining lines carry over the line end
  13189. style from the end line.
  13190. - Invalidate the selected area when setting it, if it is visible.
  13191. * TextBoxBase.cs: Only rich text box can do full line selects.
  13192. - Make sure to set the cursor position when there is a click,
  13193. otherwise two clicks in separate areas could cause a large chunk
  13194. to be selected.
  13195. 2006-11-07 Everaldo Canuto <[email protected]>
  13196. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  13197. Fixes #79863.
  13198. 2006-11-07 Everaldo Canuto <[email protected]>
  13199. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  13200. time. Remove tooltips when ToolButton click events. Fixes #79856.
  13201. 2006-11-07 Everaldo Canuto <[email protected]>
  13202. * MenuAPI.cs: Ignore right click for menu actions and fixes
  13203. menu border when clicked. Fixes #79846.
  13204. 2006-11-07 Everaldo Canuto <[email protected]>
  13205. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  13206. MouseState after create wParam for message, this fixes mouse button
  13207. equal none in mouse up events.
  13208. 2006-11-07 Andreia Gaita <[email protected]>
  13209. * Control.cs : Focus() now calls Select to set the Container's
  13210. Active Control and to give it focus. To avoid infinite recursion
  13211. (because ActiveControl also calls Focus at one point), a check
  13212. is made in Focus with the help of a new internal variable
  13213. is_focusing.
  13214. 2006-11-07 Mike Kestner <[email protected]>
  13215. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  13216. if there's a selection. Fixes #79849.
  13217. 2006-11-07 Gert Driesen <[email protected]>
  13218. * PropertyGrid.cs: Avoid fixed height of help description label.
  13219. Fixes part of bug #79829.
  13220. 2006-11-07 Chris Toshok <[email protected]>
  13221. * XplatUIX11.cs: fix #79790 again, by using the
  13222. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  13223. 2006-11-07 Everaldo Canuto <[email protected]>
  13224. * ToolBar.cs: Fix left click checking.
  13225. 2006-11-07 Chris Toshok <[email protected]>
  13226. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  13227. 2006-11-07 Chris Toshok <[email protected]>
  13228. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  13229. PropertyManager unit tests.
  13230. * PropertyManager.cs: make property_name internal.
  13231. 2006-11-07 Chris Toshok <[email protected]>
  13232. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  13233. pass a unit test. Also, don't set image_index to anything in
  13234. response to setting the ImageList property.
  13235. 2006-11-07 Everaldo Canuto <[email protected]>
  13236. * ToolBar.cs: Ignore click events when mouse button is not a
  13237. left button, only accepts other button for dropdown menus.
  13238. Fixes #79854.
  13239. 2006-11-07 Chris Toshok <[email protected]>
  13240. * DataGrid.cs: make the back and parent row buttons a little less
  13241. ugly.
  13242. 2006-11-07 Jackson Harper <[email protected]>
  13243. * TextBoxBase.cs: When converting to Text don't put line breaks in
  13244. for soft line breaks.
  13245. * TextControl.cs: There is an initial "fake" line in the document,
  13246. this is now a soft break line, so that an extra line feed doesn't
  13247. get added to the end of documents.
  13248. 2006-11-07 Chris Toshok <[email protected]>
  13249. [ fix bug #79778 ]
  13250. * CurrencyManager.cs: if the list is readonly, don't bother
  13251. checking if IBindingList.AllowNew is true.
  13252. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  13253. for non-DataRowView datasources.. or rather, make it not crash.
  13254. (DataGridPaintRelationRow): make sure we limit the row painting to
  13255. the area not covered by the row header, and make our cell width at
  13256. least large enough to cover the relation area. This allows grids
  13257. that have relations but no rows to render correctly.
  13258. (DataGridPaintRowContents): same type of changes here.
  13259. (SetDataSource): move back to always calling
  13260. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  13261. navigating back through relations.
  13262. (HitTest): handle the case where we have no cells but have
  13263. relations. Right now we generate a hit in cell 0 of whatever the
  13264. row is, not sure if this is strictly correct, but it works for our
  13265. purposes.
  13266. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  13267. bother doing anything.
  13268. 2006-11-07 Jonathan Pobst <[email protected]>
  13269. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  13270. early version of StatusStrip. Not responsible for eaten
  13271. application or firstborn children.
  13272. 2006-11-06 Chris Toshok <[email protected]>
  13273. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  13274. call GetTabRect with a -1 index. Fixes #79847.
  13275. 2006-11-06 Jackson Harper <[email protected]>
  13276. * TreeNodeCollection.cs: Update scrollbars after clearing.
  13277. 2006-11-06 Chris Toshok <[email protected]>
  13278. * NumericUpDown.cs: fix the ToString method for some unit test
  13279. love.
  13280. 2006-11-06 Chris Toshok <[email protected]>
  13281. * PropertyGrid.cs:
  13282. - set the initial SelectedGridItem if we can.
  13283. - Exclude non-mergable properties only if we're merging > 1
  13284. object. Merging 1 object isn't really merging, obviously.
  13285. - Handle PropertySort.NoSort just like Alphabetical, which is
  13286. wrong of course, but at least gets things on the screen.
  13287. * PropertyGridView.cs:
  13288. - Add method "FindFirstItem" which finds the first property grid
  13289. item, so we can select it by default.
  13290. - make use of GridEntry.CanResetValue.
  13291. - Don't call RedrawBelowItemOnExpansion here anymore, the
  13292. individual GridEntry's will do that.
  13293. - Remove the ITypeDescriptorContextImpl internal class.
  13294. * GridEntry.cs:
  13295. - this class needs to implement ITypeDescriptorContext, as it's
  13296. what MS's PropertyDescriptorGridEntry does, which means we can
  13297. remove the ITypeDescriptorContextImpl internal class from
  13298. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  13299. - keep a reference to our PropertyGridView, and move the call to
  13300. RedrawBelowItemOnExpansion here from PGV. This means
  13301. programmaticly setting Expanded actually does something visible.
  13302. - add a CanResetValue() function which takes into account our
  13303. possibly multiple "selected_objects" in the merged case. Shifting
  13304. PropertyGridView to use this method fixes another unreported
  13305. crasher found running the test for #79829.
  13306. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  13307. is updated to reflect this.
  13308. * CategoryGridEntry.cs: the ctor takes the PGV now.
  13309. 2006-11-06 Jackson Harper <[email protected]>
  13310. * TextControl.cs: These are 1 based.
  13311. * TextBoxBase.cs: When setting the selected text, don't change the
  13312. selected text tags, this is done by ReplaceText, just position the
  13313. cursor at the end of the new text.
  13314. 2006-11-06 Alexander Olk <[email protected]>
  13315. * ListView.cs: Allow label edit only when, when LabelEdit is
  13316. set to true.
  13317. 2006-11-06 Jackson Harper <[email protected]>
  13318. * TextControl.cs: If a suitable wrapping position isn't found,
  13319. just wrap right in the middle of a word.
  13320. 2006-11-06 Alexander Olk <[email protected]>
  13321. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  13322. bug #79820.
  13323. 2006-11-06 Jackson Harper <[email protected]>
  13324. * TreeView.cs: Can't use the VisibleCount property when setting
  13325. scrollbar heights, because this doesn't take into account whether
  13326. or not the horz scrollbar just came visible.
  13327. 2006-11-05 Everaldo Canuto <[email protected]>
  13328. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  13329. activated. Fixes #79369, #79832.
  13330. 2006-11-05 Alexander Olk <[email protected]>
  13331. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  13332. had to remove support for links that point to a directory. FileInfo
  13333. returns no usefull information (means, the directory they point to)
  13334. for such links. Replaced some empty string ("") with String.Empty.
  13335. 2006-11-04 Gert Driesen <[email protected]>
  13336. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  13337. NullReferenceException when attempting to remove node that is not in
  13338. collection. Throw NullReferenceException when null is passed to
  13339. Remove. Allow first element of the collection to be removed. Fixes
  13340. bug #79831. In GetEnumerator ().Current return null if positioned
  13341. before the first element of the collection. In GetEnumerator ().Reset,
  13342. position before first element of the collection.
  13343. 2006-11-04 Gert Driesen <[email protected]>
  13344. * PropertyGrid.cs: To match MS, remove default title and description
  13345. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  13346. buttons.
  13347. 2006-11-04 Chris Toshok <[email protected]>
  13348. * Theme.cs: add a Clamp method, just for kicks.
  13349. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  13350. 2006-11-04 Chris Toshok <[email protected]>
  13351. * Form.cs: if the form isn't visible, Close() does nothing.
  13352. 2006-11-03 Chris Toshok <[email protected]>
  13353. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  13354. Hide it.
  13355. (WndProc): don't Dispose after handling the WM_CLOSE message.
  13356. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  13357. them as such, instead of using casts from Control to Form. Also,
  13358. don't Dispose of the modal dialog when we fall out of the loop -
  13359. Close() it instead.
  13360. fixes bug #79813.
  13361. 2006-11-03 Chris Toshok <[email protected]>
  13362. * Control.cs (Dispose): only go through the dispose thing if we're
  13363. @disposing, and we haven't already been disposed. Fixes bug
  13364. #79814.
  13365. * Form.cs: no reason to call "base.Dispose()" here instead of
  13366. "Dispose()".
  13367. 2006-11-03 Mike Kestner <[email protected]>
  13368. * ComboBox.cs : use ToString instead of casts in AddItem for
  13369. sorting functionality. Fixes #79812.
  13370. 2006-11-03 Chris Toshok <[email protected]>
  13371. * Application.cs: pave the way for actually using the thread
  13372. exception dialog. it's ifdefed out at the moment.
  13373. 2006-11-03 Chris Toshok <[email protected]>
  13374. * ThreadExceptionDialog.cs: until we get a better layout, actually
  13375. hide the details textbox and label when we shouldn't see them.
  13376. 2006-11-03 Jackson Harper <[email protected]>
  13377. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  13378. multiline textboxes anymore. This method also determines the
  13379. width/height of a textboxes canvas area.
  13380. - Sorta a revert of the last patch. For multiline just position
  13381. the controls, then bail. This way the scrollbar width won't be
  13382. altered.
  13383. 2006-11-03 Everaldo Canuto <[email protected]>
  13384. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  13385. it dont need. Fixes #79537.
  13386. 2006-11-02 Jackson Harper <[email protected]>
  13387. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  13388. send the status after firing the DndOver event.
  13389. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  13390. * TrackBar.cs: Now orientation only switches height / width if
  13391. the control's handle is created (Win32 does it like this). Also
  13392. fixed a typo in ToString() for a test to pass, changed the
  13393. exception thrown in set_LargeChange and set_SmallChange to
  13394. match Win32 behaviour, and added TrackBar tests to the unit
  13395. tests.
  13396. 2006-11-02 Chris Toshok <[email protected]>
  13397. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  13398. not _NET_WM_STATE_NO_TASKBAR.
  13399. 2006-11-02 Jackson Harper <[email protected]>
  13400. * TextControl.cs: Increment count by one, since in the update view
  13401. count - 1 is used.
  13402. 2006-11-02 Jackson Harper <[email protected]>
  13403. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  13404. the mouse is in the client rectangle (duh).
  13405. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  13406. * TrackBar.cs: Fixed trackbar jumping around when clicking
  13407. on it - the trackbar was not detecting correctly at which
  13408. side of the thumb the click was done. (fixes #79718)
  13409. 2006-11-02 Everaldo Canuto <[email protected]>
  13410. * ListBox.cs: scroll visible area when change SelectedIndex to
  13411. a non visible area. Fixes #79481.
  13412. 2006-11-01 Jackson Harper <[email protected]>
  13413. * TextControl.cs: When replacing the selection move the selection
  13414. start/end/anchor to the end of the new text.
  13415. 2006-11-01 Jackson Harper <[email protected]>
  13416. * XplatUIWin32.cs: When setting the parent change the controls
  13417. visibility to it's visibility flag, not to it's old parents
  13418. visibility (.Visible walks the parent chain).
  13419. 2006-11-01 Chris Toshok <[email protected]>
  13420. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  13421. XSetTransientForHint fix breaks paint .net's tool windows. more
  13422. work needed for that one.
  13423. 2006-11-01 Chris Toshok <[email protected]>
  13424. * ScrollBar.cs: throw ArgumentException instead of Exception in
  13425. LargeChange/SmallChange setters. fixes unit tests.
  13426. 2006-10-31 Andreia Gaita <[email protected]>
  13427. * ContainerControl.cs: reverted rev.67183 (which was itself
  13428. a reversion of rev.66853... eh).
  13429. * Control.cs: Fixes Reflector hang by changing Focus() call
  13430. to what it was before rev.66643 (calling Select() here sets
  13431. ActiveControl, which in some situations calls back Focus and
  13432. eventually does a stack overflow). Temp fix.
  13433. Changes to GetNextControl() to not look for children to select when
  13434. parent cannot be selectable (so it looks for siblings instead)
  13435. 2006-10-31 Mike Kestner <[email protected]>
  13436. * CheckedListBox.cs : off by one error in returned index from
  13437. ObjectCollection.Add. Fixes #79758.
  13438. 2006-10-31 Chris Toshok <[email protected]>
  13439. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  13440. calls for the textbox/spinner, to keep from recursing to the point
  13441. where we crash. Fixes #79760.
  13442. 2006-10-31 Chris Toshok <[email protected]>
  13443. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  13444. null/"" value, just return. matches ms's behavior and fixes some
  13445. failing tests.
  13446. 2006-10-31 Chris Toshok <[email protected]>
  13447. * Control.cs (set_Capture): make a logic a little easier to
  13448. follow.
  13449. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  13450. if it's being destroyed. A necessary fix surely, but a bandaid
  13451. also, to fix the stuck capture problem in bug #78413.
  13452. 2006-10-31 Chris Toshok <[email protected]>
  13453. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  13454. convention of clearing hwnd.ClientRect when we set the
  13455. width/height (so it'll be recalculated by Hwnd).
  13456. 2006-10-31 Andreia Gaita <[email protected]>
  13457. * ContainerControl.cs: reversed Contains check from
  13458. ActiveControl due to hanging problems. This fix
  13459. partly regresses #79667 (button does not have
  13460. initial focus), so this might be a symptom for
  13461. a larger parenting problem (set_ActiveControl
  13462. is being called but the child control does
  13463. not have the parent set yet?)
  13464. 2006-10-31 Mike Kestner <[email protected]>
  13465. * MenuAPI.cs : fix keynav when menu is click activated.
  13466. 2006-10-31 Jonathan Pobst <[email protected]>
  13467. * ToolStrip*: Version 0.2.
  13468. * MenuStrip.cs: Version 0.1.
  13469. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  13470. 2006-10-30 Chris Toshok <[email protected]>
  13471. [ fixes the oversized notify icon issue in bug #79745 ]
  13472. * NotifyIcon.cs: scale the icon down to the size we're given by
  13473. the XplatUI layer (this would be faster if we did it once instead
  13474. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  13475. since it's never invoked.
  13476. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  13477. pixels high by default, so let's hardcode our systray icon to that
  13478. size. The SYSTEM_TRAY protocol should really have a way for
  13479. client apps to query for the correct icon size.. but oh well. A
  13480. couple of patches to deal with the screwy client_window ==
  13481. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  13482. instance, and also make sure we don't XSelectInput twice).
  13483. 2006-10-30 Chris Toshok <[email protected]>
  13484. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  13485. recreating forms. Control recreation is the bane of my existence.
  13486. Fix it in a way that keeps everyone happy.
  13487. 2006-10-30 Chris Toshok <[email protected]>
  13488. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  13489. just non-CHILD ones. otherwise sometimes scrollbars end up with
  13490. client_windows not being resized to the proper size (ReportBuilder
  13491. shows this extremely well).
  13492. 2006-10-30 Chris Toshok <[email protected]>
  13493. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  13494. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  13495. showing up in the gnome taskbar. Fixes bug #79790.
  13496. 2006-10-30 Chris Toshok <[email protected]>
  13497. * ApplicationContext.cs: guard against a NRE.
  13498. * Application.cs: null out the old MainForm for the context, so we
  13499. don't try to use it again once it's disposed. Fixes bug #79783.
  13500. 2006-10-30 Chris Toshok <[email protected]>
  13501. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  13502. BindingContext, set the data source directly, otherwise do the
  13503. lazy approach - the actual ListManager will be created when we get
  13504. a BindingContext. Fixes bug #79700.
  13505. 2006-10-30 Jonathan Pobst <[email protected]>
  13506. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  13507. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  13508. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  13509. 2006-10-30 Jonathan Pobst <[email protected]>
  13510. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  13511. of SetVisible that allows a window to be shown, but not activated.
  13512. This is needed on Windows for MenuStrip, and can probably be used
  13513. with MainMenu and ComboBox to fix the focus stealing issues on
  13514. Windows.
  13515. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  13516. 2006-10-30 Alexander Olk <[email protected]>
  13517. * PictureBox.cs: Fix the output of the ToString method.
  13518. 2006-10-29 Chris Toshok <[email protected]>
  13519. * Control.cs (get_TopLevelControl): fix bug #79781.
  13520. 2006-10-29 Chris Toshok <[email protected]>
  13521. * ListControl.cs (set_DataSource): throw Exception here, not
  13522. ArgumentException, to match MS behavior.
  13523. 2006-10-29 Chris Toshok <[email protected]>
  13524. * Form.cs: remove the try-catch's around calls to GetWindowState.
  13525. We can just check the return value.
  13526. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  13527. Instead return -1.
  13528. * XplatUI.cs: Add note about additional return value for
  13529. GetWindowState.
  13530. 2006-10-29 Chris Toshok <[email protected]>
  13531. * Control.cs (CreateHandle): when we create our handle, we also
  13532. create the handles of our child controls. Fixes one of the
  13533. Control unit tests (CH11).
  13534. 2006-10-28 Alexander Olk <[email protected]>
  13535. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  13536. 2006-10-28 Alexander Olk <[email protected]>
  13537. * ThemeClearlooks.cs: A little speedup.
  13538. 2006-10-27 Chris Toshok <[email protected]>
  13539. * Control.cs: implement Control.FromChildHandle in a way that
  13540. matches the docs (and fixes the failed test.)
  13541. 2006-10-27 Chris Toshok <[email protected]>
  13542. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  13543. comments).
  13544. * DataGrid.cs: implement ResetForeColor such that the tests
  13545. succeed.
  13546. 2006-10-27 Chris Toshok <[email protected]>
  13547. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  13548. being set to "". Fixes bug #79759.
  13549. 2006-10-27 Jackson Harper <[email protected]>
  13550. * TextControl.cs: We need to clear the entire selection area when
  13551. setting the start, otherwise multiline selections are still
  13552. visible.
  13553. 2006-10-26 Chris Toshok <[email protected]>
  13554. * PropertyGridView.cs:
  13555. - ifdef all the code specific to the double
  13556. buffer case, and provide some alternatives in the non-doublebuffer
  13557. code, which makes heavy use of XplatUI.ScrollWindow to move things
  13558. around without having to invalidate (and cause flicker). There
  13559. are still some drawing problems in the non-doublebuffered case, so
  13560. DOUBLEBUFFER is defined by default.
  13561. - Fix the way dropdowns are handled. now we explicitly watch for
  13562. the events which might cause the dropdown to close, and break out
  13563. of the nested event loop there. This gets rid of all Capture
  13564. code, at the expense of the Msg special casing. Seems to work,
  13565. though, and fixes bug #79743.
  13566. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  13567. * Control.cs: SetIsRecreating now recreates implicitly added
  13568. child controls as well. Finally fixes #79629. The flag passed to
  13569. SetIsRecreating has also been removed since it wasn't used.
  13570. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  13571. * PageSetupDialog.cs: Clean some code, fix some bits,
  13572. add some checks, and add a printer sub-dialog.
  13573. 2006-10-26 Chris Toshok <[email protected]>
  13574. * PropertyGrid.cs: make set_SelectedObject call
  13575. set_SelectedObjects, and move the duplicate logic to the
  13576. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  13577. * PropertyGridView.cs: hide the textbox when we get a
  13578. SelectedObjectsChanged event.
  13579. Fixes bug #79748.
  13580. 2006-10-26 Chris Toshok <[email protected]>
  13581. * PropertyGridView.cs: deal with the type converter not supporting
  13582. GetStandardValues() or GetStandardValues() returning null, which
  13583. is does in the default case. Fixes #79742.
  13584. 2006-10-25 Andreia Gaita <[email protected]>
  13585. * CheckedListBox.cs: nunit no longer crashes when selecting
  13586. Project/Edit menu option
  13587. 2006-10-25 Andreia Gaita <[email protected]>
  13588. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  13589. is no menu selected. fixes #79739
  13590. 2006-10-25 Chris Toshok <[email protected]>
  13591. * PropertyGridView.cs: factor out the splitter invalidation code
  13592. into the SplitterPercent setter, and for kicks implement the
  13593. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  13594. amount in either direction.
  13595. 2006-10-25 Chris Toshok <[email protected]>
  13596. * PropertyGridView.cs: do some cleanup of the brush used to draw
  13597. text - read only fields should be grayed out. not sure how to do
  13598. this with the textbox, though. but the textbox's should also be
  13599. readonly now at least. Also, hide/show the textbox when resizing
  13600. the control.
  13601. * CursorConverter.cs: use System.Reflection when getting the
  13602. properties of Cursors, as TypeDescriptor.GetProperties isn't
  13603. returning static properties.
  13604. 2006-10-25 Chris Toshok <[email protected]>
  13605. * PropertyGridView.cs: factor out the up/down handling, and reuse
  13606. it for page up/down. also add End/Home support.
  13607. 2006-10-25 Chris Toshok <[email protected]>
  13608. * PropertyGridView.cs:
  13609. - ensure the selected grid item is visible in the scrolled area,
  13610. fixes bug #79572.
  13611. - fix Keys.Down handling when you're on the last item in the
  13612. propertygrid.
  13613. 2006-10-25 Mike Kestner <[email protected]>
  13614. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  13615. clicks too. Fixes #79725.
  13616. 2006-10-24 Chris Toshok <[email protected]>
  13617. * PropertyGrid.cs: use property.Converter instead of
  13618. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  13619. TypeConverters declared on the property as well as on the
  13620. PropertyType. Fixes bug #79678.
  13621. 2006-10-24 Alexander Olk <[email protected]>
  13622. * MimeIcon.cs, Mime.cs:
  13623. Fallback to the default platform handler if no shared mime info
  13624. stuff exists (fixes #79693).
  13625. 2006-10-20 Andreia Gaita <[email protected]>
  13626. * ContainerControl.cs: Incorrect contains check in ActiveControl
  13627. from previous fix (duh).
  13628. 2006-10-20 Chris Toshok <[email protected]>
  13629. * PropertyGridView.cs: the dropdown should be MIN(number of items
  13630. in list, 15). Fixes #79551.
  13631. 2006-10-20 Andreia Gaita <[email protected]>
  13632. Fixes #79384, #79394, #79652, #79667
  13633. * Application.cs:
  13634. - Modal windows are now destroyed in the proper order for windows
  13635. * ContainerControl.cs:
  13636. - ActiveControl setter has more conditions on when to return:
  13637. - if we're reselecting the active control, but it actually
  13638. didn't have focus (window hidden or some such), it runs
  13639. - if the active control being selected doesn't actually
  13640. exist in the container, it returns
  13641. * Form.cs
  13642. - The ShowDialog now gets the current form as the owner when
  13643. invoking without parameters, and correctly activates the owner
  13644. when returning
  13645. * MessageBox.cs
  13646. - MessageBox now catches the Escape key to exit
  13647. 2006-10-20 Chris Toshok <[email protected]>
  13648. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  13649. most of bug #79676):
  13650. - you can navigate around the property grid with the arrow keys.
  13651. - the dropdown is sized properly when the pg has a vertical
  13652. scrollbar.
  13653. - fix the indentation for subentries, and properly select the
  13654. entire label rect.
  13655. - fix the gray bar's drawing (only draw it to the last element,
  13656. not for the height of the control. Also make sure we draw that
  13657. last horizontal grid line.
  13658. - use the same mechanism the datagrid uses wrt the editing textbox
  13659. when scrolling/resizing/etc. Namely, we hide it first, do the
  13660. operation, then show it again (if it's still visible).
  13661. - aggressively remove a lot of unnecessary refreshes (and also
  13662. calls to Invalidate(). call more limited variants, and only redraw
  13663. what we need.)
  13664. * PropertyGrid.cs:
  13665. - when we're populating the merged collection, fill in the UI
  13666. parent with either the passed in item, or the category item we
  13667. create.
  13668. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  13669. * GridItem.cs: drop some fully qualified names.
  13670. * GridEntry.cs: add a "UIParent", which is basically the parent
  13671. treenode.
  13672. * GridItemCollection.cs: add an IndexOf method.
  13673. 2006-10-20 Mike Kestner <[email protected]>
  13674. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  13675. a working win32 NC invalidation mechanism, we can't invalidate
  13676. menus. [Fixes #79705]
  13677. 2006-10-20 Mike Kestner <[email protected]>
  13678. * ListBox.cs : don't update the VScrollbar if the list is empty,
  13679. just hide it. [Fixes #79692]
  13680. 2006-10-20 Jackson Harper <[email protected]>
  13681. * RichTextBox.cs: Handle some special chars better, and don't skip
  13682. the entire group when we encounter a special char that we don't
  13683. handle correctly.
  13684. 2006-10-18 Chris Toshok <[email protected]>
  13685. * PropertyGridView.cs: address a number of issues from bug #79676,
  13686. mostly of the cosmetic variety.
  13687. - The highlight rectangle for indented items not extends all the
  13688. way to the left.
  13689. - Indented items aren't indented so much.
  13690. - the dropdown is properly sized width-wise if the pg has a
  13691. vertical scrollbar.
  13692. 2006-10-18 Chris Toshok <[email protected]>
  13693. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  13694. systray stuff is rather convoluted to begin with.
  13695. systray icons are a single window for some reason (that I haven't
  13696. figured out yet), and for them, client_window == whole_window.
  13697. Given the way the tests are structured elsewhere to determine
  13698. which paints are pending (client vs. nc), that situation will
  13699. always yield PAINT, not NCPAINT. So, if we have a pending
  13700. nc_expose and no pending expose, remove the hwnd from the paint
  13701. queue, and also set nc_expose_pending to false, to keep us from
  13702. blocking further expose's adding the hwnd to the paint queue.
  13703. phew. like i said, a rather convoluted change. Fixes the
  13704. notifyicon repaint issues in bug #79645.
  13705. 2006-10-18 Chris Toshok <[email protected]>
  13706. * Form.cs: when getting the backcolor of the form, don't get
  13707. base.BackColor, as this allows parents to influence the background
  13708. color. This breaks mdi forms. Instead, if the background_color
  13709. is empty, return the default.
  13710. 2006-10-18 Chris Toshok <[email protected]>
  13711. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  13712. to being private instead of internal static.
  13713. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  13714. crap, it wasn't working for more deeply nested controls anyway,
  13715. and we already have the is_recreating flag - use that instead.
  13716. Before calling DestroyHandle in RecreateHandle, recurse through
  13717. the control tree setting it to true. this returns the recreate
  13718. code to much of its original simplicity, while now guaranteeing we
  13719. actually recreate everything we're supposed to. This change gets
  13720. fyireporting actually showing mdi children.
  13721. 2006-10-17 Chris Toshok <[email protected]>
  13722. * Form.cs: remove some debug spew, and collapse some duplicate
  13723. code at the end of SetClientSizeCore.
  13724. * XplatUIX11.cs:
  13725. - add some more debug spew here too wrt Destroy handling.
  13726. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  13727. in Control's handling of WM_DESTROY.
  13728. - Remove the handling of zombie window DestroyNotifies from the
  13729. event loop - we don't need it. Now the only DestroyNotifies we
  13730. actually handle are ones generated by X.
  13731. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  13732. match gtk's (functioning) handling of this. This keep metacity
  13733. from leaving droppings in the form of wm borders with no window
  13734. contents all over the place.
  13735. * Control.cs:
  13736. - add a bunch of debug spew wrt control recreation.
  13737. - fix a bug where we weren't tracking Visible properly on
  13738. recreated hwnds.
  13739. - fixed the WM_PAINT double buffer handling to support re-entrant
  13740. calls (yes, i know it's gross, but it's happening to us).
  13741. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  13742. * ThemeWin32Classic.cs: changed drawing of selected days
  13743. to make them look better.
  13744. 2006-10-16 Chris Toshok <[email protected]>
  13745. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  13746. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  13747. * XplatUIX11.cs: move away from using hwnd.client_dc and
  13748. hwnd.non_client_dc and on to a stack of dc's (and in window's
  13749. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  13750. without puking or not disposing of Graphics objects.
  13751. * XplatUIOSX.cs: same.
  13752. * XplatUIWin32.cs: same.
  13753. 2006-10-03 Alexander Olk <[email protected]>
  13754. * FileDialog.cs: Don't call on_directory_changed inside
  13755. OnSelectedIndexChanged (it changes the SelectedIndex too).
  13756. Instead move it to OnSelectionChangeCommitted.
  13757. 2006-10-13 Chris Toshok <[email protected]>
  13758. * XplatUIX11.cs: more Destroy work. the current code does the
  13759. following things, in order:
  13760. 1. Enumerates all handles of all controls at or below the one
  13761. being destroyed, in pre-order. As it is doing this, it marks the
  13762. handles as zombie and clears all references to them.
  13763. 2. calls XDestroyWindow on the window passed in.
  13764. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  13765. list.
  13766. 2006-10-13 Chris Toshok <[email protected]>
  13767. * XplatUIX11.cs: set hwnd.zombie to true before calling
  13768. SendMessage (WM_DESTROY). this keeps us from marking the new
  13769. window a zombie, and also keeps us from calling sendmessage at
  13770. all.
  13771. 2006-10-13 Jackson Harper <[email protected]>
  13772. * TextControl.cs: Do not show the caret and selection at the same
  13773. time. Reduces ugliness by 35%.
  13774. 2006-10-13 Chris Toshok <[email protected]>
  13775. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  13776. zombie after we do the recursive call, so we actually do call
  13777. SendMessage on the children controls.
  13778. (GetMessage): if we find a pending paint event for a zombie hwnd,
  13779. remove the hwnd from the paint queue, or else it will always be
  13780. there (and we'll effectively loop infinitely)
  13781. 2006-10-13 Mike Kestner <[email protected]>
  13782. * MenuItem.cs : add Selected format under keynav too.
  13783. Fixes #79528.
  13784. 2006-10-13 Gert Driesen <[email protected]>
  13785. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  13786. implementation and that of MS.
  13787. 2006-10-13 Chris Toshok <[email protected]>
  13788. * Control.cs (OnInvalidated) only futz with the invalid_region if
  13789. the control is double buffered. this fixes the apparent hang in
  13790. the ListView unit tests. Someone needs to make the
  13791. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  13792. 2006-10-13 Chris Toshok <[email protected]>
  13793. * PropertyGridView.cs:
  13794. - do a little refactoring so that only one place calls
  13795. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  13796. else call that. Also make it Refresh, since there are redraw bugs
  13797. otherwise (we should take a look at that...)
  13798. - do a little more refactoring work to share the body of code
  13799. involved with the drop down. it was duplicated in the code
  13800. dealing with the listbox handling and in the code dealing with the
  13801. UITypeEditors.
  13802. - add a Capture to the dropdown form's control once it's
  13803. displayed, and add a MouseDown handler that checks to make sure
  13804. the position is inside the control. If it's not, close the
  13805. dropdown. This fixes #78190.
  13806. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  13807. if the value is different than the initial value.
  13808. 2006-10-13 Andreia Gaita <[email protected]>
  13809. * Control.cs: see #78650
  13810. - Fixed GetNextControl for several cases:
  13811. - Changed FindFlatForward to return
  13812. correct sibling control when more than one
  13813. control has same TabIndex as the currently
  13814. focused one.
  13815. - Changed FindFlatBackward to loop children
  13816. from last to first and apply same logic as in
  13817. FindFlatForward
  13818. - Changed FindControlForward to search for
  13819. children when control is not a container
  13820. but has children, or search for siblings if
  13821. control is a container...
  13822. - Changed FindControlBackward to continue
  13823. searching for child controls when hitting
  13824. Panel-like parents
  13825. - Fixed Focus method to update ActiveControl
  13826. (FocusTest.FocusSetsActive failure)
  13827. * TabControl.cs:
  13828. - Focus rectangle now refreshes when gaining
  13829. or losing focus
  13830. - Removed grab for Tab key on IsInputKey that
  13831. was keeping tab navigation from working (#78650)
  13832. 2006-10-13 Chris Toshok <[email protected]>
  13833. * PropertyGridView.cs:
  13834. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  13835. SelectedObjects.
  13836. - Deal with GridItem.Value == null a few places.
  13837. * PropertyGrid.cs:
  13838. - replace the PopulateGridItemCollection with a pair of methods
  13839. which compute the intersection of all the properties in the
  13840. SelectedObjects array. Fixes #79615.
  13841. - Throw ArgumentException from set_SelectedObjects if there's a
  13842. null in the array.
  13843. - Add GetTarget method which can be used to traverse up the
  13844. GridItem.Parent chain. It depends on the assumption that
  13845. selected_objects for different GridEntries are always in the same
  13846. order (a safe assumption). Use this method and loop over all the
  13847. selected objects in the entry when calling RemoveValueChanged and
  13848. AddValueChanged.
  13849. * GridEntry.cs: Make this handle multiple selected objects.
  13850. .Value returns null if not all the selected objects share the same
  13851. value.
  13852. 2006-10-12 Jonathan Pobst <[email protected]>
  13853. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  13854. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  13855. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  13856. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  13857. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  13858. add additional functionality.
  13859. 2006-10-12 Mike Kestner <[email protected]>
  13860. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  13861. * HelpProvider.cs : new ToolTipWindow ctor sig.
  13862. * ToolTip.cs : remove ToolTip param from Window sig since it is
  13863. not used.
  13864. * ToolBar.cs : add tooltip support. Fixes #79565.
  13865. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  13866. * ComboBox.cs: move the events in set_SelectedIndex to
  13867. after the call to HighlightIndex in order to avoid
  13868. possible recursion and subsequent problems with the call
  13869. to HighlightIndex and include a range check in
  13870. set_HighlightIndex. Fixes #79588
  13871. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  13872. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  13873. to ui thread's settings instead of sunday.
  13874. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  13875. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  13876. * DateTimePicker.cs
  13877. * MonthCalendar.cs
  13878. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  13879. and implement missing functionality (selecting different parts
  13880. of the date and edit them individually with the keyboard).
  13881. 2006-10-11 Chris Toshok <[email protected]>
  13882. * Control.cs (OnInvalidated): fix NRE relating to last change.
  13883. 2006-10-11 Chris Toshok <[email protected]>
  13884. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  13885. atoms in _NET_WM_STATE here if the window is maximized. We need
  13886. to do this because we're *replacing* the existing _NET_WM_STATE
  13887. property, so those atoms will be lost otherwise, and any further
  13888. call to GetWindowState will return Normal for a window which is
  13889. actually maximized. Fixes #79338.
  13890. 2006-10-11 Jackson Harper <[email protected]>
  13891. * TextControl.cs: Special case for setting selection end to
  13892. selection start, we basically kill the anchor.
  13893. - some todo comments.
  13894. 2006-10-11 Chris Toshok <[email protected]>
  13895. * Control.cs: switch to using an "invalid_region" to track which
  13896. parts of the image buffer need updating. This is more code than
  13897. the simple fix from r66532. That version just attempted to always
  13898. fill the entire buffer on redraw, which turns out to be
  13899. inefficient when invalidating small rectangles. This version
  13900. simply adds the invalid rectangle to the invalid region. When we
  13901. get any WM_PAINT message we see if it can be filled using the
  13902. image buffer, and if it can't (if the paint event's clip rectangle
  13903. is visible in the invalid region) we first fill the image buffer.
  13904. So, the image buffer is still a cache, we just fill it lazily.
  13905. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  13906. need it any longer.
  13907. 2006-10-11 Chris Toshok <[email protected]>
  13908. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  13909. well as size after calling XMoveResizeWindow. This keeps us from
  13910. ignoring future SetWindowPos calls. Fixes the disappearing
  13911. DateTimePicker in the ToolBarDockExample from bug #72499.
  13912. 2006-10-11 Chris Toshok <[email protected]>
  13913. * TextBoxBase.cs: reorder things a bit when it comes to
  13914. resizing-causing-recalculation. we were recalculating the
  13915. document when our position was changed, which shouldn't happen.
  13916. We only care about size changes. Clear up some more redundant
  13917. recalculation calls while I'm at it. This makes the toolbar dock
  13918. example snappy when you're just dragging toolbars around (since it
  13919. causes a relayout whenever you move one.)
  13920. 2006-10-11 Chris Toshok <[email protected]>
  13921. * ToolBarButton.cs (get_Rectangle): this only returns
  13922. Rectangle.Empty if Visible == false, or Parent == null.
  13923. Parent.Visible doesn't matter.
  13924. 2006-10-10 Chris Toshok <[email protected]>
  13925. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  13926. by .net 1.1, so switch to an internal method instead.
  13927. 2006-10-10 Chris Toshok <[email protected]>
  13928. * Control.cs (WM_PAINT): when a control is double buffered we draw
  13929. initially to the ImageBuffer and then copy from there. But when a
  13930. parent control which has child controls is double buffered, the
  13931. initial drawing doesn't encompass the entire ClientRectangle of
  13932. the parent control, so we end up with uninitialized bits (this is
  13933. easily seen by dragging the top toolbar in
  13934. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  13935. manually set the ClipRectangle of the paint_event (only the one we
  13936. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  13937. of the nastiness in bug #72499.
  13938. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  13939. which we use in Control.cs's WM_PAINT handling.
  13940. 2006-10-10 Jackson Harper <[email protected]>
  13941. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  13942. 2006-10-10 Chris Toshok <[email protected]>
  13943. * Cursor.cs: Apply a slightly different patch to the one suggested
  13944. in #79609.
  13945. 2006-10-10 Jackson Harper <[email protected]>
  13946. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  13947. not the parent form.
  13948. * TextControl.cs: use difference in old line count vs new count to
  13949. calculate how many lines were added, this takes into account soft
  13950. line breaks properly.
  13951. 2006-10-10 Chris Toshok <[email protected]>
  13952. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  13953. rectangle located at 0,0 and the size of the text. Use
  13954. ClientRectangle instead. This fixes rendering of non-left aligned
  13955. link labels.
  13956. 2006-10-10 Jackson Harper <[email protected]>
  13957. * TextBoxBase.cs: When we set the selection start position the
  13958. caret.
  13959. * TextControl.cs: Need to update the caret when we decrement it to
  13960. zero.
  13961. - Make sure that the selection_visible flag gets reset to false if
  13962. the selection isn't visible. Before this you could get it set to
  13963. visible by changing the selection start, then changing the end to
  13964. equal the start.
  13965. 2006-10-09 Jackson Harper <[email protected]>
  13966. * TreeView.cs: Don't update scrollbars when we aren't visible.
  13967. * TreeNodeCollection.cs: Only need to update scrollbars if being
  13968. added to an expanded visible node or the root node.
  13969. 2006-10-09 Chris Toshok <[email protected]>
  13970. * XplatUIX11.cs (SendMessage): fix NRE.
  13971. 2006-10-09 Jackson Harper <[email protected]>
  13972. * TextBoxBase.cs: Implement horizontal autoscrolling.
  13973. * TextControl.cs: Add a movement types that allows moving forward
  13974. and backwards without wrapping.
  13975. 2006-10-09 Mike Kestner <[email protected]>
  13976. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  13977. with focus "expansion" of labels. Fixes #79532 and then some.
  13978. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  13979. when wrapping.
  13980. 2006-10-09 Jackson Harper <[email protected]>
  13981. * TextBoxBase.cs: Set the default max values to MaxValue since
  13982. we use the scrollbar for autoscrolling and the default value is
  13983. 100. If we don't do this the caret won't keep up with typing
  13984. after about 18 characters.
  13985. * TextControl.cs: Make sure the selection is offset by the
  13986. viewport x. This fixes selection when using auto scrolling.
  13987. 2006-10-07 Andreia Gaita <[email protected]>
  13988. * Form.cs: The active control should be selected after the
  13989. OnLoad so that any child control initialization that affects
  13990. the selection is done. Fixes #79406
  13991. 2006-10-06 Chris Toshok <[email protected]>
  13992. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  13993. to have no evil effects.
  13994. - Stop selecting StructureNotifyMask on non-toplevel windows.
  13995. The only way children should be resized is by using the SWF api,
  13996. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  13997. Toplevel windows can be interacted with via the window manager,
  13998. and so we keep the input mask there.
  13999. The other event StructureNotifyMask gives us (that we care
  14000. about) is DestroyNotify. The code is already structured such
  14001. that it assumes we won't be getting a DestroyNotify event for
  14002. the window we pass to XDestroyWindow (which is what
  14003. StructureNotifyMask is supposed to guarantee.) So, that code
  14004. shouldn't be affected by this either.
  14005. - Stop selecting VisibilityChangeMask altogether.
  14006. We weren't doing anything with the resulting events anyway.
  14007. This vastly reduces the number of X requests and events we see
  14008. when resizing/laying out a large ui.
  14009. 2006-10-06 Chris Toshok <[email protected]>
  14010. * ScrollableControl.cs (DisplayRectangle): we need to take into
  14011. account the DockPadding regardless of whether or not auto_scroll
  14012. == true. rework this slightly to this effect, and fix bug #79606,
  14013. and part of #72499 (you can now see the drag handles and drag
  14014. toolbars around).
  14015. 2006-10-06 Gert Driesen <[email protected]>
  14016. * ListViewItem.cs: Collections of selected and checked items are now
  14017. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  14018. we mark the collection "dirty".
  14019. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  14020. to only clear SelectedItems when a new item is selected and MultiSelect
  14021. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  14022. event of ListViewItemCollection, and mark its list dirty whenever
  14023. that event is fire. This allows us to return selected/checked items
  14024. in the same order as they are in the Items collection. This matches
  14025. the MS behavior.
  14026. 2006-10-06 Chris Toshok <[email protected]>
  14027. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  14028. right mouse clicks. Fixes bug #79593.
  14029. 2006-10-06 Chris Toshok <[email protected]>
  14030. * Splitter.cs: doh, fix splitters that don't want to cancel the
  14031. movement when you drag them. Also, impose the limits on the
  14032. values we send to the SplitterMovingEvent. Fixes #79598.
  14033. 2006-10-06 Jackson Harper <[email protected]>
  14034. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  14035. since we use this for auto scrolling also.
  14036. 2006-10-05 Chris Toshok <[email protected]>
  14037. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  14038. beginning to think that most datagrid column types don't need this
  14039. method. Fixes bug #79392.
  14040. 2006-10-05 Chris Toshok <[email protected]>
  14041. * DataGrid.cs: move back to a more lazy scheme for creating the
  14042. CurrencyManager, so we aren't updating it every time you set
  14043. either DataSource or DataMember. Also, don't call
  14044. RecreateDataGridRows if the currency manager hasn't changed.
  14045. 2006-10-05 Chris Toshok <[email protected]>
  14046. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  14047. emitted, SelectedIndex should already be updated. Fixes bug
  14048. #78929.
  14049. 2006-10-05 Jonathan Pobst <[email protected]>
  14050. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  14051. ToolStripTextBox.cs: Initial commit.
  14052. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  14053. 2006-10-05 Jackson Harper <[email protected]>
  14054. * TabControl.cs: We need to invalidate the tab control area when
  14055. new ones are added (duh).
  14056. 2006-10-03 Chris Toshok <[email protected]>
  14057. * Form.cs (ProcessDialogKey): if the focused control is in this
  14058. form and is a button, call its PerformClick method here. Fixes
  14059. #79534.
  14060. 2006-10-04 Jackson Harper <[email protected]>
  14061. * TabPage.cs: Ignore setting of Visible, and add an internal
  14062. method for setting the controls visibility. TabPage's Visible
  14063. property is a little strange on MS, this seems to make us
  14064. compatible, and fixes cases where people set all the tab pages to
  14065. visible.
  14066. * TabControl.cs: Use the new internal setting on tab pages
  14067. visibility.
  14068. 2006-10-03 Mike Kestner <[email protected]>
  14069. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  14070. 2006-10-03 Mike Kestner <[email protected]>
  14071. * ListView.cs : use is_visible instead of Visible to check if
  14072. scrollbars should be placed/sized. Also some max_wrap_width
  14073. love for LargeIcon view. [Fixes #79533]
  14074. 2006-10-03 Atsushi Enomoto <[email protected]>
  14075. * TextControl.cs :
  14076. Make set_TextAlign() do actually update the align. Fixed #78403.
  14077. 2006-10-03 Chris Toshok <[email protected]>
  14078. * DataGrid.cs: fix a crash when switching datasources if the
  14079. vertical scrollbar is at someplace other than Value = 0. Also,
  14080. reduce the number of recalculation passes we do in SetDataSource
  14081. from 2 to 1.
  14082. 2006-10-03 Jackson Harper <[email protected]>
  14083. * TextBoxBase.cs: Move the if value the same bail check up, we
  14084. don't want to empty the document if it is already empty, this
  14085. seems to severly mess up the caret. TODO: I should probably fix
  14086. the empty statement to update teh caret somehow.
  14087. 2006-10-03 Chris Toshok <[email protected]>
  14088. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  14089. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  14090. reflection, an internal row type, properties on said type, etc.)
  14091. will work with our datagrid. Fixes #79531.
  14092. 2006-10-03 Alexander Olk <[email protected]>
  14093. * FileDialog.cs: Don't crash if a path is not accessible
  14094. (System.UnauthorizedAccessException). Fixes #79569.
  14095. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  14096. a ':' too. Return unknown icon for those paths/files.
  14097. 2006-10-03 Sebastien Pouliot <[email protected]>
  14098. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  14099. GetContainerControl returns null.
  14100. 2006-10-02 Chris Toshok <[email protected]>
  14101. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  14102. call to XGetWindowAttributes instead of "handle". fixes an X
  14103. error using notifyicon after the NotifyIconWindow to Form base
  14104. class switch.
  14105. 2006-10-02 Chris Toshok <[email protected]>
  14106. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  14107. server grab and looping we need to do to get down to the most
  14108. deeply nested child window.
  14109. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  14110. QueryPointer again after the WarpPointer so we can generate a
  14111. proper (fake) MotionNotify event to be enqueued in the destination
  14112. window's queue.
  14113. (GetCursorPos): call QueryPointer.
  14114. Fixes #79556.
  14115. 2006-10-02 Jackson Harper <[email protected]>
  14116. * NotifyIcon.cs: Derive the notify icon from a form, so things
  14117. like FindForm work on it.
  14118. - Swallow the WM_CONTEXTMENU message, since that is generated on
  14119. mouse down, and context menu is a mouse up kinda guy. I believe
  14120. the correct fix here is probably to make the notify icon entirely
  14121. NC area, but this seems to work fine for anyone not manipulating
  14122. WndProc.
  14123. 2006-10-02 Jonathan Pobst <[email protected]>
  14124. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  14125. ToolStripItemCollection.cs, ToolStripLabel.cs,
  14126. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  14127. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  14128. Initial implementation.
  14129. * TextRenderer.cs: Provide padding to MeasureText.
  14130. 2006-10-02 Sebastien Pouliot <[email protected]>
  14131. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  14132. of ButtonBaseAccessibleObject. Fix bug #79552.
  14133. 2006-10-02 Jackson Harper <[email protected]>
  14134. * MdiWindowManager.cs: When maximizing use the containers client
  14135. rect, not it's bounds, so nc area is accounted correctly.
  14136. - Use the parent form's size for the menu position, since the
  14137. client isn't always the full form size.
  14138. 2006-10-01 Chris Toshok <[email protected]>
  14139. * ScrollableControl.cs: make sure neither right_edge or
  14140. bottom_edge are < 0, since they're used as LargeChange for the
  14141. horiz/vert scrollbars respectively. Fixes #79539.
  14142. 2006-10-01 Chris Toshok <[email protected]>
  14143. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  14144. the xplatuix11 code can cause us to destroy/recreate our handle.
  14145. * XplatUIX11.cs
  14146. (SystrayAdd):
  14147. - this code can be invoked many times for the same Hwnd. Make
  14148. sure we only destroy the client window once (the first time this
  14149. method is called). This fixes bug #79544.
  14150. - Remove the call to the improperly bound XSync. why we had two
  14151. bindings to this, I will never know, but this call resulted in
  14152. events being discarded from the queue(!).
  14153. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  14154. not our current state but the state we wish to be in. So, 0 if
  14155. we don't want to be mapped. Change it to 1.
  14156. (SystrayRemove): The XEMBED spec makes mention of the fact that
  14157. gtk doesn't support the reparent of client windows away from the
  14158. embedder. Looking at gtksocket-x11.c seems to agree with this.
  14159. The only avenue we have for removing systray icons is to destroy
  14160. them. We don't want the handle to go away for good, though, so
  14161. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  14162. #79545.
  14163. 2006-10-01 Chris Toshok <[email protected]>
  14164. * Form.cs (WndProc): inline the native_enabled variable usage into
  14165. the cases in which it's used. Fixes #79536.
  14166. 2006-09-29 Mike Kestner <[email protected]>
  14167. * ListView.cs : toggle the selection state for ctrl clicks in
  14168. multiselect mode. [Fixes #79417]
  14169. 2006-09-29 Mike Kestner <[email protected]>
  14170. * ListView.cs : kill CanMultiSelect and refactor the selection
  14171. code to support multiselection in the absence of mod keys. Steal
  14172. arrow/home/end keys by overriding InternalPreProcessMessage to
  14173. restore regressed keynav behavior.
  14174. [Fixes #79416]
  14175. 2006-09-29 Jackson Harper <[email protected]>
  14176. * MdiClient.cs: Repaint the titlebars when the active window is
  14177. changed.
  14178. 2006-09-29 Chris Toshok <[email protected]>
  14179. * Application.cs: when entering a runloop with a modal, make sure
  14180. the hwnd is enabled. Fixes #79480.
  14181. 2006-09-29 Chris Toshok <[email protected]>
  14182. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  14183. when ListManager.CanAddRows == false, bump us back one.
  14184. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  14185. listmanager.CanAddRows check. This makes ArrayLists uneditable
  14186. using a datagrid, which is not right.
  14187. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  14188. is an IEditable, but call property_descriptor.SetValue regardless.
  14189. fixes #79435.
  14190. 2006-09-29 Chris Toshok <[email protected]>
  14191. * DataGridBoolColumn.cs: we need to test equality in the face of
  14192. possible null values (as is the case with the default NullValue).
  14193. This patch keeps us from crashing in that case.
  14194. 2006-09-29 Jackson Harper <[email protected]>
  14195. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  14196. here, since it will get called for every node collection in the
  14197. tree. This is now done in the treeview once the sorting is
  14198. finished.
  14199. * TreeView.cs: Recalculate the visible order, and update the
  14200. scrollbars after sorting, set the top nope to the root so that the
  14201. recalc actually works.
  14202. 2006-09-29 Chris Toshok <[email protected]>
  14203. * LinkLabel.cs: more handling of the default link collection in
  14204. the face of LinkArea manipulation. The default link collection
  14205. contains 1 element (start=0,length=-1). If the user sets LinkArea
  14206. to anything and the links collection is the default, clear it.
  14207. Then only add the link if its nonempty. Fixes #79518.
  14208. 2006-09-29 Chris Toshok <[email protected]>
  14209. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  14210. piece correctly when we hit a '\n'. Fixes #79517.
  14211. 2006-09-29 Chris Toshok <[email protected]>
  14212. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  14213. change the binding of gdk_init_check to take two IntPtr's, and
  14214. pass IntPtr.Zero for both of them. Fixes #79520.
  14215. 2006-09-29 Mike Kestner <[email protected]>
  14216. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  14217. [Fixes #78779]
  14218. 2006-09-28 Jackson Harper <[email protected]>
  14219. * XplatUIX11.cs: When translating NC messages make sure we go from
  14220. whole window to screen, not client window to screen.
  14221. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  14222. method doesn't exist
  14223. - Skip over controls that aren't forms when arranging.
  14224. 2006-09-28 Jackson Harper <[email protected]>
  14225. * XplatUIWin32.cs: Clip the rect to the parent window.
  14226. * XplatUIStructs.cs: Add clipping modes struct.
  14227. * InternalWindowManager.cs: New private method that factors title
  14228. bar heights in when calculating the pos of an NC mouse message.
  14229. - Use SendMessage to force a paint when the form's size is changed
  14230. instead of painting the decorations immediately.
  14231. - Don't let the NC button click messages get to DefWndProc,
  14232. because they will attempt to handle windowing themself, and this
  14233. messes up z-order (it will put them in front of the scrollbars).
  14234. * XplatUIX11.cs: Make sure that we don't reset window managers if
  14235. we already have one (ie the window is an MDI window).
  14236. 2006-09-28 Chris Toshok <[email protected]>
  14237. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  14238. menu code really needs going over.
  14239. 2006-09-27 Chris Toshok <[email protected]>
  14240. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  14241. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  14242. window is maximizable. So, we need to make sure that even if we
  14243. clear the border/wm frame of those functions, they're still
  14244. available (basically, we remove the decoration without removing
  14245. the function). Half the fix for #79338.
  14246. 2006-09-27 Chris Toshok <[email protected]>
  14247. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  14248. Fixes bug #79515.
  14249. 2006-09-27 Chris Toshok <[email protected]>
  14250. * Splitter.cs: reorder things a bit so that we don't actually
  14251. draw/move the splitter until after calling OnSplitterMoving. This
  14252. lets users cancel/disallow the movement by explicitly setting
  14253. event.SplitX/SplitY. Fixes #79372.
  14254. 2006-09-27 Jackson Harper <[email protected]>
  14255. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  14256. because it is most likely on a window being destroyed, and that
  14257. will give us an X11 error.
  14258. 2006-09-27 Chris Toshok <[email protected]>
  14259. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  14260. the dropdown button now toggles between showing and hiding the
  14261. dropdown. Also, get rid of dropdown_form_showing and just use
  14262. dropdown_form.Visible. We still don't do a grab, but I'll leave
  14263. that part to someone who has handled Capture-fu before.
  14264. 2006-09-27 Chris Toshok <[email protected]>
  14265. * DataGrid.cs: return false if alt isn't pressed when '0' is
  14266. pressed. this keeps the '0' key from being swallowed, and fixes
  14267. bug #79350.
  14268. 2006-09-27 Chris Toshok <[email protected]>
  14269. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  14270. Calling Refresh (in response to a scrollbar event) screws up the
  14271. scrollbar painting. Fixes bug #78923.
  14272. 2006-09-27 Chris Toshok <[email protected]>
  14273. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  14274. then insert into hashtable" blocks threadsafe.
  14275. 2006-09-27 Chris Toshok <[email protected]>
  14276. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  14277. baseclass's, since otherwise the
  14278. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  14279. effect. This gets the close button back in messageboxes.
  14280. 2006-09-27 Chris Toshok <[email protected]>
  14281. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  14282. flag, not just != 0. this makes flags that are actually multiple
  14283. bits (like WS_CAPTION) work. fixes bug #79508.
  14284. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  14285. * PageSetupDialog.cs: add support for getting and settings the
  14286. paper size, source and orientation.
  14287. 2006-09-26 Chris Toshok <[email protected]>
  14288. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  14289. and caption == "", we need to remove the resize handles as well as
  14290. the title bar.
  14291. * Control.cs (set_Text): turns out that setting Text on a form
  14292. should change the WM styles on the window, since if ControlBox ==
  14293. false, the only way to get a window border is to have a non-""
  14294. Text property. check winforms/forms/text.cs for an example. so,
  14295. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  14296. update both window styles and title. This fixes a lot of dialogs
  14297. (including the preferences dialog in MonoCalendar.)
  14298. 2006-09-26 Chris Toshok <[email protected]>
  14299. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  14300. control isn't a Form), call Win32ShowWindow to hide the window,
  14301. but don't update the control Visible property. When we reparent
  14302. back to a parent control, call SetVisible in order for the
  14303. window's visibility to be reinstated.
  14304. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  14305. the FosterParent.
  14306. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  14307. call for good, since it breaks MonoCalendar (and other things I'm
  14308. sure.) Also, set all_controls to null *after* the owner calls,
  14309. which end up regenerating it.
  14310. (ChangeParent): allow new_parent to be == null, passing
  14311. IntPtr.Zero down to XplatUI.
  14312. this fixes #79294 the right way.
  14313. 2006-09-26 Mike Kestner <[email protected]>
  14314. * GridEntry.cs : internal SetParent method.
  14315. * PropertyGrid.cs : attach to property changed on the proper
  14316. target if we have a hierarchical grid with subobjects. Setup
  14317. GridItem.Parent for hierarchical items.
  14318. * PropertyGridView.cs : Set value on the correct target for
  14319. hierarchical grids. [Fixes #78903]
  14320. 2006-09-26 Chris Toshok <[email protected]>
  14321. * Control.cs (ChildNeedsRecreating): this should return true if
  14322. either we're being recreated and the child is in our list, or our
  14323. parent is waiting for our recreation.
  14324. 2006-09-26 Chris Toshok <[email protected]>
  14325. * Control.cs (ControlCollection.Remove): reinstate the
  14326. value.Hide() call as suggested in bug #79294.
  14327. 2006-09-26 Sebastien Pouliot <[email protected]>
  14328. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  14329. coordinates (versus a relative move).
  14330. 2006-09-26 Chris Toshok <[email protected]>
  14331. * Control.cs: rework child recreation a little bit. It turns out
  14332. that we race between the DestroyNotify the WM_DESTROY message. If
  14333. the parent gets its DestroyNotify before the child gets the
  14334. WM_DESTROY message, the child ends up not recreating (since the
  14335. parent finishes its recreation on DestroyNotify, and the child
  14336. checks ParentIsRecreating.)
  14337. So, instead we store off a list of all the child controls which
  14338. need to be recreated when the parent control starts to recreate
  14339. itself. Then, when child controls get their WM_DESTROY message we
  14340. check to see if they're in the parent's pending recreation list,
  14341. and if so, we recreate. This removes all dependency on ordering
  14342. from the code and fixes the initial MonoCalendar upgrade dialog.
  14343. 2006-09-26 Jackson Harper <[email protected]>
  14344. * TextControl.cs: Use the Line to get the length of the line,
  14345. since soft line breaks can change the end line.
  14346. 2006-09-26 Chris Toshok <[email protected]>
  14347. * Control.cs (ControlCollection.AddImplicit): don't add the
  14348. control again if it's already in one of our lists. This keeps us
  14349. from adding controls over and over again for comboboxes when their
  14350. handle gets recreated (as the combobox adds implicit controls in
  14351. OnHandleCreated). Fixes the X11 errors in bug #79480.
  14352. 2006-09-26 Jackson Harper <[email protected]>
  14353. * TextControl.cs: When deleting characters make sure that any
  14354. orphaned zero lengthed tags get deleted.
  14355. - Fix ToString for zero lengthed tags.
  14356. 2006-09-25 Jackson Harper <[email protected]>
  14357. * TextControl.cs: When getting a tag at the location there can be
  14358. multiple tags at the same spot, these are 0-lengthed tags that
  14359. appear when extra formatting has been stuck in a location. We
  14360. need to pull out the last of these 0 lengthed tags.
  14361. 2006-09-25 Jackson Harper <[email protected]>
  14362. * TextControl.cs: Fix print out in debug method.
  14363. * TextBoxBase.cs: When text is set bail if we are setting to the
  14364. previous value.
  14365. 2006-09-24 Alexander Olk <[email protected]>
  14366. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  14367. It is now possible to change the selected index in a FontXXXListBox
  14368. with the up and down arrow keys from the FontXXXTextBoxes.
  14369. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  14370. FontXXXListBoxes to match ms.
  14371. 2006-09-22 Sebastien Pouliot <[email protected]>
  14372. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  14373. anyone can dispose it, anytime. All other properties returns enums,
  14374. structs or basic types so they don't need such tricks.
  14375. 2006-09-22 Jackson Harper <[email protected]>
  14376. * XplatUI.cs:
  14377. * XplatUIWin32.cs:
  14378. * Clipboard.cs:
  14379. * DataFormats.cs:
  14380. * XplatUIOSX.cs:
  14381. * XplatUIDriver.cs: Update interface to add a primary selection
  14382. flag, so the driver can use the primary selection buffer if
  14383. needed.
  14384. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  14385. * RichTextBox.cs: We need to supply the data object to paste now
  14386. (so we can choose to supply CLIPBOARD or PRIMARY).
  14387. * TextBoxBase.cs: Supply data object to paste (see above).
  14388. - Middle click uses the primary selection data object.
  14389. 2006-09-21 Chris Toshok <[email protected]>
  14390. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  14391. of SetWMStyles. It's still a rat's nest and is largely
  14392. order-dependent which I dislike immensely. This also fixes the X
  14393. button disappearing from toplevel forms.
  14394. 2006-09-21 Mike Kestner <[email protected]>
  14395. * ListBox.cs: move Jordi's click/dblclick raising code to the
  14396. mouse up handler.
  14397. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  14398. * ListBox.cs: Fixes 79450
  14399. 2006-09-21 Mike Kestner <[email protected]>
  14400. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  14401. to deal with people updating the TreeNodeCollection after the tree
  14402. is disposed. "Fixes" 79330.
  14403. 2006-09-20 Jackson Harper <[email protected]>
  14404. * TextControl.cs: Push the cursor record onto the undo stack
  14405. before the delete action. This fixes 78651.
  14406. 2006-09-20 Jonathan Chambers <[email protected]>
  14407. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  14408. CreateParams. Fixes 79329.
  14409. 2006-09-19 Chris Toshok <[email protected]>
  14410. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  14411. things up a bit. First, get rid of the NetAtoms array (and the NA
  14412. enum), and just embed the atoms as static fields. Also, add a
  14413. couple of functions (StyleSet and ExStyleSet) to clean up all the
  14414. bitmask testing of styles.
  14415. * X11Structs.cs: remove the NA enum, not needed anymore.
  14416. 2006-09-19 Chris Toshok <[email protected]>
  14417. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  14418. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  14419. added cleanup to get MessageBox titles appearing again, which were
  14420. broken by my earlier fix for caption-less/ControlBox-less windows.
  14421. 2006-09-18 Jonathan Pobst <[email protected]>
  14422. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  14423. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  14424. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  14425. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  14426. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  14427. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  14428. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  14429. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  14430. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  14431. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  14432. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  14433. Inital import.
  14434. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  14435. ToolStripButton.cs: Stubs needed for above.
  14436. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  14437. 2006-09-15 Chris Toshok <[email protected]>
  14438. * XplatUIX11.cs:
  14439. - make the MessageQueues hashtable Synchronized.
  14440. - SendMessage: if the Hwnd is owned by a different thread, use the
  14441. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  14442. thread. Fixes bug #79201.
  14443. 2006-09-15 Chris Toshok <[email protected]>
  14444. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  14445. ControlBox == false, we disallow maximize/minimize/close. If the
  14446. form Caption is "" we also disallow move (and get rid of the Title
  14447. decoration). Unfortunately, regardless of how things are set,
  14448. we're stuck with the Title and WM menu.
  14449. 2006-09-15 Chris Toshok <[email protected]>
  14450. * Application.cs: add locking around the static message_filters
  14451. ArrayList, part of #79196.
  14452. 2006-09-15 Chris Toshok <[email protected]>
  14453. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  14454. Form.ControlBox == false, the window has no titlebar nor resize
  14455. handles. fixes bug #79368.
  14456. 2006-09-15 Chris Toshok <[email protected]>
  14457. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  14458. >= 0. Fixes bug #79370.
  14459. 2006-09-15 Jonathan Pobst <[email protected]>
  14460. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  14461. * Control.cs:
  14462. Add properties: LayoutEngine, Margin, DefaultMargin.
  14463. Add method: GetPreferredSize.
  14464. Move layout logic from PerformLayout to layout engines.
  14465. 2006-09-13 Chris Toshok <[email protected]>
  14466. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  14467. fix for #79326 broke #78718, so this change addresses that.
  14468. - in SendWMDestroyMessages remove the call to
  14469. CleanupCachedWindows, since we might be recreating the control and
  14470. need to maintain the references to right Hwnd handles. Also, set
  14471. the zombie flag to true for each of the children in the hierarchy
  14472. instead of calling hwnd.Dispose. This will cause GetMessage to
  14473. ignore all events for the window except for DestroyNotify.
  14474. - In GetMessage, ignore messages except for DestroyNotify for
  14475. zombie hwnds.
  14476. * Control.cs: revert the is_recreating fix from the last
  14477. ChangeLog. It's definitely "right", but it breaks switching from
  14478. an MDI form to a non-MDI form. Will need to revisit that.
  14479. * Hwnd.cs: add a zombie flag, which means "the
  14480. client_window/whole_window handles are invalid, but we're waiting
  14481. for the DestroyNotify event to come in for them". Set the flag to
  14482. false explicitly if setting WholeWindow/ClientWindow, and also
  14483. when Disposing.
  14484. 2006-09-13 Chris Toshok <[email protected]>
  14485. * XplatUIX11.cs: rework window destruction slightly.
  14486. - when destroying the windows associated with a control, we don't
  14487. need 2 separate XDestroyWindow calls. Just the one for the
  14488. whole_window (or for client_window if whole_window is somehow
  14489. IntPtr.Zero -- can this happen?) is enough.
  14490. - reworked SendWMDestroyMessages slightly, so we always dispose
  14491. the child control hwnd's after sending the messages.
  14492. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  14493. the two places it was used (one was even using hwnd.Handle and the
  14494. other hwnd.client_window. ugh), adding another call in
  14495. SendWMDestroyMessages. We need this new call because now the
  14496. DestroyNotify events in the queue will be ignored for the child
  14497. controls (as their hwnd's were disposed, and the window id's
  14498. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  14499. - this fixes bug #79326.
  14500. 2006-09-13 Chris Toshok <[email protected]>
  14501. * Control.cs: don't always set is_recreating to false at the end
  14502. of RecreateHandle, since sometimes we're not done (and won't be
  14503. until WndProc handles the WM_DESTROY message). Also, set
  14504. is_recreating to false in the WM_DESTROY handling code. Part of
  14505. the fix for bug #79326.
  14506. 2006-09-13 Miguel de Icaza <[email protected]>
  14507. * X11DesktopColors.cs: Start the droppage of debugging messages.
  14508. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  14509. 2006-09-13 Jonathan Pobst <[email protected]>
  14510. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  14511. 2006-09-12 Chris Toshok <[email protected]>
  14512. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  14513. to create it using SetDataSource. Fixes bug #79151.
  14514. 2006-09-11 Chris Toshok <[email protected]>
  14515. * XEventQueue.cs: add a DispatchIdle property.
  14516. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  14517. either the queue is null, or the queue has DispatchIdle set to
  14518. true.
  14519. (DoEvents): set queue.DispatchIdle to false around the
  14520. peek/translate/dispatch message loop in this method. This keeps
  14521. Application.Doevents from emitting idle events. Part of the fix
  14522. for #78823.
  14523. 2006-09-11 Chris Toshok <[email protected]>
  14524. * DataGrid.cs (set_DataSource): make this work for both the
  14525. winforms/datagrid test and ReportBuilder. It seems as though when
  14526. we've created a ListManager (or maybe it's if we have a
  14527. BindingContext?), when we set the DataSource it clears the
  14528. DataMember to "". otherwise we reuse the datamember. Fixes bug
  14529. #79333.
  14530. 2006-09-11 Chris Toshok <[email protected]>
  14531. * XplatUIX11.cs: deal with queue being null, which happens in all
  14532. the Clipboard functions. Fixes one of the two problems mentioned
  14533. in #78612.
  14534. 2006-09-11 Chris Toshok <[email protected]>
  14535. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  14536. button on various spots (including outside the menu) works closer
  14537. to MS, and doesn't crash. Fixes #79343.
  14538. 2006-09-11 Gert Driesen <[email protected]>
  14539. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  14540. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  14541. and the internal comparer is set. When a new ListViewItemSorter is set,
  14542. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  14543. was specified. No further processing is necessary if SortOrder is set
  14544. to it's current value. If Sorting is modified to None, and View is
  14545. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  14546. (either custom or our internal ItemComparer) to null, on 1.0 profile
  14547. only set item_sorter to null if its our internal IComparer. If Sorting
  14548. is modified to Ascending or Descending, then use our internal IComparer
  14549. if none is set, and if the current IComparer is our internal one then:
  14550. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  14551. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  14552. Enum.IsDefined to verify whether a valid View value is specified in
  14553. its setter. Automatically sort listview items when listview is
  14554. created. In Sort, do nothing if ListView is not yet created, or if
  14555. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  14556. to None or ListViewItemSorter was set to null). Added Sort overload
  14557. taking a bool to indicate whether the ListView should be redrawn when
  14558. items are sorted (we use this in ListViewItemCollection to avoid double
  14559. redraws). Modified our internal IComparer to take the sort order into
  14560. account. In Add and AddRange methods of ListViewItemCollection, also
  14561. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  14562. view), but use overload with noredraw option to avoid double redraw.
  14563. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  14564. true when View is Tile, and do the same when attempting to set View to
  14565. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  14566. for selected/checked indices, as it involves overhead when sorting is
  14567. done while these collections are not used all that often. Instead
  14568. we'll build the indices on demand. Modified IList implementation of
  14569. CheckedIndexCollection to use public methods if object is int.
  14570. Modified CheckedListViewItemCollection to hide checked items if
  14571. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  14572. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  14573. IList implementation in SelectedIndexCollection to use public methods
  14574. if object is int. Modified SelectedListViewItemCollection to hide
  14575. selected items if listview is not yet created.
  14576. * ListViewItem.cs: CheckedIndices list no longer needs to be
  14577. maintained separately (see ListView changes). Also clone font, fixes
  14578. test failure.
  14579. 2006-09-11 Mike Kestner <[email protected]>
  14580. * ComboBox.cs: if we are updating the contents of the currently
  14581. selected index, refresh the control or the textbox selection.
  14582. [Fixes #79066]
  14583. 2006-09-11 Mike Kestner <[email protected]>
  14584. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  14585. the 'specified' logic has been moved there. This seems like a bug
  14586. in Control.cs, since our current SetBoundsCore completely ignores
  14587. the specified parameter. Peter's commit seems to indicate that is
  14588. the way the MS control implementation works. [Fixes #79325]
  14589. 2006-09-10 Jonathan Chambers <[email protected]>
  14590. * XplatUI.cs: Set default_class_name to be composed
  14591. of current domain id. This allows MWF to be loaded in multiple
  14592. domains on Win32.
  14593. 2006-09-09 Miguel de Icaza <[email protected]>
  14594. * X11Keyboard.cs: If we are unable to obtain the input method, do
  14595. not call CreateXic to create the input context. Should fix
  14596. #78944/79276.
  14597. 2006-09-08 Alexander Olk <[email protected]>
  14598. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  14599. Simplified gnome support by adding more pinvokes to get the
  14600. icon for a file or mime type.
  14601. 2006-09-08 Jackson Harper <[email protected]>
  14602. * MenuAPI.cs: Deslect popup context menu items before closing the
  14603. window, so that you don't see the previously selected item
  14604. selected when you reopen the menu.
  14605. * TextControl.cs: Update the cursor position even if we don't have
  14606. focus. This fixes typing in things like the ComboBox. I'm not
  14607. totally sure we should always set the visibility if we don't have
  14608. focus, but couldn't find any corner cases where the cursor showed
  14609. up when it shouldn't.
  14610. 2006-09-08 Chris Toshok <[email protected]>
  14611. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  14612. our arrays are length 256. & 0xff before indexing. Fixes the
  14613. crash in bug #78077.
  14614. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  14615. * ThemeWin32Classic.cs:
  14616. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  14617. is true. Handle that check box too.
  14618. 2006-09-07 Chris Toshok <[email protected]>
  14619. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  14620. 79244.
  14621. 2006-09-07 Chris Toshok <[email protected]>
  14622. * Control.cs: in set_BackColor only do the work if
  14623. background_color != value.
  14624. * XplatUIX11.cs: move the clearing of invalid areas (both client
  14625. and nc) to the same block of code where we set (nc_)expose_pending
  14626. to false. That is, move it from PaintEventEnd to PaintEventStart,
  14627. so things that cause invalidates from within OnPaint will trigger
  14628. another call to OnPaint. Fixes bug #79262.
  14629. 2006-09-07 Alexander Olk <[email protected]>
  14630. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  14631. * FileDialog.cs: Fix typo
  14632. 2006-09-07 Jackson Harper <[email protected]>
  14633. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  14634. for tab pages if they have any.
  14635. 2006-09-06 Mike Kestner <[email protected]>
  14636. * Splitter.cs: use the "current" rect when finishing drag handle
  14637. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  14638. 2006-09-06 Mike Kestner <[email protected]>
  14639. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  14640. support offset splitters. [Fixes #79298]
  14641. 2006-09-06 Alexander Olk <[email protected]>
  14642. * Mime.cs: Fixed a bug that could override the global mime type
  14643. result.
  14644. 2006-09-05 Jackson Harper <[email protected]>
  14645. * TabControl.cs: Better calculation method for setting the slider
  14646. pos. Prevents crashes on really wide tabs.
  14647. - Draw Image on tab pages if an image list is used.
  14648. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  14649. * MonthCalendar.cs: When Font changes, the Size should be
  14650. updated to fit the new font's space requirements.
  14651. 2006-09-02 Alexander Olk <[email protected]>
  14652. * ListBox.cs: If the items are cleared with Items.Clear set
  14653. top_index to 0.
  14654. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  14655. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  14656. fire DateChanged event instead of DateSelected event when
  14657. the date was changed by keyboard interaction.
  14658. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  14659. * DateTimePicker.cs: Handle DateChanged for the associated
  14660. month_calendar control, and set month_calendar.Font from
  14661. OnFontChanged method, as well as resize the height of the
  14662. control when needed. Make PreferredHeight proportional.
  14663. 2006-09-01 Chris Toshok <[email protected]>
  14664. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  14665. properties.
  14666. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  14667. 2006-09-01 Peter Dennis Bartok <[email protected]>
  14668. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  14669. for decorations (Fixes #79219)
  14670. 2006-09-01 Mike Kestner <[email protected]>
  14671. * ComboBox.cs: first stab at sorting plus some selection handling
  14672. fixes to bring us more in line with MS behavior. Also switches back
  14673. to index based selection. Alternative patches for index-based
  14674. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  14675. and [email protected] on bug 78848. I assume they were similar to this
  14676. code I've had simmering in my tree forever.
  14677. [Fixes #78848]
  14678. 2006-09-01 Chris Toshok <[email protected]>
  14679. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  14680. when setting list position guard against ending up with a -1 index
  14681. (the other part of the fix for #78812). Should probably make sure
  14682. we don't need the analogous fix in the ItemDeleted case.
  14683. * DataGrid.cs:
  14684. - in SetDataSource, work around the fact that the way
  14685. OnBindingContextChanged is invoked will cause us to re-enter this
  14686. method. I'll remove the hack once I investigate
  14687. OnBindingContextChanged.
  14688. - fix the logic in set_DataSource and set_DataMember (basically
  14689. what to do if the other of the two is null.)
  14690. - in OnListManagerItemChanged, we need to take into account the
  14691. edit row when deciding whether or not to call RecreateDataGridRows
  14692. (part of the fix for #78812).
  14693. 2006-09-01 Jackson Harper <[email protected]>
  14694. * Splitter.cs: Don't do anything if there is no control to affect
  14695. (prevents us from crashing in weird tet cases).
  14696. * TreeView.cs: Bounding box for the mouse movement reverting
  14697. focus/selection back to previously selected node. This matches
  14698. MS, and makes the tree a lot more useable.
  14699. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  14700. use clipping so they are not drawn. This fixes when the control
  14701. is set to have a transparent background, or if it was over an
  14702. image.
  14703. 2006-09-01 Alexander Olk <[email protected]>
  14704. * MimeIcon.cs: Improved handling for reading default icons when
  14705. using gnome (2.16 made it necessary). Check and read svg icons
  14706. first, then 48x48 and then 32x32 icons.
  14707. 2006-08-31 Chris Toshok <[email protected]>
  14708. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  14709. visible.
  14710. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  14711. ProcessKeyPreview. Fixes part of #77806.
  14712. * DataGrid.cs: big patch.
  14713. - revert the queueing up of DataSource/DataMember if inside
  14714. BeginInit/EndInit calls. That's not the way the datagrid achieves
  14715. its delayed databinding. Instead, call SetDataSource in
  14716. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  14717. #78811.
  14718. - Also, it wasn't mentioned in #78811, but the test case exhibits
  14719. behavior that was lacking in our datagrid implementation - Columns
  14720. that have mapping names that don't exist in the datasource's
  14721. properties aren't shown. Yuck. To fix this I added the bound
  14722. field to the column style, and basically any calculation to figure
  14723. out anything about columns uses a loop to find the bound columns.
  14724. still need to investigate if I can cache an array of the bound
  14725. columns or if the indices must be the same.
  14726. - When setting CurrentCell, we no longer abort if the cell being
  14727. edited was in the add row. This fixes the other part of #77806.
  14728. - The new code also fixes #78807.
  14729. * ThemeWin32Classic.cs: perpetrate the same disgusting
  14730. column.bound field hack, and only render bound fields.
  14731. 2006-08-31 Chris Toshok <[email protected]>
  14732. * DataGridColumnStyle.cs: add bound field. this field is true if
  14733. the datasource has a property corresponding to the mapping name.
  14734. * DataGridTableStyle.cs: set the bound field on the column styles
  14735. depending on whether or not we have a column for that property.
  14736. 2006-08-31 Peter Dennis Bartok <[email protected]>
  14737. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  14738. splitter control (fixes #79228)
  14739. 2006-08-31 Chris Toshok <[email protected]>
  14740. * DataGridColumnStyle.cs: we need to delay the assignment of
  14741. property descriptor until the last possible moment due to the lazy
  14742. databinding stuff in the datagrid. Also, fix the exceptions
  14743. thrown by CheckValidDataSource to match MS.
  14744. 2006-08-31 Jackson Harper <[email protected]>
  14745. * Form.cs: When activated select the active control, if there is
  14746. no active control, we select the first control.
  14747. * XplatUIX11.cs: If there is no focus control when we get a
  14748. FocusIn event, find the toplevel form and activate it. This
  14749. occurs when you popup a window, it becomes the focus window, then
  14750. you close that window, giving focus back to the main window.
  14751. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  14752. * MonthCalendar.cs:
  14753. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  14754. as StringFormat with Center alignments in MonthCalendar,
  14755. instead of creating new ones when drawing the control.
  14756. Also, draw the month name in bold style.
  14757. 2006-08-30 Peter Dennis Bartok <[email protected]>
  14758. * Control.cs:
  14759. - PerformLayout(): It would seem MS performs the fill even if the
  14760. control is not visible (part of #79218 fix)
  14761. - ResetBackColor(): Use the setter to reset the color, to allow
  14762. overriders to catch the change.
  14763. * Form.cs:
  14764. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  14765. - CreateHandle(): dito (part of $79218 fix)
  14766. - Don't set an icon if we have a dialog
  14767. * ScrollableControl.cs:
  14768. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  14769. - ScrollIntoView(): No need to scroll if control is already visible
  14770. (resolves fixme and fixes #79218)
  14771. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  14772. * MonthCalendar.cs: Change proportions in SingleMonthSize
  14773. to match the aspect of the original control.
  14774. 2006-08-29 Alexander Olk <[email protected]>
  14775. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  14776. get updated when they get maximized.
  14777. 2006-08-29 Peter Dennis Bartok <[email protected]>
  14778. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  14779. 2006-08-29 Chris Toshok <[email protected]>
  14780. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  14781. 2006-08-29 Jackson Harper <[email protected]>
  14782. * TreeView.cs: Need to track selected node and highlighted node,
  14783. they aren't always the same thing, when the mouse is down on a
  14784. node it is hilighted, but not selected yet.
  14785. - Do the HideSelection stuff right
  14786. - Need to focus on rbutton mouse down. And redraw selection when
  14787. right click is mouse upped.
  14788. 2006-08-29 Mike Kestner <[email protected]>
  14789. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  14790. when SubItems.Count < Columns.Count. [Fixes #79167]
  14791. 2006-08-28 Peter Dennis Bartok <[email protected]>
  14792. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  14793. 2006-08-28 Peter Dennis Bartok <[email protected]>
  14794. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  14795. from X. Only send based on ConfigureNotify if we don't have the
  14796. correct location in hwnd (if the window manager moved us)
  14797. 2006-08-28 Mike Kestner <[email protected]>
  14798. * ListView.cs: remove a TODO.
  14799. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  14800. [Fixes ListView part of #79166]
  14801. 2006-08-28 Mike Kestner <[email protected]>
  14802. * ListView.cs: move wheel handler to parent since it is focused
  14803. instead of the item_control now. [Fixes #79177]
  14804. 2006-08-28 Mike Kestner <[email protected]>
  14805. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  14806. when the control is focused. [Fixes #79171]
  14807. 2006-08-28 Mike Kestner <[email protected]>
  14808. * ListView.cs: size the item and header controls for empty and
  14809. unscrollable views.
  14810. * ThemeWin32Classic.cs: draw disabled backgrounds.
  14811. [Fixes #79187]
  14812. 2006-08-28 Chris Toshok <[email protected]>
  14813. * Form.cs: remove unused "active_form" static field.
  14814. * Hwnd.cs: lock around accesses to static windows collection.
  14815. * Application.cs: lock threads in Exit ().
  14816. 2006-08-28 Chris Toshok <[email protected]>
  14817. * NativeWindow.cs: lock around accesses to window_collection.
  14818. 2006-08-28 Chris Toshok <[email protected]>
  14819. * Control.cs: err, fix this the right way, by locking on controls
  14820. when using it. not by making it synchronized.
  14821. 2006-08-28 Chris Toshok <[email protected]>
  14822. * Control.cs: make the static "controls" field synchronized, as it
  14823. gets updated from multiple threads.
  14824. 2006-08-27 Peter Dennis Bartok <[email protected]>
  14825. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  14826. Prevent other threads from exiting when calling thread sets quit state.
  14827. * XEventQueue.cs: Added PostQuitState property
  14828. 2006-08-27 Chris Toshok <[email protected]>
  14829. * AsyncMethodData.cs: add a slot for the window handle.
  14830. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  14831. window (the destination control's window, not the foster window).
  14832. * Control.cs (BeginInvokeInternal): store the window's handle in
  14833. the AsyncMethodData.
  14834. 2006-08-27 Peter Dennis Bartok <[email protected]>
  14835. * XplatUIX11.cs:
  14836. - PostQuitMessage: Removed resetting S.D display handle, we might have
  14837. another loop started after calling PostQuitMessage (Fixes #79119)
  14838. - Created destructor to reset S.D handle
  14839. 2006-08-27 Peter Dennis Bartok <[email protected]>
  14840. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  14841. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14842. * TextControl.cs (Insert): Update the caret position even if we don't
  14843. have a handle yet, just don't call the driver in that case.
  14844. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  14845. to the end of the new selection text (Fixes #79184)
  14846. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14847. * Form.cs (Activate): Only activate if the handle is created)
  14848. * Control.c:
  14849. - Mark window as invisible when it's disposed
  14850. - Check if window handle is created when setting window visible,
  14851. instead of relying just on the is_created variable
  14852. - Check if object is disposed when creating the control (Fixes #79155)
  14853. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14854. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  14855. when allowing layout again. Otherwise we re-generate the anchoring
  14856. distance to the border again and actually alter what the user wanted
  14857. This is ugly, it'd be better if we used DisplayRectangle instead of
  14858. ClientRectangle for Control.UpdateDistances, but that causes us to
  14859. have other problems (initial anchoring positons would be wrong)
  14860. (Fixes #78835)
  14861. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14862. * Control.cs:
  14863. - The size and location setters shouldn't go directly to
  14864. SetBoundsCore, but to SetBounds, which triggers layout on the
  14865. parent, then calls SetBoundsCore. (Related to fix for #78835)
  14866. - SetBounds: Moved actual location update code into this function
  14867. from SetBoundsCore, to match MS. Added call to PerformLayout if
  14868. we have a parent (to trigger resizing of anchored parents if the
  14869. child size has changed (see testcase for #78835)
  14870. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  14871. new control code
  14872. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  14873. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14874. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  14875. System.Drawing when a toplevel window gets closed; there might
  14876. be other toplevel windows belonging to the same app (Fixes #78052)
  14877. 2006-08-26 Alexander Olk <[email protected]>
  14878. * FileDialog.cs: After reading FileDialog settings from mwf_config
  14879. use Desktop prefix only if a real folder doesn't exist anymore.
  14880. * FontDialog.cs: Added char sets.
  14881. It is now possible to select the font, size or style with the
  14882. textboxes.
  14883. 2006-08-25 Kornél Pál <[email protected]>
  14884. * PrintPreviewDialog.cs: Use assembly name constants.
  14885. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14886. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  14887. scrollbar from whacking it's buttons)
  14888. 2006-08-24 Chris Toshok <[email protected]>
  14889. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  14890. in this patch (aggregating setting Left/Top/Width/Height to
  14891. setting Bounds on the scrollbars), but the crux of the fix is in
  14892. Recalculate, where we scroll by the remaining scroll_position if
  14893. we're hiding a scrollbar. The 2*$5 reward in the comment is
  14894. serious.
  14895. 2006-08-24 Jackson Harper <[email protected]>
  14896. * MdiClient.cs:
  14897. * MdiWindowManager.cs: If the form is made a non-mdi window we
  14898. need to remove the form closed event so that closing forms works
  14899. correctly.
  14900. 2006-08-24 Jackson Harper <[email protected]>
  14901. * Control.cs: Make IsRecreating internal so that the driver can
  14902. check it
  14903. - Temporarily remove the Hide when controls are removed, its
  14904. making a whole bunch of things not work because visibility isn't
  14905. getting reset elsewhere correctly
  14906. * Form.cs: Need to do a full handle recreation when the mdi parent
  14907. is set.
  14908. * XplatUIX11.cs: If we are recreating handles don't dispose the
  14909. HWNDs. What was happening is the handles were being recreated in
  14910. SendWMDestroyMessages, but then flow continued on in that method
  14911. and destroyed the new handles.
  14912. 2006-08-23 Jackson Harper <[email protected]>
  14913. * Form.cs: MdiClient is always at the back of the bus
  14914. * Control.cs: When the order of items in the collection is changed
  14915. we need to reset the all_controls array
  14916. - do the same sorta setup thats done when adding a control when a
  14917. control is set on the collection.
  14918. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14919. * TextBoxBase.cs (get_Text): Return an empty array if our document
  14920. is empty (fixes #79052)
  14921. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14922. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  14923. on WM_SYSCHAR messages (fixes #79053)
  14924. 2006-08-23 Chris Toshok <[email protected]>
  14925. * DataGrid.cs: fix flickering when scrolling vertically.
  14926. 2006-08-23 Chris Toshok <[email protected]>
  14927. * DataGrid.cs (EndEdit): only invalidate the row header when we
  14928. need to.
  14929. 2006-08-23 Chris Toshok <[email protected]>
  14930. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  14931. methods. fixes the flicker when scrolling around.
  14932. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14933. * FileDialog.cs: Making sure the control is created before we get a
  14934. chance to use it with BeginInvoke (Fixes #79096)
  14935. 2006-08-23 Chris Toshok <[email protected]>
  14936. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  14937. width to use when painting the rows.
  14938. 2006-08-23 Peter Dennis Bartok <[email protected]>
  14939. * TextBoxBase.cs:
  14940. - Throw ArgumentException if a negative value is passed to SelectionLength
  14941. - Update the selection end if start is moved. end needs to be always
  14942. after start. (Fixes #79095)
  14943. - Track selection length; MS keeps the selection length even if start
  14944. is changed; reset on all other operations affection selection
  14945. 2006-08-22 Jackson Harper <[email protected]>
  14946. * TreeView.cs: Make sure both scrollbars get displayed and sized
  14947. correctly when the other bar is visible.
  14948. - Use the original clip rectangle for checking if the area between
  14949. the two scrollbars is visible, not the viewport adjusted clipping
  14950. rectangle.
  14951. 2006-08-22 Jackson Harper <[email protected]>
  14952. * Binding.cs: We don't use IsBinding because it requires the
  14953. control to be created, which really shouldn't be necessary just to
  14954. set a property on the control.
  14955. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  14956. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  14957. ArgumentNullReferenceException when the argument is null.
  14958. 2006-08-21 Jackson Harper <[email protected]>
  14959. * Timer.cs: Track the thread that the timer is started in (NOT
  14960. CREATED), this way messages for it will only be triggered on its
  14961. queue.
  14962. * XEventQueue.cs: Track the timers here, this makes timers per
  14963. thread, like MS.
  14964. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  14965. 2006-08-19 Chris Toshok <[email protected]>
  14966. * XplatUIX11.cs: after further communication with pdb, we get the
  14967. best of both worlds. SetZOrder working for un-Mapped windows, and
  14968. no X errors for un-mapped windows.
  14969. 2006-08-19 Chris Toshok <[email protected]>
  14970. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  14971. as it was causing pdn toolbars to not have the correct stacking.
  14972. 2006-08-18 Mike Kestner <[email protected]>
  14973. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  14974. calculation. Not sure why control should ever be setting a negative
  14975. width though. Fixes #78931.
  14976. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  14977. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  14978. null items in ObjectCollection class.
  14979. * ListBox.cs.: Likewise.
  14980. 2006-08-18 Atsushi Enomoto <[email protected]>
  14981. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  14982. as the base method in ThemeWin32Classic should work fine.
  14983. Fixed bug #78607.
  14984. 2006-08-18 Jackson Harper <[email protected]>
  14985. * Binding.cs: When validating if the value entered doesn't convert
  14986. properly reset to the old value.
  14987. * RadioButton.cs: Don't fire click when we get focus.
  14988. 2006-08-18 Jackson Harper <[email protected]>
  14989. * FileDialog.cs: Paint the selection on the directory combobox the
  14990. same way as on MS.
  14991. 2006-08-17 Jackson Harper <[email protected]>
  14992. * ErrorProvider.cs: Don't allow the error control to be selected.
  14993. * Control.cs: Don't send the SetFocus messages, the control
  14994. activation will do this, and if we do it blindly here validation
  14995. does not work.
  14996. 2006-08-17 Jackson Harper <[email protected]>
  14997. * Control.cs:
  14998. * ContainerControl.cs: Make validation events fire in the correct
  14999. order. TODO: For some reason the first validation event is not
  15000. getting fired.
  15001. 2006-08-17 Mike Kestner <[email protected]>
  15002. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  15003. 2006-08-17 Mike Kestner <[email protected]>
  15004. * ComboBox.cs : implement scroll wheel support for popped-down
  15005. state. Fixes #78945.
  15006. 2006-08-17 Jackson Harper <[email protected]>
  15007. * TreeView.cs: Specify treeview actions (old patch that didn't get
  15008. committed for some reason).
  15009. - Don't let the mouse wheel scroll us too far. Just want to make
  15010. the bottom node visible, not scroll it all the ways to the top.
  15011. 2006-08-17 Jackson Harper <[email protected]>
  15012. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  15013. 2006-08-17 Mike Kestner <[email protected]>
  15014. * ComboBox.cs : don't do mouseover selection in simple mode.
  15015. 2006-08-16 Jackson Harper <[email protected]>
  15016. * Form.cs: Fire the closing events for all the mdi child windows
  15017. when a window is closed. If the cancel args are set to true, the
  15018. main window still gets the event fired, but it doesn't not close.
  15019. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  15020. handler, instead of when the button is clicked, so cancelling the
  15021. close works correctly.
  15022. * ComboBox.cs: Send the mouse down to the scrollbar.
  15023. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  15024. * ListBox.cs: When passing 'null' to SelectedItem,
  15025. set SelectedIndex to -1, to unselect items. This is the
  15026. observed behaviour in .Net.
  15027. 2006-08-16 Peter Dennis Bartok <[email protected]>
  15028. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  15029. MS flags saying there won't be any. (fixes #78800)
  15030. * Control.cs (HandleClick): Made virtual
  15031. 2006-08-16 Atsushi Enomoto <[email protected]>
  15032. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  15033. cultures. Fixed bug #78399.
  15034. 2006-08-16 Jackson Harper <[email protected]>
  15035. * Form.cs: Use the MdiClients MdiChildren property to access
  15036. MdiChildren instead of creating the array from the child controls.
  15037. * MdiClient.cs: Maintain a separate array of the mdi children, so
  15038. that insertion order is maintained when the Z-order is changed.
  15039. 2006-08-16 Mike Kestner <[email protected]>
  15040. * ListView.cs : add an ItemComparer and default to it for sorting.
  15041. Fixes #79076, but sorting needs a complete overhaul to be compat with
  15042. MS.
  15043. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15044. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  15045. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15046. * Hwnd.cs (Mapped): Properly traverse the tree
  15047. 2006-08-15 Chris Toshok <[email protected]>
  15048. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  15049. pass manager.Current.GetType() to ParseData. It has to be the
  15050. property type. So, hold off doing the ParseData until we're in
  15051. SetPropertyValue where we know the type. This fixes the crash in
  15052. #78821 but the textbox is still empty.
  15053. 2006-08-15 Chris Toshok <[email protected]>
  15054. * DataGrid.cs:
  15055. - when we're scrolling, only call Edit() again if the
  15056. current cell is still unobscured. Fixes bug #78927.
  15057. - when handling mousedown on a cell, ensure the cell is visible
  15058. before calling Edit.
  15059. - remove the properties from DataGridRow, and remove the
  15060. DataGridParentRow class altogether.
  15061. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15062. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  15063. fire OnTextChanged by ourselves. There's no point calling base,
  15064. we don't set the base value anywhere else. Fixes #78773.
  15065. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  15066. * ListBox.cs: Call CollectionChanged when modifying
  15067. an item from Items indexer, to update the actual items
  15068. in the list box.
  15069. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  15070. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  15071. to match .Net behaviour.
  15072. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15073. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  15074. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15075. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  15076. 2006-08-15 Peter Dennis Bartok <[email protected]>
  15077. * MessageBox.cs: Prevent potential NRE exception.
  15078. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  15079. 2006-08-14 Peter Dennis Bartok <[email protected]>
  15080. * MessageBox.cs: Calculate the owner of a messagebox, also make
  15081. it topmost. Fixes #78753
  15082. 2006-08-14 Chris Toshok <[email protected]>
  15083. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  15084. programmatically move windows. first, set the PPosition hint as
  15085. well as the USPosition hint. Second include some code from pdb
  15086. that sets the window type to NORMAL when we set the transient for
  15087. hint. This is because, in the absence of a window type, metacity
  15088. thinks any window with TransientFor set is a dialog, and refuses
  15089. to let us move it programmatically. fascists.
  15090. 2006-08-14 Peter Dennis Bartok <[email protected]>
  15091. * XplatUIX11.cs: When setting normal hints, take into consideration
  15092. an different hints previously set so we don't delete them (fixes #78866)
  15093. 2006-08-12 Chris Toshok <[email protected]>
  15094. * ToolBarButton.cs: make Layout return a boolean, if something to
  15095. do with the button's layout changed.
  15096. * ToolBar.cs:
  15097. - add another parameter to Redraw, @force, which all existing
  15098. calls set to true.
  15099. - make the Layout function return a boolean which is true if the
  15100. layout has actually changed. Redraw now uses this (and @force)
  15101. to determine when to invalidate. At present the only place
  15102. where @force can be false is the call from OnResize, when
  15103. background_image == null. So, resizing a toolbar when the
  15104. layout doesn't change results in no drawing.
  15105. 2006-08-12 Chris Toshok <[email protected]>
  15106. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  15107. the VScrollBar and HScrollbar reversed. oops.
  15108. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  15109. scrollbars. we were assigning them twice (once in
  15110. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  15111. therefore causing two scrollbar resizes (and redraws?) to happen
  15112. per grid resize.
  15113. 2006-08-12 Chris Toshok <[email protected]>
  15114. * ToolBarButton.cs: redraw the entire button if the theme tells us
  15115. to.
  15116. * Theme.cs: add ToolBarInvalidateEntireButton.
  15117. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  15118. buttons, just the border.
  15119. * ThemeNice.cs: redraw the entire toolbar button since we need to
  15120. draw the highlight image.
  15121. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  15122. we need to redraw the entire button (not just the border).
  15123. 2006-08-11 Peter Dennis Bartok <[email protected]>
  15124. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  15125. for vertical bars. Fixes the mismatches shown by #78513
  15126. 2006-08-11 Alexander Olk <[email protected]>
  15127. * FileDialog.cs: If a saved/remembered path doesn't exist
  15128. anymore, fall back to "Desktop".
  15129. 2006-08-11 Peter Dennis Bartok <[email protected]>
  15130. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  15131. parent. It's apparently legal to not have one
  15132. * XplatUIX11.cs:
  15133. - SetZOrder: Don't try to set Z-Order on an unmapped window
  15134. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  15135. it unless the coordinates are negative
  15136. 2006-08-10 Mike Kestner <[email protected]>
  15137. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  15138. when setting to null per msdn docs. Fixes #78854.
  15139. 2006-08-10 Chris Toshok <[email protected]>
  15140. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  15141. flickering by setting a clip rectangle on the Graphics when we
  15142. need to redraw just a particular menuitem. Also, rename "OnClick"
  15143. to "OnMouseDown" to reflect what it actually is.
  15144. * Form.cs: track the OnMouseDown change.
  15145. 2006-08-10 Peter Dennis Bartok <[email protected]>
  15146. * CommonDialog.cs: Properly inherit the CreateParams from the form
  15147. and only change what we need. Fixes #78865
  15148. 2006-08-10 Chris Toshok <[email protected]>
  15149. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  15150. flickering in flat mode (and most of the flickering in general) by
  15151. only invalidating the button border (and not the entire rectangle)
  15152. when the state changes. A couple of cases still flicker:
  15153. ToggleButtons, and the dropdown arrow case when the user mouse
  15154. ups.
  15155. 2006-08-10 Alexander Olk <[email protected]>
  15156. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  15157. for german keyboards. Numlock state shouldn't affect the behaviour
  15158. of the Del key. Fixes bug #78291.
  15159. 2006-08-10 Chris Toshok <[email protected]>
  15160. * ListControl.cs: remove the items.Clear line from BindDataItems,
  15161. as this is the first thing done by both subclasses in their
  15162. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  15163. passed -1, refresh the list. This gets databinding working when
  15164. the datasource is set on the list before the datasource is
  15165. populated (as in wf-apps/ReportBuilder.)
  15166. * ComboBox.cs: remove the argument to BindDataItems. This call
  15167. should really go away, and be initiated by the ListControl code.
  15168. * ListBox.cs: same.
  15169. 2006-08-09 Peter Dennis Bartok <[email protected]>
  15170. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  15171. if no data is in the document when the control is displayed
  15172. 2006-08-09 Peter Dennis Bartok <[email protected]>
  15173. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  15174. yes (fixes #78806)
  15175. * TextControl.cs:
  15176. - PositionCaret: Allow positioning of caret but don't call methods
  15177. requiring a handle if the window isn't created yet
  15178. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  15179. - owner_HandleCreated: Don't position the caret, just update it's
  15180. location. User might have already set a different position
  15181. 2006-08-09 Peter Dennis Bartok <[email protected]>
  15182. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  15183. windows. Screws up the returned coordinates for child windows.
  15184. Fixes #78825. I'm hoping this doesn't break something, since the
  15185. code was explicitly put in 8 months ago, but no bug was attached.
  15186. Menus still seem to work properly.
  15187. 2006-08-08 Chris Toshok <[email protected]>
  15188. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  15189. supposed to do - delay data binding until the EndInit call. Also,
  15190. make the table style collection's CollectionChangeAction.Refresh
  15191. work properly.
  15192. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  15193. (with action = Refresh) when a consituent table's MappingName is
  15194. changed.
  15195. 2006-08-08 Chris Toshok <[email protected]>
  15196. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  15197. Invalidate, since changing the text can change the size of the all
  15198. toolbar buttons.
  15199. 2006-08-08 Peter Dennis Bartok <[email protected]>
  15200. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  15201. we don't have it yet
  15202. 2006-08-08 Chris Toshok <[email protected]>
  15203. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  15204. dialog, as this causes X errors later on, since we actually
  15205. destroy the window. Instead, .Hide() it.
  15206. 2006-08-08 Peter Dennis Bartok <[email protected]>
  15207. * ComboBox.cs: Added focus reflection for popup window
  15208. * XplatUIX11.cs:
  15209. - Removed transient setting for non-app windows for now, not sure it
  15210. was needed
  15211. - Fixed logic checking if we have captions when deciding
  15212. override_redirect, WS_CAPTION is two bits and a 0 check was not
  15213. sufficient
  15214. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  15215. complicated
  15216. * Form.cs:
  15217. - AddOwnedForm: Don't just add the form to the list, call the property
  15218. to ensure the driver is informed about the ownership as well
  15219. - CreateHandle: Set the TopMost status in the driver if we have an owner
  15220. * XplatUI.cs: Fixed debug statement
  15221. 2006-08-08 Jonathan Pobst <[email protected]>
  15222. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  15223. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  15224. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  15225. TrackBarRenderer.cs: Make constructor private.
  15226. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  15227. * ProfessionalColorTable.cs: Make properties virtual.
  15228. 2006-08-06 Duncan Mak <[email protected]>
  15229. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  15230. is not changing.
  15231. 2006-08-04 Jonathan Pobst <[email protected]>
  15232. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  15233. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  15234. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  15235. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  15236. Initial import of new 2.0 classes.
  15237. 2006-08-04 Jonathan Pobst <[email protected]>
  15238. * Application.cs: Add 2.0 VisualStyles properties.
  15239. 2006-08-04 Jonathan Pobst <[email protected]>
  15240. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15241. XplatUIX11.cs: Create property to allow access to existing private
  15242. variable "themes_enabled"
  15243. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  15244. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  15245. file size, as otherwise our class libraries fail using windows. Fixes
  15246. bug #78759.
  15247. 2006-08-04 Jackson Harper <[email protected]>
  15248. * Form.cs:
  15249. * XplatUIX11.cs: Move the toolwindow window manager creation into
  15250. the X11 driver, this way on win32 we can let windows create/handle
  15251. the toolwindows.
  15252. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  15253. * PrintDialog.cs: Remove some redundant checks, add some others,
  15254. clean some code, and move the focus to the text boxes when the
  15255. values are incorrect.
  15256. 2006-08-04 Alexander Olk <[email protected]>
  15257. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  15258. 2006-08-03 Alexander Olk <[email protected]>
  15259. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  15260. handled correctly. Fixes bug #79001.
  15261. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  15262. * PrintDialog.cs: The "Copies" numeric up down must have
  15263. set the Minimum property to 1; only if the value is bigger
  15264. than 1, activate "Collate" check box. This is the behaviour of .Net.
  15265. Also modify the Document elements only if it is not null.
  15266. 2006-08-03 Jackson Harper <[email protected]>
  15267. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  15268. length. (We have a larger array then actual node count).
  15269. 2006-08-03 Jackson Harper <[email protected]>
  15270. * ComboBox.cs: Don't show selection by default.
  15271. - The SelectAll isn't needed here, since the focus code should do
  15272. that
  15273. - DDL style lists to manual selection drawing, so when they
  15274. get/lose focus they have to invalidate.
  15275. 2006-08-03 Peter Dennis Bartok <[email protected]>
  15276. * TextBoxBase.cs: Don't always show all selections by default.
  15277. 2006-08-03 Jonathan Pobst <[email protected]>
  15278. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  15279. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  15280. Fixed various typos.
  15281. 2006-08-03 Alexander Olk <[email protected]>
  15282. * Control.cs: Removing the controls in a ControlCollection with
  15283. Clear now hides the controls as expected. Fixes bug #78804.
  15284. 2006-08-03 Jackson Harper <[email protected]>
  15285. * Control.cs: Revert previous focus patch, it breaks reflector.
  15286. 2006-08-03 Jackson Harper <[email protected]>
  15287. * ComboBox.cs: Cleanup selection and focus with the combobox.
  15288. This also eliminates some duplicated keyboard code, since now
  15289. everything is handled by the main class.
  15290. - Make list selection work on mouse up instead of down, to match
  15291. MS.
  15292. 2006-08-02 Jackson Harper <[email protected]>
  15293. * Control.cs: Setting focus needs to go through the whole
  15294. selection mechanism.
  15295. 2006-08-02 Chris Toshok <[email protected]>
  15296. * PrintPreviewDialog.cs: change MinimumSize to use
  15297. base.MinimumSize so it works.
  15298. 2006-08-02 Peter Dennis Bartok <[email protected]>
  15299. * TextControl.cs:
  15300. - UpdateCaret: Added sanity check in case caret isn't defined yet
  15301. - Line.Delete: Now updating selection and caret markers if we're
  15302. transfering a node (Properly fixes #78323)
  15303. - SetSelectionEnd: Added sanity check
  15304. * TextBoxBase.cs: Removed broken attempt to fix #78323
  15305. 2006-08-01 Chris Toshok <[email protected]>
  15306. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  15307. Close() call is handled in Form, not here.
  15308. 2006-08-01 Chris Toshok <[email protected]>
  15309. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  15310. layout/rendering.
  15311. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  15312. for sizes < 100% zoom. The code now aggressively attempts to keep
  15313. from calling document.Print (), and tries not to use the scaling
  15314. g.DrawImage whenever possible (it still does if you scale to >
  15315. 100%, since usually that involves huge images).
  15316. * PrintPreviewControl.cs: hook up the close button.
  15317. 2006-08-01 Jonathan Pobst <[email protected]>
  15318. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  15319. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  15320. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  15321. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  15322. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  15323. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  15324. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  15325. Removed [Serializable] for 2.0 Event Handlers.
  15326. 2006-07-31 Jackson Harper <[email protected]>
  15327. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  15328. * TextControl.cs: Uncomment out the body of this method.
  15329. 2006-07-31 Alexander Olk <[email protected]>
  15330. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  15331. standard cursors.
  15332. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15333. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  15334. that embed TextBox and need selections visible even if textbox is not
  15335. focused to enforce that behaviour.
  15336. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  15337. selection drawing
  15338. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15339. * TextControl.cs:
  15340. - Added new SetSelectionStart/SetSelectionEnd overloads
  15341. - Fixed viewport width assignment to be accurate
  15342. - Adjusted alignment line shift calculations to allow cursor on right
  15343. aligned lines to be always visible at the right border (like MS)
  15344. * TextBoxBase.cs:
  15345. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  15346. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  15347. - CalculateScrollBars: Use ViewPort size instead of window size, to
  15348. properly consider space occupied by the border and scrollbars
  15349. (Fixes #78661)
  15350. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  15351. calculations; no longer leaves artifacts
  15352. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  15353. calculation bugs (Still missing right/center align calculations)
  15354. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15355. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  15356. use of both scroll rect and clip rect, as they do the same.
  15357. 2006-07-31 Peter Dennis Bartok <[email protected]>
  15358. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  15359. in the event handler (fixes #78912)
  15360. 2006-07-31 Chris Toshok <[email protected]>
  15361. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  15362. grid.ListManager.Count, since grid.ListManager might be null.
  15363. This of course begs the question "why are we drawing rows for a
  15364. grid with no list manager (and therefor no rows)?" Fixes the
  15365. crash in bug #78929.
  15366. 2006-07-31 Chris Toshok <[email protected]>
  15367. * RelatedPropertyManager.cs: Don't always chain up to the parent
  15368. ctor. instead, call SetDataSource if the parent's position is !=
  15369. -1. Fixes the crash in #78822.
  15370. 2006-07-31 Chris Toshok <[email protected]>
  15371. * DataGrid.cs (get_ListManager): use field instead of property
  15372. accessors for datasource and datamember.
  15373. (RowsCount): make internal again.
  15374. (OnMouseDown): end edits before resizing columns/rows.
  15375. (OnMouseUp): restart edits after resizing columns/rows.
  15376. 2006-07-30 Peter Dennis Bartok <[email protected]>
  15377. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  15378. This fixes the situation where the last set cursor is displayed
  15379. whenever the mouse is over scrollbars.
  15380. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  15381. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  15382. Document properties, as well as initial values.
  15383. 2006-07-29 Peter Dennis Bartok <[email protected]>
  15384. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  15385. and ClientEdge results in a 3-pixel border, which is
  15386. wrong.
  15387. 2006-07-28 Jackson Harper <[email protected]>
  15388. * TreeNodeCollection.cs: Fix the clear method.
  15389. - Fix the Shrink also
  15390. 2006-07-27 Jackson Harper <[email protected]>
  15391. * TreeView.cs: Make sure the visible order is computed when we
  15392. attempt to size the scrollbars (for trees that mess with the
  15393. scrolling when they shouldn't.
  15394. - Make sure to give the scrollbars valid values.
  15395. 2006-07-26 Peter Dennis Bartok <[email protected]>
  15396. * XplatUIX11.cs: Move motion compression code to where it
  15397. has less performance impact
  15398. 2006-07-26 Jackson Harper <[email protected]>
  15399. * UpDownBase.cs: When the control is selected make the child
  15400. controls non selectable, so that a click on them won't do a
  15401. focus/unfocus cycle.
  15402. - Don't give focus to the text box when the spinner is selected.
  15403. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  15404. 2006-07-26 Chris Toshok <[email protected]>
  15405. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  15406. satisfied with this solution. If the bitmaps are small, we should
  15407. just cache them in the PrintPreviewDialog and draw them here.
  15408. Also, the layout is broken for the 2-up and 3-up cases.
  15409. * Theme.cs: add PrintPReviewControlPaint.
  15410. * PrintPreviewDialog.cs: first pass implementation.
  15411. * PrintPreviewControl.cs: first pass implementation. No
  15412. scrollbars yet.
  15413. * PrintDialog.cs: only validate fields if that particular portion
  15414. of the UI is enabled. Also, set the document's controller to a
  15415. PrintControllerWithStatusDialog wrapping the document's print
  15416. controller.
  15417. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  15418. bring up a SaveFileDialog (i hope we don't want to match the
  15419. behavior of the crappy windows file entry) and set the
  15420. PrinterSettings.PrintFileName accordingly.
  15421. 2006-07-26 Jackson Harper <[email protected]>
  15422. * ContainerControl.cs: Add a field that disables auto selecting
  15423. the next control in a container when the container is activated.
  15424. * UpDownBase.cs: Don't select the text box when the up down is
  15425. selected.
  15426. 2006-07-26 Peter Dennis Bartok <[email protected]>
  15427. * XEventQueue.cs: Added methods for peeking (used for compression
  15428. of successive events)
  15429. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  15430. mouse move events (fixes #78732)
  15431. 2006-07-25 Jackson Harper <[email protected]>
  15432. * UpDownBase.cs: Use an internal class for the textbox so that we
  15433. can control focus. the updown control should always have focus,
  15434. if either the text area or the buttons are clicked.
  15435. - Send the key messages to the textbox, since it never actually
  15436. has focus
  15437. - Activate and decativate the textbox caret.
  15438. 2006-07-24 Jackson Harper <[email protected]>
  15439. * Control.cs: Use the directed select when selecting a control,
  15440. this way the container controls override will get called and the
  15441. whole ActiveControl chain will get triggered. TODO: probably need
  15442. to make sure this gets done everywhere instead of the old
  15443. Select(Control).
  15444. * ContainerControl.cs: Implement the directed Select method to
  15445. find and activate the correct child control.
  15446. 2006-07-22 Mike Kestner <[email protected]>
  15447. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  15448. menu handling code so that clicks without a grab work too.
  15449. [Fixes #78914]
  15450. 2006-07-22 Alexander Olk <[email protected]>
  15451. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  15452. Added some small optimizations.
  15453. 2006-07-21 Matt Hargett <[email protected]>
  15454. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  15455. 2006-07-21 Peter Dennis Bartok <[email protected]>
  15456. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  15457. tests pass and match MS in some strange border cases.
  15458. 2006-07-21 Chris Toshok <[email protected]>
  15459. * ThemeWin32Classic.cs: handle drawing of the relation links and
  15460. parent row buttons.
  15461. * Theme.cs: change args to DataGridPaintParentRow.
  15462. * DataGrid.cs: Don't use controls for the relation links and
  15463. parent buttons, so we have to handle all their interactions in
  15464. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  15465. when we're navigating through child tables, so we can reinstate
  15466. selection, expanded state, current cell, etc.
  15467. 2006-07-20 Chris Toshok <[email protected]>
  15468. * ToolBar.cs: When we redraw a button, for whatever reason,
  15469. there's no reason to redraw the entire toolbar. Also, don't call
  15470. Control.Refresh from within Redraw, as it's much heavier than
  15471. Invalidate (which is really what we want).
  15472. 2006-07-20 Chris Toshok <[email protected]>
  15473. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  15474. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  15475. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  15476. traces from within a debug IBindingList datasource
  15477. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  15478. to work in a similar fashion.
  15479. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  15480. * ListBox.cs: Don't call Sort () when setting
  15481. the Sorted property to false (avoid an unnecessary sort).
  15482. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  15483. * ListControl.cs: DataSource should throw an ArgumentException
  15484. instead of a normal exception when the argument is not of the
  15485. correct type.
  15486. 2006-07-20 Mike Kestner <[email protected]>
  15487. * Control.cs: add InternalPreProcessMessage to allow us to steal
  15488. key events before MWF gets its paws on them. Adapted from a
  15489. suggestion by eno.
  15490. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  15491. up/down/left/right navigation. Override the new internal control
  15492. method to steal the events since they never make it to WndProc.
  15493. * ToolBarButton.cs: don't worry about pushed when setting hilight
  15494. since the drawing code prefers pushed to hilight. Invalidate on
  15495. Hilight changes. Fixes #78547 and #78525.
  15496. 2006-07-20 Peter Dennis Bartok <[email protected]>
  15497. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  15498. the canvas size. Fixes #78868
  15499. 2006-07-20 Peter Dennis Bartok <[email protected]>
  15500. * Splitter.cs: Track requested split position until first layout
  15501. is performed. Fixes #78871
  15502. 2006-07-20 Peter Dennis Bartok <[email protected]>
  15503. * Application.cs: Removed code that forces 1.x for the version
  15504. number if the version started with 0. Not sure why that code was
  15505. there and I couldn't find any bugs that indicated we needed it.
  15506. Fixes #78869
  15507. 2006-07-20 Alexander Olk <[email protected]>
  15508. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  15509. ResetDefaults(), just write some output to the console until it's
  15510. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  15511. 2006-07-19 Jonathan Chambers <[email protected]>
  15512. * PropertyGridView.cs: set StartPosition of drop down forms
  15513. so they appear in correct initial spot. Fixes #78190.
  15514. 2006-07-19 Mike Kestner <[email protected]>
  15515. * ThemeWin32Classic.cs: use parent background color when drawing
  15516. flat toolbars. Restructure the conditionals to make sure non-flat
  15517. non-Divider toolbars are filled too. Fixes #78837.
  15518. 2006-07-19 Mike Kestner <[email protected]>
  15519. * ListBox.cs: Sort on collection changes even if the handle
  15520. isn't created yet. Fixes #78813.
  15521. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  15522. * ListControl.cs: DisplayMember should never be null,
  15523. and now we assign String.Empty when null is passed to it (this
  15524. is the .Net way).
  15525. 2006-07-17 Mike Kestner <[email protected]>
  15526. * ListViewItem.cs: restructure Font and subitem Font handling
  15527. to hold a specific font and refer back to owner on null.
  15528. Fixes #78761.
  15529. 2006-07-17 Mike Kestner <[email protected]>
  15530. * ToolBar.cs: bandaid for side-effect of previous patch which was
  15531. discarding explicit heights for non-AutoSize toolbars. Need to
  15532. extend my format tester to deal with AutoSize=false. Fixes #78864.
  15533. 2006-07-15 Jackson Harper <[email protected]>
  15534. * LabelEditTextBox.cs:
  15535. * TreeView.cs: Use a new LabelEdit class for node editing, this
  15536. class automatically 'closes' itself when it gets the enter key or
  15537. loses focus.
  15538. - Use the client rectangle when setting the trees scrollbars, so
  15539. border style is taken into account.
  15540. 2006-07-14 Jackson Harper <[email protected]>
  15541. * TreeNode.cs:
  15542. * TreeView.cs: Make the editing work similar to MSs, firing the
  15543. events correctly and ending edits correctly.
  15544. 2006-07-14 Mike Kestner <[email protected]>
  15545. * ToolBarButton.cs:
  15546. * ToolBar.cs: layout restructuring and redraw enhancements to support
  15547. formatting changes gracefully, like setting TextAlign, ImageList,
  15548. ButtonSize, and Appearance. Handles explicit button sizing quirks
  15549. of the MS controls. Things like flat toolbars ignoring button size
  15550. but becoming constant sized at the largest button's size. Normal
  15551. toolbars with an image set cannot be shrunk smaller than the image,
  15552. but text can be clipped/ignored.
  15553. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  15554. is zero. Seems like DrawString should be smart enough to not put
  15555. anything on screen though. Also trim labels and ellipsize at the char
  15556. boundary, not word.
  15557. Fixes #78711 and #78483.
  15558. 2006-07-14 Alexander Olk <[email protected]>
  15559. * FolderBrowserDialog.cs: Disable "New Folder" button and
  15560. "New Folder" contextmenu menuitem if a folder like "My Computer"
  15561. is selected.
  15562. 2006-07-14 Alexander Olk <[email protected]>
  15563. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  15564. * FolderBrowserDialog.cs:
  15565. - Use MWFConfig to store and read size and position settings
  15566. - Added code to create a new folder (button or context menu).
  15567. Use TreeView labeledit to change the name of the new folder.
  15568. 2006-07-14 Jackson Harper <[email protected]>
  15569. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  15570. when the tree is scrolled we end editing.
  15571. 2006-07-14 Alexander Olk <[email protected]>
  15572. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  15573. Down arrows
  15574. 2006-07-14 Jonathan Pobst <[email protected]>
  15575. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  15576. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  15577. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  15578. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  15579. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  15580. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  15581. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  15582. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  15583. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  15584. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  15585. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  15586. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  15587. ListViewItemSelectionChangedEventHandler.cs,
  15588. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  15589. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  15590. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  15591. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  15592. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  15593. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  15594. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  15595. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  15596. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  15597. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  15598. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  15599. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  15600. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  15601. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  15602. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  15603. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  15604. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  15605. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  15606. WebBrowserNavigatingEventHandler.cs,
  15607. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  15608. 2006-07-14 Jonathan Pobst <[email protected]>
  15609. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  15610. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  15611. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  15612. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  15613. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  15614. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  15615. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  15616. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  15617. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  15618. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  15619. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  15620. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  15621. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  15622. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  15623. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  15624. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  15625. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  15626. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  15627. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  15628. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  15629. ListViewItemStates.cs, MaskFormat.cs: Added
  15630. 2006-07-13 Jonathan Chambers <[email protected]>
  15631. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  15632. Patch from eno for bug 78558.
  15633. 2006-07-13 Jackson Harper <[email protected]>
  15634. * TreeView.cs: When an edit is finished make sure that the
  15635. selected node is visible.
  15636. - When setting the top/bottom use the scrollbars is_visible, so
  15637. everything will be set correctly even if the tree isn't visible
  15638. yet.
  15639. 2006-07-13 Jackson Harper <[email protected]>
  15640. * ComboBox.cs: Revert the item->index part of my previous patch.
  15641. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  15642. the edit box has lost focus (duh).
  15643. - Just make the edit box not visible when we get return, that will
  15644. take the focus, which will call EndEdit
  15645. * TreeNode.cs When we start editing, notify the treeview.
  15646. 2006-07-12 Jackson Harper <[email protected]>
  15647. * ComboBox.cs: Clear out old items before setting the item list.
  15648. This prevents databound controls from having their items added
  15649. twice.
  15650. - Switch the combobox to use indices whereever possible instead of
  15651. using Item's. This allows usto navigate through lists that have
  15652. more then one item with the same string value (ie a, b, b, a).
  15653. - Scroll the listboxes scrollbar when a non visible item is
  15654. highlighted
  15655. - Allow keypress to cycle through all the possible values. For
  15656. example if you have b1, b2, b3 and hold down the B key all the
  15657. values will be cycled through.
  15658. 2006-07-12 Jackson Harper <[email protected]>
  15659. * TextBoxBase.cs:
  15660. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  15661. this using the internal methods.
  15662. * Control.cs: Add OnGotFocusInternal. A new method that allows
  15663. controls to "override" OnGotFocus and change focus behavior if
  15664. needed.
  15665. - Same thing for LostFocus
  15666. * ComboBox.cs: Pass off focus to the text control properly.
  15667. 2006-07-12 Alexander Olk <[email protected]>
  15668. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  15669. * FolderBrowserDialog.cs: Almost a complete rewrite.
  15670. - Better support for Environment.Specialfolders
  15671. - Added support for MWFVFS
  15672. - Made setting SelectedPath work
  15673. 2006-07-12 Jackson Harper <[email protected]>
  15674. * Control.cs: Optimze getting all the controls.
  15675. 2006-07-11 Jackson Harper <[email protected]>
  15676. * ContainerControl.cs: Override SETFOCUS in the container control,
  15677. so that it is not selected on mouse click.
  15678. 2006-07-11 Peter Dennis Bartok <[email protected]>
  15679. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  15680. Hopefully we will have a better way once all of focus is complete.
  15681. 2006-07-11 Peter Dennis Bartok <[email protected]>
  15682. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  15683. a compile error with csc.
  15684. 2006-07-11 Jackson Harper <[email protected]>
  15685. * Control.cs: When hiding a control only select the next control
  15686. if the current control was focused.
  15687. - Don't handle enter/leave when setting/killing focus, this is
  15688. done by the container control.
  15689. - Remove is_selected, it's not needed anymore.
  15690. - Add utility methods for selecting a child control, and for
  15691. firing the Enter/Leave events.
  15692. * ContainerControl.cs: When a control is activated fire the
  15693. enter/leave events.
  15694. - Don't wrap when processing the tab key, so that focus can be
  15695. moved outside of the container.
  15696. - Use the correct active control
  15697. 2006-07-11 Jackson Harper <[email protected]>
  15698. * ComboBox.cs: Remove some debug code that was blinding me.
  15699. * UpDownBase.cs: These controls actually aren't implicit, they are
  15700. visible to the user.
  15701. 2006-07-10 Chris Toshok <[email protected]>
  15702. * DataGrid.cs: move back to the is_adding boolean field. god i
  15703. hate this is_editing/is_adding/is_changing stuff.
  15704. 2006-07-10 Chris Toshok <[email protected]>
  15705. * DataGridTableStyle.cs: just check if the property type is bool.
  15706. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  15707. Don't use CanRenderType.
  15708. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  15709. if our text == NullText. Remove CanRenderType.
  15710. * DataGridBoolColumn.cs: nuke CanRenderType.
  15711. * DataGrid.cs: reenable some code to end the current edit inside
  15712. of set_CurrentCell. This fixes the other 1.1.16 regression.
  15713. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  15714. Also, remove the visible_row_count arg from CalcRowHeaders, since
  15715. we don't need to worry about the actual height of the area.
  15716. 2006-07-10 Chris Toshok <[email protected]>
  15717. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  15718. mode, just return.
  15719. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  15720. the real sense of the IsInEditOrNavigateMode property (true =
  15721. navigate, false = edit). Also, update OnKeyPress to reflect this.
  15722. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  15723. column style exists, we still need to set its property descriptor
  15724. to match up with our list manager.
  15725. 2006-07-10 Chris Toshok <[email protected]>
  15726. * ThemeWin32Classic.cs: implement the new row/header painting
  15727. approach. The parent row painting will likely go away and
  15728. replaced with label controls, but the rest seems to work ok (and
  15729. efficiently).
  15730. * Theme.cs: change the way we draw datagrid rows. we don't draw
  15731. the row headers as a block now. Instead we draw them in the
  15732. normal draw-row loop. Add some calls for drawing parent rows and
  15733. relation rows.
  15734. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  15735. a default table style. Set the defaults from ThemeEngine.Current,
  15736. not SystemColors. Fix lots of misc issues with property setters.
  15737. * DataGrid.cs: move loads of style information out of this class
  15738. as it's being duplicated with DataGridTableStyle. keep track of a
  15739. special DataGridTableStyle for the properties we used to mirror
  15740. here. Switch all the style properties to access this table style
  15741. instead of instance fields of this class. Also add a internal
  15742. class to represent parent rows (more needs to be stored here, like
  15743. the selection state from the parent table, as well as the
  15744. expansion state.) Also, for datasources with relations, do the
  15745. right thing for collapse/expand, and add support for the
  15746. navigation/parent row buttons.
  15747. Lastly, fix the crash in the 1.1.16 build.
  15748. * GridTableStylesCollection.cs: make the explicit interface
  15749. implementations call the class's methods as opposed to duplicating
  15750. them.
  15751. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  15752. 0 so the text doesn't jump around when we move the cursor.
  15753. 2006-07-10 Jackson Harper <[email protected]>
  15754. * TextBoxBase.cs:
  15755. * ListBox.cs: Match MS's ToString (this makes debugging focus
  15756. stuff infinitely easier).
  15757. 2006-07-10 Jackson Harper <[email protected]>
  15758. * Control.cs (SelectNextControl): When checking the control's
  15759. parent use this instead of ctrl.parent so that null can be passed
  15760. to SelectNextControl. (I have unit tests for this).
  15761. - Remove unused var.
  15762. 2006-07-10 Chris Toshok <[email protected]>
  15763. * CurrencyManager.cs: correct one regression, the removal of the
  15764. finalType field. Also, add a MonoTODO on CanAddRows, implement
  15765. Refresh() correctly, and fix some event emission in
  15766. ListChangedHandler.
  15767. 2006-07-07 Alexander Olk <[email protected]>
  15768. * FileDialog.cs: Don't use brackets for new folders if they exist
  15769. under *nix. Instead use -(number of existing folders +1).
  15770. 2006-07-07 Alexander Olk <[email protected]>
  15771. * FileDialog.cs:
  15772. - Fixed really nasty bug #78771
  15773. - Don't block the whole GUI when reading directories with a lot of
  15774. entries. Use an other thread instead and call BeginInvoke to
  15775. update the ListView in MWFFileView
  15776. 2006-07-07 Chris Toshok <[email protected]>
  15777. * Control.cs (Dispose): release any Capture when disposing.
  15778. 2006-07-07 Chris Toshok <[email protected]>
  15779. * LinkLabel.cs (Select): if we chain up to the parent, set
  15780. focused_index to -1 so we'll search for the first available link
  15781. the next time the user tabs into us. Also, if the direction is
  15782. backward and focused_index == -1, start the search from the last
  15783. element.
  15784. 2006-07-07 Chris Toshok <[email protected]>
  15785. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  15786. is beyond the end of the text, don't do anything.
  15787. (CreateLinkPieces): set our ControlStyles.Selectable based on
  15788. whether or not we have any links.
  15789. (Link.Invalidate): use a loop instead of foreach.
  15790. (Link.set_Start): null out owner.sorted_links so it'll be
  15791. recreated by CreateLinkPieces.
  15792. 2006-07-06 Chris Toshok <[email protected]>
  15793. * LinkLabel.cs: revert the SetStyle change.
  15794. 2006-07-06 Chris Toshok <[email protected]>
  15795. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  15796. (OnEnableChanged): s/Refresh/Invalidate
  15797. (OnGotFocus): if we have a focused index already, refocus it (so
  15798. if we mouse out/in to the window it'll focus the right link).
  15799. (OnKeyDown): move the tab handling out of here.
  15800. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  15801. when we lose focus.
  15802. (OnMouseDown): don't Capture here - Control handles it. Also,
  15803. focus the active link.
  15804. (OnMouseUp): don't deal with Capture.
  15805. (OnPaintBackgroundInternal): remove.
  15806. (OnTextAlignChanged): CreateLinkPieces before calling the
  15807. superclass's method.
  15808. (OnTextChanged): call CreateLinkPieces before calling superclass's
  15809. method.
  15810. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  15811. move around.
  15812. (Select): implement this, moving the selection between different
  15813. links, and call parent.SelectNextControl if we don't have another
  15814. link to focus in the given direction.
  15815. (CreateLinkPieces): call Invalidate instead of Refresh.
  15816. 2006-07-06 Chris Toshok <[email protected]>
  15817. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  15818. new LinkLabel internals.
  15819. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  15820. over pieces looking for active/focused/etc links. also, deal with
  15821. runs of text (and links) with embedded \n's in them, and use
  15822. MeasureCharacterRanges instead of MeasureString to figure out the
  15823. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  15824. two-step.
  15825. 2006-07-04 Jackson Harper <[email protected]>
  15826. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  15827. XKB or key auto repeat, do it manually. Without key auto repeat,
  15828. when a key is held down we get key press, key release, key press,
  15829. key release, ... with auto repeat we get key press, key press, key
  15830. press ..., and then a release when the key is actually released.
  15831. 2006-07-03 Jackson Harper <[email protected]>
  15832. * TabControl.cs:
  15833. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  15834. rules, they are always control color regardless of the background
  15835. color.
  15836. 2006-07-02 Alexander Olk <[email protected]>
  15837. * FileDialog.cs: Added internal class MWFConfig.
  15838. Removed Registry support and replaced it with support for the new
  15839. MWFConfig class. See MWFConfig comments for more information.
  15840. 2006-06-30 Alexander Olk <[email protected]>
  15841. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  15842. rectangle. Added some patches from eno from bug #78490 and fixed
  15843. the arrow position for small up and down CPDrawScrollButtons.
  15844. 2006-06-30 Jackson Harper <[email protected]>
  15845. * InternalWindowManager.cs: Remove some debug code.
  15846. * Form.cs: When an MdiParent is set to null, the window is
  15847. "detatched" and becomes a normal window.
  15848. * MdiClient.cs: Don't bring the new child form to the front until
  15849. it is activated (setting it as active does this), this makes the
  15850. previously active forms titlebar get redrawn as inactive.
  15851. 2006-06-29 Peter Dennis Bartok <[email protected]>
  15852. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  15853. with later controls
  15854. 2006-06-29 Mike Kestner <[email protected]>
  15855. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  15856. arrow in keynav state. Fixes #78682.
  15857. 2006-06-28 Atsushi Enomoto <[email protected]>
  15858. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  15859. order (fixes #78393)
  15860. 2006-06-28 Jonathan Pobst <[email protected]>
  15861. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  15862. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  15863. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  15864. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  15865. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  15866. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  15867. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  15868. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  15869. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  15870. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  15871. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  15872. values)
  15873. 2006-06-28 Mike Kestner <[email protected]>
  15874. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  15875. 2006-06-28 Atsushi Enomoto <[email protected]>
  15876. * PropertyGrid.cs,
  15877. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  15878. item lines from other area (It also makes BackColor consistent and
  15879. compatible with .NET). Fixed bug #78564.
  15880. 2006-06-28 Jonathan Chambers <[email protected]>
  15881. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  15882. Patch from Eno for #78555.
  15883. 2006-06-27 Chris Toshok <[email protected]>
  15884. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  15885. * DataGridColumnStyle.cs: same.
  15886. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  15887. * DataGridDrawingLogic.cs: nuke.
  15888. 2006-06-27 Chris Toshok <[email protected]>
  15889. * DataGridTableStyle.cs: clean up the constructors, and build the
  15890. list of child relations for this table. I have no idea if this is
  15891. where we should be doing it (it probably isn't), but since we're
  15892. already iterating over the properties..
  15893. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  15894. struct and array for keeping track of row information, similar to
  15895. what's shown in a hack on
  15896. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  15897. * Theme.cs: be consistent about the naming of DataGrid methods,
  15898. prefering ColumnWidths and RowHeights over columnsWidths and
  15899. RowsHeights.
  15900. * ThemeWin32Classic.cs: same, and also add support for variable
  15901. sized rows (and the +/- expansion icons for related rows).
  15902. 2006-06-27 Peter Dennis Bartok <[email protected]>
  15903. * TextBoxBase.cs: Applied Eno's patch from #78660
  15904. 2006-06-27 Peter Dennis Bartok <[email protected]>
  15905. * Form.cs (ScaleCore): We don't want to scale our form if it's
  15906. state is minimized or maximized, but we still need to scale our
  15907. child windows. Also, added try/finally block to ensure layout
  15908. gets reset (Fixes #78697)
  15909. 2006-06-27 Peter Dennis Bartok <[email protected]>
  15910. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  15911. 2006-06-27 Peter Dennis Bartok <[email protected]>
  15912. * Form.cs: Fixed c+p error and added check to resize form if minimum
  15913. size is bigger than current size (Fixes #78709)
  15914. 2006-06-26 Peter Dennis Bartok <[email protected]>
  15915. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  15916. 2006-06-26 Mike Kestner <[email protected]>
  15917. * ComboBox.cs: only do Keypress handling in the combo when there
  15918. are items in the collection. Fixes #78710.
  15919. 2006-06-26 Chris Toshok <[email protected]>
  15920. * Binding.cs: make this work bi-directionally. also, clear up
  15921. other mixups between Push/Pull Data (e.g. we're supposed to pull
  15922. data when validating).
  15923. * BindingManagerBase.cs: trim some fully qualified collection
  15924. types.
  15925. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  15926. 2006-06-23 Chris Toshok <[email protected]>
  15927. * PropertyManager.cs: It appears (according to the unit tests)
  15928. that PropertyManager doesn't use
  15929. PropertyDescriptor.AddValueChanged to track propery value changes
  15930. in its datasource, but uses the same scheme as Binding, where it
  15931. looks for a <Property>Changed event and binds to it.
  15932. Also, according to the docs, IsSuspended always returns false for
  15933. a property manager with a non-null datasource.
  15934. 2006-06-22 Peter Dennis Bartok <[email protected]>
  15935. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  15936. need to update the actual DialogResult. (Fixes #78613)
  15937. 2006-06-22 Peter Dennis Bartok <[email protected]>
  15938. * Form.cs (ShowDialog): Release any captures before running the
  15939. new message pump (fixes #78680)
  15940. 2006-06-22 Mike Kestner <[email protected]>
  15941. * ListView.cs: Layout column widths properly in details mode even
  15942. if HeaderStyle.None is set. Fixes #78691.
  15943. 2006-06-21 Peter Dennis Bartok <[email protected]>
  15944. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  15945. 2006-06-21 Peter Dennis Bartok <[email protected]>
  15946. * Control.cs (ContainsFocus): Using new driver method to get focused
  15947. window, instead of trying to use internal tracking var, which can
  15948. recursion issues (Fixes #78685)
  15949. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  15950. XplatUIWin32.cs: Added GetFocus method to return focused window
  15951. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  15952. * ColorDialog.cs: when the mouse button is pressed inside the color
  15953. matrix, don't let the cursor move out of it until the button is
  15954. released, which is the behavior on windows. Changed 'colours' by
  15955. 'colors' to use the same word consistently.
  15956. 2006-06-21 Chris Toshok <[email protected]>
  15957. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  15958. child relation and back, using a stack). Also, remove
  15959. GetDataSource and the code that calls it - it's not needed. Also,
  15960. track CurrencyManager.ListName's removal.
  15961. 2006-06-21 Chris Toshok <[email protected]>
  15962. * CurrencyManager.cs: push some of the original type checking from
  15963. BindingContext.CreateBindingManager to here, and remove some of
  15964. the finalType stuff. Need more tests to make sure I've got the
  15965. ListName part right, and we might need more in SetDataSource.
  15966. * PropertyManager.cs: add a ctor that takes just the datasource,
  15967. and no property name. Make SetDataSource work with a null
  15968. property_name, and make Current return the data_source if the
  15969. property descriptor is null. this makes 'string foo = "hi";
  15970. BindingContext[foo].Current' return "hi" as it should.
  15971. * RelatedCurrencyManager.cs: make this code more generic - there's
  15972. no reason the parent manager has to be CurrencyManager, and
  15973. there's no reason to pass the DataRelation. It suffices to use a
  15974. BindingManagerBase and PropetyDescriptor.
  15975. * RelatedPropertyManager.cs: make a similar change here.
  15976. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  15977. flower I knew it could be.
  15978. 2006-06-20 Chris Toshok <[email protected]>
  15979. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  15980. data in the source has changed and we need to update the control,
  15981. so s/PullData/PushData.
  15982. * CurrencyManager.cs: Refresh is meant to update the control from
  15983. data in the datasource. So, s/PullData/PushData.
  15984. * BindingContext.cs: add more ugliness (we weren't handling the
  15985. case where data_source = DataTable and data_member = column_name).
  15986. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  15987. from the perspective of the datasource. PullData pulls from the
  15988. control, PushData pushes to the control.
  15989. 2006-06-20 Chris Toshok <[email protected]>
  15990. * BindingContext.cs: rewrite the CreateBindingManager code to
  15991. handle navigation paths more or less properly. This could
  15992. definitely stand some more work, in particular to push the
  15993. recursion up to the toplevel. But that relies on fixes in other
  15994. places (System.Data comes to mind).
  15995. Also, move to a flat hashtable (and encode the twolevel nature of
  15996. the dictionary into the hash key). This lets us implement the
  15997. IEnumerable.GetEnumerator method.
  15998. * RelatedCurrencyManager.cs: new class. Update our view based on
  15999. our relation and our parent CurrencyManager's position.
  16000. * CurrencyManager.cs: split out some logic from the ctor into
  16001. SetView, so it can be called from the new RelatedCurrencyManager
  16002. subclass.
  16003. * RelatedPropertyManager.cs: new class. Update our datasource
  16004. based on the position of our parent CurrencyManager.
  16005. * PropertyManager.cs: split out some logic from the ctor into
  16006. SetDataSource, so it can be called from the new RelatedDataSource
  16007. subclass. Also, make the Current getter return the value
  16008. of the PropertyDescriptor, not the data_source.
  16009. * Binding.cs: no need to duplicate the string splitting code here.
  16010. 2006-06-19 Peter Dennis Bartok <[email protected]>
  16011. * Control.cs:
  16012. - set_Enabled: OnEnabledChanged is not called if the inherited state
  16013. of the control is not altered, even though we might be changing the
  16014. internal state of the control (#78458)
  16015. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  16016. OnEnabledChanged, to allow easy altering of any child window state
  16017. - OnEnabledChanged: Added code to enable/disable driver window state
  16018. - OnParentEnabledChanged: Instead of firing the event, call
  16019. OnEnabledChanged, which will fire the event and also a) set driver
  16020. window state and pass the enabled state to any grandchildren (#78458)
  16021. 2006-06-19 Jackson Harper <[email protected]>
  16022. * InternalWindowManager.cs: We don't set the cursor explicitly
  16023. thats done via the response to NCHITTESTs.
  16024. - Don't need to adjust for titlebar heights anymore, the
  16025. coordinates are coming in the correct coordinates now (see peters
  16026. last patch).
  16027. 2006-06-19 Peter Dennis Bartok <[email protected]>
  16028. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  16029. being translated relative to whole window, instead of client window.
  16030. That caused broken offsets on mouseclick (and caused gas for our
  16031. InternalWindowManager)
  16032. 2006-06-15 Peter Dennis Bartok <[email protected]>
  16033. * TextControl.cs:
  16034. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  16035. - Undo(): Added replay of cursor move on DeleteChars action; added
  16036. calling Undo() again if a recorded cursor move is invalid (to
  16037. ensure that some action is performed on Undo)
  16038. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  16039. 2006-06-16 Jackson Harper <[email protected]>
  16040. * MdiClient.cs: Instead of just sizing maximized windows when
  16041. there is a resize we also have to adjust the Y of minimized
  16042. windows, so they stay pinned to the bottom of the mdi container.
  16043. - Eliminate separate tracking of the active control, we can just
  16044. get this from the controls collection.
  16045. - Paint the decorations for the newly activated titlebar so we get
  16046. a pretty blue bar.
  16047. * InternalWindowManager.cs:
  16048. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  16049. even if they are a tool window.
  16050. 2006-06-15 Peter Dennis Bartok <[email protected]>
  16051. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  16052. undo buffer, these can happen when text was deleted and the cursor
  16053. was recorded first. Since we will also have a recorded cursor
  16054. after the delete this is not an issue. (Fixes #78651)
  16055. 2006-06-14 Peter Dennis Bartok <[email protected]>
  16056. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  16057. instead properly track control states internally (allows us to
  16058. remove is_selected from Control)
  16059. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  16060. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  16061. whose width is not a multiple of 8.
  16062. 2006-06-13 Jackson Harper <[email protected]>
  16063. * MdiClient.cs: Only maximize the next child if the current one
  16064. is maximized.
  16065. 2006-06-13 Chris Toshok <[email protected]>
  16066. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  16067. modified. Also, guard against grid or grid_drawing being null in
  16068. Invalidate.
  16069. * DataGrid.cs: Reformat tons of getters/setters. In the
  16070. DataMember setter, just call SetNewDataSource instead of
  16071. duplicating some of its functionality. In SetNewDataSource, don't
  16072. check ListManager for null, since the property getter creates the
  16073. object if needed.
  16074. * DataGridTableStyle.cs: don't set TableStyle or call
  16075. SetDataGridInternal on the column here, it's done in
  16076. GridColumnStylesCollection.Add.
  16077. * GridColumnStylesCollection.cs: fix all the explicit interface
  16078. implementations to just call our methods. Nuke AddInternal() and
  16079. move the body of it to Add(). Also, add a call to
  16080. column.SetDataGridInternal to Add().
  16081. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  16082. base()+duplicate code. Also, use the Format property instead of
  16083. format to generate an Invalidate ala MS. Lastly, create the
  16084. textbox here, unconditionally.
  16085. (set_Format): call Invalidate.
  16086. (get_TextBox): no need to call EnsureTextBox.
  16087. (Commit): remove the message box.
  16088. (Edit) remove the call to EnsureTextBox.
  16089. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  16090. (EnterNullValue): no need to check textbox for null.
  16091. (HideEditBox): no need to check textbox for null.
  16092. (SetDataGridInColumn): add the textbox to the grid's controls.
  16093. (EnsureTextBox): nuke.
  16094. 2006-06-13 Jackson Harper <[email protected]>
  16095. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  16096. and redraw the buttons when needed. Unhook when the window is
  16097. unmaximized.
  16098. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  16099. needs this so that it can redraw its buttons when the menu is
  16100. repainted.
  16101. * InternalWindowManager.cs:
  16102. * Form.cs: The method order has changed for DrawMaximizedButtons,
  16103. so that it can be a PaintEventHandler.
  16104. 2006-06-13 Jackson Harper <[email protected]>
  16105. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  16106. window is activated and maximized, even if it wasn't before.
  16107. - When a new window is activated repaint the decorations of the
  16108. old one, so that it no longer has the Active "look" (the blue
  16109. titlebar).
  16110. * InternalWindowManager.cs: Open up CreateButtons to base classes
  16111. so they can recreate the buttons on state changes.
  16112. - If a window is maximized give it all three buttons
  16113. * MdiWindowManager.cs: Create the titlebar buttons when the state
  16114. is changed, this is needed because a toolwindow will not have all
  16115. three buttons until it is maximized.
  16116. 2006-06-13 Atsushi Enomoto <[email protected]>
  16117. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  16118. Fixed bug #78609.
  16119. 2006-06-12 Jackson Harper <[email protected]>
  16120. * KeysConverter.cs: Make sure we handle the Ctrl special case
  16121. if its the only key.
  16122. 2006-06-12 Jackson Harper <[email protected]>
  16123. * Theme.cs: Add a method to get the size of a managed window
  16124. toolbar button.
  16125. * InternalWindowManager.cs: Remove the ButtonSize property, this
  16126. should be retrieved from the theme.
  16127. * MdiWindowManager.cs: Get the button size from the theme
  16128. * ThemeWin32Classic.cs: Make the method to get the managed window
  16129. titlebar button size public.
  16130. - Handle the different button sizes of maximized toolwindows
  16131. (should match any maximized window).
  16132. - Get the titlebar height from the theme, not the WM (which gets
  16133. it from the theme).
  16134. 2006-06-12 Jackson Harper <[email protected]>
  16135. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  16136. event down to the mdi window manager.
  16137. - Expose some extra stuff to base classes
  16138. - Make sure to end the Capture on an NC Mouse up, so that we can
  16139. get double clicks properly, and the sizing doens't stick.
  16140. - When doing PointToClient contain it in the workable desktop
  16141. area, this prevents windows from changing size when the cursor is
  16142. pulled outside of the working area while sizing.
  16143. * MdiWindowManager.cs: When we get a double click maximize the
  16144. window.
  16145. - Reset the cursor after handling mode changes.
  16146. 2006-06-12 Peter Dennis Bartok <[email protected]>
  16147. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  16148. current desktop, instead of just assuming a 0, 0 origin. This
  16149. is needed for our internal window manager, to know the top
  16150. margin of the desktop
  16151. 2006-06-12 Chris Toshok <[email protected]>
  16152. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  16153. we need this to get rid of the selected background in the bool
  16154. column.
  16155. (CancelEditing): move the ConcedeFocus call to above the Abort
  16156. call. Also, set is_changing to false and invalidate the row
  16157. header if we were changing before.
  16158. (ProcessKeyPreviewInternal): remove, since noone outside this
  16159. class calls it anymore. Roll the code into ProcessKeyPreview.
  16160. (EndEdit): remove the internal version.
  16161. (InvalidateCurrentRowHeader): make private.
  16162. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  16163. Keys.Escape handling (and with it the last call to
  16164. DataGrid.EndEdit from outside the class.)
  16165. 2006-06-12 Chris Toshok <[email protected]>
  16166. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  16167. (OnKeyPress): set isedit to true.
  16168. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  16169. already handled by the grid.
  16170. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  16171. right. ugh.
  16172. (set_DataSource): SetDataSource always returns true, so stop
  16173. putting it in an if statement.
  16174. (EndEdit): get rid of some {}'s
  16175. (ProcessGridKey): return true in case Keys.Escape.
  16176. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  16177. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  16178. PositionChanged, stopped connecting to CurrentChanged.
  16179. (GetDataSource): simplify this a bunch.
  16180. (SetDataSource): change return type from bool to void.
  16181. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  16182. to this, and make sure we don't set ListManager.Position inside
  16183. set_CurrentCell.
  16184. (OnListManagerItemChanged): if we're passed an actual index,
  16185. redraw that row.
  16186. * CurrencyManager.cs (set_Position): don't call PullData here.
  16187. 2006-06-09 Jackson Harper <[email protected]>
  16188. * TreeNode.cs: Recalculate the visible order before doing the
  16189. Expand/Collapse Below calls, because those calls generate an
  16190. expose.
  16191. - Reduce calls to the TreeView property, which is mildly expensive
  16192. by using a local var.
  16193. * Form.cs: Layout the MDI child windows when creating the parent
  16194. form.
  16195. - Don't use the internal constructor anymore
  16196. * MdiClient.cs: use the parent form width/height (if available)
  16197. when laying out the child windows, we do this because the
  16198. mdiclient isn't docked yet when the initial layout is done.
  16199. - Don't need an internal constructor anymore.
  16200. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  16201. * FileDialog.cs: handle access errors when trying to create a folder
  16202. or changing to a directory. No need to initialize out parameters.
  16203. 2006-06-08 Alexander Olk <[email protected]>
  16204. * FileDialog.cs: Append a number when creating a new folder if the
  16205. folder already exists (use parenthesis instead of square brackets)
  16206. 2006-06-08 Alexander Olk <[email protected]>
  16207. * FileDialog.cs:
  16208. - Disabled registry support for windows and added better registry
  16209. error checking for other systems (need to investigate why it
  16210. works perfectly on my system)
  16211. - If a folder already exist show an error MessageBox instead of
  16212. trying to create an indexed name.
  16213. - Fixed a non intentional typo.
  16214. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  16215. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  16216. 2006-06-08 Alexander Olk <[email protected]>
  16217. * FileDialog.cs: When creating a new folder don't crash if the
  16218. folder already exists.
  16219. 2006-06-08 Alexander Olk <[email protected]>
  16220. * FileDialog.cs: Allmost a complete rewrite.
  16221. - added a "virtual" file system that handles the differences
  16222. between unix and windows file systems (especially the directory
  16223. structure). Moved most of the directory and file handling code
  16224. into the vfs.
  16225. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  16226. UnixFileSystem and FSEntry.
  16227. - Recently used folder/directory, size, location and used file names
  16228. (file name ComboBox) are now stored in the registry and get read
  16229. before the dialog shows up (fixes part 6 of bug #78446).
  16230. - Creation of new folders/directories is now possible (context menu
  16231. or ToolBar). Added TextEntryDialog for this that fills in the gap
  16232. until ListView.LabelEdit works.
  16233. - Fixed cursor handling (bug #78527) and focus handling for
  16234. PopupButtonPanel
  16235. - Various "Search in" ComboBox enhancements. The content of the
  16236. dropdown listbox now almost matches ms.
  16237. - Changed the behaviour when the user switches to SpecialFolder
  16238. Recent to show the ListView in View.Details.
  16239. - Beside using the ToolBar to change the View property of the
  16240. file ListView it is now possible to use the context menu too.
  16241. 2006-06-08 Alexander Olk <[email protected]>
  16242. * ComboBox.cs: Don't create a new ObjectCollection when an item
  16243. gets inserted. Just insert the item in the existing object_items
  16244. ArrayList.
  16245. 2006-06-08 Jackson Harper <[email protected]>
  16246. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  16247. that the treeview and root node checks are done also, this fixes a
  16248. regression i caused in the unit tests.
  16249. 2006-06-07 Wade Berrier <[email protected]>
  16250. * RichTextBox.cs: More ISO8859-1 -> unicode
  16251. 2006-06-07 Mike Kestner <[email protected]>
  16252. * ComboBox.cs : use items to hold highlight/selection so that
  16253. collection insertions don't require synchronization.
  16254. 2006-06-07 Jackson Harper <[email protected]>
  16255. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  16256. routine. We now always keep the sized edge at the cursor instead
  16257. of computing movement and adjusting rects. There is one buglet
  16258. with this method though when the cursor is moved over area that
  16259. the window can not expand too (such as the toolbars on the desktop).
  16260. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  16261. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  16262. here. Fixes crash on startup in AlbumSurfer.
  16263. 2006-06-07 Peter Dennis Bartok <[email protected]>
  16264. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  16265. values
  16266. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  16267. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  16268. statement to avoid calling XNextEvent which will block if another thread
  16269. took the event that we were expecting. Fixes bug #78605.
  16270. 2006-06-07 Mike Kestner <[email protected]>
  16271. * ListView.cs : isolated checkbox clicking from the selection logic.
  16272. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  16273. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  16274. * Form.cs: Check that the value passed to Form.DialogResult
  16275. is a valid enum value.
  16276. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  16277. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  16278. Computer'. Clicking it in the network view goes to 'My Computer'.
  16279. Added CIFS filesystem type. Display the mount point of filesystems.
  16280. Avoid duplicate mount points (happens for me with CIFS);
  16281. 2006-06-06 Jackson Harper <[email protected]>
  16282. * InternalWindowManager.cs: Draw the maximized windows buttons
  16283. when resizing.
  16284. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  16285. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  16286. all other dialogs. Fixes bug #78585.
  16287. 2006-06-06 Mike Kestner <[email protected]>
  16288. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  16289. Only invalidate checkbox on checkstate changes to avoid flicker.
  16290. * ListBox.cs : avoid unselect/select when clicking selected item.
  16291. avoid reselection flicker for already multiselected items.
  16292. Fixes #78382.
  16293. 2006-06-06 Jackson Harper <[email protected]>
  16294. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  16295. the parent form so that the menu is removed if needed.
  16296. 2006-06-06 Mike Kestner <[email protected]>
  16297. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  16298. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  16299. 2006-06-06 Mike Kestner <[email protected]>
  16300. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  16301. 2006-06-06 Jackson Harper <[email protected]>
  16302. * Control.cs: Use the property (instead of the field) to get the
  16303. default cursor so it is instantiated correctly.
  16304. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  16305. resizes so we need to manually repaint the window decorations here.
  16306. - Set the titlebar button locations as soon as they are created,
  16307. otherwise they are not set correctly on win32.
  16308. 2006-06-06 Chris Toshok <[email protected]>
  16309. * CurrencyManager.cs (set_Position): call PullData before
  16310. OnCurrentChanged.
  16311. (AddNew): after calling IBindingList.AddNew, update our
  16312. listposition, and call OnCurrentChanged/OnPositionChanged (without
  16313. calling PullData).
  16314. (OnCurrentChanged): remove the call to PullData from here.
  16315. (OnItemChanged): remove the call to PushData from here.
  16316. (OnPositionChanged): change the test from == null to != null to
  16317. match the other methods.
  16318. (ListChangedHandler): the grossest part of the patch. Implement
  16319. this such that it passes the unit tests in CurrencyManagerTest and
  16320. the output more or less matches that of MS's implementation.
  16321. 2006-06-06 Mike Kestner <[email protected]>
  16322. * ListView.cs : only update check state on single click.
  16323. * ThemeWin32Classic.cs : fix focus drawing for details view without
  16324. fullrowselect. Fixes #78454.
  16325. * XplatUIX11.cs : fix for double click emission.
  16326. 2006-06-05 Jonathan Chambers <[email protected]>
  16327. * PropertyGridView.cs : Applied Atsushi's patch to fix
  16328. font dialog bug (#78197).
  16329. 2006-06-05 Jackson Harper <[email protected]>
  16330. * TreeNode.cs: Compute the next node for expanding/collapsing
  16331. correctly. We now factor in nodes without a NextNode
  16332. correctly. (Fixes somes cases in nunit-gui).
  16333. * InternalWindowManager.cs: Set the bounds when updating the
  16334. virtual position of a tool window.
  16335. 2006-06-05 Chris Toshok <[email protected]>
  16336. * DataGrid.cs: rename cached_currencymgr to list_manager.
  16337. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  16338. some.
  16339. (CurrentRow, CurrentColumn): single accessors so we can make the
  16340. cursor movement code a lot easier to understand.
  16341. (CurrentRowIndex): implement this in terms of CurrentRow.
  16342. (BeginEdit): clean this up a bit.
  16343. (CancelEditing): sort out the is_editing/is_changing/is_adding
  16344. stuff a little.
  16345. (EndEdit): minor changes.
  16346. (OnKeyDown): add a comment about a (most likely) unnecessary
  16347. check.
  16348. (OnMouseDown): cancel editing when we click on a row header. And
  16349. use the CurrentRow setter, not CurrentCell.
  16350. (ProcessDialogKey): directly call ProcessGridKey.
  16351. (UpdateSelectionAfterCursorMove): factor out this common block of
  16352. code (it's used everywhere that we move the cursor by updating row
  16353. or column).
  16354. (ProcessGridKey): pretty substantial overhaul. Use the
  16355. CurrentRow/CurrentColumn properties to make the code a lot more
  16356. readable. Only use the CurrentCell property when we have to
  16357. modify both row and column at once. Tab behavior is still broken,
  16358. and Delete is untested.
  16359. (Select): if we have no selected rows, set selection_start to
  16360. @row.
  16361. (EditCurrentCell): rename EditCell this. It was only ever invoked
  16362. with CurrentCell as the arg, so drop the arg and rename it.
  16363. * DataGridColumnStyle.cs: clean up the constructors a little, and
  16364. drop CommonConstructor().
  16365. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  16366. actually get notified when the user hits it.
  16367. (ProcessKeyMessage): *substantially* simplify this method.
  16368. There's no reason (that I can see) for the textbox to be making
  16369. calls into the datagrid at all. Remove all of them but the ones
  16370. for Enter handling. those will take some more work.
  16371. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  16372. calling HideEditBox.
  16373. (HideEditBox): if we have an active textbox, render it invisible
  16374. without causing a re-layout of the datagrid.
  16375. 2006-06-05 Mike Kestner <[email protected]>
  16376. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  16377. collection changes by resetting it to Items[0]. Fixes #78587.
  16378. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  16379. * MessageBox.cs: if the height of the text is larger than the icon_size,
  16380. use that. Fixes bug #78575.
  16381. 2006-06-05 Jackson Harper <[email protected]>
  16382. * TreeView.cs: Fix line drawing when scrolling. To do this each
  16383. node is basically responsible for drawing its entire horizontal
  16384. area. When drawing a node it draws its parent node lines if
  16385. needed.
  16386. - Adjust the clip area to the viewport rectangle
  16387. - Fix Left/Right key handling to match MS. (It expand/collapses
  16388. and moves to parents/first child but does not move selection to
  16389. sibling nodes).
  16390. - Fix SetTop to work with new bound calculation code
  16391. - When scrollbars are no longer needed we need to reset scrolling
  16392. vars and recalculate the visible order so the redraw is correct
  16393. * TreeNode.cs: We can't expand/collapse nodes with no children.
  16394. 2006-06-03 John Luke <[email protected]>
  16395. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  16396. so the colors work without dev packages
  16397. 2006-06-02 Peter Dennis Bartok <[email protected]>
  16398. * Control.cs
  16399. - Select: Implemented to just use activate. Seems to match MS
  16400. behaviour closest. Documented to only do actual control walking
  16401. based on it's parameters if in a container control so I moved
  16402. the code there.
  16403. - Removed selection check logic from our internal Select() method
  16404. * ContainerControl.cs:
  16405. - Select: Moved selection logic from Control here, since MS documents
  16406. that containers obey the bool arguments. No longer calling base
  16407. 2006-06-02 Jackson Harper <[email protected]>
  16408. * TreeView.cs: If the selected node isn't changed when we get
  16409. focus update the previously selected node so that we see the
  16410. selection box.
  16411. 2006-06-02 Mike Kestner <[email protected]>
  16412. * ComboBox.cs: restructure grab and general mouse event handling.
  16413. Make the composite control raise mouse events like it was a single
  16414. control for leaves/enters/motion/up/down events. fix dropdown list
  16415. coordinate mangling and refactor it into the scrollbar subclass to
  16416. reduce code duplication. Fixes #78282 #78361 and #78457.
  16417. 2006-06-02 Mike Kestner <[email protected]>
  16418. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  16419. automatically in the Control.WndProc.
  16420. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  16421. * FileDialog.cs: fix crash when running SharpChess, which sets the
  16422. FilterIndex to 2 with only one Filter.
  16423. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  16424. * ToolBar.cs: add SizeSpecified property.
  16425. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  16426. try to figure out our real size, otherwise fallback to what the
  16427. container says.
  16428. 2006-06-01 Peter Dennis Bartok <[email protected]>
  16429. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  16430. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  16431. up the event
  16432. 2006-06-01 Mike Kestner <[email protected]>
  16433. * ListView.cs: revamp the focus management in ListView. It still
  16434. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  16435. better than not handling focus at all. Will revisit when pdb feels
  16436. the general focus handling is solid. Fixes #78526.
  16437. 2006-06-01 Jackson Harper <[email protected]>
  16438. * TreeView.cs: Set the default border style in the constructor.
  16439. - Move painting to use OnPaintInternal instead of capturing
  16440. WM_PAINT, this is the correct way of doing things
  16441. - UpdateBelow shouldn't invalidate the scrollbar area
  16442. - Cap the top on update below in case the node was above the top
  16443. of the viewport rectangle.
  16444. - ExpandBelow and Collapse below need to obey Begin/End Update.
  16445. * TreeNode.cs: Make is_expanded internal so the treenode
  16446. collection can change it without firing the whole event chain.
  16447. * TreeNodeCollection.cs: When clearing all the child nodes make
  16448. sure to recalc the visible order.
  16449. - Improve algo for remove the top node
  16450. 2006-06-01 Peter Dennis Bartok <[email protected]>
  16451. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  16452. SendMessage directly calling window procedures, which in turn might
  16453. call SetFocus()
  16454. 2006-06-01 Peter Dennis Bartok <[email protected]>
  16455. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  16456. has focus (works around X11 sending a FocusIn after our SetFocus)
  16457. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  16458. 2006-06-01 Alexander Olk <[email protected]>
  16459. * Mime.cs: Fix for the NET_2_0 build.
  16460. NameValueCollection needs StringComparer now.
  16461. 2006-05-31 Chris Toshok <[email protected]>
  16462. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  16463. return (via an out parameter) the starting X of the column.
  16464. (UpdateVisibleColumn): track change to FromPixelToColumn.
  16465. (HitTest): add a ColumnResize case here.
  16466. (DrawResizeLine): new function, probably poorly named.
  16467. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  16468. only need to keep one reference.
  16469. (set_ListManager): same.
  16470. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  16471. Also, add support for HitTestType.ColumnResize.
  16472. (OnMouseMove): add column resize behavior here, and change the
  16473. cursor to the correct one as we move around the datagrid.
  16474. (OnMouseUp): terminate the column resize if we're resizing.
  16475. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  16476. for the current cell.
  16477. (ConnectListManagerEvents): use cached_currencymgr.
  16478. (DisconnectListManagerEvents): fill this in, using
  16479. cached_currencymgr.
  16480. (SetCurrentCell): remove cached_currencymgr_events handling.
  16481. (SetDataMember): only call DisconnectListManagerEvents if
  16482. cached_currencymgr is != null.
  16483. (SetDataSource): same.
  16484. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  16485. cached_currencymgr.
  16486. 2006-05-31 Jackson Harper <[email protected]>
  16487. * BindingManagerBase.cs: Remove somedebug code that creeped into
  16488. SVN.
  16489. * TreeNode.cs: We get the indent level dynamically right now, so
  16490. don't track it as a member.
  16491. * TreeNodeCollection.cs: Make sure all nodes added to the list
  16492. have parents, treeviews/topnodes setup properly.
  16493. - Don't attempt to track indent level.
  16494. 2006-05-30 Jackson Harper <[email protected]>
  16495. * BindingContext.cs: Create the currency manager tables here.
  16496. This allows us to more easily create null tables (when bad data
  16497. members are used), and more easily create related currency
  16498. managers.
  16499. * CurrencyManager.cs: All the table creation stuff is done by the
  16500. binding context now.
  16501. - Current should throw an exception if listposition is -1.
  16502. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  16503. been bound yet.
  16504. 2006-05-30 Mike Kestner <[email protected]>
  16505. * ListView.cs: allow reexpansion of zero-width column headers.
  16506. Fixes #78528.
  16507. 2006-05-28 Chris Toshok <[email protected]>
  16508. * CurrencyManager.cs (get_Current): after the late binding
  16509. listposition = -1 fix, we need to guard against it here and return
  16510. null, otherwise we raise an exception (which is swallowed
  16511. elsewhere, and breaks datagrid databinding.)
  16512. 2006-05-26 Peter Dennis Bartok <[email protected]>
  16513. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  16514. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  16515. 2006-05-26 Jackson Harper <[email protected]>
  16516. * ControlPaint.cs:
  16517. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  16518. values, it's faster and it's all we care about (we don't care if
  16519. the names aren't equal).
  16520. * KeyboardLayouts.cs: Eliminate some dead code.
  16521. - Lazy init things
  16522. * X11Keyboard.cs: Lazy init keyboard detection.
  16523. - Cleanup access modifiers a little.
  16524. 2006-05-26 Peter Dennis Bartok <[email protected]>
  16525. * XplatUIX11.cs: Once again, attempting to get layout just right.
  16526. 2006-05-26 Peter Dennis Bartok <[email protected]>
  16527. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  16528. the sizes of each link section, that will result in sizes that
  16529. match DrawString's layout (Fixes #78391)
  16530. 2006-05-27 Alexander Olk <[email protected]>
  16531. * FileDialog.cs: If AddExtension property is true autocomplete the
  16532. extensions in SaveFileDialog correctly. Fixes bug #78453.
  16533. Set MyNetwork and MyComputer to "C:\" for windows. This should
  16534. fix part 8 of bug #78446 for now.
  16535. 2006-05-26 Chris Toshok <[email protected]>
  16536. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  16537. invalidate the current row header if we need to, but presumably
  16538. we'll invalidate the row corrsponding to the bounds or
  16539. editingControl.
  16540. (GridHScrolled): switch back to this method, as it's part of the
  16541. public api. *sigh*.
  16542. (GridVScrolled): same.
  16543. (OnMouseWheel): hack up something that more or less works. Call
  16544. GridHScrolled/GridVScrolled directly, instead of duplicating much
  16545. of their code here.
  16546. (EnsureCellVisibility): reinstate a bunch of this code, since we
  16547. can't just set the scrollbar Value and expect to do all the work
  16548. in the ValueChanged handler. Also, Call Update() after scrolling
  16549. in one direction so the other XplatX11.ScrollWindow call has the
  16550. proper stuff in the proper places.
  16551. (EditCell): set is_editing to true before calling .Edit.
  16552. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  16553. don't bother comparing first.
  16554. (OnKeyPress): call grid.ColumnStartedEditing before calling
  16555. base.OnKeyPress. this will set is_changing and invalidate the row
  16556. header if necessary.
  16557. (ProcessKeyMessage): for WM_CHAR messages, call
  16558. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  16559. and WM_KEYDOWN.
  16560. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  16561. it's done in the DataGrid.
  16562. (NextState): call grid.ColumnStartedEditing, which takes care of
  16563. invalidating the row header (and setting is_changing).
  16564. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  16565. here. it's done in the DataGrid.
  16566. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  16567. * Control.cs: allow changing the cursor when the mouse position is
  16568. out of bounds but Capture is set.
  16569. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  16570. linklabel but released somewhere else.
  16571. 2006-05-25 Jackson Harper <[email protected]>
  16572. * TreeView.cs: When we get focus if there is no selected node make
  16573. it the top node
  16574. - Remove some uneeded setup code from Draw.
  16575. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  16576. a new node is inserted make the new node the top.
  16577. * XplatUIX11.cs:
  16578. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  16579. be used (should be faster).
  16580. 2006-05-25 Chris Toshok <[email protected]>
  16581. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  16582. problem with the last commit.
  16583. 2006-05-25 Chris Toshok <[email protected]>
  16584. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  16585. need the invalidate call here, while scrolling right-to-left via
  16586. the left arrow key (i.e. moving the editing cell while scrolling).
  16587. * DataGrid.cs (.ctor): remove the initialization of
  16588. ctrl_pressed/shift_pressed. We no longer track them using key
  16589. up/down handlers, but by using Control.ModifierKeys. Also, switch
  16590. to using ValueChanged handlers on the scrollbars instead of
  16591. Scrolled event handlers. This simplifies a bunch of the scrolling
  16592. code.
  16593. (GridHValueChanged): rename from GridHScrolled, and change it to
  16594. work with the new event args.
  16595. (GridVValueChanged): same.
  16596. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  16597. (OnMouseWheel): actually scroll the datagrid. Don't change the
  16598. selected cell.
  16599. (ProcessGridKey): correct all the keyboard navigation stuff I
  16600. could find. Ctrl up/down/left/right/home/end work now.
  16601. (EnsureCellVisibility): correct method name spelling. Also,
  16602. simplify this a touch by not explicitly calling the
  16603. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  16604. scrollbar value.
  16605. (OnKeyUpDG): no need for this method now.
  16606. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  16607. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  16608. Fixes bug #78392.
  16609. 2006-05-25 Chris Toshok <[email protected]>
  16610. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  16611. r61019.
  16612. 2006-05-25 Peter Dennis Bartok <[email protected]>
  16613. * Application.cs: Moved setting of is_modal and closing to before
  16614. we create the control, to allow the event handlers called as a
  16615. result of creation affect closing. Also removed Gonzalo's previous
  16616. change to setting DialogResult, the behaviour has been moved to
  16617. Form.ShowDialog()
  16618. * Form.cs:
  16619. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  16620. handle it instead
  16621. - ShowDialog(): If no dialog result is set, we need to return Cancel
  16622. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  16623. the close is cancelled
  16624. 2006-05-25 Jackson Harper <[email protected]>
  16625. * StatusBar.cs: We only need to update the sizes of the other
  16626. panels when we have auto size contents. Also we are only updating
  16627. the contents of the panel, not the borders, so compensate for the
  16628. border width (TODO: get this width from the theme somehow).
  16629. * TreeView.cs: Scrollable is true by default
  16630. - Use invalidate instead of refresh where needed
  16631. - Factor the scrollable value into scrollbar updating
  16632. - Update the scrollbars if the Scrollable property is altered
  16633. - Update the selected node if its ImageIndex is changed
  16634. - Handle null nodes in UpdateNode (mainly so we don't have to
  16635. check if selected is null when updating it
  16636. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  16637. are factored into the visible count
  16638. - Use VisibleCount for clarity in the code
  16639. - When the font is changed we need to recurse through all the
  16640. nodes and invalidate their sizes
  16641. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  16642. * Application.cs: set the DialogResult to fixed when the main form is
  16643. hidden or destroyed while being modal.
  16644. 2006-05-25 Miguel de Icaza <[email protected]>
  16645. * Theme.cs: Use Tangoified messagebox icons.
  16646. (GetSizedResourceImage): Also cope with width = 0 and do not
  16647. trigger a warning in that case (0 means "give me your icon from
  16648. the resouce, no special size needed).
  16649. 2006-05-25 Peter Dennis Bartok <[email protected]>
  16650. * Application.cs: Leave runloop if the the main modal form is
  16651. hidden (fixes #78484)
  16652. 2006-05-25 Atsushi Enomoto <[email protected]>
  16653. * BindingContext.cs : reject null datasource in Contains() and
  16654. Item[].
  16655. * CurrencyManager.cs : check data_member validity when data_source
  16656. is dataset. When it is late binding, the initial position is -1.
  16657. 2006-05-24 Jackson Harper <[email protected]>
  16658. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  16659. inserted nodes that aren't visible. This changes the
  16660. max_visible_order which confuses scrollbar settings.
  16661. - Use the enumerator to get the prev node instead of duplicating
  16662. code.
  16663. * TreeView.cs: Use new method for setting scrollbar values
  16664. - Don't set the bounds every time the scrollbar is updated
  16665. - When updating below the root node use an invalidate instead of a
  16666. refresh to prevent the child controls (scrollbars) from being
  16667. refreshed. (UpdateBelow still needs to be reworked anyways).
  16668. - Reenable SetBottom now that visible orders are set correctly,
  16669. added some debug code incase we ever get bad values there again.
  16670. - Set the scrollbar max to 2 less then the max value, this
  16671. compensates for the max value being one above the node count, and
  16672. for scrollbars adding one extra "notch".
  16673. - When drawing image nodes if there is an imagelist we draw the
  16674. first image in the list if the supplied image index is out of the
  16675. image list's bounds.
  16676. 2006-05-24 Peter Dennis Bartok <[email protected]>
  16677. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  16678. we receive a size change from the WM (Fixes #78503)
  16679. 2006-05-24 Peter Dennis Bartok <[email protected]>
  16680. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  16681. rectangle (Fixes #78501)
  16682. 2006-05-24 Peter Dennis Bartok <[email protected]>
  16683. * ButtonBase.cs:
  16684. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  16685. as a bitfield.
  16686. - Fixed MouseMove to no longer switch pressed state unless the left
  16687. mouse button is pressed. Atsushi provided the original patch (#78485)
  16688. 2006-05-24 Jackson Harper <[email protected]>
  16689. * ScrollBar.cs: New internal methods that allow us to change a
  16690. couple values on the scrollbar (the most common case is maximum
  16691. and large change) without getting multiple invalidates.
  16692. 2006-05-24 Chris Toshok <[email protected]>
  16693. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  16694. (Edit): save off the original state in oldState, and set
  16695. grid.is_editing to true.
  16696. (OnKeyDown): abort editing if escape is pressed. also, call
  16697. NextState if space is pressed.
  16698. (OnMouseDown): call NextState.
  16699. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  16700. here. Also, only invalidate the row header once (on the initial
  16701. is_changing switch) to save on redraws.
  16702. 2006-05-24 Chris Toshok <[email protected]>
  16703. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  16704. if the value in the cell is different than it was before. This
  16705. keeps us from triggering a layout when we move around a datarid
  16706. with a highlighted cell.
  16707. (Edit): suspend layout when creating/positining the text box, and
  16708. resume passing false so we don't ever actually re-layout.
  16709. (ReleaseHostedControl): same.
  16710. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  16711. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  16712. control-key sequences should go to the datagrid - remove that
  16713. lock. Also, modify the conditions under which we move between
  16714. cells when moving the cursor within a cell, and remove the "this"
  16715. and "base" from field accesses. We weren't even consistent, given
  16716. they all were in the base class.
  16717. 2006-05-24 Atsushi Enomoto <[email protected]>
  16718. * Binding.cs : (.ctor)
  16719. An obvious NRE fix for BindingTest.CtorNullTest().
  16720. 2006-05-23 Chris Toshok <[email protected]>
  16721. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  16722. them between lines. This fixes some quirks editing cells in the
  16723. datagrid.
  16724. 2006-05-23 Jackson Harper <[email protected]>
  16725. * TreeView.cs: Use begin/end update when doing expand/collapse all
  16726. so that we don't get flicker on the scrollbar.
  16727. 2006-05-23 Jackson Harper <[email protected]>
  16728. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  16729. treenode calculations to be independant of the painting code. To
  16730. do this nodes track a visible order which is calculated by the
  16731. treeview.
  16732. - Call new methods for expanding/collapsing nodes. These methods
  16733. use scrollwindow so we don't have to update everything below the
  16734. node.
  16735. * TreeView.cs: Refactored drawing and scrolling code. We don't
  16736. need to update nodes when drawing anymore or calculate scrollbar
  16737. stuff.
  16738. - Added new methods for expanding/collapsing nodes. These methods
  16739. use ScrollWindow so as to not have to redraw all the nodes below.
  16740. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  16741. we add/remove nodes or sort.
  16742. - Handle removing the selected and the top node properly.
  16743. 2006-05-23 Chris Toshok <[email protected]>
  16744. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  16745. maybe this should actually happen in the datagrid code?
  16746. (EndEdit): no need to invalidate anything, given that
  16747. ReleaseHostedControl causes the datagrid to relayout, which
  16748. invalidates everything anyway.
  16749. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  16750. in SetCurrentCell).
  16751. (set_SelectionBackColor): call InvalidateSelection instead of
  16752. Refresh.
  16753. (set_SelectionForeColor): same.
  16754. (BeginEdit): Flesh this out a bit.
  16755. (CancelEditing): only do any of this if we're editing/adding.
  16756. (EndEdit): same.
  16757. (OnMouseDown): there's no need to cancel editing here, it's done
  16758. in SetCurrentCell.
  16759. (SetCurrentCell): only invalidate the current row header if it's a
  16760. different row than the new one.
  16761. (ShiftSelection): fix this to work like MS does.
  16762. (ResetSelection): factor out the invalidation of selected_rows to
  16763. InvalidateSelection.
  16764. (SetDataSource): cancel any editing that's going on.
  16765. * DataGridColumnStyle.cs
  16766. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  16767. call the non-interface version.
  16768. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  16769. header rectangle with the clip rectangle so we don't redraw the
  16770. entire header for just a small area. Gets rid of the last flicker
  16771. when horizontally scrolling.
  16772. (DataGridPaintRow): same.
  16773. 2006-05-23 Mike Kestner <[email protected]>
  16774. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  16775. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  16776. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  16777. Critical bug report.
  16778. 2006-05-23 Peter Dennis Bartok <[email protected]>
  16779. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  16780. and this fixes #78493
  16781. 2006-05-23 Miguel de Icaza <[email protected]>
  16782. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  16783. size is not found.
  16784. * FileDialog.cs: Do not change the background for the side bar as
  16785. it wont work nicely with the theme, and also reduces the artifacts
  16786. in rendering the icons (which I want to fix too).
  16787. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  16788. resources, not resgen resources.
  16789. (PlatformDefaultHandler): Pull images using the new API.
  16790. 2006-05-23 Peter Dennis Bartok <[email protected]>
  16791. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  16792. a reference to the hwnd and will not remove it unless there are
  16793. no pending exposures (fixes #78341)
  16794. * XplatUI.cs: Improved debug
  16795. 2006-05-23 Atsushi Enomoto <[email protected]>
  16796. * MenuAPI.cs : don't handle OnClick event when it was not the left
  16797. button. Fixed bug #78487.
  16798. 2006-05-23 Mike Kestner <[email protected]>
  16799. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  16800. prefer submenus to the top menu for item lookup, to avoid popping down
  16801. top-row items.
  16802. 2006-05-23 Alexander Olk <[email protected]>
  16803. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  16804. Graphics.FillRectangle as the visual results are really bad (even
  16805. on win). We now draw perfect arrows (and perfect shadows when the
  16806. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  16807. Pen.DashPattern to draw the dots of each line.
  16808. 2006-05-22 Alexander Olk <[email protected]>
  16809. * FileDialog.cs: Update the filename combobox when navigating through
  16810. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  16811. 2006-05-22 Mike Kestner <[email protected]>
  16812. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  16813. Fixes #78463.
  16814. 2006-05-22 Mike Kestner <[email protected]>
  16815. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  16816. requests. Fix a misspelled parameter and a copy paste exception error
  16817. in Select.
  16818. 2006-05-22 Peter Dennis Bartok <[email protected]>
  16819. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  16820. to get the same width/height (5/13) on X11 as the default font has on
  16821. win32. This means that our DefaultFont emSize is smaller than the
  16822. the MS SWF equivalent (even thought the width/height stays the same)
  16823. 2006-05-20 Jackson Harper <[email protected]>
  16824. * MdiClient.cs:
  16825. * MdiWindowManager.cs:
  16826. * InternalWindowManager.cs: Make sure to use the border width from
  16827. the theme.
  16828. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  16829. * PrintDialog.cs: Implements printer details
  16830. 2006-05-19 Alexander Olk <[email protected]>
  16831. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  16832. Fixes part 1 and 2 of bug #78446
  16833. 2006-05-19 Peter Dennis Bartok <[email protected]>
  16834. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  16835. instead of sticking to the first ever calculated value
  16836. 2006-05-19 Mike Kestner <[email protected]>
  16837. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  16838. PointToClient, since Capture is set. Fixes #78344.
  16839. 2006-05-19 Mike Kestner <[email protected]>
  16840. * ListView.cs: match MS behavior in Details view where items are not
  16841. drawn if Columns.Count == 0.
  16842. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  16843. Use a separate pen to draw the check, since changing the width affects
  16844. the box as well. Fixes #78454.
  16845. 2006-05-18 Miguel de Icaza <[email protected]>
  16846. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  16847. exception should throw the name of the invalid argument.
  16848. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  16849. there are no files listed.
  16850. 2006-05-18 Jackson Harper <[email protected]>
  16851. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  16852. up.
  16853. 2006-05-18 Peter Dennis Bartok <[email protected]>
  16854. * Control.cs: Brought back our old UpdateZOrder method as a private
  16855. function and switched our calls from UpdateZOrder to the new one.
  16856. This fixes the Paint.Net canvas disappearing bug.
  16857. 2006-05-18 Jackson Harper <[email protected]>
  16858. * Theme.cs:
  16859. * ThemeWin32Classic.cs:
  16860. * InternalWindowManager.cs: Move the drawing into the theme,
  16861. expose everything the theme should need from the window manager.
  16862. 2006-05-18 Peter Dennis Bartok <[email protected]>
  16863. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  16864. from the call to NativeWindow to avoid walking up the parent chain
  16865. further than needed (speeds up setting cursors and avoids setting
  16866. the wrong cursor if a parent has another cursor defined)
  16867. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  16868. the icon as hotspot, not what's contained as hotspot in the icon
  16869. file. This fixes the perceived drawing offset seen with Paint.Net
  16870. 2006-05-18 Peter Dennis Bartok <[email protected]>
  16871. * XplatUIX11.cs:
  16872. - Store the calculated rectangle in Hwnd object and use it when
  16873. setting the client size
  16874. - Force Toolwindows to always be type Dock, to ensure they're on top
  16875. 2006-05-18 Mike Kestner <[email protected]>
  16876. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  16877. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  16878. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  16879. Substantial refactoring to remove confusing nested classes. Coding
  16880. standard and Get+Set->property refactorings. Shift to index based
  16881. highlighting in ComboListBox instead of constantly using IndexOf and
  16882. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  16883. in FileDialog growth. Draw borders manually since Simple mode needs
  16884. to look like two independent controls. Make listbox border
  16885. conditional to DropDownStyle. Improved OwnerDraw support.
  16886. 2006-05-18 Sebastien Pouliot <[email protected]>
  16887. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  16888. Don't set the disposed graphics to null, so we can throw the "right"
  16889. exception if the graphics is reused later (added a flag to avoid
  16890. double disposing). Some behaviours are different under 2.0 and are
  16891. filled under bug #78448.
  16892. 2006-05-18 Peter Dennis Bartok <[email protected]>
  16893. * Control.cs: When double-buffering is enabled, we need to reset
  16894. our graphics context between paint calls. Otherwise, any
  16895. transformations and other alterations on the context will
  16896. become cumulative (#77734)
  16897. 2006-05-18 Mike Kestner <[email protected]>
  16898. * ListView.cs: do focused item selection like MS on clicks.
  16899. Rework focus handling for ItemControl so LostFocus invalidates as
  16900. well.
  16901. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  16902. the ListView ItemControl has focus.
  16903. 2006-05-17 Peter Dennis Bartok <[email protected]>
  16904. * XplatUIX11.cs: If client_window ends up being width or height zero
  16905. due to border settings, move it off window inside whole_window (#78433)
  16906. 2006-05-17 Alexander Olk <[email protected]>
  16907. * Mime.cs: Shrink the mime file cache correctly.
  16908. 2006-05-17 Alexander Olk <[email protected]>
  16909. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  16910. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16911. * XplatUIX11.cs (AddExpose): More sanity checks
  16912. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16913. * XplatUIX11.cs:
  16914. - AddExpose: Don't add expose ranges outside the size of our
  16915. window
  16916. - Cast opacity values to Int32 to avoid crashes with certain
  16917. values
  16918. - Added disabled code paths that protect against illegal cross-
  16919. thread painting (Developers.exe)
  16920. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16921. * ProgressBar.cs: Invalidate the control when it's resized
  16922. since block size is based on control size. (#78388)
  16923. 2006-05-16 Miguel de Icaza <[email protected]>
  16924. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  16925. of setting the incoming argument to the "reset" value, we set the
  16926. this.datamember to string.empty (before we were invalidating the
  16927. incoming data).
  16928. Fixes 78420
  16929. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16930. * Form.cs: Only apply transparency settings after the form
  16931. is created. (Fixes #77800)
  16932. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16933. * ApplicationContext.cs: Grab the HandleDestroyed event so
  16934. we know when to fire OnMainFormClosed
  16935. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16936. * Application.cs: Introduced sub-class to allow tracking of
  16937. threads and centralized triggering of the event mess for
  16938. ThreadExit, AppExit, etc.. (#76156)
  16939. 2006-05-16 Alexander Olk <[email protected]>
  16940. * MimeIcon.cs:
  16941. - Do not return a null icon index value for a mime subclass.
  16942. Instead try the main mime type class too.
  16943. - Seems that some newer distributions don't have a link to some
  16944. gnome default icons anymore. So check the default gnome dir too.
  16945. 2006-05-16 Jackson Harper <[email protected]>
  16946. * MdiClient.cs: Don't paint the parent background image if we have
  16947. our own background image.
  16948. 2006-05-16 Peter Dennis Bartok <[email protected]>
  16949. * Control.cs:
  16950. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  16951. controls, all filled controls are supposed to overlap (#78080)
  16952. - UpdateZOrder is supposed to update the control's z-order in the
  16953. parent's z-order chain. Fixed to behave like that
  16954. - BringToFront: Removed obsolete code
  16955. - SendToBack: Simplyfied
  16956. - SetChildIndex: Trigger layout calculations when Z-order changes
  16957. since layout is done by z-order
  16958. 2006-05-16 Chris Toshok <[email protected]>
  16959. [ fixes bug #78410 ]
  16960. * DataGrid.cs (set_AlternatingBackColor): use
  16961. grid_drawing.InvalidateCells instead of Refresh().
  16962. (set_BackColor): call grid_drawing.InvalidateCells.
  16963. (set_BackgroundColor): use Invalidate instead of Refresh.
  16964. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  16965. invalidate the cell area.
  16966. 2006-05-15 Chris Toshok <[email protected]>
  16967. [ fixes bug #78011 ]
  16968. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  16969. on to DataGridPaintRow.
  16970. (DataGridPaintRow): take a clip argument, and only draw the cells
  16971. which intersect it. same with the not_usedarea.
  16972. * Theme.cs (DataGridPaintRow) add @clip parameter.
  16973. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  16974. XplatUI.ScrollWindow.
  16975. (ScrollToRow): same.
  16976. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  16977. with last column which was causing a gray swath to appear with the
  16978. XplatUI.ScrollWindow code.
  16979. 2006-05-15 Chris Toshok <[email protected]>
  16980. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  16981. use XplatUI.ScrollWindow.
  16982. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  16983. 2006-05-15 Peter Dennis Bartok <[email protected]>
  16984. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  16985. 2006-05-15 Peter Dennis Bartok <[email protected]>
  16986. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  16987. file since there are no equivalent X11 cursors
  16988. 2006-05-15 Atsushi Enomoto <[email protected]>
  16989. * MonthCalendar.cs : DateTimePicker should reflect selected date
  16990. on mouse*up*, not mouse*down*. Fixed originally reported part of
  16991. bug #76474.
  16992. 2006-05-15 Atsushi Enomoto <[email protected]>
  16993. * TabControl.cs : When argument index is equal or more than tab
  16994. count, just ignore. Fixed bug #78395.
  16995. 2006-05-15 Peter Dennis Bartok <[email protected]>
  16996. * Control.cs: Dispose all child controls when control is diposed (#78394)
  16997. 2006-05-14 Alexander Olk <[email protected]>
  16998. * ColorDialog.cs: Finally it is possible to select the color with
  16999. the text boxes
  17000. 2006-05-14 Alexander Olk <[email protected]>
  17001. * PrintDialog.cs: Fix typo
  17002. 2006-05-14 Alexander Olk <[email protected]>
  17003. * PrintDialog.cs: PrintDialog is not resizable
  17004. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  17005. color. Made some ToolBar drawing methods protected virtual.
  17006. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  17007. * PrintDialog.cs: Implementation of the PrintDialog
  17008. 2006-05-12 Chris Toshok <[email protected]>
  17009. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  17010. thumb, instead use MoveThumb. This has the side effect of making
  17011. most of the other thumb moving machinery use MoveThumb as well.
  17012. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  17013. need to actually invalidate the rectangle where the new thumb will
  17014. go.
  17015. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  17016. We force an Update() after, so it's not as fast as it could be,
  17017. but at least there's zero flicker and no droppings.
  17018. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  17019. (UpdateThumbPos): add another argument (dirty), which says whether
  17020. or not to calculate/add dirty regions which we later invalidate.
  17021. For cases where we know we're going to use MoveThumb, we pass
  17022. false for this. Otherwise, pass true.
  17023. 2006-05-12 Jackson Harper <[email protected]>
  17024. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  17025. the status bar.
  17026. 2006-05-12 Peter Dennis Bartok <[email protected]>
  17027. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  17028. and GetClipRegion methods and UserClipWontExposeParent property.
  17029. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  17030. overriding UserClipWontExposeParent property, setting to false, since
  17031. Win32 handles the required expose messages to draw our clipped parent
  17032. areas internally
  17033. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  17034. PaintEventStart to set the user clip region if set.
  17035. * Control.cs:
  17036. - Now internally tracking the Region for the control since we need to
  17037. store it if the handle is not yet created and only set it when it
  17038. becomes created. Before setting the region forced handle creation
  17039. - Added code to draw the parents underneath a user-clipped region
  17040. * Hwnd.cs: Added UserClip property
  17041. 2006-05-12 Chris Toshok <[email protected]>
  17042. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  17043. (set_Maximum): same.
  17044. (set_Minimum): same.
  17045. (set_SmallChange): same.
  17046. (OnMouseUpSB): remove the call to refresh when releasing the
  17047. thumb. We shouldn't need it.
  17048. 2006-05-12 Miguel de Icaza <[email protected]>
  17049. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  17050. AutoSize set to None, we do not need to relayout everything, we
  17051. just need to invalidate the current region.
  17052. (Draw): Do not draw the entire ClientArea, just redraw the
  17053. clip area being passed.
  17054. * MdiClient.cs: Make MdiClient constructor with the Form argument
  17055. internal.
  17056. 2006-05-12 Jackson Harper <[email protected]>
  17057. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  17058. parents background image, but strangely not their own.
  17059. - (DrawStatusBarPanel): Take into account horizontal alignment
  17060. when drawing the strings and icons.
  17061. 2006-05-12 Mike Kestner <[email protected]>
  17062. * ListBox.cs: avoid invalidations for focus when the collection is
  17063. empty.
  17064. 2006-05-12 Chris Toshok <[email protected]>
  17065. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  17066. invalidate the entire thumb area. Call InvalidateDirty which
  17067. limits the redraw to the thumb itself and surrounding pixels.
  17068. * XplatUIX11.cs (ScrollWindow): optimize copying.
  17069. 2006-05-12 Chris Toshok <[email protected]>
  17070. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  17071. Figure out the positioning/layout in a single pass instead of
  17072. multiple recursive invocations. Speeds up the initial display of
  17073. the data grid. Also, make many things private that were
  17074. originally public but unused outside this class.
  17075. 2006-05-11 Jackson Harper <[email protected]>
  17076. * MdiClient.cs: Improved layout code.
  17077. 2006-05-11 Jonathan Chambers <[email protected]>
  17078. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  17079. not SelectedObject.
  17080. 2006-05-11 Chris Toshok <[email protected]>
  17081. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  17082. union of that will always be {0,0,width,height}.
  17083. 2006-05-11 Jackson Harper <[email protected]>
  17084. * Form.cs: Match MS's DefaultSize for forms (they must have
  17085. changed the size in sp2).
  17086. 2006-05-11 Atsushi Enomoto <[email protected]>
  17087. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  17088. 2006-05-11 Atsushi Enomoto <[email protected]>
  17089. * TextControl.cs : Fixed bug #78109. This incorrect position
  17090. comparison caused crash on automatic line split.
  17091. * TextBoxBase.cs : reduce duplicate code.
  17092. 2006-05-10 Jackson Harper <[email protected]>
  17093. * MdiClient.cs: Active form is only sent to the back when using
  17094. the Next form functionality, when a form is clicked the current
  17095. active shouldn't be sent to the back.
  17096. - Layout the mdi windows when the container is first made visible.
  17097. * Form.cs: Give the MdiClient a ref to the containing form when we
  17098. create it.
  17099. 2006-05-10 Atsushi Enomoto <[email protected]>
  17100. * LinkLabel.cs : link_font could be uninitialized, so populate one
  17101. before actual use. Fixed bug #78340.
  17102. 2006-05-10 Atsushi Enomoto <[email protected]>
  17103. * XplatUIX11.cs : clipboard format native value is IntPtr.
  17104. Fixed bug #78283.
  17105. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17106. * Control.cs:
  17107. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  17108. which is passed up the parent chain by DefWndProc
  17109. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  17110. to DefWndProc (#77956)
  17111. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  17112. 2006-05-10 Jackson Harper <[email protected]>
  17113. * MdiClient.cs: We need to remove the controls from the mdi
  17114. collection, when we close the window.
  17115. * MdiWindowManager.cs: Special handling of closing mdi windows.
  17116. * InternalWindowManager.cs: Make the close method virtual so the
  17117. mdi window manager can handle it specially.
  17118. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  17119. * DataGrid.cs:
  17120. - Recalculate grid when the data source has changed
  17121. - Matches styles provided by user from all data sources types
  17122. * DataGridTableStyle.cs: For columns that provided by the user set the
  17123. with the preferred value is there was unassigned.
  17124. * CurrencyManager.cs: throw OnItemChanged event
  17125. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17126. * PictureBox.cs: Don't animate until handle is created. Start animation
  17127. when handle is created.
  17128. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17129. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  17130. current codebase.
  17131. * XEventQueue.cs: We don't need to provide the extra info
  17132. 2006-05-10 Jackson Harper <[email protected]>
  17133. * MdiClient.cs: If the mdi clients parent form has a background
  17134. image set, we draw that background image for the mdi area's
  17135. background.
  17136. 2006-05-10 Peter Dennis Bartok <[email protected]>
  17137. * TextBoxBase.cs: Set IBeam cursor (#78347)
  17138. 2006-05-10 Mike Kestner <[email protected]>
  17139. * ToolBar.cs: fix some text padding issues with ButtonSize
  17140. calculation. Update the default size to match MS documentation.
  17141. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  17142. button size. Fixes #78296.
  17143. 2006-05-10 Mike Kestner <[email protected]>
  17144. * ListBox.cs: use is_visible for scrollbar positioning in case the
  17145. control isn't on screen yet. Fix off by one with Right vs Width
  17146. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  17147. 2006-05-10 Jackson Harper <[email protected]>
  17148. * X11Dnd.cs: Drop to a control with another control on top of it.
  17149. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  17150. be modified in click handlers. TODO: Look for similar problems in
  17151. other controls.
  17152. 2006-05-09 Jackson Harper <[email protected]>
  17153. * Form.cs: Window managers need the old window state when setting
  17154. window state now.
  17155. * InternalWindowManager.cs: Allow the base mdi window manager to
  17156. handle more of the MDI only stuff (like maximize buttons).
  17157. * MdiWindowManager.cs: Fix some snafus in changing the window
  17158. state. Add all the menu functionality, for both popup and
  17159. maximized menus.
  17160. * MdiClient.cs: When a new form is selected the currently
  17161. activated form is sent to the back, this matches MS.
  17162. - Implement a new method to activate the next mdi child window.
  17163. 2006-05-08 Peter Dennis Bartok <[email protected]>
  17164. * Control.cs:
  17165. - Added new InternalCapture method to allow controls to prevent
  17166. the capture behaviour on the click handlers
  17167. - Switched to use InternalCapture
  17168. * ComboBox.cs:
  17169. - Using InternalCapture to prevent mouse captures from being released
  17170. on mouse button release (Fixes #78100)
  17171. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  17172. returns Form borders if a caption is present. (Fixes #78310)
  17173. 2006-05-08 Peter Dennis Bartok <[email protected]>
  17174. * TreeNode.cs: Changed serialization .ctor to not require every field
  17175. to be present. (#78265)
  17176. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  17177. 2006-05-05 Alexander Olk <[email protected]>
  17178. * MimeIcon.cs: for is faster than foreach for strings.
  17179. 2006-05-05 Mike Kestner <[email protected]>
  17180. * CheckedListBox.cs: update check handling code to not use selected.
  17181. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  17182. behavior for visual feedback, motion response, shift/ctrl handling,
  17183. and properly deal with all 4 selection modes. Updates to bounds
  17184. handling logic. Add scroll wheel support. [Fixes #77842]
  17185. 2006-05-05 Peter Dennis Bartok <[email protected]>
  17186. * ListView.cs:
  17187. - Moved adding of Implicit controls into .ctor. That way, subsequent
  17188. creation of the controls will not cause them to think they are
  17189. toplevel windows (fixes #78200 header problem)
  17190. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  17191. - Switched visibility setting of header control to use internal field
  17192. to avoid triggering handle creation
  17193. - Now checking if handle is created before causing a refresh when items
  17194. are added (This makes us now match handle creation time with MS)
  17195. * Splitter.cs: Removed loading of private splitter cursor, switched to
  17196. Cursors version now that that is loading the right ones
  17197. * Cursors.cs: Load proper splitter cursors from resources
  17198. * Cursor.cs: Added second method of loading resource cursors for the
  17199. VS.Net users amongst us
  17200. 2006-05-05 Mike Kestner <[email protected]>
  17201. * ListView.cs: give header_control a minimum size based on the
  17202. ListView size.
  17203. 2006-05-05 Peter Dennis Bartok <[email protected]>
  17204. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  17205. window seems to do that with metacity, so set that type. (#78120)
  17206. 2006-05-05 Mike Kestner <[email protected]>
  17207. * ListViewItem.cs: fix Details mode checkbox layout bug.
  17208. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  17209. at the end of the header, if it exists. [Fixes for #78200]
  17210. 2006-05-04 Jackson Harper <[email protected]>
  17211. * MdiClient.cs: Add a helper property to get the container form.
  17212. * MdiWindowManager.cs: We have to make sure to use the menu origin
  17213. when drawing the icons and buttons, this fixes maximized window
  17214. icons/buttons on win32.
  17215. * InternalWindowManager.cs: Reset the restore captions when a
  17216. window goes from Maximized to Minimized and vice versa. Move the
  17217. DrawMaximizedButtons into the MdiWindowManager source, tool
  17218. windows can't be maximized. NOTE: This could use a little
  17219. refactoring if time ever permits.
  17220. 2006-05-03 Jonathan Chambers <[email protected]>
  17221. * TextBox.cs: Add MWFCategoryAttributes
  17222. * TextBoxBase.cs: Add MWFCategoryAttributes
  17223. * Form.cs: Add MWFCategoryAttributes
  17224. 2006-05-03 Jonathan Chambers <[email protected]>
  17225. * Control.cs: Add MWFCategoryAttributes
  17226. * ScrollableControl.cs: Add MWFCategoryAttributes
  17227. 2006-05-03 Alexander Olk <[email protected]>
  17228. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  17229. Divider is true. Fix a little glitch in PropertyToolBar
  17230. drawing code
  17231. 2006-05-02 Peter Dennis Bartok <[email protected]>
  17232. * Control.cs:
  17233. - Dispose: Call base.Dispose, this causes the disposed event
  17234. to be fired (and probably other, more important stuff)
  17235. - SetVisibleCore: Set is_visible to true after creating the
  17236. window so that the window still gets created invisible (if
  17237. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  17238. to generate a WM_ACTIVE message
  17239. * Form.cs: Call Dispose when we want to destroy the window, instead of
  17240. just destroying the handle (Dispose will do that for us)
  17241. * XplatUIX11.cs:
  17242. - RootWindow also needs a queue, so we can properly process the
  17243. property change events from RootWindow (like Activate)
  17244. - Generatic synthetic WM_ACTIVE message when the active window is
  17245. being destroyed
  17246. 2006-05-01 Peter Dennis Bartok <[email protected]>
  17247. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  17248. bounds are changed
  17249. 2006-05-01 Peter Dennis Bartok <[email protected]>
  17250. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  17251. for determining width and height (image might not be assigned if
  17252. we're drawing an imagelist)
  17253. 2006-05-01 Peter Dennis Bartok <[email protected]>
  17254. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  17255. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  17256. height from system
  17257. * Theme.cs: No longer returns hardcoded menu height, instead calls
  17258. new driver method
  17259. * Form.cs (OnLoad): Scaling happens before triggering Load events
  17260. on MS (# 78257)
  17261. 2006-05-01 Mike Kestner <[email protected]>
  17262. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  17263. 2006-04-30 Peter Dennis Bartok <[email protected]>
  17264. * TextBoxBase.cs: Removed Fixme
  17265. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  17266. 2006-04-30 Peter Dennis Bartok <[email protected]>
  17267. * XplatUIX11.cs:
  17268. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  17269. the rectangle relative to the parent, considering borders. We
  17270. don't really want that.
  17271. - ScrollWindow: Fixed warning to be more understandable
  17272. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  17273. scrollbars and scroll only the visible area
  17274. * RichTextBox.cs: Removed debug output
  17275. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17276. * NumericUpDown.cs (Text): Just use base
  17277. * UpDownBase.cs: Ensure txtView is created before using it
  17278. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17279. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  17280. casting to IntPtr to avoid 64bit overflow errors
  17281. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17282. * Control.cs:
  17283. - AllowDrop: Don't force handle creation.
  17284. - CreateHandle: Added call to tell driver if we're allowed to drop
  17285. 2006-04-27 Alexander Olk <[email protected]>
  17286. * FileDialog.cs: Remember the last directory not only for the
  17287. current instance but also for new FileDialog instances.
  17288. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17289. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  17290. broke sending async messages
  17291. 2006-04-29 Peter Dennis Bartok <[email protected]>
  17292. * XplatUIX11.cs:
  17293. - ScrollWindow: Fixed method. We finally generate expose events again
  17294. for scrolled areas. This was causing 'garbage' when scrolling
  17295. textbox and other controls that used ScrollWindow
  17296. - Switched from using the regular queue for paint events to the MS
  17297. model of 'generating' paint events when the queue is empty.
  17298. We use the new XQueueEvent.Paint subclass to store which windows
  17299. need painting.
  17300. - AddExpose now takes the x/y/width/height of the exposed area
  17301. and inserts the window into the paint queue if not already there
  17302. - InvalidateWholeWindow: Switched to use new AddExpose method
  17303. - UpdateMessageQueue: Added which queue to monitor for paint events
  17304. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  17305. the unlikely case nothing above handles it. We reset the expose
  17306. pending states to get them off the queue.
  17307. - GetMessage: Now pulls a paint event if no other events are in the
  17308. queue
  17309. - Invalidate: Switched to new AddExpose method
  17310. - PeekMessage: Updated to understand pending paint events
  17311. - UpdateWindow: Fixed logic bug. We were only updating if the window
  17312. didn't need updating. Also switched to sending WM_PAINT directly,
  17313. like MS does.
  17314. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  17315. and random access Remove(). The random access is needed to handle
  17316. UpdateWindow() where a WM_PAINT is sent directly without accessing
  17317. the queue.
  17318. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  17319. allow for better feedback when scrolling. Scrollbars are small and
  17320. the immediate update should make it 'feel' more responsive without
  17321. slowing things down. ScrollBar still needs it's invaliate logic
  17322. updated to not always invalidate the whole bar on certain changes.
  17323. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  17324. * Control.cs:
  17325. (BackColor): if the control does not support a transparent background,
  17326. return the default backcolor when the parent backcolor is transparent.
  17327. 2006-04-28 Peter Dennis Bartok <[email protected]>
  17328. * Application.cs: Updated to new StartLoop/GetMessage API
  17329. * RichTextBox.cs: Provide some output on RTF parsing errors
  17330. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  17331. new queue_id argument to GetMessage and PeekMessage to allow faster
  17332. handling of per-thread queues in drivers.
  17333. * Hwnd.cs: Added Queue tracking and property
  17334. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  17335. * XEventQueue.cs: Added thread trackingA
  17336. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  17337. * XplatUIX11.cs:
  17338. - Implemented new per-thread queue
  17339. - GetMessage: Fixed return/break behaviour on several cases. We were
  17340. returning stale messages in some cases, instead of just processing
  17341. the next message
  17342. 2006-04-27 Jonathan Chambers <[email protected]>
  17343. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  17344. 2006-04-27 Peter Dennis Bartok <[email protected]>
  17345. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  17346. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  17347. 2006-04-27 Jonathan Chambers <[email protected]>
  17348. * PropertyGridView.cs: Fix drop down width.
  17349. 2006-04-27 Alexander Olk <[email protected]>
  17350. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  17351. a mess in DrawToolBar, so I removed one of them.
  17352. 2006-04-27 Alexander Olk <[email protected]>
  17353. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  17354. needed (clip). Otherwise we get artifacts.
  17355. 2006-04-26 Peter Dennis Bartok <[email protected]>
  17356. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  17357. dimension is fixed
  17358. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  17359. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  17360. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  17361. if it matches the scale base font (avoids unneeded scaling)
  17362. 2006-04-26 Alexander Olk <[email protected]>
  17363. * X11DesktopColors.cs: One gtk_init_check should be enough
  17364. 2006-04-26 Peter Dennis Bartok <[email protected]>
  17365. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  17366. match MS behaviour
  17367. 2006-04-26 Peter Dennis Bartok <[email protected]>
  17368. * TextBoxBase.cs:
  17369. - Generate OnTextChanged for Backspace even if we're only deleting
  17370. the current selection
  17371. - When setting the Text property, only select all text if the
  17372. control does not have focus when it is being set. Otherwise
  17373. just place the cursor at the beginning of the control
  17374. 2006-04-26 Alexander Olk <[email protected]>
  17375. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  17376. Added a little helper to draw PropertyGrid ToolBar with a different
  17377. border and a different BackColor.
  17378. * PropertyGrid.cs: Some background parts didn't get painted with the
  17379. correct background color. Added a class that helps us to draw the
  17380. correct border for PropertyGridView and a class that helps us to
  17381. draw ToolBars with a different backcolor
  17382. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  17383. 2006-04-25 Jonathan Chambers <[email protected]>
  17384. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  17385. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  17386. 2006-04-25 Peter Dennis Bartok <[email protected]>
  17387. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  17388. into the palette entries. Also, since we're working on a copy
  17389. we needed to copy the palette back onto the bitmap.
  17390. * Cursor.cs: Same fix as XplatUIWin32.cs.
  17391. 2006-04-25 Peter Dennis Bartok <[email protected]>
  17392. * ImageListStreamer.cs: Need to read the var (or we're off)
  17393. 2006-04-25 Peter Dennis Bartok <[email protected]>
  17394. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  17395. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  17396. TextBoxBase.cs: Unused var fixes
  17397. * AxHost.cs: Small 2.0 fix
  17398. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  17399. as it seems that is what at least Metacity expects. This will make
  17400. icons show up on 64bit platforms. We still have some 64bit size
  17401. issues, though, since the startup app window size still won't match.
  17402. 2006-04-25 Mike Kestner <[email protected]>
  17403. * *.cs: cleanup newly reported exception var unused warnings.
  17404. 2006-04-25 Alexander Olk <[email protected]>
  17405. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  17406. ms
  17407. 2006-04-25 Alexander Olk <[email protected]>
  17408. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  17409. image. The image position is always the same, no matter if the
  17410. button is pressed or not.
  17411. 2006-04-25 Alexander Olk <[email protected]>
  17412. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  17413. selection and set the correct filename for SaveFileDialog.
  17414. Patch by Emery Conrad.
  17415. 2006-04-24 Mike Kestner <[email protected]>
  17416. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  17417. check for item.X outside the ClientRect instead of item.Y. Fixes
  17418. #78151.
  17419. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  17420. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  17421. trust that value blindly and do some sanity check. Fixes bug #77814.
  17422. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  17423. * ImageListStreamer.cs: save the mask as a 1bpp image.
  17424. 2006-04-21 Mike Kestner <[email protected]>
  17425. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  17426. pass Checked and Indeterminate to the Theme Engine. Improve
  17427. encapsulation with ListBox.
  17428. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  17429. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  17430. nested types. Move all CheckState functionality to CheckedListBox.
  17431. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  17432. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  17433. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  17434. single base list. Fix scrollbar sizing and placement to mirror MS.
  17435. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  17436. used.
  17437. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  17438. for CheckedListBox by using new DrawItemState info. Center the
  17439. checkboxes on the items. Use new StringFormat property.
  17440. 2006-04-18 Jackson Harper <[email protected]>
  17441. * Form.cs: MdiChildren don't do default locations the same way as
  17442. regular forms. This prevents a crash when trying to position the
  17443. mdi windows.
  17444. 2006-04-17 Jonathan Chambers <[email protected]>
  17445. * PropertyGridTextBox.cs: Formatting, copyright
  17446. * PropertiesTab.cs: Formatting
  17447. * PropertyGrid.cs: Formatting
  17448. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  17449. click toggling of values
  17450. 2006-04-17 Peter Dennis Bartok <[email protected]>
  17451. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  17452. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  17453. every time a control is created
  17454. * Application.cs: Removed obsolete EnableRTLMirroring method
  17455. 2006-04-18 Gert Driesen <[email protected]>
  17456. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  17457. SelectedIndex to -1. Fixes bug #78121.
  17458. 2006-04-17 Jackson Harper <[email protected]>
  17459. * Binding.cs: Handle null values for Current and BindingContext.
  17460. This occurs when binding is a little delayed.
  17461. * CurrencyManager.cs: return null for Current when there are no
  17462. items in the list.
  17463. - Hookup to the listchanged event on the DataView and update
  17464. bindings when the list is changed. This fixes late binding of
  17465. controls.
  17466. 2006-04-17 Jackson Harper <[email protected]>
  17467. * X11Dnd.cs:
  17468. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  17469. Ringenbach.
  17470. 2006-04-15 Alexander Olk <[email protected]>
  17471. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  17472. place
  17473. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  17474. with the correct ButtonState
  17475. 2006-04-14 Peter Dennis Bartok <[email protected]>
  17476. * XplatUIX11.cs: Improved distinguishing between window types to
  17477. tell the WM a type closer to what the app wants (Fixes #78107)
  17478. 2006-04-14 Alexander Olk <[email protected]>
  17479. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  17480. GrabHandle
  17481. 2006-04-14 Alexander Olk <[email protected]>
  17482. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  17483. drawing code to reflect the size grip changes
  17484. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  17485. * ImageListStreamer.cs: fix handling of the mask that follows the main
  17486. bitmap when deserializing and serialize it properly. The generated mask
  17487. should better be a 1bpp image, but I'll do that later.
  17488. 2006-04-13 Alexander Olk <[email protected]>
  17489. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  17490. path doesn't fit into some of our Current.Places
  17491. 2006-04-13 Jackson Harper <[email protected]>
  17492. * ComboBox.cs: Use borders instead of drawing our own decorations,
  17493. try to obey correct rules for heights.
  17494. * Theme.cs:
  17495. * ThemeNice.cs:
  17496. * ThemeClearLooks.cs:
  17497. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  17498. this is now handled by borders.
  17499. - Remove unused DrawListBoxDecorationSize method.
  17500. 2006-04-13 Mike Kestner <[email protected]>
  17501. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  17502. reported by Alex.
  17503. 2006-04-13 Alexander Olk <[email protected]>
  17504. * ThemeWin32Classic.cs:
  17505. - Fixed CPDrawStringDisabled
  17506. - Corrected drawing of disabled menu items
  17507. - Fixed drawing of disabled radio buttons (bug #78095)
  17508. - Draw check in a disabled CheckBox with color ControlDark
  17509. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17510. * Form.cs: Use the provided width when calculating the menu size;
  17511. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  17512. and ClientSize.Width won't be updated yet
  17513. * Application.cs: Use Visible instead of Show() to make form visible,
  17514. this way we create the handle later and menusize is considered
  17515. 2006-04-12 Mike Kestner <[email protected]>
  17516. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  17517. reporting.
  17518. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17519. * TextBox.cs: Implemented context menu
  17520. 2006-04-12 Mike Kestner <[email protected]>
  17521. * ListView.cs: implement box selection. fixes #77838.
  17522. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  17523. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17524. * XplatUIX11.cs: Added setting of window type when transient window
  17525. is created (metacity would move it otherwise)
  17526. * X11Structs.cs: Added WINDOW_TYPE atoms
  17527. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  17528. background (the control is Opaque but still wants transparent
  17529. backgrounds)
  17530. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17531. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  17532. that set Opaque but don't mean it (like all ButtonBase-derived
  17533. controls) to still draw their background
  17534. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  17535. the background
  17536. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17537. * Control.cs (PaintControlBackground): Set the graphics object
  17538. on our PaintEvent to null to prevent it from being disposed
  17539. when the PaintEvent gets disposed
  17540. 2006-04-12 Alexander Olk <[email protected]>
  17541. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  17542. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  17543. 2006-04-12 Peter Dennis Bartok <[email protected]>
  17544. * Control.cs:
  17545. - Added transparency check to BackColor property. Transparent
  17546. backgrounds are only allowed if the control styles permit it
  17547. - Added recursive painting of parent control background and
  17548. foreground if a control with a transparent backcolor is drawn
  17549. (Thanks to Tim Ringenback for providing his 'hack' as a base
  17550. for this patch) Fixes #77985 and #78026.
  17551. - Added Opaque style check before calling OnPaintBackground, no
  17552. need to draw the background if the control is opaque
  17553. - Removed ControlAccessibleObject owner variable (inherited from
  17554. base, no need to define again)
  17555. - Added some documentation links explaining the drawing events
  17556. and styles
  17557. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17558. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  17559. that the affected control is the located at the left border of our
  17560. parent (Fixes #77936)
  17561. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17562. * TextBoxBase.cs: When rendering disabled or readonly controls,
  17563. draw the background with 'Control' instead of 'Window' color as
  17564. long as the user hasn't specifically set a color
  17565. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17566. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  17567. since that won't be updated if the user types text (only if it's
  17568. programatically set)
  17569. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17570. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  17571. layout changes do to app-triggered resizes will have the proper
  17572. display rectangle for layout
  17573. 2006-04-11 Alexander Olk <[email protected]>
  17574. * ThemeWin32Classic.cs:
  17575. - Make use of the SystemBrushes and SystemPens wherever possible
  17576. - Corrected some highlight colors
  17577. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  17578. drawing
  17579. * Theme.cs: Added Empty field to CPColor struct
  17580. 2006-04-11 Peter Dennis Bartok <[email protected]>
  17581. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  17582. is displayed when calculating the display rectangle. Thanks to Mike
  17583. for teaching me the err of my ways.
  17584. 2006-04-10 Peter Dennis Bartok <[email protected]>
  17585. * ScrollableControl.cs:
  17586. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  17587. (instead of 0,0) and we now return the real width/height instead of
  17588. just the clientrectangle, adjusted for padding. The rectangle is
  17589. now cached and created by the new CalculateDisplayRectangle method.
  17590. - Created new CalculateDisplayRectange method, which basically does
  17591. what get_DisplayRectangle() did originally, but now using the
  17592. right edge instead of DisplayRectangle to determine the size of
  17593. our scrollbars
  17594. - get_Canvas(): Fixed it to properly calculate canvas for
  17595. right/bottom controls which seem to be placed to the right/bottom
  17596. of any controls that have a fixed location
  17597. - Removed TODO that's taken care of
  17598. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  17599. and SetDisplayRectLocation according to new MSDN2 docs
  17600. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  17601. event when that is called, this is added for compatibility
  17602. - ScrollControlIntoView(): Implemented.
  17603. - Switched scrollbars to be implicit, they shouldn't be selectable
  17604. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  17605. call it when the active control is set/changed
  17606. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  17607. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  17608. implicit_control variable (used for native Win32 message generation)
  17609. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  17610. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  17611. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  17612. * XplatUIStructs.cs: Added ScrollBarCommands enum
  17613. 2006-04-10 Jackson Harper <[email protected]>
  17614. * ButtonBase.cs:
  17615. * CheckedListBox.cs:
  17616. * ComboBox.cs:
  17617. * DataGrid.cs:
  17618. * DataGridView.cs:
  17619. * Form.cs:
  17620. * GroupBox.cs:
  17621. * ListBox.cs:
  17622. * PrintPreviewControl.cs:
  17623. * ProgressBar.cs:
  17624. * PropertyGrid.cs:
  17625. * Splitter.cs:
  17626. * StatusBar.cs:
  17627. * TrackBar.cs:
  17628. * UpDownBase.cs: Fixup base event overrides.
  17629. 2006-04-06 Mike Kestner <[email protected]>
  17630. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  17631. all user-initiated value changes to min <= value <= max-thumbsz+1.
  17632. (set_Value): check for vert/horiz when calculating new thumb position.
  17633. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  17634. like MS does.
  17635. (OnMouseMoveSB): refactor the thumb dragging code and refine
  17636. invalidation logic to reduce flicker.
  17637. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  17638. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  17639. (UpdateThumbPosition): small code readability cleanup
  17640. 2006-04-10 Alexander Olk <[email protected]>
  17641. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  17642. different
  17643. 2006-04-08 Alexander Olk <[email protected]>
  17644. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  17645. 2006-04-08 Alexander Olk <[email protected]>
  17646. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  17647. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  17648. This dramatically reduces the number of Pen.Dispose calls.
  17649. Where possible call ResPool methods only once instead of calling it
  17650. over and over again (for example for the same color).
  17651. 2006-04-06 Mike Kestner <[email protected]>
  17652. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  17653. Also remove an unused private field on the collection. Fixes #77972.
  17654. 2006-04-06 Alexander Olk <[email protected]>
  17655. * ThemeNice.cs: Added ToolBar drawing code
  17656. 2006-04-06 Mike Kestner <[email protected]>
  17657. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  17658. I'm assuming that means we need to look up the toplevel for the
  17659. provided control. Fixes the crash trace in #77911 but exposes another
  17660. crash in some strange reflection usage in NDocGui.
  17661. 2006-04-06 Alexander Olk <[email protected]>
  17662. * ThemeNice.cs: Gave it a little silver touch and added Images
  17663. method
  17664. * FontDialog.cs: FontDialog is not resizable
  17665. * FileDialg.cs: Added SizeGripStyle.Show
  17666. 2006-04-05 Jackson Harper <[email protected]>
  17667. * KeyboardLayouts.cs: Remove warning.
  17668. 2006-04-05 Jackson Harper <[email protected]>
  17669. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  17670. all of our controls instead of Paint +=.
  17671. * ListBox.cs:
  17672. * ListView.cs:
  17673. * MenuAPI.cs:
  17674. * MessageBox.cs:
  17675. * NotifyIcon.cs:
  17676. * ProgressBar.cs:
  17677. * ScrollBar.cs:
  17678. * Splitter.cs:
  17679. * StatusBar.cs:
  17680. * TabControl.cs:
  17681. * TextBoxBase.cs:
  17682. * ToolBar.cs:
  17683. * TrackBar.cs:
  17684. * UpDownBase.cs:
  17685. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  17686. use OnPaintInternal. Remove Width/Height and Visible checks in
  17687. paint handler, this is done at a higher level now.
  17688. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  17689. * PaintEventArgs.cs: Add a handled flag so controls that don't
  17690. want anymore painting after OnPaintInternal can make sure OnPaint
  17691. isn't called.
  17692. 2006-04-05 Mike Kestner <[email protected]>
  17693. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  17694. state of the form, so that we don't process events when Modal dialogs
  17695. are up. Fixes #77922.
  17696. 2006-04-05 Alexander Olk <[email protected]>
  17697. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  17698. checking is done.
  17699. 2006-04-05 Mike Kestner <[email protected]>
  17700. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  17701. 2006-04-05 Mike Kestner <[email protected]>
  17702. * ListView.cs (HeaderMouseMove): null guarding for the over column
  17703. when setting up the drag_to_index. Fixes #78015.
  17704. 2006-04-04 Peter Dennis Bartok <[email protected]>
  17705. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  17706. in the taskbar. Transient windows seem to accomplish that.
  17707. 2006-04-04 Peter Dennis Bartok <[email protected]>
  17708. * Form.cs:
  17709. - Re-enabled CreateParams.X/Y code for FormStartPosition
  17710. - Added code for manual placement when creating the Control
  17711. - Incomplete patch to treat MDI forms differently when
  17712. setting the ClientSizeCore. (Still need to figure out handling
  17713. x/y coords there)
  17714. * XplatUIX11.cs:
  17715. - When we're explicitly setting the X/Y position of a non-Child
  17716. window, let the WM know. Metacity really wants this.
  17717. 2006-04-04 Alexander Olk <[email protected]>
  17718. * ThemeNice.cs: Added CPDrawButton
  17719. 2006-04-04 Alexander Olk <[email protected]>
  17720. * ThemeNice.cs: Changed the color for focused buttons and activated
  17721. the arrows for small scroll buttons.
  17722. 2006-04-04 Alexander Olk <[email protected]>
  17723. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  17724. anymore. Changed some method modifiers to protected (virtual)
  17725. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  17726. changes
  17727. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  17728. Updated drawing of menus, buttons and progressbars; added
  17729. CPDrawBorder3D
  17730. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  17731. * ImageListStreamer.cs: implemented serialization/deserialization
  17732. of the images.
  17733. 2006-04-03 Alexander Olk <[email protected]>
  17734. * ThemeWin32Classic.cs:
  17735. - Removed all the DrawFrameControl stuff; CPDrawButton,
  17736. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  17737. inside the methods
  17738. - Updated and corrected the drawing code of CPDrawButton,
  17739. CPDrawCheckBox and CPDrawRadioButton to better match ms
  17740. - Updated theme checkbox and radiobutton code to use the CP*
  17741. methods
  17742. 2006-03-31 Peter Dennis Bartok <[email protected]>
  17743. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  17744. bug is fixed
  17745. 2006-03-31 Jackson Harper <[email protected]>
  17746. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  17747. sometimes.
  17748. * UpDownBase.cs: Don't CreateGraphics manually, use a
  17749. Refresh. Ideally we would invalidate the correct areas here.
  17750. 2006-03-31 Peter Dennis Bartok <[email protected]>
  17751. * XplatUIX11.cs:
  17752. - We now track the mapping state of windows. If a window (or
  17753. one of it's parents) is not mapped we no longer permit
  17754. WM_PAINT messages to be generated since we'd otherwise get
  17755. lots of BadMatch X errors. Jackson did all the work figuring
  17756. out the problem.
  17757. - Destroying the caret if the window it's contained in is
  17758. destroyed. Can't use regular DestroyCaret method since it
  17759. might fall into a drawing function (trying to remove the
  17760. caret) and with that generate new BadMatch errors. Again,
  17761. Jackson tracked this down.
  17762. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  17763. make sure we send the messages to all windows. (The old code
  17764. would send the WM_DESTROY to the window, and then all child
  17765. windows would be 'gone' because the WM_DESTROY handle lookup
  17766. would no longer find the destroyed window)
  17767. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  17768. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  17769. 2006-03-31 Jackson Harper <[email protected]>
  17770. * ScrollableControl.cs: Dont recalc if we are not visible.
  17771. 2006-03-31 Mike Kestner <[email protected]>
  17772. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  17773. the visibility branch.
  17774. 2006-03-31 Jackson Harper <[email protected]>
  17775. * ScrollBar.cs: Cap values when incrementing/decrementing.
  17776. 2006-03-31 Mike Kestner <[email protected]>
  17777. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  17778. * ToolTip.cs: guard against timer expirations with no active control.
  17779. Not sure why it happened.
  17780. 2006-03-31 Mike Kestner <[email protected]>
  17781. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  17782. text.
  17783. * ToolTip.cs: Position the tooltip based on where the cursor is at
  17784. popup time, not at MouseEnter time. Add a Down state so that we don't
  17785. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  17786. positioning offset. Lookup DisplaySize at positioning time, since it
  17787. can theoretically change during invocation.
  17788. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  17789. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  17790. 2006-03-31 Alexander Olk <[email protected]>
  17791. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  17792. Fixes behaviour when the Text property of the box is String.Empty
  17793. 2006-03-31 Peter Dennis Bartok <[email protected]>
  17794. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  17795. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  17796. a window)
  17797. 2006-03-31 Alexander Olk <[email protected]>
  17798. * FileDialog.cs: Visual enhancement for the popup buttons in
  17799. PopupButtonPanel
  17800. 2006-03-31 Alexander Olk <[email protected]>
  17801. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  17802. code
  17803. 2006-03-30 Alexander Olk <[email protected]>
  17804. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  17805. highlighted menu items to match ms
  17806. 2006-03-30 Peter Dennis Bartok <[email protected]>
  17807. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  17808. 2006-03-30 Mike Kestner <[email protected]>
  17809. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  17810. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  17811. go active to account for HotLight to Selected transition.
  17812. * MenuItem.cs: add internal Selected prop. Fill out the Status
  17813. property by calculating it from item info. Add HotLight,
  17814. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  17815. 2006-03-30 Mike Kestner <[email protected]>
  17816. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  17817. 2006-03-29 Jackson Harper <[email protected]>
  17818. * Form.cs: Implement TODO.
  17819. 2006-03-29 Peter Dennis Bartok <[email protected]>
  17820. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  17821. missing proper dialog setup in the constructor
  17822. 2006-03-29 Peter Dennis Bartok <[email protected]>
  17823. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  17824. * Control.cs:
  17825. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  17826. - Fixed ResetBindings and removed TODO
  17827. - Added check for cross-thread calls to get_Handle()
  17828. - Added Marshaller attribute for set_Font to satisfy class status
  17829. * FontDialog.cs: Removed TODOs that seemed implemented
  17830. * UpDownBase.cs: Removed unneeded TODO and Fixme
  17831. * MessageBox.cs: Implemented support for Default button and removed TODO
  17832. * FileDialog.cs: Removed obsolete TODO
  17833. * DomainUpDown.cs: Removed obsolete TODO
  17834. * ButtonBase.cs: Removed obsolete TODO
  17835. * XplatUIWin32.cs: Removed obsolete TODO
  17836. * Form.cs:
  17837. - Removed obsolete TODO
  17838. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  17839. internal status updates
  17840. - Making sure the active control is selected when the control is created
  17841. * CurrencyManager.cs: Removed obsolete TODO
  17842. 2006-03-29 Mike Kestner <[email protected]>
  17843. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  17844. of PrintPreviewDialog and RichTextBox.
  17845. 2006-03-29 Alexander Olk <[email protected]>
  17846. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  17847. DarkDark, Light and LightLight colors for a specific color
  17848. * ThemeWin32Classic.cs:
  17849. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  17850. Appearance = Button
  17851. - Make use of the new ResPool helper CPColor
  17852. - Draw ProgressBar and StatusBar with correct 3D borders
  17853. 2006-03-29 Alexander Olk <[email protected]>
  17854. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  17855. 2006-03-28 Mike Kestner <[email protected]>
  17856. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  17857. calculating col/row counts.
  17858. 2006-03-28 Mike Kestner <[email protected]>
  17859. * ColumnHeader.cs:
  17860. * ListView.cs:
  17861. * ListViewItem.cs:
  17862. * Menu.cs:
  17863. switch to explicit interface method implementation for some methods
  17864. corcompare identifies as inconsistent with MS.
  17865. 2006-03-28 Mike Kestner <[email protected]>
  17866. * MainMenu.cs:
  17867. * Menu.cs:
  17868. add a few missing methods from the class status output.
  17869. 2006-03-28 Alexander Olk <[email protected]>
  17870. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  17871. correct.
  17872. 2006-03-28 Mike Kestner <[email protected]>
  17873. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  17874. 2006-03-27 Mike Kestner <[email protected]>
  17875. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  17876. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  17877. 2006-03-27 Alexander Olk <[email protected]>
  17878. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  17879. 2006-03-25 Alexander Olk <[email protected]>
  17880. * ThemeWin32Classic.cs:
  17881. - GroupBox: Inserted a little gap between the text and the lines
  17882. on the right side
  17883. - Made the code in CPDrawBorder3D more readable
  17884. - Corrected the drawing location of the up and down arrows in
  17885. CPDrawScrollButton
  17886. 2006-03-25 Alexander Olk <[email protected]>
  17887. * ControlPaint.cs: Corrected line widths in DrawBorder for
  17888. ButtonBorderStyle Inset and Outset
  17889. 2006-03-25 Alexander Olk <[email protected]>
  17890. * ThemeWin32Classic.cs:
  17891. - Rewrote the totally broken CPDrawBorder3D method. That was
  17892. one of the main problems for the terrific ThemeWin32Classic
  17893. look
  17894. - Updated and corrected Button drawing
  17895. - Correct the dimensions of the SizeGrip to match ms ones
  17896. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  17897. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  17898. Border3DStyle.Sunken to match ms.
  17899. 2006-03-25 Alexander Olk <[email protected]>
  17900. * ThemeWin32Classic.cs: First small part of the "de-uglify
  17901. ThemeWin32Classic" effort, SizeGrip
  17902. 2006-03-24 Jackson Harper <[email protected]>
  17903. * XplatUIX11.cs: Give a max idle time of one second, this matches
  17904. MS and forces an Idle event every second when there are no other
  17905. events in the queue.
  17906. 2006-03-24 Mike Kestner <[email protected]>
  17907. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  17908. * ListView.Item.cs: fix layout issues with null image lists and images
  17909. smaller than checkbox size.
  17910. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  17911. mode like MS does. It's weird, but consistent. ;-)
  17912. Fixes #77890.
  17913. 2006-03-24 Mike Kestner <[email protected]>
  17914. * ListView.cs: Scroll wheel support for the item control. Fixes
  17915. #77839.
  17916. 2006-03-23 Jackson Harper <[email protected]>
  17917. * ScrollableControl.cs: Special case negative sized areas, not
  17918. zero.
  17919. * MonthCalendar.cs: Save the rect of the clicked date so we can
  17920. use it for invalidation.
  17921. - Try to cut down on the number of invalidates
  17922. - Invalidate the rect the mouse is over and was over when moving
  17923. the mouse, so we get the focus box following the cursor.
  17924. 2006-03-23 Mike Kestner <[email protected]>
  17925. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  17926. focus rectangle drawing. Fixes #77835.
  17927. 2006-03-23 Mike Kestner <[email protected]>
  17928. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  17929. the if and else if and reverting back to the original == check on the
  17930. None conditional.
  17931. 2006-03-23 Alexander Olk <[email protected]>
  17932. * FontDialog.cs: Update the example panel if the selected index of
  17933. the fontListBox changes.
  17934. 2006-03-23 Alexander Olk <[email protected]>
  17935. * FileDialog.cs: Make FileDialog remember which directory it was in
  17936. last in the same execution.
  17937. 2006-03-22 Mike Kestner <[email protected]>
  17938. * FileDialog.cs: make the DropDownMenu on the toolbar display
  17939. RadioChecks since they are mutually exclusive and that's what MS does.
  17940. 2006-03-22 Mike Kestner <[email protected]>
  17941. * Theme.cs: add Color param to CPDrawMenuGlyph.
  17942. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  17943. checks and radio marks and arrows are visible on highlighted items.
  17944. * ControlPaint.cs: update to use new Theme signature.
  17945. 2006-03-22 Mike Kestner <[email protected]>
  17946. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  17947. is active. Fixes #77870.
  17948. 2006-03-22 Alexander Olk <[email protected]>
  17949. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  17950. to be focused/selected after startup
  17951. 2006-03-22 Alexander Olk <[email protected]>
  17952. * ColorDialog.cs:
  17953. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  17954. CustomColors and ShowHelp properties
  17955. - Some internal rewrites to get better results when using the
  17956. ColorMatrix
  17957. 2006-03-22 Mike Kestner <[email protected]>
  17958. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  17959. HoverSelection. Fixes #77836.
  17960. 2006-03-22 Mike Kestner <[email protected]>
  17961. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  17962. ToggleButtons. (De)Sensitize the Back button around a stack count of
  17963. 1, not 0. Update ButtonSize based on a pixel count of the win32
  17964. control. Adjust the toolbar size/location for new button size.
  17965. 2006-03-22 Jackson Harper <[email protected]>
  17966. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  17967. true.
  17968. * ScrollBar.cs: When doing increments and decrements we need to
  17969. set the Value property so that ValueChanged gets raised. A
  17970. possible optimization here would be to make an internal SetValue
  17971. that doesn't invalidate immediately.
  17972. * ToolTip.cs: Tooltips get added to their container (when
  17973. supplied) so they get disposed when the container is disposed.
  17974. - Don't create tooltips for String.Empty. This prevents all these
  17975. little 2-3 pixel windows from showing up when running nunit-gui
  17976. and driving me mad.
  17977. * Form.cs: Don't set topmost when setting the owner if the handles
  17978. haven't been created yet. The topmost set will happen when the
  17979. handles are created.
  17980. 2006-03-22 Peter Dennis Bartok <[email protected]>
  17981. * XplatUIX11.cs:
  17982. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  17983. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  17984. visible (to allow them to recalculate their sizes)
  17985. 2006-03-21 Mike Kestner <[email protected]>
  17986. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  17987. methods. Removed a ton of redundant code. Still not really happy with
  17988. the border rendering, but I think that's mainly because of the
  17989. ControlDarkDark being black instead of a dark grey. Depending on how
  17990. close we want to be, we might want to revisit those color choices.
  17991. Among the new features added during the refactor were DropDownArrow
  17992. pressed rendering, Disabled image rendering. Proper flat appearance
  17993. boundary rendering. Removed the Divider and Wrapping dividers since I
  17994. can't figure out any combination of themes and conditions to make the
  17995. MS control draw a horizontal line on a toolbar despite what the
  17996. Divider property docs indicate.
  17997. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  17998. conditions and incorrect layout. Updated to coding standard.
  17999. * ToolBarButton.cs: refactored layout and positioning code from
  18000. ToolBar to here. Invalidate wherever possible instead of forcing
  18001. redraws of the whole toolbar.
  18002. (Known remaining issues: explicit ButtonSize smaller than provided
  18003. images.)
  18004. 2006-03-21 Mike Kestner <[email protected]>
  18005. * ContextMenu.cs (Show): use the position parameter instead of just
  18006. showing at the MousePosition.
  18007. 2006-03-21 Jackson Harper <[email protected]>
  18008. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  18009. control handle this.
  18010. * TreeNodeCollection.cs: If we are clearing the root node we need
  18011. to reset top_node so calcs can still happen.
  18012. * ThemeWin32Classic.cs: This is a Flags so we need to check
  18013. properly.
  18014. 2006-03-21 Jackson Harper <[email protected]>
  18015. * DataGrid.cs: Create columns when the binding context has been
  18016. changed.
  18017. * X11Structs.cs: Keysyms are uints.
  18018. - Add size to fix build.
  18019. 2006-03-21 Peter Dennis Bartok <[email protected]>
  18020. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  18021. XplatUIOSX.cs:
  18022. - Added ResetMouseHover method to allow controls to retrigger
  18023. hovering if they need it more than once
  18024. - Implemented MouseHoverTime and MouseHoverSize properties
  18025. * Timer.cs: Start() must reset the interval
  18026. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  18027. properties
  18028. 2006-03-21 Jackson Harper <[email protected]>
  18029. * X11Keyboard.cs: improved layout detection. Move the nonchar
  18030. tables into this file.
  18031. * KeyboardLayouts.cs: Move the tables into resource files.
  18032. 2006-03-21 Mike Kestner <[email protected]>
  18033. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  18034. 2006-03-21 Alexander Olk <[email protected]>
  18035. * Mime.cs: Various speed optimizations. Looking up mime types
  18036. is now 2 times faster than before
  18037. 2006-03-17 Peter Dennis Bartok <[email protected]>
  18038. * CreateParams.cs: Added internal menu field
  18039. * Control.cs:
  18040. - Switched call order for UpdateBounds; now we always call
  18041. the one that also takes ClientSize, and we're calculating the
  18042. client size via driver method in the others. The previous
  18043. method of tracking client size by difference wasn't working
  18044. for forms where even the starting client size wouldn't match
  18045. the overall form size (due to borders) (Part of fix for #77729)
  18046. - CreateParams(): Do not use parent.Handle unless the handle is
  18047. already created. Causes havoc with Nexxia and throws off our
  18048. creation of controls
  18049. * XplatUIX11.cs:
  18050. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  18051. - Switched handling of ConfigureNotify over to new PerformNCCalc
  18052. method (consolidates code)
  18053. - Changed RequestNCRecalc to use new PerformNCCalc method
  18054. - Added calls to RequestNCRecalc when menus and borders are changed
  18055. to allow app to set NC size. (Part of fix for #77729) This matches
  18056. when MS send a WM_NCRECALC on Win32 windows.
  18057. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  18058. (Part of fix for #77729). This matches what MS does, they also
  18059. send that message when the form is made visible.
  18060. - XException.GetMessage: Improved usability of X errors by including
  18061. a translation of the window into Hwnd and Control class
  18062. - Improved debug info for window creation, reparenting and destruction
  18063. - Created helper method WindowIsMapped() [Currently not used]
  18064. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  18065. * Form.cs:
  18066. - CreateParams: Now setting our menu on the new internal menu field
  18067. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  18068. avoid calculating the same property twice
  18069. * Hwnd.cs:
  18070. - Improved usability of ToString() for debugging purposes
  18071. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  18072. determine the height of the menu, instead of just the font. This
  18073. required to also create a graphics context and to keep a bmp
  18074. around (for performance reasons)
  18075. 2006-03-17 Peter Dennis Bartok <[email protected]>
  18076. * MenuAPI.cs: Added OnMouseUp method
  18077. * Form.cs:
  18078. - Now remembering the requested client size, avoids size errors
  18079. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  18080. instead of base if the menu is active. This is required due to
  18081. control now capturing and releasing on down/up and it would
  18082. prematurely release our menu capture
  18083. 2006-03-17 Jackson Harper <[email protected]>
  18084. * KeyboardLayouts.cs: Add the czech layouts.
  18085. 2006-03-16 Jackson Harper <[email protected]>
  18086. * Control.cs: Use the viewport space when sizing not the controls
  18087. client size, so things like ScrollableControl that effect the
  18088. viewport size (when scrollbars are added) are computed correctly.
  18089. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  18090. of ManagerEntrys.
  18091. - Handle creating BindingManagers for null data sources.
  18092. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  18093. source, otherwise when rows are added they are added to the 'fake'
  18094. datasource and we will crash when trying to set the position in
  18095. those rows.
  18096. - Use Implicit scrollbars on the datagrid so they arent
  18097. selectable.
  18098. 2006-03-16 Jackson Harper <[email protected]>
  18099. * Binding.cs:
  18100. * InternalWindowManager.cs:
  18101. * MdiWindowManager.cs:
  18102. * X11Keyboard.cs: I really want Mike to love me again (fix
  18103. compiler warnings).
  18104. 2006-03-16 Peter Dennis Bartok <[email protected]>
  18105. * DataGrid.cs:
  18106. - OnMouseDown: Switch to editing mode when clicking on the cell
  18107. even if we're clicking on the cell that's currently
  18108. selected
  18109. - ProcessGridKey: Left/Right now wrap like MS.Net does
  18110. - ProcessGridKey: Tab now knows to add a new row when tab is
  18111. pressed in the cell of the last column of the
  18112. last row
  18113. - ProcessGridKey: Enter now adds another row if pressed in the last
  18114. row and selectes the new row, same column cell
  18115. - ProcessGridKey: Home/End navigate columns, not rows, like
  18116. originally implemented
  18117. - Broke ProcessKeyPreview code out into an extra Internal method
  18118. so it can be called from the edit code
  18119. * DataGridTextBox.cs (ProcessKeyMessage):
  18120. - Switched to accept Tab keypresses
  18121. - Added F2 handling to allow jumping to the end of the edited cell
  18122. - Added logic to allow moving caret left/right inside edited cell
  18123. and making the edited cell jump when the caret hits cell borders
  18124. - Tab and Enter are now passed to the datagrid after being handled
  18125. * TextBoxBase.cs:
  18126. - Removed capture code now that Control handles it
  18127. - set_SelectionStart now ensures caret is visible
  18128. 2006-03-16 Jackson Harper <[email protected]>
  18129. * TrackBar.cs: Debackwards the increment/decrement for handling
  18130. mouse clicks on the bar with vertical trackbars.
  18131. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  18132. bottom to match MS.
  18133. 2006-03-16 Mike Kestner <[email protected]>
  18134. * ListView.cs: make shift/ctrl keyboard and mouse selection
  18135. consistent with the MS control. Fix a bug in
  18136. SelectedListViewItemCollection.Clear that was pissing me off for the
  18137. better part of a day because the collection was being altered
  18138. underneath us as we walked the list.
  18139. 2006-03-16 Peter Dennis Bartok <[email protected]>
  18140. * Control.cs: Not sure how we could miss this so long, but it seems
  18141. that MS.Net has Capture set all the way from before calling
  18142. OnMouseDown through sending the mouse events until after
  18143. OnMouseUp. This will fix DataGrid's selection being set to end
  18144. at the location of the MouseUp.
  18145. 2006-03-15 Jackson Harper <[email protected]>
  18146. * BindingContext.cs: Check the binding after its added so that it
  18147. can initialize the binding managers and hookup to events.
  18148. * Binding.cs: Data members seem to sometimes include rows/cols in
  18149. the format Row.Column we now take this into account.
  18150. - Hookup to the position changed event so we can update the
  18151. control when the position has changed in the data set.
  18152. * CurrencyManager.cs: Take into account the row/col naming
  18153. convention when creating dataset tables.
  18154. * BindingContext.cs: Using a newer better way of storing
  18155. datasource/datamember pairs. Hopefully this better matches MS for
  18156. looking up binding managers.
  18157. 2006-03-15 Jackson Harper <[email protected]>
  18158. * BindingContext.cs: The currency manager needs the data member
  18159. name, if the member is a data set we use the name to find the
  18160. correct table.
  18161. * CurrencyManager.cs: When creating the list prefer an IList over
  18162. an IListSource.
  18163. - Attempt to create a DataTable from a DataSet (TODO: might need
  18164. some better error checking here, although MS doesn't seem to have much)
  18165. - If we have a DataTable create a view and use it as our list.
  18166. 2006-03-15 Mike Kestner <[email protected]>
  18167. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  18168. keyboard navigation. Support Up/Down/Left/Right selection correctly
  18169. for all 4 View modes.
  18170. * ListViewItem.cs: add internal row/col fields for icon layouts.
  18171. 2006-03-15 Jackson Harper <[email protected]>
  18172. * TabControl.cs: Redraw the tabs when we resize so their newly
  18173. calculated sizes are drawn on screen.
  18174. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  18175. composite characters.
  18176. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  18177. - filter events so that composite characters can be created
  18178. patches by peter
  18179. * X11Structs.cs: Add XIMProperties enum.
  18180. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18181. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  18182. unless it's created
  18183. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18184. * Control.cs (PerformLayout): We don't need to consider visiblity
  18185. for anchoring, only for docking. This fixes 'whacky' alignment
  18186. in listbox and other controls that use implicit scrollbars after
  18187. the previous PerformLayout patch
  18188. * ListBox.cs: Switched to use implicit scrollbars
  18189. 2006-03-14 Mike Kestner <[email protected]>
  18190. * ToolBar.cs:
  18191. * VScrollBar.cs:
  18192. - chain up the "new event" overrides to base and use
  18193. OnEvent to raise them. Part of fix for bug #76509.
  18194. 2006-03-14 Alexander Olk <[email protected]>
  18195. * FileDialog.cs: Do not select an item in the parent directory
  18196. on backspace
  18197. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18198. * Control.cs (PerformLayout): It would seem that we considered
  18199. invisible windows for our layout. Not quite the right thing
  18200. to do. Now we don't any longer, thereby fixing bug #76889.
  18201. 2006-03-14 Peter Dennis Bartok <[email protected]>
  18202. * Control.cs (CanFocus): I goofed. A control can have focus
  18203. even though it's not selectable. Made it match MS docs.
  18204. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18205. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  18206. center by default (fixes #76895)
  18207. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  18208. all uses of Border3DSides.All with the explicit ORd together
  18209. Left|Right|Top|Bottom because I assume that nobody was aware
  18210. that All also implies a center fill. Most places I checked had
  18211. a fill right above.
  18212. * ProgressBarStyle.cs: Added
  18213. 2006-03-13 Mike Kestner <[email protected]>
  18214. * ListView.cs: fix breakage in drag shadow header positioning
  18215. from Peter's csc compilation fix.
  18216. 2006-03-13 Mike Kestner <[email protected]>
  18217. * ListView.cs: fix NRE produced by backspacing twice in a focused
  18218. FileDialog.
  18219. 2006-03-13 Mike Kestner <[email protected]>
  18220. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  18221. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18222. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  18223. be changed
  18224. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  18225. the allowed size before making programmatic size changes
  18226. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18227. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  18228. set, metacity is broken and will still use the emty sizes in
  18229. the struct. (Fix for #77089)
  18230. 2006-03-13 Peter Dennis Bartok <[email protected]>
  18231. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  18232. WindowExStyles and marked both enums as Flags
  18233. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  18234. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  18235. to match WindowStyles split
  18236. * XplatUIX11.cs:
  18237. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  18238. - Updated to match WindowStyles split
  18239. * XplatUIWin32.cs:
  18240. - Fixed FosterParent creation, was using ExStyle on the Style field
  18241. (This should help with Popup focus issues)
  18242. - Updated to match WindowStyles split
  18243. 2006-03-13 Jackson Harper <[email protected]>
  18244. * MdiWindowManager.cs: Use the system menu height. Fixes some
  18245. strange sizing issues.
  18246. 2006-03-12 Peter Dennis Bartok <[email protected]>
  18247. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  18248. * TextBoxBase.cs:
  18249. - Scroll to caret after inserting text (#77672)
  18250. - Make scroll range one pixel higher, fixes off-by-one error (and
  18251. makes underlines visible on the last line)
  18252. 2006-03-12 Peter Dennis Bartok <[email protected]>
  18253. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  18254. the keyboard state from being stuck with keys in 'pressed' state when
  18255. focus is switched away via keyboard
  18256. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  18257. reset the keyboard if no X11 KeyUp events are expected to come
  18258. * X11Structs.cs: Switched type of Visible to bool to match driver
  18259. 2006-03-12 Peter Dennis Bartok <[email protected]>
  18260. * TextControl.cs:
  18261. - Switched caret to be just 1 pixel wide, matches MS and looks less
  18262. clunky
  18263. - Moved caret display 1 pixel down from the top of the control
  18264. to improve view
  18265. - InsertCharAtCharet: Update the selection start if moving the caret
  18266. (fixes bug #77696; based on patch suggested by [email protected])
  18267. - No longer always creating the caret when the caret methods are
  18268. called. Only the actual ShowCaret/HideCaret will do that now
  18269. - Only setting caret visible if the owner control has focus
  18270. - UpdateView: Added invalidation-shortcut logic for center and right
  18271. aligned text. Previously we'd update all according to the left
  18272. logic which caused drawing errors. Also fixed height of invalidated
  18273. areas, now properly invalidating the whole area (was off-by-one)
  18274. - owner_HandleCreated: Always generate the document when the
  18275. handle is created; this ensures that
  18276. * TextBoxBase.cs:
  18277. - Fixed situation where caret would disappear under the right
  18278. window border, also improved scrolling behaviour on left-
  18279. aligned textboxes
  18280. - Fixed right-aligned textboxes to have a border to the
  18281. right instead of the caret being under the right border
  18282. * XplatUIX11.cs:
  18283. - Switched from 'nested' to simple visible/not visible tracking
  18284. for caret (part of fix for #77671)
  18285. - No longer passing through translated FocusIn/FocusOut messages
  18286. since we were notifying too often and the wrong windows. Instead
  18287. we just notify our focussed window of receiving or loosing focus
  18288. * XplatUIWin32.cs: Switched from 'nested' show/hide
  18289. counting for caret to simple visible yes/no behaviour (part of
  18290. fix for #77671)
  18291. 2006-03-11 Alexander Olk <[email protected]>
  18292. * Mime.cs: Remove debug code...
  18293. 2006-03-11 Alexander Olk <[email protected]>
  18294. * MimeGenerated.cs: Removed
  18295. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  18296. and subclasses) from /usr/(local/)share/mime and
  18297. $HOME/.local/share/mime.
  18298. 2006-03-10 Jackson Harper <[email protected]>
  18299. * MdiWindowManager.cs: Recalc the NC area when a window is
  18300. maximized/restored so that the menu area is drawn on forms that
  18301. don't have a menu.
  18302. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18303. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  18304. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  18305. us to force a WM_NCCALCRESIZE message being sent. This is needed
  18306. for MDI maximizing.
  18307. 2006-03-10 Jackson Harper <[email protected]>
  18308. * Form.cs: We need to use the ActiveMenu when calculating menu
  18309. height.
  18310. - Fix nullref when the window manager hasn't been created yet.
  18311. * Control.cs: Fix nullref when we try to bring a control to the
  18312. front that has no parent.
  18313. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  18314. height.
  18315. - Add a dummy item to the maximized menu so it always has the
  18316. correct height. Otherwise when there are no menus we don't get our
  18317. icon and buttons.
  18318. 2006-03-10 Jackson Harper <[email protected]>
  18319. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  18320. stuff.
  18321. * Form.cs: Make the window_state internal so the window managers
  18322. can track it.
  18323. - When an MDI child is maximized let its window manager create the
  18324. main menu (so it can add its icon).
  18325. - Notify the window managers of state changes
  18326. - Let the window manager paint its buttons and handle button
  18327. clicks on the menu when it is maximized.
  18328. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  18329. window manager, since tool windows don't use it, only mdi windows.
  18330. - Tell the main form that we don't want it to handle NCPAINT
  18331. itself to avoid extra painting.
  18332. - Handle clicks on a maximized windows menu.
  18333. - Handle window state changes
  18334. - Handle minimize/maximize clicks correctly by setting the window state.
  18335. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  18336. when clicking on the forms icon).
  18337. - New method to create a forms maximized menu. This is its normal
  18338. menu + an icon.
  18339. - Handle window state changes.
  18340. - Handle sizing of maximized windows. Maximized windows are just
  18341. drawn bigger then the parent visible area. All controls are still
  18342. there, they are just outside the visible area (this matches windows).
  18343. * MdiClient.cs: No scrollbars when a child window is maximized.
  18344. - Let the children windows figure out how big they should be when
  18345. sizing maximized windows.
  18346. - Implement a version of ArrangeIconicWindows somewhat similar to
  18347. Windows version. There are some little differences, but I don't
  18348. think any app will rely on the layout of minimized mdi windows.
  18349. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18350. * Padding.cs: Several fixes to allow compiling with csc 2.0
  18351. 2006-03-09 Jackson Harper <[email protected]>
  18352. * Menu.cs:
  18353. * MenuItem.cs: Cheap hack so we can add items to the list without
  18354. the events being raised. This allows adding mdi items during
  18355. drawing. TODO: Should probably find a better time to add the items.
  18356. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18357. * ThemeWin32Classic.cs:
  18358. - CheckBox_DrawText: Added logic to not wrap if not enough space
  18359. is available (Fix for bug #77727)
  18360. - RadioButton_DrawText: Added logic not to wrap if not enough
  18361. space is available (Fix for bug #77727). Also removed some
  18362. duplicate code, DrawString always drawing the regular text
  18363. before hitting the if statement.
  18364. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18365. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  18366. 2006-03-10 Peter Dennis Bartok <[email protected]>
  18367. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  18368. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  18369. methods. Moved the new 2.0 properties into alphabetical order with
  18370. other properties and added MonoTODO tags
  18371. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18372. * AutoScaleMode.cs: Added. Fix build.
  18373. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18374. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  18375. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  18376. and was requiring premature handle creation for calls from above
  18377. * Form.cs, Control.cs: Removed handle arguments from calls to
  18378. CalculateClientRect()
  18379. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18380. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  18381. drag_column.column_rect is MarshalByRef and can't be used that way
  18382. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18383. * AxHost.cs: Added deserialization constructor for
  18384. AxHost+State (fixes 77743)
  18385. 2006-03-09 Mike Kestner <[email protected]>
  18386. * ListView.cs:
  18387. - Added column drag reordering for details view.
  18388. - fixed behavior when mouse is dragged off column and
  18389. AllowColumnReorder is false.
  18390. * ColumnHeader.cs: clone the format too in Clone.
  18391. * Theme.cs: add DrawListViewHeaderDragDetails method.
  18392. * ThemeWin32Classic.cs:
  18393. - impl new method for drawing drag column shadows and targets.
  18394. - support column offset for details mode in DrawListViewItem.
  18395. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18396. * TextControl.cs: Reset the char_count when the document is cleared
  18397. (Fixes bug reported on mono-winforms mailing list)
  18398. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18399. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  18400. of calling base we simply process the key ourselves, since both
  18401. DefWindowProc and the handled method would set m.Result.
  18402. (Fixes #77732)
  18403. 2006-03-09 Peter Dennis Bartok <[email protected]>
  18404. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  18405. method also moves the window; instead implemented a copy of
  18406. Control.ScaleCore (Part of fix for #77456)
  18407. * TextBoxBase.cs:
  18408. - Created new CreateGraphicsInternal method to allow providing
  18409. a graphics context when no handle is created without triggering
  18410. handle creation. (Part of fix for #77456)
  18411. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  18412. * TextControl.cs:
  18413. - Switched Constructor to require TextBoxBase instead of Control (to
  18414. allow uncast access to CreateGraphicsInternal)
  18415. - Safeguarded use of owner.Handle property. No longer accessing it
  18416. unless the handle is already created.
  18417. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  18418. - Now triggering a recalc when owning control becomes visible
  18419. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  18420. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  18421. premature handle creation (Part of fix for #77456)
  18422. * Control.cs:
  18423. - We now only destroy our double-buffering buffers when the
  18424. control is resized or disposed, but not when visibility
  18425. changes. (The code even re-created them twice every time)
  18426. - Now requiring a redraw of the buffer on visibility changes
  18427. (fixes bug 77654 part 2)
  18428. - Not passing OnParentVisibleChanged up unless the control
  18429. is visible
  18430. - CanFocus: Fixed to match MS documentation
  18431. - Focus: Fixed to return actual focus state and to check if
  18432. setting focus is legal before setting it
  18433. 2006-03-08 Peter Dennis Bartok <[email protected]>
  18434. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  18435. when to draw focus rectangle by looking at parent focus and
  18436. selected state instead. This fixes TabPages on Linux sometimes
  18437. having none or multiple focus rectangles.
  18438. * XplatUIX11.cs (SetFocus):
  18439. - Don't set the focus if the same window already has focus
  18440. - Use SendMessage instead of PostMessage (like it's Win32
  18441. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  18442. to match MS behaviour
  18443. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  18444. are not selectable.
  18445. 2006-03-07 Jackson Harper <[email protected]>
  18446. * PictureBox.cs: Revert line I accidently committed last week.
  18447. 2006-03-07 Peter Dennis Bartok <[email protected]>
  18448. * Control.cs:
  18449. - Added new IsRecreating and ParentIsRecreating properties to
  18450. allow testing if RecreateHandle has been called on ourselves
  18451. or one of our parents
  18452. - WndProc(WM_DESTROY): If our control handle is being recreated
  18453. we immediately need to create the handle when receiving the
  18454. destroy, that way our child windows find a valid parent handle
  18455. when they themselves are being recreated upon WM_DESTROY receipt
  18456. (fix for bug #77654 part 1)
  18457. * XplatUIX11.cs:
  18458. - DestroyWindow: WM_DESTROY must be sent to our own window before
  18459. notifying any child windows. MS documents that child windows
  18460. are still valid when WM_DESTROY is received. (Control now relies on
  18461. this behaviour)
  18462. - Added some fine-grain debug options
  18463. 2006-03-06 Jackson Harper <[email protected]>
  18464. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  18465. box and base calculations off this.
  18466. * MdiChildContext.cs:
  18467. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  18468. anymore.
  18469. 2006-03-06 Peter Dennis Bartok <[email protected]>
  18470. * Splitter.cs: In situations where the affected control is added
  18471. to the parent's control list after the splitter, we would not
  18472. populate affected. Now we try populating it on mousedown, if
  18473. it's not already set, and force it to be re-set whenever our
  18474. parent changes.
  18475. 2006-03-03 Matt Hargett <[email protected]>
  18476. * Control.cs: implement Control.Padding
  18477. * Padding.cs: -Padding.All returns -1 when constructing with the
  18478. implicit default ctor
  18479. -Padding.ToString() matches MS.NET
  18480. * ContainerControl.cs: implement
  18481. ContainerControl.AutoScaleDimensions
  18482. * ListControl.cs: implement ListControl.FormattingEnabled
  18483. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  18484. * ButtonBase.cs:
  18485. * TabPage.cs: Implement UseVisualStyleBackColor.
  18486. * PictureBox.cs: Implement PictureBox.InitialImage.
  18487. 2006-03-03 Mike Kestner <[email protected]>
  18488. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  18489. event declarations to proxy to base event.
  18490. * ListViewItem.cs: update to use ItemControl.
  18491. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  18492. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  18493. column header label rendering for 0 width columns.
  18494. 2006-03-03 Peter Dennis Bartok <[email protected]>
  18495. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  18496. that causes the control to be created. Fixes #77476.
  18497. 2006-03-02 Jackson Harper <[email protected]>
  18498. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  18499. expose_pending.
  18500. 2006-03-02 Peter Dennis Bartok <[email protected]>
  18501. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  18502. passed in for the EventArgs (fixes #77690)
  18503. 2006-03-01 Jackson Harper <[email protected]>
  18504. * ScrollBar.cs: Refresh afterbeing resized.
  18505. 2006-02-28 Mike Kestner <[email protected]>
  18506. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  18507. Clean up a tracker compile warning.
  18508. * MenuItem.cs: add internal PerformPopup method.
  18509. [Fixes #77457]
  18510. 2006-02-28 Peter Dennis Bartok <[email protected]>
  18511. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  18512. implicit expose) when the text is set to null
  18513. 2006-02-28 Peter Dennis Bartok <[email protected]>
  18514. * RichTextBox.cs (FlushText): When newline is true, we always
  18515. need to split the line, even if no text is on it and we may
  18516. never eat newlines. (Fixes #77669)
  18517. 2006-02-28 Mike Kestner <[email protected]>
  18518. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  18519. and set Selected instead.
  18520. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  18521. collections.
  18522. 2006-02-28 Peter Dennis Bartok <[email protected]>
  18523. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  18524. 2006-02-28 Alexander Olk <[email protected]>
  18525. * FontDialog.cs:
  18526. - Got rid of the panel. All controls are now directly added to
  18527. the dialog form
  18528. - It is now possible to set a font with the Font property
  18529. - MinSize and MaxSize property do now what they should
  18530. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  18531. - Searching and selecting a font with the font textbox works now,
  18532. the same applies to the style and size textbox
  18533. - Draw the correct 3D border in the example panel
  18534. - Fixed a little mem leak (unused fonts didn't get disposed)
  18535. - Many other internal updates/rewrites...
  18536. - Fix typo
  18537. 2006-02-27 Peter Dennis Bartok <[email protected]>
  18538. * TextControl.cs:
  18539. - InsertRTFFromStream: Added 'number of characters inserted' argument
  18540. - set_SelectedRTF: Now using the number of characters to calculate
  18541. the new location for the selection and cursor (x/y cannot be used
  18542. due to potentially already wrapped text)
  18543. 2006-02-27 Peter Dennis Bartok <[email protected]>
  18544. * TextControl.cs: Added property and implemented means to allow
  18545. disabling recalculation of a document (can be used to speed up
  18546. multiple inserts and is needed to make RTF inserts predictable, see
  18547. bug #77659)
  18548. * RichTextBox.cs: Using the new NoRecalc property of Document to
  18549. keep x/y insert locations predictable. Also makes it faster inserting
  18550. large chunks of RTF
  18551. 2006-02-27 Peter Dennis Bartok <[email protected]>
  18552. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  18553. it's easier for a child control to handle the other messages without
  18554. having to duplicate the special functionality
  18555. * TextBoxBase.cs
  18556. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  18557. code to handle processing the key ourselves, in order to get
  18558. access to the result of KeyEventArgs.Handled. We now only call
  18559. ProcessKey if they key hasn't been handled already. Fixes #77526.
  18560. - set_Text: If null or empty string is given, just clear the
  18561. document. Fixes part of #77526
  18562. 2006-02-27 Jackson Harper <[email protected]>
  18563. * SizeGrip.cs: Paint the background color before painting the grip
  18564. so things look right.
  18565. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  18566. 2006-02-27 Mike Kestner <[email protected]>
  18567. * ListView.cs:
  18568. - Restructure layout and invalidation model to remove a ton of
  18569. flicker from the control and speed up performance in general.
  18570. - Add manual column resize, flickers like crazy, but I already have
  18571. some ideas on how I'll fix that. (#76822)
  18572. - Merge the three Icon-based views into a single layout method.
  18573. - Move item selection interaction logic from the item since
  18574. interaction with the collections is more appropriate to the view.
  18575. - Deselection on non-item clicks.
  18576. * ListViewItem.cs:
  18577. - Encapsulate most of the layout. Add some internal props to trigger
  18578. layout. Move to a model where Items invalidate themselves instead
  18579. of just invalidating the whole control every time something changes.
  18580. - Invalidate on Text/Caption changes.
  18581. - switch to an offset based layout model to avoid having to absolute
  18582. position every element on item moves.
  18583. - correct checkbox layout to conform to MS layout.
  18584. * ThemeWin32Classic.cs:
  18585. - refactor some column header drawing code.
  18586. - fix string justification for column headers (#76821)
  18587. - make SmallIcon labels top justified for compat with MS impl.
  18588. * ThemeClearlooks.cs:
  18589. - adjust to new ListViewItem internal checkbox bounds api.
  18590. 2006-02-27 Jackson Harper <[email protected]>
  18591. * Control.cs: Change where implicit controls fall in the zorder.
  18592. They are now on top of all children.
  18593. - Synced AddImplicit code with Add
  18594. - Removed unused enumerator.
  18595. * SizeGrip.cs: Remove the TODO as its been TODONE.
  18596. 2006-02-26 Peter Dennis Bartok <[email protected]>
  18597. * TextControl.cs(Insert): Combine the last lines unless the insertion
  18598. string ends with \n\n, otherwise we leave one line too many (Fixes
  18599. something I noticed with the testapp for #77526; the bug itself was
  18600. already fixed in the previous checkin)
  18601. 2006-02-26 Peter Dennis Bartok <[email protected]>
  18602. * RichTextBox.cs:
  18603. - SelectionColor and SelectionFont methods no longer set absolute
  18604. styles. Instead, the keep font or color respectively (This
  18605. resolves a long-standing FIXME in the code)
  18606. - When flushing RTF text, the insert code now considers text trailing
  18607. behind the insertion point (Fixes the bug where when replacing
  18608. the selected text via SelectedRTF the remainder of the line behind
  18609. the selection would stay on the first insertion line)
  18610. * TextBoxBase.cs:
  18611. - AppendText now updates the selection points after inserting text
  18612. - AppendText now ensures that the last tag (sometimes 0-length) of
  18613. the document is used for the style information (Fixes part of
  18614. bug #77220)
  18615. * TextControl.cs:
  18616. - Created new FontDefiniton class to allow describing partial style
  18617. changes
  18618. - StreamLine() now takes a lines argument, to allow it to decide
  18619. whether an encountered zero-length tag is the last in the document
  18620. (which must be kept to not loose the font/color contained in it,
  18621. for later appends)
  18622. - Created Combine() and Split() methods for Marker structs, to
  18623. support marker updates due to reformatted documents (soft line
  18624. wraps)
  18625. - Implemented Document.CaretTag setter
  18626. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  18627. of the last line (Not the cause, but also exposed by bug #77220)
  18628. - Added LineTag argument to InsertString method, to allow callers
  18629. to force a certain tag to be used (required to force use of the
  18630. trailing zero-length tag of a document)
  18631. - Now updating markers in Combine(), to avoid stale tag markers
  18632. - Added some method descriptions to aid maintenance
  18633. - Implemented new FormatText concept, allowing additive/subtractive
  18634. formatting by only specifying the components that are to be
  18635. changed. This was needed for resolving the RTB.SelectedColor/
  18636. RTB.SelectedFont fixmes
  18637. - Added Break() support method to allow breaking up linetags (used
  18638. for partial formatting)
  18639. - Added GenerateTextFormat() method. It is used for partial
  18640. formatting and allows to generate a full font/color from given
  18641. attributes and an existing tag.
  18642. 2006-02-26 Jackson Harper <[email protected]>
  18643. * XplatUIX11.cs: Use the correct caption height.
  18644. - Translate hittest coordinates to screen coords to match MS.
  18645. * XplatUIWin32.cs: When we create MDI windows we need to reset
  18646. some of the style flags, so we get a nice blank window, and can
  18647. draw all the decorations ourselves.
  18648. - Set a clipping rectangle on the non client paint event, the
  18649. window manager drawing code needs one.
  18650. * Form.cs: The window manager needs to know when the window state
  18651. has been updated.
  18652. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  18653. don't need to factor in border and title sizes in these
  18654. methods. TODO: Remove the args and fix the call points.
  18655. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  18656. properly.
  18657. - Let the driver set the cursors.
  18658. - Improve active window handling
  18659. - Correct sizes for title bars and buttons.
  18660. - Match MS drawing better
  18661. * MdiWindowManager.cs: We don't need to handle border style
  18662. updates specially anymore.
  18663. - Check for scrollbars when windows are done moving
  18664. - Handle Active properly.
  18665. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  18666. correctly. I am spewing the exception though, so we don't hide the
  18667. bugs.
  18668. 2006-02-26 Pedro Martinez Julia <[email protected]>
  18669. * DataGridViewRowPostPaintEventArgs.cs,
  18670. DataGridViewCellPaintingEventArgs.cs,
  18671. DataGridViewRowCollection.cs,
  18672. DataGridViewRowPrePaintEventArgs.cs,
  18673. DataGridViewCell.cs: Clear a few warnings and implement a few
  18674. exceptions that should be thrown.
  18675. 2006-02-22 Peter Dennis Bartok <[email protected]>
  18676. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  18677. 'inheriting' our parent's (non-default) cursor. (Part of
  18678. the fix for #77479)
  18679. 2006-02-22 Peter Dennis Bartok <[email protected]>
  18680. * XplatUIX11.cs: Fixed cast to make csc happy
  18681. 2006-02-22 Peter Dennis Bartok <[email protected]>
  18682. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  18683. it's for the client area (part of fix for #77479 and needed
  18684. for MDI window cursor handling)
  18685. * XplatUIX11.cs
  18686. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  18687. the appropriate default cursors and also passing the message
  18688. up the parent chain
  18689. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  18690. for non-client areas
  18691. 2006-02-15 Jackson Harper <[email protected]>
  18692. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  18693. is a real MDI window
  18694. 2006-02-14 Alexander Olk <[email protected]>
  18695. * X11DesktopColors.cs: Instead of checking the desktop session
  18696. string for "KDE" check if it starts with "KDE"
  18697. 2006-02-10 Jackson Harper <[email protected]>
  18698. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  18699. systems).
  18700. 2006-02-10 Alexander Olk <[email protected]>
  18701. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  18702. errors
  18703. * ColorDialog.cs:
  18704. - Got rid of the panel. All controls are now directly added to
  18705. the dialog form
  18706. - Changed to mono coding style
  18707. 2006-02-10 Jackson Harper <[email protected]>
  18708. * InternalWindowManager.cs: We don't need the set visibility to
  18709. false hack anymore now that peter has written beautiful shutdown
  18710. code.
  18711. 2006-02-10 Peter Dennis Bartok <[email protected]>
  18712. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  18713. where already explicitly destroyed
  18714. 2006-02-10 Jackson Harper <[email protected]>
  18715. * MdiClient.cs: Handle the case where windows are too high or to
  18716. the left and we need scrollbars.
  18717. 2006-02-10 Alexander Olk <[email protected]>
  18718. * MimeIcon.cs: Added some icons
  18719. * FileDialog.cs:
  18720. - Fixed bug #77477
  18721. - Got rid of the panel. All controls are now directly added to
  18722. the dialog form
  18723. - Changed to mono coding style
  18724. - On Linux "My Computer" and "My Network" will now show some
  18725. more usefull information. A new class, MasterMount, gathers
  18726. this information from /proc/mount. Updated MWFFileView to make
  18727. use of this information
  18728. - Fixed a bug that caused FileDialog to crash when
  18729. ".recently_used" file had a zero size
  18730. - FilterIndex does now what it should
  18731. - Some Refactoring
  18732. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  18733. FileDialog changes
  18734. 2006-02-09 Jackson Harper <[email protected]>
  18735. * ComboBox.cs: Don't touch if null.
  18736. 2006-02-09 Peter Dennis Bartok <[email protected]>
  18737. * Cursor.cs: 64bit safeness fix
  18738. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  18739. 2006-02-09 Jackson Harper <[email protected]>
  18740. * Form.cs: If a form is made into an MDI form update the styles so
  18741. all the props can get set correctly.
  18742. - Kill the mdi_container when we dont need it anymore.
  18743. * InternalWindowManager.cs: Add missing NOT
  18744. 2006-02-08 Jackson Harper <[email protected]>
  18745. * InternalWindowManager.cs: Respek clipping when drawing MDi
  18746. decorations.
  18747. 2006-02-08 Jackson Harper <[email protected]>
  18748. * Hwnd.cs: Add bits to track non client expose events.
  18749. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  18750. gives us a proper invalid rect and will allow for some nice
  18751. optimizations with NC client drawing
  18752. - MDI windows are children windows, so move their style handling
  18753. into the child window block.
  18754. * InternalWindowManager.cs: Remove a state reset that was
  18755. getting invoked at the wrong time. Fixes managed windows getting
  18756. into a 'stuck' captured state.
  18757. 2006-02-07 Peter Dennis Bartok <[email protected]>
  18758. * TextControl.cs (Document.ctor): Now initializing
  18759. selection_anchor. Fixes #77493
  18760. 2006-02-07 Jackson Harper <[email protected]>
  18761. * TrackBar.cs: The increment/decrements were backwards.
  18762. 2006-02-07 Mike Kestner <[email protected]>
  18763. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  18764. to the instance itself.
  18765. 2006-02-07 Peter Dennis Bartok <[email protected]>
  18766. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  18767. on ulongs and pointers, the size differs between 32bit and 64bit
  18768. systems.
  18769. 2006-02-07 Mike Kestner <[email protected]>
  18770. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  18771. for 64 bit platforms to work around a metacity bug.
  18772. 2006-02-07 Jackson Harper <[email protected]>
  18773. * TrackBar.cs: Process the input keys we need, and hookup to
  18774. KeyDown instead of using WndProc, so we get key messages.
  18775. 2006-02-06 Peter Dennis Bartok <[email protected]>
  18776. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  18777. machine we're on.
  18778. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  18779. we need to translate the XdndVersion atoms array before sending it
  18780. 2006-02-06 Peter Dennis Bartok <[email protected]>
  18781. * XplatUIX11.cs:
  18782. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  18783. number of bits for the property, not the number of bytes. The
  18784. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  18785. but would not crash since it specified 8 bits instead of 4 bits)
  18786. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  18787. defined as XID -> long in the C headers)
  18788. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  18789. references since those are now IntPtr to begin with
  18790. - Switched all Atom.XXX 'int' casts to IntPtr casts
  18791. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  18792. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  18793. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  18794. * X11Structs.cs:
  18795. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  18796. - Changed atom in HoverStruct to be IntPtr
  18797. * X11DnD.cs:
  18798. - Removed local DllImports, switched code to use those from XplatUIX11
  18799. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  18800. 2006-02-06 Mike Kestner <[email protected]>
  18801. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  18802. method signatures in the import region. There may still be some
  18803. lingering struct marshaling issues, as I didn't drill down into those.
  18804. Yet.
  18805. 2006-02-06 Jackson Harper <[email protected]>
  18806. * ComboBox.cs: Dont manually set the top_item, this is computed
  18807. when the scrollbar position is set.
  18808. 2006-02-06 Mike Kestner <[email protected]>
  18809. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  18810. startup crashes on amd64. There's other fixes needed. All pinvoke
  18811. usage of Atom needs to be mapped to IntPtr for example. And there are
  18812. likely other int/long issues to be addressed.
  18813. 2006-02-04 Alexander Olk <[email protected]>
  18814. * FileDialog.cs: One more...
  18815. 2006-02-03 Alexander Olk <[email protected]>
  18816. * FileDialog.cs: Next try
  18817. 2006-02-03 Alexander Olk <[email protected]>
  18818. * FileDialog.cs: First part of fix for #77464
  18819. 2006-02-03 Alexander Olk <[email protected]>
  18820. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  18821. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  18822. AcceptButton border drawing.
  18823. 2006-02-03 Peter Dennis Bartok <[email protected]>
  18824. * Form.cs: Moved positioning of form after auto scaling is applied,
  18825. otherwise it would possibly use wrong form size.
  18826. 2006-02-03 Peter Dennis Bartok <[email protected]>
  18827. * Control.cs (RecreateHandle): No need to re-create any child
  18828. controls, the child windows will get destroyed automatically by
  18829. the windowing system or driver, and re-created when the handle
  18830. is being accessed the first time. Fixes #77456
  18831. * Form.cs: No longer setting the form to closing if the handle is
  18832. being recreated. This seems like the right thing to do, don't
  18833. have a bug or testcase for this, though.
  18834. 2006-02-02 Peter Dennis Bartok <[email protected]>
  18835. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  18836. controls to avoid unwanted side effects
  18837. 2006-02-02 Peter Dennis Bartok <[email protected]>
  18838. * Control.cs:
  18839. - ScaleCore needs to scale the bounds, not the ClientSize of the
  18840. control. Fixes #77416.
  18841. - DefaultSize is 0,0 for control
  18842. * TextBoxBase.cs:
  18843. - DefaultSize is 100, 20
  18844. - SetBoundsCore: Now enforcing the height, no matter if the provided
  18845. height is more or less than the preferred one, as long as AutoSize
  18846. is on
  18847. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  18848. 2006-02-02 Peter Dennis Bartok <[email protected]>
  18849. * Control.cs:
  18850. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  18851. call unless both performLayout is true *and* we have a pending
  18852. layout change
  18853. - ResumeLayout: MS does not completely nest Suspend and Resume,
  18854. they bottom out at 0, fixed our code to match that.
  18855. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  18856. SetBoundsCore, we were updating even when we shouldn't. This fixes
  18857. swf-anchors mis-anchoring when resizing the app fast and lots.
  18858. - UpdateDistances: Now only setting the left and top distance if
  18859. we have a parent and are not suspended, this is based on
  18860. a suggestion by Don Edvaldson in bug #77355.
  18861. - OnVisibleChanged: Fixed logic when to create the control. We may
  18862. not create the control if we have no parent or if it's not visible;
  18863. switched to using Visible property instead of is_visible field
  18864. since the property also considers parent states. This fixes a bug
  18865. when starting Paint.Net
  18866. 2006-02-02 Jackson Harper <[email protected]>
  18867. * Form.cs: If the forms handle hasn't been created yet don't call
  18868. into xplatui to make it top most, just set the topmost flag on the
  18869. form in CreateParams
  18870. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  18871. 2006-02-01 Jackson Harper <[email protected]>
  18872. * ScrollableControl.cs: Refactored the Recalculate method a
  18873. little, this wasn't handling all the variants of bottom and right
  18874. bars needed to be added and added/removed based on their
  18875. counterparts being added/removed (which changes the drawable
  18876. size). Also we special case client widths and heights of 0 and
  18877. don't add the scrollbar for those.
  18878. 2006-02-01 Peter Dennis Bartok <[email protected]>
  18879. * XplatUIX11.cs:
  18880. - Added method to get AbsoluteGeometry(); currently unused, but might
  18881. be used in the future, if we try again to figure out toplevel
  18882. coordinates with some more crappy window managers
  18883. - Added FrameExtents() method to retrieve the WM set decoration size
  18884. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  18885. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  18886. * Hwnd.cs:
  18887. - Added whacky_wm tracking var for metacity
  18888. - Added logic to have default menu height if the actual menu height
  18889. has not yet been calculated (part of fix for #77426)
  18890. * Form.cs: Keep track whether client size has been set and re-set
  18891. it if a menu is added/removed afterwards (Fixes #77426)
  18892. 2006-01-31 Jackson Harper <[email protected]>
  18893. * Control.cs: When a new Site is set on the component attempt to
  18894. pull the AmbientProperties from it.
  18895. 2006-01-31 Peter Dennis Bartok <[email protected]>
  18896. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  18897. in the background of the owning form. Fixes #77332
  18898. 2006-01-31 Alexander Olk <[email protected]>
  18899. * MimeIcon.cs: Fix for #77409
  18900. 2006-01-31 Alexander Olk <[email protected]>
  18901. * XplatUIX11GTK.cs: Initial import
  18902. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  18903. * FixedSizeTextBox: fixes class signature
  18904. 2006-01-30 Jackson Harper <[email protected]>
  18905. * FixedSizeTextBox.cs: New internal class that represents a
  18906. textBox that will not be scaled.
  18907. * TreeView.cs:
  18908. * ComboBox.cs:
  18909. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  18910. standard TextBox.
  18911. 2006-01-30 Peter Dennis Bartok <[email protected]>
  18912. * XplatUIX11.cs: Retrieve default screen number instead of
  18913. assuming 0. Attempted fix for #77318
  18914. 2006-01-30 Peter Dennis Bartok <[email protected]>
  18915. * XplatUIWin32.cs:
  18916. - GetWindowPos: When a window is parented by FosterParent, use
  18917. the desktop instead of FosterParent as the base to get coordinates
  18918. - CreateWindow: Don't make FosterParent the parent window for Popups
  18919. if we don't want a taskbar entry, Popups automatically don't get one
  18920. * Hwnd.cs: Need to call remove to actually remove the key from the
  18921. hash table
  18922. 2006-01-30 Mike Kestner <[email protected]>
  18923. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  18924. 2006-01-30 Jackson Harper <[email protected]>
  18925. * TreeView.cs:
  18926. * TreeNode.cs: Raise events no matter how the treenode is
  18927. checked. Patch by Don Edvalson.
  18928. 2006-01-30 Jackson Harper <[email protected]>
  18929. * TreeNode.cs: Signature fix.
  18930. 2006-01-29 Alexander Olk <[email protected]>
  18931. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  18932. 2006-01-20 Mike Kestner <[email protected]>
  18933. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  18934. event forwarding when menus are active.
  18935. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  18936. Most of the patch is pdb's with a little rework.
  18937. 2006-01-26 Peter Dennis Bartok <[email protected]>
  18938. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  18939. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  18940. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  18941. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  18942. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  18943. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  18944. the PaintWindowDecorations method
  18945. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  18946. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  18947. * MenuAPI.cs: Made tracker window invisible
  18948. * XplatUIWin32.cs:
  18949. - Removed GetMenuDC and ReleaseMenuDC methods
  18950. - Implemented the client=false path for PaintEventStart and
  18951. PaintEventEnd
  18952. 2006-01-26 Peter Dennis Bartok <[email protected]>
  18953. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  18954. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  18955. styles
  18956. * Form.cs:
  18957. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  18958. the style
  18959. - CreateParams: Reworked the styles to match MS look'n'feel,
  18960. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  18961. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  18962. 2006-01-26 Peter Dennis Bartok <[email protected]>
  18963. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  18964. window is not mapped, since otherwise every form that's being
  18965. created is considered minimized, which is wrong.
  18966. * Form.cs: Catching the exception and returning our internal value
  18967. instead
  18968. 2006-01-26 Peter Dennis Bartok <[email protected]>
  18969. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  18970. SetWindowMinMax() to have means to tell the driver about the minimum,
  18971. maximum and maximized state window sizes. (Part of the fix for #76485)
  18972. * Form.cs:
  18973. - Implemented tracking of minimum and maximum window size, now calling
  18974. new SetWindowMinMax() driver method to tell the driver (Part of the
  18975. fix for #76485)
  18976. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  18977. (Completes fix for #76485)
  18978. - Calling new SetWindowMinMax driver method when the handle for a
  18979. form is created, to make sure the driver knows about it even if
  18980. the values have been set before the window was created
  18981. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  18982. to avoid messing up our anchoring calculations (partial fix
  18983. for #77355)
  18984. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  18985. * XplatUIX11.cs:
  18986. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  18987. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  18988. (and presumably other freedesktop.org compliant WMs). Left the
  18989. assumption unmapped=minimized, needed for SetVisible to work.
  18990. - Now setting the window state when creating windows
  18991. - Fixed SetVisible to consider/set the window state when mapping
  18992. a Form. We cannot set the state before it's mapped, and we cannot
  18993. use Form.WindowState once it's mapped (since it would ask the
  18994. driver and get 'normal'. Therefore, we grab the state before
  18995. mapping, map, and then set state.
  18996. - Implmemented SetWindowMinMax method; Metacity does not seem to
  18997. honor the ZoomHints, though.
  18998. * XplatUIWin32.cs:
  18999. - Removed MINMAXINFO (moved to XplatUIStructs)
  19000. - Added SetWindowMinMax stub (on Win32 the only way to set that
  19001. information is in response to the WM_GETMINMAXINFO message, which
  19002. is handled in Form.cs)
  19003. - Added logic to SetVisible to set the proper window state when a
  19004. form is made visible (fixes #75720)
  19005. 2006-01-26 Jackson Harper <[email protected]>
  19006. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  19007. same way we handle them with Invoke.
  19008. 2006-01-25 Peter Dennis Bartok <[email protected]>
  19009. * Form.cs:
  19010. - Added tracking of window state so CreateParams can return
  19011. the appropriate style
  19012. - Moved setting of WS_CAPTION style in CreateParams to allow
  19013. styles without caption
  19014. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  19015. control if the TextBox property is accessed. Fixes #77345
  19016. * Control.cs:
  19017. - get_Created: now uses is_disposed and is_created to determine
  19018. return value (suggested by Jackson)
  19019. - CreateHandle: No longer exits if the handle is being recreated
  19020. - RecreateHandle: If the handle is not yet created call the
  19021. appropriate method to create either control or handle. If the
  19022. control is already created CreateHandle will simply exit instead
  19023. of just creating the handle
  19024. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  19025. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  19026. is called.
  19027. * XplatUIX11.cs:
  19028. - When DestroyWindow is called, instead of waiting for the
  19029. DestroyNotification from X11, we directly post it to the WndProc
  19030. and immediately dispose the hwnd object.
  19031. Same applies to DestroyChildWindows, and this obsoletes the
  19032. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  19033. child windows before our own, to avoid X11 errors.
  19034. - Removed the direct sending of WM_PAINT on UpdateWindow
  19035. * XplatUIWin32.cs:
  19036. - Reworked DoEvents and GetMessage to allow access to internal queue
  19037. even when trying non-blocking access to the queue. Fixes #77335.
  19038. Based on a patch suggestion by Don Edvalson. The new private
  19039. GetMessage can now also be used as a backend for a PeekMessage
  19040. frontend version.
  19041. * XplatUI.cs: Improved debug output for CreateWindow
  19042. 2006-01-25 Jackson Harper <[email protected]>
  19043. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  19044. 2006-01-24 Jackson Harper <[email protected]>
  19045. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  19046. when we have a MaxDropItems lower then the selected index.
  19047. 2006-01-24 Jackson Harper <[email protected]>
  19048. * Control.cs: Don't allow selection of non visible controls, allow
  19049. selection of controls without parents.
  19050. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  19051. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  19052. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  19053. 2006-01-23 Jackson Harper <[email protected]>
  19054. * UpDownBase.cs: Make the textbox handle all the selection and
  19055. tabbing. This fixes tabing to updown controls.
  19056. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  19057. * TextBoxBase.cs: fixes exception thown the object was null
  19058. 2006-01-23 Jackson Harper <[email protected]>
  19059. * ButtonBase.cs: Just use the base CreateParams. They set
  19060. visibility and enabled correctly.
  19061. * ComboBox.cs:
  19062. * TrackBar.cs:
  19063. * MonthCalendar.cs: Lets let the base set as much of the
  19064. createparams as possible so we don't have duplicate code all over
  19065. the place.
  19066. 2006-01-22 Alexander Olk <[email protected]>
  19067. * ThemeGtk.cs: Added TrackBar and some experimental code to
  19068. get double buffering back
  19069. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  19070. * DataGrid.cs: Allows row number set internally higher than the last
  19071. when creating a new row. Restores the editing functionality.
  19072. 2006-01-20 Mike Kestner <[email protected]>
  19073. * MimeIcon.cs: delay Image creation until the icons are accessed
  19074. instead of creating 190 scaled images on GnomeHandler startup.
  19075. 2006-01-19 Peter Dennis Bartok <[email protected]>
  19076. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  19077. first call base before processing the event. Fixes #77279
  19078. 2006-01-19 Peter Dennis Bartok <[email protected]>
  19079. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  19080. that the stride for the GDI bitmap would match the stride of
  19081. a DIB or a Cursor.
  19082. 2006-01-19 Alexander Olk <[email protected]>
  19083. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  19084. 2006-01-19 Jackson Harper <[email protected]>
  19085. * ComboBox.cs: Hookup the text controls keydown event so we get
  19086. those when the text control has the focus.
  19087. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19088. * Label.cs: Now using the base events instead of defining new ones;
  19089. this allows us to just call the base properties without having to
  19090. duplicate all base property logic
  19091. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19092. * Label.cs: A label by default is not a tabstop (Fixes one of our
  19093. failing nunit tests)
  19094. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19095. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  19096. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  19097. 2006-01-18 Peter Dennis Bartok <[email protected]>
  19098. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  19099. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  19100. This fixes #77218
  19101. * XplatUIWin32.cs:
  19102. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  19103. constructor creates images that can't be saved. Part of the fix
  19104. for #76103
  19105. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  19106. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  19107. bug fix for handling window state in forms properly)
  19108. 2006-01-18 Alexander Olk <[email protected]>
  19109. * ThemeGtk.cs: Simplify ScrollBar drawing
  19110. 2006-01-18 Jackson Harper <[email protected]>
  19111. * Splitter.cs: Set the default dock style for the splitter control
  19112. in the constructor.
  19113. 2006-01-18 Alexander Olk <[email protected]>
  19114. * ThemeGtk.cs: Corrected StateType and ShadowType for
  19115. gtk_paint_box
  19116. 2006-01-18 Alexander Olk <[email protected]>
  19117. * Control.cs: Make use of Theme.DoubleBufferingSupported
  19118. * ThemeGtk.cs:
  19119. - Added drawing for flat style buttons
  19120. - Added ScrollBar drawing
  19121. 2006-01-18 Alexander Olk <[email protected]>
  19122. * ThemeClearlooks.cs: Removed some unneeded code.
  19123. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  19124. 2006-01-17 Peter Dennis Bartok <[email protected]>
  19125. * LinkLabel.cs: We need to update the hover drawing when
  19126. leaving the control as well.
  19127. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  19128. * DataGrid.cs: Clicking on non empty areas in the columns
  19129. area was giving an exception
  19130. 2006-01-17 Jackson Harper <[email protected]>
  19131. * ThemeWin32Classic.cs:
  19132. * ListView.cs: Do not draw/clip the headers when the header style
  19133. is None.
  19134. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  19135. * DataGrid.cs: Fixes 77260
  19136. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  19137. * DataGrid.cs: Clicking on a column on a empty grid was giving
  19138. an exception
  19139. 2006-01-17 Peter Dennis Bartok <[email protected]>
  19140. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  19141. or any keypress will crash the grid.
  19142. 2006-01-17 Mike Kestner <[email protected]>
  19143. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  19144. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  19145. invisible/previously-visible items.
  19146. [Fixes #76909]
  19147. 2006-01-17 Alexander Olk <[email protected]>
  19148. * ThemeClearlooks.cs:
  19149. - Added CL_Draw_Button method; now other theme controls that are
  19150. not derived from button or do not have a button can draw buttons
  19151. too
  19152. - Updated ComboBox drawing
  19153. - Beautified RadioButton drawing
  19154. - Corrected drawing of bottom and left tabs
  19155. - Beautified DateTimePicker and MonthCalendar
  19156. - Added CPDrawButton and CPDrawRadioButton
  19157. 2006-01-16 Jackson Harper <[email protected]>
  19158. * ComboBox.cs: Set the initial value of the scrollbar to the
  19159. current index. Reduce the numbers of refreshs and IndexOfs called.
  19160. 2006-01-14 Alexander Olk <[email protected]>
  19161. * FileDialog.cs: When the file listview is focused hitting the
  19162. backspace key moves the fileview to the parent directory
  19163. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19164. * Form.cs:
  19165. - Added RecreateHandle call when changing taskbar visibility to
  19166. trigger reparenting in Win32 driver (Fixes #75719)
  19167. - If a window has minimize or maximize buttons, it cannot have
  19168. a help button
  19169. * XplatUIWin32.cs:
  19170. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  19171. the toplevel form with FosterParent (A toolwindow not on the
  19172. taskbar) (Fixes #75719)
  19173. - Made FosterParent a toolwindow
  19174. 2006-01-13 Alexander Olk <[email protected]>
  19175. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  19176. 2006-01-13 Alexander Olk <[email protected]>
  19177. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  19178. is currently over that control, make sure that tooltip_window.Text
  19179. gets updated
  19180. 2006-01-13 Mike Kestner <[email protected]>
  19181. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  19182. 2006-01-13 Jackson Harper <[email protected]>
  19183. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  19184. value passed. Also redraw the selected node when we recieve
  19185. focus, so tabbing between trees works correctly.
  19186. 2006-01-13 Alexander Olk <[email protected]>
  19187. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  19188. ~/.gconf/%gconf-tree.xml, so use
  19189. .gconf/desktop/gnome/interface/%gconf.xml
  19190. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19191. * TextControl.cs: Draw text in gray if control is disabled
  19192. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19193. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  19194. make sure it's always visible. Fixes #76680.
  19195. 2006-01-13 Peter Dennis Bartok <[email protected]>
  19196. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  19197. 2006-01-13 Jonathan Chambers <[email protected]>
  19198. * PageSetupDialog.cs: Added.
  19199. * PrintDialog.cs: Attributes.
  19200. * PrintPreviewControl.cs: Updates.
  19201. * PrintPreviewDialog.cs: Updates.
  19202. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19203. * Control.cs: Undid my selection check fix, since it's not needed
  19204. * TextBoxBase.cs:
  19205. - Now considering the presence of hscroll/vscroll when sizing
  19206. vscroll/hscroll respectively. Fixed bug #77077
  19207. - Added Left/Up/Down/Right to IsInputKey list to prevent
  19208. ContainerControl from stealing them. This fixes what I broke
  19209. with my last checkin.
  19210. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19211. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  19212. I finally understand how the property can be set without a setter :-)
  19213. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19214. * Application.cs:
  19215. - Switched RunLoop to use static Message.Create to create a
  19216. Message object
  19217. - Added PreProcessMessage call in runloop for keyboard events; this
  19218. is part of the fix for #77219, I overlooked this originally in the
  19219. MSDN doc for PreProcessMessage
  19220. * Control.cs:
  19221. - Removed call to PreProcessMessage from handling of keyboard
  19222. messages; it's supposed to be done in the message pump
  19223. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  19224. per MSDN documentation.
  19225. - IsInputChar: All chars are input chars by default; removed the
  19226. parent calling chain, MS does not document that
  19227. - PreProcessMessage: If IsInputChar is true, we want to return false
  19228. to allow dispatching of the message
  19229. - When selecting the next control, now also check that we're not
  19230. selecting ourselves again and therefore return a false positive.
  19231. * TextBoxBase.cs:
  19232. - Tried to match return values for IsInputKey and ProcessDialogKey
  19233. to what MS returns; moved processing of our special keys outside
  19234. ProcessDialogKey since MS does not seem to return true on those.
  19235. - Moved code that previously was in ProcessDialogKey into new private
  19236. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  19237. - Reworked handling of WM_CHAR to not have to duplicate code from
  19238. Control.cs anymore, instead we simply call down to base.
  19239. 2006-01-12 Jackson Harper <[email protected]>
  19240. * ComboBox.cs: We always need to refresh the text area when
  19241. EndUpdate is called. Fixes the combobox in the file dialog.
  19242. * Control.cs: Don't create the creator_thread until the controls
  19243. handle is created. Also in InvokeRequired we check if the
  19244. creator_thread is null. This gives the effect of InvokeRequired
  19245. returning true if the controls handle is not created yet, and
  19246. matches MS.
  19247. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19248. * XplatUI.cs:
  19249. - Added StartLoop() driver method. This is used to allow drivers to
  19250. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  19251. loop for a particular thread
  19252. - Added EndLoop() driver method. This is called once the message
  19253. pump for the thread is shut down
  19254. - Added SupportsTransparency method to allow the driver to indicate
  19255. opacity support for windows
  19256. * Form.cs:
  19257. - Removed TODO attribute, completed AllowTransparency property
  19258. - Added documented logic to Opacity
  19259. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  19260. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  19261. versions of CompatibleTextRendering
  19262. * X11Structs.cs: Added opacity atom to our atom enumeration
  19263. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  19264. of a form might be set before it's reparented by the WM, and we need
  19265. the opacity value without calling up to Form)
  19266. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  19267. SupportsTransparency() driver methods
  19268. * Application.cs: Now calling StartLoop and EndLoop driver methods
  19269. * XplatUIX11.cs:
  19270. - Added opacity atom registration
  19271. - Added StartLoop()/EndLoop() methods. They're empty right now but
  19272. will need to get implemented when we switch to a per-thread queue
  19273. - Implemented SupportsTransparency() method
  19274. - Implemented SetWindowTransparency() method
  19275. - Added support for setting the opacity value when a window is
  19276. reparented (since the opacity needs to be set on the WM frame)
  19277. * XplatUIOSX.cs, XplatUIWin32.cs:
  19278. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  19279. 2006-01-12 Alexander Olk <[email protected]>
  19280. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  19281. 2006-01-12 Alexander Olk <[email protected]>
  19282. * FileDialog.cs: Added ToolTip for MWFFileView
  19283. * MimeIcon.cs: Rewrote GnomeHandler.
  19284. - Get currently used gnome icon theme from
  19285. ($HOME)/.gconf/%gconf-tree.xml
  19286. - Make use of inherited icon themes
  19287. - Support SVG icon themes like Tango via librsvg
  19288. 2006-01-12 Miguel de Icaza <[email protected]>
  19289. Revert's Jackson's revert which broke 2.0 builds. Fix both
  19290. builds.
  19291. * Application.cs: Move the use_compatible_text_rendering outside
  19292. the NET_2_0 define. If we ever need to use the
  19293. use_compatible_text_rendering on the individual controls they will
  19294. access the variable from the common shared code paths.
  19295. 2006-01-12 Peter Dennis Bartok <[email protected]>
  19296. * XplatUI.cs:
  19297. - Added more granular debug options
  19298. - Added method to print both window text and id
  19299. - Switched debug output to use new Window() debug method
  19300. - Added IsEnabled() driver method
  19301. - Added EnableWindow() driver method
  19302. * Form.cs:
  19303. - Removed end_modal; no longer needed, new loop handles termination
  19304. via 'closing' variable
  19305. - If form is modal, setting DialogResult will now initiate loop
  19306. termination via 'closing' variable
  19307. - Added support for is_enabled/WS_DISABLED to CreateParams
  19308. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  19309. does all the work
  19310. - Removed code that's now in RunLoop from ShowDialog()
  19311. - Added various documented sanity checks to ShowDialog()
  19312. - Added handling of WM_DESTROY message; we set 'closing' on getting
  19313. the message to indicate the message pump to terminate
  19314. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  19315. send by the Application.ExitThread method. (We send the message
  19316. to destroy the window after all other events have been
  19317. processed through the queue, instead of destroying the handle
  19318. directly)
  19319. - Moved code from Close() method to WM_CLOSE handler; added logic
  19320. to only send close-related events if the form is not displayed
  19321. modal
  19322. * Splitter.cs (..ctor): Fixed typo in resource name
  19323. * Control.cs:
  19324. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  19325. brush now
  19326. - set_Cursor: Now only setting calling into XplatUI if the handle for
  19327. the control is already created; this avoids implict handle creation
  19328. or crashes if it's not created
  19329. - set_Enabled: Now setting the enabled state via the new driver method
  19330. instead of just tracking it
  19331. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  19332. - CreateControl: Reordered event firing and method calls to more
  19333. closely fire events in the order MS does. Now setting the
  19334. enabled state in the driver when creating the control.
  19335. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  19336. match MS order
  19337. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  19338. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  19339. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  19340. * Hwnd.cs:
  19341. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  19342. - Added EnabledHwnd property to easily allow a driver to find the
  19343. handle of the first enabled window in the parent chain (this is
  19344. used by drivers to pass up input events of disabled windows)
  19345. * XplatUIDriver.cs: Added IsEnabled() method
  19346. * Application.cs:
  19347. - Removed crude and obsolete exiting tracking variable
  19348. - Removed internal ModalRun(); replaced by RunLoop()
  19349. - Implemented private CloseForms() method to allow closing all
  19350. windows owned by a particular (or all) threads
  19351. - Exit() now properly closes all windows without forcing the message
  19352. pump to quit
  19353. - Removed obsolete InternalExit() method
  19354. - Changed Run() methods to use new RunLoop() message pump
  19355. - Implemented new RunLoop() method for both modal and non-modal forms
  19356. * CommonDialog.cs:
  19357. - get_CreateParams: Added setting of WS_DISABLED
  19358. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  19359. invoked via Form.ShowDialog()
  19360. * NativeWindow.cs: We don't remove the window from the collection when
  19361. the handle is destroyed; there might still be messages for it in the
  19362. queue (mainly the resulting WM_DESTROY); instead it will be removed
  19363. when Control calls InvalidateHandle in the WM_DESTROY handler
  19364. * XplatUIX11.cs:
  19365. - CreateWindow: Added logic to handle the WS_DISABLED window style
  19366. - EnableWindow: Implemented based on Hwnd.Enabled
  19367. - GetMessage: Reset PostQuitState so the method can be called again
  19368. - Implemented support for disabled windows (passing messages to the
  19369. first enabled parent) in handling all input messages
  19370. - Added optimizations for handling Expose events
  19371. - Implemeted new driver method IsEnabled()
  19372. - Now always resetting paint pending tracking vars when we start paint
  19373. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  19374. * XplatUIOSX.cs: Added IsEnabled method stub
  19375. * XplatUIWin32.cs: Implemented new IsEnabled() method
  19376. 2006-01-11 Jackson Harper <[email protected]>
  19377. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  19378. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  19379. variables a little.
  19380. * ColorDialog.cs: Clear out the old form before adding the new
  19381. panel.
  19382. 2006-01-11 Jackson Harper <[email protected]>
  19383. * X11Dnd.cs: Make sure to add all the text formats when adding
  19384. strings to the data object.
  19385. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  19386. do some redrawing too. Also change the UpdateNode to an
  19387. UpdateBelow so the newly added node gets painted.
  19388. 2006-01-11 Miguel de Icaza <[email protected]>
  19389. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  19390. LinkLabel.cs, PropertyGrid.cs: Implement the
  19391. UseCompatibleTextRendering property for 2.x
  19392. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  19393. 2006-01-11 Jackson Harper <[email protected]>
  19394. * TreeView.cs: Use the property for setting the selected node so
  19395. the correct events get raised.
  19396. * TreeNode.cs: Update the tree when the fore/back colours of a
  19397. node are set.
  19398. 2006-01-10 Jackson Harper <[email protected]>
  19399. * TreeView.cs: Allow setting SelectedNode to null.
  19400. 2006-01-9 Jonathan Chambers <[email protected]>
  19401. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  19402. 2006-01-9 Jonathan Chambers <[email protected]>
  19403. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  19404. 2006-01-9 Jonathan Chambers <[email protected]>
  19405. * PrintDialog.cs: Added attributes and set default property values.
  19406. 2006-01-9 Jonathan Chambers <[email protected]>
  19407. * PrintControllerWithStatusDialog.cs:
  19408. Added PrintControllerWithStatusDialog.
  19409. 2006-01-9 Jonathan Chambers <[email protected]>
  19410. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  19411. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  19412. 2006-01-9 Jonathan Chambers <[email protected]>
  19413. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  19414. 2006-01-09 Jonathan Chambers <[email protected]>
  19415. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  19416. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  19417. 2006-01-08 Alexander Olk <[email protected]>
  19418. * MimeIcon.cs: Added internal class SVGUtil.
  19419. 2006-01-08 Alexander Olk <[email protected]>
  19420. * FileDialog.cs: Don't crash if there are two files with the
  19421. same name but different locations.
  19422. 2006-01-08 John BouAntoun <[email protected]>
  19423. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  19424. dates across multiple month grids. Used to not highlight entire
  19425. month, but does now.
  19426. 2006-01-06 Jackson Harper <[email protected]>
  19427. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  19428. message loop. Change timer intervals to numbers that seem more
  19429. natural.
  19430. 2006-01-06 John BouAntoun <[email protected]>
  19431. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  19432. object for location info since screen object is now implemented.
  19433. 2006-01-05 Jackson Harper <[email protected]>
  19434. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  19435. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  19436. AsyncMethodResult, this is because we ALWAYS want the
  19437. ManualResetEvent to get set.
  19438. * Control.cs: When disposing use an async invoke to call shutdown
  19439. code, so that thigns don't block on the finalizer thread. Also
  19440. check if we even have a message loop before trying to send
  19441. messages, if we don't then don't bother sending messages.
  19442. - No more weak references for async methods
  19443. * XplatUIDriver.cs: No more weak references for async methods.
  19444. 2006-01-04 Alexander Olk <[email protected]>
  19445. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  19446. returns two FontFamily with the same name
  19447. 2006-01-04 Peter Dennis Bartok <[email protected]>
  19448. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  19449. drawing disabled text. Instead using the ColorGrayText color
  19450. 2006-01-04 Jackson Harper <[email protected]>
  19451. * TreeNode.cs: redraw the node when its image index is changed.
  19452. 2006-01-04 Peter Dennis Bartok <[email protected]>
  19453. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  19454. time I checked there are no others like it.
  19455. 2006-01-04 Jackson Harper <[email protected]>
  19456. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  19457. this gives the behavoir I was looking for.
  19458. * Control.cs: Special case Invoking EventHandlers, this matches MS
  19459. and fixes part of bug #76326.
  19460. 2006-01-04 Alexander Olk <[email protected]>
  19461. * ThemeClearlooks.cs, FileDialog.cs:
  19462. - Reflect the latest Theme class changes
  19463. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  19464. with DateTime
  19465. 2006-01-04 Alexander Olk <[email protected]>
  19466. * Theme.cs: Cache UI resource images and resize them if needed
  19467. 2006-01-03 Peter Dennis Bartok <[email protected]>
  19468. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  19469. is called. This fixes the crash in Nexxia when setting the font
  19470. attributes in the chat. [However, RTF needs a look-over to make sure
  19471. that all SelectionXXX methods handle the special case that selection
  19472. is empty and therefore the change must be applied to all text starting
  19473. at the cursor/selection start]
  19474. 2006-01-03 Peter Dennis Bartok <[email protected]>
  19475. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19476. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  19477. * X11Keyboard.cs: Switched to new way of calling PostMessage
  19478. 2006-01-03 Peter Dennis Bartok <[email protected]>
  19479. * Theme.cs: Added theme interface for images to allow the theme to
  19480. control what images are used for things like FileDialog, MessageBox
  19481. icons, etc.
  19482. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  19483. 2006-01-03 Alexander Olk <[email protected]>
  19484. * FileDialog.cs:
  19485. - Removed some dead code
  19486. - Opening a recently used file does work now
  19487. - Small UI enhancements
  19488. - Refactoring
  19489. 2006-01-02 Alexander Olk <[email protected]>
  19490. * FileDialog.cs: Forgot too add __MonoCS__
  19491. 2006-01-02 Alexander Olk <[email protected]>
  19492. * FileDialog.cs: We are able to read recently used files now let's
  19493. go on and write them.
  19494. 2006-01-01 Alexander Olk <[email protected]>
  19495. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  19496. button
  19497. * MimeIcon.cs: Do a check for the top level media type also
  19498. 2005-12-31 Alexander Olk <[email protected]>
  19499. * ThemeClearlooks.cs:
  19500. - Added CPDrawStringDisabled
  19501. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  19502. some chars if the text doesn't fit into text_rect
  19503. - DrawListViewItem: If View = View.LargeIcon center the image;
  19504. rewrote the drawing of ListViewItem.Text if View =
  19505. View.LargeIcon
  19506. 2005-12-31 Alexander Olk <[email protected]>
  19507. * MimeIcon.cs: Use default KDE icon theme if there is no
  19508. "48x48" directory for the current icon theme, fixes #77114
  19509. * Mime.cs: Disable not working and actually not used code.
  19510. * ThemeWin32Classic.cs:
  19511. - Replace "new SolidBrush" in GetControlBackBrush and
  19512. GetControlForeBrush with ResPool.GetSolidBrush
  19513. - Changed DrawListViewItem from private to protected virtual
  19514. * FileDialog.cs:
  19515. - Added form.MaximizeBox = true
  19516. - Don't throw an exception if there is a broken symbolic link
  19517. 2005-12-23 Jackson Harper <[email protected]>
  19518. * TabControl.cs: Give the panels focus, keyboard navigation is
  19519. fixed so this works correctly now.
  19520. - We need these key events also.
  19521. * ToolBar.cs: Remove some of the poor mans double buffering.
  19522. 2005-12-24 Alexander Olk <[email protected]>
  19523. * ComboBox.cs: The internal TextBox now returns the focus.
  19524. 2005-12-23 Jackson Harper <[email protected]>
  19525. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  19526. 2005-12-23 Peter Dennis Bartok <[email protected]>
  19527. * Control.cs: Removed debug code
  19528. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  19529. implicit children
  19530. 2005-12-23 Peter Dennis Bartok <[email protected]>
  19531. * Control.cs: When creating the control, update the Z-order after
  19532. all it's children are created, too. (Fixes nexxia not showing
  19533. picturebox bug)
  19534. 2005-12-23 Peter Dennis Bartok <[email protected]>
  19535. * Control.cs: Do not update the anchoring distances if layout is
  19536. suspended, instead do it once layout is resumed
  19537. 2005-12-22 Peter Dennis Bartok <[email protected]>
  19538. * Control.cs:
  19539. - After many hours of debugging, for both Jackson and
  19540. myself, it turns out that it helps to set the parent of a control
  19541. if you want to actually see it onscreen. In the spirit of that
  19542. discovery, we're now setting the parent of the control and
  19543. it's children when the control's handle is created. This fix
  19544. will make Lutz Roeder's Reflector run happily.
  19545. - now just creating the handle instead of the whole control when
  19546. getting a graphics context for the control.
  19547. 2005-12-22 Peter Dennis Bartok <[email protected]>
  19548. * ScrollableControl.cs: When calculating the canvas, don't consider
  19549. the scrollbar widths. Instead, predict if horizontal scrollbar
  19550. will affect canvas when deciding on vertical display and vice versa.
  19551. 2005-12-22 Peter Dennis Bartok <[email protected]>
  19552. * RichTextBox.cs: Set default RTF font for documents that don't
  19553. have a font table (Fixes #77076)
  19554. 2005-12-22 Jackson Harper <[email protected]>
  19555. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  19556. clipboard. This prevents a NullRef in that case.
  19557. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  19558. clipboard. PRIMARY is for the currently selected text only. (We
  19559. should implement PRIMARY at some point.
  19560. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19561. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  19562. a Unicode function with a structure that was defined in Ansi way.
  19563. This fixes #76942.
  19564. 2005-12-21 Jackson Harper <[email protected]>
  19565. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  19566. on. Because thats how it rolls. (and this avoids it using ambient
  19567. colours).
  19568. * ThemeWin32Classic.cs: Use the proper back color for filling.
  19569. * Menu.cs: Use the system menu bar color for drawing menu
  19570. bars. Using the window back color will bring ambient colours into
  19571. the picture.
  19572. 2005-12-21 Alexander Olk <[email protected]>
  19573. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  19574. Bitmaps were created and not disposed.
  19575. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19576. * Control.cs (CreateControl): Don't do anything if the control is
  19577. already created, otherwise we'd fire the OnCreated event more than
  19578. once
  19579. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19580. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  19581. will always match. Instead return -1. Fixes #76464.
  19582. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19583. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  19584. neither the beginning nor the end of the line (Fixes bug #76479)
  19585. 2005-12-21 Peter Dennis Bartok <[email protected]>
  19586. * Control.cs:
  19587. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  19588. where handle is invalid
  19589. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  19590. instead of slower linear search
  19591. * NativeWindow.cs: Don't remove the window from the hashtable until
  19592. after the driver has destroyed it (since the driver might use
  19593. Control.FromHandle to lookup the control object
  19594. * Hwnd.cs: Added DestroyPending property to track if a window is
  19595. already destroyed as far as the driver is concerned and only hasn't
  19596. yet notified the control
  19597. * XplatUIX11.cs:
  19598. - Activate(): Check if the window is still valid before using the
  19599. handle
  19600. - Implemented DestroyChildWindow() method to mark child windows as
  19601. destroyed when a window is destroyed. This prevents situations
  19602. where we might call an X method based on queued events for a
  19603. window that already has been destroyed but we haven't yet pulled
  19604. the destroy method from the queue.
  19605. - Added a call to the new DestroyChildWindow() method to the drivers
  19606. DestroyWindow code. Also now marking the destroyed window itself
  19607. as pending
  19608. 2005-12-20 Jackson Harper <[email protected]>
  19609. * StatusBar.cs:
  19610. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  19611. anymore. Just do them when needed, also track the rects of panels
  19612. so that we can optimize refreshing more in the future.
  19613. 2005-12-20 Alexander Olk <[email protected]>
  19614. * ColorDialog.cs: Fixed focus drawing in small color controls
  19615. 2005-12-19 Jackson Harper <[email protected]>
  19616. * InternalWindowManager.cs:
  19617. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  19618. moving windows works properly.
  19619. 2005-12-19 Peter Dennis Bartok <[email protected]>
  19620. * Control.cs:
  19621. - Removed call to InitLayout() from SetBoundsCore(); doc says
  19622. it's only called when a control is added to a container
  19623. - Split InitLayout logic, moved to separate UpdateDistances() method
  19624. since we need to perform those calculations more often than just
  19625. when adding the control to a container. (Needed to fix #77022)
  19626. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  19627. - Reduced the OnBindingContextChanged events count, don't send them
  19628. unless the control is created, we still aren't totally matching
  19629. MS, but I can't quite figure out some of their rules
  19630. 2005-12-18 Alexander Olk <[email protected]>
  19631. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  19632. stripes
  19633. 2005-12-18 Alexander Olk <[email protected]>
  19634. * ThemeClearlooks.cs:
  19635. - Updated ProgressBar drawing
  19636. - Corrected drawing of ScrollBars and scroll buttons
  19637. - Some temporary fixes for minor pixel artefacts
  19638. 2005-12-18 Peter Dennis Bartok <[email protected]>
  19639. * Control.cs:
  19640. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  19641. cause events to be sent in the same order as MS does.
  19642. - Added ChangeParent() method to trigger various OnXXXChanged events
  19643. that need to be fired when a parent changes (This is a reworking
  19644. of the patch from r54254, with the X11 errors fixed)
  19645. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  19646. since on MS we get OnLayoutChanged events when calling Clear()
  19647. - Changed Enabled property to consider parent state as well, if a
  19648. parent is not enabled, the control will not be either
  19649. - Changed Parent property to simply call Controls.Add() since that
  19650. now does all the work required, this way we avoid code duplication
  19651. - Threw in a few OnBindingsContextChanged calls to try and match
  19652. when MS sends them. We seem to send a few too many, though.
  19653. - Added call to CreateControl when adding the control to a parent.
  19654. We were never calling CreateControl. Still needs some work, in
  19655. some places we treat HandleCreated and ControlCreated as equal,
  19656. which is wrong
  19657. - Removed obsolete commented out code from UpdateZOrder()
  19658. 2005-12-18 Alexander Olk <[email protected]>
  19659. * ThemeClearlooks.cs: Updated TrackBar drawing.
  19660. 2005-12-17 Alexander Olk <[email protected]>
  19661. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  19662. 2005-12-17 Alexander Olk <[email protected]>
  19663. * FileDialog.cs: Add the Help button and the open readonly
  19664. checkbox only if needed
  19665. 2005-12-16 Jackson Harper <[email protected]>
  19666. * Control.cs: Make sure we have an active menu before trying to
  19667. process commands on it. Prevents menu-less forms from crashing
  19668. when Alt is pressed.
  19669. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  19670. Dieter Bremes.
  19671. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  19672. 2.0 build.
  19673. 2005-12-16 Jackson Harper <[email protected]>
  19674. * InternalWindowManager.cs: Don't translate tool windows screen
  19675. coordinates. This fixes windows 'bouncing' around when being moved.
  19676. 2005-12-15 Peter Dennis Bartok <[email protected]>
  19677. * TextBoxBase.cs:
  19678. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  19679. not quite MS compatible, MS uses that number only for single line
  19680. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  19681. the limit at 2GB)
  19682. - Now enforcing the MaxLength limit when entering characters
  19683. - Added argument to internal Paste() method to track if it's called
  19684. from programatically or via keyboard, since keyboard driven pastes
  19685. need to enforce max-length
  19686. - Added logic to Paste to only paste as many chars as MaxLength
  19687. allows
  19688. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  19689. * TextControl.cs:
  19690. - Added Length property to return number of characters in document
  19691. - Added private CharCount property which only tracks actual chars
  19692. in the document (no linefeeds) and fires event when CharCount
  19693. changes
  19694. - Added tracking of character count to all methods that alter it
  19695. - Added LengthChanged event to allow applications to subscribe
  19696. to any changes to the document
  19697. 2005-12-15 Peter Dennis Bartok <[email protected]>
  19698. * TextBox.cs:
  19699. - Removed local password_char field (moved to TextBoxBase)
  19700. - Now setting the document's password var when password is
  19701. set
  19702. * TextBoxBase.cs:
  19703. - Added password_char field (needed here so MultiLine can
  19704. access it)
  19705. - Added logic to MultiLine property setter to set the document's
  19706. variable when password display is allowed
  19707. - Removed debug code and made some debug code conditional
  19708. * TextControl.cs:
  19709. - Added RecalculatePasswordLine() method to handle special password
  19710. char only lines
  19711. - Added PasswordChar property, also added related tracking vars
  19712. - Draw() method now uses local text var for grabbing text to draw,
  19713. this var is set to line.text unless we're doing password display,
  19714. then it is set to the pre-generated all-password-chars line
  19715. - Added calling RecalculatePasswordLine() method for password lines
  19716. 2005-12-14 Peter Dennis Bartok <[email protected]>
  19717. * Hwnd.cs:
  19718. - Added Reparented property to allow tracking of Window Manager
  19719. reparenting actions (which affect X/Y calculations of toplevel
  19720. windows)
  19721. - Made ToString() print window handles in hex
  19722. * XplatUIX11.cs:
  19723. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  19724. determine if X/Y needs offsetting
  19725. - AddConfigureNotify(): Fixed offset calculations
  19726. - Now adds ReparentNotify messages into the queue
  19727. - Now processes ReparentNotify messages and causes a
  19728. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  19729. is reparented (as most likely it's X/Y coordinates are changed
  19730. due to that)
  19731. 2005-12-14 Jackson Harper <[email protected]>
  19732. * XplatUIX11.cs: Tool windows still need to respek focus.
  19733. 2005-12-14 Peter Dennis Bartok <[email protected]>
  19734. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  19735. have a working release
  19736. 2005-12-13 Jackson Harper <[email protected]>
  19737. * Form.cs: Update styles after setting the border style regardless
  19738. of whether or not the window is using a window manager.
  19739. 2005-12-13 Jackson Harper <[email protected]>
  19740. * Form.cs: We now hook into an internal window manager instead of just an
  19741. MDI subsystem, this is so we can have properly behaving tool windows.
  19742. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  19743. * InternalWindowManager.cs: New internal class that acts as a
  19744. window manager for tool windows and as a base for mdi windows.
  19745. * MdiWindowManager.cs: New class that acts as a window manager for
  19746. mdi windows.
  19747. 2005-12-12 Jackson Harper <[email protected]>
  19748. * Control.cs: Updates so we match behavoir for for implicit
  19749. controls. Fixes explosions in MDI.
  19750. 2005-12-12 Jackson Harper <[email protected]>
  19751. * Control.cs: Implement Invalidate (Region).
  19752. 2005-12-12 Peter Dennis Bartok <[email protected]>
  19753. * Control.cs:
  19754. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  19755. the same events as MS does. MS fires events for each property
  19756. except, for unknown reasons, Cursor, when the control is reparented.
  19757. I can't seem to totally match add/remove since MS also fires some
  19758. VisibleChanged events, which makes no sense. Consolidated the
  19759. parenting code into a separate method so it can be called from
  19760. both Add and Remove. set_Parent no longer needs any special logic
  19761. as it calls the parent's add method which implicitly fires
  19762. all events
  19763. - Removed some obsolete code and debug output
  19764. - Enabled state is inherited from parents, if this is enabled
  19765. 2005-12-08 Peter Dennis Bartok <[email protected]>
  19766. * Form.cs: Removed commented out code
  19767. 2005-12-08 Peter Dennis Bartok <[email protected]>
  19768. * Control.cs:
  19769. - Added internal version of Invoke, with additional argument
  19770. indicating if we're calling it from a Dispose() handler. That
  19771. way we can avoid BeginInvoke throwing an exception if we're
  19772. calling for an already destroyed window.
  19773. - Added a dispose argument to BeginInvokeInternal, and made the
  19774. check if a valid window handle chain exists conditional on
  19775. it not being a dispose call
  19776. - Removed code in DestroyHandle to destroy our children. Since we
  19777. now handle the WM_DESTROY message we will catch all our children
  19778. being destroyed.
  19779. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  19780. * Form.cs:
  19781. - Added a field to track the application context of the form.
  19782. - No need to set closing variable as response to WM_CLOSE, instead
  19783. we destroy the window. We also call PostQuitMessage if the form
  19784. has an application context (which makes it the main app form,
  19785. which, when closed terminates the app)
  19786. * XplatUI.cs:
  19787. - Dropped Exit() method, it's naming was confusing
  19788. - Added PostQuitMessage() which causes GetMessage to return false
  19789. once the message queue is empty
  19790. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  19791. PostQuitMessage()
  19792. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  19793. no longer a valid XplatUI method, but left it in since it's used
  19794. internally. Added empty PostQuitMessage() method.
  19795. * MenuAPI.cs: Replaced call to Exit() with call to
  19796. PostQuitMessage, even though this is probably no longer needed.
  19797. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  19798. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  19799. * Application.cs:
  19800. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  19801. - Removed old debug code that would call XplatUI for exception
  19802. display, enabled standard exception handling (Still not enabled
  19803. though, until NativeWindow's ExternalExceptionHandler define
  19804. is removed
  19805. * NativeWindow.cs:
  19806. - Added internal method to allow control to update NativeWindow
  19807. after a window has been destroyed
  19808. - Added handling of already destroyed windows when calling i
  19809. DestroyWindow
  19810. - Added removal of handle from list on ReleaseHandle
  19811. * XplatUIX11.cs:
  19812. - Dropped GetMessageResult var and related code
  19813. - Added PostQuitState to field to track if PostQuitMessage has been
  19814. called
  19815. - Dropped Exit() method
  19816. - Added PostQuitMessage() method
  19817. - GetMessage now will return false if PostQuitState is set and no
  19818. more messages are in the queue.
  19819. - Expose handler will no longer generate WM_PAINT messages if we are
  19820. in PostQuitState since it's very likely any windows have already
  19821. been destroyed, and since Hwnd won't get updated until we have
  19822. processed the DestroyNotify we'd be causing X errors.
  19823. 2005-12-07 Peter Dennis Bartok <[email protected]>
  19824. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  19825. Thanks to Mike for pointing out the err of my ways.
  19826. 2005-12-07 Peter Dennis Bartok <[email protected]>
  19827. * Control.cs(PreProcessMessage): Moved menu handling back, but
  19828. after all other key handling, to match MS (who handles Menu in
  19829. DefWndProc)
  19830. * Menu.cs (WndProc): Removed my brainfart
  19831. 2005-12-07 Peter Dennis Bartok <[email protected]>
  19832. * Control.cs(PreProcessMessage): Removed special menu handling
  19833. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  19834. 2005-12-07 Mike Kestner <[email protected]>
  19835. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  19836. state according in tracker.
  19837. * Menu.cs : promote tracker field to base class and provide a tracker
  19838. lookup capability. Add/Remove shortcuts dynamically if the top menu
  19839. has a tracker. Unparent items that are removed from the collection.
  19840. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  19841. * Theme*.cs: add always_show_hotkeys field to support configurability
  19842. of mnemonic display. win32 doesn't show mnemonics until Alt is
  19843. pressed.
  19844. 2005-12-07 Jackson Harper <[email protected]>
  19845. * MdiChildContext.cs: Use Control.ResetCursor.
  19846. * Control.cs: ResetCursor needs to set the property so that the
  19847. correct XplatUI call gets made.
  19848. 2005-12-07 Peter Dennis Bartok <[email protected]>
  19849. * Control.cs: More fixes to make our key events match MS. We
  19850. were not setting the modifier state on KeyData, and we were
  19851. not generating any events when Alt was pressed with a key
  19852. since handling of WM_SYSxxx was missing for the OnKey methods.
  19853. 2005-12-07 Jackson Harper <[email protected]>
  19854. * MdiChildContext.cs: reenable the sizing code.
  19855. - When the mouse leaves a window reset its cursor.
  19856. 2005-12-07 Alexander Olk <[email protected]>
  19857. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  19858. 2005-12-07 Peter Dennis Bartok <[email protected]>
  19859. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  19860. widths of Fixed3D borders
  19861. 2005-12-07 Jackson Harper <[email protected]>
  19862. * MdiClient.cs: Fix warnings. Earn Mike's love.
  19863. 2005-12-07 Alexander Olk <[email protected]>
  19864. * ThemeClearlooks.cs:
  19865. - Adjusted mouse over button color
  19866. - Added first parts of CheckBox drawing
  19867. - Added correct color for selected text background
  19868. - Fixed ComboBox drawing
  19869. - Added CPDrawBorder3D and CPDrawBorder
  19870. 2005-12-06 Peter Dennis Bartok <[email protected]>
  19871. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  19872. 2005-12-06 Peter Dennis Bartok <[email protected]>
  19873. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  19874. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  19875. alert users via sound. We could add an enum arg with different
  19876. types of alerts in the future
  19877. 2005-12-06 Peter Dennis Bartok <[email protected]>
  19878. * Control.cs: Fix behaviour problems pointed out by Mike
  19879. 2005-12-05 Mike Kestner <[email protected]>
  19880. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  19881. prop setters. Calls parent.Refresh for now, but could be maybe be
  19882. optimized with an internal method on StatusBar at some point.
  19883. [Fixes #76513]
  19884. 2005-12-05 Peter Dennis Bartok <[email protected]>
  19885. * RichTextBox.cs: Implemented get_SelectionColor
  19886. 2005-12-05 Alexander Olk <[email protected]>
  19887. * ThemeClearlooks.cs:
  19888. - Removed dead code
  19889. - Draw black button border only if button is Form.AcceptButton
  19890. - Draw correct button color for pressed RadioButton if the mouse
  19891. has entered the button
  19892. - Updated ProgressBar drawing!
  19893. - Updated CPDrawSizeGrip drawing
  19894. - Updated StatusBarPanel drawing
  19895. 2005-12-05 Mike Kestner <[email protected]>
  19896. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  19897. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  19898. 2005-12-04 Alexander Olk <[email protected]>
  19899. * ThemeClearlooks.cs: Initial check-in, activate with
  19900. export MONO_THEME=clearlooks
  19901. * ThemeEngine.cs: Added ThemeClearlooks
  19902. 2005-12-03 Mike Kestner <[email protected]>
  19903. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  19904. [Fixes #76897]
  19905. 2005-12-02 Jackson Harper <[email protected]>
  19906. * Form.cs: If the child form has no menu the default main menu is
  19907. used as the active menu.
  19908. 2005-12-02 Peter Dennis Bartok <[email protected]>
  19909. * ListBox.cs: Check if any items exist before trying to resolve
  19910. coordinates into items
  19911. 2005-12-02 Peter Dennis Bartok <[email protected]>
  19912. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  19913. as the second color for the background hatch
  19914. 2005-12-02 Peter Dennis Bartok <[email protected]>
  19915. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  19916. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  19917. sure that what we pass to FormatText is always 1-based. Fixes #76885
  19918. 2005-11-29 Miguel de Icaza <[email protected]>
  19919. * NumericUpDown.cs (EndInit): When we are done initializing,
  19920. reflect any updates on the UI.
  19921. 2005-12-02 Jackson Harper <[email protected]>
  19922. * ImplicitHScrollBar.cs:
  19923. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  19924. their container controls.
  19925. * TreeView.cs: Use the new implicit scrollbars.
  19926. 2005-12-02 Jackson Harper <[email protected]>
  19927. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  19928. can play with it.
  19929. * TreeNodeCollection.cs: If we remove the topnode we need to
  19930. update topnode to the next node in line.
  19931. - When clearing nodes go through the same process as removing
  19932. them, so they get depareneted and checked if they are top node.
  19933. 2005-12-01 Jackson Harper <[email protected]>
  19934. * TreeView.cs: When imagelists are used the image area is
  19935. selectable as well as the text.
  19936. - If there are no selected nodes select the first one.
  19937. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  19938. so don't do it more then we need to.
  19939. 2005-12-01 Jackson Harper <[email protected]>
  19940. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  19941. that arrows can be scaled.
  19942. 2005-12-01 Jackson Harper <[email protected]>
  19943. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  19944. fail. Patch by Dieter Bremes
  19945. 2005-11-30 Jackson Harper <[email protected]>
  19946. * Form.cs: Property is 2.0 only
  19947. * PrintDialog.cs: Signature fix.
  19948. 2005-11-30 Peter Dennis Bartok <[email protected]>
  19949. * TextControl.cs:
  19950. - No longer artificially moves text 2 pixels down (now that we have
  19951. borders this is no longer needed)
  19952. - Added calcs for left, hanging and right indent
  19953. 2005-11-23 Mike Kestner <[email protected]>
  19954. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  19955. 2005-11-30 Jackson Harper <[email protected]>
  19956. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  19957. get cloned as part of CloneMenu ().
  19958. * Menu.cs: Make sure the parent of the items get set correctly
  19959. when they are added. And the owners are notified of the changes.
  19960. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  19961. we can change the menu being displayed/handled by the form without
  19962. changing the menu assosciated with the form.
  19963. - Don't let Mdi children draw/handle menus.
  19964. 2005-11-30 Jackson Harper <[email protected]>
  19965. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  19966. a MenuChanged event. Just to make the API a little more
  19967. consistent.
  19968. * MainMenu.cs:
  19969. * MenuItem.cs: Use the new OnMenuChanged
  19970. * MdiChildContext.cs: Handle menu merging.
  19971. * Form.cs: Implement MergedMenu.
  19972. 2005-11-30 Jackson Harper <[email protected]>
  19973. * Menu.cs: We were misusing Add. Add goes behind the specified
  19974. index according to the docs, and does not replace the specified
  19975. index. So I added an Insert method.
  19976. 2005-11-30 Peter Dennis Bartok <[email protected]>
  19977. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  19978. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  19979. is for Jackson
  19980. * RichTextBox.cs: Added calls to base for DnD events
  19981. 2005-11-28 Peter Dennis Bartok <[email protected]>
  19982. * TextControl.cs:
  19983. - Fixed drag-selection related crash; style fixes
  19984. - Implemented undo class
  19985. o Implemented method to capture document state for specified
  19986. range in document tree
  19987. o Implemented method to restore captured document state
  19988. o Implemented cursor tracking
  19989. o Implemented basic undo stack
  19990. - Added undo cursor tracking to methods altering cursor location
  19991. - Added undo tracking to selection deletion (still missing
  19992. other text-altering hookups)
  19993. * RichTextBox.cs:
  19994. - Added SelectionLength property
  19995. - Implemented CanPaste()
  19996. - Implemented Paste()
  19997. - Added missing protected methods
  19998. - Fixed RTF->Document conversion; now uses font index 0 and color
  19999. index 0 as the default font for the parsed text
  20000. - Fixed RTF<->Document font size translation
  20001. - Fixed RTF generation, now properly handles cross-tag boundaries
  20002. for single line selection
  20003. - No longer always appends blank line to generated RTF
  20004. - Removed TODOs
  20005. - Added missing attributes
  20006. - Hooked up undo-related methods
  20007. * TextBoxBase.cs:
  20008. - Implemented Copy()
  20009. - Implemented Paste()
  20010. - Implemented Cut()
  20011. - Fixed caret mis-behaviour on backspace across line-boundaries
  20012. 2005-11-29 Jackson Harper <[email protected]>
  20013. * MdiClient.cs: Add a method for activating mdi children. Very
  20014. basic right now. I imagine someday it might need more girth.
  20015. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  20016. children windows names are added to the menu item.
  20017. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  20018. mdilist. This happens regardless of whether or not there are any
  20019. mdi windows to see in the list, and according to my tests happens
  20020. before the items are even added. Also happens if there isn't even
  20021. an mdi client to get windows from.
  20022. 2005-11-29 Alexander Olk <[email protected]>
  20023. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  20024. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  20025. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  20026. * DataGridTableStyle.cs:
  20027. - Create always the styles for the missing columns even if they are
  20028. provided by the user (not default table style)
  20029. * DataGrid.cs:
  20030. - Fixes bug 76770
  20031. - Fixes SetDataBinding (always re-attach source)
  20032. - Fixes SetNewDataSource (only clear styles if they are not for
  20033. this source)
  20034. - Expands OnTableStylesCollectionChanged to handle style refresh
  20035. and remove properly
  20036. 2005-11-29 Jackson Harper <[email protected]>
  20037. * FileDialog.cs: Implement missing bits, remove some dead
  20038. code.
  20039. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  20040. creation of the panel so that the options set on the dialog are
  20041. seen when the panel is created.
  20042. * TreeView.cs: raise a click when items are clicked.
  20043. 2005-11-29 Jackson Harper <[email protected]>
  20044. * MdiClient.cs: Pass some signature methods through to base.
  20045. 2005-11-28 Jackson Harper <[email protected]>
  20046. * ListView.cs: Raise the click event when items are clicked.
  20047. 2005-11-28 Jackson Harper <[email protected]>
  20048. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  20049. a nullref.
  20050. 2005-11-27 Alexander Olk <[email protected]>
  20051. * ThemeNice.cs: - Removed 1 pixel bitmaps
  20052. - Use SmoothingMode.AntiAlias where it makes sense
  20053. (ScrollButton arrow for example)
  20054. - Enhanced Button focus drawing
  20055. - Fixed ComboBox drawing (no artefacts anymore, focus
  20056. rectangle is back again, reduced size of ComboButton, etc.)
  20057. - Fixed RadioButton focus drawing for Appearence.Button
  20058. - Slight ScrollButton redesign
  20059. - Some LinearGradientBrush size fixes
  20060. - GroupBoxes have now rounded edges
  20061. - Fixed StatusBar drawing
  20062. 2005-11-25 Alexander Olk <[email protected]>
  20063. * ThemeNice.cs: - Remove dead code
  20064. - use correct background colors for menus, etc.
  20065. - Fake pixel drawing with 1 pixel bitmaps
  20066. 2005-11-24 Jackson Harper <[email protected]>
  20067. * MdiClient.cs: Size the scrollbars when resizing the window.
  20068. - Resize the maximized windows when the client is resized
  20069. * Form.cs: Make the child context available
  20070. 2005-11-23 Jackson Harper <[email protected]>
  20071. * MdiChildContext.cs: Don't size windows if they are maximized.
  20072. 2005-11-23 Mike Kestner <[email protected]>
  20073. * ContextMenu.cs: use MenuTracker.
  20074. * Control.cs: remove menu handle usage.
  20075. * Form.cs: remove menu handle usage.
  20076. * Hwnd.cs: remove menu handle usage.
  20077. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  20078. motion and clicks to the new Tracker handlers.
  20079. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  20080. and handle usage.
  20081. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  20082. Killed the MENU and MENUITEM data types and associated collections
  20083. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  20084. MenuTracker class that exposes the leftovers from the old MenuAPI
  20085. static methods. Restructured Capture handling so that only one grab is
  20086. done for the entire menu hierarchy instead of handing off grabs to
  20087. submenus. Tracker now has an invisible control to Capture when active.
  20088. * MenuItem.cs: add sizing accessors, kill Create
  20089. and handle usage.
  20090. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  20091. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  20092. MENU(ITEM). remove menu handle usage, use Menu directly.
  20093. * XplatUIDriver.cs: remove menu handle usage.
  20094. * XplatUIOSX.cs: remove menu handle usage.
  20095. * XplatUIWin32.cs: remove menu handle usage.
  20096. * XplatUIX11.cs: remove menu handle usage.
  20097. 2005-11-22 Jackson Harper <[email protected]>
  20098. * Hwnd.cs: Don't compute the menu size for
  20099. DefaultClientRectangle.
  20100. - Reenable menu sizes being computed for GetClienRectangle.
  20101. * Form.cs: Remove comment of trechery
  20102. 2005-11-22 Jackson Harper <[email protected]>
  20103. * Hwnd.cs: The adjustments for the menu bar are made when it is
  20104. attached to the form.
  20105. 2005-11-19 Jackson Harper <[email protected]>
  20106. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  20107. (just like on windows).
  20108. 2005-11-19 Jackson Harper <[email protected]>
  20109. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  20110. use real buttons anymore because they are in non client area. The
  20111. one TODO here is that I need to somehow invalidate a section of
  20112. the non client area.
  20113. 2005-11-18 Jackson Harper <[email protected]>
  20114. * Control.cs: Put the enum check back in now that MDI doesnt have
  20115. to use this to set border styles.
  20116. * Form.cs: Only set mdi child windows borders if the handle has
  20117. been created.
  20118. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  20119. this directly on to the driver.
  20120. - Get the move start position before adjusting for the titlebar
  20121. height, this fixes the windows "skipping" when they are first
  20122. moved.
  20123. 2005-11-18 Jackson Harper <[email protected]>
  20124. * XplatUIX11.cs: Just compute the mdi borders separately as they
  20125. don't totally match up with normal form borders.
  20126. 2005-11-18 Jackson Harper <[email protected]>
  20127. * Control.cs: Set WS_ styles for borders, so that the driver does
  20128. not have to retrieve the control instance to figure out what kind
  20129. of borders it should have.
  20130. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  20131. driver can know its an mdi child easily.
  20132. * XplatUIX11.cs: Get the border styles and whether the window is
  20133. MDI from the Styles and ExStyles params instead of having to get a
  20134. control. This prevents a chicken and egg problem.
  20135. 2005-11-18 Jackson Harper <[email protected]>
  20136. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  20137. 2005-11-18 Jackson Harper <[email protected]>
  20138. * MdiClient.cs: Calculate when to add and remove scrollbars
  20139. correctly.
  20140. * MdiChildContext.cs: Adjust the y position to take the titlebar
  20141. into account.
  20142. - No height for FormBorderStyle.None
  20143. 2005-11-18 Jackson Harper <[email protected]>
  20144. * Control.cs: Allow non enum values to be used for
  20145. InternalBorderStyle. MDI does this to set a special border style.
  20146. - New utility methods for converting points to/from client coords
  20147. - Add the newly created control to the Controls collection before
  20148. updating its style. This way UpdateStyle can walk the control
  20149. heirarchy to find the control if needed.
  20150. so I don't need to create a new Point object all the time.
  20151. * Form.cs: Let MDI windows handle their border styles.
  20152. - Set styles on MDI windows so the correct title style is derived.
  20153. * MdiChildContext.cs: Move all the painting and window handling
  20154. into the non client area.
  20155. - Use correct sizing and put correct buttons on frames based on
  20156. the FormBorderStyle.
  20157. - Notify the mdi client about scrolling
  20158. - Need to handle the buttons ourselves now, because they are all
  20159. in non client areas and we can't add controls there.
  20160. * MdiClient.cs: Halfway to scrolling, this implementation is
  20161. somewhat broken though, we need to check to make sure other
  20162. windows aren't causing scrolling before removing the bars. Also
  20163. the bars need to be drawn on top, maybe I can switch implicit
  20164. controls to be on top.
  20165. * Hwnd.cs: caption_height and tool_caption_height are now
  20166. properties of an hwnd, this way they can be set by the driver
  20167. based on the type of window they are. In X11 the window manager
  20168. handles the decorations so caption_height is zero unless its an
  20169. MDI window.
  20170. - Add 3 pixel borders for MDI windows (0xFFFF).
  20171. - Get rid of some code duplication, have DefaultClientRectanle
  20172. just call GetClientRectangle.
  20173. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  20174. Hwnd now.
  20175. - Set border styles differently for mdi windows.
  20176. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  20177. Hwnd now.
  20178. 2005-11-15 Mike Kestner <[email protected]>
  20179. * Menu.cs: when adding an item to the collection, if item is already
  20180. parented, remove it from the parent.
  20181. 2005-11-13 Alexander Olk <[email protected]>
  20182. * X11DesktopColors.cs: Added KDE support
  20183. 2005-11-11 Peter Dennis Bartok <[email protected]>
  20184. * XplatUIWin32.cs:
  20185. - Clipboard methods now can translate Rtf format
  20186. - No longer removes clipboard contents whenever a new format is added
  20187. to allow placing multiple formats on the clipboard
  20188. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  20189. will place all formats contained in it onto the clipboard. Also
  20190. now cleans the clipboard before placing a new object onto it
  20191. * RichTextBox.cs:
  20192. - Implemented set_Rtf
  20193. - Implemented set_SelectedRtf
  20194. - Created InsertRTFFromStream() method to allow single code base
  20195. for all properties and methods that insert RTF into document
  20196. - Removed debug output
  20197. * TextControl.cs:
  20198. - Fixed Delete(int) to fix up line numbers
  20199. - Fixed ReplaceSelection to combine start and end line
  20200. - Fixed serious DeleteChars bug that would leave the document tree
  20201. broken
  20202. - Improved DumpTree with several logic checks to detect broken
  20203. document trees
  20204. - Removed debug lines
  20205. - Fixed Caret.WordForward/WordBack moving code, now always also
  20206. updates caret.tag (fixes crash when word-selecting across tag
  20207. boundaries via keyboard)
  20208. - Added Insert() method for inserting multiline text into documents
  20209. - Fixed DeleteChars() calculation errors that would cause a broken
  20210. tag chain with multiple tag lines
  20211. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  20212. - Split() no longer moves caret if split is at caret location
  20213. - ReplaceSelection() now updates the cursor and re-displays it
  20214. - ReplaceSelection() now uses new Insert() method to avoid code
  20215. duplication
  20216. - FormatText() can now handle formatting partial lines
  20217. * TextBoxBase.cs:
  20218. - Append now uses new TextControl.Insert() method (this avoids
  20219. duplicate code)
  20220. - Implemented Ctrl-X (Cut) (
  20221. - Implemented Ctrl-C (Copy)
  20222. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  20223. regeneration when pasting text; roundtripping Copy&Paste within
  20224. edit control still fails due to some calculation bugs in GenerateRTF)
  20225. - The Delete key will now remove the current selection if it is visible
  20226. * TextBox.cs: Removed debug lines
  20227. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  20228. driver to be initialized and can't therefore be done via a static ctor)
  20229. 2005-11-10 Peter Dennis Bartok <[email protected]>
  20230. * TextControl.cs: Added backend code for finding char arrays and strings
  20231. * TextBoxBase.cs:
  20232. - Added mouse wheel scroll support
  20233. - Added support for VScroll and HScroll events
  20234. * RichTextBox.cs:
  20235. - Implemented all seven Find() variants
  20236. - Implemented GetCharFromPosition()
  20237. - Implemented GetCharIndexFromPosition()
  20238. - Implemented GetLineFromIndex()
  20239. - Implemented GetPositionFromCharIndex();
  20240. - Implemented SaveFile for PlainText and UnicodeText
  20241. - Fixed set_Font, now setting a new font applies that font to
  20242. the whole document
  20243. - Implemented generic Document to RTF converter
  20244. - Implemented SaveFile for RichText format (still missing unicode
  20245. conversion for non-ansi chars)
  20246. - Implemented get_Rtf
  20247. - Implemented get_SelectedRtf
  20248. 2005-11-09 Peter Dennis Bartok <[email protected]>
  20249. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  20250. to allow any captures to be released before triggering OnClick. This
  20251. way a click handler may capture the mouse without interference.
  20252. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  20253. This way we send them even though X may not allow a grab (if the window
  20254. isn't visible, for example)
  20255. 2005-11-08 Pedro Martinez Julia <[email protected]>
  20256. * DataGridViewRowEventArgs.cs: DataGridView implementation
  20257. * DataGridViewElement.cs: DataGridView implementation
  20258. * DataGridViewComboBoxCell.cs: DataGridView implementation
  20259. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  20260. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  20261. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  20262. * ImageLayout.cs: DataGridView implementation
  20263. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  20264. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  20265. * DataGridViewSelectionMode.cs: DataGridView implementation
  20266. * IDataGridViewEditingControl.cs: DataGridView implementation
  20267. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  20268. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  20269. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  20270. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  20271. * DataGridViewColumnSortMode.cs: DataGridView implementation
  20272. * DataGridView.cs: DataGridView implementation
  20273. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  20274. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  20275. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  20276. * Padding.cs: DataGridView implementation
  20277. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  20278. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  20279. * DataGridViewRowEventHandler.cs: DataGridView implementation
  20280. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  20281. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  20282. * DataGridViewButtonCell.cs: DataGridView implementation
  20283. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  20284. * DataGridViewEditMode.cs: DataGridView implementation
  20285. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  20286. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  20287. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  20288. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  20289. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  20290. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  20291. * DataGridViewCellEventHandler.cs: DataGridView implementation
  20292. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  20293. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  20294. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  20295. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  20296. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  20297. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  20298. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  20299. * QuestionEventArgs.cs: DataGridView implementation
  20300. * IDataGridViewEditingCell.cs: DataGridView implementation
  20301. * DataGridViewTriState.cs: DataGridView implementation
  20302. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  20303. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  20304. * DataGridViewColumnCollection.cs: DataGridView implementation
  20305. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  20306. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  20307. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  20308. * DataGridViewColumn.cs: DataGridView implementation
  20309. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  20310. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  20311. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  20312. * DataGridViewRow.cs: DataGridView implementation
  20313. * DataGridViewImageCellLayout.cs: DataGridView implementation
  20314. * DataGridViewImageCell.cs: DataGridView implementation
  20315. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  20316. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  20317. * DataGridViewHeaderCell.cs: DataGridView implementation
  20318. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  20319. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  20320. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  20321. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  20322. * QuestionEventHandler.cs: DataGridView implementation
  20323. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  20324. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  20325. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  20326. * DataGridViewCell.cs: DataGridView implementation
  20327. * DataGridViewCellEventArgs.cs: DataGridView implementation
  20328. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  20329. * DataGridViewCellStyle.cs: DataGridView implementation
  20330. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  20331. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  20332. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  20333. * TextFormatFlags.cs: DataGridView implementation
  20334. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  20335. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  20336. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  20337. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  20338. * DataGridViewButtonColumn.cs: DataGridView implementation
  20339. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  20340. * HandledMouseEventArgs.cs: DataGridView implementation
  20341. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  20342. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  20343. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  20344. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  20345. * DataGridViewRowCollection.cs: DataGridView implementation
  20346. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  20347. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  20348. * DataGridViewHitTestType.cs: DataGridView implementation
  20349. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  20350. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  20351. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  20352. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  20353. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  20354. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  20355. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  20356. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  20357. * DataGridViewContentAlignment.cs: DataGridView implementation
  20358. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  20359. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  20360. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  20361. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  20362. * DataGridViewPaintParts.cs: DataGridView implementation
  20363. * DataGridViewCellCollection.cs: DataGridView implementation
  20364. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  20365. * DataGridViewImageColumn.cs: DataGridView implementation
  20366. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  20367. * DataGridViewElementStates.cs: DataGridView implementation
  20368. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  20369. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  20370. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  20371. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  20372. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  20373. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  20374. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  20375. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  20376. * DataGridViewTextBoxCell.cs: DataGridView implementation
  20377. * DataGridViewBand.cs: DataGridView implementation
  20378. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  20379. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  20380. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  20381. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  20382. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  20383. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  20384. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  20385. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  20386. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  20387. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  20388. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  20389. 2005-11-08 Peter Dennis Bartok <[email protected]>
  20390. * ThemeWin32Classic.cs:
  20391. - Draw the outside focus rectangle around buttons
  20392. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  20393. doesn't use end caps for every dash of a line anymore. This
  20394. workaround ignores the forecolor.
  20395. 2005-11-08 Kornél Pál <[email protected]>
  20396. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  20397. endian safe.
  20398. 2005-11-07 Jackson Harper <[email protected]>
  20399. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  20400. 2005-11-07 Jackson Harper <[email protected]>
  20401. * ScrollableControl.cs: Calculate the maximum and change vars
  20402. (more) correctly so that scrollbars appear as a sensible size.
  20403. 2005-11-04 Jackson Harper <[email protected]>
  20404. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  20405. collection.
  20406. * TreeView.cs: When the tree is sorted null out the top_node so
  20407. that it is recalculated.
  20408. - Use dotted lines instead of dashed lines to match MS better.
  20409. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  20410. * ListView.cs:
  20411. - Implements key search for items. Useful when browsing files with FileDialog
  20412. - When changing view mode or when clear the items reset scrollbar positions
  20413. 2005-11-04 Jackson Harper <[email protected]>
  20414. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  20415. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  20416. as to what the method may do as there is no real way of creating a
  20417. derived CurrencyManager and calling the method.
  20418. 2005-11-03 Jackson Harper <[email protected]>
  20419. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  20420. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  20421. method which seems to just be used internally to refresh the tabs.
  20422. 2005-11-03 Jackson Harper <[email protected]>
  20423. * TabControl.cs: Implement the remove method. Fix some broken
  20424. comments.
  20425. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20426. * DateTimePicker.cs:
  20427. - Added missing DateTimePickerAccessibleObject class
  20428. - Added missing events
  20429. - Added OnFontChanged method
  20430. * Form.cs: Added missing attributes
  20431. * TreeView.cs: Added missing attributes
  20432. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20433. * GridItemCollection.cs: Fix signatures
  20434. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20435. * XplatUI.cs: Updated build rev/date
  20436. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  20437. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  20438. * Application.cs: Trigger context-specific ExitThread events
  20439. 2005-11-03 Jackson Harper <[email protected]>
  20440. * Menu.cs:
  20441. * MainMenu.cs:
  20442. * GridTableStylesCollection.cs:
  20443. * Timer.cs:
  20444. * TabPage.cs:
  20445. * HelpProvider.cs:
  20446. * StatusBar.cs:
  20447. * MonthCalendar.cs: Signature fixes
  20448. 2005-11-03 Jackson Harper <[email protected]>
  20449. * TreeNodeCollection.cs: Remove should not be virtual.
  20450. * TreeView.cs: Implement the last of the missing methods.
  20451. 2005-11-03 Jackson Harper <[email protected]>
  20452. * TreeNodeConverter.cs: Implement to get off my class-status back.
  20453. 2005-11-03 Jackson Harper <[email protected]>
  20454. * TreeView.cs: Hookup the bits for drag and drop.
  20455. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  20456. that nodes can be moved from tree to tree easily this just causes
  20457. all sorts of problems.
  20458. * TreeNodeCollection: Don't need to give treenodes an index and
  20459. treeview anymore when they are added, these are computed on the
  20460. fly. Also make sure to remove a node before its added.
  20461. 2005-11-03 Peter Dennis Bartok <[email protected]>
  20462. * TextControl.cs:
  20463. - Added CaretSelection enum
  20464. - Added comparison methods to Marker struct, makes selection code
  20465. more readable
  20466. - Added SelectionStart and SelectionEnd as 'moveable' location for
  20467. the CaretDirection enum and handler
  20468. - Added selection_prev variable to track optimized invalidation for
  20469. word and line selection
  20470. - Added SelectionVisible property (returns true if there is a valid
  20471. selection)
  20472. - Switched CaretHasFocus to only display the caret if there is no
  20473. visible selection
  20474. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  20475. using the direct character index; should be much faster
  20476. - Added various conditional debug statements
  20477. - Fixed invalidation calculation for selection ranges
  20478. - Added ExpandSelection() method to support word and line selection
  20479. - Switched SetSelectionToCaret to use new Marker compare overloads
  20480. - Added central IsWordSeparator() method to determine word
  20481. separators/whitespace and FindWordSeparator() to streamline common
  20482. usage of IsWordSeparator()
  20483. * TextBoxBase.cs:
  20484. - Removed unneeded grabbed variable, it was just mirroring
  20485. Control.Capture
  20486. - No longer firing OnTextChanged event when Text setter is called,
  20487. since the base will fire the event for us
  20488. - Added handling of Ctrl-Up/Down selection
  20489. - Added handling of Shift-Cursorkey selection
  20490. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  20491. words
  20492. - Added handling of Shift and Ctrl-Shift-Home/End selection
  20493. - Removed some debug output
  20494. - Added handling for single/double/tripple-click to place caret/
  20495. select word/select line respectively (Fixes bug #76031)
  20496. - Added support for drag expansion of word/line selection
  20497. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  20498. current selection
  20499. 2005-11-02 Jackson Harper <[email protected]>
  20500. * X11Dnd.cs: If the drag is going to and from a MWF window just
  20501. copy the data instead of sending it out through the X Selection
  20502. mechanism.
  20503. 2005-11-02 Jackson Harper <[email protected]>
  20504. * X11Dnd.cs:
  20505. * XplatUIX11.cs: When in a drag we don't want motion notify
  20506. messages to get passed on to the other controls. This prevents
  20507. mouse move messages from showing up in the drag source.
  20508. 2005-11-02 Jackson Harper <[email protected]>
  20509. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  20510. the correct button is release to end a drag.
  20511. * XplatUIX11.cs: Make the button state internal so the drag system
  20512. can access it. Dragging needs to know about all button releases,
  20513. not just left button.
  20514. 2005-11-02 Miguel de Icaza <[email protected]>
  20515. * Form.cs (Icon): If the icon is null, reset the icon to the
  20516. default value.
  20517. * Cursor.cs: When writing the AND-mask bitmap do not include the
  20518. number of colors, but hardcode those to two (black and white),
  20519. fixes the loading of color cursors (Paint Dot Net).
  20520. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  20521. turn off autoscaling.
  20522. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  20523. 2005-11-02 Jackson Harper <[email protected]>
  20524. * X11Dnd.cs: Make sure to send a status message if the pointer
  20525. enters a control that can not accept a drop, otherwise the cursor
  20526. isn't updated correctly. Also tried to compress the lines of code
  20527. a bit.
  20528. 2005-11-02 Jackson Harper <[email protected]>
  20529. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  20530. set actions correctly. This isn't perfect as XDND and win32 have
  20531. some differences on how you allow actions. I'll clear this up by
  20532. adding a path for drag from MWF to MWF windows.
  20533. * XplatUIX11.cs: Hook into the dnd system.
  20534. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  20535. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  20536. previously shown but they are no longer need it. Very obvious when
  20537. browsing files with FileDialog.
  20538. 2005-11-01 Peter Dennis Bartok <[email protected]>
  20539. * Control.cs: We always need to call OnPaintBackground. We pretty much
  20540. ignore AllPaintingInWmPaint and always do the painting there, whether
  20541. it's set or not, since we always ignore the WM_ERASEBKGND message
  20542. (which we don't generate on X11). This fixes #76616.
  20543. * Panel.cs: Removed unneeded background painting. This happens properly
  20544. in Control.cs already
  20545. 2005-10-31 Mike Kestner <[email protected]>
  20546. * Menu.cs: Add items to collection before setting their index.
  20547. * MenuItem.cs : add range checking with ArgumentException like MS.
  20548. [Fixes #76510]
  20549. 2005-10-31 Jackson Harper <[email protected]>
  20550. * ListBox.cs: Invalidate if the area is visible at all not just
  20551. contained in the visible rect. Fixes unselection of semi visible
  20552. items.
  20553. 2005-10-31 Jackson Harper <[email protected]>
  20554. * Control.cs: Consistently name the dnd methods. Make them
  20555. internal so we can override them to match some MS behavoir
  20556. internally.
  20557. * Win32DnD.cs: Use the new consistent names.
  20558. 2005-10-31 Jackson Harper <[email protected]>
  20559. * TreeView.cs: Don't draw the selected node when we lose focus.
  20560. 2005-10-31 Jackson Harper <[email protected]>
  20561. * X11Dnd.cs: We still need to reset the state even though a full
  20562. reset isn't being done, otherwise status's still get sent all over
  20563. the place.
  20564. 2005-10-31 Jackson Harper <[email protected]>
  20565. * Control.cs: Make the dnd_aware flag internal so the dnd
  20566. subsystem can check it. Catch exceptions thrown in dnd handlers to
  20567. match MS behavoir.
  20568. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  20569. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  20570. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  20571. flags to reduce the number of dnd enters/status's sent.
  20572. 2005-10-31 Jackson Harper <[email protected]>
  20573. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  20574. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  20575. * PictureBox.cs: Fixes 76512
  20576. 2005-10-28 Jackson Harper <[email protected]>
  20577. * X11Dnd.cs: Early implementation to support winforms being a drag
  20578. source for data on X11. Also restructured the converters so they
  20579. can go both ways now.
  20580. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  20581. 2005-10-27 Peter Dennis Bartok <[email protected]>
  20582. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  20583. clipboard requests
  20584. 2005-10-27 Jackson Harper <[email protected]>
  20585. * TreeNode.cs: Implement serialization so my DnD examples will work.
  20586. 2005-10-24 Kornél Pál <[email protected]>
  20587. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  20588. TreeView.cs: Don't dispose objects that are not owned.
  20589. 2005-10-24 Peter Dennis Bartok <[email protected]>
  20590. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  20591. should retrieve the current cursor and report that, but XplatUI
  20592. doesn't (yet) have an interface for that (and I'm not sure I even
  20593. can, on X11)
  20594. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  20595. until any message loop processing is done (and the WM_SETCURSOR
  20596. replaces the cursor to the proper one)
  20597. * XplatUIX11.cs:
  20598. - Fixed override behaviour, we can't set the cursor globally on X11,
  20599. just for our windows.
  20600. - Invalidating the System.Drawing X11 display handle when we are
  20601. shutting down
  20602. * Control.cs: Fix to make csc happy
  20603. 2005-10-23 Peter Dennis Bartok <[email protected]>
  20604. * TextBoxBase.cs:
  20605. - get_Text: Add last line (without trailing newline) to returned
  20606. value (Fixes 76212)
  20607. - get_TextLength: Count last line in returned length
  20608. - ToString: Call Text property instead of duplicating code
  20609. 2005-10-23 Kornél Pál <[email protected]>
  20610. * ImageList.cs: Dispose ImageAttributes objects.
  20611. 2005-10-22 Kornél Pál <[email protected]>
  20612. * ImageList.cs: Use attribute constructors with less arguments where
  20613. possible.
  20614. 2005-10-22 Kornél Pál <[email protected]>
  20615. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  20616. Use typeof instead of strings when assembly is referenced. Added
  20617. some more comments.
  20618. 2005-10-21 Jackson Harper <[email protected]>
  20619. * ListView.cs: Raise a double click event. Also tried to somewhat
  20620. fix when the selectedindexchanged event is raised. Its still
  20621. broken though.
  20622. 2005-10-21 Jackson Harper <[email protected]>
  20623. * TreeView.cs: New method to invalidate the plus minus area of a
  20624. node without invalidating the whole node (maybe this can be used
  20625. in some more places).
  20626. * TreeNodeCollection.cs: When adding to an empty node we need to
  20627. invalidate its plus minus area so the little block shows up.
  20628. 2005-10-21 Jackson Harper <[email protected]>
  20629. * TreeView.cs: Make sure that when we invalidate a node the bounds
  20630. are big enough to cover the selected box and the focus
  20631. rectangle. Use a different colour for the lines connecting nodes
  20632. so they show up with all themes.
  20633. 2005-10-21 Peter Dennis Bartok <[email protected]>
  20634. * NativeWindow.cs: Don't call anything that could call into the driver,
  20635. we might be on a different thread.
  20636. 2005-10-21 Peter Dennis Bartok <[email protected]>
  20637. * Control.cs(Dispose): Since Dispose might run on a different thread,
  20638. make sure that we call methods that could call into the driver via
  20639. invoke, to avoid thread issues
  20640. 2005-10-21 Peter Dennis Bartok <[email protected]>
  20641. * XplatUI.cs: Removed finalizer
  20642. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  20643. not allowing to be called on the finalizer thread.
  20644. 2005-10-21 Kornél Pál <[email protected]>
  20645. * ImageList.cs:
  20646. - Reverted r51889 and r51891.
  20647. - Added ImageListItem class that stores unmodified image items and image
  20648. properties required to create list images until handle is created.
  20649. - Added AddItem and moved image creation logic to AddItemInternal.
  20650. - Added CreateHandle method that creates images based on unmodified items.
  20651. - Added DestroyHandle that changes state to store unmodified items.
  20652. - Add and AddStrip methods no more create handle.
  20653. - ReduceColorDepth has no return value.
  20654. - Dispose destroys handle.
  20655. - Modified other methods to reflect the above changes.
  20656. - Implemented key support.
  20657. - Added profile 2.0 members and attributes.
  20658. - Added private Reset and ShouldSerialize methods that provide the same
  20659. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  20660. them as they are private.
  20661. - Added some more comments about implementation details.
  20662. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  20663. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  20664. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  20665. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  20666. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  20667. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  20668. * DataGridColumnStyle.cs: Remove debug message
  20669. 2005-10-20 Jackson Harper <[email protected]>
  20670. * TreeView.cs: We can always get input keys regardless of whether
  20671. or not editing is enabled. They are used for navigation.
  20672. 2005-10-20 Jackson Harper <[email protected]>
  20673. * TreeNode.cs: Use the viewport rect for determining if a node
  20674. needs to be moved for visibility. Don't use Begin/End edit. This
  20675. calls a full refresh when its done.
  20676. * TreeView.cs: New SetBottom works correctly. Make the viewport
  20677. rect property internal so the treenodes can see it. When clicking
  20678. on a node we need to ensure that its visible because it might just
  20679. be partly visible when clicked.
  20680. 2005-10-20 Jackson Harper <[email protected]>
  20681. * TreeNodeCollection.cs: Remove debug code.
  20682. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  20683. * Datagrid.cs: Implements column sorting in Datagrid
  20684. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  20685. 2005-10-20 Jackson Harper <[email protected]>
  20686. * TreeNodeCollection.cs: Remove items properly. Update the correct
  20687. area after removing them.
  20688. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  20689. * Datagrid.cs: Should not call base.OnPaintBackground
  20690. 2005-10-20 Peter Dennis Bartok <[email protected]>
  20691. * XplatUIX11.cs (GetMessage):
  20692. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  20693. window instead of client window
  20694. - Now properly calculates NC_xBUTTONUP message coordinates
  20695. - ScreenToMenu now properly calculates it's coordinates of whole
  20696. window, since menus are in the whole window, not in the client
  20697. window
  20698. - Added WholeToScreen coordinate translation method
  20699. 2005-10-20 Peter Dennis Bartok <[email protected]>
  20700. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  20701. want to return a message, loop back to the beginning of the function
  20702. and grab the next real message to process instead.
  20703. 2005-10-20 Peter Dennis Bartok <[email protected]>
  20704. * Splitter.cs: Properly set limits if no filler control is used
  20705. 2005-10-19 Jackson Harper <[email protected]>
  20706. * ColorDialog.cs: Don't show the help button if it is not enabled
  20707. instead of disabling it (this is what MS does). Don't create the
  20708. panel until the dialog is run, otherwise the vars (such as
  20709. ShowHelp) are not set yet.
  20710. 2005-10-19 Jackson Harper <[email protected]>
  20711. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  20712. are reduced when adding nodes.
  20713. * TreeNode.cs:
  20714. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  20715. tree.
  20716. 2005-10-19 Jackson Harper <[email protected]>
  20717. * FolderBrowserDialog.cs: End editing our treeview so the window
  20718. actually gets refreshed.
  20719. 2005-10-18 Peter Dennis Bartok <[email protected]>
  20720. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  20721. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  20722. inside of WM_PAINT
  20723. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  20724. * MenuAPI.cs: Returns after Hidding window
  20725. * XplatUIX11.cs: Added TODO found while debugging menu issues
  20726. 2005-10-18 Peter Dennis Bartok <[email protected]>
  20727. * XplatUIX11.cs: Do not re-map the whole window when it's size
  20728. becomes non-zero unless it's supposed to be actually visible
  20729. 2005-10-18 Jackson Harper <[email protected]>
  20730. * TreeView.cs: We don't need to keep a count anymore.
  20731. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  20732. use the Grow method.
  20733. 2005-10-18 Jackson Harper <[email protected]>
  20734. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  20735. implement it manually here.
  20736. 2005-10-18 Jackson Harper <[email protected]>
  20737. * ImageList.cs: Dont kill the list when the colour depth is
  20738. changed, just change the colour depth of all the images.
  20739. - Same goes for setting the image size. Just resize them all
  20740. instead of killing the list softly.
  20741. 2005-10-18 Jackson Harper <[email protected]>
  20742. * Control.cs: Don't invalidate empty rectangles.
  20743. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  20744. * ListViewItem.cs:
  20745. - Adds checked item to the Checked/Item lists (where empty before)
  20746. - Do not add items to the Selected lists if they are already present
  20747. * ListView.cs:
  20748. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  20749. - When deleting items make sure that we delete them for the Selected
  20750. and Checked list also.
  20751. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  20752. * Label.cs: Dispose objects no longer used
  20753. * ThemeWin32Classic.cs: Dispose objects no longer used
  20754. 2005-10-18 Jackson Harper <[email protected]>
  20755. * TabControl.cs: Don't refresh the whole control when the tabs are
  20756. scrolled, we just need to refresh the tab area.
  20757. 2005-10-17 Jackson Harper <[email protected]>
  20758. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  20759. after handle when we need it.
  20760. 2005-10-17 Peter Dennis Bartok <[email protected]>
  20761. * Control.cs: When the parent size changes, recalculate anchor
  20762. positions. Partial fix for #76462
  20763. 2005-10-17 Peter Dennis Bartok <[email protected]>
  20764. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  20765. drawn. Fixes #76462
  20766. 2005-10-17 Jackson Harper <[email protected]>
  20767. * MonthCalendar.cs: Don't create the numeric up down until our
  20768. handle is created. Otherwise our handle is created in the
  20769. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  20770. yet.
  20771. 2005-10-17 Jackson Harper <[email protected]>
  20772. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  20773. correctly.
  20774. 2005-10-17 Rafael Teixeira <[email protected]>
  20775. * TreeNode.cs : small logical fix (was using local var instead of field)
  20776. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  20777. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  20778. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  20779. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  20780. 2005-10-16 Peter Dennis Bartok <[email protected]>
  20781. * Control.cs:
  20782. - Re-implemented anchoring code. My first version was really broken.
  20783. This fixes bug #76033. Unlike the previous implementation we will
  20784. no longer have round errors since all numbers are calculated from
  20785. scratch every time. Removed various anchor-related obsolete vars.
  20786. - InitLayout no longer causes layout event firing and layout to be
  20787. performed
  20788. 2005-10-16 Jackson Harper <[email protected]>
  20789. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  20790. which was broken).
  20791. 2005-10-16 Jackson Harper <[email protected]>
  20792. * TabControl.cs: Remove debug code.
  20793. 2005-10-16 Jackson Harper <[email protected]>
  20794. * XEventQueue.cs: Increase the default queue size (very simple
  20795. apps needed to grow the queue).
  20796. * Hwnd.cs: No finalizer so we don't need to suppress
  20797. finalization. Compute the invalid area manually so a new rectangle
  20798. does not newto be created.
  20799. * ScrollableControl.cs: Don't set any params (otherwise visibility
  20800. isn't set correctly).
  20801. * MdiChildContext.cs: New constructor takes the mdi parent so it
  20802. doesn't have to be computed and avoids a crash on windows. Draw
  20803. the window icon properly, and allow the text to be seen.
  20804. * Form.cs: Use new MdiChildContext constructor. Make sure the
  20805. child context isn't null in wndproc.
  20806. * TabControl.cs: Don't set focus, this is muddling keyboard
  20807. behavoir. Expand the tab rows when a window size increase will
  20808. allow extra tabs to be seen. Don't allow tabs smaller than the
  20809. width of a window to be scrolled out of view.
  20810. * TreeNode.cs:
  20811. * TreeView.cs: Use measure string to calculate a nodes width, the
  20812. width is cached and only updated when the text or the font is
  20813. changed. Don't check for expand/collapse clicks on the first level
  20814. nodes if root lines are disabled.
  20815. 2005-10-16 Ritvik Mayank <[email protected]>
  20816. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  20817. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  20818. * DataGridBoolColumn.cs: fixes warning
  20819. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  20820. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  20821. to match more to match more precisely the MS Net behavior
  20822. 2005-10-13 Peter Dennis Bartok <[email protected]>
  20823. * Hwnd.cs: Added field to track if window is mapped
  20824. * XplatUIX11.cs:
  20825. - Unmap windows if they become 0-size, re-map when
  20826. they are >0 again; fixes #76035
  20827. - Re-set our error handler after initializing X11Desktop
  20828. to override any error handlers Gtk or whatever was called
  20829. may have set.
  20830. 2005-10-13 Peter Dennis Bartok <[email protected]>
  20831. * CheckedListBox.cs: Removed unused vars
  20832. * ListView.cs: Fixed signatures
  20833. * RichTextBox.cs: Removed unused vars
  20834. * TextBoxBase.cs: Removed unused vars
  20835. * XplatUIWin32.cs: Removed unused vars
  20836. * XplatUIX11.cs: Removed unused vars
  20837. * XplatUI.cs: Updated version and date to latest published
  20838. 2005-10-13 Peter Dennis Bartok <[email protected]>
  20839. * Cursor.cs: Added private .ctor to work around a bug in
  20840. resourceset (Thanks to Geoff Norton for the help on this)
  20841. * SplitterEventArgs.cs: Made fields accessible so we don't
  20842. waste boatloads of objects and can reuse the same one
  20843. in Splitter
  20844. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  20845. any captions and borders when generating screen coordinates
  20846. * Splitter.cs: Reimplemented control, now fully complete, uses
  20847. rubberband drawing, supports and obeys all properties, has
  20848. proper cursors
  20849. 2005-10-13 Miguel de Icaza <[email protected]>
  20850. * Form.cs (Form): Setup default values for autoscale and
  20851. autoscale_base_size; Make these instance variables, not static
  20852. variables.
  20853. (OnLoad): on the first load, adjust the size of the form.
  20854. 2005-10-13 Peter Dennis Bartok <[email protected]>
  20855. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  20856. width argument to DrawReversibleRectangle()
  20857. * XplatUIWin32.cs, XplatUIX11.cs:
  20858. - Implemented width for DrawReversibleRectangle()
  20859. - Added logic to DrawReversibleRectangle that recognizes a zero
  20860. width or height and only draws a line in that situation
  20861. 2005-10-12 Peter Dennis Bartok <[email protected]>
  20862. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  20863. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  20864. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  20865. method (it uses our FosterParent window to get a graphics context)
  20866. 2005-10-12 Peter Dennis Bartok <[email protected]>
  20867. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  20868. and SetWindowBackground methods
  20869. * Control.cs:
  20870. - Setting proper ControlStyles
  20871. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  20872. EraseWindowBackground, instead we draw the window background
  20873. ourselves in PaintControlBackground. This behaviour is
  20874. required to match MS, where, when OnPaintBackground is not
  20875. called, the background is not drawn.
  20876. - Removed unneeded Refresh() in set_Text
  20877. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  20878. * XplatUIX11.cs:
  20879. - Created DeriveStyles method to translate from CreateParams to
  20880. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  20881. matches FormBorderStyle enum values)
  20882. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  20883. style calculations into single DeriveStyles method
  20884. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  20885. from redrawing the whole window on any resize or expose.
  20886. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  20887. all styles were applied to our whole/client window appropriately
  20888. - Removed EraseWindowBackground() and SetWindowBackground() methods
  20889. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  20890. no longer clear/redraw the background through X
  20891. - Removed handling of erase_pending bit, we have no use for it (or
  20892. so it seems)
  20893. * XplatUIOSX.cs:
  20894. - Removed generation and handling of WM_ERASEBKGND message
  20895. - Removed EraseWindowBackground() and SetWindowBackground() methods
  20896. - Removed handling of hwnd.ErasePending flag
  20897. * XplatUIWin32.cs:
  20898. - Removed EraseWindowBackground() and SetWindowBackground() methods
  20899. - We no longer call EraseWindowBackground on PaintEventStart, we
  20900. ignore the fErase flag, erasing is handled in Control in the
  20901. background handler
  20902. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  20903. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  20904. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  20905. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  20906. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  20907. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  20908. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  20909. 2005-10-12 Jonathan Chambers <[email protected]>
  20910. * PropertyGrids.cs: Get sub properties
  20911. * PropertyGridView.cs: Fix drawing code
  20912. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  20913. * ListBox.cs: Fixes 76383
  20914. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  20915. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  20916. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  20917. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  20918. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  20919. * ComboBox.cs: Fixes border drawing
  20920. 2005-10-10 Miguel de Icaza <[email protected]>
  20921. * MimeIcon.cs: Ignore errors if the file can not be read.
  20922. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  20923. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  20924. - Fixed border calculations
  20925. - Fixed horizontal scrolling in single column listboxes
  20926. - Fixed drawing issues
  20927. 2005-10-10 Peter Dennis Bartok <[email protected]>
  20928. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  20929. FormBorderStyle enum
  20930. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  20931. code to determine FormBorderStyles from CreateParams
  20932. * Form.cs:
  20933. - Fixed bug where we'd set the wrong window styles if we were
  20934. not creating an MDI window
  20935. - Added call to XplatUI.SetBorderStyle when form borders are set
  20936. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  20937. * Hwnd.cs:
  20938. - Removed obsolete edge style
  20939. - Switched from BorderStyle to FormBorderStyle
  20940. 2005-10-10 Jackson Harper <[email protected]>
  20941. * Form.cs: Use the property to get the window handle instead of
  20942. accessing it directly. Prevents a null reference exception.
  20943. 2005-10-10 Jackson Harper <[email protected]>
  20944. * TreeView.cs: Don't adjust the rect given to DrawString now that
  20945. our libgdiplus draws correctly.
  20946. 2005-10-08 Jackson Harper <[email protected]>
  20947. * TreeView.cs: Don't try to find the clicked on node if there are
  20948. no nodes in the tree.
  20949. 2005-10-08 Alexander Olk <[email protected]>
  20950. * RichTextBox.cs:
  20951. restore
  20952. 2005-10-08 Alexander Olk <[email protected]>
  20953. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  20954. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  20955. ErrorProvider.cs:
  20956. Use ResPool for brushes and dispose System.Drawing objects that
  20957. are not used anymore.
  20958. 2005-10-07 Jackson Harper <[email protected]>
  20959. * MdiChildContext.cs: Use the new borders instead of drawing them
  20960. ourselves.
  20961. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  20962. * Calling UpdateBounds after changing the window's BorderStyle
  20963. since the style can change the ClientSize
  20964. 2005-10-06 Peter Dennis Bartok <[email protected]>
  20965. * Control.cs: Made PaintControlBackground virtual
  20966. * Panel.cs: Overriding PaintControlBackground instead of using paint
  20967. event; paint event method was interfering with 'real' users of the
  20968. event.
  20969. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  20970. * ThemeWin32Classic.cs: remove border drawing since it is handled
  20971. by the base control class now and was causing double border drawing.
  20972. 2005-10-06 Peter Dennis Bartok <[email protected]>
  20973. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  20974. but it does seem to match MS behaviour. This fixes bug #75324
  20975. 2005-10-06 Peter Dennis Bartok <[email protected]>
  20976. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  20977. somewhat hackish looking
  20978. 2005-10-06 Peter Dennis Bartok <[email protected]>
  20979. * TextBoxBase.cs:
  20980. - We now accept Enter even if AcceptEnter is false, if the containing
  20981. form does not have an AcceptButton configured (fixes bug #76355)
  20982. - Calculations are now fixed to no longer use Width/Height, but
  20983. ClientSize.Width/Height, since we now support borders (this was
  20984. a result of fixing borders and therefore bug #76166)
  20985. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  20986. true (fixes bug #76354)
  20987. 2005-10-06 Peter Dennis Bartok <[email protected]>
  20988. * Control.cs:
  20989. - Defaulting BorderStyle and setting it in XplatUI when our window
  20990. is created
  20991. - Added enum check to InternalBorderStyle setter
  20992. * XplatUIX11.cs:
  20993. - Added drawing of window borders
  20994. - Now properly calculates WM decorations offset for toplevel
  20995. windows (fixes bug #74763)
  20996. * XplatUIWin32.cs:
  20997. - Implemented BorderStyles for windows (we're letting win32 draw
  20998. the border for us)
  20999. - Fixed the signature for SetWindowLong
  21000. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  21001. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  21002. setting borders
  21003. * UpDownBase.cs: Remove drawing of borders, this is handled by
  21004. the driver, outside the client area
  21005. * ListView.cs: Removed bogus border calculations. The control should
  21006. be oblivious to borders, since those are not part of the client
  21007. area.
  21008. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  21009. * ThemeWin32Classic.cs: Removed border calculations from ListView
  21010. drawing code
  21011. 2005-10-06 Jackson Harper <[email protected]>
  21012. * MdiChildContext.cs: Clear out the old virtual position remove
  21013. all the unneeded calls to CreateGraphics.
  21014. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21015. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  21016. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21017. * Form.cs:
  21018. - Added loading and setting of our new default icon
  21019. - Only set icon if window is already created
  21020. 2005-10-06 Peter Dennis Bartok <[email protected]>
  21021. * Label.cs:
  21022. - Do not explicitly set the foreground and background colors, to
  21023. allow inheriting from parents (fixes #76302)
  21024. - Use Control's InternalBorderStyle property to deal with borders
  21025. 2005-10-06 Jackson Harper <[email protected]>
  21026. * MdiChildContext.cs: Use the new xplatui function to draw a
  21027. reversible rect.
  21028. 2005-10-06 Jackson Harper <[email protected]>
  21029. * Form.cs: Add the parent before creating the child context cause
  21030. we need the parent when setting up the child.
  21031. 2005-10-06 Jackson Harper <[email protected]>
  21032. * FolderBrowserDialog.cs: redo the tree population code so a
  21033. second thread isn't used. Should be a lot faster and more stable
  21034. now.
  21035. 2005-10-05 Jackson Harper <[email protected]>
  21036. * TreeView.cs: There are no expand/collapse boxes if the node has
  21037. no children.
  21038. 2005-10-05 Jackson Harper <[email protected]>
  21039. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  21040. 2005-10-05 Alexander Olk <[email protected]>
  21041. * FileDialog.cs: Fix InitialDirectory
  21042. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  21043. * ComboBox.cs:
  21044. - Fixes changing between styles
  21045. - Fixes simple mode
  21046. - Fixes last item crashing when navigating with keyboard
  21047. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  21048. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  21049. 2005-10-05 Jackson Harper <[email protected]>
  21050. * TreeView.cs: If updating the root node do a full refresh.
  21051. * TreeNode.cs: The root node should be expanded by default. Also
  21052. added a utility prop to tell if we are the root node.
  21053. * TreeNodeCollection.cs: Only refresh if the node we are being
  21054. added to is expanded. Also added a comment on a potential
  21055. optimization.
  21056. 2005-10-04 Peter Dennis Bartok <[email protected]>
  21057. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  21058. in dispose method. Fixes #76330
  21059. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  21060. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  21061. - Implements vertical and horizontal scrolling using XplatUI
  21062. - Fixes keyboard navagation
  21063. - Fixes EnsureVisible
  21064. - Drawing fixes
  21065. - Handles and draws focus properly
  21066. 2005-10-04 Kornél Pál <[email protected]>
  21067. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  21068. Create handle. NET_2_0: Destroy handle when value is null.
  21069. 2005-10-03 Jackson Harper <[email protected]>
  21070. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  21071. revert and a new patch to prevent the thumb from refreshing so
  21072. much.
  21073. 2005-10-02 Jackson Harper <[email protected]>
  21074. * ScrollBar.cs: Don't update position if it hasn't actually
  21075. changed. This occurs when you hold down the increment/decrement
  21076. buttons and the thumb gets to the max/min.
  21077. 2005-10-01 Jackson Harper <[email protected]>
  21078. * Form.cs:
  21079. * MdiChildContext.cs:
  21080. * MdiClient.cs: Implement ActiveMdiChild in Form.
  21081. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  21082. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  21083. 2005-10-01 Peter Dennis Bartok <[email protected]>
  21084. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  21085. be found
  21086. 2005-09-30 Jackson Harper <[email protected]>
  21087. * ListBox.cs: Don't do a full refresh unless some data has
  21088. actually changed.
  21089. 2005-09-30 Jackson Harper <[email protected]>
  21090. * TreeView.cs: Make sure that the checkboxes size is factored in
  21091. even when not visible.
  21092. 2005-09-30 Peter Dennis Bartok <[email protected]>
  21093. * FileDialog.cs: Fix Jordi's build break
  21094. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  21095. * FileDialog.cs:
  21096. - Use standard the Windows colours for the combobox as espected
  21097. - Dispose objects that use resouces when no longer need them
  21098. 2005-09-30 Peter Dennis Bartok <[email protected]>
  21099. * X11DesktopColors.cs: Initial incomplete implementation
  21100. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  21101. 2005-09-30 Peter Dennis Bartok <[email protected]>
  21102. * Theme.cs:
  21103. - Switched Theme color names to match the names defined in
  21104. System.Drawing.KnownColors. Life's hard enough, no need to make
  21105. it harder.
  21106. - Added setters to all theme color properties so themes can set
  21107. their color schemes. The setters also propagate the color changes
  21108. to System.Drawing.KnownColors via reflection
  21109. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  21110. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  21111. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  21112. use the new, more logical theme color names
  21113. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  21114. post-NT colors
  21115. * ThemeWin32Classic.cs:
  21116. - Removed code to set the old classic Windows colors. Instead it
  21117. now relies on the colors returned by System.Drawing.KnownColors
  21118. which will be either modern static colors (Unix) or colors
  21119. read from the user's configuration (Win32)
  21120. - Updated to use the new, more logical theme color names
  21121. - Switched DataGrid drawing code to use only Theme colors instead of
  21122. a mix of System.Drawing.KnownColors and Theme colors
  21123. - DrawFrameControl(): Removed code that fills the button area, the
  21124. fill would overwrite any previous fill done by a control. This
  21125. fixes bug #75338
  21126. - Added DrawReversibleRectangle() stub
  21127. * ScrollableControl.cs: Set visible state to false when scrollbars
  21128. are removed (pdn fix)
  21129. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  21130. DrawReversibleRectangle() method to allow drawing primitive
  21131. 'rubber bands'
  21132. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  21133. 2005-09-30 Kornél Pál <[email protected]>
  21134. * ImageList.cs: Add(Icon): Create handle.
  21135. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  21136. * ListView.cs:
  21137. * ThemeWin32Classic.cs:
  21138. - Fixes detail mode
  21139. - Sets clippings
  21140. - Issues with drawing
  21141. 2005-09-30 Kornél Pál <[email protected]>
  21142. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  21143. source has to be the ImageList.
  21144. 2005-09-30 Kornél Pál <[email protected]>
  21145. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  21146. 2005-09-30 Kornél Pál <[email protected]>
  21147. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  21148. 2005-09-30 Kornél Pál <[email protected]>
  21149. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  21150. 2005-09-29 Jonathan Chambers <[email protected]>
  21151. * GridItem.cs: Fixed TODOs
  21152. * GridItemCollection.cs: Added ICollection interface
  21153. 2005-09-30 Kornél Pál <[email protected]>
  21154. * ImageList.cs: Resize icons when needed.
  21155. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  21156. * ListViewItem.cs
  21157. - Fixes GetBounds and returns on screen rects
  21158. * ListView.cs:
  21159. - Fixes vertical and horzintal scrolling of items
  21160. * ThemeWin32Classic.cs:
  21161. - Fixes drawing
  21162. 2005-09-29 Raja R Harinath <[email protected]>
  21163. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  21164. 2005-09-29 Kornél Pál <[email protected]>
  21165. * ImageList.cs: Added comments about handle creation. Moved Handle,
  21166. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  21167. Handle is created in Add methods.
  21168. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  21169. * DataGridDrawingLogic.cs:
  21170. - Takes rows into account on Colum calculations
  21171. - Returns the column when clickig
  21172. * DataGrid.cs:
  21173. - Fixes default HitTestInfo values
  21174. - Fixes HitTestInfo.ToString
  21175. - Fixes ResetBackColor
  21176. 2005-09-28 Jackson Harper <[email protected]>
  21177. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  21178. sizing or cursor changes). Also added some temp code to draw the
  21179. titlebars text (Makes dev a little easier).
  21180. 2005-09-28 Kornél Pál <[email protected]>
  21181. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  21182. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  21183. * ListBox.cs: Fixes bug 76253
  21184. 2005-09-28 Kornél Pál <[email protected]>
  21185. * ImageList.cs: Added comments about the current implementation. Added
  21186. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  21187. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  21188. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  21189. with Bitmap.LockBits for better performance. Revised the whole file to
  21190. match MS.NET behaviour and provide better performance. Non-public
  21191. interface members are calling public members even when they throw
  21192. NotSupportedException for better maintainability. Moved ColorDepth,
  21193. ImageSize, ImageStream and TransparentColor implementations to
  21194. ImageCollection for better performance as these properties are not used
  21195. by ImageList.
  21196. * ImageListStreamer.cs: Added a new internal constructor that takes an
  21197. ImageList.ImageCollection and serializes Images based on
  21198. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  21199. match ImageList property name.
  21200. 2005-09-28 Kazuki Oikawa <[email protected]>
  21201. * ListBox.cs: Fixes IndexFromPoint for last item
  21202. 2005-09-27 Jackson Harper <[email protected]>
  21203. * Form.cs: Set the position of new mdi children correctly.
  21204. 2005-09-27 Jackson Harper <[email protected]>
  21205. * MdiClient.cs: New mdi children need to be added to the back of
  21206. the controls collection so the zorder is set correctly. Also add a
  21207. count of all the child windows that have been created.
  21208. 2005-09-27 Jackson Harper <[email protected]>
  21209. * Form.cs (CreateParams): Setup MDI forms correctly.
  21210. 2005-09-27 Jackson Harper <[email protected]>
  21211. * MdiChildContext.cs:
  21212. * MonthCalendar.cs:
  21213. * UpDownBase.cs:
  21214. * ListBox.cs:
  21215. * ListView.cs:
  21216. * TextBoxBase.cs:
  21217. * TreeView.cs:
  21218. * ScrollableControl.cs:
  21219. * ComboBox.cs: Add implicit controls using the new implict control
  21220. functionality in ControlCollection. Also try to block multiple
  21221. control add in a suspend/resume layout to save some cycles.
  21222. 2005-09-27 Jackson Harper <[email protected]>
  21223. * Control.cs: Add functionality to the controls collection to add
  21224. 'implicit controls' these are controls that are created by the
  21225. containing control but should not be exposed to the user. Such as
  21226. scrollbars in the treeview.
  21227. * Form.cs: The list var of the ControlsCollection is no longer
  21228. available because of the potential of implicit controls getting
  21229. ignored by someone accessing the list directly.
  21230. 2005-09-26 Peter Dennis Bartok <[email protected]>
  21231. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  21232. loose it's parent. (Fixed bug introduced in r49103 when we added
  21233. setting the child parent to null on Remove)
  21234. 2005-09-26 Gert Driesen <[email protected]>
  21235. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  21236. * Splitter.cs: Added missing attributes for BorderStyle property.
  21237. * TextBoxBase.cs: Marked Calculate* methods internal.
  21238. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  21239. MS.NET.
  21240. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  21241. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  21242. 2005-09-25 Jackson Harper <[email protected]>
  21243. * TreeView.cs: Update the node bounds correctly regardless of
  21244. whether the node is visible.
  21245. 2005-09-25 Jackson Harper <[email protected]>
  21246. * ImageList.cs: Don't dispose the image after it is added to the
  21247. image list. Only reformat images that need to be resized.
  21248. 2005-09-25 Jackson Harper <[email protected]>
  21249. * ImageList.cs: Don't set the format when changing the image.
  21250. 2005-09-25 Jackson Harper <[email protected]>
  21251. * TreeView.cs: We can't just assume the node has a font. Use the
  21252. treeviews font if no node font is available.
  21253. 2005-09-25 Jackson Harper <[email protected]>
  21254. * TreeView.cs: Allow the scrollbars to be reset with negative
  21255. values.
  21256. - Don't add scrollbars to negative sized windows.
  21257. 2005-09-23 Jackson Harper <[email protected]>
  21258. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  21259. old Mono.Posix. Also remove some stray code that shouldn't have
  21260. been committed.
  21261. 2005-09-23 Jackson Harper <[email protected]>
  21262. * TreeView.cs: Attempt at proper sizing of the horizontal
  21263. scrollbar. Also don't resize the scrollbars unless they are
  21264. visible.
  21265. 2005-09-23 Jackson Harper <[email protected]>
  21266. * TreeView.cs: We don't need to expand the invalid area when the
  21267. selection changes, as this is all drawn in the node's bounding
  21268. box. The area needs to be expanded (previous typo was contracting
  21269. it) when the focus rect moves.
  21270. 2005-09-23 Jackson Harper <[email protected]>
  21271. * TreeView.cs: Display the selection box under the correct
  21272. circumstances. We were rendering white text with no selection box
  21273. before.
  21274. 2005-09-23 Peter Dennis Bartok <[email protected]>
  21275. * TextControl.cs(Split): Now updates selection start/end if it points
  21276. into a line that's being split. Fixes a FIXME and bug #75258
  21277. 2005-09-23 Jackson Harper <[email protected]>
  21278. * Binding.cs:
  21279. * ListControl.cs: Don't use the path when retrieving binding
  21280. managers from the binding context. My bat sense tells me that the
  21281. path is only used on insertion.
  21282. 2005-09-22 Jackson Harper <[email protected]>
  21283. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  21284. 2005-09-22 Jackson Harper <[email protected]>
  21285. * Splitter.cs: There are special cursors used for splitting.
  21286. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  21287. 2005-09-22 Jackson Harper <[email protected]>
  21288. * Splitter.cs: Change the cursor appropriately when the splitter
  21289. is moused over, so the user actually knows there is a splitter
  21290. there.
  21291. 2005-09-22 Hisham Mardam Bey <[email protected]>
  21292. * Label.cs : Fix ToString method to give same output as MS.NET
  21293. 2005-09-22 Jackson Harper <[email protected]>
  21294. * TreeView.cs: Create the scrollbars when the handle is created
  21295. and add them right away, just make them invisble. Also account for
  21296. the window being shrunk vertically to the point that the vert
  21297. scrollbar needs to be added.
  21298. - Remove some 0.5 adjustments to get around anti aliasing issues.
  21299. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  21300. * MainMenu.cs: Fixes default value
  21301. * MenuItem.cs: Fixes default value
  21302. 2005-09-22 Kazuki Oikawa <[email protected]>
  21303. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  21304. 2005-09-21 Jackson Harper <[email protected]>
  21305. * Control.cs: Don't try to set the border style on the window if
  21306. it hasn't been created. When the window is created the border
  21307. style will be used.
  21308. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21309. * Control.cs (Update): Don't call XplatUI if we don't have a
  21310. window handle yet
  21311. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21312. * ContainerControl.cs: Instead of throwing an exception, print
  21313. a one-time warning about Validate not being implemented
  21314. * XplatUIWin32.cs: Removed debug output
  21315. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21316. * Control.cs: Only set XplatUI background if we expect the windowing
  21317. system to handle the background. This stops controls that draw their
  21318. own background from flickering
  21319. * XplatUIX11.cs: Support custom visuals and colormaps for window
  21320. creation. This allows, amongst other things, using MWF X11 windows
  21321. with OpenGL.
  21322. 2005-09-21 Peter Dennis Bartok <[email protected]>
  21323. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  21324. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  21325. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  21326. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  21327. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  21328. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  21329. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  21330. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  21331. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  21332. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  21333. GridColumnStylesCollection.cs,
  21334. IDataGridColumnStyleEditingNotificationService.cs,
  21335. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  21336. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  21337. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  21338. TreeNodeCollection.cs, AmbientProperties.cs,
  21339. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  21340. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  21341. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  21342. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  21343. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  21344. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  21345. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  21346. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  21347. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  21348. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  21349. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  21350. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  21351. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  21352. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  21353. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  21354. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  21355. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  21356. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  21357. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  21358. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  21359. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  21360. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  21361. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  21362. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  21363. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  21364. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  21365. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  21366. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  21367. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  21368. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  21369. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  21370. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  21371. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  21372. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  21373. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  21374. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  21375. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  21376. 2005-09-21 Jackson Harper <[email protected]>
  21377. * TreeNode.cs: Call Before/After Expand not Collapse when
  21378. expanding.
  21379. 2005-09-20 Jackson Harper <[email protected]>
  21380. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  21381. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  21382. * ListViewItem.cs:
  21383. - Fixes bug 76120
  21384. - Fixes proper storing of subitems
  21385. - Fixes not updated items
  21386. 2005-09-20 Peter Dennis Bartok <[email protected]>
  21387. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  21388. things if our window handle isn't created yet. Also disabled
  21389. debug for TextBoxBase
  21390. 2005-09-20 Peter Dennis Bartok <[email protected]>
  21391. * MenuAPI.cs: Remove filtering of events to allow menu usage
  21392. 2005-09-20 Miguel de Icaza <[email protected]>
  21393. * Cursor.cs: Allow null to be passed to Cursor.Current.
  21394. 2005-09-20 Alexander Olk <[email protected]>
  21395. * ThemeWin32Classic.cs:
  21396. - Change some private methods/fields to protected virtual so that
  21397. they can be accessed and overriden in derived classes
  21398. - First refactoring of some methods. Derived themes now don't
  21399. need to duplicate the complete code from ThemeWin32Classic
  21400. * ThemeNice.cs:
  21401. - Added nice StatusBar
  21402. - Derive from ThemeWin32Classic and not Theme
  21403. - Removed duplicate ThemeWin32Classic code
  21404. 2005-09-20 Miguel de Icaza <[email protected]>
  21405. * Control.cs (ControlCollection.Add): If the value null is passed
  21406. the control is ignored.
  21407. Optimize this loop.
  21408. 2005-09-19 Peter Dennis Bartok <[email protected]>
  21409. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  21410. PostQuitMessage state.
  21411. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  21412. 2005-09-19 Peter Dennis Bartok <[email protected]>
  21413. * Application.cs: Our constructor will never get called, move
  21414. initialization to fields; fixes bug #75933
  21415. 2005-09-19 Hisham Mardam Bey <[email protected]>
  21416. * FileDialog.cs :
  21417. - Allow files to be selected properly using file name
  21418. combo box.
  21419. - Add ability to change diretory (absolute / relative)
  21420. using file name combo box.
  21421. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  21422. * ListBox.cs:
  21423. - Fixes Multicolumn listboxes item wrong calculations
  21424. - Allows to click when only one item is in the listbox
  21425. - Fixes crash when no items using keyboard navigation
  21426. 2005-09-16 Alexander Olk <[email protected]>
  21427. * ComboBox.cs: Reverted almost everything from the latest patch which
  21428. broke ComboBox
  21429. 2005-09-16 Kazuki Oikawa <[email protected]>
  21430. * ToolTip.cs:
  21431. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  21432. * ComboBox.cs:
  21433. - When DropDownStyle is Simple, it does not show scrollbar
  21434. to the last item of the list.
  21435. - When DropDownStyle is Simple, it crashed when the list was
  21436. scrolled down with the down cursor key.
  21437. - Fixed a bug that when DropDownStyle is DropDownList, the
  21438. selected item was not shown.
  21439. - The position of the selected item was not preserved when
  21440. the next dropdown happened.
  21441. * ThemeWin32Classic.cs:
  21442. - Items were wrapped at the right end.
  21443. * CheckedListBox.cs:
  21444. - Fixed Add method
  21445. * ListBox.cs:
  21446. - Items should be fully shown.
  21447. - When resizing and vertical scrollbar disappeared, the item
  21448. of index 0 should be on the top of the list.
  21449. - GetItemRectangle should consider the size of ver. scrollbar
  21450. * StatusBar.cs:
  21451. - SizingGrip area should not be allocated when it is not
  21452. displayed.
  21453. - Now it reflects MinWidth of the containing panel and
  21454. fixed a crash that happens when its width becomes so small.
  21455. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  21456. * CheckedListBox.cs: Fixes bug 76028
  21457. * ListBox.cs: Fixes bug 76028
  21458. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  21459. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  21460. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  21461. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  21462. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  21463. 2005-09-09 Jonathan Chambers <[email protected]>
  21464. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  21465. 2005-09-09 Jonathan Chambers <[email protected]>
  21466. * IRootGridEntry.cs: Added
  21467. * PropertyGridCommands.cs: Added
  21468. * PropertiesTab.cs: Added missing methods and property
  21469. * PropertyGridView.cs: Made class internal
  21470. * PropertyGridTextBox.cs: Made class internal
  21471. 2005-09-09 Alexander Olk <[email protected]>
  21472. * MimeIcon.cs: Try to check some other environment variables
  21473. if "DESKTOP_SESSION" returns "default"
  21474. 2005-09-09 Alexander Olk <[email protected]>
  21475. * ThemeNice.cs: Corrected background colors (e.g. menus)
  21476. * ColorDialog.cs: Use correct background colors for controls
  21477. 2005-09-09 Alexander Olk <[email protected]>
  21478. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  21479. 2005-09-08 Peter Dennis Bartok <[email protected]>
  21480. * RichTextBox.cs: Added initial implementation
  21481. * lang.cs: Removed. Was accidentally checked in long time ago
  21482. * TODO: Removed. Contents were obsolete
  21483. 2005-09-06 Jonathan Chambers <[email protected]>
  21484. * PropertiesTab.cs : Added
  21485. 2005-09-06 Jonathan Chambers <[email protected]>
  21486. * PropertyGrid.cs : Update
  21487. * PropertyGridView.cs : Update
  21488. * System.Windows.Forms.resx : Added images and strings
  21489. 2005-09-06 Peter Dennis Bartok <[email protected]>
  21490. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  21491. 2005-09-06 Peter Dennis Bartok <[email protected]>
  21492. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  21493. a busy loop right after the Ungrab the X11 display is otherwise
  21494. blocked
  21495. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  21496. * ThemeWin32Classic.cs: Optimise the use of clipping
  21497. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  21498. * DataGrid.cs: fixes recursion bug
  21499. 2005-09-03 Alexander Olk <[email protected]>
  21500. * ThemeNice.cs:
  21501. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  21502. - Cleanup
  21503. 2005-09-02 Alexander Olk <[email protected]>
  21504. * ThemeNice.cs: Draw nice ProgressBars
  21505. 2005-09-01 Miguel de Icaza <[email protected]>
  21506. * VScrollBar.cs: Another buglet found by Aaron's tool.
  21507. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  21508. bug finder.
  21509. 2005-08-30 Alexander Olk <[email protected]>
  21510. * ThemeNice.cs:
  21511. - Added nicer menu drawing
  21512. - Updated DrawTab
  21513. - some refactoring
  21514. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21515. * CreateParams.cs (ToString): Made output match MS
  21516. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  21517. handle is already created (to avoid forcing window creation)
  21518. * XplatUIX11.cs: Set window text to caption after creating window,
  21519. in case Text was set before window was created
  21520. * Form.cs: Use this.Text instead of a static string as caption
  21521. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21522. * NotifyIcon.cs: Don't set the window to visible; this screws
  21523. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  21524. OnPaint without a bitmap)
  21525. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  21526. happen very often anyway; we could add the check to the WM_PAINT
  21527. event generation code
  21528. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21529. * NotifyIcon.cs: Fill the icon area with a background color, to
  21530. avoid 'residue' when transparent icons are drawn
  21531. * XplatUIX11.cs:
  21532. - Handle whole_window == client_window when destroying windows
  21533. - SystrayAdd(): Set client_window to whole_window value to
  21534. get mouse and other events passed to NotifyIcon
  21535. 2005-08-30 Peter Dennis Bartok <[email protected]>
  21536. * Form.cs: Set proper default for Opacity property
  21537. * NotifyIcon.cs:
  21538. - ShowSystray(): Don't bother creating telling the OS
  21539. about the systray item if no icon is provided
  21540. - Now handles WM_NCPAINT message to deal with whole/client window
  21541. split
  21542. - Create window as visible to not get caught by Expose optimization
  21543. * Hwnd.cs: Removed debug message
  21544. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  21545. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  21546. PaintEventStart/End to use new client argument
  21547. * TextBoxBase.cs:
  21548. - Commented out debug messages
  21549. - Switched PaintEventStart/End to use new client argument
  21550. * XplatUI.cs: Added client window bool to PaintEventStart()/
  21551. PaintEventEnd() calls, to support drawing in non-client areas
  21552. * XplatUIDriver.cs:
  21553. - Added client window bool to PaintEventStart()/PaintEventEnd()
  21554. calls, to support drawing in non-client areas
  21555. - Added conditional compile to allow using MWF BeginInvoke
  21556. on MS runtime
  21557. * XplatUIX11.cs:
  21558. - Added some conditional debug output
  21559. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  21560. whole/client window split
  21561. - Implemented handling of client argument to PaintEventStart()/End()
  21562. * Control.cs:
  21563. - Throw exception if BeginInvoke() is called and the window handle
  21564. or one of the window's parent handles is not created
  21565. - Added conditional compile to allow using MWF BeginInvoke on
  21566. MS runtime
  21567. - get_Parent(): Only sets parent if handle is created. This avoids
  21568. forcing window handle creation when parent is set.
  21569. - Now fires Layout and Parent changed events in proper order
  21570. - Switched to use Handle instead of window.Handle for Z-Order setting,
  21571. the get_Parent() patch above causes us to possibly get null for 'window'
  21572. - Implemented handling of client argument to PaintEventStart()/End()
  21573. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  21574. default handling)
  21575. - Now sends a Refresh() to all child windows when Refresh() is called
  21576. 2005-08-29 Peter Dennis Bartok <[email protected]>
  21577. * Form.cs: Added (non-functional) Opacity property
  21578. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  21579. 2005-08-29 Alexander Olk <[email protected]>
  21580. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  21581. use export MONO_THEME=nice to activate it.
  21582. Currently supported controls:
  21583. - Button
  21584. - ComboBox
  21585. - ScrollBar
  21586. - TabControl (TabAlignment.Top only, other will follow)
  21587. * ThemeEngine.cs: Add theme nice
  21588. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  21589. if enabled
  21590. 2005-08-25 Jonathan Chambers <[email protected]>
  21591. * Splitter.cs: Resize docked control and its neighbor.
  21592. 2005-08-24 Rafael Teixeira <[email protected]>
  21593. -- Making Windows with Menus layout correctly --
  21594. * Form.cs : The first leg of the fix
  21595. Menu setter - adjust Client Size as needed to make space for the menu
  21596. SetClientSizeCore - doesn't call base version to be able to pass the
  21597. menu handle to XplatUI.CalculateWindowRect
  21598. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  21599. * XplatUIX11.cs: The critical second leg of the fix
  21600. GetWindowPos needs to use a recalculated client_rect
  21601. so that resizing the window doesn't break layout of child controls.
  21602. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  21603. Lots of \t\n killed
  21604. 2005-08-23 Peter Dennis Bartok <[email protected]>
  21605. * Label.cs: Now properly recalculates width and height on Font and Text
  21606. changes if AutoSize is set
  21607. 2005-08-19 Rafael Teixeira <[email protected]>
  21608. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  21609. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  21610. * ImageList.cs: Makes ToString method compatible with MS
  21611. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  21612. * MenuAPI.cs: fixes bug 75716
  21613. 2005-08-11 Umadevi S <[email protected]>
  21614. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  21615. 2005-08-11 Umadevi S <[email protected]>
  21616. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  21617. 2005-08-10 Umadevi S <[email protected]>
  21618. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  21619. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  21620. * Menu.cs: fixes bug 75700
  21621. * MenuAPI.cs: fixes navigation issues
  21622. 2005-08-09 Umadevi S <[email protected]>
  21623. * CheckedListBox.cs - simple fix for GetItemChecked.
  21624. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  21625. * ComboBox.cs: Serveral fixes
  21626. * ListBox.cs: Serveral fixes
  21627. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  21628. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  21629. * ListBox.cs: Fixes FindString methods
  21630. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  21631. * DataGrid.cs: fixes bugs exposed by new tests
  21632. 2005-08-04 Peter Dennis Bartok <[email protected]>
  21633. * Mime.cs: Compile Mono assembly references only if compiling
  21634. with Mono (Allows to build with VS.Net again)
  21635. 2005-07-28 Marek Safar <[email protected]>
  21636. * Control.cs (PaintControlBackground): Draw background image
  21637. corrrectly.
  21638. (CheckForIllegalCrossThreadCalls): Stubbed.
  21639. * Form.cs (OnCreateControl): Center when should be centered.
  21640. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  21641. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  21642. * Binding.cs: Binding to properties should be case unsensitive
  21643. 2005-07-18 [email protected]
  21644. * DataGrid.cs: fixes setmember order
  21645. 2005-07-07 Alexander Olk <[email protected]>
  21646. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  21647. * FileDialog.cs: FileDialog is now resizable and uses the new
  21648. MimeIconEngine
  21649. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  21650. * DataGridTextBoxColumn.cs: default value
  21651. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  21652. * GridTableStylesCollection.cs: fixes checking MappingName
  21653. * DataGridDrawingLogic.cs: fixes drawing logic issues
  21654. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  21655. * DataGrid.cs: fixes
  21656. 2005-07-06 Alexander Olk <[email protected]>
  21657. * MimeGenerated.cs: Use case sensitive comparer for
  21658. NameValueCollections
  21659. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  21660. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  21661. * ThemeWin32Classic.cs: bug fixes, code refactoring
  21662. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  21663. * DataGrid.cs: bug fixes, code refactoring
  21664. * DataGridTextBox.cs: bug fixes, code refactoring
  21665. * DataGridColumnStyle.cs: bug fixes, code refactoring
  21666. * Theme.cs: bug fixes, code refactoring
  21667. 2005-07-01 Peter Bartok <[email protected]>
  21668. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  21669. and other text box usage
  21670. 2005-07-01 Jackson Harper <[email protected]>
  21671. * TabControl.cs: Make sure the bottom of the tab covers the pages
  21672. border.
  21673. 2005-06-30 Peter Bartok <[email protected]>
  21674. * Form.cs (ShowDialog): Assign owner of the dialog
  21675. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  21676. might have been moved to a tag with different height
  21677. 2005-06-30 Jackson Harper <[email protected]>
  21678. * Form.cs: Don't create an infinite loop when setting focus
  21679. * MenuItem.cs: Don't dirty the parents if we don't have any
  21680. 2005-06-29 Ben Maurer <[email protected]>
  21681. * LibSupport.cs: Rename
  21682. 2005-06-29 Peter Bartok <[email protected]>
  21683. * TextBoxBase.cs: Re-align caret after deleting a character
  21684. * TextControl.cs:
  21685. - DeleteChars(): Ensure that tag covers the provided position
  21686. - StreamLine(): Drop reference for dropped tag
  21687. 2005-06-29 Peter Bartok <[email protected]>
  21688. * TextControl.cs:
  21689. - Selections now work properly, anchoring at the initial location
  21690. and properly extending in either direction (SetSelectionToCaret(),
  21691. SetSelectionStart() and SetSelectionEnd())
  21692. - No longer redraws the whole control on selection change, now
  21693. calculates delta between previous and new selection and only
  21694. invalidates/redraws that area
  21695. - Fixed FindPos() math off-by-one errors
  21696. - Changed DeleteChars() to verify the provided tag covers the
  21697. provided position, selections may have a tag that doesn't cover
  21698. the position if the selection is at a tag border
  21699. - Fixed off-by-one errors in DeleteChars()
  21700. - Added missing streamlining check in DeleteChars() to remove
  21701. zero-length tags
  21702. - Implemented Invalidate() method, now properly calculates exposures
  21703. between two given lines/positions
  21704. - Implemented SetSelection()
  21705. - Obsoleted and removed FixupSelection()
  21706. - Improved RecalculateDocument() logic, removing code duplication
  21707. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  21708. * LibSupport.cs: changes to match different input/output arguments.
  21709. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  21710. * LibSupport.cs: added libsupport.so init routine.
  21711. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  21712. * ControlBindingsCollection.cs
  21713. - Throws an exception on null datasource when adding
  21714. - Checks for duplicated bindings when adding
  21715. 2005-06-28 Jackson Harper <[email protected]>
  21716. * TreeView.cs (OnKeyDown): Support left and right properly
  21717. (navigates as well as expanding and collapsing.
  21718. - Add support for Multiply, this expands all the selected nodes
  21719. children.
  21720. - Fix some tabbing.
  21721. 2005-06-28 Jackson Harper <[email protected]>
  21722. * TreeView.cs: Implement keyboard navigation, currently supports,
  21723. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  21724. support for toggling checkboxes with the space bar.
  21725. 2005-06-28 Jackson Harper <[email protected]>
  21726. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  21727. tree.
  21728. 2005-06-28 Jackson Harper <[email protected]>
  21729. * TreeView.cs: Add missing event.
  21730. 2005-06-27 Peter Bartok <[email protected]>
  21731. * TextControl.cs:
  21732. - Made line ending size configurable (now allows for counting
  21733. lineendings as \n or \r\n)
  21734. - Added margin to viewport to keep caret visible on right side
  21735. - Fixed translation routines for line/pos to documentpos to consider
  21736. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  21737. - Fixed some line-endings to be unix style
  21738. - Fixed Document.FormatText to perform it's calculations 1-based
  21739. - Added descriptions for a few methods that might otherwise get
  21740. used wrong
  21741. - Added NOTE section with some basic conventions to remember at
  21742. the top of the file
  21743. - Major fixup for RichTextBox selection drawing:
  21744. * Fixed crashes when multiple tags on a single line were selected
  21745. * fixed selection box drawing not overlaying text
  21746. * fixed bogus offset calculation for tags not starting at index 1
  21747. * Switched behaviour from using multiple Substrings of a
  21748. StringBuilder.ToString() to using multiple
  21749. StringBuilder.ToString(start, length) statements, hoping this is
  21750. faster (kept original version commented out in the code, in case
  21751. original version was faster)
  21752. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  21753. alignment != Left
  21754. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  21755. call it as well
  21756. 2005-06-27 Jackson Harper <[email protected]>
  21757. * TabControl.cs: Move to the left and right with the arrow
  21758. keys. These keys don't cycle beyond first and last like
  21759. tab. Refresh all the tabs when scrolling them to the left or
  21760. right.
  21761. 2005-06-27 Jackson Harper <[email protected]>
  21762. * TabControl.cs:
  21763. - ToString: Added method
  21764. - CreateParams: Remove TODO and comment
  21765. - OnKeyDown: Cycle through bounds properly.
  21766. - SelectedIndex: Scroll to the right or left if we need to
  21767. display the newly selected tab.
  21768. 2005-06-23 Jackson Harper <[email protected]>
  21769. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  21770. set.
  21771. 2005-06-23 Jackson Harper <[email protected]>
  21772. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  21773. CTRL-SHIFT-TAB, and HOME, END are there any others?
  21774. 2005-06-23 Jackson Harper <[email protected]>
  21775. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  21776. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  21777. * DataGridTextBoxColumn.cs: fixes and enhancements
  21778. * ThemeWin32Classic.cs: fixes and enhancements
  21779. * DataGridBoolColumn.cs: fixes and enhancements
  21780. * DataGridDrawingLogic.cs: fixes and enhancements
  21781. * CurrencyManager.cs: fixes and enhancements
  21782. * DataGrid.cs: fixes and enhancements
  21783. * DataGridColumnStyle.cs: fixes and enhancements
  21784. 2005-06-22 Jackson Harper <[email protected]>
  21785. * TabControl.cs: Add some missing methods that just call into the
  21786. base. Make the TabPageCollection's IList interface behave in the
  21787. same manner as the MS implementation.
  21788. 2005-06-22 Peter Bartok <[email protected]>
  21789. * TextControl.cs: Added sanity check
  21790. * TextBoxBase.cs:
  21791. - Fixed wrapping behaviour, don't set wrap on single line controls
  21792. (this fixes the breakage of colordialog introduced in an earlier
  21793. checkin)
  21794. - Added rudimentary support for autoscrolling right-aligned controls
  21795. (still needs fixing, also, center alignment scroll is missing)
  21796. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  21797. * ScrollBar.cs: Fixes thumbpos on Maximum values
  21798. 2005-06-21 Jonathan Chambers <[email protected]>
  21799. * PropertyGridView.cs: Pass context information to UITypeEditors
  21800. 2005-06-21 Peter Bartok <[email protected]>
  21801. * TextBoxBase.cs:
  21802. - Now calling PositionCaret with absolute space coordinates
  21803. - Enabled vertical scrolling
  21804. - Better tracking of scrollbar changes, tied into WidthChange
  21805. event
  21806. - Improved cursor tracking
  21807. - Removed debug output
  21808. * TextControl.cs:
  21809. - PositionCaret coordinates are now works in absolute space, not
  21810. the canvas
  21811. - Improved tracking of document size
  21812. - Added events for width and height changes
  21813. 2005-06-21 Peter Bartok <[email protected]>
  21814. * Form.cs: Set focus to active control when form is activated
  21815. * TextControl.cs:
  21816. - Added word-wrap functionality to RecalculateLine()
  21817. - Added some short function descriptions for VS.Net to aid in
  21818. writing dependent controls
  21819. - Added Caret property, returning the current coords of the caret
  21820. - Added ViewPortWidth and ViewPortHeight properties
  21821. - Added Wrap property
  21822. - Added CaretMoved event
  21823. - Removed some old debug code
  21824. - Split() can now create soft splits
  21825. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  21826. - Added method to format existing text
  21827. - Fixed size/alignment calculations to use viewport
  21828. - RecalculateDocument now can handle changing line-numbers while
  21829. calculating lines
  21830. * TextBox.cs:
  21831. - Added some wrap logic, we don't wrap if alignment is not left
  21832. - Added casts for scrollbar var, base class switched types to
  21833. also support RichTextBoxA
  21834. - Implemented handling of scrollbar visibility flags
  21835. * TextBoxBase.cs:
  21836. - Switched scrollbars type to RichTextBoxScrollBars to support
  21837. RichTextBox
  21838. - Added tracking of canvas width/height
  21839. - Switched scrollbars to be not selectable (to keep focus on text)
  21840. - Added central CalculateDocument() method to handle all redraw
  21841. requirements
  21842. - Added ReadOnly support
  21843. - Added WordWrap support
  21844. - Fixed handling of Enter key (we now treat it as a DialogKey)
  21845. - Fixed caret positioning when h or v scroll is not zero
  21846. - Fixed placing/generation of vertical scrollbar
  21847. - Added CalculateScrollBars() method to allow updating scrollbar
  21848. limits and visibility
  21849. - Fixed handling of horizontal scroll
  21850. - Added handling of vertical scroll
  21851. - Implemented auto-'jump' when caret moves to close to a left or
  21852. right border and there is text to be scrolled into view (currently
  21853. there's the potential for a stack overflow, until a bug in
  21854. scrollbar is fixed)
  21855. 2005-06-21 Geoff Norton <[email protected]>
  21856. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  21857. 2005-06-19 Alexander Olk <[email protected]>
  21858. * Mime.cs:
  21859. - added inodes.
  21860. - return application/x-zerosize for files with size zero
  21861. (if no extension pattern matches).
  21862. - check matches collection for strings too.
  21863. - return only the first mime type if the name value
  21864. collection has more than one mime type.
  21865. 2005-06-18 Jonathan Chambers <[email protected]>
  21866. * PropertyGrid.cs: Cleaned up some TODOs
  21867. * PropertyGridView.cs: Added support for UITypeEditors
  21868. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  21869. * DataGrid.cs: clears cached value
  21870. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  21871. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  21872. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  21873. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  21874. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  21875. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  21876. * ThemeWin32Classic.cs: fixes colour
  21877. 2005-06-15 Peter Bartok <[email protected]>
  21878. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  21879. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  21880. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  21881. * Control.cs: Added some MWFCategory and MWFDescription attributes
  21882. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  21883. 2005-06-15 Alexander Olk <[email protected]>
  21884. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  21885. usage
  21886. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  21887. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  21888. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  21889. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  21890. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  21891. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  21892. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  21893. 2005-06-13 Jackson Harper <[email protected]>
  21894. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  21895. isn't printed when the user enables dropping. (X11 does accept
  21896. drops).
  21897. 2005-06-13 Jackson Harper <[email protected]>
  21898. * TreeView.cs: Remove some TODOS.
  21899. 2005-06-13 Jackson Harper <[email protected]>
  21900. * Form.cs: Hook into the mdi framework.
  21901. * MdiClient.cs: Use the base control collections add method so
  21902. parents get setup correctly. Set the default back colour and dock
  21903. style.
  21904. * MdiChildContext.cs: New class, this bad actor handles an
  21905. instance of an MDI window. Right now there is only basic
  21906. support. You can drag, close, and resize windows. Minimize and
  21907. Maximize are partially implemented.
  21908. 2005-06-13 Jackson Harper <[email protected]>
  21909. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  21910. freaky when both vals are negative. NOTE: There are probably other
  21911. places in XplatUIX11 that this needs to be done.
  21912. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  21913. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  21914. * DataGridColumnStyle.cs: fixes signature
  21915. 2005-06-12 Jackson Harper <[email protected]>
  21916. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  21917. windows.
  21918. 2005-06-11 Jackson Harper <[email protected]>
  21919. * StatusBarPanel.cs: Signature cleanups. Implement
  21920. BeginInit/EndInit.
  21921. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  21922. * DataGridTextBoxColumn.cs: Honors aligment
  21923. * GridColumnStylesCollection.cs: Contains is case unsensitive
  21924. * GridTableStylesCollection.cs: several fixes
  21925. * DataGridTableStyle.cs: default column creation
  21926. * DataGridDrawingLogic.cs: fixes
  21927. * CurrencyManager.cs: ListName property
  21928. * DataGrid.cs: multiple styles support
  21929. * DataGridColumnStyle.cs: fixes
  21930. 2005-06-10 Peter Bartok <[email protected]>
  21931. * Control.cs(Select): Moved SetFocus call to avoid potential
  21932. loops if controls change the active control when getting focus
  21933. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  21934. the up/down buttons
  21935. 2005-06-10 Matthias Felgner <[email protected]>
  21936. * ImageListConverter.cs: Implemented
  21937. 2005-06-10 John BouAntoun <[email protected]>
  21938. * MonthCalendar.cs: Wired in NumericUpDown control for year
  21939. 2005-06-10 John BouAntoun <[email protected]>
  21940. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  21941. DoubleClick events, since they are not meant to be fired.
  21942. 2005-06-09 Peter Bartok <[email protected]>
  21943. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  21944. Jonathan's standalone controls into MWF, implemented missing
  21945. events, attributes and methods; added xxxAccessible classes
  21946. * AccessibleObject.cs: Made fields internal so other classes
  21947. can change them if needed
  21948. 2005-06-09 Jonathan Gilbert <[email protected]>
  21949. * UpDownBase.cs: Complete implementation
  21950. * NumericUpDown.cs: Complete implementation
  21951. * DomainUpDown.cs: Complete implementation
  21952. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  21953. * DataGridTextBoxColumn.cs: drawing fixes
  21954. * DataGridCell.cs: fixes ToString method to match MSNet
  21955. * DataGridTableStyle.cs: fixes
  21956. * DataGridBoolColumn.cs: fixes, drawing
  21957. * DataGridDrawingLogic.cs: fixes, new methods
  21958. * DataGridTextBox.cs: Keyboard and fixes
  21959. * DataGrid.cs:
  21960. - Keyboard navigation
  21961. - Scrolling fixes
  21962. - Row selection (single, multiple, deletion, etc)
  21963. - Lots of fixes
  21964. 2005-06-07 Jackson Harper <[email protected]>
  21965. * ThemeWin32Classic.cs: Clear the background area when drawing
  21966. buttons.
  21967. 2005-06-06 Peter Bartok <[email protected]>
  21968. * ImageListStreamer.cs: Fixed signature for GetData
  21969. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  21970. * ComboBox.cs:
  21971. - Added missing ChildAccessibleObject class
  21972. - Added missing OnXXXFocus overrides, switched to using those
  21973. instead of the event handler
  21974. * Control.cs:
  21975. - Added Parent property for ControlAccessibleObject
  21976. - Fixed signatures
  21977. - Fixed attributes
  21978. - Added ResetBindings()
  21979. * ListBindingConverter.cs: Implemented some methods
  21980. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  21981. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  21982. * ContainerControl.cs: Fixed signature, now subscribing to the
  21983. ControlRemoved event instead of overriding the handler, LAMESPEC
  21984. * CurrencyManager.cs: Added missing attribute
  21985. * MonthCalendar.cs: Added missing properties
  21986. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  21987. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  21988. 2005-06-06 Gaurav Vaish and Ankit Jain
  21989. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  21990. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  21991. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  21992. * Control.cs: fixes CreateParams Width / Height.
  21993. 2005-06-05 Peter Bartok <[email protected]>
  21994. * Win32DnD.cs: Removed compilation warnings
  21995. 2005-06-05 Peter Bartok <[email protected]>
  21996. * Control.cs (CreateParams): Since we don't know if one of the
  21997. properties we use is overridden, lets make sure if we fail accessing
  21998. we continue with a backup plan
  21999. 2005-06-05 Peter Bartok <[email protected]>
  22000. * Win32DnD.cs:
  22001. - Removed debug output
  22002. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  22003. struct
  22004. - Plugged resource leak
  22005. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  22006. MS size
  22007. 2005-06-05 Peter Bartok <[email protected]>
  22008. * XplatUIWin32.cs: Removed DnD code
  22009. * Win32DnD.cs: Implemented drop source and drop target functionality
  22010. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  22011. * UpDownBase.cs: remove duplicate addition of event, enable some code
  22012. that was commented out.
  22013. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  22014. Validate input when a key is pressed. It works fine now for every
  22015. combination of Hexadecimal. Only missing some drawing love when sharing
  22016. space with other controls.
  22017. 2005-06-04 Peter Bartok <[email protected]>
  22018. * Control.cs:
  22019. - We need to pass a window for DragDrop, so enable callback events
  22020. - Added DnD callback events when being a DragSource
  22021. * XplatUI.cs (StartDrag): Added window handle argument
  22022. * XplatUIDriver.cs (StartDrag): Added window handle argument
  22023. * QueryContinueDragEventArgs: Made fields internally accessible so
  22024. drivers can set them
  22025. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  22026. can set them
  22027. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  22028. * DataGridTextBoxColumn.cs: column text editing
  22029. * DataGridTableStyle.cs: Respect columns styles created by the user
  22030. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  22031. * DataGridBoolColumn.cs: bool column editing
  22032. * DataGrid.cs: fixes to scrolling, properties, etc
  22033. * DataGridTextBox.cs: handle keyboard
  22034. * DataGridColumnStyle.cs: fixes
  22035. 2005-06-02 Jackson Harper <[email protected]>
  22036. * ImageListStreamer.cs: Somewhat broken implementation of
  22037. GetObjectData. The RLE needs some work to match MS properly.
  22038. 2005-06-02 Jackson Harper <[email protected]>
  22039. * X11Dnd.cs: Attempting to keep at least one file in MWF
  22040. monostyled.
  22041. 2005-06-02 Peter Bartok <[email protected]>
  22042. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  22043. that way
  22044. 2005-06-02 Peter Bartok <[email protected]>
  22045. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  22046. * XplatUI.cs: Added DoDragDrop() method
  22047. * XplatUIDriver.cs: Added DoDragDrop() method
  22048. 2005-06-02 Jackson Harper <[email protected]>
  22049. * Splitter.cs: Implement BorderStyle.
  22050. 2005-06-02 Jackson Harper <[email protected]>
  22051. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  22052. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  22053. X11 using XDND.
  22054. 2005-06-02 Peter Bartok <[email protected]>
  22055. * DataObject.cs:
  22056. - Added Data setter
  22057. - Fixed broken insertion code for SetData, now also
  22058. overwrites any existing entry of the same format name
  22059. * Hwnd.cs: Added list of pointers that automatically gets
  22060. freed when the window is disposed
  22061. * XplatUI.cs: Call driver initialization method when loading
  22062. a driver
  22063. * Control.cs:
  22064. - OnDragLeave takes EventArgs, not DragEventArgs
  22065. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  22066. supported
  22067. - Forces style update when drop state changes
  22068. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  22069. not perfect since we cannot (yet) call the IDataObject.GetData()
  22070. method, we keep getting 0x80004005 error, dunno why)
  22071. 2005-06-02 Peter Bartok <[email protected]>
  22072. * DragEventArgs.cs: Make fields internal so we can cache the
  22073. object and re-set the fields from XplatUI
  22074. 2005-06-02 Jackson Harper <[email protected]>
  22075. * Control.cs: Add some internal methods so the DnD subsystem can
  22076. raise DnD events. Also call into the driver when AllowDrop is set.
  22077. * XplatUI.cs:
  22078. * XplatUIDriver.cs: New method for setting whether or not a window
  22079. is allowed to accept drag and drop messages.
  22080. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  22081. * ScrollBar.cs: Make sure that values sent in Scroll events
  22082. are always between Maximum and Minimum.
  22083. 2005-06-01 Marek Safar <[email protected]>
  22084. * Menu.cs: Call MenuChanged when menuitem visibility has been
  22085. changed.
  22086. * MenuItem.cs: Rebuild menu when item is (not) visible.
  22087. * MainMenu.cs: MainMenu has special MenuChanged.
  22088. * Theme.cs: Caption and FrameBorderSize are not fixed.
  22089. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  22090. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  22091. * XplatUIX11.cs,
  22092. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  22093. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  22094. 2005-05-30 Jackson Harper <[email protected]>
  22095. * DataFormat.cs: We can't statically initialize this stuff because
  22096. it calls into the xplatui and could create a loop. So we lazy init
  22097. it.
  22098. 2005-05-28 Jackson Harper <[email protected]>
  22099. * Control.cs: Proper implementation of Product(Name/Version).
  22100. 2005-05-27 Jackson Harper <[email protected]>
  22101. * DataObject.cs: Dont crash if no data is found.
  22102. 2005-05-26 Rafael Teixeira <[email protected]>
  22103. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  22104. as per status page, guessing it should be set to true
  22105. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  22106. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  22107. * DataGridTableStyle.cs: set proper formatting text, def header text
  22108. * ThemeWin32Classic.cs: new themable paramaters
  22109. * DataGridBoolColumn.cs: paint check box, get data, fixes
  22110. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  22111. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  22112. * DataGridColumnStyle.cs: fixes
  22113. * Theme.cs: new themable paramaters
  22114. 2005-05-26 Peter Bartok <[email protected]>
  22115. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  22116. 2005-05-24 Jonathan S. Chambers <[email protected]>
  22117. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  22118. 2005-05-24 Peter Bartok <[email protected]>
  22119. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  22120. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  22121. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  22122. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  22123. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  22124. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  22125. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  22126. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  22127. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  22128. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  22129. missing attributes, etc
  22130. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  22131. 2005-05-24 Peter Bartok <[email protected]>
  22132. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  22133. when user tries to get help
  22134. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  22135. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  22136. to suppress warnings
  22137. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  22138. avoid unreachable code warning
  22139. 2005-05-20 Peter Bartok <[email protected]>
  22140. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  22141. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  22142. * DataGridTextBoxColumn.cs: Basic painting methods
  22143. * DataGridTableStyle.cs: Set table style in the column
  22144. * ThemeWin32Classic.cs: Use Theme for colors
  22145. * DataGridDrawingLogic.cs: Implement more drawing
  22146. * DataGrid.cs: drawing, theming, enhacements, fixes
  22147. * DataGridColumnStyle.cs: fixes, drawing
  22148. * Theme.cs: theming for Datagrid
  22149. 2005-05-20 Peter Bartok <[email protected]>
  22150. * Cursor.cs: Implemented GetObjectData() method
  22151. 2005-05-20 Peter Bartok <[email protected]>
  22152. * Cursors.cs: Added setting of cursor name
  22153. * Cursor.cs:
  22154. - Implemented constructors
  22155. - Implemented Draw and DrawStretched
  22156. - Implemented Current property
  22157. - Implemented == and != operators
  22158. - Implemented Dispose()
  22159. - Implemented ToString
  22160. - Added missing attributes
  22161. * XplatUIX11.cs:
  22162. - Added missing reset for OverrideCursor when DoEvents is called
  22163. - Fixed creation of cursor, logic was wrong
  22164. * XplatUIWin32.cs:
  22165. - Added missing reset for OverrideCursor when DoEvents is called
  22166. - Fixed creation of cursor, bit arrays were swapped
  22167. * Clipboard.cs: Removed obsolete MonoTODO attribute
  22168. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  22169. * ComboBox.cs: fixes OnSelectedItemChanged
  22170. * ControlBindingsCollection.cs: fixes item range check
  22171. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  22172. * UpDownBase.cs:
  22173. - Calc preferred height properly
  22174. - Implement missing properties
  22175. * NumericUpDown.cs: Implement missing events
  22176. 2005-05-19 Jackson Harper <[email protected]>
  22177. * TabControl.cs: New method that resizes the tab pages before
  22178. redrawing them. This as needed as the control is double buffered
  22179. and sizing will not be recalculated unless ResizeTabPages is
  22180. called.
  22181. * TabPage.cs: Set base.Text instead of Text in the constructor so
  22182. that UpdateOwner does not get called. Use the new Redraw method of
  22183. TabControl instead of Refresh so the sizing is recalculated.
  22184. * ThemeWin32Classic.cs: Draw the text for button tabs.
  22185. 2005-05-19 Jackson Harper <[email protected]>
  22186. * Control.cs: Paint control background images. Fix typo where
  22187. PaintControlBackground was not getting called correctly.
  22188. 2005-05-19 Peter Bartok <[email protected]>
  22189. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  22190. I can investigate, apparently I broke FileDialog
  22191. 2005-05-19 Marek Safar <[email protected]>
  22192. * AxHost.cs: Some simple properties.
  22193. * Control.cs: window must be accessible after ctor.
  22194. * Form.cs: Added TransparencyKey property.
  22195. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  22196. * XplatUIWin32.cs: SetBorderStyle implemented.
  22197. 2005-05-18 Peter Bartok <[email protected]>
  22198. * DataObject.cs: Entries are not global but particular to the
  22199. DataObject, now it behaves that way
  22200. * XplatUIWin32.cs: Implemented Clipboard methods
  22201. * Clipboard.cs: Implemented
  22202. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  22203. * XplatUIOSX.cs: Updated to final clipboard prototypes
  22204. * XplatUIX11.cs: Implemented Clipboard methods
  22205. * XplatUIDriver.cs: Updated to final clipboard prototypes
  22206. * XplatUIStructs.cs:
  22207. - Added BITMAPINFOHEADER struct
  22208. - Added ClipboardFormats enum
  22209. * X11Structs.cs:
  22210. - Added ClipboardStruct
  22211. - Added Atom enum items for clipboard types
  22212. - Fixed atom types for Selection event structures
  22213. * DataFormats.cs:
  22214. - Added internal properties and methods for drivers to enumerate
  22215. all known formats
  22216. - Switched initialization method to allow drivers to assign their
  22217. own IDs even for the MS predefined clipboard IDs
  22218. * XplatUI.cs: Updated to final clipboard interface
  22219. 2005-05-18 Jonathan S. Chambers <[email protected]>
  22220. * PropertyGridView.cs: Fixed compiler warnings.
  22221. 2005-05-18 Jonathan S. Chambers <[email protected]>
  22222. * PropertyGrid.cs: Added some event calls
  22223. * PropertyGridView.cs: Change drawing code to use double buffering
  22224. * PropertyGridTextBox.cs: Changed Text property name
  22225. * GridItem.cs: Added Bounds property.
  22226. * GridEntry.cs: Added Bounds property.
  22227. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  22228. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  22229. since GetType() may not return the correct type if the object is
  22230. a remoting proxy.
  22231. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  22232. * TreeNodeCollection.cs: fixes get/set item ranges
  22233. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  22234. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  22235. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  22236. * ComboBox.cs: Fix item range comparation
  22237. * ListView.cs: Fix item range comparation
  22238. 2005-05-03 Alexander Olk <[email protected]>
  22239. * FontDialog.cs:
  22240. - Clear example panel when OnPaint is called
  22241. - Better solution for displaying the example panel text
  22242. - Select default indexes in the ListBoxes
  22243. 2005-05-11 Geoff Norton <[email protected]>
  22244. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  22245. 2005-05-11 Peter Bartok <[email protected]>
  22246. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  22247. * SelectionRangeConverter.cs: Implemented
  22248. * PropertyGrid.cs: Fixed attribute value
  22249. * Control.cs:
  22250. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  22251. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  22252. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  22253. that's common to all drivers. First methods to go there are
  22254. Sebastien Pouliot's CAS Stack Propagation helper methods
  22255. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  22256. Sebastien Pouliot for CAS Stack Propagation
  22257. 2005-05-11 Geoff Norton <[email protected]>
  22258. * OSXStructs.cs:
  22259. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  22260. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  22261. * DataGridTextBoxColumn.cs: fixed some members
  22262. * GridColumnStylesCollection.cs: indexed column is case insensitive
  22263. * DataGridTableStyle.cs: fixes
  22264. * ThemeWin32Classic.cs: add new theme parameter
  22265. * Theme.cs: add new theme parameter
  22266. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  22267. * DataGrid.cs: fixes, new internal properties, etc.
  22268. * DataGridColumnStyle.cs: allows to set grid value
  22269. *
  22270. 2005-05-10 Peter Bartok <[email protected]>
  22271. * AccessibleObject.cs:
  22272. - Removed MonoTODO attribute on help, method is correct
  22273. - Fixed Bounds property
  22274. * AxHost.cs: Moved MonoTODO
  22275. * ButtonBase.cs: Now setting AccessibleObject properties
  22276. * RadioButton.cs: Setting proper AccessibleObject role
  22277. * CheckBox.cs: Setting proper AccessibleObject role
  22278. * ControlBindingsCollection.cs: Added properties, methods and attributes
  22279. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  22280. userdefined DataFormats.Format items as well
  22281. * ListControl.cs: Removed data_member from the public eye
  22282. * OpenFileDialog.cs:
  22283. - Made class sealed
  22284. - Added missing attributes
  22285. * SaveFileDialog.cs: Added missing attributes
  22286. * ImageListStreamer.cs: Fixed code that caused warnings
  22287. * LinkLabel.cs: Removed unreachable code
  22288. * TreeView.cs: Fixed code that caused warnings
  22289. * PropertyGridView.cs: Fixed code that caused warnings
  22290. * GridColumnStylesCollection.cs: Added missing attributes
  22291. * GridTableStylesCollection: Added missing attribute
  22292. * PropertyManager: Added .ctor
  22293. * SecurityIDType: Added
  22294. * DataObject.cs: Implemented class
  22295. * LinkArea.cs: Added missing attribute
  22296. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  22297. * RadioButton.cs: call base method to allow to fire OnClick event
  22298. * UpDownBase.cs: OnMouseUp call base method
  22299. * CheckedListBox.cs: call base method before returning
  22300. * TrackBar.cs: call base method before returning
  22301. 2005-05-10 Peter Bartok <[email protected]>
  22302. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  22303. for messages
  22304. 2005-05-10 Peter Bartok <[email protected]>
  22305. * DataFormats.cs: Implemented
  22306. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  22307. XplatUIX11.cs: Added Clipboard APIs
  22308. * XplatUIWin32.cs: Implemented Clipboard APIs
  22309. * FolderBrowserDialog.cs: Added missing event, attributes
  22310. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  22311. * CheckBox.cs: call base method to allow to fire OnClick event
  22312. 2005-05-09 Sebastien Pouliot <[email protected]>
  22313. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  22314. 2005-05-06 Peter Bartok <[email protected]>
  22315. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  22316. * Screen.cs: Implemented
  22317. * HelpNavigator.cs: Added
  22318. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  22319. property
  22320. * HelpProvider.cs: Implemented all we can do until we have a CHM
  22321. help library (which means that "What's This" does work now)
  22322. 2005-05-06 Jackson Harper <[email protected]>
  22323. * XplatUIX11.cs: Fix waking up the main loop.
  22324. 2005-05-05 Peter Bartok <[email protected]>
  22325. * XplatUI.cs: Updated revision
  22326. * Form.cs: Removed enless loop
  22327. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  22328. * Label.cs (OnPaint): Added call to base.OnPaint()
  22329. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  22330. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  22331. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  22332. * AxHost.cs: Added
  22333. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  22334. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  22335. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  22336. reuse of ToolTipWindow by other controls
  22337. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  22338. * XplatUIX11.cs: Now clipping drawing area (experimental)
  22339. * PictureBox.cs: Moved base.OnPaint() call to end of method
  22340. * Theme.cs: Fixed ToolTip abstracts to match new format
  22341. * ErrorProvider.cs: Implemented
  22342. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  22343. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  22344. * LinkLabel.cs:
  22345. - Adds cursors
  22346. - Handles focus
  22347. - Implements LinkBehavior
  22348. - Fixes many issues
  22349. 2005-05-03 Jackson Harper <[email protected]>
  22350. * ListView.cs: Calculate the scrollbar positioning on resize and
  22351. paint, so they get put in the correct place.
  22352. 2005-05-03 Alexander Olk <[email protected]>
  22353. * ColorDialogs.cs: The small color panels are now handled by
  22354. SmallColorControl. This fixes drawing of the focus rectangle
  22355. and adds a 3D border.
  22356. 2005-05-03 Peter Bartok <[email protected]>
  22357. * Control.cs: Modified version of Jonathan Chamber's fix for
  22358. double-buffering
  22359. 2005-05-03 Jackson Harper <[email protected]>
  22360. * ListView.cs: Remove redraw variable. Control now handles whether
  22361. or not a redraw needs to be done, and will only raise the paint
  22362. event if redrawing is needed.
  22363. 2005-05-03 Jackson Harper <[email protected]>
  22364. * Splitter.cs: No decorations for the splitter form. Cache the
  22365. hatch brush.
  22366. 2005-05-03 Jackson Harper <[email protected]>
  22367. * TreeView.cs: Use dashed lines to connect nodes. Use the
  22368. ControlPaint method for drawing the focus rect instead of doing
  22369. that in treeview.
  22370. 2005-05-02 Peter Bartok <[email protected]>
  22371. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  22372. 2005-04-29 Jackson Harper <[email protected]>
  22373. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  22374. entire image buffer. Just clear the clipping rectangle.
  22375. 2005-04-29 Jackson Harper <[email protected]>
  22376. * ThemeWin32Classic.cs: Don't draw list view items that are
  22377. outside the clipping rectangle.
  22378. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  22379. * ListBox.cs: added horizontal item scroll
  22380. 2005-04-29 Jackson Harper <[email protected]>
  22381. * ThemeWin32Classic.cs: Remove some old debug code that was
  22382. causing flicker with the new double buffering code.
  22383. 2005-04-29 John BouAntoun <[email protected]>
  22384. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  22385. behave like combobox and comboboxlist (still not sure if this is
  22386. correct though).
  22387. 2005-04-28 Jackson Harper <[email protected]>
  22388. * ThemeWin32Classic.cs: Don't fill the middle of progress
  22389. bars. This fills areas outside of the clip bounds that don't need
  22390. to be filled.
  22391. 2005-04-28 Jackson Harper <[email protected]>
  22392. * Control.cs: Don't expose functionality to touch the image buffers.
  22393. * ProgressBar.cs:
  22394. * ListView.cs: We do not need to (and no longer can) manipulate
  22395. the image buffers directly. All of this is handled by Control.
  22396. 2005-04-28 Peter Bartok <[email protected]>
  22397. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  22398. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  22399. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  22400. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  22401. * Combobox:
  22402. - Adjust control's height for non-simple comboboxes (bug fix)
  22403. - Remove dead code
  22404. * MenuAPI.cs: remove unused var
  22405. * ScrollBar.cs: remove unsed var
  22406. * ListBox.cs: unselect items when clearing
  22407. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  22408. * ListControl.cs: honors OnPositionChanged and default Selected Item
  22409. * ListBox.cs: unselect items when clearing
  22410. 2005-04-27 Jackson Harper <[email protected]>
  22411. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  22412. if a "correct" keyboard is not found. This will make us not crash,
  22413. but might give some users bad keyboard layouts...seems to be the
  22414. same thing rewind does.
  22415. 2005-04-27 Jackson Harper <[email protected]>
  22416. * BindingManagerBase.cs: Attach the current/position changed
  22417. handlers to their respective events.
  22418. 2005-04-27 Jackson Harper <[email protected]>
  22419. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  22420. not just a blit.
  22421. * ThemeWin32Classic.cs: Don't fill the background for picture
  22422. boxes. This could overright user drawing.
  22423. * ComboBox.cs: Just fill the clipping rect not the entire client
  22424. rect when drawing the background. This prevents pieces of the
  22425. image buffer from getting overwritten and is theoretically faster.
  22426. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  22427. * ComboBox.cs: Databinding support fixes, fire missing events
  22428. * ListControl.cs: implement missing methods and properties, fixes
  22429. * ThemeWin32Classic.cs: Databiding support on Drawing
  22430. * CheckedListBox.cs: Databinding support fixes, fire missing events
  22431. * ListBox.cs: Databinding support fixes, fire missing events
  22432. 2005-04-25 Peter Bartok <[email protected]>
  22433. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  22434. 2005-04-25 Jackson Harper <[email protected]>
  22435. * TreeView.cs: Use the horizontal scrollbars height not width when
  22436. determining how much of the client area is available.
  22437. 2005-04-25 Jackson Harper <[email protected]>
  22438. * Control.cs: Double buffering is handled differently now. As per
  22439. the spec, the extra buffer is created in the WM_PAINT message and
  22440. passed down to the control's drawing code.
  22441. * GroupBox.cs:
  22442. * Label.cs:
  22443. * CheckBox.cs:
  22444. * ProgressBar.cs:
  22445. * RadioButton.cs:
  22446. * ColorDialog.cs:
  22447. * ComboBox.cs:
  22448. * PropertyGridView.cs:
  22449. * UpDownBase.cs:
  22450. * MessageBox.cs:
  22451. * MenuAPI.cs:
  22452. * ListView.cs:
  22453. * ButtonBase.cs:
  22454. * SizeGrip.cs:
  22455. * ScrollBar.cs:
  22456. * ListBox.cs:
  22457. * TrackBar.cs:
  22458. * ToolBar.cs:
  22459. * PictureBox.cs:
  22460. * DateTimePicker.cs:
  22461. * StatusBar.cs:
  22462. * TreeView.cs: Update to new double buffering system.
  22463. * MonthCalendar.cs: Uncomment block, as Capture is now
  22464. working. Update to new double buffering
  22465. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  22466. * PaintEventArgs.cs: New internal method allows us to set the
  22467. graphics object. This is used for double buffering.
  22468. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  22469. rectangle. The internal paint_area var has been removed from
  22470. StatusBar. The clipping rect should be used instead.
  22471. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  22472. * TabPage.cs: The RefreshTabs method was removed, so just call the
  22473. tab controls Refresh method now.
  22474. * TabControl.cs: Update to new double buffering. Make sure the
  22475. handle is created before sizing the tab pages, otherwise we will
  22476. get stuck in a loop.
  22477. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  22478. * LinkLabel.cs: Fix typo, bug #74719; patch
  22479. from Borja Sanchez Zamorano
  22480. 2005-04-22 Jackson Harper <[email protected]>
  22481. * TreeNode.cs: Implement Handle stuff.
  22482. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  22483. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  22484. * DataGridTextBoxColumn.cs: call base constructors, fixes
  22485. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  22486. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  22487. * DataGridTableStyle.cs: implements create default column styles
  22488. * DataGridBoolColumn.cs: which types can handle
  22489. * DataGrid.cs: missing methods, fixes, new functionality
  22490. * DataGridColumnStyle.cs: fixes
  22491. 2005-04-20 Alexander Olk <[email protected]>
  22492. * FolderBrowserDialog.cs:
  22493. - Use a thread to fill the TreeView
  22494. - Adjusted some sizes
  22495. 2005-04-19 Peter Bartok <[email protected]>
  22496. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  22497. property. Fixes #74360.
  22498. 2005-04-19 Jackson Harper <[email protected]>
  22499. * XEventQueue.cs: Lock when getting the lockqueue size.
  22500. * PictureBox.cs: Call base OnPaint
  22501. 2005-04-19 Peter Bartok <[email protected]>
  22502. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  22503. messages were no longer being processed (this broke BeginInvoke)
  22504. 2005-04-18 Jackson Harper <[email protected]>
  22505. * TreeView.cs: buglet that caused node images to get drawn
  22506. regardless of whether or not they were in the clipping rectangle.
  22507. 2005-04-18 Jackson Harper <[email protected]>
  22508. * CurrencyManager.cs: There are four rules for GetItemProperties:
  22509. - If the type is an array use the element type of the array
  22510. - If the type is a typed list, use the type
  22511. - If the list contains an Item property that is not an object, use
  22512. that property
  22513. - use the first element of the list if there are any elements in
  22514. the list.
  22515. 2005-04-17 Jackson Harper <[email protected]>
  22516. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  22517. click. This handles offsets for scrolling properly and reduces
  22518. memory. Also fixed GetNode to not offset now that TopNode works
  22519. properly.
  22520. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  22521. 2005-04-17 Jackson Harper <[email protected]>
  22522. * CursorConverter.cs: Initial implementation.
  22523. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  22524. * ListControl.cs: work towards complex data binding support on ListControl
  22525. * CurrencyManager.cs: work towards complex data binding support on ListControl
  22526. * ListBox.cs: work towards complex data binding support on ListControl
  22527. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  22528. * GridTableStylesCollection.cs: fixes name and constructor
  22529. * DataGridTableStyle.cs: fixes
  22530. * DataGridBoolColumn.cs: fixes names and constructors
  22531. * DataGrid.cs: define methods and properties. Some init implementations
  22532. * DataGridCell.cs: define methods and properties. Some init implementations
  22533. * GridTablesFactory.cs: Define methods and properties
  22534. 2005-04-15 Geoff Norton <[email protected]>
  22535. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  22536. graphics port changes. We still want the coordinates in global screen
  22537. coordinates.
  22538. 2005-04-14 Jackson Harper <[email protected]>
  22539. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  22540. check plus minus or checkbox clicks unless those features are enabled.
  22541. 2005-04-14 Jackson Harper <[email protected]>
  22542. * TreeView.cs: Add methods for setting the top and bottom visible
  22543. nodes. TreeNode::EnsureVisible uses these methods.
  22544. * TreeNode.cs: Implement EnsureVisible
  22545. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  22546. * Form.cs: Pospone menu assignation if the window has not been created yet
  22547. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  22548. size and position
  22549. 2005-04-12 Jackson Harper <[email protected]>
  22550. * TreeView.cs: Set the TopNode properly when scrolling
  22551. occurs. This has the added benifit of reducing the amount of
  22552. walking that needs to be done when drawing. Also removed an old
  22553. misleading TODO.
  22554. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  22555. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  22556. * Timer.cs: fixes interval setting when the timer is already enabled
  22557. 2005-04-10 Alexander Olk <[email protected]>
  22558. * FolderBrowserDialog.cs: First approach
  22559. 2005-04-09 Peter Bartok <[email protected]>
  22560. * FolderBrowserDialog: Added
  22561. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  22562. * LinkLabel.cs: move drawing code into the theme
  22563. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  22564. * Theme.cs: define DrawLinkLabel method
  22565. 2005-04-05 Jackson Harper <[email protected]>
  22566. * BindingContext.cs: Use weak references so these bad actors don't
  22567. stay alive longer then they need to.
  22568. 2005-04-05 Jackson Harper <[email protected]>
  22569. * ListControl.cs: Basic implementation of complex databinding.
  22570. * ComboBox.cs:
  22571. * ListBox.cs: Add calls to ListControl databinding methods.
  22572. 2005-04-05 Alexander Olk <[email protected]>
  22573. * FileDialog.cs:
  22574. - Don't change PopupButtonState to Normal when the
  22575. PopupButton gets pressed several times.
  22576. - Renamed ButtonPanel to PopupButtonPanel
  22577. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  22578. * ColorDialog.cs: Use cached objects instead of creating them
  22579. * LinkLabel.cs: Use cached objects instead of creating them
  22580. * Splitter.cs: Use cached objects instead of creating them
  22581. * FontDialog.cs: Use cached objects instead of creating them
  22582. * PropertyGridView.cs: Use cached objects instead of creating them
  22583. * MessageBox.cs: Use cached objects instead of creating them
  22584. * FileDialog.cs: Use cached objects instead of creating them
  22585. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  22586. * TreeView.cs: Use cached objects instead of creating them
  22587. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  22588. * Control.cs: use Equals to compare the font since no == op
  22589. * ScrollBar.cs: use Equals to compare the font since no == op
  22590. 2005-04-04 Alexander Olk <[email protected]>
  22591. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  22592. 2005-04-01 Jackson Harper <[email protected]>
  22593. * Binding.cs: Implement IsBinding.
  22594. * BindingManagerBase.cs:
  22595. * PropertyManager.cs:
  22596. * CurrencyManager.cs: Add IsSuspended property.
  22597. 2005-04-01 Jackson Harper <[email protected]>
  22598. * Binding.cs: Had some IsAssignableFrom calls backwards.
  22599. 2005-04-01 Jackson Harper <[email protected]>
  22600. * Binding.cs: Handle null data members when pulling data.
  22601. * PropertyManager.cs: Handle the data member being a property that
  22602. does not exist.
  22603. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  22604. * DataGridTextBoxColumn.cs: fixes signature
  22605. * DataGrid.cs: calls right constructor
  22606. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  22607. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  22608. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  22609. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  22610. * DataGridTableStyle.cs: implements DataGridTableStyle
  22611. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  22612. * DataGridTextBox.cs: implements DataGridTextBox
  22613. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  22614. 2005-03-31 Alexander Olk <[email protected]>
  22615. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  22616. 2005-03-29 Peter Bartok <[email protected]>
  22617. * Application.cs:
  22618. - Properly implemented CompanyName property
  22619. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  22620. returns a path that includes CompanyName, ProductName and
  22621. Version (fixes bug #70330)
  22622. 2005-03-29 Stefan Buehler <[email protected]>
  22623. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  22624. fixes bug #72588.
  22625. 2005-03-28 Alexander Olk <[email protected]>
  22626. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  22627. - Added ReadOnly CheckBox
  22628. - Further refactoring: moved some code from Open-/SaveFileDialog
  22629. to FileDialog
  22630. 2005-03-28 Alexander Olk <[email protected]>
  22631. * OpenFileDialog.cs: Fixed CheckFileExists
  22632. * FileDialog.cs:
  22633. Moved FileView and DirComboBox outside FileDialog class.
  22634. They can now be used outside FileDialog
  22635. 2005-03-27 Alexander Olk <[email protected]>
  22636. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  22637. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  22638. 2005-03-27 Alexander Olk <[email protected]>
  22639. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  22640. - Added missing CreatePrompt property in SaveDialog
  22641. - Overall SaveDialog handling should be better now
  22642. - Added non standard ShowHiddenFiles property
  22643. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  22644. - Added InitialDirectory and RestoreDirectory support
  22645. 2005-03-26 Alexander Olk <[email protected]>
  22646. * FileDialog.cs: Made dirComboBox usable
  22647. 2005-03-24 Alexander Olk <[email protected]>
  22648. * FileDialog.cs: Added Filter support (case sensitiv)
  22649. 2005-03-24 Jackson Harper <[email protected]>
  22650. * TabControl.cs: Need a couple more pixels for the lines.
  22651. 2005-03-23 Jackson Harper <[email protected]>
  22652. * TabControl.cs: Give the tab page focus when it is selected.
  22653. 2005-03-23 Jackson Harper <[email protected]>
  22654. * TabControl.cs: Account for the drawing of tabs borders when
  22655. invalidating. If the slider was clicked dont do click detection on
  22656. the tabs.
  22657. 2005-03-23 Jackson Harper <[email protected]>
  22658. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  22659. 2005-03-22 Jonathan Chambers <[email protected]>
  22660. * CategoryGridEntry.cs: Added
  22661. * GridItem.cs: Added helper properties
  22662. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  22663. * GridEntry.cs: Updated code for collection
  22664. * PropertyGrid.cs: Cleaned up some formatting
  22665. * PropertyGridView.cs: Added drop down functionality for enums.
  22666. * GridItemCollection.cs: Added enumerator logic
  22667. * PropertyGridEntry.cs: Added
  22668. 2005-03-19 Alexander Olk <[email protected]>
  22669. * FileDialog.cs:
  22670. - Removed unnecessary commented code
  22671. - Fixed handling for entering the filename manually in the combobox
  22672. 2005-03-19 Alexander Olk <[email protected]>
  22673. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  22674. 2005-03-18 Peter Bartok <[email protected]>
  22675. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  22676. them being touching the border
  22677. 2005-03-18 Peter Bartok <[email protected]>
  22678. * TextControl.cs: Quick hack to center text better
  22679. 2005-03-18 Peter Bartok <[email protected]>
  22680. * ControlPaint.cs:
  22681. - Don't throw NotImplemented exceptions, just print a notice once
  22682. instead (requested by Miguel). This makes running existing SWF
  22683. apps a bit easier
  22684. * Control.cs:
  22685. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  22686. - Added context menu trigger on right click
  22687. * Panel.cs: Trigger invalidate on resize
  22688. * StatusBar.cs:
  22689. - Removed old double-buffer drawing
  22690. - Added ResizeRedraw style to force proper update of statusbar
  22691. * ListView.cs:
  22692. - Removed debug output
  22693. * ThemeWin32Classic.cs:
  22694. - Fixed drawing of status bar, now draws Text property if there
  22695. are no defined panels
  22696. 2005-03-18 Jackson Harper <[email protected]>
  22697. * ImageList.cs: When the image stream is set pull all the images
  22698. from it.
  22699. * ImageListStreamer.cs: Implement reading image list streams.
  22700. 2005-03-18 Peter Bartok <[email protected]>
  22701. * ThemeWin32Classic.cs (DrawPictureBox):
  22702. - Fixed calculations for centered drawing
  22703. - Fixed drawing for normal mode, not scaling the image on normal
  22704. 2005-03-18 Peter Bartok <[email protected]>
  22705. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  22706. textbox
  22707. * FileDialog.cs:
  22708. - Made Open/Save button the accept button for FileDialog
  22709. - Tied the cancel button to the IButtonControl cancel button
  22710. - Save/Open now properly builds the pathname
  22711. - Now handles user-entered text
  22712. - Preventing crash on right-click if no item is selected
  22713. - Fixed Text property, now uses contents of textbox
  22714. - Fixed SelectedText property, now just returns the text part that
  22715. is selected in the text box
  22716. 2005-03-18 Jackson Harper <[email protected]>
  22717. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  22718. rect, make sure to de-adjust the interior rect after drawing the
  22719. tab text.
  22720. 2005-03-18 Peter Bartok <[email protected]>
  22721. * MenuAPI.cs: Remove menu *before* executing selected action to
  22722. prevent the menu from 'hanging around'
  22723. 2005-03-17 Geoff Norton <[email protected]>
  22724. * XplatUIOSX.cs: Implemented WorkingArea property
  22725. 2005-03-17 Peter Bartok <[email protected]>
  22726. * XplatUIX11.cs: Fixed menu coord calculations
  22727. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  22728. for calculating offsets
  22729. 2005-03-17 Peter Bartok <[email protected]>
  22730. * Hwnd.cs: Do not consider menu presence for default client
  22731. rectangle location/size
  22732. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  22733. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  22734. translation functions
  22735. * FileDialog.cs: Fixed (what I presume is a) typo
  22736. 2005-03-17 Jonathan Gilbert <[email protected]>
  22737. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  22738. X access (avoids X-Async errors)
  22739. 2005-03-16 Jackson Harper <[email protected]>
  22740. * TabControl.cs: Raise the SelectedIndexChanged event.
  22741. 2005-03-16 Alexander Olk <[email protected]>
  22742. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  22743. - Removed vertical ToolBar and replaced it with a custom panel
  22744. (desktop and home button already work)
  22745. - Added Help button (some controls get resized or relocated then)
  22746. - Draw correct text depending on Open or Save.
  22747. - Fixed some typos...
  22748. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  22749. * ScrollBar.cs:
  22750. - Only change Maximum and Minimum when need it (bug fix)
  22751. 2005-03-15 Peter Bartok <[email protected]>
  22752. * Form.cs: Use Handle for icon, to trigger creation if
  22753. the window does not yet exist
  22754. * Control.cs:
  22755. - CanSelect: Slight performance improvement
  22756. - Focus(): Preventing possible recursion
  22757. - Invalidate(): Removed ControlStyle based clear flag setting
  22758. - WM_PAINT: fixed logic for calling OnPaintBackground
  22759. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  22760. EraseWindowBackground if the control doesn't paint background
  22761. * XplatUIWin32.cs:
  22762. - Moved EraseWindowBackground() method to internal methods
  22763. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  22764. is sent via SendMessage on BeginPaint call on Win32
  22765. * XplatUIX11.cs:
  22766. - Added EraseWindowBackground() method
  22767. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  22768. PaintEventStart, which more closely matches Win32 behaviour
  22769. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  22770. - Fixed SetFocus() to properly deal with client and whole windows
  22771. * Hwnd.cs: Added ErasePending property
  22772. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  22773. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  22774. 2005-03-12 Geoff Norton <[email protected]>
  22775. * XplatUIOSX.cs:
  22776. - Fix hard loop when timers exist.
  22777. - Fix bugs with middle and right click for 3 button mice.
  22778. 2005-03-11 Peter Bartok <[email protected]>
  22779. * XplatUIX11.cs:
  22780. - get_WorkingArea: Need to call X directly, GetWindowPos only
  22781. returns cached data now
  22782. - Added sanity check to GetWindowPos hwnd usage
  22783. 2005-03-11 Jackson Harper <[email protected]>
  22784. * BindingManagerBase.cs: This method isn't used anymore as
  22785. PullData now updates the data in the control.
  22786. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  22787. * Form.cs: fixes menu drawing on X11
  22788. * MenuAPI.cs: fixes menu drawing on X11
  22789. 2005-03-11 Peter Bartok <[email protected]>
  22790. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  22791. from Jonathan Gilbert; should fix bug #73606
  22792. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  22793. in Screen coordinates. Thanks, Jordi.
  22794. * Form.cs: Added missing attribute
  22795. 2005-03-11 Peter Bartok <[email protected]>
  22796. * Form.cs:
  22797. - Rudimentary Mdi support
  22798. - Removed outdated FormParent code
  22799. - Implemented lots of missing properties and methods, still missing
  22800. transparency support
  22801. - Added missing attributes
  22802. - Implemented support for MaximumBounds
  22803. - Added firing of various events
  22804. * XplatUI.cs: Added SetIcon() method
  22805. * XplatUIDriver.cs: Added SetIcon() abstract
  22806. * XplatUIOSX.cs: Stubbed out SetIcon() method
  22807. * XplatUIX11.cs:
  22808. - Implemented SetIcon() support
  22809. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  22810. - Switched to unix line endings
  22811. * XplatUIWin32.cs:
  22812. - Made POINT internal so for can access it as part of MINMAX
  22813. - Implemented SetIcon() support
  22814. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  22815. native Mdi support again, might have to go managed)
  22816. * Control.cs: Now fires the StyleChanged event
  22817. * MdiClient.cs: Added; still mostly empty
  22818. 2005-03-10 Peter Bartok <[email protected]>
  22819. * SaveFileDialog.cs: Added emtpy file
  22820. 2005-03-08 Peter Bartok <[email protected]>
  22821. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  22822. in turn triggers OnCreateContro) when creating a handle for the
  22823. first time.
  22824. * TextControl.cs: Fixed endless loop in certain cases when
  22825. replacing the current selection
  22826. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  22827. * ScrollBar.cs:
  22828. - Honors NewValue changes in Scroll events allowing apps to change it
  22829. - Adds First and Last Scroll events
  22830. - Fixes Thumb events
  22831. 2005-03-07 Peter Bartok <[email protected]>
  22832. * Hwnd.cs: Added DefaultClientRectangle property
  22833. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  22834. more detailed debug information
  22835. * XplatUIX11.cs:
  22836. - Fixed size-change feedback loop, where we would pull an old size
  22837. off the queue and mistakenly change our window's size to an
  22838. earlier value
  22839. - Now compressing ConfigureNotify events, to reduce looping and
  22840. redraw issues
  22841. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  22842. is called
  22843. 2005-03-07 Jackson Harper <[email protected]>
  22844. * Binding.cs: Push data pushes from data -> property. Check if the
  22845. property is readonly when attempting to set it.
  22846. 2005-03-07 Jackson Harper <[email protected]>
  22847. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  22848. instead of IsSubclassOf. Pulling data now sets the value on the
  22849. control.
  22850. * PropertyManager.cs:
  22851. * CurrencyManager.cs: Just need to pull data when updating now,
  22852. because PullData will set the value on the control.
  22853. 2005-03-04 Jackson Harper <[email protected]>
  22854. * Binding.cs: Implement data type parsing and converting on pulled
  22855. data. TODO: Are there more ways the data can be converted?
  22856. 2005-03-04 Jackson Harper <[email protected]>
  22857. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  22858. controls Validating method so we can repull the data when the
  22859. control loses focus.
  22860. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  22861. * ColumnHeader.cs:
  22862. - Fixes null string format
  22863. * ListView.cs:
  22864. - Adds enum type checks
  22865. - Fixes redrawing and recalc need after changing some properties
  22866. - Fixes on focus_item set after the event
  22867. - Fixes adding columns after the control has been created
  22868. * ThemeWin32Classic.cs:
  22869. - Fixes CheckBox focus rectangle
  22870. - Fixes ColumnHeader drawing
  22871. 2005-03-03 Jackson Harper <[email protected]>
  22872. * Binding.cs: Bind to <Property>Changed events so we can detect
  22873. when properties are changed and update the data.
  22874. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  22875. * ImageList.cs:
  22876. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  22877. - Fixes ImageList constructor with ImageList container
  22878. - Fixes image scaling (wrong parameters at DrawImage)
  22879. 2005-02-02 Jackson Harper <[email protected]>
  22880. * Binding.cs: Make property searches case-insensitive. Eliminate
  22881. some duplicated code.
  22882. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  22883. * ComboBox.cs:
  22884. - Handle focus event
  22885. - Fix scrollbar events
  22886. - Discard highlighted item if remove it
  22887. - Fixes SelectedItem with strings
  22888. 2005-03-01 Peter Bartok <[email protected]>
  22889. * Control.cs:
  22890. - Fixed Visible property, now follows (once again) parent chain
  22891. to return false if any control in the chain is visible=false
  22892. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  22893. - Fixed several places where is_visible instead of Visible was used
  22894. - Implemented FIXME related to focus selection when setting focused
  22895. control to be invisible
  22896. * XplatUIWin32.cs: Now using proper method to find out if window is
  22897. visible. Thanks to Jordi for pointing it out
  22898. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  22899. * ComboBox.cs: show/hide scrollbar instead of creating it
  22900. 2005-02-27 Jackson Harper <[email protected]>
  22901. * CurrencyManager.cs: Add PositionChanged stuff.
  22902. 2005-02-27 Peter Bartok <[email protected]>
  22903. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  22904. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  22905. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  22906. * XplatUIX11.cs:
  22907. - Implemented GetMenuDC()
  22908. - Implemented GetMenuOrigin()
  22909. - Implemented ReleaseMenuDC()
  22910. - Implemented generation of WM_NCPAINT message
  22911. - Implemented generation and handling of WM_NCCALCSIZE message
  22912. * Form.cs: Added debug helper message for Jordi's menu work
  22913. * Hwnd.cs:
  22914. - Modified ClientRect property; added setter, fixed getter to handle
  22915. setting of ClientRect
  22916. - Added MenuOrigin property
  22917. 2005-02-26 Peter Bartok <[email protected]>
  22918. * XplatUIX11.cs:
  22919. - Destroys the caret if a window that's being destroyed contains it
  22920. - Ignores expose events coming from the X11 queue for windows that
  22921. already are destroyed
  22922. - Now uses the proper variable for handling DestroyNotify, before we
  22923. marked the wrong window as destroyed
  22924. - Improved/added some debug output
  22925. 2005-02-26 Peter Bartok <[email protected]>
  22926. * X11Keyboard.cs: Fixes to work on 64bit systems
  22927. 2005-02-26 Peter Bartok <[email protected]>
  22928. * Control.cs:
  22929. - Now calling OnHandleDestroyed from DestroyHandle()
  22930. instead of Dispose()
  22931. - Removed bogus call to controls.Remove() from DestroyHandle()
  22932. 2005-02-26 Peter Bartok <[email protected]>
  22933. * Control.cs: Properly destroy child windows when our handle is
  22934. destroyed
  22935. 2005-02-25 Peter Bartok <[email protected]>
  22936. * XplatUI.cs:
  22937. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  22938. - Alphabetized Static Methods and Subclasses
  22939. * XplatUIX11.cs:
  22940. - Added XException class to allow custom handling of X11 exceptions
  22941. - Created custom X11 error handler, tied into XException class
  22942. - Added support for MONO_XEXCEPTIONS env var to allow the user
  22943. to either throw an exception on X errors or continue running
  22944. after displaying the error
  22945. - Added handling of DestroyNotify message
  22946. - Added handler for CreateNotify message (still disabled)
  22947. - Improved (tried to at least) Where method to provide file and lineno
  22948. * X11Structs.cs:
  22949. - Added XErrorHandler delegate
  22950. - Added XRequest enumeration (to suppor translation of errors)
  22951. 2005-02-25 Jackson Harper <[email protected]>
  22952. * PropertyManager.cs: Implement editing features
  22953. * CurrencyManager.cs:
  22954. * Binding.cs: First attempt at UpdateIsBinding
  22955. * BindingManagerBase.cs: Call UpdateIsBinding before
  22956. pushing/pulling data.
  22957. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  22958. * MenuAPI.cs: Respect disabled items
  22959. * ThemeWin32Classic.cs
  22960. - Caches ImageAttributes creation for DrawImageDisabled
  22961. - Fixes vertical menu line drawing
  22962. - Draws disabled arrows in disable menu items
  22963. 2005-02-24 Peter Bartok <[email protected]>
  22964. * Hwnd.cs:
  22965. - Added UserData property to allow associating arbitrary objects
  22966. with the handle
  22967. - Fixed leak; now removing Hwnd references from static windows array
  22968. * XplatUIWin32.cs:
  22969. - Fixed Graphics leak in PaintEventEnd
  22970. - Removed usage of HandleData, switched over to Hwnd class
  22971. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  22972. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  22973. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  22974. * ScrollBar.cs: Fixes bug
  22975. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  22976. keyboard navigation enhancements
  22977. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  22978. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  22979. * GroupBox.cs: Add control styles
  22980. * Label.cs: Add control styles
  22981. * UpDownBase.cs: Add control styles
  22982. * ListBox.cs: Add control styles
  22983. * XplatUIWin32.cs: Fixes wrong parameter order
  22984. 2005-02-23 Chris Bacon <[email protected]>
  22985. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  22986. 2005-02-23 Jackson Harper <[email protected]>
  22987. * PropertyManager.cs: Implement property binding. This doesn't
  22988. seem to work yet though as (I think) there are some bugs in
  22989. System.ComponentModel.PropertyDescriptor.
  22990. * BindingContext.cs: Use new PropertyManager constructor.
  22991. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  22992. * ProgressBar.cs: use clip region in ProgressBar
  22993. * ThemeWin32Classic.cs: use clip region in ProgressBar
  22994. 2004-02-22 Jackson Harper <[email protected]>
  22995. * BindingsCollection.cs: Remove some debug code.
  22996. 2005-02-22 Jackson Harper <[email protected]>
  22997. * BindingContext.cs:
  22998. * ControlBindingsCollection.cs:
  22999. * CurrencyManager.cs:
  23000. * Binding.cs:
  23001. * BindingManagerBase.cs: Initial implementation
  23002. * BindingsCollection.cs: Add an internal contains method that the
  23003. BindingManagerBase uses to ensure bindings aren't added twice to
  23004. the collection.
  23005. * PropertyManager.cs: Stubbed out.
  23006. * Control.cs:
  23007. * ContainerControl.cs: Hook up databinding
  23008. 2005-02-22 Geoff Norton <[email protected]>
  23009. * XplatUIOSX.cs:
  23010. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  23011. Fixed Invalidate/Update chain.
  23012. Fixed tons of other minor bugs (this is almost a complete rewrite).
  23013. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  23014. * ComboBox.cs: do subcontrol creation when the control is created
  23015. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  23016. * Label.cs: fixes image drawing (image and imagelist)
  23017. * ThemeWin32Classic.cs: cache brushes
  23018. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  23019. * Form.cs: Move menu drawing code to Theme class
  23020. * ComboBox.cs: Move ComboBox drawing code to Theme class
  23021. * MenuItem.cs: Move menu drawing code to Theme class
  23022. * MenuAPI.cs: Move menu drawing code to Theme class
  23023. * ThemeWin32Classic.cs: New methods
  23024. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  23025. * ListBox.cs: Move Listbox drawing code to Theme class
  23026. * Theme.cs: New methods
  23027. 2005-02-20 Peter Bartok <[email protected]>
  23028. * Control.cs:
  23029. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  23030. only process mnemonics on those)
  23031. - Fixed event sequence for key handling; first calling
  23032. ProcessKeyEventArgs now
  23033. * TextBoxBase.cs:
  23034. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  23035. for processing non-character keys
  23036. - Fixed WM_CHAR to generate proper event sequence before processing
  23037. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  23038. generation
  23039. 2005-02-19 Peter Bartok <[email protected]>
  23040. * UserControl.cs: Added TextChanged event; added attributes
  23041. * SizeGrip.cs: Implemented resizing and optional display of grip
  23042. * Form.cs: Fixed attribute
  23043. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  23044. Changed meaning of ScrollWindow bool argument; instead of the
  23045. clear attribute (which will be true usually anyway), it gives the
  23046. option of moving child controls as well.
  23047. * XplatUIX11.cs:
  23048. - Changed to match new ScrollWindow argument
  23049. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  23050. now handles the implicit parent window a WM puts around us
  23051. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  23052. to work)
  23053. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  23054. * TreeView.cs: Adjusted to new ScrollWindow arguments
  23055. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  23056. * Form.cs: Menu integration with non-client area
  23057. * MenuItem.cs: Menu integration with non-client area
  23058. * MenuAPI.cs: Menu integration with non-client area
  23059. 2005-02-18 Peter Bartok <[email protected]>
  23060. * MethodInvoker.cs: Added
  23061. * MdiLayout.cs: Added
  23062. * SendKeys.cs: Started implementation
  23063. * ErrorIconAlignment.cs: Added
  23064. 2005-02-18 Peter Bartok <[email protected]>
  23065. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  23066. * Form.cs: Added handling for Menu-related Non-client messages
  23067. 2005-02-17 Peter Bartok <[email protected]>
  23068. * UpDownBase.cs: Fixed typo, compilation errors
  23069. * DomainUpDown.cs: Fixed attribute value
  23070. 2005-02-16 Miguel de Icaza <[email protected]>
  23071. * UpDownBase.cs: Attach entry events.
  23072. Propagate events.
  23073. Add ForeColor property, Focused, InterceptArrowKeys (interception
  23074. does not work yet).
  23075. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  23076. * Form.cs:
  23077. - Redraw non client are on Setmenu
  23078. - Calc proper menu starting point
  23079. 2005-02-17 Peter Bartok <[email protected]>
  23080. * Application.cs: Fixed message_filter check
  23081. 2005-02-17 Peter Bartok <[email protected]>
  23082. * Application.cs: Now calls registered message filters
  23083. * DockStyle.cs: Fixed attribute
  23084. * Form.cs: Fixed attribute
  23085. * Menu.cs: Fixed attribute
  23086. * ToolTip.cs: Fixed attribute
  23087. * TreeNode.cs: Added missing attributes and arranged in regions
  23088. * PropertyGrid.cs: Fixed signatures
  23089. * TreeNodeCollection.cs: Added attributes
  23090. * Splitter.cs: Added missing attributes; arranged into regions
  23091. * TabPage.cs: Added missing attributes; arranged into regions
  23092. * TextBoxBase.cs: Added missing attributes
  23093. * TextBox.cs: Added missing attributes
  23094. * ArrangeDirection.cs: Added missing attributes
  23095. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  23096. * ToolBarButton.cs: Fixed attributes
  23097. * AnchorStyles.cs: Fixed attribute
  23098. * TrackBar.cs: Fixed attributes
  23099. * TabControl.cs: Added missing attributes and arranged into regions
  23100. * ToolBar.cs: Fixed attribute
  23101. * StatusBar.cs: Fixed signature, organized into regions and added
  23102. attributes
  23103. * StatusBarPanel.cs: Fixed attributes
  23104. * ContentsResizedEventArgs.cs: Implemented
  23105. * ContentsResizedEventHandler.cs: Implemented
  23106. * DateBoldEventArgs.cs: Implemented
  23107. * DateBoldEventHandler.cs: Implemented
  23108. * UpDownEventArgs.cs: Implemented
  23109. * UpDownEventHandler.cs: Implemented
  23110. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  23111. * Form.cs: first Menu NC refactoring
  23112. * MenuAPI.cs: first Menu NC refactoring
  23113. 2005-02-16 Peter Bartok <[email protected]>
  23114. * ImeMode.cs: Added missing attributes
  23115. * Menu.cs: Fixed attribute
  23116. * GroupBox.cs: Fixed attribute
  23117. * Label.cs: Fixed attribute
  23118. * ColorDialog.cs (RunDialog): Removed TODO attribute
  23119. * ComboBox.cs: Fixed attributes
  23120. * ListControl.cs: Added missing attributes
  23121. * PropertyGrid.cs: Fixed attributes
  23122. * Control.cs: Fixed attributes
  23123. * ListViewItem.cs: Added TypeConverter attribute
  23124. * NotifyIcon.cs: Fixed attributes
  23125. * ListView.cs: Fixed attributes
  23126. * ButtonBase.cs: Fixed attribute
  23127. * ImageList.cs: Added missing attributes
  23128. * ContainerControl.cs: Fixed signature
  23129. * CheckedListBox.cs: Fixed attribute; added missing attributes
  23130. * Panel.cs: Fixed attributes
  23131. * PropertyTabChangedEventArgs.cs: Added missing attribute
  23132. * PropertyValueChangedEventArgs.cs: Added missing attribute
  23133. * Binding.cs: Fixed attribute
  23134. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  23135. * ListBox.cs: Fixed attribute; added missing attributes;
  23136. * ScrollableControl.cs: Added missing attributes
  23137. * PictureBox.cs: Added missing attributes; implemented missing property
  23138. * DateTimePicker.cs: Added missing attributes
  23139. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  23140. * MonthCalendar.cs: Fixed attributes
  23141. * StatusBarPanel.cs: Added missing attributes
  23142. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  23143. 2005-02-16 Peter Bartok <[email protected]>
  23144. * TextBoxBase.cs: The previous method to enforce height yet remember
  23145. the requested high was less than ideal, this is an attempt to do
  23146. it better.
  23147. * Control.cs: Added comment about possible problem
  23148. * Copyright: Updated format
  23149. * GridItemType.cs: Fixed swapped values
  23150. 2005-02-15 Jackson Harper <[email protected]>
  23151. * BaseCollection.cs: Use property so we never access an
  23152. uninitialized list. Also initialize the list in the property.
  23153. 2005-02-15 Peter Bartok <[email protected]>
  23154. * GroupBox.cs (ProcessMnemonic): Implemented
  23155. * Label.cs (ProcessMnemonic): Implemented
  23156. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  23157. hotkeys
  23158. 2005-02-15 Peter Bartok <[email protected]>
  23159. * RadioButton.cs (ProcessMnemonic): Implemented
  23160. * CheckBox.cs (ProcessMnemonic): Implemented
  23161. * Control.cs:
  23162. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  23163. handling
  23164. - Added internal method to allow calling ProcessMnemonic from other
  23165. controls
  23166. * ContainerControl.cs:
  23167. - Started support for handling validation chain handling
  23168. - Implemented ProcessMnemonic support
  23169. - Added Select() call to Active, to make sure the active control
  23170. receives focus
  23171. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  23172. FormParent rewrite)
  23173. * ThemeWin32Classic.cs:
  23174. - DrawCheckBox(): Fixed stringformat to show hotkeys
  23175. - DrawRadioButton(): Fixed stringformat to show hotkeys
  23176. * CommonDialog.cs: Removed WndProc override, not needed
  23177. 2005-02-14 Peter Bartok <[email protected]>
  23178. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  23179. missed those in the rewrite
  23180. 2005-02-14 Miguel de Icaza <[email protected]>
  23181. * NumericUpDown.cs (Increment, ToString): Add.
  23182. (DecimalPlaces): implement.
  23183. Add attributes.
  23184. * UpDownBase.cs: Add the designer attributes.
  23185. 2005-02-13 Peter Bartok <[email protected]>
  23186. * Panel.cs: Removed border_style, now in Control
  23187. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  23188. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  23189. 2005-02-13 Peter Bartok <[email protected]>
  23190. * MouseButtons.cs: Added missing attributes
  23191. * XplatUIStructs.cs: Added enumeration for title styles
  23192. * LeftRightAlignment.cs: Added missing attributes
  23193. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  23194. it compatible with Graphics.FromHwnd()
  23195. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  23196. * Keys.cs: Added missing attributes
  23197. * SelectionRange.cs: Added missing attributes
  23198. * SelectionRangeConverter.cs: Added
  23199. * XplatUI.cs:
  23200. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  23201. ReleaseMenuDC methods
  23202. - Renamed ReleaseWindow to UngrabWindow
  23203. - Added proper startup notice to allow version identification
  23204. * Form.cs:
  23205. - Added missing attributes
  23206. - Removed FormParent concept
  23207. * Label.cs: Removed border_style field, now in Control
  23208. * RadioButton.cs: Now properly selects RadioButton when focus is
  23209. received
  23210. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  23211. * Control.cs:
  23212. - Added missing attributes
  23213. - Added borderstyle handling
  23214. - Removed FormParent concept support
  23215. - Fixed calls to XplatUI to match changed APIs
  23216. - Fixed bug that would case us to use disposed Graphics objects
  23217. - Removed unneeded internal methods
  23218. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  23219. - SelectNextControl(): Fixed to properly check common parents
  23220. * TextBoxBase.cs: Removed border_style field (now in Control)
  23221. * MessageBox.cs:
  23222. - Patch by Robert Thompson ([email protected]): Added icon support,
  23223. fixed calculations for form size
  23224. - Added support for localized strings and icons
  23225. - Improved form size calculations, added border
  23226. * ListView.cs: Removed border_style field (now in Control)
  23227. * X11Structs.cs: Moved several structs from X11 driver here
  23228. * X11Keyboard.cs: Changed debug message
  23229. * Application.cs: Removed FormParent concept support
  23230. * CommonDialog.cs:
  23231. - Resetting end_modal flag
  23232. - Removed FormParent concept support
  23233. * NativeWindow.cs: Removed FormParent concept support
  23234. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  23235. Client area and Non-Client whole window to allow support for WM_NC
  23236. messages
  23237. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  23238. prevent using it until it supports Hwnd as per Geoff Norton's request
  23239. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  23240. * PictureBox.cs: Removed border_style field, now in Control
  23241. * XplatUIWin32.cs: Added new driver methods
  23242. 2005-02-12 Peter Bartok <[email protected]>
  23243. * OpacityConverter.cs: Implemented
  23244. * Hwnd.cs: Internal class to support drivers that need to emulate
  23245. client area/non-client area window behaviour
  23246. 2005-02-11 Peter Bartok <[email protected]>
  23247. * KeysConverter.cs: Implemented
  23248. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  23249. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  23250. * LinkLabel: Added missing attributes
  23251. * MainMenu.cs: fixes ToString
  23252. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  23253. * ListBox.cs: fixes event position
  23254. * TrackBar.cs: adds missing attributes and events
  23255. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  23256. * MenuItem.cs: Use SystemInformation and bug fixes
  23257. * MenuAPI.cs: Use SystemInformation and bug fixes
  23258. 2005-02-09 Jackson Harper <[email protected]>
  23259. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  23260. their keystate otherwise things like VK_MENU get stuck "on".
  23261. 2005-02-09 Kazuki Oikawa <[email protected]>
  23262. * ListBox.cs: Fixes AddRange bug
  23263. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  23264. * ProgressBar.cs
  23265. - Add missing attributes
  23266. - Add missing method
  23267. * CheckedListBox.cs: Added missing attributes
  23268. - Add missing attributes
  23269. - Remove extra method
  23270. * ComboBox.cs: Added missing attributes
  23271. * VScrollBar.cs: Added missing attributes
  23272. * ScrollBar.cs: Added missing attributes
  23273. * ListBox.cs: Fixes signature, add missing consts
  23274. * LinkArea.cs: Added missing attributes
  23275. 2005-02-08 Peter Bartok <[email protected]>
  23276. * Menu.cs: Added missing attributes
  23277. * MainMenu.cs: Added missing attributes
  23278. * GroupBox.cs: Added missing attributes
  23279. * Label.cs: Added missing attributes
  23280. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  23281. * ColorDialog.cs:
  23282. - Added Instance and Options properties
  23283. - Added missing attributes
  23284. * Cursor.cs: Made Serializable
  23285. * NotifyIcon: Added missing attributes
  23286. * MenuItem.cs: Added missing attributes
  23287. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  23288. * Panel.cs: Added Missing attributes
  23289. * MonthCalendar.cs: Fixed CreateParams
  23290. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  23291. * LinkLabel.cs:
  23292. - Fixes signature
  23293. - Fixes issues with links
  23294. - Adds the class attributes
  23295. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  23296. * ComboBox.cs:
  23297. - Fixes button when no items available in dropdown
  23298. - Fixes repainting problems
  23299. - Adds the class attributes
  23300. 2005-02-07 Geoff Norton <[email protected]>
  23301. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  23302. the current theme. Cache these on startup.
  23303. 2005-02-07 Jackson Harper <[email protected]>
  23304. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  23305. the scrollbar buttons when they are depressed.
  23306. 2005-02-07 Geoff Norton <[email protected]>
  23307. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  23308. Get the display size from the main displayid. We currently dont
  23309. support multiple display configurations.
  23310. 2005-02-07 Geoff Norton <[email protected]>
  23311. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  23312. 2005-02-07 Miguel de Icaza <[email protected]>
  23313. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  23314. 2005-02-05 Jonathan Chambers <[email protected]>
  23315. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  23316. 2005-02-04 Jackson Harper <[email protected]>
  23317. * ThemeWin32Classic.cs: Respect the clipping rect when
  23318. drawing. Only fill the intersection of clips and rects so there
  23319. isn't a lot of large fills.
  23320. * ScrollBar.cs: Pass the correct clipping rect to the theme
  23321. engine. Remove some debug code.
  23322. 2005-02-05 John BouAntoun <[email protected]>
  23323. * DateTimePicker.cs:
  23324. - Fixed crash on DateTime.Parse, use Constructor instead
  23325. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  23326. * MenuItem.cs:
  23327. * MenuAPI.cs:
  23328. - Owner draw support (MeasureItem and DrawItem)
  23329. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  23330. * Menu.cs:
  23331. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  23332. - Fixes MenuItems.Add range
  23333. * MenuItem.cs:
  23334. - MergeMenu and Clone and CloneMenu functions
  23335. 2005-02-03 Jackson Harper <[email protected]>
  23336. * ScrollBar.cs: Make abstract
  23337. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  23338. is abstract.
  23339. 2005-02-03 Jackson Harper <[email protected]>
  23340. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  23341. all the unneeded refreshes and uses invalidates with properly
  23342. computed rects.
  23343. 2005-02-03 Peter Bartok <[email protected]>
  23344. * ComponentModel.cs: Added
  23345. * IDataGridEditingService.cs: Added
  23346. * Timer.cs: Added missing attributes
  23347. * ToolTip.cs: Added missing attributes
  23348. 2005-02-03 Jonathan Chambers <[email protected]>
  23349. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  23350. 2005-02-03 Peter Bartok <[email protected]>
  23351. * ListBox.cs: Added missing attributes
  23352. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  23353. * ListBox.cs:
  23354. - Fixes font height after font change
  23355. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  23356. 2005-02-02 Peter Bartok <[email protected]>
  23357. * HandleData.cs: Introduced static methods to allow class
  23358. to be more self-contained and track it's own HandleData objects
  23359. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  23360. HandleData to use new static methods
  23361. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  23362. * Combobox.cs:
  23363. - Fixes default size and PreferredHeight
  23364. - Missing events
  23365. - ObjectCollection.Insert implementation
  23366. * ListControl.cs
  23367. - Fixes signature
  23368. * ListBox.cs:
  23369. - Several fixes
  23370. - ObjectCollection.Insert implementation
  23371. - No selection after clean
  23372. - Small fixes
  23373. 2005-01-31 John BouAntoun <[email protected]>
  23374. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  23375. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  23376. * Combobox.cs:
  23377. - Caches ItemHeight calculation for OwnerDrawVariable
  23378. - Handles dropdown properly
  23379. - Fixes several minor bugs
  23380. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  23381. * ListBox.cs:
  23382. - Fixes 71946 and 71950
  23383. - Fixes changing Multicolumn on the fly
  23384. - Fixes keyboard navigation on Multicolumn listboxes
  23385. 2005-01-31 Geoff Norton <[email protected]>
  23386. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  23387. crash reporter log.
  23388. 2005-01-31 Geoff Norton <[email protected]>
  23389. * XplatUIOSX.cs: Allow applications to actually exit.
  23390. 2005-01-31 Geoff Norton <[email protected]>
  23391. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  23392. their parent at creation time rather than lazily later. Fixes a major
  23393. regression we were experiencing.
  23394. 2005-01-31 John BouAntoun <[email protected]>
  23395. * ThemeWin32Classic.cs: more date time picker painting fixes
  23396. * DateTimePicker.cs: more monthcalendar drop down fixes
  23397. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  23398. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  23399. * ScrollBar.cs:
  23400. - When moving the thumb going outside the control should stop the moving
  23401. - Adds the firing of missing events
  23402. - Fixes no button show if Size is not specified
  23403. - End / Home keys for keyboard navigation
  23404. 2005-01-30 Peter Bartok <[email protected]>
  23405. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  23406. sanity check to prevent theoretical loop
  23407. * XplatUIWin32.cs (SetVisible): Removed debug output
  23408. * XplatUIX11.cs (SystrayChange): Added sanity check
  23409. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  23410. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  23411. behaviour, valid until the X11 client window rewrite is done
  23412. * TextBox.cs (ctor): Setting proper default foreground and background
  23413. colors
  23414. 2005-01-30 John BouAntoun <[email protected]>
  23415. * Theme: Added DrawDateTimePicker to interface
  23416. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  23417. * DateTimePicker.cs: Created (still needs keys and painting code)
  23418. * DateTimePickerFormat.cs: added
  23419. * MonthCalendar.cs: fixed CreateParams for popup window mode
  23420. 2005-01-29 Peter Bartok <[email protected]>
  23421. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  23422. this should also the calculations for ligher/darker
  23423. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  23424. 2005-01-29 Peter Bartok <[email protected]>
  23425. * ArrangeDirection.cs: Added
  23426. * ArrangeStartingPositon.cs: Added
  23427. * SystemInformation.cs: Implemented
  23428. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  23429. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  23430. used by SystemInformation class
  23431. * X11Strucs.cs: Added XSizeHints structure
  23432. * MenuAPI.cs:
  23433. - Fixed CreateParams to make sure the menu window is always visible
  23434. - TrackPopupMenu: Added check to make sure we don't draw the
  23435. menu offscreen
  23436. 2005-01-29 Peter Bartok <[email protected]>
  23437. * HandleData.cs: Added method for altering invalid area
  23438. * TextBoxBase.cs: Implemented TextLength
  23439. 2005-01-28 Peter Bartok <[email protected]>
  23440. * XplatUIX11.cs: Improvement over last patch, not sending
  23441. the WM_PAINT directly anymore, instead we scroll any pending
  23442. exposed areas and let the system pick out the WM_PAINT later
  23443. 2005-01-28 Peter Bartok <[email protected]>
  23444. * SWF.csproj: Deleted, no longer used. Instead,
  23445. Managed.Windows.Forms/SWF.csproj should be used
  23446. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  23447. directly, to avoid a potential race condition with the next
  23448. scroll
  23449. 2005-01-28 Peter Bartok <[email protected]>
  23450. * XplatUI.cs: Made class internal
  23451. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  23452. * CheckedListBox.cs:
  23453. - Draw focus
  23454. - Fixed Drawing
  23455. - Missing methods and events
  23456. 2005-01-27 Peter Bartok <[email protected]>
  23457. * Application.cs (Run): Don't use form if we don't have one
  23458. 2005-01-27 Peter Bartok <[email protected]>
  23459. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  23460. 2005-01-27 Peter Bartok <[email protected]>
  23461. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  23462. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  23463. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  23464. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  23465. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  23466. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  23467. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23468. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  23469. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23470. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23471. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  23472. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  23473. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  23474. * Combobox.cs:
  23475. - Draw focus on Simple Combobox
  23476. - Fixes drawing issues
  23477. - fixes 71834
  23478. 2005-01-27 Peter Bartok <[email protected]>
  23479. * Form.cs:
  23480. - Place window in default location, instead of hardcoded 0/0
  23481. - Send initial LocationChanged event
  23482. * Control.cs:
  23483. - UpdateBounds after creation to find out where the WM placed us
  23484. - Make sure that if the ParentForm changes location the Form
  23485. is notified
  23486. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  23487. to the root, but to whatever the WM placed around us.
  23488. Translate to root coordinates before returning toplevel
  23489. coordinates
  23490. * XplatUIWin32.cs: Removed debug output
  23491. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  23492. flag to GetWindowPos, to allow translation of coordinates on X11
  23493. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  23494. * ListBox.cs: connect LostFocus Event
  23495. 2005-01-27 Peter Bartok <[email protected]>
  23496. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  23497. XplatUIX11.cs: Extended the Systray API
  23498. * Form.cs: Removed debug output
  23499. * Application.cs: Fixed focus assignment, always need to call
  23500. XplatUI.Activate() since Form.Activate() has rules that may
  23501. prevent activation
  23502. * NotifyIcon.cs: Should be complete now
  23503. * ToolTip.cs: Worked around possible timer bug
  23504. 2005-01-27 Jackson Harper <[email protected]>
  23505. * TabControl.cs:
  23506. - Only invalidate the effected tabs when the
  23507. selected index changes. This reduces drawing and gets rid of some
  23508. flicker.
  23509. - Only refresh if the tabs need to be shifted, otherwise only
  23510. invalidate the slider button.
  23511. - On windows the tabs are not filled to right if the slider is
  23512. visible.
  23513. 2005-01-27 Jackson Harper <[email protected]>
  23514. * TabControl.cs: Only refresh on mouseup if we are showing the
  23515. slider. Also only invalidate the button whose state has changed.
  23516. 2005-01-26 Peter Bartok <[email protected]>
  23517. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  23518. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  23519. and SystrayRemove() methods
  23520. * XplatUIOSX.cs: Stubbed Systray methods
  23521. * XplatUIX11.cs:
  23522. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  23523. methods
  23524. - Fixed broken XChangeProperty calls (marshalling messed up things)
  23525. * X11Structs.cs: Added enums and structs required for Size hinting
  23526. * NotifyIcon.cs: Added & implemented
  23527. 2005-01-26 Jackson Harper <[email protected]>
  23528. * TabControl.cs: Space vertically layed out tabs properly.
  23529. 2005-01-26 Peter Bartok <[email protected]>
  23530. * Form.cs (CreateClientParams): Always set the location to 0,0
  23531. since we're a child window.
  23532. * Control.cs (SetVisibleCore): Always explicitly setting the location
  23533. of a toplevel window, apparently X11 doesn't like to move windows
  23534. while they're not mapped.
  23535. 2005-01-26 Jackson Harper <[email protected]>
  23536. * TabControl.cs: Implement FillToRight size mode with vertically
  23537. rendered tabs.
  23538. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  23539. * ControlPaint.cs, ThemeWin32Classic.cs
  23540. - Fixes DrawFocusRectangle
  23541. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  23542. * MenuAPI.cs:
  23543. - MenuBar tracking only starts when item is first clicked
  23544. - Fixes menu hidding for multiple subitems
  23545. - Unselect item in MenuBar when item Executed
  23546. - Fixes bug 71495
  23547. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  23548. * ListControl.cs:
  23549. - IsInputKey for ListBox
  23550. * ListBox.cs:
  23551. - Focus item
  23552. - Shift and Control item selection
  23553. - Implement SelectionMode.MultiExtended
  23554. - Fixes RightToLeft
  23555. * ComboBox.cs:
  23556. - IsInputKey implemented
  23557. - Do not generate OnTextChangedEdit on internal txt changes
  23558. 2005-01-23 Peter Bartok <[email protected]>
  23559. * AccessibleObject.cs: Partially implemented Select()
  23560. * MonthCalendar.cs: Added missing attributes and events
  23561. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  23562. form can properly override CreateParams.
  23563. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  23564. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  23565. Control performs Invalidate & Update
  23566. * NativeWindow (CreateHandle): Added special handling for Form
  23567. and Form.FormParent classes to allow overriding of From.CreateParams
  23568. * Control.cs:
  23569. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  23570. name 'owner'
  23571. - ControlNativeWindow: Added Owner property
  23572. - Removed usage of Refresh() on property changes, changed into
  23573. Invalidate(), we need to wait until the queue is processed for
  23574. updates, direct calls might cause problems if not all vars for
  23575. Paint are initialized
  23576. - Added call to UpdateStyles() when creating the window, to set any
  23577. styles that CreateWindow might have ignored.
  23578. - Added support for Form CreateParent overrides to UpdateStyles()
  23579. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  23580. CreateParams are now properly overridable
  23581. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  23582. CreateParams are now properly overridable
  23583. 2005-01-23 Miguel de Icaza <[email protected]>
  23584. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  23585. OnTextBoxChanged.
  23586. Capture LostFocus and OnTextBoxChanged. The later introduces a
  23587. recursive invocation that I have not figured out yet.
  23588. Reset the timer when not using (it was accumulating).
  23589. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  23590. user has made changes that require validation.
  23591. Reset changing to avoid loops.
  23592. 2005-01-22 Miguel de Icaza <[email protected]>
  23593. * NumericUpDown.cs: Display value at startup.
  23594. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  23595. ValidateEditText.
  23596. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  23597. filled in. Added some basic parsing of text.
  23598. Still missing the OnXXX method overrides, and figuring out the
  23599. events that must be emitted.
  23600. * UpDownBase.cs: Handle UserEdit on the Text property.
  23601. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  23602. * ComboBox.cs:
  23603. - Fixes IntegralHeight
  23604. - ToString method
  23605. 2005-01-21 Jackson Harper <[email protected]>
  23606. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  23607. is set so that the page visibility is updated and the tabs are
  23608. sized correctly.
  23609. 2005-01-21 Jackson Harper <[email protected]>
  23610. * TabControl.cs: Use cliping rectangle for blitting. Give the
  23611. theme the clipping rect so we can do clipping while
  23612. drawing. Remove some debug code.
  23613. 2005-01-21 Jackson Harper <[email protected]>
  23614. * TabPage.cs: Add a new method so tab pages can force the tab
  23615. control to recalculate the tab page sizes.
  23616. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  23617. sizes.
  23618. 2005-01-20 Jackson Harper <[email protected]>
  23619. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  23620. 2005-01-20 Jackson Harper <[email protected]>
  23621. * TreeView.cs: Set the bounds for nodes properly. They were
  23622. getting screwed up when checkboxes were not enabled, but images
  23623. were.
  23624. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  23625. * ListBox.cs:
  23626. - Owner draw support
  23627. - Fixes
  23628. 2005-01-20 Jackson Harper <[email protected]>
  23629. * XplatUIStructs.cs: More misc keys
  23630. * X11Keyboard.cs: Ignore some control keys.
  23631. 2005-01-20 Jackson Harper <[email protected]>
  23632. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  23633. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  23634. 2005-01-19 Peter Bartok <[email protected]>
  23635. * Control.cs: Un-selecting the control when it is loosing focus
  23636. 2005-01-19 Jackson Harper <[email protected]>
  23637. * TreeView.cs: Hook up to the text controls leave event so we can
  23638. end editing when the users clicks outside the text box.
  23639. 2005-01-19 Jackson Harper <[email protected]>
  23640. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  23641. get set in the conversion array.
  23642. 2005-01-19 Peter Bartok <[email protected]>
  23643. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  23644. focus is properly set
  23645. * Button.cs:
  23646. - Added missing attributes
  23647. - removed styles, those are already set in the base class
  23648. * ButtonBase.cs:
  23649. - Added missing attributes
  23650. - Added clip window styles
  23651. * CheckBox.cs: Added missing attributes
  23652. * CommonDialog.cs:
  23653. - FormParentWindow.CreateParams: Added required clip styles
  23654. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  23655. also filters modifier keys
  23656. * MessageBox.cs:
  23657. - Added assignment of Accept and Cancel button to enable Enter
  23658. and Esc keys in MessageBox dialogs
  23659. - FormParentWindow.CreateParams: Added required clip styles
  23660. * RadioButton.cs: Added missing attributes
  23661. * TextControl.cs: No longer draws selection if control does not
  23662. have focus
  23663. * TextBoxBase.cs:
  23664. - Now draws simple rectangle around test area to make it obvious
  23665. there's a control. This is a hack until we properly support borders
  23666. - A few simple fixes to support selections better, now erases selected
  23667. text when typing, and resets selection when using movement keys
  23668. 2005-01-19 Miguel de Icaza <[email protected]>
  23669. * UpDownBase.cs: Added some new properties.
  23670. * DomainUpDown.cs: Implement a lot to get my test working.
  23671. 2005-01-19 Geoff Norton <[email protected]>
  23672. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  23673. 2005-01-19 Geoff Norton <[email protected]>
  23674. * OSXStructs (WindowAttributes): Fixed csc complaints
  23675. 2005-01-19 Geoff Norton <[email protected]>
  23676. * XplayUIOSX.cs:
  23677. OSXStructs.cs: Initial refactor to move enums and consts into
  23678. OSXStructs and use them in the driver for greater readability.
  23679. 2005-01-19 Geoff Norton <[email protected]>
  23680. * XplatUIOSX.cs: Initial support for Standard Cursors.
  23681. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  23682. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  23683. * ComboBox.cs: ability to change style when the ctrl is already
  23684. created, missing methods and events, bug fixes, signature fixes
  23685. 2005-01-19 Peter Bartok <[email protected]>
  23686. * Cursors.cs (ctor): Added ctor to fix signature
  23687. 2005-01-18 Peter Bartok <[email protected]>
  23688. * Button.cs: Implemented DoubleClick event
  23689. * ButtonBase.cs:
  23690. - Fixed keyboard handling to behave like MS, where the press of
  23691. Spacebar is equivalent to a mousedown, and the key release is
  23692. equivalent to mouseup. Now a spacebar push will give the same
  23693. visual feedback like a mouse click.
  23694. - Added missing attributes
  23695. - Added ImeModeChanged event
  23696. - Added support for generating DoubleClick event for derived classes
  23697. * CheckBox.cs:
  23698. - Implemented DoubleClick event
  23699. - Added missing attributes
  23700. * CommonDialog.cs: Added missing attribute
  23701. * ContextMenu.cs: Added missing attributes
  23702. * RadioButton.cs:
  23703. - AutoChecked buttons do not allow to be unselected when clicked
  23704. (otherwise we might end up with no selected buttons in a group)
  23705. - Added missing attributes
  23706. - Implemented DoubleClickEvent
  23707. * ThreadExceptionDialog.cs: Enabled TextBox code
  23708. 2005-01-18 Peter Bartok <[email protected]>
  23709. * Form.cs: Removed debug output
  23710. * Button.cs: Added support for DoubleClick method
  23711. 2005-01-18 Peter Bartok <[email protected]>
  23712. * Form.cs:
  23713. - Added method to parent window that allows triggering size
  23714. calculations when a menu is added/removed
  23715. - set_Menu: Cleaned up mess from early days of Form and Control,
  23716. now properly triggers a recalc when a menu is added/removed
  23717. - Added case to select form itself as focused form if no child
  23718. controls exist
  23719. - Added PerformLayout call when showing dialog, to ensure properly
  23720. placed controls
  23721. * Control.cs:
  23722. - Select(): Made internal so Form can access it
  23723. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  23724. status
  23725. * Application.cs (Run): Removed hack and calls PerformLayout instead
  23726. to trigger calculation when Form becomes visible
  23727. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  23728. * ComboBox.cs: fixes for ownerdraw
  23729. 2005-01-18 Peter Bartok <[email protected]>
  23730. * TextControl.cs:
  23731. - Sentinel is no longer static, each Document gets it's own, this
  23732. avoids locking or alternatively overwrite problems when more
  23733. than one text control is used simultaneously.
  23734. - Switched to use Hilight and HilightText brushes for text selection
  23735. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  23736. 2005-01-18 Peter Bartok <[email protected]>
  23737. * Control.cs:
  23738. - Hooked up the following events:
  23739. o ControlAdded
  23740. o ControlRemoved
  23741. o HandleDestroyed
  23742. o ImeModeChanged
  23743. o ParentChanged
  23744. o TabStopChanged
  23745. o Invalidated
  23746. o SystemColorsChanged
  23747. o ParentFontChanged
  23748. o Move
  23749. - Removed debug output
  23750. - Added a call to the current theme's ResetDefaults when a color change
  23751. is detected
  23752. * Form.cs: Now setting the proper ImeMode
  23753. * Theme.cs: Defined a method to force recreation of cached resources
  23754. and rereading of system defaults (ResetDefaults())
  23755. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  23756. 2005-01-17 Peter Bartok <[email protected]>
  23757. * Control.cs: Added missing attributes
  23758. 2005-01-17 Jackson Harper <[email protected]>
  23759. * TreeNode.cs: Implement editing. Add missing properties selected
  23760. and visible.
  23761. * TreeView.cs: Implement node editing. Also some fixes to use
  23762. Invalidate (invalid area) instead of Refresh when selecting.
  23763. 2005-01-17 Peter Bartok <[email protected]>
  23764. * Control.cs:
  23765. - Implemented InvokeGotFocus() method
  23766. - Implemented InvokeLostFocus() method
  23767. - Implemented InvokePaint() method
  23768. - Implemented InvokePaintBackground() method
  23769. - Implemented InvokeClick() method
  23770. - Implemented FindForm() method
  23771. - Implemented RectangleToClient() method
  23772. - Implemented ClientToRectangle() method
  23773. - Implemented ResetBackColor() method
  23774. - Implemented ResetCursor() method
  23775. - Implemented ResetFont() method
  23776. - Implemented ResteForeColor() method
  23777. - Implemented ResetImeMode() method
  23778. - Implemented ResetLeftToRight() method
  23779. - Implemented ResetText() method
  23780. - Implemented Scale() methods
  23781. - Implemented ScaleCore() method
  23782. - Implemented Update() method
  23783. - Removed unused variables
  23784. - Stubbed AccessibilityNotifyClients and
  23785. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  23786. with those yet)
  23787. - Now setting proper default for RightToLeft property
  23788. - Fixed bug in SetClientSizeCore that would cause windows to get
  23789. really big
  23790. - Now sending Click/DoubleClick events
  23791. - Now selecting controls when left mouse button is clicked on
  23792. selectable control
  23793. * AccessibleEvents.cs: Added
  23794. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  23795. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  23796. * XplatUIWin32.cs: Implemented UpdateWindow() method
  23797. * XplatUIX11.cs: Implemented UpdateWindow() method
  23798. * Form.cs: Removed stray semicolon causing CS0162 warning
  23799. * ThemeWin32Classic.cs: Fixed unused variable warnings
  23800. * ScrollableControl.cs: Now calls base method for ScaleCore
  23801. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  23802. style to avoid interference with internal click handler (which is
  23803. different than standard Control click handling)
  23804. * RadioButton.cs:
  23805. - Now unchecks all sibling radio buttons when control is
  23806. selected (Fixes #68756)
  23807. - Removed internal tabstop variable, using the one inherited from
  23808. Control
  23809. 2005-01-17 Jackson Harper <[email protected]>
  23810. * NavigateEventArgs.cs: Fix base type.
  23811. * LinkLabel.cs: Sig fix
  23812. 2005-01-17 Jackson Harper <[email protected]>
  23813. * TreeView.cs: Only invalidate the effected nodes bounds when
  23814. selecting nodes.
  23815. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  23816. * XplatUIWin32.cs: fixes Win32 marshaling
  23817. * XplatUIX11.cs: fixes method signature
  23818. 2005-01-17 Peter Bartok <[email protected]>
  23819. * XplatUIX11.cs: Clean up resources when we no longer need them
  23820. 2005-01-17 Peter Bartok <[email protected]>
  23821. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  23822. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  23823. and DestroyCursor() methods.
  23824. * Cursor.cs: Partially implemented, now supports standard cursors;
  23825. still contains some debug code
  23826. * Cursors.cs: Implemented class
  23827. * Control.cs:
  23828. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  23829. appropriate cursor
  23830. - Implemented Cursor property
  23831. - Replaced break; with return; more straightforwar and possibly
  23832. faster
  23833. - Now properly setting the result for WM_HELP
  23834. * X11Structs.cs: Added CursorFontShape enum
  23835. * XplatUIStructs.cs:
  23836. - Added StdCursor enum (to support DefineStdCursor() method)
  23837. - Added HitTest enum (to support sending WM_SETCURSOR message)
  23838. * XplatUIX11.cs:
  23839. - Now sends the WM_SETCURSOR message
  23840. - Implemented new cursor methods
  23841. * XplatUIOSX.cs: Stubbed new cursor methods
  23842. * XplatUIWin32.cs:
  23843. - Implemented new cursor methods
  23844. - Added GetSystemMetrics function and associated enumeration
  23845. 2005-01-15 Peter Bartok <[email protected]>
  23846. * Control.cs:
  23847. - WndProc(): Now handles EnableNotifyMessage
  23848. - SelectNextControl(): Fixed bug where if no child or sibling
  23849. controls exist we looped endlessly
  23850. 2005-01-14 Jackson Harper <[email protected]>
  23851. * TreeView.cs: Recalculate the tab pages when a new one is added
  23852. so that the proper bounding rects are created.
  23853. 2005-01-14 Jackson Harper <[email protected]>
  23854. * TreeView.cs: Draw a gray box instead of a grip in the lower
  23855. right hand corner when there are both horizontal and vertical
  23856. scroll bars.
  23857. 2005-01-14 Jackson Harper <[email protected]>
  23858. * Control.cs: When erasing backgrounds use FromHwnd instead of
  23859. FromHdc when there is a NULL wparam. This occurs on the X driver.
  23860. * XplatUIX11.cs: Set the wparam to NULL.
  23861. 2005-01-13 Jackson Harper <[email protected]>
  23862. * PictureBox.cs: Implement missing methods (except ToString, need
  23863. to test that on windows) and events. When visibility is changed we
  23864. need to redraw the image because the buffers are killed. When size
  23865. is changed refresh if the sizemode needs it.
  23866. 2005-01-13 Peter Bartok <[email protected]>
  23867. * Control.cs (SelectNextControl): Was using wrong method to select
  23868. a control
  23869. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  23870. * ComboBox.cs: fixes dropstyle
  23871. 2005-01-13 Peter Bartok <[email protected]>
  23872. * Form.cs:
  23873. - Implemented Select() override
  23874. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  23875. - Now sets keyboard focus on startup
  23876. * Control.cs (SelectNextControl): Now properly handles directed=true
  23877. * TextBoxBase.cs:
  23878. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  23879. - Added (really bad) focus rectangle (mostly for testing)
  23880. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  23881. to enforce redraw on focus changes
  23882. * ContainerControl.cs:
  23883. - Fixed detection of Shift-Tab key presses
  23884. - Fixed traversal with arrow keys
  23885. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  23886. gonna keep this or if it's complete yet
  23887. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  23888. * ComboBox.cs: missing properties, fixes
  23889. 2005-01-13 Peter Bartok <[email protected]>
  23890. * Panel.cs (ctor): Setting Selectable window style to off
  23891. * Splitter.cs (ctor): Setting Selectable window style to off
  23892. * GroupBox.cs (ctor): Setting Selectable window style to off
  23893. * Label.cs (ctor): Setting Selectable window style to off
  23894. 2005-01-12 Miguel de Icaza <[email protected]>
  23895. * UpDownBase.cs (InitTimer): If the timer has been already
  23896. created, enable it.
  23897. Use a TextBox instead of a Label.
  23898. 2005-01-12 Jackson Harper <[email protected]>
  23899. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  23900. draw the connecting node lines (when ShowLines is true).
  23901. * TreeNode.cs: The nodes index can now be updated. This is used
  23902. when a node collection is sorted.
  23903. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  23904. insert or an existing unsorted node collection can be sorted.
  23905. 2005-01-12 Peter Bartok <[email protected]>
  23906. * ContainerControl.cs: Implemented ProcessDialogKeys()
  23907. 2005-01-12 Peter Bartok <[email protected]>
  23908. * Control.cs:
  23909. - Implemented SelectNextControl() method
  23910. - Several focus related bug fixes
  23911. - Fixed Docking calculations to match MS documentation and
  23912. behaviour
  23913. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  23914. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  23915. bug fixes
  23916. 2005-01-12 Peter Bartok <[email protected]>
  23917. * Control.cs:
  23918. - Fixed broken Contains() method
  23919. - Implemented GetNextControl() method. Finally. This is the pre-
  23920. requisite for focus handling.
  23921. 2005-01-12 Peter Bartok <[email protected]>
  23922. * OSXStrucs.cs: Added
  23923. 2005-01-12 Peter Bartok <[email protected]>
  23924. * XplatUIWin32.cs:
  23925. - Removed PeekMessageFlags
  23926. - Implemented SetWindowStyle() method
  23927. * XplatUIStructs.cs: Added PeekMessageFlags
  23928. * X11Structs: Added missing border_width field to XWindowChanges struct
  23929. * XplatUIX11.cs:
  23930. - PeekMessage: Now throws exception if flags which are not yet
  23931. supported are passed
  23932. - Implemented SetWindowStyle() method
  23933. - Fixed SetZOrder to handle AfterHwnd properly
  23934. * XplatUI.cs: Added SetWindowStyle() method
  23935. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  23936. * Control.cs:
  23937. - Implemented UpdateStyles() method
  23938. - Implemented UpdateZOrder() method
  23939. * XplatUIOSX.cs: Added SetWindowStyle() stub
  23940. 2005-01-12 Geoff Norton <[email protected]>
  23941. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  23942. button mouse).
  23943. 2005-01-11 Jackson Harper <[email protected]>
  23944. * TreeView.cs: Still need to draw lines to siblings even if out of
  23945. the current node is out of the clip.
  23946. 2005-01-11 Jackson Harper <[email protected]>
  23947. * TreeView.cs: When setting the hbar/vbar/grip position use
  23948. SetBounds so that perform layout is only called once. Also suspend
  23949. and resume layout so layout is only done once for all controls.
  23950. - Removed some debug fluff
  23951. * SizeGrip.cs: Call base implmentation in overriding methods.
  23952. - When visibility is changed the drawing buffers are killed so we
  23953. need to redraw.
  23954. 2005-01-11 Jackson Harper <[email protected]>
  23955. * TreeView.cs: Calculate the open node count while drawing. This
  23956. saves us an entire tree traversal for every paint operation. Use
  23957. a member var for the open node count so less vars are passed around.
  23958. 2005-01-11 John BouAntoun <[email protected]>
  23959. * MonthCalendar.cs:
  23960. - fixed selection to use mousemove, not mouse polling on timer
  23961. * ThemeWin32Classic.cs
  23962. - removed redundant unused variable "no_more_content"
  23963. 2005-01-11 Peter Bartok <[email protected]>
  23964. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  23965. are pending, so it now calls PeekMessage instead of GetMessage;
  23966. implemented a incomplete version of PeekMessage
  23967. 2005-01-11 Peter Bartok <[email protected]>
  23968. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  23969. I18n issues
  23970. * TextBoxBase.cs: Added sending of TextChanged event
  23971. 2005-01-10 Jackson Harper <[email protected]>
  23972. * TreeView.cs: Try not to draw outside the clipping rectangle on
  23973. each node element.
  23974. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  23975. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  23976. 2005-01-10 Jackson Harper <[email protected]>
  23977. * TreeView.cs:
  23978. - Implement fast scrolling. Now only the newly
  23979. exposed nodes are drawn and the old image is moved using the
  23980. XplatUI::ScrollWindow method.
  23981. - Factor in height of nodes when calculating whether or not the
  23982. node is in the clipping rect.
  23983. 2005-01-10 Jackson Harper <[email protected]>
  23984. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  23985. 2005-01-10 Peter Bartok <[email protected]>
  23986. * Application.cs: Added temporary hack to resolve all our resize
  23987. required issues on startup. This will get fixed properly at
  23988. some point in the future
  23989. 2005-01-10 Jackson Harper <[email protected]>
  23990. * SizeGrip.cs: New internal class that is used as a sizing
  23991. grip control...hence the name.
  23992. 2005-01-10 Peter Bartok <[email protected]>
  23993. * Control.cs: Implemented proper TabIndex handling, now assigning
  23994. a tabindex when a control is added to a container
  23995. * GroupBox.cs (ctor): Now sets the Container style bit, required
  23996. for Control.GetNextControl()
  23997. 2005-01-09 Jackson Harper <[email protected]>
  23998. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  23999. 2005-01-09 Peter Bartok <[email protected]>
  24000. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  24001. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  24002. an overload for ScrollWindow to allow only scrolling a rectangle
  24003. 2005-01-09 Peter Bartok <[email protected]>
  24004. * Form.cs:
  24005. - Implemented SetDesktopBounds method
  24006. - Implemented SetDesktopLocation method
  24007. 2005-01-08 Jackson Harper <[email protected]>
  24008. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  24009. the node count has changed, this removes to VScroll::Refresh calls
  24010. when drawing.
  24011. 2005-01-08 Geoff Norton <[email protected]>
  24012. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  24013. 2005-01-07 Jackson Harper <[email protected]>
  24014. * TreeNode.cs: Just update the single node when it is
  24015. checked. Don't refresh after toggling, the Expand/Collapse already
  24016. handles this.
  24017. * TreeView.cs: Respect clipping a little more when drawing. Try
  24018. not to redraw things that don't need to be redrawn. Just hide the
  24019. scrollbars when they are no longer needed instead of removing
  24020. them, so they don't have to be created again and again.
  24021. 2005-01-07 Geoff Norton <[email protected]>
  24022. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  24023. coordinates to window space to place the caret properly, FIXED.
  24024. Implement GetWindowState & SetWindowState
  24025. 2005-01-06 Peter Bartok <[email protected]>
  24026. * Form.cs:
  24027. - Implemented ClientSize property
  24028. - Implemented DesktopBounds property
  24029. - Implemented DesktopLocation property
  24030. - Implemented IsRestrictedWindow property
  24031. - Implemented Size property
  24032. - Implemented TopLevel property
  24033. - Implemented FormWindowState property
  24034. * Control.cs:
  24035. - Implemented GetTopLevel() method
  24036. - Implemented SetTopLevel() method
  24037. * X11Structs.cs (Atom):
  24038. - Added AnyPropertyType definition
  24039. - Added MapState definiton and updated XWindowAttribute struct
  24040. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  24041. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  24042. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  24043. * XplatUIWin32.cs:
  24044. - Implemented GetWindowState() and SetWindowState() methods
  24045. - Fixed Win32GetWindowLong return type
  24046. * XplatUIX11.cs:
  24047. - Introduced central function for sending NET_WM messages
  24048. - Implemented GetWindowState() and SetWindowState() methods
  24049. * TextBoxBase.cs (set_Lines):
  24050. - Now uses Foreground color for text added via Text property (Duh!)
  24051. - Added code to remember programmatically requested size (fixes
  24052. behaviour when Multiline is set after Size)
  24053. - Added AutoSize logic
  24054. 2005-01-06 Jackson Harper <[email protected]>
  24055. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  24056. 2005-01-06 Jackson Harper <[email protected]>
  24057. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  24058. set to less then 0.
  24059. 2005-01-06 Jackson Harper <[email protected]>
  24060. * ScrollableControl.cs: Lazy init the scrollbars.
  24061. 2005-01-06 Jackson Harper <[email protected]>
  24062. * Theme.cs: Speed up getting pens and solid brushes, by using
  24063. their ARGB as a hash instead of tostring and not calling Contains.
  24064. 2005-01-06 Peter Bartok <[email protected]>
  24065. * Form.cs:
  24066. - Implemented OnActivated and OnDeactivate event trigger
  24067. - Implemented Activate() method
  24068. - Fixed ShowDialog() to activate the form that was active before
  24069. the dialog was shown
  24070. * XplatUIX11.cs:
  24071. - Added global active_window var that tracks the currently active
  24072. X11 window
  24073. - Now always grabs Property changes from the root window to always
  24074. catch changes on the active window property
  24075. - Added code to PropertyNotify handler to send Active/Inactive
  24076. messages when state changes. This puts X11 and Win32 en par on
  24077. WM_ACTIVATE notifications (except for double notifications when
  24078. the user clicks away from our modal window to another one of our
  24079. windows)
  24080. 2005-01-05 Jackson Harper <[email protected]>
  24081. * ImageList.cs: Implment ctor
  24082. 2005-01-05 Geoff Norton <[email protected]>
  24083. * XplatUIOSX.cs: Implement Activate/SetTopmost
  24084. 2005-01-05 Geoff Norton <[email protected]>
  24085. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  24086. 2005-01-05 Geoff Norton <[email protected]>
  24087. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  24088. 2005-01-05 Peter Bartok <[email protected]>
  24089. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  24090. XplatUIOSX.cs: Added GetActive method to return the currently
  24091. active window for the application (or null, if none is active)
  24092. * Form.cs:
  24093. - Implemented ActiveForm
  24094. - Commented out owner assignment for modal dialogs (causes problems
  24095. on Win32, since the owner will be disabled)
  24096. - Reworked some Active/Focus handling (still incomplete)
  24097. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  24098. (causes problems on Win32, since the owner will be disabled)
  24099. * IWin32Window: Added ComVisible attribute
  24100. 2005-01-05 Peter Bartok <[email protected]>
  24101. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  24102. required XplatUI functions.
  24103. 2005-01-05 Peter Bartok <[email protected]>
  24104. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  24105. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  24106. to implement focus and activation handling; still incomplete and
  24107. with debug output
  24108. 2005-01-04 Peter Bartok <[email protected]>
  24109. * TextBoxBase.cs: Changed access level for Document property to
  24110. match switch to internal for TextControl
  24111. 2005-01-04 Peter Bartok <[email protected]>
  24112. * AccessibleObject: Added ComVisible attribute
  24113. 2005-01-04 Jackson Harper <[email protected]>
  24114. * X11Keyboard.cs: Remove unneeded var.
  24115. 2005-01-04 Jackson Harper <[email protected]>
  24116. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  24117. but PAINT.
  24118. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  24119. ClientMessage. This makes apps exit cleanly (more often).
  24120. 2005-01-04 Jackson Harper <[email protected]>
  24121. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  24122. handling focus, return correct colors and fonts,
  24123. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  24124. handle selection, horizontal scrolling, and mouse interaction.
  24125. 2005-01-04 Peter Bartok <[email protected]>
  24126. * ICommandExecutor.cs: Added
  24127. * IDataGridColumnStyleEditingNotificationService.cs: Added
  24128. * IFeatureSupport.cs: Added
  24129. * IFileReaderService.cs: Added
  24130. * IDataObject.cs: Added ComVisible attribute
  24131. * AmbientProperties.cs: Added
  24132. * BaseCollection.cs: Added missing attributes
  24133. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  24134. * BaseCollection.cs: Added missing attributes
  24135. * Binding.cs: Added TypeConverter attribute
  24136. * BindingContext.cs: Added DefaultEvent attribute
  24137. * BindingsCollection.cs: Added DefaultEvent attribute
  24138. * Button.cs: Added DefaultValue attribute
  24139. * DragEventArgs.cs: Added ComVisible attribute
  24140. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  24141. * KeyEventArgs.cs: Added ComVisible attribute
  24142. * KeyPressEventArgs.cs: Added ComVisible attribute
  24143. * MouseEventArgs.cs: Added ComVisible attribute
  24144. * NavigateEventArgs.cs: Added
  24145. * NavigateEventHandler.cs: Added
  24146. * FeatureSupport.cs: Added
  24147. * OSFeature.cs: Added
  24148. * Theme.cs: Added abstract Version property to support OSFeature
  24149. * ThemeWin32Classic.cs: Added Version property to
  24150. support OSFeature.Themes
  24151. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  24152. the proper styles to avoid background drawing are set, also doesn't
  24153. match MS signature
  24154. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  24155. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  24156. * ScrollEventArgs.cs: Added ComVisible attribute
  24157. * SplitterEventArgs.cs: Added ComVisible attribute
  24158. * AccessibleSelection.cs: Added Flags attribute
  24159. * Appearance.cs: Added ComVisible attribute
  24160. * Border3DSide.cs: Added ComVisible attribute
  24161. * Border3DStyle.cs: Added ComVisible attribute
  24162. * BorderStyle.cs: Added ComVisible attribute
  24163. * DragAction.cs: Added ComVisible attribute
  24164. * ErrorBlinkStyle.cs: Added
  24165. * ScrollEventType.cs: Added ComVisible attribute
  24166. * AnchorStyles.cs: Added Editor attribute
  24167. * DockStyle.cs: Added Editor attribute
  24168. * HorizontalAlignment.cs: Added ComVisible attribute
  24169. * HelpEventArgs.cs: Added ComVisible attribute
  24170. * PaintEventArgs.cs: Added IDisposable
  24171. 2005-01-04 Peter Bartok <[email protected]>
  24172. * TextControl.cs: Switched Line, LineTag and Document classes to
  24173. internal
  24174. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  24175. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  24176. Simple mode, fixes, IntegralHeight, etc.
  24177. 2005-01-04 Peter Bartok <[email protected]>
  24178. * TextBoxBase.cs: Using proper font variable now
  24179. 2005-01-04 Peter Bartok <[email protected]>
  24180. * Form.cs (ShowDialog): Set parent to owner, if provided
  24181. * GroupBox.cs: Removed unused vars
  24182. * TextControl.cs:
  24183. - Added GetHashCode() for Document and LineTag classes
  24184. - Removed unused variables
  24185. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  24186. to allow translation between continuous char position and line/pos
  24187. * CheckBox.cs: Removed vars that are provided by base class
  24188. * RadioButton.cs: Removed vars that are provided by base class, added
  24189. new keyword where required
  24190. * LinkLabel.cs: Added new keyword where required
  24191. * Control.cs (WndProc): Removed unused variable
  24192. * TextBoxBase.cs:
  24193. - Finished SelectionLength property
  24194. - Implemented SelectionStart property
  24195. - Implemented Text property
  24196. - Removed unused vars
  24197. * MessageBox.cs: Added new keyword where required
  24198. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  24199. WndProc signature
  24200. * MenuAPI.cs: Added new keyword where required
  24201. * ButtonBase.cs: Removed vars that are provided by base class, added
  24202. new keyword where required
  24203. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  24204. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  24205. into this)
  24206. * Application.cs (Run): Now triggers the ThreadExit event
  24207. * CommonDialog.cs: Added new keyword where required; now properly sets
  24208. parent (owner) for dialog
  24209. * XplatUIX11.cs: Commented out unused vars
  24210. * StatusBar.cs: Fixed signature for Text property
  24211. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  24212. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  24213. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  24214. TrackBar.cs, MonthCalendar.cs: remove unused vars
  24215. 2005-01-03 Jackson Harper <[email protected]>
  24216. * ThemeWin32Classic.cs:
  24217. * X11Keyboard.cs: Remove unused vars.
  24218. 2005-01-03 Peter Bartok <[email protected]>
  24219. * TextBox.cs:
  24220. - set_Text: Tied into TextControl
  24221. - set_TextAlignment: Tied into TextControl
  24222. * TextControl.cs:
  24223. - Added alignment properties and implemented alignment handling
  24224. and drawing (still has a bug, not generating proper expose events)
  24225. - Added new Line() constructor to allow passing the line alignment
  24226. - Fixed selection setting, properly handling end<start now
  24227. - Added aligment considerations to RecalculateDocument()
  24228. * TextBoxBase.cs:
  24229. - Now properly enforces control height for single line controls
  24230. - Added support for CharacterCasing
  24231. - Added IsInputKey override
  24232. - Fixed Keys.Enter logic
  24233. - Added SetBoundsCore override
  24234. - Fixed mouse selection handling
  24235. 2005-01-03 Jackson Harper <[email protected]>
  24236. * TreeView.cs:
  24237. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  24238. - Checkboxes are always aligned to the bottom of the node,
  24239. regardless of item height.
  24240. - Use the node bounds to draw the text so we can center it when
  24241. the item height is greater then the font height.
  24242. - Node::Bounds are only the text part of the node.
  24243. * TreeNode.cs: New method to combine collapsing and unchecking all
  24244. nodes recursively.
  24245. 2005-01-02 Jackson Harper <[email protected]>
  24246. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  24247. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  24248. tree when a check is changed. TODO: Only refresh the checked node.
  24249. 2004-12-30 Jackson Harper <[email protected]>
  24250. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  24251. * TreeNode.cs: When collapsing make sure to never collapse the
  24252. root node.
  24253. 2004-12-29 Jackson Harper <[email protected]>
  24254. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  24255. 2004-12-28 Zoltan Varga <[email protected]>
  24256. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  24257. 2004-12-28 Peter Bartok <[email protected]>
  24258. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  24259. not yet assigned
  24260. 2004-12-28 Peter Bartok <[email protected]>
  24261. * Control.cs (WndProc): Added WM_HELP handler, now generates
  24262. HelpRequested event
  24263. * Form.cs: Added HelpButton property and required support code
  24264. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  24265. 2004-12-28 Peter Bartok <[email protected]>
  24266. * CommonDialog.cs:
  24267. - Made DialogForm.owner variable internal
  24268. - Added check to ensure owner form is set before setting
  24269. owner properties in CreateParams
  24270. 2004-12-28 Geoff Norton <[email protected]>
  24271. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  24272. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  24273. GetCursorPos. Fix major visibility issues. Rework the windowing
  24274. system to support borderless/titleless windows (implements menus).
  24275. Fix GetWindowPos. Implement initial background color support for
  24276. views.
  24277. 2004-12-28 Peter Bartok <[email protected]>
  24278. * Form.cs (get_CreateParams): Make sure we have an owner before using
  24279. the owner variable. Implement proper default if no owner exists
  24280. 2004-12-28 Peter Bartok <[email protected]>
  24281. * In preparation for making Managed.Windows.Forms the default build target
  24282. for System.Windows.Forms, the following stubbed files were added.
  24283. Dialogs are currently being implemented by contributors and are only
  24284. short-term place holders.
  24285. * ColorDialog.cs: Initial check-in (minmal stub)
  24286. * DataGrid.cs: Initial check-in (minimal stub)
  24287. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  24288. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  24289. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  24290. * FontDialog.cs: Initial check-in (minimal stub)
  24291. * FileDialog.cs: Initial check-in (minimal stub)
  24292. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  24293. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  24294. * OpenFileDialog: Initial check-in (minimal stub)
  24295. * IComponentEditorPageSite.cs: Initial check-in
  24296. * Splitter.cs: Initial check-in (for Jackson)
  24297. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  24298. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  24299. * TextBox.cs: Initial check-in; still needs some wiring to
  24300. TextControl backend
  24301. * Form.cs: Implemented ControlBox property
  24302. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  24303. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  24304. * TextControl.cs: Added selection functionality; added todo header
  24305. * TextBoxBase.cs:
  24306. - Implemented Lines property
  24307. - Implemented TextHeight property
  24308. - Implemented SelectedText property
  24309. - Implemented SelectionLength property
  24310. - Implemented SelectAll method
  24311. - Implemented ToString method
  24312. - Removed and cleaned up some debug code
  24313. - Implemented (still buggy) mouse text selection
  24314. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  24315. * ComboBox.cs: Complete DropDownList implementation, fixes.
  24316. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  24317. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  24318. * ComboBoxStyle.cs: ComboBoxStyle enum
  24319. * ComboBox.cs: Initial work on ComboBox control
  24320. 2004-12-21 Peter Bartok <[email protected]>
  24321. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  24322. forward so that anything that creates a window gets the default,
  24323. also no longer uses Visible property in CreateParams to avoid
  24324. walking up the parent chain and possibly get the wrong visible
  24325. status. Fixed IsVisible to no longer walk up to the parent.
  24326. 2004-12-21 Peter Bartok <[email protected]>
  24327. * Form.cs (ShowDialog): Unset modality for the proper window
  24328. 2004-12-20 Peter Bartok <[email protected]>
  24329. * CommonDialog.cs: Initial check-in
  24330. 2004-12-20 Peter Bartok <[email protected]>
  24331. * Control.cs (Visible): Now uses the parent window instead of the
  24332. client area window for the property
  24333. * Form.cs
  24334. - ShowDialog(): Now uses the proper window for modality
  24335. - The default visibility state for the form parent is now false. This
  24336. will prevent the user from seeing all the changes to the form and
  24337. its controls before the application hits Application.Run()
  24338. - Removed some stale commented out code
  24339. * NativeWindow.cs:
  24340. - Added FindWindow() method to have a method to check for existence
  24341. of a window handle
  24342. - Added ability to override default exception handling (for example
  24343. when debugging with VS.Net; to do this the ExternalExceptionHandler
  24344. define must be set
  24345. - Removed some useless debug output
  24346. * XplatUIX11.cs:
  24347. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  24348. not working as expected
  24349. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  24350. property to allow switching back to the modal window if focus is
  24351. given to another one of our windows (Application Modal)
  24352. - Now only sets override_redirect if we create a window
  24353. without WS_CAPTION
  24354. - Moved EventMask selection before mapping of newly created window
  24355. so we can catch the map event as well
  24356. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  24357. - Added various Atom related DllImports
  24358. - Implemented Exit() method
  24359. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  24360. in the CreateParams
  24361. * MessageBox.cs: Now properly deals with the FormParent window by
  24362. providing an override the FormParent CreateParams property to
  24363. set as POPUP instead of OVERLAPPED window.
  24364. 2004-12-19 Geoff Norton <[email protected]>
  24365. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  24366. Minor code cleanup.
  24367. 2004-12-19 Geoff Norton <[email protected]>
  24368. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  24369. 2004-12-18 Peter Bartok <[email protected]>
  24370. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  24371. implementing SetModal() method
  24372. 2004-12-18 Peter Bartok <[email protected]>
  24373. * X11Structs.cs (XGCValues): Fixed type of function element
  24374. * XplatUI.cs: Added ScrollWindow() method
  24375. * XplatUIDriver.cs: Added ScrollWindow() abstract
  24376. * XplatUIWin32.cs: Implemented ScrollWindow() method
  24377. * XplatUIX11.cs: Implemented ScrollWindow() method
  24378. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  24379. 2004-12-17 Geoff Norton <[email protected]>
  24380. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  24381. Some more keyboard support (INCOMPLETE)
  24382. 2004-12-17 Peter Bartok <[email protected]>
  24383. * TextControl.cs:
  24384. - Added color attribute to line tags.
  24385. - Added color argument to all functions dealing with tags
  24386. - Added color argument support to various functions
  24387. - Fixed miss-calculation of baseline/shift in certain circumstances
  24388. * TextBoxBase.cs: Added new color option to test code
  24389. 2004-12-17 Jackson Harper <[email protected]>
  24390. * TreeNode.cs:
  24391. * MonthCalendar.cs: Signature fixes
  24392. 2004-12-17 Geoff Norton <[email protected]>
  24393. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  24394. keyboard event moved it. Create a new graphics context for each paint resolves this
  24395. 2004-12-17 Geoff Norton <[email protected]>
  24396. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  24397. Make caret exist and go blink blink. Initial keyboard support.
  24398. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  24399. works.
  24400. 2004-12-17 Jackson Harper <[email protected]>
  24401. * XplatUIStructs.cs: Updated set of virtual keycodes.
  24402. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  24403. 2004-12-17 Jackson Harper <[email protected]>
  24404. * XplatUIX11.cs: Prune old keyboard code.
  24405. 2004-12-17 Jackson Harper <[email protected]>
  24406. * XplatUIX11.cs: When generating mouse wparams get the modifier
  24407. keys from the ModifierKeys property.
  24408. 2004-12-17 Jackson Harper <[email protected]>
  24409. * X11Keyboard.cs: Send up/down input when generating
  24410. messages. Remove some unused vars.
  24411. 2004-12-17 Jackson Harper <[email protected]>
  24412. * TabControl.cs:
  24413. * TreeView.cs: get rid of warnings.
  24414. 2004-12-17 Jackson Harper <[email protected]>
  24415. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  24416. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  24417. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  24418. CheckedListBox.cs: Implementation
  24419. 2004-12-17 Peter Bartok <[email protected]>
  24420. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  24421. 2004-12-16 Peter Bartok <[email protected]>
  24422. * TextControl.cs:
  24423. - InsertCharAtCaret(): Fixed start pos fixup
  24424. - CaretLine_get: No longer derives the line from the tag, the tag
  24425. could be stale if lines in the document have been added or deleted
  24426. - RebalanceAfterDelete(): Fixed bug in balancing code
  24427. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  24428. - Line.Streamline(): Now can also elminate leading empty tags
  24429. - DumpTree(): Added a few more tests and prevented exception on
  24430. uninitialized data
  24431. - Added Debug section for Combining lines
  24432. - Delete(): Now copies all remaining properties of a line
  24433. * TextBoxBase.cs:
  24434. - Left mousebutton now sets the caret (and middle button still acts
  24435. as formatting tester, which must go away soon)
  24436. - Added Debug section for Deleting/Combining lines
  24437. - Fixed calculations for UpdateView after Combining lines
  24438. 2004-12-16 Peter Bartok <[email protected]>
  24439. * TextControl.cs: Now properly aligns text on a baseline, using the
  24440. new XplatUI.GetFontMetrics() method. Simplified several calculations
  24441. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  24442. defined
  24443. 2004-12-16 Peter Bartok <[email protected]>
  24444. * XplatUI.cs: Added GetFontMetrics() method
  24445. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  24446. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  24447. into libgdiplus, our private GetFontMetrics function
  24448. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  24449. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  24450. 2004-12-16 Jackson Harper <[email protected]>
  24451. * XplatUIStruct.cs: Add enum for dead keys
  24452. * X11Keyboard.cs: Map and unmap dead keys.
  24453. 2004-12-16 Jackson Harper <[email protected]>
  24454. * X11Keyboard.cs: Detect and use the num lock mask.
  24455. 2004-12-16 Peter Bartok <[email protected]>
  24456. * Control.cs (CreateGraphics): Added check to make sure the
  24457. handle of the window exists before calling Graphics.FromHwnd()
  24458. 2004-12-16 Peter Bartok <[email protected]>
  24459. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  24460. contains a lot of code that's not supposed to be there for the
  24461. real thing, but required for developing/testing the textbox
  24462. backend.
  24463. 2004-12-16 Peter Bartok <[email protected]>
  24464. * TextControl.cs:
  24465. - Fixed Streamline method
  24466. - Added FindTag method to Line
  24467. - Added DumpTree method for debugging
  24468. - Added DecrementLines() method for deleting lines
  24469. - Fixed UpdateView to update the cursor to end-of-line on single-line
  24470. updates
  24471. - Added PositionCaret() method
  24472. - Fixed MoveCaret(LineDown) to move into the last line, too
  24473. - Added InsertChar overload
  24474. - Fixed InsertChar tag offset calculations
  24475. - Added DeleteChar() method
  24476. - Added Combine() method for folding lines
  24477. - Fixed Delete() method, no longer allocates wasted Line object and
  24478. now copies all properties when swapping nodes
  24479. - Delete() method now updates document line counter
  24480. 2004-12-15 Jackson Harper <[email protected]>
  24481. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  24482. * X11Keyboard.cs: Expose the currently selected modifier keys
  24483. through a property.
  24484. 2004-12-15 Peter Bartok <[email protected]>
  24485. * TextControl.cs: Initial check-in. Still incomplete
  24486. 2004-12-15 Jackson Harper <[email protected]>
  24487. * TreeNode.cs:
  24488. * TreeView.cs: Fix build on csc (second time today ;-))
  24489. 2004-12-15 Jackson Harper <[email protected]>
  24490. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  24491. is calculated and use this for click testing.
  24492. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  24493. 2004-12-15 Jackson Harper <[email protected]>
  24494. * TreeView.cs: Pass the nodes image index to the image list when
  24495. drawing that image.
  24496. 2004-12-15 Jackson Harper <[email protected]>
  24497. * X11Keyboard.cs: Set messages hwnd.
  24498. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  24499. post_message calls.
  24500. 2004-12-15 Jackson Harper <[email protected]>
  24501. * X11Keyboard.cs: Fix to compile with csc.
  24502. 2004-12-15 Jackson Harper <[email protected]>
  24503. * X11Structs.cs: Add key mask values
  24504. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  24505. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  24506. down/up foo into WM_CHAR foo
  24507. * KeyboardLayouts.cs: Common keyboard layouts
  24508. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  24509. post messages into the main queue.
  24510. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  24511. * Button.cs: implement ProcessMnemonic
  24512. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  24513. brushes everytime
  24514. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  24515. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  24516. 2004-12-12 John BouAntoun <[email protected]>
  24517. * MonthCalendar.cs: Implemented click-hold for next/previous month
  24518. and date selection
  24519. 2004-12-11 Peter Bartok <[email protected]>
  24520. * X11Structs.cs:
  24521. - Added XKeyboardState (moved from XplatUIX11.cs)
  24522. - Added XCreateGC related enums and structures
  24523. - Added GXFunction for XSetFunction
  24524. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  24525. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  24526. CaretVisible() calls
  24527. * ToolTip.cs: Added code to prevent stealing focus from app windows
  24528. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  24529. DestroyCaret, SetCaretPos and CaretVisible)
  24530. * XplatUIX11.cs:
  24531. - Added implementation for caret functions
  24532. - Moved hover variables into a struct, to make it a bit easier
  24533. on the eyes and to debug
  24534. - Removed XKeyboardState (moved to XplatUIX11.cs)
  24535. - Moved Keyboard properties into the properties region
  24536. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  24537. call to get a graphics context for our control
  24538. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  24539. * TreeView.cs: Fixed bug. No matter what color was set it would always
  24540. return SystemColors.Window
  24541. * XplatUIWin32.cs: Implemented caret overrides
  24542. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  24543. * ListBox.cs: fire events, implement missing methods and properties,
  24544. sorting.
  24545. 2004-12-10 John BouAntoun <[email protected]>
  24546. * MonthCalendar.cs: invalidation bug fixing
  24547. * ThemeWin32Classic.cs: paint fixing
  24548. 2004-12-09 Geoff Norton <[email protected]>
  24549. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  24550. prepare the CGContextRef there now.
  24551. 2004-12-09 John BouAntoun <[email protected]>
  24552. * MonthCalendar.cs:
  24553. - optimisationL only invalidate areas that have changed
  24554. * ThemeWin32Classic.cs:
  24555. - only paint parts that intersect with clip_area
  24556. 2004-12-09 Peter Bartok <[email protected]>
  24557. * Application.cs: Undid changes from r37004 which cause problems
  24558. on X11
  24559. 2004-12-09 Ravindra <[email protected]>
  24560. * ToolBar.cs: Added support for displaying ContextMenu
  24561. attached to a button on ToolBar.
  24562. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  24563. property.
  24564. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  24565. * Label.cs: autosize works in text change and removes unnecessary
  24566. invalidate
  24567. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  24568. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  24569. remove warnings
  24570. 2004-12-08 Geoff Norton <[email protected]>
  24571. * XplatUIOSX.cs: Added mouse move/click/grab support
  24572. Remove some debugging WriteLines not needed anymore.
  24573. Add window resizing/positioning.
  24574. Fix visibility on reparenting.
  24575. 2004-12-08 Peter Bartok <[email protected]>
  24576. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  24577. 2004-12-07 Geoff Norton <[email protected]>
  24578. * XplatUIOSX.cs: Initial checkin
  24579. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  24580. 2004-12-03 Ravindra <[email protected]>
  24581. * ListView.cs: Added some keybindings and fixed scrolling.
  24582. ScrollBars listen to ValueChanged event instead of Scroll
  24583. Event. This would let us take care of all changes being
  24584. done in the scrollbars' values programmatically or manually.
  24585. * ListView.cs (CanMultiselect): Added a check for shift key.
  24586. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  24587. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  24588. of ListViewSubItemCollection as well.
  24589. 2004-12-06 Peter Bartok <[email protected]>
  24590. * Control.cs (Parent): Added check and exception to prevent
  24591. circular parenting
  24592. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  24593. * ListBox.cs: implemented clipping, selection single and multiple,
  24594. bug fixing
  24595. 2004-12-03 Ravindra <[email protected]>
  24596. * ListView.cs (ListView_KeyDown):
  24597. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  24598. when CTRL key is pressed.
  24599. * ListViewItem.cs (Selected): Fixed setting the property.
  24600. 2004-12-03 Marek Safar <[email protected]>
  24601. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  24602. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  24603. MinimizeBox, ShowInTaskbar, TopMost properties.
  24604. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  24605. will be implemented).
  24606. 2004-12-03 Marek Safar <[email protected]>
  24607. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  24608. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  24609. tests.
  24610. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  24611. * TreeView.cs: BackColor is Colors.Window.
  24612. 2004-12-01 Jackson Harper <[email protected]>
  24613. * TreeView.cs: When resizing the tree if the user is making it
  24614. smaller we don't get expose events, so we need to handle adding
  24615. the horizontal scrollbar in the size changed handler as well as
  24616. the expose handler.
  24617. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  24618. * DrawItemState.cs: fixes wrong enum values
  24619. 2004-12-01 Jackson Harper <[email protected]>
  24620. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  24621. 2004-12-01 Jackson Harper <[email protected]>
  24622. * NodeLabelEditEventArgs.cs:
  24623. * NodeLabelEditEventHandler.cs:
  24624. * OpenTreeNodeEnumerator.cs:
  24625. * TreeNode.cs:
  24626. * TreeNodeCollection.cs:
  24627. * TreeView.cs:
  24628. * TreeViewAction.cs:
  24629. * TreeViewCancelEventArgs.cs:
  24630. * TreeViewCancelEventHandler.cs:
  24631. * TreeViewEventArgs.cs:
  24632. * TreeViewEventHandler.cs: Initial implementation.
  24633. 2004-12-01 Ravindra <[email protected]>
  24634. * ListView.cs (CalculateListView): Fixed scrolling related
  24635. calculations. Also, removed some debug statements from other
  24636. places.
  24637. * ListViewItem.cs: Changed access to 'selected' instance variable
  24638. from private to internal.
  24639. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  24640. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  24641. * ThemeWin32Classic.cs: remove cache of brush and pens for
  24642. specific controls and use the global system, fixes scrollbutton
  24643. bugs (for small sizes, disabled, etc)
  24644. * ScrollBar.cs: does not show the thumb for very small controls
  24645. (as MS) and allow smaller buttons that the regular size
  24646. 2004-12-01 Miguel de Icaza <[email protected]>
  24647. * UpDownBase.cs: Add abstract methods for the interface.
  24648. Add new virtual methods (need to be hooked up to TextEntry when it
  24649. exists).
  24650. Add override methods for most features.
  24651. Computes the size, forces the height of the text entry.
  24652. * NumericUpDown.cs: Put here the current testing code.
  24653. * Set eol-style property on all files that do not have mixed line
  24654. endings, to minimize the future problems. There are still a few
  24655. files with mixed endings, and someone should choose whether they
  24656. want to move it or not.
  24657. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  24658. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  24659. System.Colors
  24660. 2004-11-30 Ravindra <[email protected]>
  24661. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  24662. drawing and replaced use of SystemColors by theme colors.
  24663. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  24664. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  24665. same ListViewItem is being added more than once.
  24666. 2004-11-30 John BouAntoun <[email protected]>
  24667. * MonthCalendar.cs:
  24668. - ControlStyles love to make the control not flicker
  24669. 2004-11-30 Peter Bartok <[email protected]>
  24670. * CharacterCasing.cs: Added
  24671. 2004-11-29 Peter Bartok <[email protected]>
  24672. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  24673. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  24674. I am removing these files as they conflict with already completed
  24675. work. While it is fantastic to get contributions to MWF, I
  24676. respectfully ask that everyone please coordinate their contributions
  24677. through mono-winforms-list or #mono-winforms at this time. We're
  24678. explicitly avoiding stubbing and don't want controls that don't have
  24679. their basic functionality implemented in svn. Please also see
  24680. http://www.mono-project.com/contributing/winforms.html
  24681. 2004-11-29 Marek Safar <[email protected]>
  24682. * Application.cs (ModalRun): Don't hang after exit.
  24683. * Theme.cs: New TreeViewDefaultSize property.
  24684. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  24685. with less hardcoded SystemColors constant.
  24686. Implemented TreeViewDefaultSize.
  24687. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  24688. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  24689. 2004-11-29 John BouAntoun <[email protected]>
  24690. * MonthCalendar.cs:
  24691. - Fix NextMonthDate and PrevMonthDate click moving calendar
  24692. 2004-11-26 John BouAntoun <[email protected]>
  24693. * MonthCalendar.cs:
  24694. - Fix usage of ScrollChange Property when scrolling months
  24695. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  24696. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  24697. - Fixes menu destroying
  24698. - Support adding and removing items on already created menus
  24699. 2004-11-26 John BouAntoun <[email protected]>
  24700. * MonthCalendar.cs:
  24701. - Re-worked all bolded dates handling to match win32
  24702. * ThemeWin32Classic.cs:
  24703. - Fixed rendering with bolded dates
  24704. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  24705. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  24706. - Horizontal scroolbar
  24707. - Multicolumn
  24708. - Fixes
  24709. 2004-11-25 John BouAntoun <[email protected]>
  24710. * MonthCalendar.cs:
  24711. - Fix Usage of MaxSelectionCount from SelectionRange
  24712. - Fixed Shift + Cursor Selection
  24713. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  24714. - Fixed normal cursor selection to be compat with win32
  24715. - Fixed Shift + Mouse Click selection
  24716. 2004-11-24 Peter Bartok <[email protected]>
  24717. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  24718. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  24719. * XplatUIX11.cs:
  24720. - CreatedKeyBoardMsg now updates keystate with Alt key
  24721. - Added workaround for timer crash to CheckTimers, Jackson will
  24722. develop a proper fix and check in later
  24723. - Implemented DispatchMessage
  24724. - Removed calling the native window proc from GetMessage (call
  24725. now moved to DispatchMessage)
  24726. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  24727. the keydata (Fixes bug #69831)
  24728. * XplatUIWin32.cs:
  24729. - (DispatchMessage): Switched to return IntPtr
  24730. - Added DllImport for SetFocus
  24731. 2004-11-24 Ravindra <[email protected]>
  24732. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  24733. background drawing.
  24734. * ListViewItem.cs: Fixed various properties, calculations
  24735. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  24736. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  24737. and some internal properties. Fixed MouseDown handler and Paint
  24738. method.
  24739. 2004-11-24 John BouAntoun <[email protected]>
  24740. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  24741. 2004-11-24 John BouAntoun <[email protected]>
  24742. * ContainerControl.cs: correct accidental check in of local changes
  24743. 2004-11-24 John BouAntoun <[email protected]>
  24744. * ThemeWin32Classic.cs:
  24745. - Fixed Drawing Last month in grid (sometimes not showing)
  24746. * MonthCalendar.cs:
  24747. - Fixed title width calculation bug (makeing title small)
  24748. 2004-11-23 Peter Bartok <[email protected]>
  24749. * XplatUIX11.cs:
  24750. - Added generation of WM_MOUSEHOVER event
  24751. - Added missing assignment of async_method atom
  24752. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  24753. 2004-11-23 John BouAntoun <[email protected]>
  24754. * ThemeWin32Classic.cs:
  24755. - Fixed Drawing of today circle when showtodaycircle not set
  24756. - fixed drawing of first and last month in the grid (gay dates)
  24757. * MonthCalendar.cs:
  24758. - Fixed Drawing of today circle
  24759. - Fixed drawing of grady dates
  24760. - Fixed HitTest for today link when ShowToday set to false
  24761. - Fixed DefaultSize to obey ShowToday
  24762. 2004-11-23 John BouAntoun <[email protected]>
  24763. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  24764. * System.Windows.Forms/Theme.cs
  24765. * MonthCalendar.cs: added for MonthCalendar
  24766. * SelectionRange.cs: added for MonthCalendar
  24767. * Day.cs: added for MonthCalendar: added for MonthCalendar
  24768. * DateRangeEventArgs.cs: added for MonthCalendar
  24769. * DateRangeEventHandler.cs: added for MonthCalendar
  24770. 2004-11-22 Ravindra <[email protected]>
  24771. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  24772. property.
  24773. 2004-11-22 Miguel de Icaza <[email protected]>
  24774. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  24775. event handler.
  24776. * NumericUpDown.cs: Added new implementation.
  24777. * UpDownBase.cs: Added new implementation.
  24778. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  24779. implementations.
  24780. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  24781. implementations.
  24782. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  24783. methods.
  24784. 2004-11-21 Miguel de Icaza <[email protected]>
  24785. * Timer.cs (Dispose): Should call the base dispose when
  24786. overriding.
  24787. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  24788. * ScrollBar.cs: updates thumb position when max, min or increment
  24789. is changed
  24790. 2004-11-21 Ravindra <[email protected]>
  24791. * ListView.cs: Implemented item selection, activation and
  24792. column header style. Fixed properties to do a redraw, if
  24793. required. Added support for MouseHover, DoubleClick, KeyDown
  24794. and KeyUp event handling and some minor fixes.
  24795. * ListViewItem.cs: Fixed constructor.
  24796. * ThemeWin32Classic.cs: Improved drawing for ListView.
  24797. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  24798. * ThemeWin32Classic.cs: initial listbox drawing code
  24799. * DrawMode.cs: new enumerator
  24800. * ListControl.cs: stubbed class
  24801. * ListBox.cs: initial implementation
  24802. * Theme.cs: new methods definitions
  24803. * SelectionMode.cs: new enumerator
  24804. 2004-11-17 Peter Bartok <[email protected]>
  24805. * XplatUIWin32.cs: Added double-click events to the class style
  24806. * Control.cs (WndProc):
  24807. - Added handling of click-count to MouseDown/ MouseUp events.
  24808. - Added handling of middle and right mouse buttons
  24809. - Removed old debug code
  24810. 2004-11-17 Jackson Harper <[email protected]>
  24811. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  24812. 2004-11-17 Ravindra <[email protected]>
  24813. * ListView.cs: Added event handling for MouseMove/Up/Down.
  24814. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  24815. * ThemeWin32Classic.cs: We need to clear the graphics context and
  24816. draw column header in a proper state.
  24817. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  24818. * Menu.cs: fixes signature
  24819. 2004-11-16 Peter Bartok <[email protected]>
  24820. * XplatUIX11.cs (GetMessage): Implemented generation of
  24821. double click mouse messages
  24822. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  24823. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  24824. not by menu
  24825. 2004-11-11 Peter Bartok <[email protected]>
  24826. * HandleData.cs: Added Visible property
  24827. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  24828. HandleData
  24829. * XplatUIX11.cs: Removed old debug leftovers
  24830. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  24831. * Control.cs (WndProc): Removed old debug leftovers,
  24832. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  24833. needed WM_SIZE handling
  24834. 2004-11-11 Jackson Harper <[email protected]>
  24835. * OwnerDrawPropertyBag.cs:
  24836. * TreeViewImageIndexConverter.cs: Initial implementation
  24837. 2004-11-10 Jackson Harper <[email protected]>
  24838. * ThemeWin32Classic.cs:
  24839. * TabControl.cs: instead of moving tabs by the slider pos just
  24840. start drawing at the tab that is offset by the slider. This way
  24841. scrolling always moves by exactly one tab.
  24842. 2004-11-10 Jackson Harper <[email protected]>
  24843. * TabControl.cs: You can only scroll left when the slider has
  24844. already ben moved right.
  24845. 2004-11-10 Jackson Harper <[email protected]>
  24846. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  24847. the clip area.
  24848. 2004-11-10 Jackson Harper <[email protected]>
  24849. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  24850. clip area.
  24851. 2004-11-09 Jackson Harper <[email protected]>
  24852. * TabControl.cs (CalcXPos): New helper method so we can determine
  24853. the proper place to start drawing vertical tabs.
  24854. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  24855. 2004-11-09 Jackson Harper <[email protected]>
  24856. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  24857. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  24858. and Bottom, left and right are illegal values for this and
  24859. multiline is enabled when the alignment is set to left or right.
  24860. (DrawTab): Each alignment block should draw the text itself now
  24861. because Left requires special love. Also add rendering for Left
  24862. aligned tabs.
  24863. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  24864. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  24865. does not destroy the windows, removes debugging messages
  24866. 2004-11-09 jba <[email protected]>
  24867. * ThemeWin32Classic.cs
  24868. (DrawButtonBase): Fix verticle text rect clipping in windows
  24869. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  24870. rendering and incorrect text rect clipping
  24871. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  24872. rendering and incorrect text rect clipping
  24873. 2004-11-08 Jackson Harper <[email protected]>
  24874. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  24875. bottom when they are bottom aligned so the bottoms of the tabs get
  24876. displayed.
  24877. * TabControl.cs (DropRow): Move rows up instead of down when the
  24878. tab control is bottom aligned.
  24879. 2004-11-08 13:59 pbartok
  24880. * XplatUIX11.cs:
  24881. - Added handling for various window styles
  24882. - Added handling for popup windows
  24883. - Added SetTopmost handling
  24884. 2004-11-08 13:55 pbartok
  24885. * XplatUIWin32.cs:
  24886. - Added argument to SetTopmost method
  24887. - Fixed broken ClientToScreen function
  24888. 2004-11-08 13:53 pbartok
  24889. * XplatUIStructs.cs:
  24890. - Added missing WS_EX styles
  24891. 2004-11-08 13:53 pbartok
  24892. * XplatUI.cs, XplatUIDriver.cs:
  24893. - Added argument to SetTopmost
  24894. 2004-11-08 13:52 pbartok
  24895. * X11Structs.cs:
  24896. - Added XSetWindowAttributes structure
  24897. - Improved XWindowAttributes structure
  24898. - Added SetWindowValuemask enum
  24899. - Added window creation arguments enum
  24900. - Added gravity enum
  24901. - Added Motif hints structure
  24902. - Added various Motif flags and enums
  24903. - Added PropertyMode enum for property functions
  24904. 2004-11-08 13:50 pbartok
  24905. * Form.cs:
  24906. - Fixed arguments for updated SetTopmost method
  24907. 2004-11-08 13:49 pbartok
  24908. * ToolTip.cs:
  24909. - Fixed arguments for updated SetTopmost function
  24910. - Fixed usage of PointToClient
  24911. 2004-11-08 13:44 pbartok
  24912. * MenuAPI.cs:
  24913. - Added Clipping of children and siblings
  24914. 2004-11-08 13:41 pbartok
  24915. * MainMenu.cs:
  24916. - Removed SetMenuBarWindow call. We do this in Form.cs
  24917. 2004-11-08 13:40 jackson
  24918. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  24919. scrolling jimmi in the correct location with bottom aligned tabs
  24920. 2004-11-08 13:36 pbartok
  24921. * ContainerControl.cs:
  24922. - Implemented BindingContext
  24923. - Implemented ParentForm
  24924. 2004-11-08 12:46 jackson
  24925. * TabControl.cs: Put bottom rendered tabs in the right location
  24926. 2004-11-08 07:15 jordi
  24927. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  24928. removes dead code
  24929. 2004-11-05 17:30 jackson
  24930. * TabControl.cs: When selected tabs are expanded make sure they
  24931. don't go beyond the edges of the tab control
  24932. 2004-11-05 14:57 jackson
  24933. * TabControl.cs: Reset show_slider so if the control is resized to
  24934. a size where it is no longer needed it's not displayed anymore
  24935. 2004-11-05 13:16 jackson
  24936. * TabControl.cs: Make tab pages non visible when added to the
  24937. control
  24938. 2004-11-05 12:42 jackson
  24939. * TabControl.cs: Implement SizeMode.FillToRight
  24940. 2004-11-05 12:16 jackson
  24941. * Control.cs: Do not call CreateHandle if the handle is already
  24942. created
  24943. 2004-11-05 11:46 jackson
  24944. * TabControl.cs: Remove superflous call to CalcTabRows
  24945. 2004-11-05 09:07 jackson
  24946. * XplatUIX11.cs: Update for Mono.Posix changes
  24947. 2004-11-05 07:00 ravindra
  24948. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  24949. scrolling.
  24950. 2004-11-04 22:47 jba
  24951. * ThemeWin32Classic.cs:
  24952. - Fix Button rendering for FlatStyle = Flat or Popup
  24953. - Fix RadioButton and CheckBox rendering when Appearance = Button
  24954. (normal and flatstyle).
  24955. - Correct outer rectangle color when drawing focus rectangle
  24956. - Adjust button bounds to be 1 px smaller when focused
  24957. - Make button not draw sunken 3d border when pushed (windows compat)
  24958. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  24959. - Offset the text in RadioButton and Checkbox when being rendered as
  24960. a button.
  24961. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  24962. radiobuttons
  24963. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  24964. - Fixed disabled text rendering for normally rendered radiobuttons
  24965. 2004-11-04 10:26 jackson
  24966. * TabControl.cs: Recalculate tab rows when resizing
  24967. 2004-11-04 07:47 jordi
  24968. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  24969. collection completion, drawing issues, missing features
  24970. 2004-11-04 05:03 ravindra
  24971. * ScrollBar.cs:
  24972. - We need to recalculate the Thumb area when
  24973. LargeChange/maximum/minimum values are changed.
  24974. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  24975. than minimum. This is required to handle the case if large_change is
  24976. more than max, and use LargeChange property instead of large_change
  24977. variable.
  24978. - We return max+1 when large_change is more than max, like MS does.
  24979. 2004-11-04 04:29 ravindra
  24980. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  24981. - Changed default value signatures (prefixed all with ListView).
  24982. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  24983. ListView.
  24984. - Fixed calculations for ListViewItem and implemented Clone()
  24985. method.
  24986. 2004-11-04 04:26 ravindra
  24987. * Theme.cs, ThemeWin32Classic.cs:
  24988. - Changed default ListView values signatures (prefixed all with
  24989. ListView).
  24990. - Fixed default size values for VScrollBar and HScrollBar.
  24991. - Fixed DrawListViewItem method.
  24992. 2004-11-04 04:05 ravindra
  24993. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  24994. 2004-11-04 04:04 ravindra
  24995. * ImageList.cs: Implemented the missing overload for Draw method.
  24996. 2004-11-03 19:29 jackson
  24997. * TabControl.cs: Handle dropping rows on selection properly
  24998. 2004-11-03 11:59 jackson
  24999. * TabControl.cs: remove debug code
  25000. 2004-11-03 11:52 jackson
  25001. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  25002. the scrolly widgerywoo
  25003. 2004-11-02 13:52 jackson
  25004. * TabControl.cs: Resize the tab pages and tabs when the tab control
  25005. is resized
  25006. 2004-11-02 13:40 jackson
  25007. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  25008. selected tab to the bottom
  25009. 2004-11-02 13:39 jackson
  25010. * TabPage.cs: Store the tab pages row
  25011. 2004-11-02 12:33 jordi
  25012. * MenuItem.cs: fixes handle creation
  25013. 2004-11-02 11:42 jackson
  25014. * TabControl.cs: signature fix
  25015. 2004-11-02 08:56 jackson
  25016. * TabControl.cs: Calculate whether the tab is on an edge properly.
  25017. Remove top secret debugging code
  25018. 2004-11-01 19:57 jackson
  25019. * TabControl.cs: Add click handling, and proper sizing
  25020. 2004-11-01 19:47 jackson
  25021. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  25022. tab controls
  25023. 2004-11-01 19:39 jackson
  25024. * TabPage.cs: add internal property to store the bounds of a tab
  25025. page
  25026. 2004-10-30 04:23 ravindra
  25027. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  25028. values.
  25029. 2004-10-30 04:21 ravindra
  25030. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  25031. fixed calculations.
  25032. 2004-10-30 03:06 pbartok
  25033. * XplatUIX11.cs:
  25034. - Removed extension of DllImported libs
  25035. 2004-10-29 09:55 jordi
  25036. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  25037. navigation, itemcollection completion, menu fixes
  25038. 2004-10-27 22:58 pbartok
  25039. * XplatUIX11.cs:
  25040. - Now throws a nice error message when no X display could be opened
  25041. 2004-10-26 13:51 jordi
  25042. * ListView.cs: removes warning
  25043. 2004-10-26 03:55 ravindra
  25044. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  25045. ThemeWin32Classic.cs: Some formatting for my last checkins.
  25046. 2004-10-26 03:36 ravindra
  25047. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  25048. control and default values.
  25049. 2004-10-26 03:35 ravindra
  25050. * Theme.cs: Added some default values for ListView control.
  25051. 2004-10-26 03:33 ravindra
  25052. * ToolBar.cs: ToolBar should use the user specified button size, if
  25053. there is any. Added a size_specified flag for the same.
  25054. 2004-10-26 03:33 ravindra
  25055. * ColumnHeader.cs: Added some internal members and calculations for
  25056. ColumnHeader.
  25057. 2004-10-26 03:32 ravindra
  25058. * ListViewItem.cs: Calculations for ListViewItem.
  25059. 2004-10-26 03:31 ravindra
  25060. * ListView.cs: Added some internal members and calculations for
  25061. ListView.
  25062. 2004-10-22 13:31 jordi
  25063. * MenuAPI.cs: speedup menus drawing
  25064. 2004-10-22 13:16 jackson
  25065. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  25066. expose event
  25067. 2004-10-22 11:49 jackson
  25068. * Control.cs: oops
  25069. 2004-10-22 11:41 jackson
  25070. * Control.cs: Check to see if the window should have its background
  25071. repainted by X when drawing.
  25072. 2004-10-22 11:31 jackson
  25073. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  25074. clear is true, this way we do not get flicker from X repainting the
  25075. background
  25076. 2004-10-22 11:28 jackson
  25077. * XEventQueue.cs: Queue properly
  25078. 2004-10-21 09:38 jackson
  25079. * XEventQueue.cs: Fix access modifier
  25080. 2004-10-21 09:36 jackson
  25081. * XEventQueue.cs: Don't loose messages
  25082. 2004-10-21 09:22 jackson
  25083. * XEventQueue.cs: Don't loose messages
  25084. 2004-10-20 04:15 jordi
  25085. * BootMode.cs: enum need it by SystemInfo
  25086. 2004-10-19 21:58 pbartok
  25087. * XplatUIWin32.cs:
  25088. - Small sanity check
  25089. 2004-10-19 21:56 pbartok
  25090. * Form.cs:
  25091. - Added private FormParentWindow class which acts as the container
  25092. for our form and as the non-client area where menus are drawn
  25093. - Added/Moved required tie-ins to Jordi's menus
  25094. - Fixed/Implemented the FormStartPosition functionality
  25095. 2004-10-19 21:52 pbartok
  25096. * Control.cs:
  25097. - Removed unneeded locals
  25098. - Added code to all size and location properties to understand and
  25099. deal with the parent container of Form
  25100. 2004-10-19 21:33 pbartok
  25101. * Application.cs:
  25102. - Fixed to deal with new Form subclasses for menus
  25103. 2004-10-19 17:48 jackson
  25104. * XEventQueue.cs: commit correct version of file
  25105. 2004-10-19 16:50 jackson
  25106. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  25107. 2004-10-19 16:15 jordi
  25108. * MenuAPI.cs: MenuBarCalcSize returns the height
  25109. 2004-10-19 08:31 pbartok
  25110. * Control.cs:
  25111. - Added missing call to PreProcessMessage before calling OnXXXKey
  25112. methods
  25113. 2004-10-19 00:04 ravindra
  25114. * ToolTip.cs: Fixed constructor.
  25115. 2004-10-18 09:31 jordi
  25116. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  25117. 2004-10-18 09:26 jordi
  25118. * MenuItem.cs: fixes MenuItem class signature
  25119. 2004-10-18 08:56 jordi
  25120. * MenuAPI.cs: prevents windows from showing in the taskbar
  25121. 2004-10-18 00:28 ravindra
  25122. * ToolTip.cs: Suppressed a warning message.
  25123. 2004-10-18 00:27 ravindra
  25124. * Control.cs: Default value of visible property must be true.
  25125. 2004-10-17 23:19 pbartok
  25126. * ToolTip.cs:
  25127. - Complete implementation
  25128. 2004-10-17 23:19 pbartok
  25129. * XplatUIX11.cs:
  25130. - Added EnableWindow method
  25131. - Added SetModal stub
  25132. - Added generation of WM_ACTIVATE message (still needs testing)
  25133. - Added SetTopMost stub
  25134. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  25135. 2004-10-17 23:17 pbartok
  25136. * XplatUIWin32.cs:
  25137. - Removed VirtualKeys to XplatUIStructs
  25138. - Implemented SetTopMost method
  25139. - Implemented EnableWindow method
  25140. - Bugfix in ScreenToClient()
  25141. - Bugfixes in ClientToScreen()
  25142. 2004-10-17 22:51 pbartok
  25143. * XplatUIStructs.cs:
  25144. - Added WS_EX styles to WindowStyles enumeration
  25145. 2004-10-17 22:50 pbartok
  25146. * XplatUI.cs, XplatUIDriver.cs:
  25147. - Added method for enabling/disabling windows
  25148. - Added method for setting window modality
  25149. - Added method for setting topmost window
  25150. 2004-10-17 22:49 pbartok
  25151. * ThemeWin32Classic.cs:
  25152. - Added ToolTip drawing code
  25153. 2004-10-17 22:49 pbartok
  25154. * Theme.cs:
  25155. - Added ToolTip abstracts
  25156. 2004-10-17 22:47 pbartok
  25157. * Form.cs:
  25158. - Fixed Form.ControlCollection to handle owner relations
  25159. - Added Owner/OwnedForms handling
  25160. - Implemented Z-Ordering for owned forms
  25161. - Removed unneeded private overload of ShowDialog
  25162. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  25163. so I hope)
  25164. - Fixed Close(), had wrong default
  25165. - Added firing of OnLoad event
  25166. - Added some commented out debug code for Ownership handling
  25167. 2004-10-17 22:16 pbartok
  25168. * Control.cs:
  25169. - Fixed/implemented flat list of controls
  25170. 2004-10-17 22:14 pbartok
  25171. * Application.cs:
  25172. - Added code to simulate modal dialogs on Win32
  25173. 2004-10-17 16:11 jordi
  25174. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  25175. mouse event
  25176. 2004-10-17 13:39 jordi
  25177. * MenuAPI.cs: menu drawing fixes
  25178. 2004-10-15 09:10 ravindra
  25179. * StructFormat.cs: General Enum.
  25180. 2004-10-15 09:09 ravindra
  25181. * SizeGripStyle.cs: Enum for Form.
  25182. 2004-10-15 09:08 ravindra
  25183. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  25184. in Theme for ListView.
  25185. 2004-10-15 09:06 ravindra
  25186. * ColumnHeader.cs: Flushing some formatting changes.
  25187. 2004-10-15 09:05 ravindra
  25188. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  25189. style.
  25190. 2004-10-15 09:03 ravindra
  25191. * ListView.cs: Implemented Paint method and fixed coding style.
  25192. 2004-10-15 07:34 jordi
  25193. * MenuAPI.cs: fix for X11
  25194. 2004-10-15 07:32 ravindra
  25195. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  25196. - Renamed Paint() method to Draw() for clarity. Also, moved
  25197. DrawImage() to OnPaint().
  25198. 2004-10-15 07:25 ravindra
  25199. * CheckBox.cs, RadioButton.cs:
  25200. - Removed Redraw (), we get it from ButtonBase.
  25201. - Implemented Paint (), to do class specific painting.
  25202. 2004-10-15 07:16 ravindra
  25203. * ButtonBase.cs:
  25204. - Redraw () is not virtual now.
  25205. - Added an internal virtual method Paint (), so that
  25206. derived classes can do their painting on their own.
  25207. - Modified OnPaint () to call Paint ().
  25208. 2004-10-15 06:43 jordi
  25209. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  25210. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  25211. 2004-10-15 00:30 ravindra
  25212. * MessageBox.cs:
  25213. - MessageBox on windows does not have min/max buttons.
  25214. This change in CreateParams fixes this on Windows. We
  25215. still need to implement this windowstyle behavior in
  25216. our X11 driver.
  25217. 2004-10-14 05:14 ravindra
  25218. * ToolBar.cs:
  25219. - Changed Redraw () to do a Refresh () always.
  25220. - Fixed the MouseMove event handling when mouse is pressed,
  25221. ie drag event handling.
  25222. - Replaced the usage of ToolBarButton.Pressed property to
  25223. ToolBarButton.pressed internal variable.
  25224. 2004-10-14 05:10 ravindra
  25225. * ToolBarButton.cs:
  25226. - Added an internal member 'inside' to handle mouse move
  25227. with mouse pressed ie mouse drag event.
  25228. - Changed 'Pressed' property to return true only when
  25229. 'inside' and 'pressed' are both true.
  25230. - Some coding style love.
  25231. 2004-10-14 00:17 ravindra
  25232. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  25233. public method.
  25234. 2004-10-14 00:15 ravindra
  25235. * ButtonBase.cs: Redraw () related improvements.
  25236. 2004-10-14 00:14 ravindra
  25237. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  25238. removed unnecessary calls to Button.Show () method.
  25239. 2004-10-13 17:50 pbartok
  25240. * XplatUIX11.cs:
  25241. - Formatting fix
  25242. - Removed destroying of window until we solve the problem of X
  25243. destroying the window before us on shutdown
  25244. 2004-10-13 16:32 pbartok
  25245. * ButtonBase.cs:
  25246. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  25247. 2004-10-13 14:18 pbartok
  25248. * XplatUIX11.cs:
  25249. - Added code to destroy the X window
  25250. 2004-10-13 14:18 pbartok
  25251. * XplatUIWin32.cs:
  25252. - Added code to destroy a window
  25253. 2004-10-13 14:12 pbartok
  25254. * ButtonBase.cs:
  25255. - Added the Redraw on Resize that got dropped in the last rev
  25256. 2004-10-13 09:06 pbartok
  25257. * ThemeWin32Classic.cs:
  25258. - Path from John BouAntoun:
  25259. * Fix check rendering (centre correctly for normal style, offset
  25260. correctly for FlatStyle).
  25261. * Fix border color usage (use backcolor) for FlatStyle.Popup
  25262. * Use checkbox.Capture instead of checkbox.is_pressed when
  25263. rendering flatstyle states.
  25264. 2004-10-12 21:48 pbartok
  25265. * ThemeWin32Classic.cs:
  25266. - Removed all occurences of SystemColors and replaced them with the
  25267. matching theme color
  25268. 2004-10-12 21:41 pbartok
  25269. * ThemeWin32Classic.cs:
  25270. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  25271. him using the function for flatstyle drawing
  25272. - Changed functions to use the new version of CPDrawBorder3D
  25273. 2004-10-12 21:15 pbartok
  25274. * ControlPaint.cs:
  25275. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  25276. match MS documentation. They need to return defined colors if the
  25277. passed color matches the configured control color. Thanks to John
  25278. BouAntoun for pointing this out.
  25279. 2004-10-12 20:57 pbartok
  25280. * Control.cs:
  25281. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  25282. color is changed
  25283. 2004-10-12 20:46 pbartok
  25284. * CheckBox.cs:
  25285. - Fix from John BouAntoun: Now properly sets the Appearance property
  25286. 2004-10-12 20:45 pbartok
  25287. * ThemeWin32Classic.cs:
  25288. - Fixes from John BouAntoun: now handles forecolors and backcolors
  25289. for flatstyle rendered controls much better; It also fixes normal
  25290. checkbox rendering when pushed or disabled.
  25291. 2004-10-08 02:50 jordi
  25292. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  25293. work
  25294. 2004-10-07 08:56 jordi
  25295. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  25296. 2004-10-06 03:59 jordi
  25297. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  25298. XplatUIWin32.cs: removes warnings from compilation
  25299. 2004-10-05 12:23 jackson
  25300. * RadioButton.cs: Fix ctor
  25301. 2004-10-05 11:10 pbartok
  25302. * MessageBox.cs:
  25303. - Partial implementation by Benjamin Dasnois
  25304. 2004-10-05 10:15 jackson
  25305. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  25306. by John BouAntoun
  25307. 2004-10-05 03:07 ravindra
  25308. * ToolBar.cs:
  25309. - Removed a private method, Draw ().
  25310. - Fixed the ButtonDropDown event handling.
  25311. - Fixed MouseMove event handling.
  25312. 2004-10-05 03:04 ravindra
  25313. * ThemeWin32Classic.cs:
  25314. - Added DrawListView method and ListViewDefaultSize property.
  25315. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  25316. - Changed DOS style CRLF to Unix format (dos2unix).
  25317. 2004-10-05 03:03 ravindra
  25318. * Theme.cs:
  25319. - Added DrawListView method and ListViewDefaultSize property.
  25320. 2004-10-05 02:42 ravindra
  25321. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  25322. clicks on DropDown arrow.
  25323. 2004-10-04 22:56 jackson
  25324. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  25325. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  25326. Control handle the buffers, derived classes should not have to
  25327. CreateBuffers themselves.
  25328. 2004-10-04 21:20 jackson
  25329. * StatusBar.cs: The control handles resizing the buffers now.
  25330. 2004-10-04 21:18 jackson
  25331. * Control.cs: When resizing the buffers should be invalidated. This
  25332. should be handled in Control not in derived classes.
  25333. 2004-10-04 14:45 jackson
  25334. * TabPage.cs: oops
  25335. 2004-10-04 02:14 pbartok
  25336. * LeftRightAlignment.cs:
  25337. - Initial check-in
  25338. 2004-10-04 01:09 jordi
  25339. * ThemeWin32Classic.cs: fixes right button position causing right
  25340. button not showing on horizontal scrollbars
  25341. 2004-10-02 13:12 pbartok
  25342. * XplatUIX11.cs:
  25343. - Simplified the Invalidate method by using an X call instead of
  25344. generating the expose ourselves
  25345. - Added an expose when the window background is changed
  25346. - Implemented ClientToScreen method
  25347. 2004-10-02 13:08 pbartok
  25348. * XplatUIWin32.cs:
  25349. - Added Win32EnableWindow method (test for implementing modal
  25350. dialogs)
  25351. - Added ClientToScreen method and imports
  25352. 2004-10-02 13:07 pbartok
  25353. * XplatUI.cs, XplatUIDriver.cs:
  25354. - Added ClientToScreen coordinate translation method
  25355. 2004-10-02 13:06 pbartok
  25356. * KeyPressEventArgs.cs:
  25357. - Fixed access level for constructor
  25358. 2004-10-02 13:06 pbartok
  25359. * NativeWindow.cs:
  25360. - Changed access level for the window_collection hash table
  25361. 2004-10-02 13:05 pbartok
  25362. * Form.cs:
  25363. - Added KeyPreview property
  25364. - Added Menu property (still incomplete, pending Jordi's menu work)
  25365. - Implemented ProcessCmdKey
  25366. - Implemented ProcessDialogKey
  25367. - Implemented ProcessKeyPreview
  25368. 2004-10-02 13:02 pbartok
  25369. * Control.cs:
  25370. - Added private method to get the Control object from the window
  25371. handle
  25372. - Implemented ContextMenu property
  25373. - Implemented PointToScreen
  25374. - Implemented PreProcessMessage
  25375. - Implemented IsInputChar
  25376. - Implemented IsInputKey
  25377. - Implemented ProcessCmdKey
  25378. - Completed ProcessKeyEventArgs
  25379. - Fixed message loop to call the proper chain of functions on key
  25380. events
  25381. - Implemented ProcessDialogChar
  25382. - Implemented ProcessDialogKey
  25383. - Implemented ProcessKeyMessage
  25384. - Implemented ProcessKeyPreview
  25385. - Added RaiseDragEvent stub (MS internal method)
  25386. - Added RaiseKeyEvent stub (MS internal method)
  25387. - Added RaiseMouseEvent stub (MS Internal method)
  25388. - Added RaisePaintEvent stub (MS Internal method)
  25389. - Added ResetMouseEventArgs stub (MS Internal method)
  25390. - Implemented RtlTranslateAlignment
  25391. - Implemented RtlTranslateContent
  25392. - Implemented RtlTranslateHorizontal
  25393. - Implemented RtlTranslateLeftRight
  25394. - Added generation of KeyPress event
  25395. 2004-10-02 05:57 ravindra
  25396. * ListViewItem.cs: Added attributes.
  25397. 2004-10-02 05:32 ravindra
  25398. * ListView.cs: Added attributes.
  25399. 2004-10-01 11:53 jackson
  25400. * Form.cs: Implement the Close method so work on MessageBox can
  25401. continue.
  25402. 2004-09-30 14:06 pbartok
  25403. * XplatUIX11.cs:
  25404. - Bug fixes
  25405. 2004-09-30 11:34 jackson
  25406. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  25407. 2004-09-30 07:26 ravindra
  25408. * ListViewItemConverter.cs: Converter for ListViewItem.
  25409. 2004-09-30 07:26 ravindra
  25410. * SortOrder.cs: Enum for ListView control.
  25411. 2004-09-30 07:25 ravindra
  25412. * ColumnHeader.cs: Supporting class for ListView control.
  25413. 2004-09-30 07:24 ravindra
  25414. * ListView.cs, ListViewItem.cs: Initial implementation.
  25415. 2004-09-30 07:20 ravindra
  25416. * ItemActivation.cs: Enum for ListView Control.
  25417. 2004-09-29 20:29 pbartok
  25418. * XplatUIX11.cs:
  25419. - Added lookup of pixel value for background color; tries to get a
  25420. color 'close' to the requested color, it avoids having to create a
  25421. colormap. Depending on the display this could mean the used color
  25422. is slightly off the desired color. Might have to change it to a more
  25423. resource intensive colormap approach, but it will work as a
  25424. workaround to avoid red screens.
  25425. 2004-09-29 14:27 jackson
  25426. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  25427. 2004-09-28 12:44 pbartok
  25428. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  25429. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  25430. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  25431. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  25432. TrackBar.cs, VScrollBar.cs:
  25433. - Streamlined Theme interfaces:
  25434. * Each DrawXXX method for a control now is passed the object for
  25435. the control to be drawn in order to allow accessing any state the
  25436. theme might require
  25437. * ControlPaint methods for the theme now have a CP prefix to avoid
  25438. name clashes with the Draw methods for controls
  25439. * Every control now retrieves it's DefaultSize from the current
  25440. theme
  25441. 2004-09-28 12:17 jackson
  25442. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  25443. drawing
  25444. 2004-09-24 14:57 jackson
  25445. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  25446. Gives us a nice little performance boost.
  25447. 2004-09-24 12:02 jackson
  25448. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  25449. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  25450. Control and supporting classes. Initial checkin
  25451. 2004-09-23 13:08 jackson
  25452. * Form.cs: Temp build fixage
  25453. 2004-09-23 01:39 ravindra
  25454. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  25455. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  25456. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  25457. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  25458. EventHandlers needed by ListView Control.
  25459. 2004-09-22 14:12 pbartok
  25460. * ScrollableControl.cs:
  25461. - Implemented DockPadding property
  25462. - Implemented AutoScroll property
  25463. - Implemented AutoScrollMargin property
  25464. - Implemented AutoScrollMinSize property
  25465. - Implemented AutoScrollPosition property
  25466. - Implemented DisplayRectangle property (still incomplete)
  25467. - Implemented CreateParams property
  25468. - Implemented HScroll property
  25469. - Implemented VScroll property
  25470. - Implemented OnVisibleChanged property
  25471. 2004-09-22 14:09 pbartok
  25472. * Form.cs:
  25473. - Added Form.ControllCollection class
  25474. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  25475. RemoveOwnedForm (still incomplete, missing on-top and common
  25476. minimize/maximize behaviour)
  25477. - Added StartPosition property (still incomplete, does not use when
  25478. creating the form)
  25479. - Added ShowDialog() methods (still incomplete, missing forcing the
  25480. dialog modal)
  25481. 2004-09-22 14:05 pbartok
  25482. * Application.cs:
  25483. - Added message loop for modal dialogs
  25484. 2004-09-22 14:02 pbartok
  25485. * GroupBox.cs:
  25486. - Fixed wrong types for events
  25487. 2004-09-22 14:00 pbartok
  25488. * Shortcut.cs, FormWindowState.cs:
  25489. - Fixed wrong values
  25490. 2004-09-22 12:01 jackson
  25491. * Control.cs: Text is never null
  25492. 2004-09-20 22:14 pbartok
  25493. * XplatUIWin32.cs:
  25494. - Fixed accessibility level for Idle handler
  25495. 2004-09-20 18:54 jackson
  25496. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  25497. XplatUIX11.cs: New message loop that uses poll so we don't get a
  25498. busy loop
  25499. 2004-09-17 10:43 pbartok
  25500. * ScrollBar.cs:
  25501. - Fixed behaviour of arrow buttons. Now properly behaves like
  25502. Buttons (and like Microsoft's scrollbar arrow buttons)
  25503. 2004-09-17 10:14 pbartok
  25504. * ScrollBar.cs:
  25505. - Added missing release of keyboard/mouse capture
  25506. 2004-09-17 06:18 jordi
  25507. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  25508. Theme.cs: Very early menu support
  25509. 2004-09-16 17:45 pbartok
  25510. * XplatUIWin32.cs:
  25511. - Fixed sending a window to the front
  25512. - Added overload for SetWindowPos to avoid casting
  25513. 2004-09-16 17:44 pbartok
  25514. * Control.cs:
  25515. - Added SendToBack and BringToFront methods
  25516. 2004-09-16 07:00 ravindra
  25517. * Copyright: Added Novell URL.
  25518. 2004-09-16 07:00 ravindra
  25519. * ToolBar.cs: Invalidate should be done before redrawing.
  25520. 2004-09-15 21:19 ravindra
  25521. * ColumnHeaderStyle.cs: Enum for ListView Control.
  25522. 2004-09-15 21:18 ravindra
  25523. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  25524. ListView Control.
  25525. 2004-09-13 18:26 jackson
  25526. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  25527. properly
  25528. 2004-09-13 18:13 jackson
  25529. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  25530. a second thread and post messages into the main threads message
  25531. queue. This makes timing much more consistent. Both win2K and XP
  25532. have a minimum timer value of 15 milliseconds, so we now do this
  25533. too.
  25534. 2004-09-13 15:18 pbartok
  25535. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  25536. XplatUIX11.cs:
  25537. - Added Z-Ordering methods
  25538. 2004-09-13 10:56 pbartok
  25539. * Form.cs:
  25540. - Fixed #region names
  25541. - Moved properties and methods into their proper #regions
  25542. 2004-09-13 10:51 pbartok
  25543. * Form.cs:
  25544. - Added Accept and CancelButton properties
  25545. - Added ProcessDialogKey() method
  25546. 2004-09-13 08:18 pbartok
  25547. * IWindowTarget.cs:
  25548. - Initial check-in
  25549. 2004-09-10 21:50 pbartok
  25550. * Control.cs:
  25551. - Added DoDragDrop() [incomplete]
  25552. - Properly implemented 'Visible' handling
  25553. - Added SetVisibleCore()
  25554. - Implemented FindChildAtPoint()
  25555. - Implemented GetContainerControl()
  25556. - Implemented Hide()
  25557. 2004-09-10 19:28 pbartok
  25558. * Control.cs:
  25559. - Moved methods into their appropriate #regions
  25560. - Reordered methods within regions alphabetically
  25561. 2004-09-10 18:57 pbartok
  25562. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  25563. - Added method to retrieve text from window
  25564. 2004-09-10 18:56 pbartok
  25565. * Control.cs:
  25566. - Moved some internal functions into the internal region
  25567. - Implemented FontHeight
  25568. - Implemented RenderRightToLeft
  25569. - Implemented ResizeRedraw
  25570. - Implemented ShowFocusCues
  25571. - Implemented ShowKeyboardCues
  25572. - Implemented FromChildHandle
  25573. - Implemented FromHandle
  25574. - Implemented IsMnemonic
  25575. - Implemented ReflectMessage
  25576. - All public and protected Static Methods are now complete
  25577. 2004-09-10 16:54 pbartok
  25578. * Control.cs:
  25579. - Implemented remaining missing public instance properties
  25580. - Alphabetized some out of order properties
  25581. 2004-09-10 05:51 ravindra
  25582. * PictureBox.cs: Added a check for null image.
  25583. 2004-09-10 00:59 jordi
  25584. * GroupBox.cs: remove cvs tag
  25585. 2004-09-09 05:25 ravindra
  25586. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  25587. 2004-09-09 05:23 ravindra
  25588. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  25589. parent redraw.
  25590. 2004-09-09 02:28 pbartok
  25591. * ThemeWin32Classic.cs:
  25592. - Improve disabled string look
  25593. 2004-09-09 01:15 jordi
  25594. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  25595. args and handler
  25596. 2004-09-08 23:56 ravindra
  25597. * ItemBoundsPortion.cs: It's enum, not a class!
  25598. 2004-09-08 23:47 ravindra
  25599. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  25600. Enums for Form.
  25601. 2004-09-08 21:13 ravindra
  25602. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  25603. ListView control.
  25604. 2004-09-08 21:03 ravindra
  25605. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  25606. avoid crash.
  25607. 2004-09-08 21:01 ravindra
  25608. * ScrollableControl.cs: Removed unreachable code.
  25609. 2004-09-08 06:45 jordi
  25610. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  25611. 2004-09-08 01:00 jackson
  25612. * XplatUIX11.cs: Only run the timers when updating the message
  25613. queue. This effectively gives X messages a higher priority then
  25614. timer messages. Timers still need love though
  25615. 2004-09-07 14:01 jackson
  25616. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  25617. this for us and the handle is no longer valid.
  25618. 2004-09-07 13:59 jackson
  25619. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  25620. loop that manages to not crash. TODO: Add poll and cleanup timers
  25621. 2004-09-07 11:12 jordi
  25622. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  25623. 2004-09-07 03:40 jordi
  25624. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  25625. fixes, methods, multiple links
  25626. 2004-09-06 06:55 jordi
  25627. * Control.cs: Caches ClientRectangle rectangle value
  25628. 2004-09-05 02:03 jordi
  25629. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  25630. certain situations
  25631. 2004-09-04 11:10 jordi
  25632. * Label.cs: Refresh when font changed
  25633. 2004-09-02 16:24 pbartok
  25634. * Control.cs:
  25635. - Added sanity check to creation of double buffer bitmap
  25636. 2004-09-02 16:24 pbartok
  25637. * ButtonBase.cs:
  25638. - Fixed selection of text color
  25639. - Fixed handling of resize event; now properly recreates double
  25640. buffering bitmap
  25641. - Added missing assignment of TextAlignment
  25642. - Added proper default for TextAlignment
  25643. 2004-09-02 14:26 pbartok
  25644. * RadioButton.cs:
  25645. - Added missing RadioButton.RadioButtonAccessibleObject class
  25646. 2004-09-02 14:26 pbartok
  25647. * Control.cs:
  25648. - Added missing Control.ControlAccessibleObject class
  25649. - Started to implement Select()ion mechanisms, still very incomplete
  25650. 2004-09-02 14:25 pbartok
  25651. * AccessibleObject.cs:
  25652. - Added missing methods
  25653. 2004-09-02 14:23 pbartok
  25654. * AccessibleNavigation.cs, AccessibleSelection.cs:
  25655. - Initial check-in
  25656. 2004-09-02 10:32 jordi
  25657. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  25658. pool for pens, brushes, and hatchbruses
  25659. 2004-09-01 15:30 jackson
  25660. * StatusBar.cs: Fix typo
  25661. 2004-09-01 14:44 pbartok
  25662. * RadioButton.cs:
  25663. - Fixed state
  25664. 2004-09-01 14:39 pbartok
  25665. * Button.cs, RadioButton.cs:
  25666. - Functional initial check-in
  25667. 2004-09-01 14:01 pbartok
  25668. * CheckBox.cs:
  25669. - Added missing default
  25670. - Added missing region mark
  25671. 2004-09-01 09:10 jordi
  25672. * Label.cs: fixes method signatures, new methods, events, fixes
  25673. autosize
  25674. 2004-09-01 07:19 jordi
  25675. * Control.cs: Init string variables with an empty object
  25676. 2004-09-01 04:20 jordi
  25677. * Control.cs: fires OnFontChanged event
  25678. 2004-08-31 20:07 pbartok
  25679. * ButtonBase.cs:
  25680. - Enabled display of strings
  25681. 2004-08-31 20:05 pbartok
  25682. * Form.cs:
  25683. - Added (partial) implementation of DialogResult; rest needs to be
  25684. implemented when the modal loop code is done
  25685. 2004-08-31 19:55 pbartok
  25686. * CheckBox.cs:
  25687. - Fixed to match the removal of the needs_redraw concept
  25688. 2004-08-31 19:55 pbartok
  25689. * ButtonBase.cs:
  25690. - Removed the rather odd split between 'needs redraw' and redrawing
  25691. - Now handles the events that require regeneration (ambient
  25692. properties and size)
  25693. 2004-08-31 19:41 pbartok
  25694. * Control.cs:
  25695. - Added firing of BackColorChanged event
  25696. - Added TopLevelControl property
  25697. - Fixed handling of WM_ERASEBKGRND message
  25698. 2004-08-31 12:49 pbartok
  25699. * ButtonBase.cs:
  25700. - Removed debug
  25701. - Minor fixes
  25702. 2004-08-31 12:48 pbartok
  25703. * CheckBox.cs:
  25704. - Finished (famous last words)
  25705. 2004-08-31 04:35 jordi
  25706. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  25707. scrolling bugs, adds new methods
  25708. 2004-08-30 14:42 pbartok
  25709. * CheckBox.cs:
  25710. - Implemented CheckBox drawing code
  25711. 2004-08-30 14:42 pbartok
  25712. * ButtonBase.cs:
  25713. - Made Redraw() and CheckRedraw() virtual
  25714. - Improved mouse up/down/move logic to properly track buttons
  25715. 2004-08-30 09:44 pbartok
  25716. * CheckBox.cs:
  25717. - Updated to fix broken build. Not complete yet.
  25718. 2004-08-30 09:28 pbartok
  25719. * CheckState.cs:
  25720. - Initial checkin
  25721. 2004-08-30 09:17 pbartok
  25722. * Appearance.cs:
  25723. - Initial check-in
  25724. 2004-08-27 16:12 ravindra
  25725. * ToolBarButton.cs: Added TypeConverter attribute.
  25726. 2004-08-27 16:07 ravindra
  25727. * ImageIndexConverter.cs: Implemented.
  25728. 2004-08-27 14:17 pbartok
  25729. * Control.cs:
  25730. - Removed unneeded stack vars
  25731. - First attempt to fix sizing issues when layout is suspended
  25732. 2004-08-25 15:35 jordi
  25733. * ScrollBar.cs: more fixes to scrollbar
  25734. 2004-08-25 14:04 ravindra
  25735. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  25736. Added the missing divider code and grip for ToolBar Control.
  25737. 2004-08-25 13:20 pbartok
  25738. * Control.cs:
  25739. - Control now properly passes the ambient background color to child
  25740. controls
  25741. 2004-08-25 13:20 jordi
  25742. * ScrollBar.cs: small bug fix regarding bar position
  25743. 2004-08-25 12:33 pbartok
  25744. * Timer.cs:
  25745. - Now only calls SetTimer or KillTimer if the enabled state has
  25746. changed
  25747. 2004-08-25 12:33 pbartok
  25748. * XplatUIWin32.cs:
  25749. - Fixed timer handling, now seems to work
  25750. - Improved error message for window creation
  25751. 2004-08-25 12:32 pbartok
  25752. * Control.cs:
  25753. - Fixed generation of MouseUp message
  25754. 2004-08-25 12:29 jordi
  25755. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  25756. and fixes for progressbar
  25757. 2004-08-24 18:43 ravindra
  25758. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  25759. in ToolBar control.
  25760. 2004-08-24 17:15 pbartok
  25761. * Panel.cs:
  25762. - Added #region
  25763. - Added missing events
  25764. - Alphabetized
  25765. 2004-08-24 17:14 pbartok
  25766. * StatusBar.cs, PictureBox.cs:
  25767. - Now uses Control's CreateParams
  25768. 2004-08-24 16:36 pbartok
  25769. * XplatUIX11.cs:
  25770. - Fixed background color handling
  25771. - Fixed sending of enter/leave events on a grab
  25772. 2004-08-24 16:35 pbartok
  25773. * X11Structs.cs:
  25774. - Refined definitions for CrossingEvent
  25775. 2004-08-24 12:37 jordi
  25776. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  25777. formmating, methods signature, and adds missing events
  25778. 2004-08-24 12:24 jordi
  25779. * Control.cs: fire OnEnabledChanged event
  25780. 2004-08-24 11:17 pbartok
  25781. * XplatUIWin32.cs:
  25782. - Implemented SetTimer() and KillTimer()
  25783. 2004-08-24 11:16 pbartok
  25784. * XplatUIX11.cs:
  25785. - Now uses Remove instead of Add to kill the timer
  25786. 2004-08-24 10:16 jackson
  25787. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  25788. picture boxes in the theme now. Draw picture box borders and obey
  25789. sizing modes
  25790. 2004-08-24 05:49 jackson
  25791. * Timer.cs: Remove top secret debugging code
  25792. 2004-08-24 05:34 jackson
  25793. * PictureBox.cs: Temp hack to make picture boxes draw their full
  25794. image
  25795. 2004-08-24 05:29 jackson
  25796. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  25797. XplatUIX11.cs: Move timers to the driver level. On X they are
  25798. queued by the driver and checked on idle.
  25799. 2004-08-24 01:07 jackson
  25800. * XplatUIX11.cs: Use a queue for async messages instead of passing
  25801. them as ClientMessages since that was totally broken. Also simply
  25802. check for events and return an idle message if none are found. This
  25803. gives us an idle handler, and prevents deadlocking when no messages
  25804. are in the queue.
  25805. 2004-08-23 18:19 ravindra
  25806. * XplatUIWin32.cs: Removed the unwanted destructor.
  25807. 2004-08-23 17:27 pbartok
  25808. * ButtonBase.cs:
  25809. - Finishing touches. Works now, just needs some optimizations.
  25810. 2004-08-23 16:53 jordi
  25811. * ScrollBar.cs: small fix
  25812. 2004-08-23 16:45 pbartok
  25813. * Application.cs:
  25814. - Removed debug output
  25815. - Simplifications
  25816. 2004-08-23 16:43 jordi
  25817. * ScrollBar.cs: [no log message]
  25818. 2004-08-23 16:10 pbartok
  25819. * Form.cs:
  25820. - Fixed handling of WM_CLOSE message
  25821. - Removed debug output
  25822. 2004-08-23 16:09 pbartok
  25823. * Application.cs:
  25824. - Added handling of Idle event
  25825. - Added handling of form closing
  25826. - Fixed reporting of MessageLoop property
  25827. - Removed some unneeded code, should provide a bit of a speedup
  25828. 2004-08-23 15:22 pbartok
  25829. * Control.cs:
  25830. - Added InitLayout() method
  25831. - Added code to properly perform layout when Anchor or Dock property
  25832. is changed
  25833. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  25834. LAMESPEC, tried to do it in a way that makes sense
  25835. 2004-08-23 14:10 jordi
  25836. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  25837. properties and methods
  25838. 2004-08-23 13:55 pbartok
  25839. * Control.cs:
  25840. - Properly fixed Jordi's last fix
  25841. - Now uses Cursor's Position property instead of calling XplatUI
  25842. directly
  25843. 2004-08-23 13:44 jordi
  25844. * PaintEventHandler.cs: Adding missing attribute
  25845. 2004-08-23 13:39 pbartok
  25846. * Cursor.cs:
  25847. - Implemented Position property
  25848. 2004-08-23 13:39 pbartok
  25849. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  25850. - Added method to move mouse cursor
  25851. 2004-08-23 13:39 pbartok
  25852. * XplatUIX11.cs:
  25853. - Fixed setting of background color
  25854. - Added method to move mouse cursor
  25855. 2004-08-23 13:16 jordi
  25856. * Control.cs: avoids null exception
  25857. 2004-08-22 17:46 jackson
  25858. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  25859. PictureBox
  25860. 2004-08-22 17:40 jackson
  25861. * XplatUIX11.cs: Add some missing locks
  25862. 2004-08-22 15:10 pbartok
  25863. * Control.cs, Form.cs:
  25864. - Removed OverlappedWindow style from Control, instead it's default
  25865. now is child
  25866. - Made form windows OverlappedWindow by default
  25867. 2004-08-22 13:34 jackson
  25868. * ScrollBar.cs: Update the position through the Value property so
  25869. the OnValueChanged event is raised.
  25870. 2004-08-22 12:04 pbartok
  25871. * SWF.csproj:
  25872. - Added Cursor.cs and UserControl.cs
  25873. 2004-08-22 12:03 pbartok
  25874. * Cursor.cs:
  25875. - Started implementation, not usable yet
  25876. 2004-08-22 12:00 pbartok
  25877. * UserControl.cs:
  25878. - Implemented UserControl (complete)
  25879. 2004-08-21 19:20 ravindra
  25880. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  25881. 2004-08-21 18:49 ravindra
  25882. * ToolBar.cs: Probably this completes the missing attributes in
  25883. toolbar control.
  25884. 2004-08-21 18:03 ravindra
  25885. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  25886. Fixed toolbar control signatures.
  25887. 2004-08-21 16:32 pbartok
  25888. * LinkLabel.cs:
  25889. - Signature Fixes
  25890. 2004-08-21 16:30 pbartok
  25891. * Label.cs:
  25892. - Signature fixes
  25893. 2004-08-21 16:19 pbartok
  25894. * Control.cs, Label.cs:
  25895. - Signature fixes
  25896. 2004-08-21 15:57 pbartok
  25897. * ButtonBase.cs:
  25898. - Added loads of debug output for development
  25899. - Fixed typo in method name
  25900. 2004-08-21 15:52 pbartok
  25901. * ToolBarButtonClickEventArgs.cs:
  25902. - Added missing base class
  25903. 2004-08-21 14:53 pbartok
  25904. * Control.cs:
  25905. - Updated to match new GrabWindow signature
  25906. 2004-08-21 14:51 pbartok
  25907. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  25908. - Added method to get default display size
  25909. 2004-08-21 14:23 pbartok
  25910. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  25911. - Added method to query current grab state
  25912. - Added argument to allow confining a grab to a window
  25913. 2004-08-21 14:22 pbartok
  25914. * Keys.cs:
  25915. - Added [Flags] attribute so that modifiers can be used in bitwise
  25916. ops
  25917. 2004-08-21 14:21 pbartok
  25918. * TrackBar.cs, ScrollBar.cs:
  25919. - Replaced direct XplatUI calls with their Control counterpart
  25920. 2004-08-21 13:32 pbartok
  25921. * Control.cs:
  25922. - Implemented Created property
  25923. 2004-08-21 13:28 pbartok
  25924. * Control.cs:
  25925. - Implemented ContainsFocus
  25926. 2004-08-21 13:26 pbartok
  25927. * Control.cs:
  25928. - Implemented CausesValidation
  25929. 2004-08-21 13:21 pbartok
  25930. * Control.cs:
  25931. - Implemented CanFocus
  25932. - Implemented CanSelect
  25933. - Implemented Capture
  25934. 2004-08-21 12:35 pbartok
  25935. * XplatUIWin32.cs:
  25936. - Fixed bug with Async message handling
  25937. - Implemented getting the ModifierKeys
  25938. 2004-08-21 12:32 jackson
  25939. * AsyncMethodResult.cs: Make sure we have the mutex before we
  25940. release it. Fixes BeginInvoke on windows
  25941. 2004-08-21 11:31 pbartok
  25942. * XplatUIWin32.cs, XplatUIX11.cs:
  25943. - Drivers now return proper mouse state
  25944. 2004-08-21 10:54 jackson
  25945. * Control.cs: Implement EndInvoke
  25946. 2004-08-21 10:48 jackson
  25947. * Timer.cs: Remove unneeded finalizer
  25948. 2004-08-20 19:52 ravindra
  25949. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  25950. in mouse event handling in the ToolBar control.
  25951. 2004-08-20 19:50 ravindra
  25952. * ImageList.cs: Changed draw method to use the arguments passed in
  25953. to draw the image.
  25954. 2004-08-20 18:58 pbartok
  25955. * XplatUIStructs.cs:
  25956. - Added private message for async communication
  25957. 2004-08-20 17:38 ravindra
  25958. * Control.cs: Made RightToLeft property virtual and removed a
  25959. Console.WriteLine.
  25960. 2004-08-20 14:39 jordi
  25961. * ThemeGtk.cs: use style_attach
  25962. 2004-08-20 14:39 pbartok
  25963. * XplatUIWin32.cs:
  25964. - Added jackson's Async code from X11 to Win32
  25965. 2004-08-20 14:09 pbartok
  25966. * SWF.csproj:
  25967. - Added all new files
  25968. 2004-08-20 14:09 pbartok
  25969. * Control.cs:
  25970. - Added call to set window background color
  25971. 2004-08-20 14:03 pbartok
  25972. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  25973. - Added method for setting the window background
  25974. 2004-08-20 14:02 pbartok
  25975. * XplatUIWin32.cs:
  25976. - Added method for setting the background color
  25977. - Added handling for erasing the window background
  25978. 2004-08-20 13:45 jordi
  25979. * TrackBar.cs: fixes timer, new properties and methods
  25980. 2004-08-20 13:34 jackson
  25981. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  25982. correct thread
  25983. 2004-08-20 13:22 jackson
  25984. * Timer.cs: Timer Tick events are now handed through Controls Async
  25985. mechanism so the callbacks are executed in the same thread as X
  25986. 2004-08-20 13:19 jackson
  25987. * XplatUIDriver.cs: Expose functionality to send async messages
  25988. through the driver
  25989. 2004-08-20 13:18 jackson
  25990. * Control.cs: Implement Begininvoke
  25991. 2004-08-20 13:14 jackson
  25992. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  25993. messages through the driver
  25994. 2004-08-20 13:12 jackson
  25995. * XplatUIX11.cs: Lock before all X operations. Also added Async
  25996. method functionality through XSendEvent
  25997. 2004-08-20 13:11 jackson
  25998. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  25999. This will screw up on 64 bit systems)
  26000. 2004-08-20 13:10 jackson
  26001. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  26002. Async messages through X/Win32
  26003. 2004-08-19 19:39 pbartok
  26004. * XplatUIX11.cs:
  26005. - Updated code to match new HandleData.DeviceContext type
  26006. 2004-08-19 19:38 pbartok
  26007. * HandleData.cs:
  26008. - Made DeviceContext a generic object to allow usage from various
  26009. drivers
  26010. - Added support for queueing Windows messages
  26011. 2004-08-19 19:37 pbartok
  26012. * XplatUIWin32.cs:
  26013. - Added generation of MouseEnter, MouseLeave and MouseHover events
  26014. - Added cleanup on EndPaint
  26015. 2004-08-19 19:17 pbartok
  26016. * Control.cs:
  26017. - Added handling of WM_MOUSEHOVER
  26018. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  26019. code
  26020. 2004-08-19 18:55 jordi
  26021. * ThemeGtk.cs: fixes button order
  26022. 2004-08-19 18:12 jordi
  26023. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  26024. 2004-08-19 17:09 pbartok
  26025. * Control.cs:
  26026. - Added Right property
  26027. - Added RightToLeft property
  26028. 2004-08-19 16:27 jordi
  26029. * ThemeGtk.cs: experimental GTK theme support
  26030. 2004-08-19 16:26 jordi
  26031. * ITheme.cs, Theme.cs: move themes from an interface to a class
  26032. 2004-08-19 16:25 jordi
  26033. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  26034. theme enhancaments
  26035. 2004-08-19 16:04 pbartok
  26036. * XplatUIX11.cs:
  26037. - Added colormap basics
  26038. - Added a way to re-initialize with a different display handle
  26039. - Fixed setting of the window background color
  26040. - Added various X11 imports related to colors and colormaps
  26041. 2004-08-19 15:51 pbartok
  26042. * X11Structs.cs:
  26043. - Removed packing hints (Paolo suggested this a while back)
  26044. - fixed colormap type
  26045. - Added default Atom types
  26046. - Added Screen and color structs and enums
  26047. 2004-08-19 15:39 pbartok
  26048. * ImageList.cs:
  26049. - Added missing Draw() method
  26050. - Added missing RecreateHandle event
  26051. 2004-08-19 15:30 pbartok
  26052. * Form.cs:
  26053. - Added handling of WM_CLOSE
  26054. 2004-08-18 13:16 jordi
  26055. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  26056. a table
  26057. 2004-08-18 09:56 jordi
  26058. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  26059. 2004-08-17 15:31 ravindra
  26060. * SWF.csproj: Updated project.
  26061. 2004-08-17 15:25 pbartok
  26062. * Control.cs:
  26063. - Drawing improvement; don't call UpdateBounds if we are not visible
  26064. (or have been minimized)
  26065. 2004-08-17 15:24 pbartok
  26066. * XplatUIWin32.cs:
  26067. - Finished IsVisible
  26068. - Added Win32GetWindowPlacement
  26069. 2004-08-17 15:08 jackson
  26070. * Panel.cs: Initial checkin of the Panel
  26071. 2004-08-17 14:25 pbartok
  26072. * Control.cs:
  26073. - Fixed broken handling of default window sizes
  26074. 2004-08-17 13:29 jackson
  26075. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  26076. has a large startup time.
  26077. 2004-08-17 10:25 jackson
  26078. * HandleData.cs: union areas properly
  26079. 2004-08-17 10:12 jackson
  26080. * HandleData.cs: union areas properly
  26081. 2004-08-16 20:00 ravindra
  26082. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  26083. 2004-08-16 18:48 ravindra
  26084. * ToolBar.cs: Added attributes.
  26085. 2004-08-16 17:17 ravindra
  26086. * SWF.csproj: Updated project.
  26087. 2004-08-16 17:16 jackson
  26088. * XplatUIX11.cs: Check for more expose events before sending a
  26089. WM_PAINT so they can all be grouped together. This makes dragging a
  26090. window across another window redraw in a sane way.
  26091. 2004-08-16 15:47 pbartok
  26092. * Control.cs:
  26093. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  26094. support OnMouseEnter/Leave()
  26095. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  26096. exposure handling
  26097. 2004-08-16 15:46 pbartok
  26098. * XplatUIStructs.cs, XplatUIX11.cs:
  26099. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  26100. OnMouseEnter/Leave()
  26101. 2004-08-16 15:34 jackson
  26102. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  26103. sure messages get the message field set to WM_NULL if they are not
  26104. handled.
  26105. 2004-08-16 15:24 jackson
  26106. * HandleData.cs: HandleData is used for storing message information
  26107. for window handles
  26108. 2004-08-15 17:23 ravindra
  26109. * ColorDepth.cs: Added attribute.
  26110. 2004-08-15 17:23 ravindra
  26111. * SWF.csproj: Updated project for ToolBar Control.
  26112. 2004-08-15 17:20 ravindra
  26113. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  26114. control and also dos2unix format.
  26115. 2004-08-15 17:13 ravindra
  26116. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  26117. ToolBarButtonClickEventArgs.cs,
  26118. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  26119. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  26120. 2004-08-15 15:31 pbartok
  26121. * ButtonBase.cs:
  26122. - First (mostly) working version
  26123. 2004-08-13 16:15 pbartok
  26124. * Control.cs:
  26125. - Fixed Anchor default
  26126. 2004-08-13 15:43 pbartok
  26127. * Control.cs:
  26128. - Changed GetCursorPos signature
  26129. 2004-08-13 15:42 pbartok
  26130. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  26131. - Changed signature for GetCursorPos
  26132. 2004-08-13 15:25 pbartok
  26133. * XplatUIX11.cs:
  26134. - Cleanup
  26135. - Fixed resizing/exposure handling
  26136. 2004-08-13 15:22 jordi
  26137. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  26138. with tickposition
  26139. 2004-08-13 14:55 jordi
  26140. * TrackBar.cs: change from wndproc to events
  26141. 2004-08-13 13:00 jordi
  26142. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26143. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  26144. 2004-08-13 12:53 pbartok
  26145. * XplatUIWin32.cs:
  26146. - Changed GetWindowPos to also provide client area size
  26147. - Fixed broken prototypes for several win32 functions
  26148. 2004-08-13 12:53 pbartok
  26149. * XplatUI.cs, XplatUIDriver.cs:
  26150. - Changed GetWindowPos to also provide client area size
  26151. 2004-08-13 12:52 pbartok
  26152. * XplatUIX11.cs:
  26153. - Added generation of WM_POSCHANGED
  26154. - Changed GetWindowPos to also provide client area size
  26155. 2004-08-13 12:52 pbartok
  26156. * Control.cs:
  26157. - Added Dispose() and destructor
  26158. - Fixed resizing and bounds calculation
  26159. - Fixed Layout
  26160. - Added memory savings for invisible windows
  26161. 2004-08-13 12:46 jordi
  26162. * TrackBar.cs: adds timer and grap window
  26163. 2004-08-13 10:25 jackson
  26164. * Timer.cs: SWF Timer
  26165. 2004-08-12 16:59 pbartok
  26166. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26167. - Implemented method to get current mouse position
  26168. 2004-08-12 14:29 jordi
  26169. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  26170. enhancement, fix mouse problems, highli thumb, etc
  26171. 2004-08-12 13:31 pbartok
  26172. * Control.cs:
  26173. - Fixed Anchoring bugs
  26174. 2004-08-12 13:01 jackson
  26175. * StatusBar.cs: Don't forget things
  26176. 2004-08-12 12:54 jackson
  26177. * ThemeWin32Classic.cs: Handle owner draw status bars
  26178. 2004-08-12 12:54 jackson
  26179. * StatusBar.cs: Implement missing properties, events, and methods.
  26180. Handle mouse clicking
  26181. 2004-08-12 10:19 jackson
  26182. * StatusBarPanelClickEventArgs.cs,
  26183. StatusBarPanelClickEventHandler.cs: Classes for handling status
  26184. bar panel click events
  26185. 2004-08-12 10:10 jackson
  26186. * Control.cs: Add missing properties
  26187. 2004-08-12 09:46 pbartok
  26188. * BindingsManagerBase.cs:
  26189. - Name changed to BindingManagerBase.cs
  26190. 2004-08-12 09:25 jordi
  26191. * ScrollableControl.cs: calls ctrlbase instead of exeception
  26192. 2004-08-11 16:28 pbartok
  26193. * InputLanguageChangingEventArgs.cs:
  26194. - Never check in before compiling. Fixes the last check-in
  26195. 2004-08-11 16:26 pbartok
  26196. * InputLanguageChangingEventArgs.cs:
  26197. - More signature fixes
  26198. 2004-08-11 16:20 pbartok
  26199. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  26200. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  26201. ImageListStreamer.cs, InputLanguage.cs,
  26202. InputLanguageChangedEventArgs.cs,
  26203. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  26204. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  26205. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  26206. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26207. - Signature fixes
  26208. 2004-08-11 16:16 pbartok
  26209. * Application.cs:
  26210. - Fixed Signature
  26211. - Added .Net 1.1 method
  26212. 2004-08-11 15:25 pbartok
  26213. * SWF.csproj:
  26214. - Fixed BindingManagerBase.cs filename
  26215. 2004-08-11 15:22 pbartok
  26216. * BindingManagerBase.cs:
  26217. - Was checked in with wrong filename
  26218. 2004-08-11 14:50 pbartok
  26219. * SWF.csproj:
  26220. - Updated
  26221. 2004-08-11 13:41 jordi
  26222. * XplatUIWin32.cs: Fixes ClientRect
  26223. 2004-08-11 13:19 pbartok
  26224. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26225. XplatUIX11.cs:
  26226. - We had SetWindowPos and MoveWindow to set window positions and
  26227. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  26228. keep SetWindowPos as matching counterpart
  26229. - Added some X11 sanity checking
  26230. 2004-08-11 12:59 pbartok
  26231. * Control.cs:
  26232. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  26233. (It seems that SetBounds is just a front for SetBoundsCore and
  26234. SetBoundsCore updates the underlying window system and
  26235. UpdateBounds is responsible for updating the variables associated
  26236. with the Control and sending the events)
  26237. - Major cleanup of Size handling; we now have two sizes, client_size
  26238. and bounds. Bounds defines the window with decorations, client_size
  26239. without them.
  26240. 2004-08-11 12:55 pbartok
  26241. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26242. - Added method to calculate difference between decorated window and
  26243. raw client area
  26244. 2004-08-11 12:54 pbartok
  26245. * Label.cs:
  26246. - Forcing redraw on resize
  26247. 2004-08-11 11:43 pbartok
  26248. * ImageList.cs:
  26249. - Removed disposing of the actual images when the list is disposed
  26250. 2004-08-11 09:13 pbartok
  26251. * Control.cs:
  26252. - Now properly reparents windows
  26253. 2004-08-11 08:37 pbartok
  26254. * Control.cs:
  26255. - Duh!
  26256. 2004-08-11 07:47 pbartok
  26257. * Control.cs:
  26258. - Rewrote the collection stuff. Might not be as fast now, not
  26259. keeping the number of children around and accessible directly, but
  26260. it's more straightforward
  26261. 2004-08-11 07:44 pbartok
  26262. * AccessibleObject.cs:
  26263. - Fixed to match ControlCollection rewrite
  26264. 2004-08-11 07:43 pbartok
  26265. * ImageList.cs:
  26266. - Added missing creation of the collection list
  26267. 2004-08-10 20:08 jackson
  26268. * StatusBar.cs: Get the paint message from WndProc
  26269. 2004-08-10 19:31 jackson
  26270. * ThemeWin32Classic.cs: Create Brushes as little as possible
  26271. 2004-08-10 19:20 jackson
  26272. * UICues.cs: Add Flags attribute
  26273. 2004-08-10 19:19 jackson
  26274. * StatusBarPanel.cs: Signature cleanup
  26275. 2004-08-10 19:10 jackson
  26276. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  26277. Initial implementation of status bar item drawing
  26278. 2004-08-10 17:27 jordi
  26279. * TrackBar.cs: add missing methods, properties, and restructure to
  26280. hide extra ones
  26281. 2004-08-10 16:24 jackson
  26282. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  26283. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  26284. attribute
  26285. 2004-08-10 13:21 jordi
  26286. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  26287. enhancements and standarize on win colors defaults
  26288. 2004-08-10 12:52 jackson
  26289. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  26290. ThemeWin32Classic.cs: Implement DrawItem functionality
  26291. 2004-08-10 12:47 jordi
  26292. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  26293. 2004-08-10 12:32 jordi
  26294. * Control.cs: throw ontextchange event
  26295. 2004-08-10 11:43 pbartok
  26296. * Control.cs:
  26297. - Added more to the still unfinished Dock/Anchor layout code
  26298. 2004-08-10 11:39 pbartok
  26299. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  26300. - Added GetWindowPos method
  26301. 2004-08-10 11:36 pbartok
  26302. * XplatUIWin32.cs:
  26303. - Implemented several methods
  26304. 2004-08-10 09:47 jackson
  26305. * TrackBar.cs: Allow control to handle buffering
  26306. 2004-08-10 09:41 jackson
  26307. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  26308. 2004-08-10 09:24 jackson
  26309. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  26310. 2004-08-10 09:09 jackson
  26311. * StatusBar.cs: Let Control handle all the buffering.
  26312. 2004-08-10 09:08 jackson
  26313. * Control.cs: Control will now handle the buffering code, so each
  26314. control does not have to implement this.
  26315. 2004-08-10 08:34 jackson
  26316. * XplatUIDriver.cs: Use default colors from the theme
  26317. 2004-08-09 17:12 pbartok
  26318. * ImageList.cs:
  26319. - Fixed several bugs Ravindra pointed out
  26320. 2004-08-09 16:11 pbartok
  26321. * Control.cs:
  26322. - Added incomplete dock layout code
  26323. - Added support for mouse wheel
  26324. 2004-08-09 16:09 pbartok
  26325. * XplatUIX11.cs:
  26326. - Added handling for middle and right mousebutton
  26327. - Added handling for mouse wheel
  26328. - Added handling for key state and mouse state and position
  26329. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  26330. messages
  26331. 2004-08-09 15:40 jackson
  26332. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  26333. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  26334. checkin
  26335. 2004-08-09 15:37 jackson
  26336. * StatusBar.cs: Initial implementation of StatusBar
  26337. 2004-08-09 15:36 jackson
  26338. * ITheme.cs: Add support for drawing status bar and getting status
  26339. bar item sizes
  26340. 2004-08-09 15:35 pbartok
  26341. * MouseButtons.cs:
  26342. - Fixed values
  26343. 2004-08-09 15:34 jackson
  26344. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  26345. status bar item sizes
  26346. 2004-08-09 15:21 jackson
  26347. * ThemeWin32Classic.cs: Use known colors for default control
  26348. colours
  26349. 2004-08-09 15:12 jackson
  26350. * ThemeWin32Classic.cs: Make the default font static, it is static
  26351. in control so this doesn't change functionality and creating fonts
  26352. is sloooooow.
  26353. 2004-08-09 14:56 pbartok
  26354. * X11Structs.cs:
  26355. - Added GrabMode enum
  26356. 2004-08-09 14:55 pbartok
  26357. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26358. - Removed Run method, was only required for initial development
  26359. 2004-08-09 14:51 pbartok
  26360. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  26361. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  26362. capture
  26363. 2004-08-09 13:48 pbartok
  26364. * XplatUIX11.cs:
  26365. - Fixed default sizing for child windows
  26366. 2004-08-09 12:56 pbartok
  26367. * XplatUIX11.cs:
  26368. - Added generation of WM_DESTROY message
  26369. - Added handling of window manager induced shutdown
  26370. 2004-08-09 11:31 jackson
  26371. * ThemeWin32Classic.cs: New names for control properties
  26372. 2004-08-09 11:25 jackson
  26373. * Control.cs: Use new color names
  26374. 2004-08-09 11:02 jackson
  26375. * XplatUI.cs: Get default window properties from the theme
  26376. 2004-08-09 11:01 jackson
  26377. * ITheme.cs: The theme engine now controls default window
  26378. properties
  26379. 2004-08-09 11:00 jackson
  26380. * ThemeWin32Classic.cs: Add default window color properties
  26381. 2004-08-09 10:17 jackson
  26382. * ThemeWin32Classic.cs: Use correct default back color
  26383. 2004-08-09 10:05 jackson
  26384. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  26385. the theme now.
  26386. 2004-08-09 09:56 jackson
  26387. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  26388. 2004-08-09 09:54 jackson
  26389. * Control.cs: Get default properties from the theme.
  26390. 2004-08-09 09:53 jackson
  26391. * ITheme.cs: Themes now handle default control properties
  26392. 2004-08-09 09:53 jackson
  26393. * ThemeWin32Classic.cs: Themes now handle default control
  26394. properties so coloring will be consistent
  26395. 2004-08-08 16:54 jordi
  26396. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  26397. 2004-08-08 15:08 jordi
  26398. * XplatUIX11.cs: fixes keyboard crash
  26399. 2004-08-08 13:47 jordi
  26400. * Label.cs: add cvs header info
  26401. 2004-08-08 12:09 jackson
  26402. * ThemeWin32Classic.cs: Add pen_buttonface
  26403. 2004-08-08 11:52 jordi
  26404. * Label.cs, LinkLabel.cs: [no log message]
  26405. 2004-08-08 11:34 jordi
  26406. * ThemeWin32Classic.cs: Use Windows Standard Colours
  26407. 2004-08-07 17:32 jordi
  26408. * TrackBar.cs: throw exceptions of invalid enums values
  26409. 2004-08-07 17:31 jordi
  26410. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  26411. draw method name
  26412. 2004-08-07 16:56 jackson
  26413. * HorizontalAlignment.cs: Initial checkin
  26414. 2004-08-07 13:16 jordi
  26415. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  26416. methods
  26417. 2004-08-07 13:05 jordi
  26418. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  26419. GetSysColor defines
  26420. 2004-08-06 18:01 pbartok
  26421. * ThemeWin32Classic.cs:
  26422. - Fixed some rounding issues with float/int
  26423. 2004-08-06 18:00 jackson
  26424. * DockStyle.cs, AnchorStyles.cs:
  26425. Add flags and serializable attributes.
  26426. 2004-08-06 17:46 pbartok
  26427. * XplatUIX11.cs:
  26428. - Implemented GetParent
  26429. 2004-08-06 17:18 pbartok
  26430. * TrackBar.cs:
  26431. - Fixed some rounding issues with float/int
  26432. 2004-08-06 17:17 pbartok
  26433. * X11Structs.cs, XplatUIX11.cs:
  26434. - Fixed Refresh and Invalidate
  26435. 2004-08-06 15:30 pbartok
  26436. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  26437. - Fixed recursive loop when resizing
  26438. - Improved/fixed redrawing on expose messages
  26439. 2004-08-06 09:53 jordi
  26440. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  26441. keyboard navigation
  26442. 2004-08-06 08:02 pbartok
  26443. * X11Structs.cs, XplatUIX11.cs:
  26444. - Fixed reparenting
  26445. - Fixed window border creation
  26446. 2004-08-05 15:38 pbartok
  26447. * XplatUIX11.cs:
  26448. - Attempted fix for reparenting problems
  26449. 2004-08-04 15:14 pbartok
  26450. * Control.cs:
  26451. - Fixed Invalidation bug (calculated wrong client area)
  26452. - Added ClientSize setter
  26453. 2004-08-04 15:13 pbartok
  26454. * Form.cs:
  26455. - Added AutoScale properties
  26456. 2004-08-04 15:13 pbartok
  26457. * SWF.csproj:
  26458. - Added latest files
  26459. 2004-08-04 14:11 pbartok
  26460. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  26461. XplatUIX11.cs:
  26462. - Added Invalidate handling
  26463. 2004-08-03 17:09 jordi
  26464. * XplatUIDriver.cs: fixes spelling mistake
  26465. 2004-07-27 09:53 jordi
  26466. * TrackBar.cs: fixes trackbar events, def classname, methods
  26467. signature
  26468. 2004-07-27 09:29 jordi
  26469. * ScrollBar.cs: fixes scrollbar events
  26470. 2004-07-27 04:38 jordi
  26471. * Control.cs: changes to be able to run winforms samples
  26472. 2004-07-26 11:42 jordi
  26473. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  26474. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  26475. 2004-07-26 05:41 jordi
  26476. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  26477. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  26478. implementation
  26479. 2004-07-22 09:22 jordi
  26480. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  26481. check link overlapping, implement events, and fixes
  26482. 2004-07-21 10:28 jordi
  26483. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  26484. 2004-07-21 10:19 jordi
  26485. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  26486. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  26487. LinkLabelLinkClickedEventArgs.cs,
  26488. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  26489. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  26490. implementation
  26491. 2004-07-19 13:09 jordi
  26492. * Control.cs, Label.cs: label control re-written: added missing
  26493. functionlity, events, and properties
  26494. 2004-07-19 10:49 jordi
  26495. * Control.cs: fixes SetBounds logic
  26496. 2004-07-19 01:29 jordi
  26497. * Control.cs: Call RefreshWindow only if the window has created
  26498. 2004-07-15 14:05 pbartok
  26499. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  26500. - Implemented ImageList and ImageList.ImageCollection classes
  26501. - Added ColorDepth enumeration
  26502. - Updated SWF VS.Net project
  26503. 2004-07-15 11:06 jordi
  26504. * XplatUIStructs.cs: added MsgButons enum
  26505. 2004-07-15 11:03 jordi
  26506. * Control.cs: added basic mouse handeling events
  26507. 2004-07-15 03:38 jordi
  26508. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  26509. Vertical TrackBar control implementation
  26510. 2004-07-13 09:33 jordi
  26511. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  26512. 2004-07-13 09:31 jordi
  26513. * Control.cs, Form.cs: commit: new properties and fixes form size
  26514. problems
  26515. 2004-07-09 14:13 miguel
  26516. * ProgressBar.cs: Spelling
  26517. 2004-07-09 11:25 pbartok
  26518. * ProgressBar.cs:
  26519. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  26520. faster
  26521. 2004-07-09 11:17 miguel
  26522. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  26523. * ProgressBar.cs: Fixed spelling for `block'
  26524. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  26525. style guidelines.
  26526. Avoid using the += on rect.X, that exposed a bug in the compiler.
  26527. 2004-07-08 23:21 pbartok
  26528. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  26529. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  26530. BaseCollection.cs, Binding.cs, BindingContext.cs,
  26531. BindingMemberInfo.cs, BindingsCollection.cs,
  26532. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  26533. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  26534. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  26535. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  26536. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  26537. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  26538. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  26539. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  26540. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  26541. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  26542. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  26543. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  26544. InputLanguageChangedEventArgs.cs,
  26545. InputLanguageChangedEventHandler.cs,
  26546. InputLanguageChangingEventArgs.cs,
  26547. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  26548. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  26549. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  26550. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  26551. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  26552. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  26553. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  26554. QueryAccessibilityHelpEventArgs.cs,
  26555. QueryAccessibilityHelpEventHandler.cs,
  26556. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  26557. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  26558. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  26559. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  26560. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  26561. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  26562. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  26563. XplatUIX11.cs, lang.cs:
  26564. - Initial check-in