ChangeLog 995 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235
  1. 2007-07-30 Jonathan Pobst <[email protected]>
  2. * TextBoxBase.cs: TextBoxBase reports itself at AutoSize, but doesn't
  3. actually do auto-sizing. Override the internal GetPreferredSizeCore
  4. so we can provide an implementation that returns the current width
  5. and preferred height. Allows anchor = right to work with TextBox 2.0.
  6. [Fixes bug #82233]
  7. 2007-07-30 Carlos Alberto Cortez <[email protected]>
  8. * ListView.cs: Add support for navigating items in Groups mode, by
  9. creating a big matrix containing all rows and cols of all groups. When
  10. are in other mode than Details, pressing Up should have a similar
  11. behaviour as that one of Down (moving to the next available column if
  12. current one doesn't have an item in the requested row). Also, don't
  13. proceed to use groups if ShowGroups is false.
  14. * ListViewGroup.cs: Add an internal int field to store the starting
  15. row of the group (used by the big matrix used for navigating the
  16. ListView).
  17. * ThemeWin32Classic.cs: Don't draw headers if ListView.ShowGroups is
  18. false.
  19. 2007-07-30 Jonathan Pobst <[email protected]>
  20. * ToolStripDropDown.cs: When we do Show, start with the
  21. DefaultDropDownDirection, but if our popup menu is going to off-screen,
  22. modify the direction to keep it on screen. [Fixes bug #82210]
  23. 2007-07-29 Gert Driesen <[email protected]>
  24. * FileDialog.cs: Accept any FilterIndex value, and store it
  25. unmodified. When FilterIndex is less than 1, or greater than number
  26. of filters, then default to first filter. Only add filter extension to
  27. file if user did not specifiy an extension. When type of dialog is
  28. OpenFileDialog and DefaultExt is set, then only use filter extension
  29. if: CheckFileExists is true and no file wih the default extension
  30. exists, or CheckFileExists is false, and user specified file does not
  31. exist. When CheckFileExists is true, then add first extension of
  32. selected filter that matches existing file. Perform checks for
  33. existing file, overwrite and create after extension has been added to
  34. file name. When CheckFileExists is true and type is SaveFileDialog,
  35. then only consider first filter extension if DefaultExt is set.
  36. When CheckFileExists is true, then ignore DefaultExt if file with that
  37. extension does not exist. Also perform check for existing file when
  38. type is SaveFileDialog. Changed some field to constants.
  39. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  40. * ListView.cs: Take into account the region used by header
  41. control when doing the vertical scroll (this way we invalidate
  42. the precise area, and don't get any dirty one).
  43. 2007-07-27 Everaldo Canuto <[email protected]>
  44. * FileDialog.cs: Check for valid filterIndex on button open/save.
  45. Fixes #82184.
  46. 2007-07-27 Carlos Alberto Cortez <[email protected]>
  47. * ListView.cs: Update some layout calculations in details view
  48. and clean the code in a pair of assignations.
  49. 2007-07-26 Jonathan Pobst <[email protected]>
  50. * ComboBox.cs, ContainerControl.cs, DataGrid.cs, FontDialog.cs, Label.cs,
  51. LinkLabel.cs, ListBox.cs, ListView.cs, ListViewItem.cs, MessageBox.cs,
  52. MonthCalender.cs, StatusBar.cs, ThemeClearlooks.cs, ThemeWin32Class.cs,
  53. ToolBar.cs, TreeView.cs: First pass at using thread-safe string measuring.
  54. 2007-07-26 Jonathan Pobst <[email protected]>
  55. * TextRenderer.cs: Use [ThreadStatic] instead of locks to improve
  56. performance of thread-safe Graphic methods. (Thanks rolf!)
  57. 2007-07-26 Carlos Alberto Cortez <[email protected]>
  58. * ListView.cs: When doing the layout calculations, don't calculate
  59. scroll bars before handle is created. This is unnecessary and also
  60. calculating them before handle creation item causes a number of random
  61. bugs (which begin to appear after Chris' big patch for handle creation
  62. fixes).
  63. 2007-07-26 Jonathan Pobst <[email protected]>
  64. * TextRenderer.cs: Create thread-safe versions of Graphics.MeasureString
  65. for things that don't have a Graphics object. Currently, things just use
  66. the static Hwnd.bmp_g which is not thread safe.
  67. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  68. * Form.cs: ShowDialog: don't destroy handles if the dialog is a common
  69. dialog. Fixes #82187.
  70. 2007-07-26 Rolf Bjarne Kvinge <[email protected]>
  71. * DataGridViewElement.cs: Initialize state.
  72. * DataGridView.cs: Forward a few Mouse events to cells. Add
  73. GetRowInternal and GetCellInternal that doesn't unshare rows.
  74. Implement GetCellDisplayRectangle. HitTest: if the row is shared,
  75. don't use the index, but look it up. Add
  76. DataGridViewControlCollection.RemoveInternal to remove controls
  77. that Remove won't remove (scrollbars, edit control).
  78. * DataGridViewColumn.cs: Initialize State correctly.
  79. * DataGridViewColumnHeaderCell.cs, DataGridViewComboBoxCell.cs,
  80. DataGridViewHeaderCell.cs, DataGridViewRowHeaderCell.cs: Started
  81. implementing this.
  82. * DataGridViewRowCollection.cs: Implemented shared rows.
  83. * DataGridViewRow.cs: Throw exceptions as MS do.
  84. * DataGridViewCell.cs: A few properties are implemented by a
  85. Get<Property> method, so move implementation there and remove the
  86. NIEX in the method. Add a bunch of OnXInternal that DataGridView
  87. calls when necessary.
  88. * DataGridViewComboBoxEditingControl.cs: Remove a few NIEX'es that just
  89. complicates matters.
  90. * DataGridViewCellCollection.cs: Add a GetCellInternal that doesn't
  91. unshare any rows.
  92. 2007-07-25 Jonathan Pobst <[email protected]>
  93. * UpDownBase.cs: We cannot override SetBoundsCore for 2.0, which was relayout-ing
  94. the children controls. Instead, we will just set up the proper docking for the
  95. children controls so we don't have to worry about it. [Fixes bug #82188]
  96. 2007-07-25 Jonathan Pobst <[email protected]>
  97. * TreeView.cs, NodeLabelEditEventArgs.cs, LabelEditTextBox.cs: Support edit
  98. canceling and correct Before/AfterLabelEdit properties as layed out in bug
  99. 81847. [Fixes bug #81847]
  100. 2007-07-25 Jonathan Pobst <[email protected]>
  101. * Label.cs: If AutoSize = true and a width or height is set, ignore it and
  102. redo the autosize. VS2005 defaults to setting the AutoSize, and then setting
  103. an explicit size based on the design-time size of the text. Since our fonts
  104. may not match this explicit size, we tend to cut off the ends of people's labels.
  105. 2007-07-24 Jonathan Pobst <[email protected]>
  106. * Menu.cs: Add some missing methods to MenuItemCollection.
  107. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  108. * DataGridView.cs: Added RowTemplateFull, creates a row from the templates in the columns.
  109. * DataGridViewBand.cs: DefaultHeaderCellType: initialize correctly. Resizable: if not set, check DGV.
  110. * DataGridViewColumn.cs: InheritedAutoSizeMode: if not set, check DGV. Resizable: delegate to base class. ToolTipText: Never return null. Initialize a few other properties correctly.
  111. * DataGridViewColumnCollection.cs: Add: Default column is a TextBoxColumn.
  112. * DataGridViewComboBoxCell.cs: Started implementing this, lots left still.
  113. * DataGridViewElement.cs: State defaults to Visible.
  114. * DataGridViewRowCollection.cs: Add: creates the new row based on a template.
  115. * DataGridViewTextBoxColumn.cs: SortMode: delegate to base class, but initialize to Automatic. ToString: implement correctly.
  116. 2007-07-24 Rolf Bjarne Kvinge <[email protected]>
  117. * Control.cs: Minor 1.1 corcompare fix.
  118. 2007-07-23 Jonathan Pobst <[email protected]>
  119. * LinkLabel.cs, PrintPreviewDialog.cs, TabPage.cs, TextBox.cs,
  120. TextBoxBase.cs, ToolBar.cs: 2.0 corcompare work.
  121. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  122. * DataGridViewLinkColumn.cs, DataGridViewRowCollection.cs,
  123. DataGridViewImageColumn.cs, DataGridViewSelectedCellCollection.cs,
  124. DataGridViewComboBoxCell.cs, DataGridViewLinkCell.cs,
  125. DataGridViewSelectedColumnCollection.cs,
  126. DataGridViewSelectedRowCollection.cs: Corcompare work.
  127. 2007-07-23 Jonathan Pobst <[email protected]>
  128. * PrintDialog.cs: Stub UseEXDialog. I chose to stub this because
  129. it is autoset by VS2005 designer and the effect is barely noticeable.
  130. 2007-07-23 Jonathan Pobst <[email protected]>
  131. * TreeView.cs: Implement HitTest.
  132. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  133. * DataGridViewTextBoxCell.cs: Use DGV.EditControlInternal instead of
  134. manually adding and removing the control from the Controls
  135. collecftion.
  136. * DataGridView.cs: Implement DataGridViewControlCollection. Add an
  137. EditingControlInternal property that tracks the editing control.
  138. Always keeping the scrollbars in the Controls collection, as MS
  139. testing confirms is the right behaviour.
  140. 2007-07-23 Rolf Bjarne Kvinge <[email protected]>
  141. * ScrollableControl.cs: Fix implementation of AutoScrollPosition
  142. according to MSDN and new test.
  143. 2007-07-20 Jonathan Pobst <[email protected]>
  144. * TreeNode.cs: Implement ToolTipText.
  145. * TreeView.cs: Implement tooltips, NodeMouse* events.
  146. 2007-07-20 Jonathan Pobst <[email protected]>
  147. * TreeView.cs: Implement OnNodeMouseClick and OnNodeMouseDoubleClick.
  148. 2007-07-20 Jonathan Pobst <[email protected]>
  149. * TreeNode.cs: Implement ContextMenu, ContextMenuStrip, and Level.
  150. * TreeView.cs: Use the node's contextmenu[strip] if applicable.
  151. 2007-07-20 Ivan N. Zlatev <[email protected]>
  152. * Control.cs, Form.cs, ContainerControl.cs,
  153. ScrollableControl.cs, ButtonBase.cs: Added ShouldSerialize
  154. for misc properties.
  155. 2007-07-20 Jonathan Pobst <[email protected]>
  156. * TreeNode.cs: Implement StateImageIndex and StateImageKey.
  157. * TreeView.cs: Implement StateImageList.
  158. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  159. * Form.cs: Don't check if the current form is the active form before
  160. activating it. Fixes #81904.
  161. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  162. * Form.cs: Don't check if the current form is the active form before
  163. activating it. Fixes #81904.
  164. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  165. * TreeView.cs: Apply patch from Tyron ([email protected]). Fixes #81847.
  166. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  167. * Form.cs: Don't try to position the form after loading if the form was
  168. disposed. Fixes #81969.
  169. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  170. * PropertyGrid.cs, PropertyGridView.cs: Implemented 2.0 methods and
  171. properties. Had to change ToolBar into ToolStrip, which required a
  172. few #ifs.
  173. 2007-07-20 Rolf Bjarne Kvinge <[email protected]>
  174. * PropertyGrid.cs: PropertyToolBar: Redraw the entire toolbar when it's
  175. resized, fixes part of #79829 (vertical lines in toolbar).
  176. PropertyGrid: Refactored Populate* to something that's easier to
  177. follow at least for me, as well as splitting it up into several new
  178. methods, required to update only subitems when something has
  179. changed by a popup editor or listbox. Don't use events to check
  180. when any values are changed, since the events are unreliable (we're
  181. changing the objects the events are registered with, and if the
  182. event handling requires the objects to be immutable (objects stored
  183. in hashtables for instance), the events will never be raised).
  184. * PropertyGridView.cs: Call PropertyGrid.PropertyValueChangedInternal
  185. everytime we change a value, since events are unreliable.
  186. DropDownButtonClicked: For the same reason don't compare objects to
  187. check if it has changed or not, it would require all objects to
  188. derive Equals. Fix dialog location on windows, MS is doing weird
  189. things when creating parented forms.
  190. * GridEntry.cs: Add a SelectedObject setter.
  191. 2007-07-19 Jonathan Pobst <[email protected]>
  192. * TreeNode.cs: Add some corcompare attributes.
  193. * TreeNodeCollection.cs: Implement 2.0 stuffs.
  194. * TreeView.cs: Implement some 2.0 stuffs.
  195. 2007-07-18 Andreia Gaita <[email protected]>
  196. * WebBrowser.cs, WebBrowserBase.cs: add some more MonoTODOs now
  197. for moma.
  198. 2007-07-19 Jonathan Pobst <[email protected]>
  199. * ListBox.cs: Implement custom tab offsets.
  200. 2007-07-18 Jonathan Pobst <[email protected]>
  201. * ToolStripContentPanel.cs: Support System renderer.
  202. * ToolStripControlHost.cs: Set RightToLeft to default to No.
  203. 2007-07-18 Jonathan Pobst <[email protected]>
  204. * ScrollableControl.cs: Don't mess up the user's explicit bounds.
  205. 2007-07-18 Jonathan Pobst <[email protected]>
  206. * CheckBox.cs: Chain TextAlign to base implementation instead of
  207. maintaining another one.
  208. 2007-07-18 Jonathan Pobst <[email protected]>
  209. * ButtonBase.cs: Fix an incorrect string constant.
  210. 2007-07-18 Jonathan Pobst <[email protected]>
  211. * TextRenderer.cs: Use the static Graphics context in Hwnd instead
  212. of creating one for measuring strings.
  213. 2007-07-18 Jonathan Pobst <[email protected]>
  214. * ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownMenu.cs:
  215. Implement MaxItemSize.
  216. 2007-07-17 Jonathan Pobst <[email protected]>
  217. * Control.cs: Remove per-control 1x1 Bitmap and Graphics context used
  218. for DeviceContext. Instead, use the static one available in Hwnd.
  219. Informal tests show this saves about 500k on formtest.exe.
  220. 2007-07-17 Jonathan Pobst <[email protected]>
  221. * ContainerControl.cs: Implement 2.0 AutoScaling.
  222. 2007-07-17 Rolf Bjarne Kvinge <[email protected]>
  223. * ComboBox.cs: Work around bug #82120 (bug in mcs).
  224. 2007-07-16 Jonathan Pobst <[email protected]>
  225. * ThemeWin32Classic.cs: Allow a Flat button to be Focused and Entered.
  226. Darken the focus color.
  227. 2007-07-16 Jonathan Pobst <[email protected]>
  228. * ListBox.cs: When measuring items, if it's a CheckedListBox, add room
  229. for the checkbox.
  230. * ThemeWin32Classic.cs: Make the checkbox bigger in a CheckedListBox and use
  231. X, Y instead of a rect for drawing text.
  232. - For ControlPaint.DrawCheckBox, center the check a little better when the
  233. checkbox is odd width. When drawing a flat checkbox, use a white background
  234. when state != inactive.
  235. [Fixes bugs #82097, 82100]
  236. 2007-07-16 Gert Driesen <[email protected]>
  237. * ListControl.cs: When changing CurrencyManager, disconnect event
  238. handlers from previous one. Fixes bug #81771. Code formatting.
  239. 2007-07-15 Andreia Gaita <[email protected]>
  240. * PrintPreviewControl.cs: Remove extraneous Invalidate calls. Separate
  241. full preview invalidation from layout invalidation, and only invalidate
  242. the layout when setting zoom or other properties. Invalidation should
  243. always be done even when resetting properties with the same values as
  244. what is there. Fixes #81744 and #79830.
  245. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  246. * ListView.cs: Implement initial support for Groups. Split some of the
  247. LayoutIcons code to render a partial list of the items (needed by
  248. items contained in ListViewGroup instances). Let the
  249. ListViewItemsCollection.ListView property be modifiable (needed when
  250. using Groups, too).
  251. * ListViewGroup.cs: Use a Bounds property rather than a Location
  252. one. Also invalidate the bounds when they get changed.
  253. * ThemeWin32Classic.cs: When drawing items, also draw the group header
  254. if ListView.Groups.Count is bigger than 0. Add a DrawListViewGroupHeader
  255. method as well.
  256. 2007-07-15 Carlos Alberto Cortez <[email protected]>
  257. * ListView.cs: When space gets pressed and CheckBoxes is true,
  258. don't invoke the Begin and EndUpdate methods. We are generating
  259. a redraw of the entire control without need to do so.
  260. 2007-07-13 William Holmes <[email protected]>
  261. * Control.cs: Changing logic in FindFlatForward and
  262. FindFlatBackward to handle multiple Controls with
  263. the same TabIndex.
  264. This fixes bug 81687.
  265. 2007-07-13 Jonathan Pobst <[email protected]>
  266. * OSFeature.cs: Enable IsPresent.
  267. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  268. * Control.cs: Don't do anything in WmShowWindow if the control has been
  269. disposed. We can get WM_SHOWWINDOW after a control is disposed: a
  270. control is created, put on a form, the control is disposed (the
  271. form is never shown), and then we get a MapNotify, triggering a
  272. WM_SHOWWINDOW.
  273. * Form.cs: Exclude the current form when sending Deactivate to all
  274. MdiChildren.
  275. * NativeWindow.cs: Set WindowCreating to null as soon as possible,
  276. there was a race condition because assigning the handle raises
  277. events, we can get more messages, therefore trying to assign the
  278. handle again, which would fail if any of those event handlers
  279. closed/disposed the control.
  280. 2007-07-13 Rolf Bjarne Kvinge <[email protected]>
  281. * Form.cs: Make the fix for #80775 windows-only (fixes #81957).
  282. 2007-07-12 Jonathan Pobst <[email protected]>
  283. * SystemInformation.cs, Theme.cs, XplatUI.cs, XplatUIDriver.cs,
  284. XplatUIWin32.cs: Implement SystemInformation 2.0 properties.
  285. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  286. * DateTimePicker.cs: If there's no part format specifier, return an
  287. empty string.
  288. 2007-07-12 Jonathan Pobst <[email protected]>
  289. * FlatButtonAppearance.cs: Throw NotSupportedException for a
  290. Transparent BorderColor.
  291. 2007-07-12 Rolf Bjarne Kvinge <[email protected]>
  292. * DataGridView.cs, TextControl.cs, ProgressBar.cs, PrintDialog.cs,
  293. MessageBox.cs, ButtonBase.cs, PageSetupDialog.cs, NumericUpDown.cs,
  294. X11Dnd.cs, Binding.cs, DataGrid.cs, AxHost.cs,
  295. LinkLabelLinkClickedEventArgs.cs, TextRenderer.cs, Label.cs,
  296. LinkLabel.cs, TreeNode.cs, BindingSource.cs, TabPage.cs,
  297. TextBoxBase.cs, BindingNavigator.cs, Application.cs,
  298. ToolStripPanel.cs, TabControl.cs, ThemeClearlooks.cs, TreeView.cs:
  299. Remove warnings.
  300. * X11Structs.cs: Remove warnings, add ToString implementations.
  301. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  302. * XplatUIX11.cs: Translate min/max size according to the actual min/max
  303. size, and not the current size. Fixes #81798.
  304. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  305. * XplatUIX11.cs: Fix #80822 again (DefWndProc can be reached before
  306. XplatUI.CreateWindow returns, in which case the hwnd isn't assigned
  307. to the control yet).
  308. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  309. * PropertyGridTextBox.cs: Add a method that sends any forwarded
  310. mousedowns to the contained textbox.
  311. * X11Structs.cs: More ToString implementation.
  312. * PropertyGridView.cs: Forward any mousedowns to the textbox, fixes
  313. #81791.
  314. 2007-07-11 Rolf Bjarne Kvinge <[email protected]>
  315. * PropertyGridView.cs: Add a null-check, fixes a few tests.
  316. 2007-07-10 Jonathan Pobst <[email protected]>
  317. * TableLayoutPanelCellPosition.cs: TypeConverter.
  318. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  319. [ Fixes #79761]
  320. * PropertyGridTextBox.cs: Propagate any color changes to all contained
  321. controls.
  322. * PropertyGridView.cs: A few color fixes.
  323. 2007-07-10 Jackson Harper <[email protected]>
  324. * TextControl.cs: Remove some old unused text formatting stuff.
  325. 2007-07-10 Jackson Harper <[email protected]>
  326. * TreeView.cs: Update full row select invalidation to match the
  327. newer DrawSelection... method.
  328. - Make sure to invalidate the entire width when selecting a new
  329. node, if we have full row selection enabled.
  330. 2007-07-10 Rolf Bjarne Kvinge <[email protected]>
  331. * PropertyGridView.cs: Fix for #81800, makes text show up on initial
  332. display of properties again.
  333. 2007-07-10 Jonathan Pobst <[email protected]>
  334. * ListBox.cs: Add IntegerCollection and Add, Clear, Remove
  335. to existing collections.
  336. 2007-07-09 Jonathan Pobst <[email protected]>
  337. * AccessibleObject.cs, RadioButton.cs: Fix some base classes
  338. that changed between 1.1 and 2.0.
  339. 2007-07-09 Jonathan Pobst <[email protected]>
  340. * PowerStatus.cs: Added. This is just a data class, it is filled
  341. in by SystemInformation.
  342. 2007-07-09 Jonathan Pobst <[email protected]>
  343. * Message.cs: Add op_Equality and op_Inequality.
  344. 2007-07-09 Jonathan Pobst <[email protected]>
  345. * MenuStrip.cs: Finish corcompare work.
  346. 2007-07-09 Jonathan Pobst <[email protected]>
  347. * LinkArea.cs: Add op_Equality and op_Inequality.
  348. 2007-07-09 Jonathan Pobst <[email protected]>
  349. * Application.cs: Add MessageLoopCallback delegate.
  350. 2007-07-09 Jonathan Pobst <[email protected]>
  351. * ListBox.cs: First set of 2.0 stuffs.
  352. 2007-07-09 Jonathan Pobst <[email protected]>
  353. * Control.cs: Make an internal Height property we can override
  354. without messing up the public API.
  355. * ListBox.cs: Override HeightInternal to always return the size
  356. the user set. [Fixes bug #80466]
  357. 2007-07-08 Jonathan Pobst <[email protected]>
  358. * TableLayoutPanel.cs: Add a null check so we don't NRE trying to
  359. paint cell borders if we haven't calculated where they go yet.
  360. [Fixes bugs #82040 and #82041]
  361. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  362. * ListView.cs: In Details view, set the location of item_control
  363. in the (0,0) position (and the header_control is thus on the
  364. item_control). This way the Bounds of the Items are relative to the
  365. ListView control (before this, they had a Bounds value without the
  366. header_control offset, which wasn't matching .Net). Fixes #82004.
  367. 2007-07-07 Carlos Alberto Cortez <[email protected]>
  368. * ListControl.cs: When DataSource is set to null, pass an empty
  369. array of object to SetItemsCore. This is done to clean the items
  370. in the ListContol children. Fixes #81788.
  371. 2007-07-06 Jonathan Pobst <[email protected]>
  372. * ListControl.cs: Add 2.0 stuffs.
  373. 2007-07-06 Jonathan Pobst <[email protected]>
  374. * Label.cs: Finish up 2.0 stuffs. Replace calls to Refresh with Invalidate,
  375. Refresh is overkill for just about every repaint request.
  376. 2007-07-06 Jonathan Pobst <[email protected]>
  377. * ToolStripItem.cs: TextDirection getter handles looking up Inherit for us,
  378. so remove my custom Get method and fix the property getter.
  379. 2007-07-06 Jonathan Pobst <[email protected]>
  380. * Label.cs: DefaultMargin for 2.0.
  381. 2007-07-06 Jonathan Pobst <[email protected]>
  382. * ComboBox.cs: Override IsInputCharInternal and return true. Fixes
  383. reported issue where other controls with mnemonics would steal strokes
  384. from a selected ComboBox.
  385. 2007-07-06 Jonathan Pobst <[email protected]>
  386. * ScrollOrientation.cs: Make internal for 1.1.
  387. * ScrollEventArgs.cs: Add 2.0 stuffs.
  388. 2007-07-05 Jonathan Pobst <[email protected]>
  389. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  390. ToolStripItem.cs, ToolStripItem.cs, ToolStripItemTextRenderEventArgs.cs,
  391. ToolStripRenderer.cs, ToolStripSeparator.cs: Implement TextDirection.
  392. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  393. * ListViewItem.cs: Implement the small 2.0 GetSubItemAt method.
  394. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  395. * ListView.cs: Implement the so-incredibly broken 2.0
  396. VirtualItemsSelectionRangeChanged event.
  397. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  398. * ListView.cs: When enter is pressed and selection is non empty,
  399. an OnItemActivate event must be fired.
  400. 2007-07-05 Carlos Alberto Cortez <[email protected]>
  401. * ListView.cs: Store the FocusedItem information as an
  402. int instead of a ListViewItem (needed by VirtualMode).
  403. Update the calls to SetFocusedItem to pass an index instead of
  404. an item.
  405. * ListViewItem.cs: Likewise. Also, in VirtualMode retrieve
  406. the Focused state from the owner ListView.
  407. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  408. * ListView.cs: Set ListView.focused_item from ListViewItem.Focused
  409. property. Also, invalidate previous focused item in the mentioned
  410. property (match .Net).
  411. 2007-07-04 Carlos Alberto Cortez <[email protected]>
  412. * ListView.cs: Implement 2.0 FocusedItem property setter.
  413. 2007-07-03 Carlos Alberto Cortez <[email protected]>
  414. * ListView.cs: Implement 2.0 TopItem property setter.
  415. 2007-07-03 Jonathan Pobst <[email protected]>
  416. * StatusStrip.cs: The default renderer is System.
  417. * ToolStrip.cs, ToolStripManager: Now that we have System renderer, use it
  418. if the user specifies it.
  419. * ToolStripDropDown.cs: Don't reset our Renderer on changing OwnerItem
  420. if we are ManagerRenderMode.
  421. * ToolStripMenuItem.cs: Calculate our text color better.
  422. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Move some stuff
  423. from Professional to the base class based off working with the System renderer.
  424. * ToolStripSystemRenderer.cs: Added.
  425. 2007-07-02 Carlos Alberto Cortez <[email protected]>
  426. * ListView.cs: I'm so lame - the real name is HitTest, not HitInfo.
  427. 2007-07-02 Jonathan Pobst <[email protected]>
  428. * ToolTip.cs: Implement 2.0 Tag property.
  429. 2007-06-25 Carlos Alberto Cortez <[email protected]>
  430. * ListView.cs: Implement 2.0 HitTest methods.
  431. 2007-06-24 Carlos Alberto Cortez <[email protected]>
  432. * ListViewItem.cs: Add a 2.0 bool Hot property, to tell whether the
  433. item is under the pointer or not (sugar). Also remove the TODO
  434. regarding to the cursor changes in OneClick activation.
  435. * ThemeWin32Classic.cs: When HotTracking is true and we are drawing
  436. the subitems use the parent's HotFont if UseItemStyleForSubItems is
  437. true; otherwise don't show the underline style.
  438. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  439. * ListView.cs: In ItemControl.ItemsMouseMove, refactor
  440. the code to retrieve the item at position only one time. Also
  441. change cursor when Activation is ItemActivation.OneClick as well
  442. as invalidate the item if HotTracking is true (to show/hide the
  443. underline style). Add an internal HotItemIndex property to retrieve
  444. the current hot item's index.
  445. * ListViewItem.cs: Add an internal HotFont property to cache the
  446. font used when HotTracking is true and the pointer moves within the
  447. item's borders.
  448. * ThemeWin32Classic.cs: When drawing the item's text, use Font or
  449. HotFont depending on the hot state of the item.
  450. 2007-06-22 Carlos Alberto Cortez <[email protected]>
  451. * ListView.cs: Implement 2.0 HotTracking property.
  452. 2007-06-21 Jonathan Pobst <[email protected]>
  453. * ToolStripControlHost.cs: If our hosted control never got created,
  454. don't try to dispose it. [Fixes bug #81909]
  455. 2007-06-21 Jonathan Pobst <[email protected]>
  456. * TableLayoutPanel.cs: Implement ScaleCore, ScaleControl.
  457. 2007-06-21 Jonathan Pobst <[email protected]>
  458. * TableLayoutPanel.cs: Implement CellBorderStyle. [Fixes bug #81884]
  459. 2007-06-20 Carlos Alberto Cortez <[email protected]>
  460. * ThemeWin32Classic.cs: In OwnerDraw mode draw subitems only for
  461. Details view.
  462. * DrawListViewColumnHeaderEventArgs.cs:
  463. * DrawListViewSubItemEventArgs.cs: Add padding to the bounds when drawing text
  464. using the DrawText () methods.
  465. 2007-06-19 Jonathan Pobst <[email protected]>
  466. * ToolStripProfessionalRenderer.cs: Put back clearing a ToolStripDropDown's
  467. background which got erased in my changes yesterday.
  468. 2007-06-19 Carlos Alberto Cortez <[email protected]>
  469. * ListViewItem.cs: Actually set bounds for subitems in Details view
  470. (2.0 feature).
  471. * ThemeWin32Classic.cs: Refactor the drawing code for subitems, so we
  472. can invoke from the owner draw routines if we need it. Also, add
  473. support for Owner draw in Details view.
  474. 2007-06-18 Jonathan Pobst <[email protected]>
  475. * ToolStripDropDownMenu.cs, ToolStripItem.cs, ToolStripLabel.cs,
  476. ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs: Respect the
  477. ShowImageMargin setting, properly align text in a ToolStripLabel
  478. hosted on a ToolStripDropDown.
  479. 2007-06-18 Jonathan Pobst <[email protected]>
  480. * ToolStrip.cs, ToolStripContentPanel.cs, ToolStripDropDownMenu.cs,
  481. ToolStripProfessionalRenderer.cs: Refactor and clean up some rendering code.
  482. 2007-06-18 Carlos Alberto Cortez <[email protected]>
  483. * DrawListViewSubItemEventArgs.cs: Actually implement its methods.
  484. 2007-06-18 Jonathan Pobst <[email protected]>
  485. * ToolStripLabel.cs: If the label is on a dropdown, adjust the text
  486. location to match ToolStripMenuItems.
  487. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  488. * DrawListViewColumnHeaderEventArgs.cs:
  489. * ThemeWin32Classic.cs: Implement 2.0 OwnerDraw support for
  490. column headers in ListView.
  491. 2007-06-15 Jonathan Pobst <[email protected]>
  492. * UserControl.cs: Implement AutoSize.
  493. 2007-06-15 Carlos Alberto Cortez <[email protected]>
  494. * DrawListViewItemEventArgs.cs:
  495. * ListView.cs:
  496. * ThemeWin32Classic.cs: Implement basic support for 2.0 OwnerDraw in
  497. ListView.
  498. 2007-06-15 Jonathan Pobst <[email protected]>
  499. * ToolStripDropDownItemAccessibleObject.cs: Added.
  500. * ToolStripDropDownItem.cs, ToolStripItem.cs, ToolStripMenuItem.cs,
  501. ToolStripOverflow.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  502. ToolStripProgressBar.cs, ToolStripSeparator.cs, ToolStripSplitButton.cs,
  503. ToolStripTextBox.cs: corcompare work.
  504. 2007-06-14 Jonathan Pobst <[email protected]>
  505. * OSFeature.cs, StatusStrip.cs, TabControl.cs, TableLayoutSettings.cs,
  506. TableLayoutStyle.cs, TableLayoutCollection.cs, ToolStripContentPanel.cs,
  507. ToolStripControlHost.cs, ToolStripDropDown.cs, ToolStripDropDownButton.cs:
  508. corcompare.
  509. 2007-06-14 Jonathan Pobst <[email protected]>
  510. * OSFeature.cs: Add IsPresent.
  511. * PrintPreviewControl.cs: Add RightToLeft.
  512. * SplitContainer.cs: Add AutoScrollOffset, ScaleControl.
  513. * SplitterPanel.cs: Add AutoSizeMode.
  514. 2007-06-13 Jonathan Pobst <[email protected]>
  515. * LayoutEventArgs.cs: Add 2.0 AffectedComponent.
  516. * MdiClient.cs: Add 2.0 ScaleControl.
  517. * NativeWindow.cs: Implement 2.0 interface IWin32Window.
  518. * NumericUpDownAccelerationCollection.cs: Add [ListBinding].
  519. 2007-06-13 Jonathan Pobst <[email protected]>
  520. * Form.cs: Implement some scaling methods, stub some RTL methods,
  521. corcompare work.
  522. 2007-06-13 Jonathan Pobst <[email protected]>
  523. * Control.cs: corcompare work.
  524. * FlatButtonAppearance.cs, FolderBrowserDialog.cs: Add TypeConverters.
  525. 2007-06-13 Jonathan Pobst <[email protected]>
  526. * ControlPaint.cs, Theme.cs, ThemeWin32Classic.cs: Implement
  527. ControlPaint 2.0 stuffs.
  528. 2007-06-12 Jonathan Pobst <[email protected]>
  529. * ThreadExceptionDialog.cs: Add 2.0 stuffs.
  530. 2007-06-12 Jonathan Pobst <[email protected]>
  531. * UpDownBase.cs: Add 2.0 stuffs.
  532. 2007-06-12 Jonathan Pobst <[email protected]>
  533. * NumericUpDown.cs: Add 2.0 stuffs.
  534. 2007-06-12 Jonathan Pobst <[email protected]>
  535. * NotfiyIcon.cs: Add MouseDoubleClick event, hook up MouseClick event.
  536. 2007-06-12 Jonathan Pobst <[email protected]>
  537. * ErrorProvider.cs: Implement 2.0 stuffs.
  538. 2007-06-12 Jonathan Pobst <[email protected]>
  539. * DomainUpDown.cs: Implement 2.0 stuffs.
  540. 2007-06-12 Jonathan Pobst <[email protected]>
  541. * CheckedListBox.cs: Fix RefreshItems signature.
  542. 2007-06-12 Jonathan Pobst <[email protected]>
  543. * PictureBox.cs: Implement 2.0 stuffs.
  544. 2007-06-12 Andreia Gaita <[email protected]>
  545. * TabControl.cs: Check if there are tabpages before checking
  546. the selected index - fix #81802 (font changes raise a ResizeTabs
  547. call on controls.add, which blew up nicely with no tabpages)
  548. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  549. * ListView.cs:
  550. * ListViewItem.cs: Implement 2.0 ItemSelectionChanged event.
  551. 2007-06-11 Carlos Alberto Cortez <[email protected]>
  552. * ListView.cs:
  553. * ListViewItem.cs: In VirtualMode the selection information
  554. resides in the ListView, rather than in the Items. Also, throw
  555. InvalidOperationExceptions when VirtualMode is being used and
  556. CheckedItemCollection is accessed.
  557. 2007-06-08 Jonathan Pobst <[email protected]>
  558. * ComboBox.cs: Add ScaleControl.
  559. 2007-06-08 Jonathan Pobst <[email protected]>
  560. * ButtonBase.cs: ButtonBaseAccessibleObject.State should not be visible to 1.1.
  561. 2007-06-08 Jonathan Pobst <[email protected]>
  562. * GroupBox.cs: Add 2.0 stuffs.
  563. 2007-06-08 Jonathan Pobst <[email protected]>
  564. * Panel.cs: Add autosize properties/event.
  565. 2007-06-07 Jonathan Pobst <[email protected]>
  566. * Control.cs:
  567. - When we remove a control, remove it from the collection before performing the layout.
  568. - Setup an internal property for explicit_bounds.
  569. - Don't let the UpdateBounds in CreateHandle overwrite our explicit bounds.
  570. - Perform a layout when we set a new AutoSizeMode.
  571. 2007-06-07 Jonathan Pobst <[email protected]>
  572. * ScrollableControl.cs: Add 2.0 stuffs.
  573. 2007-06-06 Jonathan Pobst <[email protected]>
  574. * ScrollBar.cs: Add 2.0 stuffs.
  575. 2007-06-06 Jonathan Pobst <[email protected]>
  576. * Splitter.cs: Add 2.0 stuffs.
  577. 2007-06-06 Jonathan Pobst <[email protected]>
  578. * SplitContainer.cs: Apply patch from Neil Cawse <[email protected]>
  579. to have BindingContext simply use base implementation.
  580. 2007-06-06 Jonathan Pobst <[email protected]>
  581. * ColumnHeader.cs: corcompare fix.
  582. 2007-06-06 Jonathan Pobst <[email protected]>
  583. * Button.cs: corcompare fixes.
  584. * ButtonBase.cs: corcompare fixes, add ButtonBaseAccessibleObject.State.
  585. 2007-06-06 Jonathan Pobst <[email protected]>
  586. * Button.cs: Override GetPreferredSizeCore.
  587. * ButtonBase.cs: PerformLayout after changing properties that can affect
  588. AutoSize. Simplify some mouse/keyboard code.
  589. * Control.cs: PerformLayout after changing Padding if AutoSize = true.
  590. * MouseEventArgs.cs: Make Location internal for 1.1.
  591. * TextRenderer.cs: Make MeasureTextInternal (string, Font, bool) internal for 1.1.
  592. * Theme.cs: Add CalculateButtonAutoSize.
  593. * ThemeWin32Classic.cs: Implement CalculateButtonAutoSize.
  594. 2007-06-05 Miguel de Icaza <[email protected]>
  595. * TreeNodeCollection.cs: Applied patch from Neil Cawse <[email protected]>
  596. 2007-06-05 Carlos Alberto Cortez <[email protected]>
  597. * ListViewItem.cs: We can't cache Bounds in VirtualMode
  598. since we can get different item instances every time we retrieve it.
  599. 2007-06-04 Carlos Alberto Cortez <[email protected]>
  600. * ListView.cs: Work around for #81602, since an unkown an pretty
  601. infrequent condition appears only in some systems (old linux boxes, it
  602. seems).
  603. 2007-06-04 Jonathan Pobst <[email protected]>
  604. * Button.cs: Completely reformat and a little refactor to bring
  605. this closer to Mono circa 2007.
  606. 2007-06-04 Jonathan Pobst <[email protected]>
  607. * CheckBox.cs, Form.cs, RadioButton.cs: Change call to ButtonBase.Redraw
  608. to be ButtonBase.Invalidate.
  609. 2007-06-04 Jonathan Pobst <[email protected]>
  610. * ButtonBase.cs: GetPreferredSize is 2.0 only. Fixes build.
  611. 2007-06-04 Jonathan Pobst <[email protected]>
  612. * ButtonBase.cs: Completely reformat and a little refactor to bring
  613. this closer to Mono circa 2007.
  614. 2007-06-01 Everaldo Canuto <[email protected]>
  615. * Label.cs: Fixes preferred sizes for 2.0 profile, also adjust some
  616. values for autosize. Fixes #80137.
  617. 2007-06-01 Jonathan Pobst <[email protected]>
  618. * Control.cs: Don't perform layout when AutoSize changes.
  619. * Form.cs: Perform layout in AutoSize override. Don't set ClientSize
  620. directly when autosizing, use SetBounds with BoundsSpecified.None.
  621. Fixes unit tests my last commit broke.
  622. 2007-06-01 Jonathan Pobst <[email protected]>
  623. * Control.cs: Perform layout when AutoSize changes.
  624. * Form.cs: Implement AutoSizing.
  625. 2007-06-01 Chris Toshok <[email protected]>
  626. * DataGrid.cs: remove the XXX'ed check at the top of
  627. ProcessGridKey. fixes #80464.
  628. 2007-06-01 Chris Toshok <[email protected]>
  629. * DataGridTextBoxColumn.cs: TextBox.TextChanged event handler
  630. adding idempotent (add/remove in Edit()), and also make sure we
  631. don't add it until after we set the text, so it's not tripped in
  632. Edit(). Fixes unit test regression.
  633. 2007-06-01 Jonathan Pobst <[email protected]>
  634. * Control.cs: In UpdateBounds, only recalculate anchor distances if the
  635. change is user explicit, not when the layout engine moves stuff. Fixes
  636. anchoring to bottom and right. [Fixes bug #81790]
  637. 2007-06-01 Andreia Gaita <[email protected]>
  638. * PrintDialog.cs: Add collation preview thumbnails. Fixes #80726.
  639. 2007-06-01 Andreia Gaita <[email protected]>
  640. * ContainerControl.cs:
  641. Fire enter event for common ancestor if it is not a ContainerControl.
  642. Send focus to the active_control and not the 'value', the active
  643. control might have been changed in one of the events fired.
  644. Definitely fixes #80159.
  645. 2007-06-01 Andreia Gaita <[email protected]>
  646. * DataGrid.cs: Finish editing when focus leave the datagrid. Fixes #80159.
  647. 2007-06-01 Rolf Bjarne Kvinge <[email protected]>
  648. * PropertyGrid.cs: Anchor the help description to the bottom of the
  649. help panel and refactor SelectGridItem into a
  650. SelectGridItemInternal that can be set to null (and update it to
  651. clear the help texts when it is set to null). Set root item to null
  652. when there's no SelectedObject. Fixes #80438.
  653. * ScrollableControl.cs: In Recalculate we need to ResumeLayout(true)
  654. when we're recalculating after a resize (only).
  655. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  656. * ListView.cs: Implement 2.0 RedrawItems method.
  657. 2007-05-31 Carlos Alberto Cortez <[email protected]>
  658. * ListControl.cs: Disconnect PositionChanged and ItemChanged
  659. handlers from previous data manager when DataSource is set to
  660. null. Fixes #81771.
  661. 2007-05-31 Jackson Harper <[email protected]>
  662. * TextBoxBase.cs: These seem to be the correct values.
  663. 2007-05-31 Everaldo Canuto <[email protected]>
  664. * FileDialog.cs: When close dialog with ok set filterindex using combobox
  665. value. Fixes #81784.
  666. 2007-05-31 Jonathan Pobst <[email protected]>
  667. * Control.cs: Implement 2.0 scaling methods.
  668. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  669. * ProgressBar.cs, WebBrowserBase.cs, Control.cs, MaskedTextBox.cs,
  670. MessageBox.cs, PropertyGrid.cs, RichTextBox.cs: Fix warnings and
  671. corcompare issues.
  672. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  673. * ProgressBar.cs: Implemented missing 2.0 members.
  674. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  675. * Control.cs: Corcompare issues.
  676. * MessageBox.cs: Implemented missing 2.0 functions.
  677. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  678. * CheckedListBox.cs, ListBox.cs, ListControl.cs, ComboBox.cs:
  679. Implemented more 2.0 members.
  680. 2007-05-31 Rolf Bjarne Kvinge <[email protected]>
  681. * Application.cs: Try to avoid NRE when Assembly.GetEntryAssembly is
  682. null (strange, but it seems to happen when running unit tests).
  683. 2007-05-30 Andreia Gaita <[email protected]>
  684. * ContainerControl.cs: Set active_control even earlier, before
  685. firing any events, and undo it if validation returns false.
  686. 2007-05-30 Andreia Gaita <[email protected]>
  687. * ContainerControl.cs: Raise Validation and Enter/Leave events
  688. even if there is no Form and set active_control earlier, just
  689. before firing Enter events (toshok's patches). Fixes #80647.
  690. 2007-05-30 Jackson Harper <[email protected]>
  691. * TextControl.cs: Redid the pageup/pagedown a little to simplify
  692. things and fix bug #81311.
  693. 2007-05-30 Jackson Harper <[email protected]>
  694. * X11Dnd.cs: Now that we have our own event loop, we need to
  695. cancel when we get a mouseup but it won't be accepted.
  696. 2007-05-30 Chris Toshok <[email protected]>
  697. * DataGrid.cs (set_CurrentCell): guard against negative
  698. column/row.
  699. * DataGridColumnStyle.cs (CheckValidDataSource): just use the
  700. array index syntax instead of looping over the property names.
  701. * DataGridTextBoxColumn.cs: add a changed handler on the textbox,
  702. and set IsInEditOrNavigateMode to false there.
  703. 2007-05-30 Jackson Harper <[email protected]>
  704. * TreeView.cs: Make sure we don't get a bad visible order when
  705. setting to the top node. Fixes some misc crashing in
  706. ControlInspector.
  707. 2007-05-30 Andreia Gaita <[email protected]>
  708. * UserControl.cs: Add 2.0 AutoSizeMode
  709. 2007-05-29 Everaldo Canuto <[email protected]>
  710. * DataGridTextBoxColumn.cs: Fix textbox horizontal offset.
  711. 2007-05-29 Everaldo Canuto <[email protected]>
  712. * DataGridTextBoxColumn.cs: Fix textbox position to prevent override grid
  713. lines. Fixes #80285.
  714. 2007-05-29 Everaldo Canuto <[email protected]>
  715. * DataGridColumnStyle.cs: Add char trimming column header text format.
  716. 2007-05-29 Everaldo Canuto <[email protected]>
  717. * DataGridColumnStyle.cs: Fix grid header arrow drawing over column name.
  718. Fixes #80147.
  719. 2007-05-29 Jackson Harper <[email protected]>
  720. * TreeNode.cs: Fix off by one on calculating whether or not a node
  721. is visible.
  722. 2007-05-29 Jonathan Pobst <[email protected]>
  723. * Control.cs: ResumeLayout(false) should recalculate anchor distances.
  724. * ScrollableControl.cs: Force an UpdateDistances when we move the
  725. scrollbars.
  726. [Fixes bug #80605]
  727. 2007-05-29 Andreia Gaita <[email protected]>
  728. * PageSetupDialog.cs: Fix #80728 - Changing the printer doesn't
  729. update the page setup screen.
  730. 2007-05-29 Andreia Gaita <[email protected]>
  731. * PageSetupDialog.cs: Fix landscape mode.
  732. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  733. * SystemInformation.cs: Add 2.0 IconSizeVerticalSpacing and
  734. IconSizeHorizontalSpacing.
  735. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  736. * ListView.cs: The declaration of prev_tooltip_item should be inside
  737. a NET_2_0 conditional (avoid a warning).
  738. 2007-05-28 Andreia Gaita <[email protected]>
  739. * PageSetupDialog.cs: Implement PrintPreview control to display
  740. the preview thumbnail. Change unit conversion to use
  741. PrinterUnitConvert methods.
  742. Note: there is a huge bug in ms.net where the default margins are
  743. interpreted as centimeters (?), when in fact they are set in inches. When
  744. loading the page setup dialog initially (ms.net), the default margins
  745. are set to 1 inch, and the dialog shows them with value 10, when in fact
  746. it should be 25 (properly converted). Our dialog doesn't have this bug.
  747. * Theme.cs, ThemeWin32Classic.cs: Add a CPDrawBorder override for
  748. RectangleF.
  749. * ControlPaint.cs: Add a DrawBorder internal method for RectangleF.
  750. 2007-05-28 Carlos Alberto Cortez <[email protected]>
  751. * ListView.cs:
  752. * ListViewItem.cs: Implement 2.0 ToolTipText support for listview
  753. items.
  754. 2007-05-28 Andreia Gaita <[email protected]>
  755. * X11Dnd.cs: A direct cast to VirtualKeys is not allowed from
  756. an IntPtr on csc (it builds fine on mcs, could it be a compiler
  757. bug?), convert the ptr to Int32 first.
  758. 2007-05-28 Jackson Harper <[email protected]>
  759. * X11Dnd.cs: Add a timer, so after drop, if a finish is not
  760. recieved, we will exit the dnd tracking loop.
  761. 2007-05-28 Jackson Harper <[email protected]>
  762. * X11Dnd.cs: Keep tracking until the xdnd finished event is
  763. recieved. TODO: I should probably stick a timer on the dropped
  764. event, and finish the drag if the XDND Finished event never shows
  765. (because some apps don't seem to send it).
  766. 2007-05-28 Everaldo Canuto <[email protected]>
  767. * ToolBar.cs: Fix toolbar default width for button with image. Fixes
  768. #81733.
  769. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  770. * MonthCalendar.cs: Only mark the keypresses we actually handle as
  771. handled.
  772. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  773. * MonthCalendar.cs: Set the size after initializing all the relevant
  774. variables. Fixes #81742.
  775. 2007-05-28 Rolf Bjarne Kvinge <[email protected]>
  776. * KeyEventArgs.cs: Fix typo.
  777. 2007-05-28 Gert Driesen <[email protected]>
  778. * DateTimePicker.cs: Changed exceptions thrown by MinDate and MaxDate
  779. to match MS. Fixed MinDate to only accept value less than or equal
  780. to MaxDate on 2.0 profile and less than MaxDate on 1.0 profile.
  781. Removed TODO's that are now verified by unit tests.
  782. 2007-05-27 Gert Driesen <[email protected]>
  783. * TreeNodeCollection.cs: Minor corrections to exceptions to match
  784. MS.
  785. 2007-05-25 Jackson Harper <[email protected]>
  786. * X11Dnd.cs: Rework to make StartDrag a blocking call that runs
  787. it's own message loop.
  788. * XplatUIX11.cs: Remove some of the dnd hooks
  789. 2007-05-25 Gert Driesen <[email protected]>
  790. * XplatUIX11.cs: Change MinimumWindowSize to {Width=0,Height=0}
  791. instead of MinimizedWindowSize.
  792. 2007-05-25 Jackson Harper <[email protected]>
  793. * TextBoxBase.cs: Raise textchanged when cutting and pasting text.
  794. 2007-05-25 Rolf Bjarne Kvinge <[email protected]>
  795. * KeyEventArgs.cs: Added SuppressKeyPress.
  796. * Control.cs: Added support for SuppressKeyPress.
  797. 2007-05-24 Andreia Gaita <[email protected]>
  798. * NumericUpDown.cs: Refactor code to fix regressions on #79950 and
  799. problems with PieChart. suppress_validation should not be a counter,
  800. if there are several BeginInit calls, the first EndInit will
  801. activate validation. Fix exceptions thrown by set_Value.
  802. * UpDownBase.cs: ValidateText only if it's the user editing it.
  803. 2007-05-24 Carlos Alberto Cortez <[email protected]>
  804. * ListControl.cs: FilterItemOnProperty should return the filtered
  805. item proeprty even if DataSource is null. The same applies for
  806. GetItemText. Fixes #80427.
  807. 2007-05-24 Jonathan Pobst <[email protected]>
  808. * Control.cs: If a control doesn't have a parent when it's Dock is
  809. set, but it has children, it needs to do a layout. Fixes some nested
  810. controls issues. [Fixes bug #81199]
  811. 2007-05-24 Rolf Bjarne Kvinge <[email protected]>
  812. * ComboBox.cs: If there are few items in the drop down list, make it
  813. the exact size the items need, no bigger. Fixes #81612.
  814. 2007-05-24 Jonathan Pobst <[email protected]>
  815. * Application.cs: When we have captured the keyboard for a menu,
  816. check for mouse down events in case we need to close the menu.
  817. * Control.cs, Form.cs: Remove mouse down checks for menus.
  818. 2007-05-24 Jackson Harper <[email protected]>
  819. * TextControl.cs: Handle tabs in non multiline mode a little
  820. differently.
  821. 2007-05-24 Jackson Harper <[email protected]>
  822. * TextControl.cs: We need to manually break apart tabbed text and
  823. move the tabs, since the system.drawing tabbing mechanism relies
  824. on tab stops.
  825. * TextBoxBase.cs: Move the caret properly when the user enters a
  826. tab.
  827. 2007-05-24 Jonathan Pobst <[email protected]>
  828. * ContainerControl.cs: Don't check CanSelect before calling
  829. ProcessMnemonic.
  830. * ToolStrip.cs: Only do implicit mnemonics on MenuStrips. Don't
  831. release a KeyboardActive on click if it's not ours.
  832. 2007-05-23 Andreia Gaita <[email protected]>
  833. * ColumnHeader.cs: Add TypeConverter
  834. 2007-05-23 Everaldo Canuto <[email protected]>
  835. * LinkLabel.cs: Implement LinkCollection.Add with Link parameter (2.0).
  836. 2007-05-23 Everaldo Canuto <[email protected]>
  837. * LinkLabelLinkClickedEventArgs.cs, LinkLabel.cs: Implement Button property.
  838. 2007-05-23 Everaldo Canuto <[email protected]>
  839. * LinkLabel.cs: Implement public Padding property.
  840. 2007-05-23 Everaldo Canuto <[email protected]>
  841. * LinkLabel.cs: Implement public FlatStyle.
  842. 2007-05-23 Jonathan Pobst <[email protected]>
  843. * Control.cs: Apply patch from George to call parent.PerformLayout
  844. when Visible is changed. [Fixes bugs #81118, 81718]
  845. 2007-05-23 Everaldo Canuto <[email protected]>
  846. * MainMenu.cs, MenuAPI.cs: Implement Collapse event for MainMenu (2.0).
  847. 2007-05-23 Everaldo Canuto <[email protected]>
  848. * ContextMenu.cs: Implement ProcessCmdKey with control parameter.
  849. 2007-05-23 Everaldo Canuto <[email protected]>
  850. * ContextMenu.cs: Implement Collapse.
  851. 2007-05-23 Rolf Bjarne Kvinge <[email protected]>
  852. * ToolBarButton.cs: Implement Name.
  853. 2007-05-22 Everaldo Canuto <[email protected]>
  854. * ToolBar.cs: Fix OnButtonDropDown to save item used in dropdown instead of
  855. use current_item, it prevents some NRE. Fixes #81675.
  856. 2007-05-22 Andreia Gaita <[email protected]>
  857. * NumericUpDown.cs: Fix PieChart by not returning from UpdateEditText
  858. without updating the text.
  859. 2007-05-22 Jonathan Pobst <[email protected]>
  860. * XplatUIWin32.cs: Plug a GDI leak caused by calling Font.ToHfont ()
  861. without calling DeleteObject. [Should fix bug #81709]
  862. 2007-05-22 Jackson Harper <[email protected]>
  863. * RichTextBox.cs: Set the line endings correctly, when flushing
  864. RTF text.
  865. 2007-05-22 Gert Driesen <[email protected]>
  866. * XplatUIX11.cs: MinimumWindowSize on X11 is actually
  867. {Width=0,Height=0}.
  868. 2007-05-22 Jackson Harper <[email protected]>
  869. * TreeView.cs: Setting top with a null node should set to the very
  870. top.
  871. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  872. * Form.cs: ShowDialog: destroy the handle when message loop is
  873. finished, matches MS behaviour. Refactor parts of WmClose into
  874. RaiseCloseEvents, that only raises events if they haven't already
  875. been raised. Fixes #81688 and #81521.
  876. * Application.cs: Don't call close on the form when exiting a modal
  877. loop, it will raise all the (Form)Closed/Closing events again if
  878. WM_CLOSE has been sent earlier on, instead call RaiseCloseEvent,
  879. which doesn'r raise any events it they have been raised before.
  880. 2007-05-22 Jonathan Pobst <[email protected]>
  881. * Control.cs: Add OnPrint.
  882. * ToolStrip.cs: Add GetChildAtPoint.
  883. * ToolStripContainer.cs: Add OnRightToLeftChanged.
  884. * ToolStripRenderer.cs: Make CreateMirrorImage internal.
  885. 2007-05-22 Everaldo Canuto <[email protected]>
  886. * MenuAPI.cs: Prevent context menu to be typed as MainMenu. Fixes #81509.
  887. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  888. * InternalWindowManager.cs: ToolTipShow: Don't show tooltip if the form
  889. isn't visible anymore. Fixes #81651.
  890. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  891. * Control.cs: WmShowWindow: Update children's z-order after setting
  892. their parent. SetParent may show the window, thereby corrupting
  893. z-order, since the window will be shown on top.
  894. * XplatUIWin32.cs: SetParent: don't call SetVisible on forms. Prevents
  895. multiple (and redundant) WM_SHOWWINDOW messages.
  896. * MdiWindowManager.cs: RaiseDeactivate: only raise after an Activate
  897. event has already been raised.
  898. * Form.cs: Change is_changing_visible_state to a counter, since
  899. SetVisibleCore can be called recursively. CreateHandle: when
  900. creating mdi children, send (De)Activated events.
  901. * MdiClient.cs: Update use of is_changing_visible_state.
  902. * Application.cs: OnThreadException: Surround exception handling with
  903. try/finally to ensure we always reset the error-handling state
  904. before leaving.
  905. 2007-05-22 Rolf Bjarne Kvinge <[email protected]>
  906. * ThemeWin32Classic.cs: DrawProgressBar: Avoid a DivideByZero exception
  907. (#81704).
  908. 2007-05-21 Carlos Alberto Cortez <[email protected]>
  909. * ListView.cs: Use Theme.ListViewHorizontalSpacing for List and
  910. SmallIcon views, now that we have a standarized horizontal spacing.
  911. * ThemeWin32Classic.cs: ListViewHorizontalSpacing now has a value of
  912. 4, just like the other views (Match .Net).
  913. 2007-05-21 Jonathan Pobst <[email protected]>
  914. * Control.cs: Delay calculating anchor distances until we actually layout.
  915. Always query the WM for the actual size and location it put us at instead of
  916. only when we send negative values.
  917. [Fixes bugs #81694, 81695]
  918. 2007-05-21 Rolf Bjarne Kvinge <[email protected]>
  919. * Application.cs: Avoid a possible stack overflow when trying to exit
  920. the application.
  921. 2007-05-19 Marek Safar <[email protected]>
  922. * Theme.cs (GetHatchBrush): A key uses internal value instead of formated
  923. enum value.
  924. 2007-05-19 Andreia Gaita <[email protected]>
  925. * NumericUpDown.cs: Added 2.0 methods (spin acceleration)
  926. * NumericUpDownAcceleration.cs,
  927. NumericUpDownAccelerationCollection.cs: Added 2.0
  928. implementation.
  929. 2007-05-19 Gert Driesen <[email protected]>
  930. * RichTextBox.cs: Recalculate the document after the ScrollBars
  931. property is changed. Fixes bug #81681.
  932. 2007-05-18 Jonathan Pobst <[email protected]>
  933. * DataObject.cs: Implement 2.0 methods.
  934. 2007-05-18 Carlos Alberto Cortez <[email protected]>
  935. * ThemeWin32Classic.cs: Draw the check marks in ListViewItems
  936. in the center of the checkbox, not in the left-top corner.
  937. Fixes #80037.
  938. 2007-05-18 Jackson Harper <[email protected]>
  939. * RichTextBox.cs: Recalculate the document after the scrollbars
  940. property is changed.
  941. * TextBoxBase.cs: ScrollBars is not a flags enum...This fixes
  942. 81486.
  943. 2007-05-18 Rolf Bjarne Kvinge <[email protected]>
  944. * CreateParams.cs: Make HasWindowManager marginally faster.
  945. * XplatUIX11.cs, Hwnd.cs: CreateWindow: Move the default location code
  946. into Hwnd so that other drivers can use it as well.
  947. * XplatUIWin32.cs: CreateWindow: If the window has a window manager get
  948. the default location from Hwnd. Fixes MDI client windows always
  949. showing up at (0,0) in Windows (Win32 won't set the default
  950. location since the window styles aren't correct).
  951. 2007-05-18 Gert Driesen <[email protected]>
  952. * TreeView.cs: Modified DoubleBuffered to just use the base
  953. implementation.
  954. 2007-05-18 Jackson Harper <[email protected]>
  955. * TreeView.cs: Set the top node to the last child node when
  956. expanding all
  957. - When we get focus, if there is no selected node, use the top
  958. node.
  959. 2007-05-18 Jonathan Pobst <[email protected]>
  960. * KeysConverter.cs: Add CanConvertTo.
  961. * LinkLabel.cs: Add some 2.0 constructors and properties to LinkLabel.Link.
  962. * LinkConverter.cs: Added.
  963. 2007-05-18 Everaldo Canuto <[email protected]>
  964. * Cursor.cs: Apply Sebastien patch from #81669 to open file in read mode,
  965. it prevents error when file dont have write access. Fixes #81669 and #81667.
  966. 2007-05-18 Everaldo Canuto <[email protected]>
  967. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw toolbar
  968. button text. Fixes #79640.
  969. 2007-05-18 Everaldo Canuto <[email protected]>
  970. * Control.cs: According to MSDN controls created in the designer theres
  971. keyboard accelerators visible by default. So included check for design
  972. in ShowKeyboardCuesInternal.
  973. 2007-05-18 Everaldo Canuto <[email protected]>
  974. * ThemeWin32Classic.cs: Check for ShowKeyboardCues true when draw combobox
  975. text. Fixes #81621.
  976. 2007-05-18 Everaldo Canuto <[email protected]>
  977. * Control.cs: ShowKeyboardCuesInternal add to expose ShowKeyboardCues
  978. for 1.0, becuse ShowKeyboardCues is protected on 1.0.
  979. 2007-05-17 Everaldo Canuto <[email protected]>
  980. * Control.cs: Finish implementation of UI State using WmChangeUIState
  981. to send WM_UPDATEUISTATE to all child controls. Some hack will be needed
  982. in some controls to check for show_keyboard_cues to draw accell keys "_".
  983. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  984. * ListBox.cs: When calculating the horizontal scrollbar
  985. in single column mode, don't use values less than 0 for
  986. Maximum. Fixes #81474.
  987. 2007-05-17 Carlos Alberto Cortez <[email protected]>
  988. * ListBox.cs: Throw the some missing exceptions in
  989. ListBox.ObjectCollection methods.
  990. 2007-05-17 Jackson Harper <[email protected]>
  991. * TextBoxBase.cs: Recalculate the document when the word wrap
  992. value has changed. This fixes 81488.
  993. 2007-05-17 Jonathan Pobst <[email protected]>
  994. * Clipboard.cs: Implement missing GetText overload.
  995. 2007-05-17 Chris Toshok <[email protected]>
  996. * Control.cs (CheckDataBindings): remove the binding_context arg
  997. to binding.Check.
  998. * CurrencyManager.cs (OnItemChanged): fix this now that
  999. BindingManagerBase is fixed. also remove the comment telling where
  1000. the fix should go. We set transfering_data to true/false around
  1001. the call to PushData to keep UpdateIsBinding from being called.
  1002. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  1003. PropertyDescriptorAdded in the 1.1 case. The extra call is
  1004. actually generated by System.Data generating 2 metadata changed
  1005. events of its own per column add. The fix should go there. Add a
  1006. comment to that affect in our test's Assert.Ignore.
  1007. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  1008. we keep a boolean flag (transfering_data) that keeps us from
  1009. calling UpdateIsBinding multiple times if we re-enter either of
  1010. them.
  1011. * ControlBindingsCollection.cs (AddCore): remove the
  1012. binding_context arg to binding.Check.
  1013. * Binding.cs (IsBinding): don't check if we're binding here, just
  1014. return our cached value. we update it in UpdateIsBinding.
  1015. (Check): don't take the binding_context arg, we'll just use our
  1016. control's. Also, for some reason MS doesn't use the data member
  1017. field when getting the bindingmanager for this binding. it just
  1018. uses the datasource. Make this method callable multiple times,
  1019. and only do the is_null_desc stuff if manager.Position != -1 (so
  1020. we don't get an exception accessing manager.Current).
  1021. (UpdateIsBinding): move the code from IsBinding here.
  1022. (PositionChangedHandler): call Check here to we can initialize
  1023. things that require a non- -1 position.
  1024. 2007-05-17 Everaldo Canuto <[email protected]>
  1025. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  1026. control.
  1027. 2007-05-17 Andreia Gaita <[email protected]>
  1028. * TabControl.cs: Add 2.0 methods and events, including
  1029. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  1030. * TabPage.cs: Add 2.0 methods
  1031. 2007-05-17 Everaldo Canuto <[email protected]>
  1032. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  1033. keyboard_cues is properly handled by message method.
  1034. 2007-05-17 Jonathan Pobst <[email protected]>
  1035. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  1036. 2007-05-17 Jonathan Pobst <[email protected]>
  1037. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  1038. 2007-05-16 Everaldo Canuto <[email protected]>
  1039. * Control.cs:
  1040. - WmUpdateUIState added to handle state changes, it make call to
  1041. OnChangeUICues event.
  1042. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  1043. SystemInformation.
  1044. 2007-05-16 Jonathan Pobst <[email protected]>
  1045. * ImageKeyConverter.cs: Added.
  1046. * TreeViewImageKeyConverter.cs: Added.
  1047. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  1048. * ToolTips.cs: Update Text if SetToolTip is called for a control
  1049. already showing the tooltip, as well as restarting its timer; show
  1050. tooltip if we are inside the control bounds by the time of calling
  1051. SetToolTip. Inside ShowTooltip remove the check to not show the
  1052. tooltip again for the active control (it is allowed by .Net to
  1053. show the tooltip on the same control multiple times).
  1054. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  1055. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  1056. 2007-05-16 Andreia Gaita <[email protected]>
  1057. * ContainerControl.cs: only process tab key if there are no
  1058. modifier keys present, otherwise the control does the
  1059. tab processing, if it needs to. Fixes #81622
  1060. * TabControl.cs: Fixes calculation for which tab to select on
  1061. shift+ctrl+tab.
  1062. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  1063. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  1064. 2007-05-15 Jonathan Pobst <[email protected]>
  1065. * Control.cs: Make IsInputCharInternal to allow controls to
  1066. override it and still match MS API.
  1067. * TextBoxBase.cs: Override IsInputCharInternal and always
  1068. return true.
  1069. [Fixes bug #81616]
  1070. 2007-05-15 Jackson Harper <[email protected]>
  1071. * TextBox.cs: Disable some of the menu options when using a
  1072. readonly textbox.
  1073. 2007-05-15 Jackson Harper <[email protected]>
  1074. * TextBox.cs:
  1075. * TextBoxBase.cs:
  1076. * RichTextBox.cs: Some new 2.0 methods
  1077. 2007-05-15 Gert Driesen <[email protected]>
  1078. * FileDialog.cs: On 1.0 profile, do not support multidotted
  1079. extensions.
  1080. 2007-05-14 Jackson Harper <[email protected]>
  1081. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  1082. * RichTextBox.cs: We need to override these methods on 2.0.
  1083. * MaskedTextBox.cs: These are implemented now
  1084. * TextControl.cs: This was off by one.
  1085. 2007-05-14 Jackson Harper <[email protected]>
  1086. * TextControl.cs: Because the line endings are including in the
  1087. text, we don't need to add them in anymore.
  1088. 2007-05-11 Everaldo Canuto <[email protected]>
  1089. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  1090. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  1091. 2007-05-11 Everaldo Canuto <[email protected]>
  1092. * ToolBar.cs: Adjust size to default size when button theres no text and
  1093. image, it fixes remaining issues from #81524.
  1094. 2007-05-11 Everaldo Canuto <[email protected]>
  1095. * ToolBar.cs:
  1096. - When not flat call redraw to recalculate sizes on creare handle to match
  1097. win32 behavior.
  1098. - Revert 77220 because it causes some regressions in toobar
  1099. button.
  1100. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  1101. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  1102. now actually enters a usable state.
  1103. 2007-05-11 Everaldo Canuto <[email protected]>
  1104. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  1105. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  1106. 3 buttons.
  1107. 2007-05-11 Everaldo Canuto <[email protected]>
  1108. * ToolBar.cs: Save default_size on create handle to use later for buttons
  1109. without text, needed to mimic win32 behavior.
  1110. 2007-05-11 Everaldo Canuto <[email protected]>
  1111. * ToolBar.cs: Fix button layour to best fit width or height according to
  1112. vertical or not. Fixes #81524.
  1113. 2007-05-10 Everaldo Canuto <[email protected]>
  1114. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  1115. toolbar size info because different styles theres different sizes.
  1116. Fixes #81522.
  1117. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  1118. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  1119. if we are using checkboxes, checked is true, and we have less
  1120. than two images in StateImageList; for the 1.1 in the same scenario
  1121. draw the first image if we have at least one image in StateImageList.
  1122. Fixes part of #81191.
  1123. 2007-05-10 Jonathan Pobst <[email protected]>
  1124. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  1125. the owner's Items collection on merge.
  1126. 2007-05-10 Jonathan Pobst <[email protected]>
  1127. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  1128. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  1129. and parent/owner gets changed based on gert's unit tests.
  1130. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  1131. * MaskedTextBox.cs: Started implementing parts of it.
  1132. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  1133. * ListView.cs: When clicking the checkbox on the items
  1134. take into account the double clicks even if we have only
  1135. one image in StateImageList (only for 1.0/1.1). Also
  1136. generate an extra change of checked state when we receive
  1137. the second click on checkbox (match .Net behaviour).
  1138. Fixes part of #81191.
  1139. 2007-05-10 Everaldo Canuto <[email protected]>
  1140. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  1141. 2007-05-10 Jonathan Pobst <[email protected]>
  1142. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  1143. even if OnLoad is overriden and base.OnLoad is not called.
  1144. [Fixes bug #81582]
  1145. 2007-05-10 Andreia Gaita <[email protected]>
  1146. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  1147. shame. (I blame my ever-persisting and annoying cold)
  1148. 2007-05-09 Jonathan Pobst <[email protected]>
  1149. * ListView.cs: Don't eat navigation keys. Let them flow through to
  1150. KeyDown/KeyPress routines. [Fixes bug #81569]
  1151. 2007-05-09 Jonathan Pobst <[email protected]>
  1152. * ListView.cs: When handling keys for selecting the item based off
  1153. keyboard input, do not consider keys pressed with Alt or Control. Also,
  1154. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  1155. 2007-05-09 Jonathan Pobst <[email protected]>
  1156. * Control.cs: When using UseWaitCursor, we have to store the requested
  1157. Cursor to use when UseWaitCursor is turned off.
  1158. 2007-05-09 Jonathan Pobst <[email protected]>
  1159. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  1160. to false.
  1161. * Application.cs: Use PreProcessControlMessage instead of
  1162. PreProcessMessage.
  1163. * PreProcessControlMessage.cs: Make internal for 1.1.
  1164. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  1165. * Control.cs: Add InternalContains focus property, which hast the same
  1166. functionality of ContainsFocus, but also including implicit controls.
  1167. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  1168. since we need to know if the focus is contained in our implicit
  1169. ItemControl when calculating Layout. Fixes part of #80888.
  1170. 2007-05-08 Everaldo Canuto <[email protected]>
  1171. * ToolTip.cs: Remove center form string alignment as it must be align to
  1172. left.
  1173. 2007-05-08 Jonathan Pobst <[email protected]>
  1174. * ToolStripItemCollection.cs: Set the new item's parent and owner
  1175. in Insert like we do in Add. [Fixes bug #81568]
  1176. 2007-05-08 Jackson Harper <[email protected]>
  1177. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  1178. - Off by one error in SetTop
  1179. - Disable DoubeBuffering
  1180. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  1181. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  1182. control as much as necessary in order to make it entirely visible,
  1183. instead of centering the control in the container (matches MS
  1184. behaviour). CalculateCanvasSize: we need to take the current scroll
  1185. position into account when calculating the maximum canvas,
  1186. otherwise the following scenario will fail: resize so that the
  1187. scrollbars appear, use the scrollbars to scroll, resize again
  1188. smaller, and now the canvas size is too small. Recalculate: when
  1189. showing scrollbars make sure they start off at 0, and try to scroll
  1190. the active control into view. Fixes #79540. HandleScrollBar: don't
  1191. scroll anywhere if the scrollbar isn't visible.
  1192. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  1193. * ListView.cs: When focus changed, call Layout/Invalidate
  1194. in the focused item to update the selected state (should show
  1195. entire label when ListView is focused, and a part of it if is not).
  1196. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  1197. for displaying the entire label not only the Focused state of the
  1198. item, but also the Focused state of the ListView (match .Net
  1199. behaviour).
  1200. 2007-05-07 Jonathan Pobst <[email protected]>
  1201. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  1202. Implement UseWaitCursor.
  1203. 2007-05-07 Jonathan Pobst <[email protected]>
  1204. Applying contributed patch from Sergey Volk.
  1205. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  1206. of SetDataObject.
  1207. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  1208. 2007-05-07 Jonathan Pobst <[email protected]>
  1209. * Control.cs: Implement DrawToBitmap.
  1210. 2007-05-07 Jonathan Pobst <[email protected]>
  1211. Applying contributed patch from Stefan Noack.
  1212. * Control.cs: Add [Get|Set]AutoSizeMode.
  1213. 2007-05-07 Jonathan Pobst <[email protected]>
  1214. * MdiClient.cs: Unmerge menus when the last child is closed.
  1215. 2007-05-07 Jonathan Pobst <[email protected]>
  1216. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  1217. * ToolStripManager.cs: Call Merge on DropDowns.
  1218. [Fixes bug #81477]
  1219. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  1220. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  1221. uints.
  1222. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  1223. visibility. We can't create forms visible, since we have to set the
  1224. owner before making the form visible (otherwise Win32 will do
  1225. strange things with task bar icons). The problem is that we set the
  1226. internal is_visible to true before creating the control, so
  1227. is_changing_visible_state is the only way of determining if we're
  1228. in the process of creating the form due to setting Visible=true -
  1229. this works because SetVisibleCore explicitly makes the form
  1230. visibile afterwards anyways. Fixes #80775.
  1231. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  1232. * ThemeWin32Classic.cs: When drawing ListViewItems,
  1233. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  1234. or LargeIcon _and_ item is not focused (match .Net behaviour).
  1235. 2007-05-04 Jonathan Pobst <[email protected]>
  1236. * Control.cs, Form.cs: Fix some obsolete method warnings.
  1237. 2007-05-04 Jonathan Pobst <[email protected]>
  1238. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  1239. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  1240. 2007-05-04 Andreia Gaita <[email protected]>
  1241. * ContainerControl.cs: Fix active_control attribution when going
  1242. up the parent chain so that the first parent container gets the control
  1243. and the rest of the parent containers get the child containers (skips
  1244. non-containers). Fixes #80729
  1245. 2007-05-04 Randolph Chung <[email protected]>
  1246. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  1247. [Fixes bug #81499]
  1248. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  1249. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  1250. takes a size parameter, since the CreateParam's size isn't true for
  1251. minimized forms. Fixes #81518,
  1252. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  1253. * Form.cs: Add OnDeactivateInternal.
  1254. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  1255. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  1256. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  1257. accessing the parent. Fixes #81508.
  1258. 2007-05-03 Chris Toshok <[email protected]>
  1259. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  1260. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  1261. was added before the current listposition. Fixes the
  1262. TestInsertRowBeforeCurrent unit test.
  1263. 2007-05-03 Jonathan Pobst <[email protected]>
  1264. * Application.cs: Add RaiseIdle.
  1265. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  1266. XplatUIX11.cs: Implement RaiseIdle.
  1267. 2007-05-02 Jonathan Pobst <[email protected]>
  1268. corcompare work: N - Z
  1269. * NotifyIcon.cs
  1270. * ProgressBar.cs
  1271. * RadionButton.cs
  1272. * ScrollableControl.cs
  1273. * SplitContainer.cs
  1274. * SplitterPanel.cs
  1275. * StatusBar.cs
  1276. * SystemInformation.cs
  1277. * TabControl.cs
  1278. * TableLayoutControlCollection.cs
  1279. * TableLayoutPanel.cs
  1280. * TabPage.cs
  1281. * ToolBar.cs
  1282. * ToolBarButton.cs
  1283. * ToolStrip.cs
  1284. * ToolStripComboBox.cs
  1285. * ToolStripContainer.cs
  1286. * ToolStripContentPanel.cs
  1287. * ToolStripDropDown.cs
  1288. * ToolStripDropDownItem.cs
  1289. * ToolStripDropDownMenu.cs
  1290. * ToolStripItem.cs
  1291. * ToolStripItemCollection.cs
  1292. * ToolStripMenuItem.cs
  1293. * ToolStripPanel.cs
  1294. * ToolStripSplitButton.cs
  1295. * ToolTip.cs
  1296. * TreeNode.cs
  1297. * TreeNodeCollection.cs
  1298. * TreeNodeMouseHoverEventArgs.cs
  1299. * TreeView.cs
  1300. 2007-05-01 Everaldo Canuto <[email protected]>
  1301. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  1302. stuff. Thanks aatdark for the patch.
  1303. 2007-05-01 Jonathan Pobst <[email protected]>
  1304. * GridItem.cs: Implement 2.0 Tag property.
  1305. 2007-05-01 Frederik Carlier <[email protected]>
  1306. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  1307. count instead of Nodes.Length. [Fixes bug #81448]
  1308. 2007-05-01 Jonathan Pobst <[email protected]>
  1309. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  1310. [Fixes bug #81506]
  1311. 2007-05-01 Jonathan Pobst <[email protected]>
  1312. corcompare work: A - M
  1313. * BindingNavigator.cs
  1314. * Button.cs
  1315. * ButtonBase.cs
  1316. * CheckBox.cs
  1317. * Control.cs
  1318. * FlowLayoutPanel.cs
  1319. * Form.cs
  1320. * Label.cs
  1321. * LinkLabel.cs
  1322. * ListView.cs
  1323. 2007-05-01 Jonathan Pobst <[email protected]>
  1324. * Application.cs: Give toolstrips a chance to process mnemonics.
  1325. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  1326. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  1327. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  1328. 2007-05-01 Jackson Harper <[email protected]>
  1329. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  1330. wider area too.
  1331. - Don't set the BoundsSpecified
  1332. 2007-04-30 Jonathan Pobst <[email protected]>
  1333. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  1334. message to pass through to a regular control if it hosted by a toolstrip.
  1335. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  1336. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  1337. 2007-04-30 Jonathan Pobst <[email protected]>
  1338. * TextRenderer.cs: Use the flags argument when using the MeasureString
  1339. fallback algorithm.
  1340. 2007-04-30 Jonathan Pobst <[email protected]>
  1341. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  1342. the MDI menu item. [Fixes bug #81483]
  1343. 2007-04-30 Gert Driesen <[email protected]>
  1344. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  1345. string. When setting Name to null, use zero-length string instead.
  1346. 2007-04-29 Andreia Gaita <[email protected]>
  1347. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  1348. DeselectTab). Implement missing 2.0 TabPageCollection methods
  1349. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  1350. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  1351. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  1352. 2007-04-29 Gert Driesen <[email protected]>
  1353. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  1354. Fixes bug #81479. Include details of exception when LoadFile fails.
  1355. 2007-04-28 Alan McGovern <[email protected]>
  1356. * DrawListViewSubItemEventArgs.cs: Added missing setter
  1357. 2007-04-27 Andreia Gaita <[email protected]>
  1358. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  1359. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  1360. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  1361. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  1362. removed in ly last commit (it was breaking the Label edit feature).
  1363. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  1364. StringAlignment.Near for LineAlignment (match .Net).
  1365. 2007-04-27 Andreia Gaita <[email protected]>
  1366. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  1367. of controls if it isn't already there - was blowing up when doing
  1368. tabcontrol.TabPages[i]=new TabPage().
  1369. SetTab now does a replace by removing the page at the index.
  1370. Add a new InsertTab method that inserts a page in a given index
  1371. instead of replacing.
  1372. Implements TabPageCollection.Insert(int, TabPage).
  1373. 2007-04-27 Chris Toshok <[email protected]>
  1374. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  1375. internal handler that can be invoked from our subclasses.) Also,
  1376. add a comment to PushData about how we need to fix it.
  1377. * CurrencyManager.cs: tons of changes here. trying to get things
  1378. matching the behavior of .net wrt event orders (ItemChanged,
  1379. CurrentChanged, PositionChanged.) I've implemented a private .net
  1380. symbol (ChangeRecordState) that appears in stack traces because
  1381. it's actually easier to do this than to effective inline all its
  1382. various behaviors at every call site.
  1383. * RelatedPropertyManager.cs: guard against an exception here by
  1384. not using parent.Current if the position is set to -1 (if the
  1385. parent datasource is cleared, for instance).
  1386. * Binding.cs: don't parse data in PushData (this might be wrong,
  1387. but it jives with MS's behavior.) Also, don't call PushData when
  1388. we get a CurrentChanged event.
  1389. 2007-04-27 Andreia Gaita <[email protected]>
  1390. * WebBrowser.cs,
  1391. WebBrowserBase.cs,
  1392. WebBrowserSiteBase.cs,
  1393. HtmlDocument.cs: Added stubbed out classes, no real implementations
  1394. yet.
  1395. 2007-04-27 Everaldo Canuto <[email protected]>
  1396. * MainMenu.cs: In draw method without parameters call draw method with
  1397. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  1398. as Rect property is already adjusted. Fixes #80694.
  1399. 2007-04-27 Jonathan Pobst <[email protected]>
  1400. * Application.cs: Need to handle keyboard menu deselection here.
  1401. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  1402. navigation, allowing keyboard to work on X11.
  1403. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  1404. 2007-04-27 Everaldo Canuto <[email protected]>
  1405. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  1406. menu bar. It fixes some drawing issues in menu bar.
  1407. 2007-04-27 Everaldo Canuto <[email protected]>
  1408. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  1409. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  1410. when <alt> key is pressed.
  1411. 2007-04-26 Everaldo Canuto <[email protected]>
  1412. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  1413. example just set visible to false and make this prevent from other problems.
  1414. In SystrayAdd always remove pending expose. Fixes #81072.
  1415. 2007-04-26 Marek Safar <[email protected]>
  1416. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  1417. value is set.
  1418. 2007-04-26 Alan McGovern <[email protected]>
  1419. * ListView.cs: Added three missing 2.0 events and corresponding
  1420. EventHandlers. Added the OwnerDraw property.
  1421. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  1422. 2007-04-26 Alan McGovern <[email protected]>
  1423. * DrawListViewItemEventArgs.cs
  1424. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  1425. 2007-04-26 Alan McGovern <[email protected]>
  1426. * TextControl.cs: Fixed typo in constructor
  1427. 2007-04-26 Jonathan Pobst <[email protected]>
  1428. * Application.cs: Create a shortcut path so that currently selected
  1429. MenuStrips can intercept keyboard events without having focus.
  1430. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  1431. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  1432. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  1433. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  1434. generate WM_SYSCOMMAND message in X11 for other platforms.
  1435. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  1436. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  1437. * ToolStripSplitButton.cs: Add DefaultItem property.
  1438. 2007-04-26 Everaldo Canuto <[email protected]>
  1439. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  1440. fixes some menu draw problem on Windows with border diferent from default
  1441. it also fixes #81403.
  1442. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  1443. * Form.cs: Refactor WndProc into separate methods, just like Control is
  1444. doing it.
  1445. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  1446. * Control.cs: set_Text: move the call to the driver into a seperate
  1447. virtual method so that Form can override it.
  1448. * MaskedTextBox.cs: Corcompare fixes.
  1449. * Form.cs: Override UpdateWindowText and only update the styles if the
  1450. form has been shown (fixes #81405).
  1451. 2007-04-25 Jonathan Pobst <[email protected]>
  1452. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  1453. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  1454. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  1455. the form lost focus or another control was clicked.
  1456. 2007-04-25 Gert Driesen <[email protected]>
  1457. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  1458. fixed.
  1459. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  1460. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  1461. DrawListViewItemEventHandler.cs,
  1462. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  1463. Added.
  1464. * X11Structs.cs: More ToString implementation.
  1465. 2007-04-25 Jonathan Pobst <[email protected]>
  1466. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  1467. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  1468. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  1469. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  1470. handle.
  1471. * FormCollection.cs: Don't add a form if it's already in the
  1472. collection.
  1473. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  1474. according to behaviour and MSDN. The ownerWin32 is the active
  1475. window at the moment when we call ShowDialog, not the context's
  1476. main form (the context's main form may open another form that opens
  1477. a form with ShowDialog, the win32 owner is the second form). Add
  1478. and remove forms to the Application.OpenForms in other places to
  1479. better match MS behaviour. Add an IsActive property that raises
  1480. On(de)Activated only if the active state has changed (we were
  1481. raising OnDeactivated before OnActivated while creating forms).
  1482. * Application.cs: Refactor Enabling/Disabling of windows for modal
  1483. dialog loops out to separate methods, and restore the thread
  1484. context when we quit the method. Fixes #81407.
  1485. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  1486. * ListView.cs: In ItemControl.HandleClicks, also fire
  1487. 2.0 MouseClick or MouseDoubleClick events on the parent,
  1488. not only the Click/DoubleClick events.
  1489. 2007-04-24 Andreia Gaita <[email protected]>
  1490. * TableLayoutSettings.cs:
  1491. - Added a GetControls method and a support structure to help the
  1492. TypeConverter to enumerate the controls for serialization.
  1493. - Added a new serialization constructor.
  1494. - Added a isSerialized flag initialized to true on the
  1495. serialization constructor so that the TableLayoutPanel.LayoutSettings
  1496. setter does not throw the designed NotSupportedOperation exception
  1497. when the object is built through deserialization.
  1498. - Implemented GetObjectData
  1499. * TableLayoutPanel.cs: Added check on LayoutSettings.
  1500. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  1501. * ListView.cs: Report Click and DoubleClick events to the parent
  1502. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  1503. from breaking the click count state when using dialog forms (Control
  1504. reports the clicks in a similar fashion). In the previous behaviour
  1505. the last WM_LBUTTONUP message in a double click was sent to the
  1506. ListView's form, instead of the ListView, which was breaking the click
  1507. count for it. Fixes #80387.
  1508. 2007-04-24 Alan McGovern <[email protected]>
  1509. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  1510. 2007-04-24 Jonathan Pobst <[email protected]>
  1511. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  1512. us from created dropdowns for menu items that do not have subitems.
  1513. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  1514. Check HasDropDownItems before calling DropDown so a dropdown will not be
  1515. created if it isn't needed.
  1516. 2007-04-24 Jackson Harper <[email protected]>
  1517. * TreeView.cs: Set the first node to the selected node when we get
  1518. focus if there is no selected node.
  1519. 2007-04-24 Andreia Gaita <[email protected]>
  1520. * MimeIcon.cs: remove using blocks so that image streams are
  1521. not disposed of. Fixes #80151
  1522. 2007-04-24 Jackson Harper <[email protected]>
  1523. * TextBoxBase.cs: Fixup the height of textboxes when the control
  1524. is created.
  1525. 2007-04-24 Jonathan Pobst <[email protected]>
  1526. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  1527. for each ToolStripItem when the parent's RightToLeftChanged is called.
  1528. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  1529. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  1530. Fixes #80163.
  1531. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  1532. property, so that the setter can be overriden too.
  1533. * TextBox.cs: Change GetContextMenuInternal() to use
  1534. ContextMenuInternal.
  1535. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  1536. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  1537. #81406.
  1538. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  1539. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  1540. #81406.
  1541. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  1542. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  1543. avoid duplicate work. Mostily skeleton code, it's not working at
  1544. all yet.
  1545. 2007-04-20 Leszek Ciesielski <[email protected]>
  1546. * NotifyIcon.cs : stub for MouseClick event
  1547. * Application.cs: stub for SetUnhandledExceptionMode
  1548. 2007-04-24 Alan McGovern <[email protected]>
  1549. * BindingNavigator.cs : Initial (partial) implementation
  1550. 2007-04-23 Jackson Harper <[email protected]>
  1551. * TreeView.cs: Do not create the treeview's handle when setting
  1552. the scroll position.
  1553. - ExpandAll needs to compute the scrollbars so it knows which
  1554. position to set the bar too.
  1555. * TreeNode.cs:
  1556. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  1557. 2007-04-23 Jackson Harper <[email protected]>
  1558. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  1559. key. Fixes #81408.
  1560. 2007-04-23 Jonathan Pobst <[email protected]>
  1561. * ToolStripItem.cs: Make GetImageSize internal.
  1562. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  1563. need to draw an item. Fixes a reported issue where images on menus
  1564. that were not 16x16 were drawing incorrectly.
  1565. 2007-04-21 Miguel de Icaza <[email protected]>
  1566. * Padding.cs: Use the converter, fixes the resgen2 issue with
  1567. XMLNotePad.
  1568. 2007-04-21 Jackson Harper <[email protected]>
  1569. * TreeView.cs: Dont try to unhighlight the selected node if there
  1570. isn't a selected node.
  1571. 2007-04-21 Jackson Harper <[email protected]>
  1572. * UpDownBase.cs:
  1573. * TextBoxBase.cs:
  1574. * ListView.cs:
  1575. * ListBox.cs:
  1576. * TreeView.cs: Use the InternalBorderStyle property to set the
  1577. initial border style, this forces the client rectangle to be sized
  1578. correctly.
  1579. 2007-04-20 Jackson Harper <[email protected]>
  1580. * TreeView.cs: Simplify scrolling to the last node after expanding
  1581. all.
  1582. - Fix some off by ones with setting the bottom.
  1583. 2007-04-20 Jonathan Pobst <[email protected]>
  1584. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  1585. that. We were incorrectly doing it the other way around. Also,
  1586. update ClientSize if we change the BorderStyle before the control
  1587. is created.
  1588. 2007-04-20 Gert Driesen <[email protected]>
  1589. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  1590. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  1591. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  1592. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  1593. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  1594. Caption to CaptionHeight.
  1595. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  1596. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  1597. and FixedFrameBorderSize to return value from current XplatUI driver.
  1598. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  1599. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  1600. and FixedFrameBorderSize using win32 API. Renamed Caption to
  1601. CaptionHeight.
  1602. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  1603. * SystemInformation.cs: Fixed typo in BorderSize.
  1604. 2007-04-20 Gert Driesen <[email protected]>
  1605. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  1606. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  1607. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  1608. returning false.
  1609. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  1610. value from XplatUI driver.
  1611. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  1612. SystemParametersInfo.
  1613. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  1614. override.
  1615. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  1616. returning false.
  1617. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  1618. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  1619. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  1620. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  1621. 2007-04-20 Jonathan Pobst <[email protected]>
  1622. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  1623. MenuStrips that contain ToolStripSeparators.
  1624. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  1625. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  1626. DefineStdCursorBitmap.
  1627. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  1628. has been created off a standard cursor. This is used to get a
  1629. bitmap of the standard cursor when Draw or DrawStretched is called
  1630. in order to draw the cursor.
  1631. * X11Structs.cs: Added XcursorImage and XcursorImages.
  1632. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  1633. DefineStdCursorBitmap.
  1634. * Cursors.cs: Update all relevant creations of Cursor to use the new
  1635. internal constructor.
  1636. 2007-04-19 Jackson Harper <[email protected]>
  1637. * TextBox.cs: Move the has_been_focused into the base control, so
  1638. some of the text adding methods can manipulate it (probably time
  1639. for a better name for this flag too).
  1640. - Call a new version of selectall that doesn't scroll
  1641. * TextBoxBase.cs: When we append text, if the document is empty,
  1642. don't scroll. If the document has text already, we scroll to the
  1643. end of the appended text.
  1644. - When the text is changed, we reset the has_been_focused, so the
  1645. next time the control gets focused, all the text is selected.
  1646. 2007-04-19 Jackson Harper <[email protected]>
  1647. * TextControl.cs: Move the margins to the document, add a method
  1648. so the margin sizes can be updated.
  1649. * TextBoxBase.cs: When the border style is changed, update the
  1650. border sizes.
  1651. 2007-04-19 Jonathan Pobst <[email protected]>
  1652. * Control.cs: Respect DefaultPadding.
  1653. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  1654. padding into account.
  1655. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  1656. 2007-04-19 Jackson Harper <[email protected]>
  1657. * TextControl.cs: Oops, we need to use the ClientRect not the
  1658. bounds here.
  1659. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  1660. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  1661. account the double clicks when CheckBoxes are used and
  1662. the pointer is inside the checkbox. Fixes part of #81191.
  1663. 2007-04-18 Jackson Harper <[email protected]>
  1664. * TextControl.cs: Pressing the end key shouldn't move the caret
  1665. past the line ending.
  1666. * TextBoxBase.cs: We can still delete if we are in the line
  1667. ending and the combine will just kill the existing line ending.
  1668. 2007-04-18 Jackson Harper <[email protected]>
  1669. * TextControl.cs: We can't move lines, then invalidate their
  1670. bounds, we need to get the old bounds and combine that with the
  1671. new bounds.
  1672. * TextBoxBase.cs: Before combining two lines for a delete, we need
  1673. to invalidate the area of the old line, since that will be moved
  1674. in the combine operation.
  1675. 2007-04-18 Everaldo Canuto <[email protected]>
  1676. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  1677. with transparent background. Fixes #80482.
  1678. 2007-04-18 Jonathan Pobst <[email protected]>
  1679. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  1680. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  1681. [Fixes bug #81391]
  1682. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  1683. * CreateParams.cs: Add a couple of helper methods and do a less string
  1684. concatenation in ToString.
  1685. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  1686. overload that takes a Control parameter, since this method may be
  1687. called before a control is assigned to the hwnd (from
  1688. CreateWindow), and update CreateWindow to use the new overload. In
  1689. GetMenuOrigin subtract the title bar from the y position if the
  1690. form has a window manager (since we're painting it and not X).
  1691. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  1692. CreateParams to calculate the origin (since border sizes may vary).
  1693. In ScreenToMenu only subtract the title height if we actually have
  1694. a title.
  1695. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  1696. mdi children never have menus of themselves.
  1697. * InternalWindowManager.cs: Implement menu handling like form does.
  1698. Added GetMenuOrigin to calculate the menu origin, can't use the
  1699. CreateParams from the form like normally since it's lying.
  1700. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  1701. windows-like) and add Inflate and comparison operators to the
  1702. Borders type. When calculating MenuOrigin and it's a form with a
  1703. window manager, use the window manager to calculate it.
  1704. 2007-04-17 Chris Toshok <[email protected]>
  1705. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  1706. OnBindingContextChanged thing here. It's only generated from
  1707. ContainerControl.OnCreateControl. Fixes a newly written unit test
  1708. - BindingTest.BindingContextChangedTest4.
  1709. 2007-04-17 Jackson Harper <[email protected]>
  1710. * ScrollBar.cs: When setting values, make sure the current
  1711. position stays within the new values range.
  1712. 2007-04-17 Chris Toshok <[email protected]>
  1713. * Control.cs (CreateControl): talk about a bizarre corner case.
  1714. Don't emit OnBindingContextChanged here if we're a parentless
  1715. control (i.e. if we're a form.). Fixes
  1716. BindingTest.BindingContextChangedTest2.
  1717. 2007-04-17 Everaldo Canuto <[email protected]>
  1718. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  1719. from win32. Fixes #81255.
  1720. 2007-04-17 Everaldo Canuto <[email protected]>
  1721. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  1722. already present in CalculateButtonTextAndImageLayout.
  1723. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  1724. * XplatUIX11.cs: When setting min/max size for a window we need to
  1725. translate the coordinates to x coordinates. Create an overload of
  1726. SetWindowMinMax that takes a CreateParams handling this, and change
  1727. SetWMStyles to call this function (can't use Control.FromHandle in
  1728. the SetWindowMinMax to get the control/CreateParams from the handle
  1729. because the handle might not have been assigned to the control
  1730. yet). Fixes #81371.
  1731. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  1732. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  1733. if StateImageList is non-null and it has less than two items (match MS
  1734. behaviour). Also, in HandleNavKeys handle the Space key, calling
  1735. the new ToggleItemsCheckState method, which tries to change the
  1736. checked state of the selected items. Fixes part of #81191.
  1737. 2007-04-16 Jackson Harper <[email protected]>
  1738. * RichTextBox.cs: namespace cleanup.
  1739. 2007-04-16 Everaldo Canuto <[email protected]>
  1740. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  1741. 2007-04-16 Everaldo Canuto <[email protected]>
  1742. [Fixes #79447]
  1743. * Control.cs: Call invalidate in set_Region.
  1744. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  1745. it dont works here.
  1746. 2007-04-16 Jackson Harper <[email protected]>
  1747. * TextBoxBase.cs: When enter is pressed, we need to update all
  1748. lines below the current.
  1749. 2007-04-16 Jonathan Pobst <[email protected]>
  1750. * MdiClient.cs: Implement implicit menu merging for MDI
  1751. children. When a child form is active, if it has a menustrip
  1752. and the parent form has a MainMenuStrip, automatically merge
  1753. the menus.
  1754. 2007-04-15 Andreia Gaita <[email protected]>
  1755. * TabControl.cs: Refactored sizing methods to not repeat
  1756. code all over the place. Tab bounds are now calculated
  1757. as if alignment is top and single line, and only when
  1758. setting the bounds are the positions adjusted according
  1759. to alignment. Replaced hardcoded positions, spacings and
  1760. paddings by getting the values the ThemeEngine.
  1761. Fixes #79619.
  1762. * Theme.cs: Change TabControl properties and methods so
  1763. that all start with TabControl*. Added more properties
  1764. to help remove hardcoded values on tabcontrol.
  1765. Add CPDrawBorder3D declaration so the Theming classes
  1766. can access it.
  1767. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  1768. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  1769. on the Theming namespace, and call the appropriate methods here.
  1770. Change CPDrawBorder3D to public.
  1771. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  1772. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  1773. the control after firing the OnMouseUp event, instead of sending
  1774. the message before the mentioned event. This is so we can match the
  1775. MS behaviour. Fixes part of #80385.
  1776. 2007-04-13 Jonathan Pobst <[email protected]>
  1777. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  1778. RightToLeft property.
  1779. 2007-04-13 Jonathan Pobst <[email protected]>
  1780. * ToolStrip.cs: Add properties and internal methods to support merging.
  1781. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  1782. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  1783. not trigger reparenting or layouts.
  1784. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  1785. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  1786. is hosting the overflow menu.
  1787. 2007-04-13 Jackson Harper <[email protected]>
  1788. * TextControl.cs: Set the line ending correctly for the first
  1789. inserted line.
  1790. 2007-04-13 Sebastien Pouliot <[email protected]>
  1791. * Theme.cs: Update GetMethod to get the new definition for
  1792. KnownColors.Update (and fix theme color updates).
  1793. 2007-04-12 Everaldo Canuto <[email protected]>
  1794. * MessageBox.cs: Fix some test and button position.
  1795. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  1796. * Form.cs: Consider the implicit controls in
  1797. GetRealChildAtPoint. We need it since this method
  1798. is called on Form when handling the some messages in
  1799. WndProc, and need to consider those implicit ones too.
  1800. Fixes #80385.
  1801. 2007-04-12 Jonathan Pobst <[email protected]>
  1802. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  1803. if there are no ShortcutKeys set.
  1804. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  1805. set, use it when painting.
  1806. 2007-04-12 Jackson Harper <[email protected]>
  1807. * TextControl.cs: Fix some off-by-one issues in line duplication
  1808. and insertion in the undo manager. Also, overwrite the first tag
  1809. of a line on insert, if it is just a zero lengthed tag. This
  1810. prevents us from getting an extra stranded tag at the beginning of
  1811. the first line.
  1812. 2007-04-11 Everaldo Canuto <[email protected]>
  1813. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  1814. to calculated proper size including when handle was not created yet.
  1815. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  1816. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  1817. when the mouse is outside of it's parent's client rectangle. Fixes
  1818. #79982 (take 3, part 2).
  1819. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  1820. * X11Structs.cs: Add a few ToString() overrides.
  1821. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  1822. the window location in a window-manager independent way. Reworked
  1823. FrameExtents, it now actually works. Reworked AddConfigureNotify
  1824. and ReparentNotify handling to use GetTopLevelWindowLocation
  1825. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  1826. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  1827. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  1828. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  1829. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  1830. and generally refactored to do as few calculations as possible
  1831. inside the lock.
  1832. 2007-04-09 Sebastien Pouliot <[email protected]>
  1833. * Theme.cs: Change "reflective-contract" between MWF and SD to
  1834. minimize # of calls, avoid Color serialization and avoid updating
  1835. every "known colors" each time a single one is updated.
  1836. 2007-04-09 Gert Driesen <[email protected]>
  1837. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  1838. when not readonly and the text is explicitly set. Code style updates.
  1839. * DataGridTableStyle.cs: Removed extra line.
  1840. * DataGrid.cs: Code style updates. Removed extra whitespace.
  1841. * DataGridColumnStyle.cs: Code style updates. Removed extra
  1842. whitespace.
  1843. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  1844. * XplatUIX11.cs: Added comment that "fixes" #80021.
  1845. 2007-04-09 Jackson Harper <[email protected]>
  1846. * TextControl.cs: We don't need this -1 on the line count anymore.
  1847. 2007-04-09 Gert Driesen <[email protected]>
  1848. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  1849. entered value to underlying type, and convert it back to a string to
  1850. apply formatting. Modified GetFormattedValue to use TypeConverter
  1851. if available.
  1852. 2007-04-08 Gert Driesen <[email protected]>
  1853. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  1854. Use SubItems property when we want to ensure there's at least one
  1855. subitem. Modified SubItems property to ensure there's always at least
  1856. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  1857. the NRE's reported by MS.
  1858. 2007-04-07 Gert Driesen <[email protected]>
  1859. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  1860. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  1861. Spaces to tabs. Removed extra tabs.
  1862. 2007-04-06 Jonathan Pobst <[email protected]>
  1863. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  1864. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  1865. 2007-04-06 Jackson Harper <[email protected]>
  1866. * TextBoxBase.cs: When a delete removes a line, recalculate all
  1867. lines below that line (they need to get offsets setup correctly)
  1868. and invalidate.
  1869. 2007-04-05 Jackson Harper <[email protected]>
  1870. * TextControl.cs: We need to invalidate across the width of the
  1871. document when we are invalidating multiple lines.
  1872. * TextBoxBase.cs: Don't delete into the line ending.
  1873. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  1874. * ListView.cs: Restore the check for the MouseHover event
  1875. in ListView. It looks like the ListView fires more than one MouseHover
  1876. event when HoverSelection is true _only_ in weird-corner scenarios, but
  1877. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  1878. event.
  1879. 2007-04-05 Mike Kestner <[email protected]>
  1880. * ListView.cs : raise MouseDown before updating selection.
  1881. [Fixes #80373 tab 1&3]
  1882. 2007-04-05 Jonathan Pobst <[email protected]>
  1883. * ToolStripRenderer.cs: Add static method to mirror image.
  1884. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  1885. and RightToLeftAutoMirrorImage.
  1886. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  1887. 2007-04-05 Jonathan Pobst <[email protected]>
  1888. * ToolStripSplitStackLayout.cs: Support Alignment property.
  1889. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  1890. 2007-04-05 Jackson Harper <[email protected]>
  1891. * TextControl.cs: Move around the line endings when crossing line
  1892. boundaries.
  1893. - When combining lines, strip the ending text off the first line.
  1894. 2007-04-05 Jackson Harper <[email protected]>
  1895. * TextControl.cs:
  1896. * TextBoxBase.cs: Try to never move the cursor into the line
  1897. ending.
  1898. 2007-04-04 Jonathan Pobst <[email protected]>
  1899. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  1900. the item is disabled. Also add a few missing methods.
  1901. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  1902. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  1903. to fire just one MouseHover event when HoverSelection is true, since
  1904. .Net does fire more than one MouseHover event in that scenario. Also,
  1905. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  1906. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  1907. Finally, we need to reset the Hover logic in MouseMove, even when we
  1908. don't have a selected item.
  1909. 2007-04-04 Jonathan Pobst <[email protected]>
  1910. * ToolStrip.cs: Add several missing methods, properties, and events.
  1911. 2007-04-04 Chris Toshok <[email protected]>
  1912. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  1913. (0,0,0,0) in Commit, as MS does.
  1914. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  1915. make sure we set CurrentRow on a row header click *before* calling
  1916. Select. This moves the current cell (and the textbox) to the new
  1917. row. The call to Select then hides the textbox, giving us the
  1918. correct behavior. Fixes #80362.
  1919. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  1920. (ListChangedHandler): reorder the position/current changed events,
  1921. and call UpdateIsBinding in the ItemAdded case.
  1922. * GridColumnStylesCollection.cs: add some columns events, one of
  1923. which raises the CollectionChanged event.
  1924. 2007-04-04 Jackson Harper <[email protected]>
  1925. * TextControl.cs: When we delete multiple selection lines
  1926. invalidate the selection area, don't need to do that for single
  1927. lines because the final update view will handle it.
  1928. 2007-04-04 Jonathan Pobst <[email protected]>
  1929. * Control.cs: When we CreateControl, we need to also create all of the
  1930. control's children. The child's OnLoad must also fire before the parent's
  1931. OnLoad. Fixes the toolbox size in PDN.
  1932. 2007-04-04 Jackson Harper <[email protected]>
  1933. * TextBoxBase.cs: When the user presses enter, insert a line
  1934. ending into the text. (Maybe this would be a good spot for
  1935. Environment.NewLine).
  1936. * TextControl.cs: Remove undo manager hack, line endings get
  1937. inserted properly now.
  1938. 2007-04-04 Everaldo Canuto <[email protected]>
  1939. * MenuAPI.cs:
  1940. - Remove unneeded parameters in UpdateCursor.
  1941. - Fix UpdateCursor to check if menu is active.
  1942. - Call UpdateCursor when menu deactivate my click.
  1943. [Fixes remaining issues from #80410]
  1944. 2007-04-04 Everaldo Canuto <[email protected]>
  1945. * Control.cs: GetRealChildAtPoint method added, it make an
  1946. recursive child control search for the point.
  1947. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  1948. menu.
  1949. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  1950. 2007-04-03 Everaldo Canuto <[email protected]>
  1951. * Form.cs: Fix mouse position when send back mouse event after closes
  1952. menu.
  1953. 2007-04-03 Everaldo Canuto <[email protected]>
  1954. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  1955. 2007-04-03 Jonathan Pobst <[email protected]>
  1956. * Control.cs: Fix an issue where if a user resized a control inside
  1957. a sizing method like OnResize, we would overwrite their explicit
  1958. value. Also, only call DefaultSize once in the constructor instead
  1959. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  1960. nothing actually changed.
  1961. 2007-04-03 Jackson Harper <[email protected]>
  1962. * TextControl.cs: Don't attempt to copy text for lines with no
  1963. text in them (technically this shouldn't happen, but we aren't
  1964. always inserting line endings when we should be).
  1965. 2007-04-03 Jackson Harper <[email protected]>
  1966. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  1967. document, because this sets some of the document size properties
  1968. that are needed.
  1969. 2007-04-03 Jackson Harper <[email protected]>
  1970. * TextBoxBase.cs: We need to calculate maximums even if this is
  1971. not a multiline control, because the maxs are used for scrolling.
  1972. - Display the caret after doing a page up/down, we need to
  1973. manually display it because a proper CaretMoved event isn't
  1974. triggered (this is because of the way the math is done to
  1975. determine how far to scroll).
  1976. 2007-04-03 Jonathan Pobst <[email protected]>
  1977. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  1978. (ToolBar was relying on SetBoundsCore to default the values sent
  1979. base off of BoundsSpecified.)
  1980. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1981. * DateTimePicker.cs: Change Text so that when a null value or empty
  1982. string is assigned to the test we always raise ValueChanged and
  1983. TextChanged (earlier implementation would only raise ValueChanged
  1984. if the current date value was different from DateTime.Now).
  1985. 2007-04-03 Andreia Gaita <[email protected]>
  1986. * ButtonBase: Call update after invalidation, fixes #80194
  1987. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1988. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  1989. #79335.
  1990. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1991. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  1992. FormBorderStyle = None, don't give the window any decorations.
  1993. Fixes #81276.
  1994. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1995. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  1996. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  1997. to check for is a mix of several styles (such as WS_CAPTION for
  1998. instance).
  1999. * Control.cs: Don't paint an area bigger than the client area when
  2000. painting the background colour. Add an internal GetCreateParams.
  2001. Update calls to XplatUI.CalculateWindowRect due to API change.
  2002. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  2003. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  2004. the size if it hasn't been handled by any windows. When creating
  2005. and moving windows, X wants the location of the entire window, but
  2006. the size of the client window, so add
  2007. TranslateClientRectangleToXClientRectangle,
  2008. TranslateWindowSizeToXWindowSIze and
  2009. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  2010. before every window creation and move. Update CalculateWIndowRect
  2011. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  2012. In AddConfigureNotify don't do anything if the hwnd is a zombie
  2013. (fixes the BadWindow we were getting while running the tests),
  2014. always calculate the offsets when it's a parentless window, not
  2015. only when reparented, and translate the window size, since we're
  2016. getting the client size of the whole window, excluding entire
  2017. window.
  2018. * Theme.cs: Added BorderSizableSize.
  2019. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  2020. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  2021. chang
  2022. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  2023. change. Fake the window styles here instead of in XplatUIWin32 so
  2024. that all back-ends get the same window styles (and it's Form that's
  2025. deciding when to use wm, not the Win32 backend anyways)
  2026. * Hwnd.cs: Completely reworked GetWindowRectangle and
  2027. GetClientRectangle - they are now passed a CreateParams and they
  2028. only use Style and ExStyle to determine the rectangles (they should
  2029. now work just like Win32AdjustWindowRectEx - though quite a few
  2030. special cases are probably missing). They should also be 100%
  2031. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  2032. == rect), and all numbers (borders, menu sizes) are taken from the
  2033. current theme. Added a GetBorders helper function that will return
  2034. the borders for any given CreateParams (including captions and
  2035. menus), and GetBorderSize that returns the given border size only.
  2036. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  2037. Hwnd.GetClientRectangle.
  2038. 2007-04-02 Chris Toshok <[email protected]>
  2039. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  2040. logic between the values we present to the user and the values
  2041. which are stored in the column's property. Also, don't call
  2042. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  2043. 2007-04-02 Jackson Harper <[email protected]>
  2044. * TextBoxBase.cs: Scroll faster!
  2045. 2007-04-02 Jonathan Pobst <[email protected]>
  2046. * StatusStrip.cs: Layout fixes for PDN.
  2047. * ToolStrip.cs: Set item's available to true, and placement to main when
  2048. added.
  2049. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  2050. changing in setter before doing any work, add InternalVisible.
  2051. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  2052. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  2053. infinite loop.
  2054. 2007-04-02 Jackson Harper <[email protected]>
  2055. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  2056. text on focus.
  2057. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  2058. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  2059. Makes ToolStripComboBoxes show up again.
  2060. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  2061. * ListView.cs: Add a hover_pending field in ListView
  2062. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  2063. cycle (we are resetting the MouseHover logic in XplatUI
  2064. to handle HoverSelection). Fixes #80429.
  2065. 2007-04-02 Jackson Harper <[email protected]>
  2066. * TextControl.cs: Make sure the attributes get set on the last
  2067. tag.
  2068. - Still have to do the end tag if we have stepped all the ways to
  2069. the end.
  2070. 2007-04-02 Sebastien Pouliot <[email protected]>
  2071. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  2072. on an internal libgdiplus call when the information is already
  2073. available via the public API.
  2074. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  2075. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  2076. control is removed from a control collecftion.
  2077. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  2078. Fixes FormPropertyTest (failed on rare occasions).
  2079. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  2080. of Win32SetParent (when changing from no parent to a parent it
  2081. might add the new parent's location in screen coordinates to this
  2082. window's location).
  2083. * Form.cs: Rework ChangingParent once again, now the handle is
  2084. recreated whenever a FormWindowManager is added or removed (that is
  2085. whenever a normal form is parented or abandoned). Also change
  2086. CreateParams so that all non-toplevel windows always get the
  2087. specified sice (StartupPosition is never considered for
  2088. non-TopLevel forms).
  2089. * ContainerControl.cs: Add ChildControlRemoved, the container control
  2090. needs to be notified when a control is removed from it's
  2091. collection, in the case the removed control is the active control.
  2092. 2007-04-02 Jackson Harper <[email protected]>
  2093. * RichTextBox.cs: Use the new methods for setting the font and
  2094. color, these methods set the specified attribute without
  2095. overriding the other attributes.
  2096. 2007-04-02 Jonathan Pobst <[email protected]>
  2097. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  2098. 2007-03-31 Gert Driesen <[email protected]>
  2099. * TextBox.cs: Added internal ChangeBackColor method to special-case
  2100. Color.Empty. Added check for invalid ScrollBars value.
  2101. * TextBoxBase.cs: Added internal ChangeBackColor method.
  2102. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  2103. internal ChangeBackColor method to special-case Color.Empty. Added
  2104. check for invalid ScrollBars value.
  2105. 2007-03-30 Everaldo Canuto <[email protected]>
  2106. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  2107. 2007-03-30 Jonathan Pobst <[email protected]>
  2108. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  2109. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  2110. [Based on submitted patch from Olivier Duff.]
  2111. 2007-03-30 Jackson Harper <[email protected]>
  2112. * TextBox.cs: Only select all on initial focus if the user has not
  2113. specified a selection area.
  2114. 2007-03-30 Jonathan Pobst <[email protected]>
  2115. * UserControl.cs: Override CreateParams.
  2116. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  2117. [ Fixes #80995 ]
  2118. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  2119. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  2120. check for is a mix of several styles (such as WS_CAPTION for instance).
  2121. * Control.cs: Don't paint an area bigger than the client area when painting
  2122. the background colour. Add an internal GetCreateParams. Update calls to
  2123. XplatUI.CalculateWindowRect due to API change.
  2124. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  2125. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  2126. hasn't been handled by any windows. When creating and moving windows, X
  2127. wants the location of the entire window, but the size of the client
  2128. window, so add TranslateClientRectangleToXClientRectangle,
  2129. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  2130. to cope with this, and call them before every window creation and move.
  2131. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  2132. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  2133. hwnd is a zombie (fixes the BadWindow we were getting while running the
  2134. tests), always calculate the offsets when it's a parentless window, not
  2135. only when reparented, and translate the window size, since we're getting
  2136. the client size of the whole window, excluding entire window.
  2137. * Theme.cs: Added BorderSizableSize.
  2138. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  2139. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  2140. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  2141. Fake the window styles here instead of in XplatUIWin32 so that all
  2142. back-ends get the same window styles (and it's Form that's deciding when
  2143. to use wm, not the Win32 backend anyways)
  2144. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  2145. they are now passed a CreateParams and they only use Style and ExStyle
  2146. to determine the rectangles (they should now work just like
  2147. Win32AdjustWindowRectEx - though quite a few special cases are probably
  2148. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  2149. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  2150. sizes) are taken from the current theme. Added a GetBorders helper
  2151. function that will return the borders for any given CreateParams
  2152. (including captions and menus), and GetBorderSize that returns the given
  2153. border size only.
  2154. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  2155. Hwnd.GetClientRectangle.
  2156. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  2157. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  2158. layout of the mdi children is handled by CreateParams. Fixes
  2159. #79964,
  2160. 2007-03-29 Everaldo Canuto <[email protected]>
  2161. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  2162. processed.
  2163. * Form.cs: When active tracker mouse down is not processed, send event
  2164. back to control inside mouse position. [Fixes #81227]
  2165. 2007-03-29 Jonathan Pobst <[email protected]>
  2166. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  2167. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  2168. stealing focus from the active form on Windows. (Control will be made
  2169. visible in ShowWindow.)
  2170. 2007-03-29 Mike Kestner <[email protected]>
  2171. * ImageList.cs : add internal Changed event.
  2172. * ListView.cs : hook up to StateImageList.Changed to perform
  2173. invalidations when the the state icon list changes. [Fixes #81191]
  2174. 2007-03-29 Jonathan Pobst <[email protected]>
  2175. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  2176. to prevent tooltips from stealing focus from the active form on Windows.
  2177. 2007-03-29 Everaldo Canuto <[email protected]>
  2178. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  2179. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  2180. 2007-03-29 Everaldo Canuto <[email protected]>
  2181. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  2182. balloons.
  2183. 2007-03-29 Jackson Harper <[email protected]>
  2184. * TextControl.cs: When deleting text from non multiline textboxes,
  2185. we need to update the entire document, because line offsets will
  2186. be shifting.
  2187. 2007-03-29 Everaldo Canuto <[email protected]>
  2188. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  2189. added to theme, now we can create themes that uses diferent notify engines
  2190. like notification-daemon from galago project or growl for Mac OS.
  2191. 2007-03-28 Everaldo Canuto <[email protected]>
  2192. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  2193. 2007-03-28 Everaldo Canuto <[email protected]>
  2194. * XplatUIX11.cs: Prevent system to open more than one balloon.
  2195. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  2196. some compiler warning messages.
  2197. 2007-03-28 Everaldo Canuto <[email protected]>
  2198. [Fixes #79149]
  2199. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  2200. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  2201. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  2202. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  2203. systems.
  2204. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  2205. * ListViewItem.cs: Forgot to make Invalidate internal.
  2206. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  2207. * ListView.cs: Add a InvalidateSelection method to
  2208. invalidate methods which are currently selected, and call
  2209. it when setting FullRowSelect and HideSelection, instead of
  2210. calling Redraw.
  2211. 2007-03-28 Chris Toshok <[email protected]>
  2212. * XplatUIX11.cs (UnmapWindow): reindent this block.
  2213. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  2214. the selection_start if we're moving the selection (that is, not
  2215. extending it). Fixes bug #80461.
  2216. 2007-03-28 Jonathan Pobst <[email protected]>
  2217. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  2218. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  2219. create private ControlCollection.
  2220. 2007-03-28 Jonathan Pobst <[email protected]>
  2221. * Control.cs: We need to call OnVisibleChanged for our implicit
  2222. children as well as our normal children. Fixes scrollbars in
  2223. comboboxes not showing up.
  2224. 2007-03-28 Jonathan Pobst <[email protected]>
  2225. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  2226. the check for IsHandleCreated first. The check in CreateHandle is not
  2227. good enough because CreateHandle can be overriden, and the override
  2228. should not be called if the handle is already created.
  2229. 2007-03-28 Jonathan Pobst <[email protected]>
  2230. * ToolStrip.cs: Remove MonoTODO for tooltips.
  2231. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  2232. * ToolStripContainer.cs: Add custom ControlCollection class.
  2233. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  2234. * ToolStripDropDown.cs: Add some missing properties/methods.
  2235. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  2236. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  2237. * ToolStripManager.cs: Add IsShortcutDefined.
  2238. * ToolStripOverflow.cs: Override LayoutEngine.
  2239. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  2240. * ToolStripSeparator.cs: Add ImageKey.
  2241. 2007-03-28 Jackson Harper <[email protected]>
  2242. * TextControl.cs: If a char delete removes a line ending, we need
  2243. to update the ending style.
  2244. - Make sure the line ending calcs get called.
  2245. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  2246. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  2247. it was making the new code not work. Fixed a typo in the new code
  2248. as well. Fixes #79826.
  2249. 2007-03-27 Everaldo Canuto <[email protected]>
  2250. * XplatUIWin32.cs:
  2251. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  2252. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  2253. - SystrayBalloon method implemented.
  2254. [Add support for notifyicon balloon on win32, #79149]
  2255. 2007-03-27 Mike Kestner <[email protected]>
  2256. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  2257. the ms behavior when only one image is added to the list.
  2258. [Fixes #81191]
  2259. 2007-03-27 Jackson Harper <[email protected]>
  2260. * TextControl.cs: Improvements to non multiline line ending
  2261. drawing/measuing.
  2262. 2007-03-27 Everaldo Canuto <[email protected]>
  2263. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  2264. 2007-03-27 Everaldo Canuto <[email protected]>
  2265. * NotifyIcon.cs:
  2266. - Balloon message handling added.
  2267. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  2268. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2269. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  2270. to SystrayBalloon to me like other Systray method, also a
  2271. handle parameter added.
  2272. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  2273. * ListView.cs: Show scrollbars even when items.Count == 0
  2274. but the columns Width is bigger than the ListView.Width.
  2275. Also, when columns.Count == 0 set layout_wd and layout_ht
  2276. to the ClientRectangle values, so we don't show any scrollbar
  2277. in that case.
  2278. 2007-03-27 Everaldo Canuto <[email protected]>
  2279. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  2280. 2007-03-27 Jackson Harper <[email protected]>
  2281. * RichTextBox.cs: The RTF library decodes the text properly for us
  2282. now.
  2283. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  2284. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  2285. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  2286. ListView header (HeaderControl), instead of Control.BackColor.
  2287. 2007-03-27 Jonathan Pobst <[email protected]>
  2288. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  2289. Fixes tab control issues where controls would not show up because they
  2290. never received their OnVisibleChanged call.
  2291. 2007-03-27 Everaldo Canuto <[email protected]>
  2292. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  2293. BalloonTipShown).
  2294. 2007-03-27 Jonathan Pobst <[email protected]>
  2295. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  2296. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  2297. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  2298. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  2299. the handle. Fix WindowState by using the internal variable until we are
  2300. sure that we've been shown.
  2301. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  2302. max or min.
  2303. [Fixes bug #81198]
  2304. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  2305. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  2306. (at least borders). Fixes #79386 on Linux (with a small difference
  2307. in behaviour: when trying to resize a caption-less window metacity
  2308. shows the sysmenu. Resizing is still possible though).
  2309. * XplatUIWin32.cs: When setting window styles send request an extra
  2310. WM_NCCALCSIZE when it's a form without title (due to no text and no
  2311. caption), since Win32 seems to calculate it wrong the first time we
  2312. get the message, though the second time things work as they should.
  2313. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  2314. newly reparented window might show up unparented. Update
  2315. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  2316. there's no title text. Fixes #79386.
  2317. 2007-03-27 Mike Kestner <[email protected]>
  2318. * ListBox.cs : don't perform invalidations if the handle hasn't been
  2319. created. [Fixes #80753]
  2320. 2007-03-27 Mike Kestner <[email protected]>
  2321. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  2322. [Fixes #80428]
  2323. 2007-03-26 Everaldo Canuto <[email protected]>
  2324. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  2325. needed to implement Balloon.
  2326. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  2327. * ListViewItem.cs: In the constructors that take
  2328. an array of strings, don't use ListViewSubItemCollection.AddRange
  2329. method to add items, since we need to have a different behaviour (in
  2330. the constructors we add an item for each null string, opposed to
  2331. the behaviour of AddRange, which adds nothing).
  2332. 2007-03-26 Andreia Gaita <[email protected]>
  2333. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  2334. 2007-03-26 Jackson Harper <[email protected]>
  2335. * TextControl.cs: Draw and measure line endings when in non
  2336. multiline mode.
  2337. - When searching the text, count the end of the last line as a
  2338. word boundary.
  2339. 2007-03-26 Jackson Harper <[email protected]>
  2340. * RichTextBox.cs: The selection_start and selection_end don't
  2341. really track the correct tags for the selection. So we'll manually
  2342. compute the correct tag here.
  2343. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  2344. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  2345. and Continuous styles. Fixes #79469.
  2346. 2007-03-26 Jonathan Pobst <[email protected]>
  2347. * ToolStrip.cs: Implement Tooltips.
  2348. * ToolStripItem.cs: Create internal method for determining tooltip.
  2349. 2007-03-26 Jonathan Pobst <[email protected]>
  2350. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  2351. 2007-03-26 Everaldo Canuto <[email protected]>
  2352. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  2353. it prevents a problem thak keeps icon visible after application
  2354. closes on win32.
  2355. 2007-03-26 Everaldo Canuto <[email protected]>
  2356. * NotifyIcon.cs: Balloon properties and methods created.
  2357. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  2358. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  2359. 2007-03-25 Jonathan Pobst <[email protected]>
  2360. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  2361. 2007-03-24 Jonathan Pobst <[email protected]>
  2362. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  2363. parameter indicates which aspects were explicit/user-set.
  2364. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  2365. 2007-03-24 Jonathan Pobst <[email protected]>
  2366. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  2367. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  2368. SmallChange, and Value (2.0).
  2369. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  2370. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  2371. * ListView.cs: Always set item_control.Width in LayoutDetails
  2372. if View is Details. Setting it later in CalculateScrollBars
  2373. in a not-so-corner scenario (the sum of columns width is
  2374. not bigger than the ListView width when handle is created, and then
  2375. that sum gets bigger by increasing the width of the columns)
  2376. causes a very weird recursion path (which shouldn't be happening,
  2377. since header_control sets it in CalculateScrollBars too). This bug
  2378. appeared after Chris' fixes for handle created issues, so probably
  2379. it's related to some handle-creation time.
  2380. 2007-03-23 Chris Toshok <[email protected]>
  2381. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  2382. case where there's an add row, just so we don't end up in a case
  2383. where it's not displayed (this happens when the row is partially
  2384. obscured). Fixes bug #79574.
  2385. 2007-03-23 Jackson Harper <[email protected]>
  2386. * TextControl.cs:
  2387. * TextBoxBase.cs:
  2388. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  2389. also added an enum that represents the line ending type.
  2390. 2007-03-23 Andreia Gaita <[email protected]>
  2391. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  2392. messed with in every method call, but only from DownButton,
  2393. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  2394. 2007-03-23 Chris Toshok <[email protected]>
  2395. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  2396. format objects if the format spec is "". Fixes bug #80889.
  2397. 2007-03-22 Miguel de Icaza <[email protected]>
  2398. * ToolStripPanel.cs (Join): added stubs to build PDN3
  2399. * Control.cs (AutoScrollOffset): Add.
  2400. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  2401. property, its only implemented for Win32, on X11 it defaults to
  2402. some hardcoded value.
  2403. * ToolStripItem.cs (AllowDrop): Add property
  2404. 2007-03-22 Mike Kestner <[email protected]>
  2405. * ListView.cs : in FullRowSelect Details mode, only enable box
  2406. selection if the user clicks over the "item" column outside of the
  2407. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  2408. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  2409. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  2410. handle is not created yet.
  2411. * Form.cs: Select: Don't call CreateHandle if the handle is already
  2412. created, avoids a stack overflow on Windows when we are recreating
  2413. controls.
  2414. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  2415. they are made visible, and override AfterTopMostControl to keep
  2416. them on top when other controls are brought to front.
  2417. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  2418. or force_*scroll_visible is true (old implementation always shows
  2419. scrollbars when needed, no matter what auto_scroll was set to).
  2420. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  2421. IsHandleCreated check.
  2422. 2007-03-22 Andreia Gaita <[email protected]>
  2423. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  2424. row or col separator.
  2425. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  2426. 2007-03-22 Everaldo Canuto <[email protected]>
  2427. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  2428. 2007-03-22 Everaldo Canuto <[email protected]>
  2429. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  2430. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  2431. every time. Fixes #80410.
  2432. 2007-03-22 Chris Toshok <[email protected]>
  2433. * BindingSource.cs (AddNew): partially implement.
  2434. remove a couple of NotImplementedException's
  2435. to get bug #81148 closed.
  2436. 2007-03-22 Everaldo Canuto <[email protected]>
  2437. [Fixes #80380]
  2438. * Control.cs:
  2439. - UpdateCursor method added to update the screen cursor.
  2440. - GetAvailableCursor method added to return cursor for enabled tree,
  2441. it searches for cursor on control and it's parent's for enabled control.
  2442. - Call UpdateCursor method on setter of Cursor property.
  2443. - On setter of Enabled call UpdateCursor when it is false, we need to
  2444. change cursor to normal (or to this parent cursor) because cursor
  2445. setting theres no effect to disabled controls.
  2446. - Some minor source changes to follow the coding style guidelines.
  2447. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  2448. controls.
  2449. 2007-03-22 Chris Toshok <[email protected]>
  2450. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  2451. generates.
  2452. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  2453. * XplatUIX11.cs: Implement default locations for forms.
  2454. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  2455. * Hwnd.cs: Add previous_child_startup_location (to track the current
  2456. startup location for any child forms of the current form) and
  2457. previous_main_startup_location (to track the startup location for
  2458. the current toplevel form).
  2459. 2007-03-21 Jonathan Pobst <[email protected]>
  2460. * Control.cs: Don't trigger a layout if an implicit control is added
  2461. that isn't visible. Also, don't notify the owner when an implicit control
  2462. is added. (Owners shouldn't even know about their implicit controls.)
  2463. 2007-03-21 Jonathan Pobst <[email protected]>
  2464. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  2465. to save some re-layouts.
  2466. 2007-03-21 Everaldo Canuto <[email protected]>
  2467. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  2468. [Fixes #81203]
  2469. 2007-03-21 Jonathan Pobst <[email protected]>
  2470. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  2471. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  2472. 2007-03-21 Mike Kestner <[email protected]>
  2473. * ListView.cs : disable selection update for non-left button clicks
  2474. with mods and over selected items. [Fixes #80524]
  2475. 2007-03-20 Jackson Harper <[email protected]>
  2476. * TextControl.cs:
  2477. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  2478. \r\r\n, \n.
  2479. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  2480. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  2481. very probably a more complicated calculation there. Update the
  2482. textbox' ForeColor and BackColor when the ComboBox' colors are
  2483. changed. Change the border change in LayoutComboBox to only affect
  2484. the textbox, not all the calculations there. Seems to fix most of
  2485. #79436.
  2486. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  2487. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  2488. modifiers + navigation keys as input keys, enables advanced text
  2489. selection in the combobox (like Shift+Left Arrow for instance).
  2490. ComboTextBox now overrides Focused and returns whatever
  2491. ComboBox.Focused returns, since it really should be focused
  2492. whenever the ComboBox is. Fixes #80795. Also make the border around
  2493. the text box one pixel bigger, as mentioned in #79436.
  2494. 2007-03-20 Jackson Harper <[email protected]>
  2495. * TreeView.cs: Don't offset the images, this was causing some
  2496. artifacts when expanding/collapsing with images that were the
  2497. exact height of the treenode.
  2498. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  2499. * TrackBar.cs: Query the theme for the correct value when the mouse
  2500. moves and the thumb is pressed.
  2501. * Theme.cs: Added TrackBarValueFromMousePosition
  2502. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  2503. implementation was updating the trackbar value when drawing, now
  2504. the drawing methods only draw. Fixes #80900. Refactored the
  2505. calculations out to TrackBarValueFromMousePosition and
  2506. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  2507. according to the mouse position whenever it wants to. Changed the
  2508. light coloured pen when drawing the thumb from ControlLight to
  2509. ControlLightLight, because the ControlLight is the same colour as
  2510. the background so the 3D effect is lost.
  2511. 2007-03-20 Everaldo Canuto <[email protected]>
  2512. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  2513. defined. Fixes #80784.
  2514. 2007-03-20 Marek Habersack <[email protected]>
  2515. * ContextMenuStrip.cs: align with the change introduced in
  2516. revision 74664.
  2517. 2007-03-20 Everaldo Canuto <[email protected]>
  2518. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  2519. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  2520. in SetTopmost.
  2521. 2007-03-19 Chris Toshok <[email protected]>
  2522. * Control.cs (WmPaint): don't make use of the Handle property
  2523. after an event is emitted, as the user could have closed the
  2524. form/destroyed the control. Store the Handle in a local variable
  2525. and make use of that. Fixes bug #80768.
  2526. 2007-03-20 Everaldo Canuto <[email protected]>
  2527. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  2528. behavior in X11 environments.
  2529. 2007-03-20 Everaldo Canuto <[email protected]>
  2530. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  2531. because on setter of topmost we dont call SetTopmost when handle is not
  2532. created.
  2533. 2007-03-20 Jackson Harper <[email protected]>
  2534. * TextControl.cs: Need to use SelectionLength () not
  2535. selection_length, since that var is reset to -1.
  2536. - Draw the caret when we don't have focus.
  2537. * TextBox.cs: The selectall actually doesn't occur until the first
  2538. focus.
  2539. * TextBoxBase.cs: Need to update the caret position after a
  2540. selectall.
  2541. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  2542. * ListView.cs: Enable scrolling when using Tile view.
  2543. 2007-03-20 Everaldo Canuto <[email protected]>
  2544. [Fixes #80902]
  2545. * XplatUIDriver.cs: Abstract SetOwner method created.
  2546. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  2547. must be implemented and was masked as todo.
  2548. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  2549. GWL_HWNDPARENT.
  2550. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  2551. cheking for null owner to remove transient. The SetTopmost will be change
  2552. on a decond step.
  2553. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  2554. SetTopmost. Now owned forms will work properly in win32 and X11.
  2555. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  2556. * MdiWindowManager.cs: Update function name.
  2557. * Form.cs: After closing a form MdiParent is always null.
  2558. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  2559. better what it should do: necessary book-keeping when the form is
  2560. closed, it should not close the form itself.
  2561. 2007-03-19 Andreia Gaita <[email protected]>
  2562. * ListViewItem.cs: Fix back and fore color. The subitems only
  2563. use their own colors if they are set, otherwise use the listview's
  2564. colors. Don't set default colors on constructor for subitem.
  2565. Fixes #79315.
  2566. 2007-03-19 Mike Kestner <[email protected]>
  2567. * ListView.cs : make box selection for Details views with
  2568. FullRowSelect conform to MS behavior when clicking in the "item"
  2569. column and clicking outside the defined columns.
  2570. [Fixes case 5-6 of #80374]
  2571. 2007-03-19 Chris Toshok <[email protected]>
  2572. * ScrollableControl.cs: create the controls from within the ctor,
  2573. but don't actually add them until our handle is created. this
  2574. fixes a NRE possibility jpobst found (if you override OnLayout in
  2575. a subclass, it's called before your ctor). Also, add a
  2576. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  2577. 2007-03-19 Jackson Harper <[email protected]>
  2578. * TextBox.cs: Reduce the amount of invalidation we do.
  2579. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  2580. some of them are true by default on MS.
  2581. - Add some functions to reduce the amount of invalidates we do.
  2582. * TextControl.cs: Less invalidation.
  2583. 2007-03-19 Chris Toshok <[email protected]>
  2584. [ Fixes #81773, and *seems* to fix #81553 as well ]
  2585. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  2586. AccumulateDestroyedHandles. We need to do it *after* we send
  2587. WM_DESTROY, as the user's code can access Control.Handle in
  2588. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  2589. move the WM_DESTROY/zombie handling to before the call to
  2590. XDestroyWindow. For some reason without this ordering
  2591. FormTest.RecreateHandle hangs. This ordering is semantically
  2592. equivalent, however, as XDestroyWindow is async anyway.
  2593. 2007-03-19 Gert Driesen <[email protected]>
  2594. * RichTextBox.cs: Reset backcolor_set after setting default.
  2595. 2007-03-19 Chris Toshok <[email protected]>
  2596. * ScrollableControl.cs: the scroll position should not effect the
  2597. canvas size. commit patch from [email protected], which
  2598. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  2599. 2007-03-19 Chris Toshok <[email protected]>
  2600. * ScrollableControl.cs: clean this up a bit. create the
  2601. scrollbars in the ctor and just show/hide them as needed. Also,
  2602. make hscroll_visible/vscroll_visible internal to Recalculate, and
  2603. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  2604. everywhere else. This seems to fix the scrollbars appearing
  2605. beneath the content for me (i have *no* idea why that is,
  2606. however.)
  2607. 2007-03-19 Jonathan Pobst <[email protected]>
  2608. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  2609. some redundacy for stuff in Anchor and Dock that base will take care of.
  2610. [Fixes #80762]
  2611. 2007-03-19 Mike Kestner <[email protected]>
  2612. * ListView.cs : make box selection for Details views without
  2613. FullRowSelect dependent on the text bounds, not item bounds.
  2614. * ListViewItem.cs : add an internal property to obtain the TextBounds
  2615. in Details view. [Fixes case 1-4 of #80374]
  2616. 2007-03-19 Andreia Gaita <[email protected]>
  2617. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  2618. we're < 2.0. #78448 && #80316
  2619. 2007-03-19 Jonathan Pobst <[email protected]>
  2620. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  2621. have the same style available as the previously selected one. Also,
  2622. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  2623. 2007-03-19 Jackson Harper <[email protected]>
  2624. * TextControl.cs: Add an alignment property that all new lines
  2625. will be given.
  2626. - Make sure to use the align shift when calculating the line's X
  2627. position.
  2628. * TextBox.cs: Set the alignment on the document as well as on all
  2629. the document lines.
  2630. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  2631. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  2632. throw if setting the parent of an mdichild that already has an
  2633. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  2634. AssemblyProductAttribute in the assembly, use the type's namespace (as
  2635. MS seems to do). CreateControl: don't create the handle if the control
  2636. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  2637. create handle if the control is not a form. Change FocusInternal to
  2638. virtual so that it can be overriden by Form.
  2639. * TextBox.cs: Update call to FocusInternal.
  2640. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  2641. form is not a toplevel form when it's a mdi child, so update is_toplevel
  2642. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  2643. hasn't been created. Show (IWin32Window): Don't allow this overload for
  2644. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  2645. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  2646. parent isn't visible yet, save the visibility and restore it when the
  2647. parent is made visible.
  2648. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  2649. methods, since the visibility of the scrollbars can be changed from
  2650. several places, not only from AutoScroll.
  2651. [Fixes #81179]
  2652. 2007-03-19 Jackson Harper <[email protected]>
  2653. * RichTextBox.cs: Enable shortcuts by default.
  2654. * TextBoxBase.cs: Add conditional shortcuts.
  2655. 2007-03-19 Everaldo Canuto <[email protected]>
  2656. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  2657. 2007-03-19 Chris Toshok <[email protected]>
  2658. [ Fixes bug #80604]
  2659. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  2660. swallow the message we're waiting on, instead of delivering it, as
  2661. this is only used for the WM_SHOWWINDOW raised from
  2662. MapWindow/UnmapWindow, and the message needs to be generated
  2663. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  2664. before doing the Map/Unmap. Also make sure that the Hwnd is still
  2665. alive after the message has been handled.
  2666. *before* the window is shown.
  2667. * Control.cs (CreateControl): guard a few more things inside the
  2668. if (!is_created) block, as we might end up being called again -
  2669. yay .net.
  2670. (WmShowWindow): call CreateControl if we're showing the control.
  2671. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  2672. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  2673. controls without a handle if they have any parent with a handle. In
  2674. Dispose add a check whether the handle is created or not before
  2675. calling BeginInvoke, this removes the need of the extra disposing
  2676. parameter (which was bogus anyway since it didn't prevent the
  2677. invoke from happening, it only skipped the check for an existing
  2678. handle, meaning that the invoke would call on an inexistent
  2679. handle).
  2680. 2007-03-19 Everaldo Canuto <[email protected]>
  2681. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  2682. appears in taskbar.
  2683. 2007-03-18 Everaldo Canuto <[email protected]>
  2684. * MessageBox.cs:
  2685. - Fixed a problem that dont show help button for messages with 3 buttons.
  2686. - Refactory button size and position calculations, now dont use fixed
  2687. values, also fixed button sizes (#80043) and form's border space.
  2688. - AddButton method created, now all other AddButton methods call this one.
  2689. - Some other source code cosmetic changes.
  2690. 2007-03-18 Jackson Harper <[email protected]>
  2691. * RichTextBox.cs: Don't do this all fonts must match check if
  2692. there is only one char selected.
  2693. 2007-03-18 Jackson Harper <[email protected]>
  2694. * TreeView.cs: ScrollWindow works properly now, so we don't need
  2695. to screw around with the scroll area. This fixes some artifacts
  2696. when expanding and collapsing.
  2697. 2007-03-18 Jackson Harper <[email protected]>
  2698. * TextBoxBase.cs: Allow updating the selection position when the
  2699. cursor is outside the textarea, but we have a capture.
  2700. * TextControl.cs: A special case for when the cursor is outside
  2701. the bounds of the TB.
  2702. 2007-03-18 Jackson Harper <[email protected]>
  2703. * TextBoxBase.cs: Remove image pasting code for now. There is no
  2704. way to get an image on the clipboard right now anyways.
  2705. * TextControl.cs:
  2706. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  2707. 2007-03-18 Everaldo Canuto <[email protected]>
  2708. * MessageBox.cs:
  2709. - Set window properties in constructor intead of on CreateParams.
  2710. - Remove topmost from Window ExStyle.
  2711. - Set ShowInTaskbar to false.
  2712. - Set form border to FixedDialog.
  2713. - Some cosmetic changes and remove unneeded comments.
  2714. - It fixes itens 2,3 and 4 of bug #80043.
  2715. 2007-03-18 Gert Driesen <[email protected]>
  2716. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  2717. none was explicitly set. Fixes part of bug #79949.
  2718. 2007-03-16 George Giolfan <[email protected]>
  2719. * ToolStripComboBox.cs: Add AutoComplete*.
  2720. 2007-03-16 George Giolfan <[email protected]>
  2721. * ToolStripComboBox.cs: Add FlatStyle.
  2722. 2007-03-16 Jonathan Pobst <[email protected]>
  2723. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  2724. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  2725. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  2726. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  2727. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  2728. DataGridColumnStyle.cs: Remove warnings.
  2729. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  2730. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  2731. it.
  2732. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  2733. visibility of mdi child forms. FormSizeChangedHandler: update the
  2734. maximized size if size has changed while maximized.
  2735. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  2736. creating the handle.
  2737. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  2738. avoid creating the handle if not created.
  2739. * XplatUI.cs: Update debug output.
  2740. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  2741. 2007-03-16 Jonathan Pobst <[email protected]>
  2742. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  2743. ProcessCmdKey().
  2744. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  2745. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  2746. Implement keyboard shortcuts.
  2747. 2007-03-15 Everaldo Canuto <[email protected]>
  2748. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  2749. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  2750. ColorDialog and all derived classes.
  2751. 2007-03-15 Everaldo Canuto <[email protected]>
  2752. [ Fixes bug #79828 ]
  2753. * ToolBar.cs:
  2754. - Rename ToolBarButtonInfor to ToolBarItem.
  2755. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  2756. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  2757. collection to be able add same button more than one time on a toolbar.
  2758. - Refactory all properties and methods to use ToolBarItem.
  2759. * ToolBarButton.cs:
  2760. - Remove all propeties and methods that is now in ToolBarItem.
  2761. - Rectangle propery now gets the rectangle from first ToolBarItem to
  2762. mimic win32 behavior.
  2763. - Size calculation and layout methods also removed.
  2764. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  2765. ToolBarItem instead of ToolBarButton to right drawing buttons when
  2766. same button/separator was added more than one time to ToolBar.
  2767. * ThemeNice.cs: Same as above.
  2768. 2007-03-15 Andreia Gaita <[email protected]>
  2769. * XplatUIX11.cs: Fire extra MouseMove events right after
  2770. MouseDown and MouseUp, emulating win32's <censored> behaviour
  2771. for apps that rely on it.
  2772. 2007-03-15 Jackson Harper <[email protected]>
  2773. * TextControl.cs:
  2774. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  2775. it is drawn on the controls client window and there is no NC
  2776. area.
  2777. - Set the background color to gray on 2.0 when we are readonly.
  2778. 2007-03-15 Chris Toshok <[email protected]>
  2779. [ Fixes bug #81144 ]
  2780. * XplatUIX11.cs: implement VirtualScreen independently of
  2781. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  2782. property.
  2783. 2007-03-15 Chris Toshok <[email protected]>
  2784. * Hwnd.cs: add an internal field for the cached_window_state.
  2785. * XplatUIX11.cs: cache the window state, invalidating the cache
  2786. (and thus re-querying the X server) only when we see an update to
  2787. the _NET_WM_STATE property.
  2788. 2007-03-15 Chris Toshok <[email protected]>
  2789. * BindingSource.cs: get a lot of the unit tests working.
  2790. 2007-03-15 Jonathan Pobst <[email protected]>
  2791. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  2792. 0 instead of just bounds > 0. [Fixes bug #80912]
  2793. 2007-03-15 Jonathan Pobst <[email protected]>
  2794. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  2795. and methods.
  2796. 2007-03-15 Ivan N. Zlatev <[email protected]>
  2797. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  2798. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  2799. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  2800. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  2801. 2007-03-15 Chris Toshok <[email protected]>
  2802. [ Fixes #81101 ]
  2803. * Control.cs: add Ivan's fix for 81101, with a slight modification
  2804. - you can set control.Target to null.
  2805. 2007-03-14 Jonathan Pobst <[email protected]>
  2806. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  2807. HideDropDown, use Hide instead to prevent an NRE.
  2808. [Fixes bug #81147]
  2809. 2007-03-14 Jackson Harper <[email protected]>
  2810. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  2811. to calculate the document before the handle is created, in some
  2812. cases. (Actually just one case).
  2813. 2007-03-14 Jackson Harper <[email protected]>
  2814. * TextBoxBase.cs: Need to display the caret after letting the base
  2815. wndproc handle the focus methods, because the caret display
  2816. methods check the focus state.
  2817. - Try to display the caret after updating it's position with SelectWord.
  2818. - Don't need to do an immediate update on this recalc, since there
  2819. will be an invalidate anyways.
  2820. 2007-03-14 Jackson Harper <[email protected]>
  2821. * TreeView.cs: Some workarounds so that we can match event order a
  2822. little better.
  2823. 2007-03-14 Gert Driesen <[email protected]>
  2824. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  2825. #80803. Avoid NullReferenceException when Control does not have
  2826. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  2827. event a single time. Only draw error icon when control is created and
  2828. visible. Fixes failing unit tests.
  2829. 2007-03-14 Andreia Gaita <[email protected]>
  2830. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  2831. Selecting events. Fire Leave and Enter events when changing tabs.
  2832. 2007-03-14 George Giolfan <[email protected]>
  2833. * TreeView.cs: Add TreeViewNodeSorter.
  2834. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  2835. 2007-03-14 Chris Toshok <[email protected]>
  2836. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  2837. removed earlier and I had him add back it. It turns out metacity
  2838. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  2839. just doesn't redraw the window titlebar until you resize the
  2840. window. This also means we aren't recreating the entire window
  2841. hierarchy on X when you change this property. And it looks better
  2842. on windows, too.
  2843. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  2844. * ListViewItem.cs:
  2845. * ListView.cs: Collecting selection information
  2846. is now done in SelectedIndexCollection rather than in
  2847. SelectedListViewItemCollection. This is done so we can
  2848. have the selection information code in one single place
  2849. (virtual mode selection information entirely depends on
  2850. SelectedIndexCollection).
  2851. 2007-03-13 Miguel de Icaza <[email protected]>
  2852. * ErrorProvider.cs: Add stubs for ISupportInitialize
  2853. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  2854. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  2855. in the right order with the right values, from the Checked property,
  2856. just as MS does (instead of triggering them from ListView).
  2857. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  2858. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  2859. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  2860. the correct handler in OnItemCheck method (ItemCheckEventHandler
  2861. instead of EventHandler). This used to throw an InvalidCastException.
  2862. 2007-03-13 Jackson Harper <[email protected]>
  2863. * TextBoxBase.cs: Calculate the document before the handle is
  2864. created, so there isn't an extra invalidate called.
  2865. 2007-03-13 Jonathan Pobst <[email protected]>
  2866. * Form.cs: Don't set owner in ShowDialog until we are sure
  2867. that we aren't going to throw an exception. [Fixes bug #80773]
  2868. 2007-03-12 George Giolfan <[email protected]>
  2869. * TreeView.cs: Make it compile.
  2870. 2007-03-12 Jonathan Pobst <[email protected]>
  2871. * Control.cs: Another place we don't call SizeFromClientSize.
  2872. * Form.cs: Another place we don't call SizeFromClientSize.
  2873. [Fixes bug #81125]
  2874. 2007-03-12 Jackson Harper <[email protected]>
  2875. * TreeView.cs: Basically emulating some strangness here with
  2876. exanding nodes and setting node positions when windows aren't
  2877. created.
  2878. - Also attempting to walk the node tree less than previously, and
  2879. just use visible order calculations for determining offsets.
  2880. - oops made scrolling backwards.
  2881. * TreeNode.cs: We need to start nodes with a zero visible order,
  2882. because the order calcs are based on the first nodes order.
  2883. 2007-03-12 Jonathan Pobst <[email protected]>
  2884. * Form.cs: Don't exit the program if RecreateHandle is called on
  2885. the main form.
  2886. 2007-03-12 Chris Toshok <[email protected]>
  2887. * XEventQueue.cs: remove the use of PostQuitState.
  2888. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  2889. WM_QUIT message in GetMessage, return false (and if we're in the
  2890. nested WaitForHwndMessage, repost the WM_QUIT message).
  2891. 2007-03-12 Jonathan Pobst <[email protected]>
  2892. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  2893. or the MaximizeBox properties. [Part of bug #80640]
  2894. 2007-03-12 Everaldo Canuto <[email protected]>
  2895. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  2896. no links.
  2897. 2007-03-12 Jonathan Pobst <[email protected]>
  2898. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  2899. instead of visible.
  2900. 2007-03-12 Gert Driesen <[email protected]>
  2901. * FileDialog.cs: Use text of File name combobox to determine what
  2902. files the user selected. Added tokenizer to parse the file names.
  2903. Fixes bug #81123.
  2904. 2007-03-12 Jonathan Pobst <[email protected]>
  2905. * Control.cs: We can't call SizeFromClientSize in the constructor,
  2906. but we still need to do the same work, so make an internal version.
  2907. [Fixes bug #80621]
  2908. 2007-03-12 Jackson Harper <[email protected]>
  2909. * TreeView.cs:
  2910. * TreeNode.cs:
  2911. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  2912. IsExpanded.
  2913. 2007-03-12 Jackson Harper <[email protected]>
  2914. * TextBoxBase.cs: Now that the handles are being created a little
  2915. later, we need to make sure that the document is recalculated when
  2916. the handle is created.
  2917. 2007-03-11 Everaldo Canuto <[email protected]>
  2918. * Theme.cs: GetLinkFont abstract method added.
  2919. * LinkLabel.cs:
  2920. - Remove CalcTrimRectangle, no longer needed.
  2921. - Factor also remove, position issues must be fixed in libgdiplus.
  2922. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  2923. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  2924. care about font used to draw links.
  2925. - Set TabStop to true when control is "Selectable", control is selectable
  2926. when have one or more links. Fixes #80501 (test case is also added).
  2927. - Set the LinkArea values after links change, LinkArea values must be
  2928. based in first link position and size, a test case was created.
  2929. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  2930. the attribute must be true LinkArea.Length > 0. The same was applied to
  2931. TabStop.
  2932. * ThemeWin32Classic.cs:
  2933. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  2934. in draw method.
  2935. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  2936. color change.
  2937. - Draw focus rectangle for every parts focused, including parts that
  2938. is on another line, its because regions returns various rectangles
  2939. and not only one. Needed to mimic W32 look.
  2940. - Uses Graphics.Clip to delimite region painted, it mean that now
  2941. complete text is passed to DrawString, with this we solve layout
  2942. issues without create another text renderer.
  2943. - Uses Region.Intersect to fix some flickers problems, now only needed
  2944. parts will redrawed.
  2945. - This changes fixes #79614 and some other unreported issues, on Linux
  2946. some layout problems still remain, the problem is under
  2947. MeasureCharacterRanges but it is an libgdiplus bug.
  2948. 2007-03-10 Gert Driesen <[email protected]>
  2949. * TextBox.cs: Set for foreground color.
  2950. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  2951. this is already done in Control.
  2952. 2007-03-10 Jackson Harper <[email protected]>
  2953. * TextBox.cs: Set the background color, but reset the
  2954. backcolor_set flag which is just for the user setting the
  2955. background color.
  2956. 2007-03-09 Chris Toshok <[email protected]>
  2957. * Control.cs: really remove the call to XplatUI.SetVisible from
  2958. CreateHandle(), like I said I did when I merged the branch.
  2959. * BindingSource.cs: implement some more of this stuff.
  2960. 2007-03-09 Jackson Harper <[email protected]>
  2961. * TextBox.cs: Don't explicitly set our background colors.
  2962. * TextControl.cs:
  2963. * TextBoxBase.cs: Draw readonly text.
  2964. - Need to invalidate when backcolor or readonly are changed.
  2965. 2007-03-09 Jackson Harper <[email protected]>
  2966. * TextBoxBase.cs: Don't set the forecolor until the handle is
  2967. created.
  2968. - Do not raise OnPaint, and removed some old debug code.
  2969. 2007-03-09 George Giolfan <[email protected]>
  2970. * ScrollableControl.cs: Fix mouse wheel scrolling.
  2971. 2007-03-09 Jonathan Pobst <[email protected]>
  2972. * Control.cs: Wire up MouseDoubleClick event.
  2973. 2007-03-09 Jonathan Pobst <[email protected]>
  2974. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  2975. top or bottom.
  2976. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  2977. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  2978. item is added. This logic was moved to ToolStrip.OnItemAdded.
  2979. [Fixes bug #81090]
  2980. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  2981. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  2982. 2007-03-08 Jackson Harper <[email protected]>
  2983. * TreeView.cs: Show the correct image for selected node (this used
  2984. to work, not sure how the code got deleted). Also implemented 2.0 feature
  2985. SelectedImageKey.
  2986. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  2987. * ListView.cs:
  2988. * ListViewItem.cs: Cache index in items when retrieving them
  2989. in VirtualMode.
  2990. 2007-03-08 Jonathan Pobst <[email protected]>
  2991. * ToolStripItem.cs: Don't return the explicit_size if we are using
  2992. AutoSize. Fixes invalidation issue when user has explicitly set a
  2993. size and has AutoSize = true.
  2994. 2007-03-08 Jonathan Pobst <[email protected]>
  2995. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  2996. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2997. * DataGridView.cs: Remove event handler from DataView when a
  2998. DataTable is used as DataSource.
  2999. 2007-03-08 Jonathan Pobst <[email protected]>
  3000. * Control.cs: Create internal setter for client_size to allow it to be
  3001. set without triggering resizing code.
  3002. * Form.cs: Calculate client_size in constructor, only change client_size
  3003. in FormBorderStyle property if Handle has been created.
  3004. [Fixes #80574, #80791]
  3005. 2007-03-08 George Giolfan <[email protected]>
  3006. * SystemInformation.cs: Add TerminalServerSession.
  3007. 2007-03-07 Jonathan Pobst <[email protected]>
  3008. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  3009. TreeView code.
  3010. 2007-03-07 Jonathan Pobst <[email protected]>
  3011. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  3012. Handle before we were supposed to. Now checks ActivateOnShow property
  3013. in Control.
  3014. * Control.cs: Add internal ActivateOnShow property.
  3015. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  3016. for ActivateOnShow.
  3017. * Hwnd.cs Remove no longer needed no_activate field.
  3018. 2007-03-07 Jackson Harper <[email protected]>
  3019. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  3020. 2.0 properties
  3021. * DrawTreeNodeEventHandler.cs: Add
  3022. * DrawTreeNodeEventArgs.cs: Correct default value.
  3023. 2007-03-07 Chris Toshok <[email protected]>
  3024. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  3025. to be called before NativeWindow.WndProc. Put the HwndCreating
  3026. magic there to hook up our Hwnd's to handles.
  3027. 2007-03-07 Gert Driesen <[email protected]>
  3028. * DataGridView.cs: Comment out debug code.
  3029. 2007-03-07 Chris Toshok <[email protected]>
  3030. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  3031. to make the rest of the world happy]
  3032. * Control.cs (CreateHandle): there's no need to call
  3033. XplatUI.SetVisible here, it's effectively done by
  3034. XplatUI.CreateWindow on X now, and always was on windows.
  3035. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  3036. shortcircuit out of the loop if we have a message loop running on
  3037. this thread.
  3038. [Changelog from merge]
  3039. 2007-03-05 Chris Toshok <[email protected]>
  3040. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  3041. causes handle creation.
  3042. 2007-02-28 Chris Toshok <[email protected]>
  3043. * ApplicationContext.cs: Add a flag to make sure we only raise the
  3044. ThreadExit event once (ExitThreadCore can be indirectly called
  3045. from a few places.) I don't like the additional flag, but it
  3046. makes the event ordering/count correct.
  3047. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  3048. without locking the collection. An enumerator doesn't give us any
  3049. protection from modification anyway. Lock the thread hash and
  3050. replace the complicated enumerator loop with a foreach.
  3051. (Application.CloseForms): make internal so it can be called from
  3052. ApplicationContext. This should probably be moved to MWFThread.
  3053. (Application.ExitThread): don't call MWFThread.Current.Exit()
  3054. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  3055. when the runloop exits (in response to WM_QUIT.)
  3056. (Application.RunLoop): add a comment (and check) for
  3057. context.MainForm being null after setting context.MainForm.Visible
  3058. = true. This is because you're perfectly free to dispose of a
  3059. form in VisibilityChanged. Chalk this up to another case where we
  3060. need to synchronously generate WM_ACTIVATE from Control.Show.
  3061. Also, add handling for WM_QUIT here so we'll exit the loop.
  3062. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  3063. fact that we don't wait if we're only unmapping the whole_window
  3064. makes me a bit nervous, but it doesn't seem to cause any problems
  3065. yet.
  3066. also, add a comment about the stupid, broken and wrong resetting
  3067. of PostQuitState to false in GetMessage().
  3068. In PostQuitMessage, we need to add a WM_QUIT message to the
  3069. thread's queue. We use the FosterParent to get the right
  3070. handle/hwnd/queue.
  3071. Lastly, in SetVisible, we need to unmap both windows, since the
  3072. waiting only happens when we're unmapping the client window. So
  3073. now, the *only* time we unmap just the whole_window is in the hack
  3074. for resizing a control to 0,0.
  3075. 2007-02-21 Chris Toshok <[email protected]>
  3076. * Application.cs (CloseForms): rewrite this so that we don't
  3077. modify the list while we're traversing it.
  3078. 2007-02-20 Chris Toshok <[email protected]>
  3079. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  3080. of OnHandleCreated.
  3081. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  3082. handle is created. otherwise we'll create it here.
  3083. (VerticalScrollEvent): same here.
  3084. * Application.cs (CloseForms): call Form.Dispose, don't post
  3085. WM_CLOSE_INTERNAL.
  3086. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  3087. here. Application should Dispose() of the Form's.
  3088. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  3089. WM_DESTROY as well.
  3090. (MapWindow,UnmapWindow): only actually do the waiting for
  3091. SHOWWINDOW if the control we're dealing with is a Form.
  3092. (CreateWindow): if the control isn't a form, SendMessage
  3093. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  3094. * Control.cs (SetVisibleCore): always use is_visible here, not
  3095. value. If we use value, we can end up re-setting something
  3096. visible if, for instance, you do Control.Hide() in a delegate
  3097. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  3098. 2007-02-20 Chris Toshok <[email protected]>
  3099. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  3100. the message we need. PeekMessage returning false should not be a
  3101. condition under which we exit the loop.
  3102. 2007-02-15 Chris Toshok <[email protected]>
  3103. * Control.cs (Refresh): only refresh if we've got a handle and are
  3104. visible.
  3105. (CreateAccessibilityInstance): CreateControl() here.
  3106. (UpdateChildrenZOrder): complicate the code loop even more by
  3107. taking into account controls that haven't had their handle
  3108. created, and those that aren't visible. But on the flip side,
  3109. simplify the code by splitting it into two loops. one which
  3110. builds up the list of child controls we're interested in, and the
  3111. other that sets the z order of those children.
  3112. 2007-02-14 Chris Toshok <[email protected]>
  3113. * Control.cs: Control.AccessibilityObject causes the control to be
  3114. created, not just the handle.
  3115. 2007-02-14 Chris Toshok <[email protected]>
  3116. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  3117. problem on X where a window might have its handle created (and be
  3118. visible) while the window is unmapped. calling XConfigureWindow
  3119. on an unmapped window is bad, and generates X errors.
  3120. 2007-02-13 Chris Toshok <[email protected]>
  3121. * Control.cs (CreateHandle): don't loop over our children setting
  3122. their parent here. do it when in WndProc when we're shown.
  3123. (UpdateChildrenZOrder): make this internal so we can call it from
  3124. ScrollableControl.
  3125. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  3126. creating its handle. Also, remove the calls to PerformLayout from
  3127. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  3128. OnVisibleChanged only seems to be called directly here for the
  3129. toplevel control. It's propagated down the window hierarchy by
  3130. calls to child.OnParentVisibleChanged.
  3131. (OnVisibleChanged): don't do layout here - it's done (oddly
  3132. enough, according to a glance at stack traces on ms.net..) in
  3133. ScrollableControl.
  3134. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  3135. z order of our children before calling PerformLayout.
  3136. 2007-02-12 Chris Toshok <[email protected]>
  3137. [big change, fixes #80020]
  3138. * AccessibleObject.cs: we need to make owner internal again to fix
  3139. some of ControlAccessibleObject.
  3140. * Control.cs: lots of changes here. add support for WM_CREATE,
  3141. for which we generate OnHandleCreated. Remove the OnHandleCreated
  3142. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  3143. we create child controls. leave the MonoTODO's for the
  3144. accessibility calls, but fix the exceptions so the tests pass.
  3145. Add the InvalidOperationExceptions to Invoke methods, and remove a
  3146. couple of InvokeInternal methods we aren't using.
  3147. Also, add a couple of CreateHandle calls in places where we know
  3148. the handles are being created but our code doesn't reference
  3149. .Handle.
  3150. Make SetVisibleCore call OnVisibleChange if the handle isn't
  3151. created. If the handle is created, we rely on XplatUI.SetVisible
  3152. generating the event synchronously.
  3153. Lastly, make sure we don't use this.Handle inside CreateHandle,
  3154. because we can call back into client (and that code can dispose of
  3155. the control).
  3156. * XplatUIStructs.cs: misc/cleanup.
  3157. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  3158. although we don't populate the wParam properly.
  3159. (CreateWindow): generate WM_CREATE.
  3160. (MapWindow,UnmapWindow): make these calls synchronous, at great
  3161. performance expense (particularly in the unmap case), to match
  3162. win32 behavior.
  3163. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  3164. to call it.
  3165. (set_MdiParent): don't recreate the handle unless it's been
  3166. created already.
  3167. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  3168. it's created.
  3169. * NativeWindow.cs: this is probably the weirdest part of the
  3170. patch. We need a way to link up the window being created to the
  3171. WM_CREATE message. Since we can only be creating one window at a
  3172. time on a given thread, we keep track of a per-thread reference so
  3173. we can dispatch it properly. We also need to keep track of the
  3174. Hwnd currently being created so that the win32 backend doesn't
  3175. have problems.
  3176. * XplatUIWin32.cs: a similar change to the one we made in
  3177. NativeWindow.cs.
  3178. 2007-03-07 Jonathan Pobst <[email protected]>
  3179. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  3180. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  3181. to draw the menu shortcut string.
  3182. 2007-03-07 Jackson Harper <[email protected]>
  3183. * TreeNode.cs: Add the 2.0 collapse method.
  3184. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  3185. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  3186. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  3187. * DataGridView.cs: Change DataSource will clear column and row
  3188. lists. Call Invalidate() to reflect DataSource change.
  3189. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  3190. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  3191. and a new row is added to it.
  3192. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  3193. * DataGridView.cs: Add columns when DataSource is en empty list but
  3194. is a System.Data.DataView (from a System.Data.DataTable).
  3195. 2007-03-06 Andreia Gaita <[email protected]>
  3196. * Label.cs: Implement AutoEllipsis (2.0)
  3197. 2007-03-06 Jackson Harper <[email protected]>
  3198. * TreeView.cs: Implement 2.0 TopNode setter property.
  3199. - Use a local var instead of the skipped_nodes field for computing
  3200. how many nodes to skip. Otherwise we won't scroll because the
  3201. valuechanged handler checks if skipped_nodes is equal to the new
  3202. value.
  3203. - Implement 2.0 Sort method.
  3204. - Add useless 2.0 DoubleBuffer property
  3205. - Implement 2.0 LineColors property. Lets you change the color of
  3206. the lines in the tree. Terribly useful for creating non cohesive
  3207. desktops.
  3208. - Implement 2.0 image key feature.
  3209. 2007-03-06 Jackson Harper <[email protected]>
  3210. * TreeView.cs: We can't get the bounds of the nodes before raising
  3211. the AfterSelect event, because that event could change the node's
  3212. bounds (scrolling, font change, etc).
  3213. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  3214. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  3215. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  3216. update window styles. In CreateParams us VisibleInternal instead of
  3217. VIsible to get the actual visible flag set for this form.
  3218. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  3219. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  3220. handle the case when the form is already maximized, in which case
  3221. it should be restored. Fixes #81043.
  3222. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  3223. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  3224. 2007-03-05 Jackson Harper <[email protected]>
  3225. * TreeViewHitTestInfo.cs: implement.
  3226. 2007-03-05 Jackson Harper <[email protected]>
  3227. * InternalWindowManager.cs: class status fix.
  3228. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  3229. * InternalWindowManager.cs: All windows that have a parent
  3230. are confined to their parent when they're being moved.
  3231. Fixes #80822.
  3232. 2007-03-04 Gert Driesen <[email protected]>
  3233. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  3234. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  3235. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  3236. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  3237. buttons invisible before deciding which ones should be visible
  3238. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  3239. an unused variable.
  3240. * InternalWindowManager.cs: Remove warning.
  3241. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  3242. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  3243. to throw an InvalidOperationException is virtual mode is being used.
  3244. 2007-03-02 Jonathan Pobst <[email protected]>
  3245. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  3246. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  3247. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  3248. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  3249. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  3250. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  3251. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  3252. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  3253. driver.KeyboardDelay from XplatUI.KeyboardDelay
  3254. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  3255. (patch by Sergey Volk)
  3256. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  3257. * ToolWindowManager.cs: Added, contains logic for
  3258. tool windows.
  3259. * CreateParams.cs: Add a few helper methods and an
  3260. internal variable to know which control the CreateParams belongs
  3261. to.
  3262. * Control.cs: Call Form.ChangingParent when the
  3263. parent is about to be changed.
  3264. * XplatUIX11.cs: DeriveStyles (): Set
  3265. caption_height for all windows that have captions and are children.
  3266. Update to use ToolWindowManager instead of InternalWindowManager
  3267. for ToolWindows.
  3268. * XplatUIWin32.cs: Set fake window styles for all
  3269. windows that have window managers.
  3270. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  3271. now duplicated for mdi windows when they are
  3272. maximized, first for the buttons the window itself has, then for
  3273. the buttons that appear in the menu bar. Makes things a little
  3274. easier). Updated UpdateWindowDecorations, SetWindowState and the
  3275. mouse eventhandlers accordingly.
  3276. * Form.cs: Add ChangingParent (), contains the
  3277. logic of what should happen when the parent changes. In MdiParent
  3278. don't set things that ChangingParent () is doing. When handling
  3279. WM_CLOSE, we can close the form if there are any other modal forms
  3280. and the current form is a descendent of the modal form.
  3281. * InternalWindowManager.cs: A lot of refactoring,
  3282. the title buttons are now extracted to a separate container class
  3283. that takes care of all button code (clicks, tooltips, etc). Moved
  3284. Iconic|Maximized|Normal Bounds properties to this class from
  3285. MdiWindowManager, so that the window state logic can succeed for
  3286. other than mdi wm's. Implemented general window state change logic.
  3287. Moved CreateButtons to ThemeWin32Classic, since the theme might
  3288. override which buttons are available when as well as the exact
  3289. location.
  3290. * FormWindowManager.cs: Added, contains logic for
  3291. normal forms.
  3292. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  3293. which buttons go where (and if they are at all visible).
  3294. Removed special handling of maximized windows, since they aren't special.
  3295. In DrawManagedWindowDecorations don't try to draw the text if it is
  3296. empty.
  3297. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  3298. use whatever the wm gives us.
  3299. 2007-03-02 Jonathan Pobst <[email protected]>
  3300. * ButtonBase.cs: Add 2.0 properties.
  3301. * Button.cs: Override Draw for 2.0.
  3302. * Control.cs: Add Entered and Selected properties.
  3303. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  3304. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  3305. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  3306. buttons.
  3307. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  3308. 2007-03-01 Jonathan Pobst <[email protected]>
  3309. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  3310. 2007-03-01 Jonathan Pobst <[email protected]>
  3311. * XplatUIWin32.cs: Register a new class with Windows each time we get
  3312. a new ClassStyle. [Fixes bugs #79432, #80817]
  3313. * Controls.cs: Set the correct ClassStyle in CreateParams.
  3314. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  3315. 2007-03-01 Gert Driesen <[email protected]>
  3316. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  3317. ColumnReordered event must not be signaled when modifying DisplayIndex
  3318. of a ColumnHeader. Added internal ReorderColumns method which takes
  3319. care of drawing, and updating the internal DisplayIndex of the
  3320. ColumnHeader. Added AddColumn method which is invoked from
  3321. ColumnHeaderCollection when adding or inserting columns, and which
  3322. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  3323. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  3324. Recalculated dispay indices after removing a ColumnHeader.
  3325. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  3326. match MS. Allows last display index to be returned after ListView
  3327. is disposed. Update actual location of ColumnHeader when DisplayIndex
  3328. is modified.
  3329. 2007-03-01 Everaldo Canuto <[email protected]>
  3330. * LinkLabel.cs: Improve CalcTrimRectangle.
  3331. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  3332. 2007-02-28 Everaldo Canuto <[email protected]>
  3333. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  3334. get rectangle as a result value.
  3335. 2007-02-28 Everaldo Canuto <[email protected]>
  3336. * LinkLabel.cs: Theres some diferences between rectangle return from
  3337. MeasureCharacterRanges and the area used for DrawString to fix this
  3338. CalcMeasurementFactor method was created, it calcules the diferences
  3339. to be use later to adjust rectangle in draw operations. Fixes #80473.
  3340. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  3341. to adjust draw rectangle.
  3342. 2007-02-27 Everaldo Canuto <[email protected]>
  3343. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  3344. text and some other changes to reduce and optimize source code.
  3345. 2007-02-27 Jonathan Pobst <[email protected]>
  3346. * RadioButton.cs: Implement 2.0 event.
  3347. * RelatedImageListAttribute.cs: Implement new class.
  3348. 2007-02-27 Everaldo Canuto <[email protected]>
  3349. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  3350. 2007-02-27 Jonathan Pobst <[email protected]>
  3351. * CheckBox.cs: Implement 2.0 functionality.
  3352. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  3353. * ListView.cs: Refactor Add and AddRange methods of
  3354. ListViewItemCollection, to not update the ListView
  3355. everytime an item is added in AddRange. Also move the update
  3356. code to a new CollectionChanged method, and call it
  3357. from other methods that need it as well (this should also fix some
  3358. bugs when Sorting is used).
  3359. 2007-02-27 Jackson Harper <[email protected]>
  3360. * TextControl.cs: Try to never let the caret stay in a non-text
  3361. tag.
  3362. * TextBoxBase.cs: Update the caret.
  3363. 2007-02-26 Jonathan Pobst <[email protected]>
  3364. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  3365. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  3366. delete POINT structure, duplicate of one in XplatUIStructs.
  3367. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  3368. 2007-02-26 Gert Driesen <[email protected]>
  3369. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  3370. edit box since otherwise the Label would immediately be set (even if
  3371. the user did not modify the label). In OnKeyDown set Handled to true
  3372. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  3373. columns that are to be removed. In ListViewItemCollection unlink items
  3374. that are to be removed.
  3375. 2007-02-24 Jonathan Pobst <[email protected]>
  3376. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  3377. it when we are done. [Fixes bug #80949]
  3378. 2007-02-23 Jonathan Pobst <[email protected]>
  3379. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  3380. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  3381. * ListView.cs: I forgot to commit the changes for ListView
  3382. in my previous patch.
  3383. 2007-02-23 Jonathan Pobst <[email protected]>
  3384. * Clipboard.cs: Partially implement an overload of SetDataObject.
  3385. * Form.cs: Implement ShowWithoutActivation.
  3386. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  3387. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  3388. This is a first set of changes to make the Virtual mode works,
  3389. by avoiding the retrieval of ListViewItem instances until
  3390. draw time.
  3391. * ListView.cs: Store item position in the ListView instead of the
  3392. ListViewItem, this way we don't request the Bounds property of
  3393. ListViewItem inside the ListView calculations, as well as cache the item
  3394. size in item_size field. Store indexes instead of ListViewItem
  3395. instances in the matrix used by icon view. Add a ItemMatrixLocation
  3396. struct to hold the row and col info of the matrix info.
  3397. * ListViewItem.cs: Don't store the location anymore, and only cache
  3398. the rectangles for GetBounds. Use the ListView.GetItemLocation
  3399. method to retrieve the actual location.
  3400. 2007-02-23 Jonathan Pobst <[email protected]>
  3401. * TextRenderer.cs: Add clipping support, thanks to George.
  3402. [Fixes bug #80949]
  3403. 2007-02-23 Gert Driesen <[email protected]>
  3404. * ListViewItem.cs: Cancel label edit when item is removed from
  3405. ListView.
  3406. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  3407. event before the edit textbox is displayed. Added CancelEdit method
  3408. which is used end to editing while ignoring the value set by the
  3409. user. In EndEdit, set focus to ListView to avoid losing focus to
  3410. other controls. In ListViewItemCollection.Clear, cancel editing of
  3411. any of the items. In Remove, cancel editing of item being removed.
  3412. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  3413. 2007-02-23 Gert Driesen <[email protected]>
  3414. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  3415. bug #80948.
  3416. 2007-02-23 Everaldo Canuto <[email protected]>
  3417. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  3418. compatible with non X11 systems. Fixes #80901.
  3419. 2007-02-23 Gert Driesen <[email protected]>
  3420. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  3421. whether the item should be unselected and reselect. We do no want this
  3422. when we're starting to edit the label. Do not fire the
  3423. SelectedIndexChanged event from ListView when its already been fired
  3424. by modifying ListViewItem.Selected. Fixes bug #80943.
  3425. 2007-02-23 Jonathan Pobst <[email protected]>
  3426. * TextRenderer.cs: Previos commit logic was backwards.
  3427. 2007-02-23 Jonathan Pobst <[email protected]>
  3428. * TextRenderer.cs: Don't add padding on MeasureText if we were
  3429. sent the NoPadding flag.
  3430. 2007-02-23 Everaldo Canuto <[email protected]>
  3431. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  3432. after DrawButton. To prevent image overlaps button borders SetClip and
  3433. ResetClip added before and after draw image. Fixes #79129.
  3434. 2007-02-23 Everaldo Canuto <[email protected]>
  3435. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  3436. window size, it fix problem when you run under win32 that theres
  3437. Size diferent than ClientSize. Also fix controls size and positions
  3438. to mimic Win32. Fixes #80837.
  3439. 2007-02-22 Everaldo Canuto <[email protected]>
  3440. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  3441. menu area to fix some problems for non X11 systems. Fixes #80613.
  3442. 2007-02-22 Jackson Harper <[email protected]>
  3443. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  3444. even if it doesn't have any children.
  3445. 2007-02-22 Jackson Harper <[email protected]>
  3446. * TreeView.cs: Calculate the top node 'on the fly', this
  3447. eliminates issues where you need to click on the tree before
  3448. scrolling it to get the top node computed correctly.
  3449. * TreeNodeCollection.cs: We don't need to mess with the top node
  3450. anymore.
  3451. 2007-02-22 Jackson Harper <[email protected]>
  3452. * DataGridViewRow.cs: Fix typo so height can actually be set.
  3453. Patch by Peter Grimm.
  3454. 2007-02-22 Gert Driesen <[email protected]>
  3455. * FileDialog.cs: Fixed support for renaming files and directories.
  3456. * ListView.cs: Do not lose focus when edit is canceled. Process
  3457. Escape as regular key (to prevent closing of dialogs).
  3458. 2007-02-22 Gert Driesen <[email protected]>
  3459. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  3460. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  3461. 2007-02-22 Gert Driesen <[email protected]>
  3462. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  3463. did not modify label.
  3464. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  3465. modified the text. Reset Label when user presses Escape in edit mode.
  3466. Move focus to ListView after having cancelled or finished editing the
  3467. label.
  3468. 2007-02-21 Gert Driesen <[email protected]>
  3469. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  3470. private. Clear textbox when Text is set to null and SelectedIndex is
  3471. already -1.
  3472. * FileDialog.cs: Removed unnecessary initializations. Removed
  3473. workarounds for ComboBox bugs that are now fixed. Modified
  3474. DefaultExt, InitialDirectory and Title property to change null to
  3475. zero-length string in getters. Avoid directly accessing fields.
  3476. 2007-02-20 Jackson Harper <[email protected]>
  3477. * TextControl.cs: Remove RecalAlignments call, that was some
  3478. debugging leftovers.
  3479. - Don't use the line indent when we shouldn't.
  3480. * RichTextBox.cs: Add support for paragraph left indents.
  3481. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  3482. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  3483. Seems like the class status pages doesn't catch params differences.
  3484. 2007-02-19 Gert Driesen <[email protected]>
  3485. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  3486. 2007-02-19 Gert Driesen <[email protected]>
  3487. * ComboBox.cs: Setting Text should have no effect if item text of
  3488. selected item exactly matches value. First lookup text using
  3489. case-sensitive comparison, and fallback to case-insensitive comparison.
  3490. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  3491. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  3492. paramname to match MS. Restart from first item if string is not found
  3493. after startIndex. Fixed paramname of ArgumentNullException that is
  3494. thrown for null value in ObjectCollection.Contains.
  3495. 2007-02-19 Everaldo Canuto <[email protected]>
  3496. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  3497. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  3498. * ListControl.cs: In SelectedValue use value.Equals to compare for
  3499. equality instead of ==, otherwise it will fail for strings.
  3500. Fixes #80794.
  3501. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  3502. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  3503. since the caret won't show up unless ShowSelection is true.
  3504. Fixes #80795.
  3505. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  3506. * Application.cs: When disabling all forms but the main form, do not
  3507. disable any descendants of the main form (such as mdi children or
  3508. other parented forms). Fixes #80822 on Windows.
  3509. * Form.cs: If we have a parent, set the WS_CHILD style.
  3510. * Control.cs: Update the window styles if the control whose parent has
  3511. changed is a form (the WS_CHILD style has to be switched).
  3512. 2007-02-19 Everaldo Canuto <[email protected]>
  3513. * XplatUIStructs.cs: MsgUIState structure added.
  3514. 2007-02-18 Gert Driesen <[email protected]>
  3515. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  3516. profile, do not check filename(s) for illegal character if filename(s)
  3517. were set non-interactively but always check on 1.0 profile. Fixed NRE
  3518. in DefaultExt and only strip off first leading dot. Improve exception
  3519. message when invalid Filter is set. Do not ignore InitialDirectory if
  3520. it does no exist. Store specified Title, and if empty use default
  3521. title (depending on type of dialog). Added an internal DialogTitle
  3522. property for retrieving dialog title. Fixed logic of displayed dir to
  3523. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  3524. string as its buggy.
  3525. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  3526. FileName is a zero-length string (it can never be null). Override
  3527. DialogTitle property to set default title of dialog box.
  3528. * SaveFileDialog.cs: Override DialogTitle property to set default
  3529. title of dialog box.
  3530. 2007-02-18 Gert Driesen <[email protected]>
  3531. * FileDialog.cs: Modify default text of filename and filetype labels
  3532. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  3533. after we've updated the SelectedIndex. Fixes part of bug #80887.
  3534. * SaveFileDialog.cs: Set text of filetype label.
  3535. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  3536. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  3537. label field. Needed by latest Jackson's fixes for ListView.
  3538. 2007-02-16 Andreia Gaita <[email protected]>
  3539. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  3540. print preview images.
  3541. 2007-02-16 Jackson Harper <[email protected]>
  3542. * ListView.cs: Make AfterLabelEdit work correctly.
  3543. * FileDialog.cs: After changing the name of the folder, we have to
  3544. make sure that it is created, or that we pop up an error because
  3545. it already exists.
  3546. 2007-02-16 Jackson Harper <[email protected]>
  3547. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  3548. System.String are mapped to text.
  3549. - Handle dataobjects, getting all the possible formats out of them
  3550. - We dont need the drag event args before we give feedback. This
  3551. allows feedback cursors to be immediate before selections have
  3552. been converted.
  3553. 2007-02-16 Jackson Harper <[email protected]>
  3554. * TextBoxBase.cs: Modified the method for inserting images to
  3555. taking a line and position instead of tag and position.
  3556. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  3557. into the RTF file.
  3558. * TextControl.cs: Allow images to be inserted as the first tag of
  3559. a line.
  3560. - Fix some off by one issues when we assume the first tag is a
  3561. text tag, not an image tag.
  3562. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  3563. * ListView.cs: Set focus to ListView when ItemControl gets a
  3564. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  3565. Fixes part of #80467.
  3566. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  3567. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  3568. validate Text input (if null or empty string reset Value to default
  3569. value). Fixes #80830.
  3570. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  3571. * ListView.cs: Set owner as null for columns and items when
  3572. Dispose is invoked. Fixes #80607.
  3573. 2007-02-14 Jonathan Pobst <[email protected]>
  3574. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  3575. showing DropDowns, don't show a Grip when doing Flow layout.
  3576. [This fixes the toolbox in PDN 2.72.]
  3577. * ToolStripItem.cs: Add Anchor property and some internal properties to
  3578. reduces needed changes to FlowLayout.
  3579. * ToolStripOverflow.cs: Remove unused variable.
  3580. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  3581. use it in the layout calculations.
  3582. 2007-02-13 Everaldo Canuto <[email protected]>
  3583. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  3584. reported in #79640.
  3585. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  3586. size calculation.
  3587. 2007-02-13 Everaldo Canuto <[email protected]>
  3588. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  3589. MeasureString format, it can make button very large in some cases, it is
  3590. strange but is what win32 do.
  3591. 2007-02-13 Everaldo Canuto <[email protected]>
  3592. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  3593. size calculation.
  3594. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  3595. rendering, the value is based on MenuAccessKeysUnderlined.
  3596. 2007-02-13 Everaldo Canuto <[email protected]>
  3597. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  3598. for most themes.
  3599. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  3600. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  3601. and use MenuAccessKeysUnderlined instead.
  3602. 2007-02-13 Andreia Gaita <[email protected]>
  3603. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  3604. A selected control would not get a Focus call if:
  3605. - the default active control of the container is the same as
  3606. the one that was selected
  3607. - we are switching from one container to another
  3608. Under these conditions, the container being selected already has
  3609. an active_control, which is the same as the one being activated,
  3610. so set_ActiveControl would always return and not send the Focus
  3611. call. Fix to check if the currently active control of the container
  3612. is actually focused.
  3613. 2007-02-13 Jonathan Pobst <[email protected]>
  3614. * StatusStrip.cs: Implement the spring layout.
  3615. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  3616. always matches the host.
  3617. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  3618. and TextAfterImage.
  3619. 2007-02-13 Andreia Gaita <[email protected]>
  3620. * Control.cs: Code reorganization only.
  3621. - Reorganize the WndProc cases so that each case has it's own handling method,
  3622. to help with the no-line-numbering stack traces.
  3623. - Formatting changes (it's vstudio's fault, really :p)
  3624. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  3625. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  3626. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  3627. behaviour.
  3628. 2007-02-12 Jackson Harper <[email protected]>
  3629. * RichTextBox.cs:
  3630. * TextBox.cs: By default we have a non multiline document
  3631. - use the multiline property instead of the internal variable
  3632. * TextBoxBase.cs: Treat multiline and non multiline the same in
  3633. most places.
  3634. - Use the documents multiline flag instead of tracking it ourself
  3635. * TextControl.cs: Attempt at getting multiline to match MS
  3636. behavior. Lines now track an offset, which is either their X or Y
  3637. offset depending on whether or not we are in multiline mode.
  3638. - Update all the methods to understand that lines have an X value.
  3639. - Fix crash in Undo::Duplicate when empty lines are deleted.
  3640. 2007-02-12 Everaldo Canuto <[email protected]>
  3641. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  3642. code moved to properties PreferredHeight and PreferredWidth. It solve the
  3643. all problems when preferred sizes must be recalculated. Fixes #80801.
  3644. 2007-02-12 Everaldo Canuto <[email protected]>
  3645. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  3646. font height when compatible_text_rendering is false. Partially fix #80801.
  3647. 2007-02-09 Gert Driesen <[email protected]>
  3648. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  3649. 2007-02-09 Gert Driesen <[email protected]>
  3650. * Form.cs: Improved exception messages in ShowDialog.
  3651. 2007-02-09 Gert Driesen <[email protected]>
  3652. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  3653. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  3654. if not set. Fixes bug #80764. Avoid accessing current_settings field
  3655. directly.
  3656. 2007-02-08 Everaldo Canuto <[email protected]>
  3657. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  3658. false.
  3659. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  3660. public in 2.0 and for easy maintenance and dont break compatibility it is
  3661. internal in 1.1.
  3662. 2007-02-08 Jonathan Pobst <[email protected]>
  3663. * ToolStripItem.cs: Implement using images from ImageList.
  3664. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  3665. * DateTimePicker.cs: Change default date-formatting culture from
  3666. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  3667. seems to be the way MS does it.
  3668. 2007-02-08 Andreia Gaita <[email protected]>
  3669. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  3670. (the 6 was cut off on the right side)
  3671. 2007-02-08 Jonathan Pobst <[email protected]>
  3672. * Form.cs: Tell MenuStrips to close when the form is clicked.
  3673. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  3674. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  3675. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  3676. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  3677. support for Overflow, where items that do not fit are automatically
  3678. reparented to a drop down menu.
  3679. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  3680. Also: fixes bug #80747.
  3681. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  3682. * ComboBox.cs: Remove warning (unused code).
  3683. * ScrollableControl.cs: Remove warning for 1.1 profile.
  3684. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  3685. * Form.cs: Remove a warning.
  3686. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  3687. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  3688. 'g' specifier, not documented anywhere, but seems to always show up
  3689. as a single space (might have something to do with the DateTime 'g'
  3690. specifier, which is the era format, but since DateTimePicker can't
  3691. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  3692. won't crash if the format has an unmatched quote. Now shows
  3693. single-character formats correctly. Fixes #80744.
  3694. 2007-02-08 Jonathan Pobst <[email protected]>
  3695. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  3696. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  3697. 2007-02-07 Chris Toshok <[email protected]>
  3698. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  3699. background color. it overwrites the background image we've
  3700. already painted. Fixes #80599.
  3701. 2007-02-07 Chris Toshok <[email protected]>
  3702. * DataGrid.cs: return immediately from Edit() when there are no
  3703. columns. Fixes #80662.
  3704. 2007-02-07 Chris Toshok <[email protected]>
  3705. * MessageBox.cs: fix #80625. don't always show the Help button in
  3706. 2.0. use the displayHelpButton parameter to determine if we
  3707. should show it. Also, make the internal show_help field private.
  3708. 2007-02-07 Chris Toshok <[email protected]>
  3709. * Control.cs (SetVisibleCore): check in the proposed patch for
  3710. 80604, and set is_visible before calling CreateControl.
  3711. 2007-02-07 Jonathan Pobst <[email protected]>
  3712. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  3713. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  3714. on it.
  3715. 2007-02-06 Everaldo Canuto <[email protected]>
  3716. * MenuAPI.cs: hotkey_active internal field added, it is required because
  3717. we need to know when hotkeys must be draw, before this change a keystate
  3718. Navigating was used but we can have menu in navigating state without
  3719. hotkeys. Fixes #80694.
  3720. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  3721. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  3722. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  3723. corresponding events and methods to be internal for 1.1 profile and
  3724. public for 2.0 profile (required by SizeGrip).
  3725. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  3726. implicit control list). Don't set the size nor the location of the
  3727. SizeGrip anymore as it's not needed.
  3728. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  3729. draw directly on the captured control (fixes #80656). Removed
  3730. ShowGrip (it wasn't used anywhere), redraw (always true), added
  3731. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  3732. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  3733. be called from SizeGrip.
  3734. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  3735. * Timer.cs: Throw ArgumentException if Interval <= 0.
  3736. 2007-02-05 Jackson Harper <[email protected]>
  3737. * TreeView.cs: We need to check scrollbar visibility when window
  3738. visibility is updated, because non visible trees don't ever add
  3739. scrollbars.
  3740. * Cursor.cs: We want the override cursor to be reset to NULL when
  3741. we set current cursor to the default cursor.
  3742. 2007-02-05 Jackson Harper <[email protected]>
  3743. * TextControl.cs: Don't have crlfs when we are non multiline.
  3744. - Consolidate the line position.
  3745. 2007-02-05 Jackson Harper <[email protected]>
  3746. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  3747. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  3748. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  3749. handling LeaveNotify->NotifyUngrab in order to send
  3750. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  3751. after calling XUngrabPointer, so we call WindowUngrabbed directly
  3752. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  3753. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  3754. MouseCaptureChanged correctly. Also create handles if changing
  3755. Capture (matches MS behaviour).
  3756. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  3757. * SizeGrip.cs: Make the last change 2.0 only.
  3758. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  3759. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  3760. changes to initial size (fixes #80597).
  3761. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  3762. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  3763. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  3764. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  3765. background) and only allow dragging if enabled. This way the
  3766. sizegrip can be used to fill the open square that otherwise would
  3767. have been shown in the bottom right corner of ScrollableControl
  3768. when ScrollableControl is not suppose to support sizing.
  3769. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  3770. sizegrip is shown and enabled, and hook up with necessary events.
  3771. 2007-02-01 Chris Toshok <[email protected]>
  3772. * DataGridTextBoxColumn.cs: clean up the
  3773. GetFormattedString/GetColumnValueAtRow combination of functions.
  3774. Also fix UpdateUI, and the initial state of
  3775. IsInEditOrNavigateMode.
  3776. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  3777. aren't supposed to scroll the textbox here, we're supposed to
  3778. scroll the datagrid.
  3779. 2007-02-01 Chris Toshok <[email protected]>
  3780. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  3781. setting the position.
  3782. 2007-02-01 Chris Toshok <[email protected]>
  3783. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  3784. here, since the most recent focus fixes keep us from generating
  3785. the Leave event when our textbox gets focus.
  3786. (Edit): we should be passing null for the column style's
  3787. instantText parameter.
  3788. 2007-02-01 Jonathan Pobst <[email protected]>
  3789. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  3790. raised. Fixes menu text/icons not showing up in PDN.
  3791. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  3792. * Control.cs: Remove code in constructor that makes every
  3793. control with WS_CHILD set have initial location -1, -1.
  3794. 2007-01-31 Jackson Harper <[email protected]>
  3795. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  3796. XplatUIX11.
  3797. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  3798. 2007-01-31 Jackson Harper <[email protected]>
  3799. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  3800. - Remove some debug code.
  3801. 2007-01-31 Jackson Harper <[email protected]>
  3802. * XplatUIX11.cs: If you set the override cursor during a grab, it
  3803. should actually override the grab cursor. This comes into play
  3804. when you are setting custom cursors in a DND feedback method.
  3805. 2007-01-31 Jackson Harper <[email protected]>
  3806. * X11Dnd.cs: Add support for handling the QueryContinue and
  3807. GiveFeedback events.
  3808. - Cancel drag and drop actions when the escape key is clicked.
  3809. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  3810. can handle the ESCAPE key.
  3811. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  3812. done when dnd events are continued after the button is released.
  3813. - Add a new helper method so that dnd can translate key events.
  3814. 2007-01-31 Alexander Olk <[email protected]>
  3815. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  3816. make it more obvious what is happening.
  3817. 2007-01-30 Jackson Harper <[email protected]>
  3818. * XplatUIX11.cs: Don't break when handling button release in drag
  3819. and drop operations. We need that BUTTONUP message to get through
  3820. so capture is released.
  3821. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  3822. this is handled automatically when the mouse is down.
  3823. 2007-01-30 Jackson Harper <[email protected]>
  3824. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  3825. is closed, so we need to make sure that we aren't changing the
  3826. dialog result when the OK (Open or Save) button has been clicked
  3827. and we are closing the window ourselves. Note we don't need to
  3828. worry about the cache being written in this case, because it was
  3829. already done in the previous FilOk call.
  3830. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  3831. * DateTimePicker.cs: Remove a warning.
  3832. * ComboBox.cs: Remove a couple of warnings.
  3833. 2007-01-29 Chris Toshok <[email protected]>
  3834. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  3835. set one, if SetIcon is passed a null icon.
  3836. 2007-01-29 Andreia Gaita <[email protected]>
  3837. * TextBox.cs: Redraw when the password characters changes
  3838. * TextControl.cs: Check if textbox has a password char and draw
  3839. a line of password chars instead of the text in the line. LineTag gets
  3840. an extra Draw() method which allows document.Draw to override the text
  3841. that will be drawn. Removes 1024 char limitation on length of passworded
  3842. lines.
  3843. 2007-01-29 Jackson Harper <[email protected]>
  3844. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  3845. single chars is not.
  3846. 2007-01-28 Jonathan Pobst <[email protected]>
  3847. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  3848. one pixel. Fix a StackOverflowException caused by an overload wrongly
  3849. calling itself.
  3850. 2007-01-26 Everaldo Canuto <[email protected]>
  3851. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  3852. also remove ProcessArrowKey and put the code inside ProcessKeys.
  3853. 2007-01-26 Jonathan Pobst <[email protected]>
  3854. * PaddingConverter.cs: Added.
  3855. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  3856. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  3857. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  3858. of text (fixes #80601). For panels clip the text to draw to the
  3859. panel (fixes #80603).
  3860. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  3861. * ComboBox.cs: Fixed implementation of ResetText.
  3862. 2007-01-25 Jackson Harper <[email protected]>
  3863. * TextControl.cs: For the last char of a line we need to use the
  3864. line size, not that chars width, since it won't actually be
  3865. computed since the right side of a char is based on the start of
  3866. the left side of the next char, and the next char does not exist.
  3867. 2007-01-25 Chris Toshok <[email protected]>
  3868. * Splitter.cs: fix the new unit tests, and reindent some switch
  3869. statements.
  3870. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3871. * ComboBox.cs: Implemented 2.0 methods and events.
  3872. * TextBoxBase.cs: Added OnTextUpdate, so that
  3873. ComboBox.ComboTextBox can inform ComboBox of it.
  3874. 2007-01-25 Jackson Harper <[email protected]>
  3875. * TextControl.cs: Respect ShowSelection when deciding whether or
  3876. not to display the caret, this allows comboboxes to have carets
  3877. when the combotextbox does not have focus.
  3878. 2007-01-25 Jackson Harper <[email protected]>
  3879. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  3880. same as the Suspend/Resume for recalc, except this will do actual
  3881. Invalidates.
  3882. - New Undo manager, works much like the MS version.
  3883. - Implemented Redo
  3884. * TextBoxBase.cs: The Cut operation is undoable.
  3885. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3886. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  3887. on Windows (no difference on Linux).
  3888. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3889. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  3890. we don't want to activate any windows. Fixes #79433.
  3891. 2007-01-25 Jonathan Pobst <[email protected]>
  3892. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  3893. [Fixes bug #80609]
  3894. 2007-01-25 Alexander Olk <[email protected]>
  3895. * FileDialog.cs:
  3896. - Move to using System.ComponentModel.EventHandlerList
  3897. - Replace Refresh with Invalidate
  3898. - Clear the mime filecache on closing
  3899. - Some other memory reducing work. After beeing closed FD now uses
  3900. only about 300 KB for the fdo mime stuff plus the memory of the
  3901. cached icons.
  3902. * Mime.cs: Changed coding style and removed unnecessary commented
  3903. code. Some more memory memory reducing work.
  3904. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  3905. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  3906. a few other missing 2.0 properties.
  3907. * Theme.cs: Added DrawFlatStyleComboBox.
  3908. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  3909. 2007-01-24 Chris Toshok <[email protected]>
  3910. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  3911. wake_waiting flag, not just when there's data to be read. if we
  3912. don't, then future wakeup's won't reach us and we'll be doomed to
  3913. wait for the entire 1 second timeout forever (unless there are X
  3914. events to be had).
  3915. 2007-01-24 Jonathan Pobst <[email protected]>
  3916. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  3917. until you pass Items.Count, not Items.Count - 1 like 1.1.
  3918. 2007-01-24 Gert Driesen <[email protected]>
  3919. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  3920. 2007-01-24 Jonathan Pobst <[email protected]>
  3921. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  3922. adding the panels in the wrong order.
  3923. 2007-01-24 Jackson Harper <[email protected]>
  3924. * TextBoxBase.cs: When we move the caret we also need to move the
  3925. selection, this fixes some random crashing after doing select
  3926. text, unselect, delete a char, paste.
  3927. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  3928. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  3929. 2007-01-23 Everaldo Canuto <[email protected]>
  3930. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  3931. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  3932. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  3933. 2007-01-23 Everaldo Canuto <[email protected]>
  3934. * ToolBar.cs:
  3935. - Implement support for vertical toolbars. Fixes #80539;
  3936. - Call LayoutToolBar when resize, it fix some other problems in layout.
  3937. - Rename requested_height to requested_size, as we can have width on it
  3938. when toolbar is vertical.
  3939. - Create a private property "Vertical" that uses Dock to verify when
  3940. toolbar is vertical or not.
  3941. - Set ControlStyles when change Dock property.
  3942. - Refactory in LayoutToolBar to have better variables names and to support
  3943. vertical toolbars.
  3944. - Fixes default value for ButtonSize when button count is equal zero, size
  3945. must be (39, 36) test case writed.
  3946. 2007-01-23 Chris Toshok <[email protected]>
  3947. * Control.cs: fix the checks so that they work correctly for mdi
  3948. parents/children.
  3949. 2007-01-23 Chris Toshok <[email protected]>
  3950. * Control.cs: ControlCollection seems to have super-secret
  3951. abstraction breaking knowledge of Mdi containers. allow MdiClient
  3952. to add toplevel controls.
  3953. 2007-01-23 Chris Toshok <[email protected]>
  3954. * Control.cs: throw an ArgumentException if a toplevel control is
  3955. added to our control collection from ControlCollection.Add, as
  3956. well as from ControlCollection.IList.Add. This fixes the
  3957. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  3958. Also, in ControlCollection.IList.Add, don't through an
  3959. ArgumentNullException, throw an ArgumentException, when value ==
  3960. null. This matches MS.
  3961. 2007-01-23 Chris Toshok <[email protected]>
  3962. * BindingSource.cs: initial, incomplete, implementation of
  3963. BindingSource.
  3964. 2007-01-23 Jackson Harper <[email protected]>
  3965. * TextControl.cs:
  3966. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  3967. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  3968. 2007-01-23 Everaldo Canuto <[email protected]>
  3969. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  3970. 2007-01-23 Andreia Gaita <[email protected]>
  3971. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  3972. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  3973. IndexOfKey() for 2.0
  3974. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  3975. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  3976. to prevent it from changing z-order.
  3977. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  3978. leave UI updates in MdiWindowManager.
  3979. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  3980. 1 sized (NC handling goes weird on Linux otherwise).
  3981. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  3982. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  3983. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  3984. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  3985. and SetWindowState(s) to allow for changing the size of an activated child
  3986. before activating it (reduces a lot of flicker).
  3987. 2007-01-22 Jonathan Pobst <[email protected]>
  3988. * Form.cs: Changing FormBorderStyle has different semantics based
  3989. on whether the Form is visible or not. If not visible, don't change
  3990. the Size. But InvalidateNC needs to be called to force the window
  3991. to pick up the changes and redraw itself. [Fixes bug #80574]
  3992. 2007-01-22 Jonathan Pobst <[email protected]>
  3993. [Moma work]
  3994. * ContainerControl.cs: ProcessCmdKey.
  3995. * ErrorProvider.cs: new constructor.
  3996. * Form.cs: fix AutoValidateEvent compiler warning.
  3997. * Label.cs: fix OnAutoSizeChanged compiler warning.
  3998. * MenuStrip.cs: fix CanOverflow compiler warning.
  3999. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  4000. * TextBox.cs: Dispose.
  4001. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  4002. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  4003. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  4004. * ToolStripItem.cs: Overflow, RightToLeft properties.
  4005. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  4006. * Form.cs: Move the layout of the main form to MdiWindowManager.
  4007. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  4008. do a layout of the main window to update MdiClient's client area to
  4009. the right area. Fixes #80533. Remove the calculation of nc size,
  4010. it was just wrong and the correct one is the same as for
  4011. InternalWindowManager.
  4012. 2007-01-20 Jonathan Pobst <[email protected]>
  4013. * Control.cs: Setting Anchor or Dock needs to reset the other
  4014. to its default. [Fixes bug #80556]
  4015. 2007-01-20 Chris Toshok <[email protected]>
  4016. * CheckedListBox.cs: class status changes.
  4017. * ScrollableControl.cs: same.
  4018. * RichTextBox.cs: same.
  4019. * ContainerControl.cs: same.
  4020. * ListView.cs: same.
  4021. * NotifyIcon.cs: same.
  4022. * MenuStrip.cs: same.
  4023. * RadioButton.cs: same.
  4024. * CheckBox.cs: same.
  4025. * PrintPreviewDialog.cs: same.
  4026. * Form.cs: same.
  4027. 2007-01-19 Jonathan Pobst <[email protected]>
  4028. * TreeNode.cs: Apply Alan's patch for Name property.
  4029. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  4030. * Form.cs: Implemented SizeGripStyle.
  4031. * SizeGrip.cs: Check for minimum and maximum size for the
  4032. control being resized and only resize if size has actually
  4033. changed.
  4034. 2007-01-19 Chris Toshok <[email protected]>
  4035. * DataGridColumnStyle.cs: stop setting _readonly in the
  4036. PropertyDescriptor setter. fixes a unit test failure.
  4037. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  4038. just consult our table style (if we have one). We don't need to
  4039. consult the datagrid readonly attribute because that's passed in
  4040. as the _ro arg to Edit. this simplifies things a little.
  4041. * DataGrid.cs: use CurrentColumn instead of
  4042. current_cell.ColumnNumber just to simplify some of the code.
  4043. switch the order of some things in the CurrentCell setter to keep
  4044. the previous cell from getting a textbox again -
  4045. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  4046. So we need to set the new cell before calling it.
  4047. call Edit in OnEnter, as does Microsoft.
  4048. also, make sure the current table style isn't the one we create
  4049. initially when checking to see if it's different than the one
  4050. we're setting it to in BindColumns (this fixes #80421).
  4051. * GridTableStylesCollection.cs: table styles can have "" for a
  4052. mapping name. part of the fix for #80421.
  4053. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  4054. Edit significantly.
  4055. 2007-01-18 Jonathan Pobst <[email protected]>
  4056. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  4057. and less GDI object leaky-er.
  4058. 2007-01-18 Andreia Gaita <[email protected]>
  4059. * LinkLabel.cs: Add opaque control style
  4060. 2007-01-18 Jackson Harper <[email protected]>
  4061. * TextControl.cs: Calculate width properly.
  4062. - Don't store the tag's X offset, this can be figured out very
  4063. easily.
  4064. - When getting the caret tag make sure to get the last empty tag.
  4065. 2007-01-18 Jonathan Pobst <[email protected]>
  4066. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  4067. [Fixes bug #79959]
  4068. * Control.cs: Color.Empty shouldn't count for previous transparent
  4069. redraw changes.
  4070. 2007-01-18 Jackson Harper <[email protected]>
  4071. * TextBox.cs:
  4072. * RichTextBox.cs:
  4073. * TextControl.cs: Starting to merge in some pieces of my older
  4074. undo work. Basically just some slight cleanup of the undo API.
  4075. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  4076. * TrackBar.cs: Fix signature of RightToLeftLayout.
  4077. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  4078. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  4079. * Application.cs: Implemented UseWaitCursor.
  4080. 2007-01-18 Jackson Harper <[email protected]>
  4081. * TextControl.cs: We can't skip tags if any part of the tag is
  4082. visible.
  4083. 2007-01-18 Jonathan Pobst <[email protected]>
  4084. * ContainerControl.cs: Override OnLayout.
  4085. 2007-01-18 Jonathan Pobst <[email protected]>
  4086. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  4087. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  4088. everything else.
  4089. 2007-01-18 Chris Toshok <[email protected]>
  4090. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  4091. (leftover from the container_selected days, I'd wager). fixes bug
  4092. #80546.
  4093. 2007-01-18 Jonathan Pobst <[email protected]>
  4094. * Control.cs: Apply patch from George to fix the new testcase on
  4095. bug #80451. We can't just check for Color.Transparent, we need
  4096. to check if the back color's alpha channel is < 255.
  4097. 2007-01-18 Jonathan Pobst <[email protected]>
  4098. * Form.cs: Move setting show_icon = true to before the constructor
  4099. so that the base constructor has that information when it calculates
  4100. the form's size. Was causing forms to be (6, 6) bigger than they
  4101. were supposed to be. Thanks for catching this Rolf!
  4102. 2007-01-18 Jackson Harper <[email protected]>
  4103. * TextControl.cs: When replacing a selection we need to invalidate
  4104. from the initial selection start, because selection start is moved
  4105. to the end of the replacement.
  4106. 2007-01-18 Andreia Gaita <[email protected]>
  4107. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  4108. 2007-01-18 Chris Toshok <[email protected]>
  4109. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  4110. I just added.
  4111. 2007-01-17 Everaldo Canuto <[email protected]>
  4112. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  4113. layout methods and properties from ToolBarButton must be available
  4114. into ToolBarButtonInfo.
  4115. 2007-01-17 Jonathan Pobst <[email protected]>
  4116. * Control.cs: If the control has a transparent background, we
  4117. need to refresh it when it moves and when it's parent's background
  4118. image changes. [Fixes bug #80451]
  4119. 2007-01-17 Jonathan Pobst <[email protected]>
  4120. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  4121. 2007-01-17 Jonathan Pobst <[email protected]>
  4122. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  4123. [Fixes bug #80447, and probably speeds up things as well]
  4124. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  4125. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  4126. * XplatUIWin32.cs: We need to recalculate NC size after changing
  4127. window style to toolwindow (otherwise the client rectangle will be
  4128. 3 pixels to small for some reason).
  4129. * MdiWindowManager.cs: Revert NC size calculations to match how
  4130. they are calculated only based on window styles (to match
  4131. Win32AdjustWindowRectEx, since otherwise when setting size or
  4132. location, Control will call Win32AdjustWindowRectEx to update client
  4133. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  4134. calculate a different value of client size causing another paint
  4135. (and flickering))
  4136. * InternalWindowManager.cs: When moving or resizing a window only
  4137. update size or location if they actually changed.
  4138. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  4139. (seems to match Windows behaviour better). Cleaned up
  4140. ManagedWindowDecorations to draw what's needed and nothing else
  4141. (was drawing borders and lines where they shouldn't be)
  4142. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  4143. (style = 0xFFFF) and takes into account caption height when
  4144. calculating window rectangle.
  4145. 2007-01-16 Everaldo Canuto <[email protected]>
  4146. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  4147. can be added to toolbar multiple times, we need to maintain a list of
  4148. button information for each positions.
  4149. 2007-01-16 Everaldo Canuto <[email protected]>
  4150. * ToolBar.cs: Some small stetic changes.
  4151. 2007-01-16 Jackson Harper <[email protected]>
  4152. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  4153. that allow us to have nested recalc = false blocks.
  4154. - Add paste support for images in the RichTextBox
  4155. * RichTextBox.cs: flush the text after the color is changed, so
  4156. the change takes effect.
  4157. - Use SuspendRecalc
  4158. - Some extra debugging info
  4159. * TextControl.cs: Tags no longer track their length, it is just
  4160. computed from the next tags length, this makes things a little
  4161. simpler and reduces places that we have to track length changes.
  4162. - Refactored the linetag class a little so we could make it
  4163. a base class for different kinds of tags
  4164. - Created a image tag, a tag that can have a single image inserted
  4165. into it
  4166. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  4167. that we can call suspend multiple times.
  4168. - Add some debugging methods
  4169. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  4170. * MdiClient.cs: Add ActivatePreviousChild for
  4171. mdi child window navigation.
  4172. * Form.cs: Use MdiClient.ActivateNextChild/
  4173. ActivatePreviousChild instead of Form.SelectNextControl
  4174. to select the next/previous child since
  4175. SelectNextControl doesn't do it in the same order
  4176. as mdi children should do it.
  4177. 2007-01-16 Chris Toshok <[email protected]>
  4178. * Control.cs: remove container_selected field.
  4179. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  4180. * MdiClient.cs: Update main form's ActiveChild when
  4181. updating keyboard focus for the mdi child.
  4182. 2007-01-16 Jonathan Pobst <[email protected]>
  4183. * Control.cs: PreferredSize fix.
  4184. * Form.cs: Add several 2.0 events, properties, and methods.
  4185. 2007-01-16 Gert Driesen <[email protected]>
  4186. * Form.cs: Provide meaningful message when MdiParent is assigned a
  4187. Form that is not an MdiContainer.
  4188. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  4189. * MdiClient.cs: Update main form's ActiveChild when
  4190. activating a mdi child.
  4191. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  4192. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  4193. doesn't have a menu.
  4194. * Form.cs: Request NCRecalc after creating a mdi child window.
  4195. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  4196. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  4197. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  4198. sends keyboard focus to the active child, or to the MdiClient
  4199. if there are no child forms.
  4200. 2007-01-15 Chris Toshok <[email protected]>
  4201. * ListView.cs: drop the *Internal overrides, just do our work in
  4202. ItemControl's WndProc instead.
  4203. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  4204. of the various controls, and forward the events properly (in the
  4205. same manner as MS) from the textbox to the UpDown. Also the
  4206. ActiveControl of the UpDownBase gets set properly now. Finally,
  4207. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  4208. * NumericUpDown.cs: set Text in the ctor.
  4209. * DomainUpDown.cs: call UpdateEditText in the ctor.
  4210. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  4211. so even a Selectable = false textbox can be focused if you click
  4212. in it. Go figure.
  4213. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  4214. just add their handling in their respective WndProc's. Also add
  4215. an explicit FocusInternal method that doesn't consult CanFocus
  4216. before calling Select(this).
  4217. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  4218. do our work in WndProc instead.
  4219. * TabControl.cs: same.
  4220. * ComboBox.cs: same.
  4221. 2007-01-15 Everaldo Canuto <[email protected]>
  4222. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  4223. Fixes #80006.
  4224. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  4225. * ListViewItem.cs:
  4226. * ThemeWin32Classic.cs: Don't draw the item text outside
  4227. item bounds in Details view, as well as use trimming.
  4228. Fixes bug #80376.
  4229. 2007-01-15 Jonathan Pobst <[email protected]>
  4230. * Form.cs: Implement Form.ShowIcon.
  4231. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  4232. null, which when combined with the DlgModalFrame window style removes
  4233. the icon from the title bar.
  4234. 2007-01-15 Jonathan Pobst <[email protected]>
  4235. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  4236. 2007-01-15 Everaldo Canuto <[email protected]>
  4237. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  4238. menu when mdi child windows theres a menu, uses insert to get icon
  4239. at first position. Partially fix #80006.
  4240. 2007-01-15 Jonathan Pobst <[email protected]>
  4241. * Clipboard.cs: Implement 2.0 methods.
  4242. 2007-01-15 Everaldo Canuto <[email protected]>
  4243. * Menu.cs: Implement Insert method of MenuItemCollection class
  4244. to fix MenuMerge.
  4245. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  4246. * ListView.cs: Implement 2.0 FindItemWithText method.
  4247. 2007-01-11 Everaldo Canuto <[email protected]>
  4248. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  4249. to calculate menu bar size. Fixes #80290.
  4250. 2007-01-11 Everaldo Canuto <[email protected]>
  4251. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  4252. 2007-01-11 Chris Toshok <[email protected]>
  4253. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  4254. initial form.
  4255. 2007-01-11 Chris Toshok <[email protected]>
  4256. * LinkLabel.cs: make sure to call base.Select in our Select method
  4257. if it turns out we're going to be selected (i.e. if we have a link
  4258. that is going to receive focus). That way our container's
  4259. ActiveControl is updated properly.
  4260. 2007-01-11 Chris Toshok <[email protected]>
  4261. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  4262. they have 1 or more links. this fixes the crash gert reported.
  4263. 2007-01-11 Andreia Gaita <[email protected]>
  4264. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  4265. anymore.
  4266. * Control.cs (Controls.Add): Check if control to be added to the collection
  4267. is a top level control, and throw an ArgumentException if it is.
  4268. Remove ContainerSelectedFlag, not needed anymore.
  4269. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  4270. top most control doesn't activate the form. This fixes a problem in the
  4271. MessageBox, where the default button wouldn't get focus because the form
  4272. was activated before being Loaded - when the Owner is set, SetTopMost is
  4273. called, and it would activate it.
  4274. 2007-01-11 Jonathan Pobst <[email protected]>
  4275. * Button.cs: When clicked and setting the parent form's DialogResult,
  4276. use FindForm instead of Parent, since parent could be a container
  4277. control and not the Form. Fixes bug #80495.
  4278. 2007-01-10 Chris Toshok <[email protected]>
  4279. * Form.cs: move the call to SendControlFocus into the same
  4280. is_loaded check.
  4281. 2007-01-10 Chris Toshok <[email protected]>
  4282. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  4283. It breaks in the face of the new ActiveControl stuff, and should
  4284. be unnecessary.
  4285. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  4286. activecontrol's focus if it's not already set, after we set
  4287. ActiveControl, but before we call OnActivated. Re-fixes #79667
  4288. after the previous focus/active control fixes regressed it.
  4289. * Control.cs: reindent some code.
  4290. 2007-01-10 Chris Toshok <[email protected]>
  4291. * Splitter.cs: clearing some outstanding changes from my tree.
  4292. Replace all accesses (not writes) to the internal dock_style field
  4293. with the Dock property.
  4294. 2007-01-10 Chris Toshok <[email protected]>
  4295. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  4296. FireValidated virtual.
  4297. * Form.cs: override and don't chain up calls to FireEnter and
  4298. FireLeave.
  4299. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  4300. * ListView.cs: Add more text padding space when using
  4301. auto resize for columns (the previous value didn't work fine).
  4302. * ThemeWin32Classic.cs: Update text position inside columns,
  4303. to match the appeareance of .Net.
  4304. * ColumnHeader.cs: When using auto resize, only the Width should
  4305. depend on the sub items, not the Height. Also, set width after
  4306. auto resizing (the value of Width should never remain as -1 or -2).
  4307. 2007-01-10 Chris Toshok <[email protected]>
  4308. * Application.cs: fix compilation errors when debug is enabled.
  4309. 2007-01-10 Chris Toshok <[email protected]>
  4310. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  4311. add some nice ascii art pictures and explanation of the process).
  4312. (GetMostDeeplyNestedActiveControl): new utility function we need
  4313. because our ActiveControl can refer to a child container with its
  4314. own ActiveControl.
  4315. * Form.cs (OnActivated): remove the call to SelectActiveControl
  4316. from here, since you can override this method and not chain up,
  4317. and winforms still sets the active control.
  4318. (OnCreateControl): also remove the unnecessary SelectActiveControl
  4319. call from here.
  4320. (WndProc): it's actually called from the WM_ACTIVATE block, just
  4321. before calling OnActivated.
  4322. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  4323. inside the else. the ActiveControl setter will end up setting
  4324. focus on @control. This keeps us from setting it again (and
  4325. generating an extra LostFocus/GotFocus pair).
  4326. (Select (bool, bool)): reindent.
  4327. 2007-01-10 Jonathan Pobst <[email protected]>
  4328. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  4329. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  4330. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  4331. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  4332. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  4333. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  4334. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  4335. ToolStripTextBox.cs: Another wave of corcompare work.
  4336. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  4337. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  4338. the Width property.
  4339. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  4340. methods by callling Column.AutoResize method on columns.
  4341. 2007-01-09 Jonathan Pobst <[email protected]>
  4342. * Control.cs: Provide proper implementations of PreferredSize
  4343. and GetPreferredSize (2.0).
  4344. 2007-01-09 Jonathan Pobst <[email protected]>
  4345. * Form.cs: Remove one character (!) to make my previous OnClosing
  4346. stuff work for modal windows like MessageBox.
  4347. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  4348. * ListView.cs:
  4349. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  4350. ListView.Columns to get the last displayed column. Fixes #80452.
  4351. 2007-01-09 Everaldo Canuto <[email protected]>
  4352. * Label.cs, LinkLabel.cs: Source code identation fixes.
  4353. 2007-01-08 Everaldo Canuto <[email protected]>
  4354. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  4355. we dont need to invalidate only borders because when we invalidate four
  4356. border lines the invalidate's generates a complete redraw of button,
  4357. because it now invalidate a complete rect some other redraws operations
  4358. are fixed. Fixes #80196.
  4359. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  4360. Remove ToolBarInvalidateEntireButton as it is not used.
  4361. 2007-01-08 Jonathan Pobst <[email protected]>
  4362. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  4363. called for 2.0 profile.
  4364. * CloseReason.cs: Make class internal for 1.1.
  4365. 2007-01-08 Jonathan Pobst <[email protected]>
  4366. * ToolStripManager.cs: Implement FindToolStrip functionality.
  4367. * ToolStrip.cs: Register and unregister with ToolStripManager.
  4368. 2007-01-07 Jonathan Pobst <[email protected]>
  4369. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  4370. to ArrangedElementCollection. Implemented this with as few #if's as
  4371. possible (which is still too many).
  4372. 2007-01-07 Jonathan Pobst <[email protected]>
  4373. * Control.cs: Implement SizeFromClientSize() [2.0].
  4374. 2007-01-07 Everaldo Canuto <[email protected]>
  4375. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  4376. use Theme.BorderSize to calculate area instead of static value 1,
  4377. by the way use new BorderStaticSize instead Border3DSize when
  4378. border_static is true. Fixes #79537.
  4379. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  4380. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  4381. it is not needed.
  4382. 2007-01-06 Everaldo Canuto <[email protected]>
  4383. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  4384. 2007-01-06 Everaldo Canuto <[email protected]>
  4385. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  4386. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  4387. * Hwnd.cs:
  4388. - border_static field added, it will used to define when a control
  4389. theres 3D border but it must be static (thin).
  4390. - In GetWindowRectangle use Theme.BorderSize to calculate area
  4391. instead of static value 1, by the way use new BorderStaticSize instead
  4392. Border3DSize when border_static is true.
  4393. * XplatUIX11.cs, XplatUIOSX.cs:
  4394. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  4395. * Theme.cs: BorderStaticSize field added.
  4396. 2007-01-05 Everaldo Canuto <[email protected]>
  4397. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  4398. 2007-01-05 Everaldo Canuto <[email protected]>
  4399. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  4400. mimic same behavior than win32 that set border only in CreateParams,
  4401. it fix problems under CreateParams overrides. Fix #79442 and partial
  4402. fix #79537.
  4403. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  4404. of thi control you must call recreate handle.
  4405. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  4406. need to do anything as RecreateHangle will take care about borders.
  4407. 2007-01-05 Mike Kestner <[email protected]>
  4408. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  4409. cycles between the ItemControl and parent. Fixes #80388.
  4410. 2007-01-05 Gert Driesen <[email protected]>
  4411. * Control.cs: Lazy init layout engine. Do not directly use
  4412. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  4413. 2007-01-05 Chris Toshok <[email protected]>
  4414. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  4415. unless our list manager has changed (i.e. unless we have reason to
  4416. believe our columns have changed). Fixes #80422.
  4417. also, disable the call do BindColumns in
  4418. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  4419. 1.1 the event isn't raised in response to a column addition on a
  4420. table.)
  4421. 2007-01-05 Jonathan Pobst <[email protected]>
  4422. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  4423. that inheritors can not call it if they choose. Fixes bug #80456.
  4424. 2007-01-05 Andreia Gaita <[email protected]>
  4425. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  4426. doesn't blow up with a null exception on marshalling.
  4427. 2007-01-05 Jonathan Pobst <[email protected]>
  4428. * Control.cs: Implement several 2.0 protected properties and methods.
  4429. Ensure that all necessary events are being called when properties
  4430. are set.
  4431. 2007-01-05 Mike Kestner <[email protected]>
  4432. * ListView.cs: implement PgUp/PgDn for Details view. Also
  4433. fixes First/LastVisibleIndex to use the item_control.ClientRect
  4434. instead of the parent control. Fixes #80378.
  4435. 2006-01-05 Atsushi Enomoto <[email protected]>
  4436. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  4437. determine whether to use yard-pound or not (bug #78399).
  4438. 2006-01-04 Alexander Olk <[email protected]>
  4439. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  4440. problems. So it is time to bring back the old popupbutton colors.
  4441. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  4442. * ColumnHeader.cs:
  4443. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  4444. property by using the internal information of the
  4445. columns order in ListView.
  4446. 2007-01-04 Jonathan Pobst <[email protected]>
  4447. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  4448. Add 2.0 Tag properties.
  4449. * LinkArea.cs: Add 2.0 ToString method.
  4450. 2007-01-03 Chris Toshok <[email protected]>
  4451. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  4452. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  4453. when we're editing, which fixes #80047.
  4454. 2007-01-03 Chris Toshok <[email protected]>
  4455. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  4456. #80404.
  4457. 2007-01-03 Jonathan Pobst <[email protected]>
  4458. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  4459. property and implementation.
  4460. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  4461. for MdiWindowListItem property.
  4462. * ToolStripDropDown.cs: Don't consider hidden menu items while
  4463. laying out the menu.
  4464. 2007-01-03 Andreia Gaita <[email protected]>
  4465. * SendKeys.cs: window handle is not needed in win32, so just
  4466. get the active window for X after parsing keys and don't use
  4467. it when building the message; it is passed by parameter to the
  4468. Xplat method and used there to build the message instead. Also,
  4469. wait for events to be processed on SendWait, as opposed to Send,
  4470. which doesn't wait :) Playing with threads and Send() completely
  4471. hangs on ms.net, only SendWait() works.
  4472. XplatUIX11.cs
  4473. X11Display.cs: Check for valid window handle.
  4474. 2007-01-03 Jackson Harper <[email protected]>
  4475. * TextControl.cs: Need to prevent wrap calculations when replacing
  4476. text (this was there before i removed it accidently).
  4477. - Don't update the cursor during the positioning, just set it to
  4478. selection_start at the end of the operaion.
  4479. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  4480. * Control.cs:
  4481. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  4482. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  4483. * MonthCalendar.cs: Added Click and DoubleClick events again,
  4484. but this time they only hide Control's Click and DoubleClick.
  4485. 2007-01-03 Gert Driesen <[email protected]>
  4486. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  4487. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  4488. 2007-01-02 Jackson Harper <[email protected]>
  4489. * TextBoxBase.cs: We move the caret with the split now, so we
  4490. don't need to explicitly move the caret after splitting. This
  4491. fixes the caret bumping down an extra line on Enter.
  4492. 2007-01-02 Miguel de Icaza <[email protected]>
  4493. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  4494. 2.72).
  4495. * ScrollableControl.cs: Add Scroll event.
  4496. 2007-01-02 Mike Kestner <[email protected]>
  4497. * ListView.cs: one more try with help from [email protected]
  4498. to fix all hdr height padding codepaths. Fixes #80207.
  4499. 2007-01-02 Chris Toshok <[email protected]>
  4500. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  4501. setting it to the Control defaults anyway, and it being after the
  4502. Dock set was screwing up layout.
  4503. (set_Dock): don't short circuit out of setting base.Dock. Also,
  4504. no need to call UpdateStatusBar here, as it'll be re-layed out if
  4505. it needs to be.
  4506. 2007-01-02 Mike Kestner <[email protected]>
  4507. * ListView.cs: patch from [email protected] to add padding
  4508. to header height for width == -1. Fixes the rest of #80207.
  4509. 2007-01-02 Mike Kestner <[email protected]>
  4510. * ListView.cs: rework the mouse event forwarding everaldo added
  4511. to translate the coordinates to the parent control not
  4512. raise the parent events until after we've done our work. Hover
  4513. needs more work, in the case where HoverSelection is on, because
  4514. the item control receives more than one MouseHover per Enter
  4515. event, so we need to ensure only the "first" hover gets forwarded.
  4516. Opening a minor bug for that.
  4517. 2007-01-02 Gert Driesen <[email protected]>
  4518. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  4519. * ListControl.cs: Implemented AllowSelection property. Removed extra
  4520. tabs.
  4521. * ListBox.cs: Implemented AllowSelection property.
  4522. 2007-01-02 Everaldo Canuto <[email protected]>
  4523. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  4524. SelectedItem, it prevent for errors when you must disable item
  4525. before perform click. Fixes #80409.
  4526. 2007-01-02 Everaldo Canuto <[email protected]>
  4527. * MenuAPI.cs: Prevent second level and beyond submenus to close
  4528. until first level when move out side of popup.
  4529. 2007-01-02 Everaldo Canuto <[email protected]>
  4530. * MenuAPI.cs:
  4531. - Down submenu positin in three pixels.
  4532. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  4533. 2007-01-02 Everaldo Canuto <[email protected]>
  4534. * ThemeWin32Classic.cs:
  4535. - Fix popup menu size adding one pixel on the top.
  4536. - Down menu item border from two to one to mimic Win32.
  4537. - Some source identation fixes.
  4538. 2007-01-01 Everaldo Canuto <[email protected]>
  4539. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  4540. position of menu arrows, it fix wrong arrow size.
  4541. 2007-01-01 Everaldo Canuto <[email protected]>
  4542. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  4543. instead of line, it simplify draw operation and fix it using 3D
  4544. borders to mimic Win32.
  4545. 2007-01-01 Jonathan Pobst <[email protected]>
  4546. * StatusStrip.cs: Add implementation of the sizing grip.
  4547. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  4548. StatusStrip rendering.
  4549. 2006-12-31 Chris Toshok <[email protected]>
  4550. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  4551. override the layout style (anchor/dock) of the control. assign to
  4552. Dock instead. Fixes bug #80416.
  4553. * ToolStrip.cs: same.
  4554. 2006-12-31 Andreia Gaita <[email protected]>
  4555. * ContainerControl.cs: Use ContainerSelected flag to check if
  4556. a Container is directly selected, or if Select is called on a
  4557. non-container. If a container is directly selected, focus events
  4558. should not be raised.
  4559. Apply #80411 patch to throw exception on set_ActiveControl if
  4560. control is the same as the current one.
  4561. * Control.cs: Use ContainerSelected flag (see above).
  4562. Add invalidation check to raise event but not invalidate if
  4563. dimensions are 0.
  4564. Apply #80411 patch.
  4565. 2006-12-31 Everaldo Canuto <[email protected]>
  4566. * MenuAPI.cs: After click, dont close popup menu when menu is
  4567. ContextMenu. Fixes #80399.
  4568. 2006-12-30 Chris Toshok <[email protected]>
  4569. * ContainerControl.cs: make sure we throw the exception if the
  4570. container control doesn't contain the control we're setting
  4571. ActiveControl to.
  4572. 2006-12-30 Chris Toshok <[email protected]>
  4573. * Control.cs (SetTopLevel): fix the exception raised by
  4574. SetTopLevel for child controls.
  4575. (set_Anchor): call UpdateDistances when setting the anchor type.
  4576. This fixes bug #80336.
  4577. 2006-12-29 Gert Driesen <[email protected]>
  4578. * Theme.cs: For now, revert back to 8pt font.
  4579. 2006-12-29 Everaldo Canuto <[email protected]>
  4580. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  4581. Fixes #80395.
  4582. 2006-12-29 Chris Toshok <[email protected]>
  4583. * Control.cs: reorder the code in OnResize to give the same event
  4584. ordering as MS.
  4585. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  4586. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  4587. TileHorizontally and TileVertically.
  4588. 2006-12-29 Alexander Olk <[email protected]>
  4589. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  4590. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  4591. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  4592. Corrected copyright and email adress.
  4593. 2006-12-29 Gert Driesen <[email protected]>
  4594. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  4595. of Exception in FullPath property if no TreeView is associated with
  4596. the TreeNode.
  4597. 2006-12-29 Gert Driesen <[email protected]>
  4598. * Theme.cs: Marked default_font as private, and initialize it in ctor
  4599. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  4600. on 2.0 profile.
  4601. * ThemeGtk.cs: Removed default_font intialization.
  4602. * ThemeWin32Classic.cs: Removed default_font initialization.
  4603. 2006-12-28 Chris Toshok <[email protected]>
  4604. * Control.cs: fix a couple of place where we were creating handles
  4605. more aggressively than we should be. Fixes ControlRefresh unit
  4606. tests.
  4607. 2006-12-28 Chris Toshok <[email protected]>
  4608. * Control.cs: contrary to what the comment said, Control.Dock does
  4609. not supercede Control.Anchor - the last one you assign to decides
  4610. the layout behavior. so we need to keep track of which was the
  4611. last set. Also, fix some of the affected property arguments in
  4612. PerformLayout calls, and remove an redundant parent.PerformLayout
  4613. call in OnResized.
  4614. Add a VisibleInternal property, which returns is_visible. We
  4615. can/should get rid of all the usage of this field elsewhere.
  4616. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  4617. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  4618. control style, not DoubleBuffer. Added UseDoubleBuffering property
  4619. that indicates whether doublebuffering is enabled and supported.
  4620. (comment from and code based on Gert Driesen's patch in #80324).
  4621. Fixes #80324.
  4622. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  4623. * Control.cs: Fixed a NRE.
  4624. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  4625. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  4626. for 2.0.
  4627. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  4628. * Control.cs: Rewrote double buffering, now a seperate
  4629. class handles all the buffering, no Graphics is disposed of
  4630. until the painting is finished (earlier implementation
  4631. would crash if the control was resized in the OnPaint,
  4632. since it would cause the double buffer to be recreated
  4633. and the old one disposed), a separate Graphics is
  4634. created for every paint (MS behaviour and anyways the state
  4635. of the Graphics would have to be saved and restored otherwise)
  4636. * XplatUIDriver.cs:
  4637. * XplatUIX11.cs:
  4638. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  4639. so that we can get the graphics for the back buffer without
  4640. having to create a new one and remove the offscreen_dc parameter
  4641. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  4642. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  4643. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  4644. Also make virtual all the key-related methods.
  4645. * ListViewItem.cs: Make virtual the key related methods for
  4646. ListViewSubItemCollection.
  4647. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  4648. * ListView.cs:
  4649. * ListViewItem.cs:
  4650. * ThemeWin32Classic.cs:
  4651. * Theme.cs: Initial support for Tile view in ListView,
  4652. as well as the implementation of the required bits for it (Item
  4653. and Subitem).
  4654. 2006-12-27 Gert Driesen <[email protected]>
  4655. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  4656. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  4657. Provide useful exception messages.
  4658. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  4659. * TrackBar.cs: Remove a warning.
  4660. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  4661. when used by DateTimePicker, fixes #80287. This also requires that
  4662. MonthCalendar implements it's own drawing for the yearly updown control,
  4663. otherwise the Capture tracking would be too complicated. Removed the Click
  4664. and DoubleClick events (according to comments they were hiding the base class
  4665. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  4666. raise these events, not that they cannot be raised. It is possible to raise
  4667. them by calling OnClick and OnDoubleClick). Added two internal fields in
  4668. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  4669. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  4670. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  4671. event, no longer needed.
  4672. 2006-12-27 Gert Driesen <[email protected]>
  4673. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  4674. true if new value differs from current value.
  4675. 2006-12-27 Gert Driesen <[email protected]>
  4676. * Control.cs: ControlCollection.Count must be public. Fixed build of
  4677. unit tests.
  4678. 2006-12-27 Gert Driesen <[email protected]>
  4679. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  4680. 2006-12-27 Gert Driesen <[email protected]>
  4681. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  4682. 2006-12-26 Everaldo Canuto <[email protected]>
  4683. * Control.cs: Invalidates control including when Width and Height is
  4684. equal zero or is not visible, only Paint event must be care about
  4685. this. Fixes #79913.
  4686. 2006-12-26 Chris Toshok <[email protected]>
  4687. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  4688. more corcompare work.
  4689. * DataGridView.cs: fix compiler warning.
  4690. * ColumnHeader.cs: some corcompare work, and also take the
  4691. opportunity to make the internal fields private.
  4692. * ListView.cs: fix the fallout from the above field change.
  4693. 2006-12-26 Jonathan Pobst <[email protected]>
  4694. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  4695. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  4696. ToolStripTextBox.cs: Fixes to events and corcompare.
  4697. 2006-12-26 Everaldo Canuto <[email protected]>
  4698. * ListView.cs: Call owner.OnMousexx event to propagate events from
  4699. item to ListView. Fixes #80367.
  4700. 2006-12-26 Gert Driesen <[email protected]>
  4701. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  4702. if value is less than one. ItemHeight should not be set to a value
  4703. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  4704. Removed extra tabs.
  4705. 2006-12-26 Jonathan Pobst <[email protected]>
  4706. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  4707. * ToolStripStatusLabel.cs: Add Spring for Moma.
  4708. 2006-12-26 Gert Driesen <[email protected]>
  4709. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  4710. Fixed code formatting. Removed debug code.
  4711. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  4712. 2006-12-26 Gert Driesen <[email protected]>
  4713. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  4714. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  4715. ArgumentOutOfRangeException if ColumnCount is negative. In
  4716. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  4717. less than 4 or higher than 32768.
  4718. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  4719. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  4720. Fixed IsFormatProviderDefault to return true if FormatProvider has
  4721. not been explicitly set.
  4722. 2006-12-25 Chris Toshok <[email protected]>
  4723. * Application.cs: add a couple of 2.0 events.
  4724. 2006-12-25 Chris Toshok <[email protected]>
  4725. * Control.cs: fix compiler warning.
  4726. * AxHost.cs: corcompare fixes.
  4727. * ApplicationContext.cs: corcompare fixes.
  4728. 2006-12-25 Chris Toshok <[email protected]>
  4729. * Control.cs: only update dist_right/dist_bottom if the
  4730. width/height is > 0. this fixes anchored controls being resized
  4731. smaller until they disappear and then resized larger again.
  4732. 2006-12-25 Chris Toshok <[email protected]>
  4733. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  4734. since they're nothing more than X/Left and Y/Top, respectively.
  4735. Also, move back to a per-control Bitmap/Graphics for
  4736. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  4737. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  4738. Height.
  4739. 2006-12-25 Miguel de Icaza <[email protected]>
  4740. * MessageBox.cs: Implemented overload that takes a new "bool
  4741. displayHelpButton" by adding a new internal field "show_help".
  4742. When clicked this will raise the HelpRequested on the owner or the
  4743. main form.
  4744. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  4745. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  4746. * ListView.cs: Add support ColumnWidthChanged and
  4747. ColumnWidthChanging.
  4748. Add support for ColumnReordered event.
  4749. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  4750. reorder.
  4751. Very nice codebase!
  4752. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  4753. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  4754. 2006-12-24 Chris Toshok <[email protected]>
  4755. * GridTablesFactory.cs: 2.0 corcompare work.
  4756. * ToolStripContainer.cs: add "override" to
  4757. ContextMenuStripChanged, and remove the local event object.
  4758. * ToolStripDropDown.cs: same with a couple properties.
  4759. * ToolStripPanel.cs: same with AutoSizeChanged event.
  4760. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  4761. * Form.cs: add the remaining 2.0 events, and do some corcompare
  4762. attribute work.
  4763. * DateTimePicker.cs: add "new" to padding.
  4764. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  4765. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  4766. * DataGridView.cs: PaddingChanged is overridden.
  4767. 2006-12-24 Chris Toshok <[email protected]>
  4768. * Control.cs: corecompare work here too.
  4769. * DataGridViewElement.cs, DataGridView.cs,
  4770. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  4771. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  4772. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  4773. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  4774. work.
  4775. 2006-12-24 Miguel de Icaza <[email protected]>
  4776. * Control.cs: Switched the error message on the console for a
  4777. todo. A review of the code will have to cope with this anyways
  4778. (since its a large feature, it is in our radar) and it was
  4779. producing too much output when running PDN.
  4780. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  4781. changes. Applications depend on this (PDN 2.72)
  4782. 2006-12-23 Chris Toshok <[email protected]>
  4783. * TableLayoutSettings.cs: finish up the corcompare work for this
  4784. class.
  4785. 2006-12-23 Chris Toshok <[email protected]>
  4786. * Control.cs: make SetImplicitBounds internal, do some futzing
  4787. with LayoutEngine so that it's available in 1.1, and remove the
  4788. entire duplicated code mess from PerformLayout. Use
  4789. System.Windows.Forms.Layout.DefaultLayout instead.
  4790. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  4791. 2006-12-23 Jonathan Pobst <[email protected]>
  4792. * Form.cs: Add MainMenuStrip property.
  4793. 2006-12-23 Jonathan Pobst <[email protected]>
  4794. * Control.cs: Add ContextMenuStrip property and implementation.
  4795. Fix ContextMenu implementation to show menu centered on control when
  4796. activated using the keyboard instead of showing at screen (0,0).
  4797. * ToolStripDropDown.cs: Fix needed overload of Show ().
  4798. 2006-12-23 Everaldo Canuto <[email protected]>
  4799. * Menu.cs: Name property added for 2.0 profile.
  4800. 2006-12-23 Everaldo Canuto <[email protected]>
  4801. * Menu.cs: Update information about FindMenuItem, method to be
  4802. implemented soon.
  4803. 2006-12-23 Everaldo Canuto <[email protected]>
  4804. * MenuAPI.cs: When deselect items deselect also selected subitems.
  4805. 2006-12-23 Everaldo Canuto <[email protected]>
  4806. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  4807. FindSubItemByCoord to found itens that is not active, also an
  4808. cheking added to FindSubItemByCoord to search for items only
  4809. in visible popup windows. Fixes #80274.
  4810. 2006-12-22 Everaldo Canuto <[email protected]>
  4811. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  4812. internal property, it be care about change ExStyle.
  4813. 2006-12-22 Andreia Gaita <[email protected]>
  4814. * ContainerControl.cs: set activeControl for parent forms up the
  4815. tree when the new activecontrol is a container.
  4816. When validating the active control, if it is a container, also
  4817. raise up the validation for it's active control. Fixes #80280
  4818. * Control.cs: Add internal property flag and check to prevent
  4819. Focus events from getting raised when Select() is called for
  4820. a ContainerControl. There are still too many focus events being
  4821. raised at the moment though.
  4822. Cleaned up the code a bit.
  4823. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  4824. * Control.cs: Added all missing 2.0 events.and
  4825. fixed a couple of corcompare issues.
  4826. * TrackBar.cs: Implemented missing 2.0 bits.
  4827. * MonthCalendar.cs,
  4828. * DateTimePicker.cs,
  4829. * MdiClient.cs: Fixed some corcompare issues.
  4830. 2006-12-21 Jonathan Pobst <[email protected]>
  4831. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  4832. SplitterPanel.cs: corecompare work.
  4833. 2006-12-21 Jonathan Pobst <[email protected]>
  4834. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  4835. Clean up warnings for BackgroundImageChanged and PaddingChanged
  4836. events now that they are implemented in Control.cs.
  4837. 2006-12-21 Jonathan Pobst <[email protected]>
  4838. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  4839. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  4840. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  4841. of TableLayoutPanel and supporting cast.
  4842. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  4843. * XplatUIWin32.cs:
  4844. - GrabWindow now confines the mouse pointer to the confine window.
  4845. - Added Win32ClipCursor and Win32GetClipCursor.
  4846. * Control.cs:
  4847. - Added CaptureWithConfine to be able to capture and confine
  4848. mouse pointer.
  4849. * InternalWindowManager.cs:
  4850. - Call CaptureWithConfine instead of Capture if we're an
  4851. MdiChild (fixes #79982).
  4852. 2006-12-21 Chris Toshok <[email protected]>
  4853. * DataGrid.cs: guard against the initial state of selection, where
  4854. selection_start == -1. make sure we only select from index >= 0.
  4855. Fixes bug #80291.
  4856. 2006-12-21 Chris Toshok <[email protected]>
  4857. * Control.cs: we don't need to be so draconian with
  4858. UpdateDistances, and we thusly don't need to call it before
  4859. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  4860. 2006-12-21 Daniel Nauck <[email protected]>
  4861. * ComboBox.cs,
  4862. TextBox.cs: Implemented AutoComplete properties.
  4863. 2006-12-20 Chris Toshok <[email protected]>
  4864. * DataGridView*.cs: some corecompare work.
  4865. 2006-12-20 Jackson Harper <[email protected]>
  4866. * XplatUIX11.cs: We need to hide the caret when deleting it,
  4867. otherwise you get carets left lying around everywhere.
  4868. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  4869. prevents getting some weird half drawn caret tracers when
  4870. scrolling.
  4871. * TextControl.cs: Attempt to reduce the number of times we need to
  4872. recreate the caret.
  4873. 2006-12-20 Gert Driesen <[email protected]>
  4874. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  4875. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  4876. * DateTimePicker.cs:
  4877. - Implemented missing 2.0 bits.
  4878. - Changed some default values to match MS.
  4879. 2006-12-20 Jackson Harper <[email protected]>
  4880. * TextBoxBase.cs: When changing the font across the document we
  4881. can't recalculate after changing each line, since that will cahnge
  4882. the line count.
  4883. - PreferredHeight is a little different than i thought.
  4884. - When backspacing, move the caret before we do the actual char
  4885. delete, because when that delete crosses a wrap boundary the
  4886. positional information will change.
  4887. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  4888. * Control.cs: Added some missing 2.0 bits:
  4889. BackgroundImageLayout, BackgroundImageLayoutChanged,
  4890. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  4891. add IBindableComponent and IDropTarget implementation.
  4892. * MonthCalendar.cs:
  4893. - Added all missing 2.0 features:
  4894. BackgroundImageLayout, RightToLeftLayout,
  4895. OnHandleDestroyed, RightToLeftLayoutChanged,
  4896. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  4897. PaddingChanged.
  4898. - Rewrote all the BoldDate code, it was completely broken.
  4899. - Fixed all the tests (the tests can now be re-enabled, the
  4900. problems were not with the tests, but with the control, it was
  4901. mostly broken).
  4902. * DateTimePicker.cs: Changed the location where the
  4903. MonthCalendar is shown.
  4904. 2006-12-19 Chris Toshok <[email protected]>
  4905. * DataGridView.cs: add IDropTarget implementation.
  4906. * ToolStripPanel.cs: add IDropTarget implementation.
  4907. 2006-12-19 Jackson Harper <[email protected]>
  4908. * TextControl.cs: soft now means something different than what it
  4909. used to mean, we want to move the caret regardless of whether or
  4910. not this break was soft (would we really have wanted the caret
  4911. to not move with the break in the old context?)
  4912. * TreeView.cs: Make sure we factor in the vert scrollbar when
  4913. calculating the horizontal scrollbar's maximum.
  4914. 2006-12-19 Andreia Gaita <[email protected]>
  4915. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  4916. check for keywords in alternate casing, close bug #80049.
  4917. 2006-12-19 Chris Toshok <[email protected]>
  4918. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  4919. methods (which all do nothing).
  4920. * IDropTarget.cs: add the 4 missing methods.
  4921. 2006-12-19 Chris Toshok <[email protected]>
  4922. * TableLayoutRowStyleCollection.cs: corcompare work.
  4923. * TableLayoutSettings.cs: same.
  4924. * TableLayoutStyle.cs: same.
  4925. * TableLayoutColumnStyleCollection.cs: same.
  4926. 2006-12-19 Jonathan Pobst <[email protected]>
  4927. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  4928. TableLayoutPanel I've had in my local tree for way too long.
  4929. 2006-12-19 Miguel de Icaza <[email protected]>
  4930. * TableLayoutSettings.cs: Finish the public API (still needs all
  4931. the logic to update on changes).
  4932. * TableLayoutPanelCellPosition.cs: new file.
  4933. * TableLayoutRowStyleCollection.cs,
  4934. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  4935. TableLayoutSettings.cs: Track the final 2.0 table api.
  4936. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  4937. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  4938. and Image List 2.0 members for ColummnHeader.
  4939. * ListView.cs: Add key-related 2.0 methods for
  4940. ColumnHeaderCollection.
  4941. 2006-12-19 Gert Driesen <[email protected]>
  4942. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  4943. ArgumentNullException if items argument is null. Ignore null item in
  4944. arrays. Removed extra tabs.
  4945. 2006-12-19 Gert Driesen <[email protected]>
  4946. * MonthCalendar.cs: Fixed InvalidCastException.
  4947. 2006-12-19 Jackson Harper <[email protected]>
  4948. * TextControl.cs: Don't increment the position here.
  4949. - When calculating char positions only add in the line break size
  4950. for hard line breaks.
  4951. 2006-12-19 Andreia Gaita <[email protected]>
  4952. * SendKeys.cs: Changed some things to match ms.net behaviour
  4953. when parsing shifted capital letters.
  4954. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  4955. Add window handle as parameter to SendInput. X11 needs the
  4956. window handle, and the handle being passed to it in the keys
  4957. queue is the active control handle (which windows needs), not
  4958. the window handle.
  4959. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  4960. to support SendKeys on X.
  4961. * X11Keyboard: Implement helper method to lookup a linux keycode
  4962. given the virtual keycode. Added table of keycode-2-virtualkey
  4963. values to support this.
  4964. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  4965. * ListView.cs: Add support for SelectedIndexCollection
  4966. and SelectedItemCollection 2.0 methods. Implement support
  4967. for ImageKey too.
  4968. * ListViewItem.cs: Add support for ListViewSubItemCollection
  4969. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  4970. (it shouldn't call Clear).
  4971. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  4972. 2006-12-19 Jackson Harper <[email protected]>
  4973. * RichTextBox.cs:
  4974. * TextBoxBase.cs: New args for FormatText
  4975. * TextControl.cs: Rewrote the main drawing method, this version
  4976. feels a little easier to understand and debug to me. Hopefully it
  4977. does to others also
  4978. - Fix FormatText to OR in the new formating values. Added
  4979. FormatSpecified param, basically this works in the same way as
  4980. BoundsSpecified in Control.
  4981. - Set the caret properties when the caret is positioned.
  4982. - When wrapping text make sure that we calculate the width of the
  4983. last character
  4984. - when calculating alignments we might have wrapped down to the
  4985. next line, so don't search for an individual tag, search for the
  4986. end of the line
  4987. - We need to invalidate the selection area when we replace the
  4988. selection.
  4989. 2006-12-19 Daniel Nauck <[email protected]>
  4990. * Application.cs: add Restart () 2.0 support
  4991. 2006-12-18 Everaldo Canuto <[email protected]>
  4992. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  4993. property. Fixes #80268.
  4994. 2006-12-18 Everaldo Canuto <[email protected]>
  4995. * MenuAPI.cs: Dont trigger select event when closes top menu
  4996. item. Fixes #80270.
  4997. 2006-12-18 Everaldo Canuto <[email protected]>
  4998. * MenuAPI.cs: When you click on menuitem only trigger onselect
  4999. event for top menu itens. Fixes #80271.
  5000. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  5001. * MdiWindowManager.cs: Make IconicBounds depend on
  5002. the bottom of MdiClient, not the top (fixes #80267)
  5003. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  5004. * MdiClient.cs: Added missing 2.0 attribute
  5005. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  5006. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  5007. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  5008. 2006-12-18 Everaldo Canuto <[email protected]>
  5009. * MenuAPI.cs: Fix click when menuitem is not popup,
  5010. this regression was caused by last commit (#80272).
  5011. 2006-12-17 Everaldo Canuto <[email protected]>
  5012. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  5013. fire click event or close menu. Fixes #80272.
  5014. 2006-12-17 Daniel Nauck <[email protected]>
  5015. * ListViewHitTestInfo.cs: add
  5016. 2006-12-17 Daniel Nauck <[email protected]>
  5017. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  5018. * FlatButtonAppearance.cs: add
  5019. * DockingAttribute.cs: add
  5020. 2006-12-17 Chris Toshok <[email protected]>
  5021. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  5022. and rebind our columns when it does - this way, if you make
  5023. changes to the DataTable (or set the Table attribute on a DataView
  5024. after setting it as the DataGrid's DataSource, the changes are
  5025. made visible.) Fixes bug #80107.
  5026. 2006-12-17 Daniel Nauck <[email protected]>
  5027. * ListViewGroup.cs: add internal Location property for layouting.
  5028. * Theme.cs: add abstract ListViewGroupHeight function.
  5029. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  5030. 2006-12-16 Andreia Gaita <[email protected]>
  5031. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  5032. Added reset of selected index to 0 when adding first tab page.
  5033. Fixes #80264
  5034. * NumericUpDown.cs: Fix NET_2_0 check
  5035. 2006-12-16 Daniel Nauck <[email protected]>
  5036. * ListViewGroup.cs: fixed DefaultValueAttribute value
  5037. 2006-12-16 Daniel Nauck <[email protected]>
  5038. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  5039. 2006-12-15 Miguel de Icaza <[email protected]>
  5040. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  5041. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  5042. ScrollableControl.cs: Add a handful of methods that are
  5043. overwritten in 2.0
  5044. 2006-12-15 Chris Toshok <[email protected]>
  5045. * XplatUIWin32.cs: initial implementation of the Reversible
  5046. drawing functions. there are some problems. DrawReversibleFrame
  5047. doesn't seem to work at all for Dashed FrameStyle, and in the
  5048. Thick case there are drawing errors at the corners (we probably
  5049. need to bind Rectangle instead of doing moveto/lineto's.)
  5050. 2006-12-16 Andreia Gaita <[email protected]>
  5051. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  5052. to send blocks of key messages. Send accumulates keys to send with Flush,
  5053. while SendWait sends all keys immediately.
  5054. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  5055. XplatUIX11.cs, XplatUIX11-new.cs:
  5056. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  5057. to Win32 SendInput.
  5058. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  5059. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  5060. testing for ms.net on this class is very tricky, as the tests run too fast
  5061. to allow the hook to release, essentially freezing the keyboard and the
  5062. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  5063. category :p
  5064. 2006-12-16 Daniel Nauck <[email protected]>
  5065. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  5066. added missing attributes.
  5067. 2006-12-15 Daniel Nauck <[email protected]>
  5068. * ListViewGroup.cs: Added missing attributes.
  5069. * ListViewGroupCollection.cs: Added missing attributes.
  5070. 2006-12-15 Daniel Nauck <[email protected]>
  5071. * ListViewItem.cs: fixed ListViewSubItem text property.
  5072. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  5073. * Control.cs: Added missing 2.0 attributes
  5074. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  5075. * MdiClient.cs: Added missing 2.0 attribute.
  5076. * MonthCalendar.cs: Added some missing 2.0 attributes
  5077. and properties.
  5078. 2006-12-15 Daniel Nauck <[email protected]>
  5079. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  5080. 2006-12-15 Jonathan Pobst <[email protected]>
  5081. * MainMenu.cs: Add the new 2.0 constructor to help out people
  5082. using the MainMenu in VS2005.
  5083. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  5084. * MdiChildContext.cs: Removed it, no longer used.
  5085. * MdiClient.cs: Added missing 2.0 attributes.
  5086. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  5087. * InternalWindowManager.cs: Fix a NullRef with previous
  5088. changes for toolwindows.
  5089. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  5090. * Control.cs:
  5091. - Added AfterTopMostControl to allow for certain controls
  5092. to always stay on top when normal controls are brought to
  5093. front.
  5094. * XplatUIWin32.cs:
  5095. - (DrawInversibleRectangle): Get window rectangle from Win32
  5096. in stead of from control, since Win32 doesn't calculate
  5097. screen coords correctly from control's Location if it
  5098. have docked siblings.
  5099. * MdiWindowManager.cs:
  5100. - Correct the control menu popup location when clicked on
  5101. the maximized form icon. (fixes #80223.1)
  5102. - Don't show moving rectangle if mouse hasn't moved from
  5103. the original clicked point.
  5104. - Removed FormGotFocus handler (not used).
  5105. - Calculate the control buttons location from the main
  5106. window's size and not client size (fixes #79770).
  5107. - Form is now closed when the form icon is double-clicked
  5108. (fixes #79775).
  5109. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  5110. * InternalWindowManager.cs:
  5111. - Moved some MDI-only methods to MdiWindowManager.
  5112. - Removed unused properties and methods.
  5113. - Unified method naming for methods handling wm messages.
  5114. - Moved all message handling to seperate methods for
  5115. each message.
  5116. * ThemeWin32Classic.cs:
  5117. - DrawManagedWindowDecorations now draws the title bar
  5118. with a gradient brush.
  5119. - Add a CPDrawButtonInternal that allows us to specify
  5120. light, normal and dark colors for the buttons (control
  5121. buttons for MDI children were drawn with the same light
  5122. color as the background, therefore loosing the 3D effect).
  5123. * SizeGrip.cs:
  5124. - Add a CapturedControl property that is used to
  5125. determine the control to resize (defaults to parent).
  5126. Needed for MdiClient, since its SizeGrip's parent is
  5127. MdiClient, but the control to resize is the main form.
  5128. * MdiClient.cs:
  5129. - Set SizeGrip's CapturedControl to the main form in order
  5130. to resize the main form and not the MdiClient.
  5131. - Override AfterTopMostControl to leave the scrollbars
  5132. always on top.
  5133. 2006-12-15 Daniel Nauck <[email protected]>
  5134. * ListView.cs: fixed ListViewItemCollection AddRange and
  5135. implemented ListViewItemCollection AddRange 2.0 support.
  5136. 2006-12-15 Daniel Nauck <[email protected]>
  5137. * ListViewGroup.cs: Add.
  5138. * ListViewGroupCollection.cs: Add
  5139. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  5140. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  5141. stub for ImageKey 2.0 support.
  5142. 2006-12-14 Mike Kestner <[email protected]>
  5143. * ListView.cs: add text padding to the autocalculation for columns
  5144. of width -2. Fixes #80207.
  5145. 2006-12-14 Mike Kestner <[email protected]>
  5146. * ListView.cs: add some index guarding for partial row navigation
  5147. logic. Fixes #80250.
  5148. 2006-12-14 Mike Kestner <[email protected]>
  5149. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  5150. are added or inserted to the collection. Fixes #81099.
  5151. 2006-12-13 Everaldo Canuto <[email protected]>
  5152. * MenuAPI.cs: Closes menu when right click out side of popup
  5153. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  5154. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  5155. * ListViewItem.cs: Fix dumb error.
  5156. * ListView.cs: Add Find and ContainsKey methods in
  5157. ListViewItemCollection, and also return true for IsReadOnly
  5158. and IsFixedSize (changes for 2.0).
  5159. 2006-12-13 Gert Driesen <[email protected]>
  5160. * Control.cs: Allow Region to be set to null.
  5161. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  5162. * MdiWindowManager.cs: Remove unused (commented out) code.
  5163. * Form.cs: When the MdiChild is maximized, the form needs
  5164. WM_NCMOUSELEAVE, so request it.
  5165. * InternalWindowManager.cs:
  5166. - Added tooltips to control buttons.
  5167. - Removed duplicated control button handling code.
  5168. - Removed unused (commented out) code.
  5169. 2006-12-12 Everaldo Canuto <[email protected]>
  5170. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  5171. was used because we must set cursor without trigger ChangeCursor event
  5172. and without change Cursor control property. Fixes #79963.
  5173. 2006-12-12 Andreia Gaita <[email protected]>
  5174. * Control.cs: Check if Region setter value is null, and ignore
  5175. 2006-12-12 Jackson Harper <[email protected]>
  5176. * TextControl.cs: We were almost always drawing one more line then
  5177. needed, since the GetLineByPixel will return the last line found
  5178. at that pixel. In most cases though, we were invalidating up to
  5179. the junction between two lines.
  5180. - Improve debug code.
  5181. 2006-12-12 Chris Toshok <[email protected]>
  5182. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  5183. and FillReversibleRectangle.
  5184. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  5185. and FillReversibleRectangle.
  5186. * XplatUIWin32.cs: add stubs which do nothing for
  5187. DrawReversibleFrame, DrawReversibleLine, and
  5188. FillReversibleRectangle.
  5189. * XplatUIOSX.cs: add stubs which raise NIE for
  5190. DrawReversibleFrame, DrawReversibleLine, and
  5191. FillReversibleRectangle.
  5192. * XplatUIX11.cs: add working implementation for
  5193. DrawReversibleFrame, DrawReversibleLine, and
  5194. FillReversibleRectangle.
  5195. * ControlPaint.cs: implement DrawReversibleFrame,
  5196. DrawReversibleLine, and FillReversibleRectangle, by calling into
  5197. the appropriate XplatUI method.
  5198. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  5199. * Form.cs: Make MdiClient have the focus even if it's
  5200. not selectable, since it should receive WM_KEY* and WM_MOUSE
  5201. messages. Fixes #79907.
  5202. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  5203. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  5204. queried after the window is created.
  5205. * XplatUIX11.cs: Added SendParentNotify to implement
  5206. WM_PARENTNOTIFY logic. Fixes #79965.
  5207. * Control.cs: Added MakeParam.
  5208. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  5209. * MdiClient.cs: Resume Layout before setting window
  5210. states (fixes #80201).
  5211. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  5212. * MenuAPI.cs: Deselect a menu item after performing
  5213. the click (fixes #80197).
  5214. 2006-12-11 Jackson Harper <[email protected]>
  5215. * TextBoxBase.cs: We need to cap this value, since Maximum -
  5216. ViewPortHeight can be less than zero.
  5217. - Only do selection with the left mouse button.
  5218. * TextBox.cs: Don't tell the world that we have a context menu.
  5219. * Control.cs: New method so that we can control whether or not the
  5220. context menu is visible outside MWF.
  5221. 2006-12-11 Everaldo Canuto <[email protected]>
  5222. * ToolBarButton.cs: Fix text positon.
  5223. 2006-12-11 Miguel de Icaza <[email protected]>
  5224. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  5225. * Control.cs (DoubleBuffered): Add implementation.
  5226. * Application.cs (OpenForms): Add.
  5227. 2006-12-11 Jonathan Pobst <[email protected]>
  5228. * Form.cs: Use opacity instead of Opactiy to determine if we need
  5229. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  5230. 2006-12-11 Jonathan Pobst <[email protected]>
  5231. * Control.cs: Fix NRE if Control.Site was set to null.
  5232. 2006-12-11 Chris Toshok <[email protected]>
  5233. * Control.cs: ControlCollection.Remove should return if the arg is
  5234. null, and ControlCollection.SetChildIndex should raise a ANE.
  5235. 2006-12-11 Gert Driesen <[email protected]>
  5236. * Control.cs: Verify value set for Dock property. Code formatting
  5237. updates.
  5238. 2006-12-11 Jackson Harper <[email protected]>
  5239. * TextControl.cs: Draw the caret and the selection when a flag is
  5240. set on the owner.
  5241. * TextBoxBase.cs: We want to draw the caret and the selection for
  5242. TextBox but not for TextBoxBase.
  5243. - If the window is resized and scrolling is no longer needed (the
  5244. whole doc is visible) set the scroll position to zero.
  5245. - The default SelectWord (the one TextBox uses) should move the
  5246. caret to the end of the word.
  5247. - SelectAll moves the caret to the end of the selection.
  5248. * TextBox.cs: We don't selectall on focus, we just do it when the
  5249. control is created.
  5250. 2006-12-11 Mike Kestner <[email protected]>
  5251. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  5252. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  5253. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  5254. 2.0 support.
  5255. * ListViewItem.cs: Add Name 2.0 property.
  5256. 2006-12-11 Andreia Gaita <[email protected]>
  5257. * TabControl.cs: Set visibility on selected or default tab
  5258. when tabcontrol handle is created, so that it's contents
  5259. actually show up (duh). Fixes #80193
  5260. Don't redraw the control if there is no handle created, as
  5261. the selected index might be completely invalid. Added some tests
  5262. to check for this.
  5263. 2006-12-11 Everaldo Canuto <[email protected]>
  5264. * ToolBar.cs: Uses maximun width and height of all buttons as
  5265. button rectangle when ButtonSize specified, it looks strange but
  5266. is what happens in Win32. Fixes #80189.
  5267. 2006-12-11 Jackson Harper <[email protected]>
  5268. * TextControl.cs: Need to track undo levels ourself, since
  5269. compound actions will mess them up.
  5270. 2006-12-10 Andreia Gaita <[email protected]>
  5271. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  5272. SelectedIndex value is changed (even if it's not valid).
  5273. Reset SelectedIndex to 0 when the handle is created and if
  5274. the current index is invalid.
  5275. Fixes SelectdeIndex unit tests and #80128
  5276. 2006-12-08 Chris Toshok <[email protected]>
  5277. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  5278. calls EndEdit, it needs to be called before we set current_cell to
  5279. its new value. Otherwise, we end up committing the value in the
  5280. textbox to the new cell as well. Fixes bug #80160.
  5281. 2006-12-08 Chris Toshok <[email protected]>
  5282. * Form.cs (set_CancelButton): if the button's DialogResult is
  5283. None, set it to Cancel. Fixes bug 80180.
  5284. 2006-12-08 Jackson Harper <[email protected]>
  5285. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  5286. to watch ourselves when setting the canvas size and setting the
  5287. scrollbar values.
  5288. 2006-12-08 Chris Toshok <[email protected]>
  5289. * DataGrid.cs: comment out the two MakeTransparent calls for the
  5290. time being so people using trunk (and not 1.2.2) on windows can
  5291. actually use the datagrid. This deals with bug #80151.
  5292. 2006-12-08 Jonathan Pobst <[email protected]>
  5293. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  5294. Graphics.DrawImage (image, int, int, int, int) overload instead
  5295. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  5296. the dpi difference and was blurring images it drew.
  5297. [Fixes bug #79960]
  5298. 2006-12-08 Chris Toshok <[email protected]>
  5299. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  5300. rowcnt is 0 (such as with an empty datasource), and make sure we
  5301. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  5302. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  5303. 2006-12-08 Chris Toshok <[email protected]>
  5304. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  5305. grid.
  5306. 2006-12-08 Chris Toshok <[email protected]>
  5307. [ Fixes bug #80167 ]
  5308. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  5309. style is FlatStyle.System.
  5310. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  5311. ButtonBase.flat_style private, and switch uses of it to the public
  5312. property.
  5313. 2006-12-08 Chris Toshok <[email protected]>
  5314. [ Fixes bug #80121 ]
  5315. * ThemeWin32Classic.cs: center the caption text in the datagrid
  5316. when we draw it.
  5317. * DataGrid.cs: lessen the amount we add to the caption height from
  5318. 6 to 2. 6 was making it huge.
  5319. 2006-12-08 Andreia Gaita <[email protected]>
  5320. * UpDownBase: Handle MouseWheel call directly instead of capturing
  5321. the inner textbox's OnMouseWheel. Fixes #80166
  5322. 2006-12-08 Jackson Harper <[email protected]>
  5323. * TextControl.cs: We need to invalidate the textbox when we empty
  5324. it (how had this not been discovered before?)
  5325. 2006-12-08 Jackson Harper <[email protected]>
  5326. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  5327. to behave like MS, we now ignore the eventargs.Click and just
  5328. track state ourself, which we were already doing anyways.
  5329. - Constrain the double click handler to the double click size.
  5330. 2006-12-08 Chris Toshok <[email protected]>
  5331. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  5332. direction if that scrollbar isn't shown. fixes bug #80158.
  5333. 2006-12-08 Andreia Gaita <[email protected]>
  5334. * NumericUpDown.cs: Update value on getter. Fixes #79950
  5335. 2006-12-08 Chris Toshok <[email protected]>
  5336. * MenuItem.cs: add back in the event cloning code. I didn't know
  5337. how to do it in the face of the EventHandlerList work i'd done
  5338. last week. Fixes bug #80183.
  5339. 2006-12-08 Jonathan Pobst <[email protected]>
  5340. * Control.cs: Add an invalidate to the BackgroundImage setter.
  5341. [Fixes 80184]
  5342. 2006-12-07 Jonathan Pobst <[email protected]>
  5343. * ToolStrip*: Add some small properties reported by MoMA, fix event
  5344. firing and default properties based off of unit tests, and add some
  5345. attributes based off of the class status page.
  5346. 2006-12-07 Jackson Harper <[email protected]>
  5347. * TextBoxBase.cs: Take HideSelection into account when determining
  5348. whether or not to show the selection.
  5349. * RichTextBox.cs: After inserting the RTF into the document move
  5350. the cursor to the beginning of the document.
  5351. 2006-12-07 Jonathan Pobst <[email protected]>
  5352. * Control.cs: Remove static ArrayList "controls" which maintained
  5353. a reference to every control created.
  5354. * Application.cs: Create a static FormCollection to maintain a reference
  5355. to every form created. Use it in places that formerly enumerated through
  5356. the controls one looking for forms.
  5357. * Form.cs: Add and remove self from above FormCollection.
  5358. 2006-12-07 Alexander Olk <[email protected]>
  5359. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  5360. not libgdk (though it makes me wonder why I didn't have any
  5361. problems)
  5362. 2006-12-07 Chris Toshok <[email protected]>
  5363. [ you had to know this was coming after that last commit...]
  5364. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  5365. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  5366. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  5367. XCopyArea).
  5368. 2006-12-07 Chris Toshok <[email protected]>
  5369. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  5370. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  5371. all the behavior we need for double buffering.
  5372. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  5373. client side Bitmap, just like the old Control-based double buffer
  5374. code did. The methods are virtual, so each XplatUI driver
  5375. subclass can replace the implementation to use a faster, platform
  5376. specific approach.
  5377. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  5378. double buffer code, and clean things up a bit in the process.
  5379. 2006-12-06 Chris Toshok <[email protected]>
  5380. * Control.cs: reindent WndProc.
  5381. 2006-12-06 Chris Toshok <[email protected]>
  5382. [ I wanna be like BenM when I grow up ]
  5383. * Hwnd.cs: create a single static Graphics object on the static
  5384. Bitmap we create. use this for our text measurements.
  5385. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  5386. This was causing us to allocate a backbuffer for every control,
  5387. even when it wasn't flagged as double buffered. Instead use the
  5388. single graphics instance. This might have implications for
  5389. multithreaded applications. If we run into problems we can switch
  5390. to creating 1 Graphics per control, on the static Hwnd bitmap.
  5391. this change nets us a 7M savings in private dirty mappings when
  5392. running FormsTest.exe.
  5393. 2006-12-06 Chris Toshok <[email protected]>
  5394. * ListView.cs: the BackgroundImage override is just to set
  5395. attributes. chain up to base.BackgroundImage.
  5396. * RichTextBox.cs: same.
  5397. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  5398. changes, so instead a handler for BackgroundImageChanged.
  5399. * Control.cs: make background_image private.
  5400. 2006-12-06 Chris Toshok <[email protected]>
  5401. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  5402. sure we even need this assignment, but roll with it for now.
  5403. * Control.cs: make the cursor field private.
  5404. 2006-12-06 Chris Toshok <[email protected]>
  5405. * Form.cs: we don't need to explicitly set ImeMode to
  5406. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  5407. behavior in the face of ImeMode.Inherit.
  5408. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  5409. change the ctor's assignment to use ImeMode instead of ime_mode.
  5410. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  5411. ImeModeInherit. Only check for the parent's imemode (and return
  5412. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  5413. This fixes the button unit test, which sets both ImeMode and
  5414. DefaultImeMode to ImeMode.Disable.
  5415. also make the ime_mode field private.
  5416. 2006-12-06 Chris Toshok <[email protected]>
  5417. * Control.cs: make control_style private.
  5418. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  5419. setting the styles to true, then setting them to false instead of
  5420. reverting to their previous values.
  5421. also, call SetStyle on the scrollbars instead of using
  5422. control_style directly.
  5423. 2006-12-06 Jonathan Pobst <[email protected]>
  5424. * FormCollection.cs: Implement. [2.0]
  5425. 2006-12-06 Chris Toshok <[email protected]>
  5426. * Control.cs: make tab_stop private.
  5427. * Label.cs: set TabStop, not tab_stop. reformat some event
  5428. add/remove methods to make them more compact.
  5429. 2006-12-06 Chris Toshok <[email protected]>
  5430. * RadioButton.cs: fix TabStop handling.
  5431. 2006-12-06 Chris Toshok <[email protected]>
  5432. * TextBox.cs: remove the explicit assignments to has_focus.
  5433. Control does that.
  5434. * ButtonBase.cs: remove the assignment to has_focus. Control will
  5435. manage that.
  5436. 2006-12-06 Chris Toshok <[email protected]>
  5437. * ButtonBase.cs: remove all uses of is_enabled from this code.
  5438. it's always true when any of the code containing the checks is
  5439. executed.
  5440. 2006-12-06 Chris Toshok <[email protected]>
  5441. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  5442. with different semantics (some are present in both 1.1 and 2.0
  5443. profiles) so that we match MS's behavior in our unit tests.
  5444. 2006-12-06 Jackson Harper <[email protected]>
  5445. * TextControl.cs: Make this operation undoable.
  5446. * TextBoxBase.cs: Factor the border width into the preferred
  5447. height.
  5448. - implement Modified as per the spec.
  5449. 2006-12-06 Chris Toshok <[email protected]>
  5450. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  5451. 2006-12-06 Chris Toshok <[email protected]>
  5452. * Control.cs: make right_to_left and context_menu fields private.
  5453. 2006-12-06 Chris Toshok <[email protected]>
  5454. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  5455. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  5456. Control.child_controls private. switch all uses over to
  5457. Control.Controls.
  5458. 2006-12-06 Chris Toshok <[email protected]>
  5459. * System.Windows.Forms/GroupBox.cs,
  5460. System.Windows.Forms/AccessibleObject.cs,
  5461. System.Windows.Forms/ErrorProvider.cs,
  5462. System.Windows.Forms/Control.cs,
  5463. System.Windows.Forms/UpDownBase.cs,
  5464. System.Windows.Forms/ScrollBar.cs,
  5465. System.Windows.Forms/DateTimePicker.cs,
  5466. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  5467. System.Windows.Forms/ToolTip.cs,
  5468. System.Windows.Forms/RadioButton.cs,
  5469. System.Windows.Forms/LinkLabel.cs,
  5470. System.Windows.Forms/Splitter.cs,
  5471. System.Windows.Forms/TextBoxBase.cs,
  5472. System.Windows.Forms/ToolStripTextBox.cs,
  5473. System.Windows.Forms/ContainerControl.cs,
  5474. System.Windows.Forms/ThemeWin32Classic.cs,
  5475. System.Windows.Forms/SizeGrip.cs,
  5476. System.Windows.Forms/ToolStripDropDown.cs,
  5477. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  5478. private. switch all uses over to Control.Parent.
  5479. 2006-12-06 Chris Toshok <[email protected]>
  5480. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  5481. Control does this before calling emitting these events.
  5482. * TabControl.cs: same.
  5483. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  5484. Control.client_rect.
  5485. * ButtonBase.cs: use the ClientSize property instead of the
  5486. client_size field.
  5487. * ScrollableControl.cs: same.
  5488. * Control.cs: another pass at making properties private. also,
  5489. move the initialization of tab_stop to the ctor.
  5490. 2006-12-05 Andreia Gaita <[email protected]>
  5491. * TabControl.cs: Let the selected index be set freely if the
  5492. control handle is not yet created.
  5493. 2006-12-05 Jonathan Pobst <[email protected]>
  5494. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  5495. internal until I can rewrite DefaultLayout.
  5496. * ToolStrip.cs: Fix build error and some general cleaning.
  5497. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  5498. Fix build errors caused by making some of Control's fields private.
  5499. 2006-12-05 Jackson Harper <[email protected]>
  5500. * TextControl.cs: Redo Insert a little so that it use IndexOf
  5501. instead of Split, this prevents it from messing up on things like
  5502. \n\n\n. Also more effecient since the split array doesn't need to
  5503. be created.
  5504. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  5505. multiline text differently, this is the first of many fixes that
  5506. will make multiline/non-multiline the same thing as far as the
  5507. TextBoxBase is concerned.
  5508. - Don't split the text and insert lines, this can lose some line
  5509. endings (like is the last line a soft or hard break). Instead use
  5510. the new Insert.
  5511. - Fix an off by one when combining all the lines in the Text
  5512. getter.
  5513. - Remove separate multiline handling from the Text getter/setter.
  5514. 2006-12-05 Chris Toshok <[email protected]>
  5515. * ButtonBase.cs: a few changes:
  5516. - don't reinitialize internal Control fields in the ctor when they
  5517. have the same values as Control sets them.
  5518. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  5519. this before calling those methods.
  5520. - we don't need to call Refresh for anything. use Invalidate
  5521. instead.
  5522. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  5523. calls Refresh in its OnEnabledChanged.
  5524. - several of the events we were registered for in the ctor to
  5525. redraw ourselves already include calls to Invalidate in the
  5526. property setters that raise the events. remove the extra
  5527. invalidation.
  5528. - reformat a switch statement that was 83274658 columns wide.
  5529. 2006-12-05 Mike Kestner <[email protected]>
  5530. * ComboBox.cs: fix a unit test regression from a TextBox
  5531. SelectionLength return of -1 when there's no selection.
  5532. 2006-12-05 Chris Toshok <[email protected]>
  5533. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  5534. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  5535. cleaning up some of the internal Control fields being used by
  5536. subclasses.
  5537. 2006-12-05 Mike Kestner <[email protected]>
  5538. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  5539. listbox after AddImplicit calls since it defaults to hidden. Add a
  5540. hack to preserve requested heights across DropDownStyle changes.
  5541. 2006-12-05 Jonathan Pobst <[email protected]>
  5542. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  5543. 2006-12-05 Chris Toshok <[email protected]>
  5544. * DataGridView.cs: fix compiler warnings.
  5545. * PrintControllerWithStatusDialog.cs: same.
  5546. * ToolBar.cs: same.
  5547. * FolderBrowserDialog.cs: same.
  5548. * Splitter.cs: same.
  5549. * DataGridViewComboBoxCell.cs: same.
  5550. * XplatUIWin32.cs: same.
  5551. * PictureBox.cs: same.
  5552. * Win32DnD.cs: same.
  5553. * PageSetupDialog.cs: same.
  5554. * FileDialog.cs: same.
  5555. * PrintDialog.cs: same.
  5556. * DataGridTextBoxColumn.cs: same.
  5557. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  5558. 2006-12-05 Chris Toshok <[email protected]>
  5559. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  5560. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  5561. System.ComponentModel.EventHandlerList work.
  5562. 2006-12-05 Jonathan Chambers <[email protected]>
  5563. * DrawTreeNodeEventArgs.cs: Added.
  5564. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  5565. * InternalWindowManager.cs: Remove an unused field.
  5566. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  5567. * InternalWindowManager.cs:
  5568. - Save the point where the title bar is clicked.
  5569. * MdiWindowManager.cs:
  5570. - Only allow moving of the window as long as the
  5571. clicked point on the title bar does not get out of
  5572. MdiClient's rectangle. Fixes #79982.
  5573. * MdiClient.cs:
  5574. - Added Horizontal/VerticalScrollbarVisible.
  5575. - Simplified the scrollbar sizing algorithm.
  5576. - Cache the difference in scrolled value in
  5577. H/VBarValueChanged and move the calculation out
  5578. of the for loop.
  5579. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  5580. * Control.cs: Make the Console.WriteLine in WndProc
  5581. write more info.
  5582. 2006-12-05 Chris Toshok <[email protected]>
  5583. * ToolStripManager.cs, ToolStripButton.cs,
  5584. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  5585. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  5586. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  5587. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  5588. ToolStripProgressBar.cs, ToolStripContainer.cs,
  5589. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  5590. to using System.ComponentModel.EventHandlerList.
  5591. 2006-12-04 Chris Toshok <[email protected]>
  5592. * LinkLabel.cs: fix up compiler warnings.
  5593. * TableLayoutSettings.cs: same.
  5594. * TreeView.cs: same.
  5595. * ToolBar.cs: same.
  5596. * TabControl.cs: same.
  5597. * RichTextBox.cs: same.
  5598. * ListViewItem.cs: same.
  5599. * PropertyGrid.cs: same.
  5600. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  5601. * ToolTip.cs same.
  5602. * TextRenderer.cs: fix up compiler warnings.
  5603. * Label.cs: same.
  5604. * Form.cs: corcompare fixes.
  5605. * PictureBox.cs: fix up compiler warnings.
  5606. * ImageListStreamer.cs: same.
  5607. * TrackBar.cs: corcompare fix.
  5608. * Control.cs: fix up compiler warnings.
  5609. * SplitterPanel.cs: same.
  5610. * NumericTextBox.cs: same.
  5611. * ImageList.cs: same.
  5612. * StatusStrip.cs: same.
  5613. * ProgressBar.cs: corcompare fix.
  5614. * ToolStripButton.cs: fix up compiler warnings.
  5615. * ToolStripStatusLabel.cs: same.
  5616. * ToolStripSplitButton.cs: same.
  5617. * ToolStripSeparator.cs: same.
  5618. * ToolStripProgressBar.cs: same.
  5619. * ToolStripDropDownMenu.cs: same
  5620. * ToolStripDropDown.cs: same.
  5621. * ToolStripDropDownButton.cs: same.
  5622. * ToolStrip.cs: same.
  5623. * ToolStripControlHost.cs: same.
  5624. * ToolStripContentPanel.cs: same.
  5625. * ToolStripDropDown.cs: same.
  5626. * ToolStripContainer.cs: same.
  5627. * ToolStripPanel.cs: same, and add "new" where we need it to work
  5628. with the new ArrangedElementCollection.
  5629. * ToolStripItemCollection.cs: add "new" where we need it to work
  5630. with the new ArrangedElementCollection.
  5631. 2006-12-04 Andreia Gaita <[email protected]>
  5632. * TabControl.cs: Fix default tab selection to after TabControl
  5633. gets focus and not before. Fixes #80128
  5634. 2006-12-04 Chris Toshok <[email protected]>
  5635. * DataGridTableStyle.cs: remove the gross calling of
  5636. datagrid.Refresh from here. It's a broken idea and it doesn't
  5637. work anyway.
  5638. * DataGrid.cs: instead, just register/unregister from the
  5639. DataGridTableStyle events in CurrentTableStyle. we play it
  5640. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  5641. even though some would most likely not require it. Fixes bug
  5642. #80115 (and one portion of #80117 as a side effect).
  5643. 2006-12-04 Chris Toshok <[email protected]>
  5644. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  5645. so the textbox (if any) goes away. Fixes bug #80117.
  5646. 2006-12-04 Chris Toshok <[email protected]>
  5647. * DataGridColumnStyle.cs: set the column's readonly property
  5648. initially based on the property descriptor's IsReadOnly. Fixes
  5649. bug #80044.
  5650. 2006-12-04 Chris Toshok <[email protected]>
  5651. * ComboBox.cs: wrap the dropdown style changing work in
  5652. SuspendLayout/ResumeLayout. Fixes bug #79968.
  5653. 2006-12-04 Jackson Harper <[email protected]>
  5654. * TextBoxBase.cs: Fix off by one, since these are one-based.
  5655. * TextBox.cs: Select all the text when we get focus. The TextBox
  5656. does this but the RTB does not.
  5657. 2006-12-04 Chris Toshok <[email protected]>
  5658. * DataGridTextBoxColumn.cs: remove some spew.
  5659. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  5660. but some part of me is saying "it shouldn't be here.." At any
  5661. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  5662. setting the value.
  5663. 2006-12-04 Chris Toshok <[email protected]>
  5664. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  5665. to reassign the propertydescriptor.
  5666. 2006-12-04 Jackson Harper <[email protected]>
  5667. * TextBoxBase.cs:
  5668. * TextControl.cs: Remove some unused variables. Maybe this will
  5669. patch things up between mike and I.
  5670. - don't split lines less then one char wide, if the viewport is
  5671. that small text won't be visible anyways.
  5672. 2006-12-04 Jackson Harper <[email protected]>
  5673. * TextBoxBase.cs: Default selection length is -1, need to do some
  5674. more testing on windows to see when this is used for the property.
  5675. - Redid the Lines [] property to that we properly remove soft line
  5676. breaks
  5677. - added support for preserving carriage returns
  5678. - CanUndo is not a variable like 'is undo enabled' it just returns
  5679. true if there is undo operations available.
  5680. - AppendText doesn't need to grab the last tag itself anymore,
  5681. this happens automatically when we move the cursor.
  5682. * TextControl.cs: Add CompoundActions to the undo class. This
  5683. allows combining the other operations into one big option. ie a
  5684. paste will combine { delete old, insert new, move cursor }
  5685. - Add InsertString undo operation
  5686. - New method for deleting multiline text
  5687. - Add carriage returns to lines. So we can preserve carriage
  5688. returns when text is 'roundtripped'
  5689. 2006-12-04 Chris Toshok <[email protected]>
  5690. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  5691. minimum 0. Fixes the scrollbar exception in bug #80136.
  5692. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  5693. * MdiClient.cs:
  5694. * MdiWindowManager: Removed unused fields and methods.
  5695. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  5696. * StatusBar.cs: Update all panels when a AutoSize=Contents
  5697. panel needs updating.
  5698. * StatusBarPanel.cs: Remove twidth and only use initialize.
  5699. Fixes #80031.
  5700. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  5701. * Form.cs: When a form's MdiParent is set add it directly
  5702. on top of the z-order in stead of relying on MdiClient's
  5703. ActivateChild to do it. Fixes #80135.
  5704. * MdiClient.cs:
  5705. - Remove original_order, mdi_child_list is already doing
  5706. the same thing.
  5707. - Create mdi_child_list on construction in
  5708. stead of first use (avoids a few null checks).
  5709. * MenuItem.cs: Use an already existing list of mdi children
  5710. to get the correct order of children and remove the other
  5711. redundant list.
  5712. 2006-12-04 Chris Toshok <[email protected]>
  5713. * PropertyGridView.cs: cached_splitter_location is only used in
  5714. !DOUBLEBUFFER code.
  5715. * PropertyGrid.cs: implement the ComComponentNameChanged event
  5716. using Events, hoping that would fix the warning. Looks like a
  5717. compiler bug instead (#80144).
  5718. * PropertyManager.cs: remove unused method.
  5719. 2006-11-04 Everaldo Canuto <[email protected]>
  5720. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  5721. include parentesis to fix expression evaluation. Fixes #79634.
  5722. 2006-11-02 Everaldo Canuto <[email protected]>
  5723. * MenuAPI.cs:
  5724. - Changes to fix behavior in Menu control, some reported in #80097
  5725. and other detected during behavior refactory like a select event
  5726. problems.
  5727. - Remove unneded "if's" conditions.
  5728. - Created an internal to flag when popup is active in control, we need
  5729. it because in .NET you can have menu active but without popup active
  5730. when you active menu using popup without visible items.
  5731. - Mimic win32 behavior for Select and Popup events.
  5732. - Dont open popup menu when you dont have visible subitems.
  5733. - Do nothing when click on disabled menu item.
  5734. - Some small changes to follow the coding style guidelines.
  5735. - Unselect menu only when another control gives focus. Fixes #80097.
  5736. - Remove unused code.
  5737. * MenuItem.cs: internal VisibleItems method to check if menu
  5738. theres visible subitems, it will be usefull to fix some
  5739. behavior in Menu control.
  5740. 2006-11-01 Everaldo Canuto <[email protected]>
  5741. * Timer.cs: Tag property for 2.0 profile.
  5742. 2006-12-01 Chris Toshok <[email protected]>
  5743. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  5744. * Win32DnD.cs: comment out some unused fields.
  5745. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  5746. some unused properties/methods.
  5747. * XplatUIX11.cs: fix MousePosition so we override the base class's
  5748. property instead of conflicting with it.
  5749. * PictureBox.cs: comment out some unused fields
  5750. * OSXStructs.cs: make some struct fields public.
  5751. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  5752. MousePosition so we override the base class's property instead of
  5753. conflicting with it.
  5754. * X11Dnd.cs: comment out some unused fields
  5755. * X11DesktopColors.cs: fix some struct field visibility to quiet
  5756. the compiler.
  5757. * X11Dnd.cs: remove some debug code.
  5758. * ThemeClearlooks.cs: comment out unused field.
  5759. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  5760. * ThemeGtk.cs: comment out some unused pinvokes.
  5761. * Timer.cs: remove some unused fields.
  5762. * ThemeClearlooks.cs: comment out unused field.
  5763. * UpDownBase.cs: comment out unused field.
  5764. * DataObject.cs: comment out unused field.
  5765. * DataGridBoolColumn.cs: reomve unused field.
  5766. * DataGrid.cs: remove unused field.
  5767. * Cursor.cs: remove old ToBitmap code.
  5768. * ControlPaint.cs: remove unused method.
  5769. * ScrollBar.cs: remove unused fields.
  5770. * ComboBox.cs: remove unused field, and chain up to
  5771. AccessibleObject ctor.
  5772. * ListBox.cs: remove unused field.
  5773. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  5774. * GridEntry.cs: remove unused fields.
  5775. * Binding.cs: remove unused fields.
  5776. * AxHost.cs: remove unused method.
  5777. * ContainerControl.cs: remove unused field.
  5778. * ScrollableControl.cs: remove unused fields.
  5779. 2006-12-01 Chris Toshok <[email protected]>
  5780. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  5781. the Where/WhereString stuff. it's easy enough to CWL
  5782. Environment.StackTrace.
  5783. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  5784. unused private fields.
  5785. 2006-12-01 Jackson Harper <[email protected]>
  5786. * TextControl.cs: Do not update the view while inserting multiline
  5787. text. If we update the view we might wrap lines, before entering
  5788. the new lines, which causes the new line insertion calculations to
  5789. be totally fubared.
  5790. - Remove an old TODO
  5791. - Make debug output a little nicer
  5792. 2006-12-01 Chris Toshok <[email protected]>
  5793. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  5794. 2006-12-01 Chris Toshok <[email protected]>
  5795. [ fix the majority of the CS0108 warnings we've been suppressing ]
  5796. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  5797. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  5798. to "LayoutToolBar" to quiet mcs.
  5799. * TabControl.cs: mark our ControlCollection class as 'new'.
  5800. * TextBoxBase.cs: mark some events as 'new'.
  5801. * Splitter.cs: TabStop is 'new'.
  5802. * ControlBindingsCollection.cs: mark a few methods as new since
  5803. they change the visibility from protected to public.
  5804. * RadioButton.cs: DoubleClick -> base class, and remove unused
  5805. HaveDoubleClick.
  5806. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  5807. events as new.
  5808. * NumericUpDown.cs: TextChanged -> base class.
  5809. * CheckedListBox.cs: mark our ObjectCollection class as new to
  5810. quiet mcs.
  5811. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  5812. muck with the base class.
  5813. * StatusBar.cs: fix some mcs warnings about Update being the same
  5814. name as a base class method.
  5815. * RichTextBox.cs: mark some events as new, and make them do things
  5816. to the base class impl.
  5817. * UserControl.cs: mark TextChanged as new, and have it manipulate
  5818. base.TextChanged.
  5819. * UpDownBase.cs: mark some things new.
  5820. * CheckBox.cs: mark DoubleClick "new", and add some text about
  5821. what we need to look at.
  5822. * Panel.cs: make the events "new", and manipulate the base
  5823. version. these are just here for attributes.
  5824. * AccessibleObject.cs: make owner private.
  5825. * Control.cs: deal with AccessibleObject.owner being private.
  5826. cache our own copy if we need it.
  5827. * Button.cs: add "new" to the DoubleClickEvent.
  5828. * ListBox.cs: no need to track our own has_focus here. let
  5829. Control.has_focus do it for us. Also some other work to clear up
  5830. warnings about not overriding base class methods of the same name.
  5831. * ComboBox.cs: clear up some warnings about not override base
  5832. class methods of the same name.
  5833. 2006-12-01 Chris Toshok <[email protected]>
  5834. * Form.cs: flag a few things as "new" to quiet some of the mcs
  5835. warnings.
  5836. * AxHost.cs: same.
  5837. * PrintPreviewDialog.cs: same.
  5838. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  5839. now DGV isn't so horrible on the class status page. also, move
  5840. all events to using System.ComponentModel.EventHandlerList. my
  5841. wrists hurt.
  5842. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  5843. * MdiWindowManager.cs:
  5844. - Set form to active mdi child if shown,
  5845. and update the active mdi child to the next
  5846. remaining child in the z-order if the form is hidden.
  5847. * Form.cs:
  5848. - Track if the form has been visible and if its
  5849. visibility is beeing changed, so that the MdiClient
  5850. can properly decide the ActiveMdiChild. The MdiClient
  5851. cannot track this since the form can change visibility
  5852. before MdiClient is created.
  5853. * MdiClient.cs:
  5854. - Don't activate anything of the parent form is changing
  5855. its visibility.
  5856. - Rework ActiveMdiChild to only return visible mdi
  5857. children and take into account several other corner
  5858. cases.
  5859. 2006-12-01 Chris Toshok <[email protected]>
  5860. * IBindableComponent.cs: new 2.0 interface.
  5861. 2006-12-01 Gert Driesen <[email protected]>
  5862. * DataGrid.cs: Font for caption area is bold by default.
  5863. 2006-12-01 Everaldo Canuto <[email protected]>
  5864. * Menu.cs: Tag property for 2.0.
  5865. 2006-11-01 Everaldo Canuto <[email protected]>
  5866. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  5867. 2006-12-01 Chris Toshok <[email protected]>
  5868. * TreeView.cs: doh, the Begin* events should be
  5869. TreeViewCancelEventHandler.
  5870. 2006-12-01 Chris Toshok <[email protected]>
  5871. * Form.cs: Form.ControlCollection already stores off the
  5872. form_owner field. don't access the base class's internal "owner"
  5873. field.
  5874. * Control.cs: make all the fields in Control.ControlCollection
  5875. private. there's no need for any internal fields here.
  5876. 2006-12-01 Chris Toshok <[email protected]>
  5877. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  5878. OnHandleCreated. Fixes bug #80109.
  5879. 2006-12-01 Chris Toshok <[email protected]>
  5880. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  5881. SplitContainer.cs, Control.cs, StatusStrip.cs,
  5882. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  5883. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  5884. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  5885. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  5886. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  5887. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  5888. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  5889. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  5890. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  5891. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  5892. do most of the work to convert our code over to use
  5893. System.ComponentModel.Component.Events for
  5894. adding/removing/dispatching events.
  5895. 2006-11-30 Jonathan Pobst <[email protected]>
  5896. * DataGridView.cs: Fix an ArgumentNullException reported
  5897. twice today in IRC.
  5898. 2006-11-30 Mike Kestner <[email protected]>
  5899. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  5900. grabbed listbox. Fixes #80036 and #80101.
  5901. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  5902. * Message.cs: Changed ToString() to match MS.
  5903. 2006-11-30 Jackson Harper <[email protected]>
  5904. * TextBoxBase.cs: You can still change the selected text on a read
  5905. only textbox.
  5906. * TextControl.cs: Lower magic number for wrap calculations. This
  5907. lets text get closer to the right (far) edge.
  5908. 2006-11-30 Jonathan Pobst <[email protected]>
  5909. * Control.cs: Tweak 2.0 layout properties.
  5910. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  5911. * TextRenderer.cs: Add a new overload.
  5912. * ToolStrip*: Huge amount of changes and new features.
  5913. 2006-11-30 Mike Kestner <[email protected]>
  5914. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  5915. scroll range correct. Fixes #79994.
  5916. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  5917. * MdiWindowManager.cs: Update main form's text when
  5918. a form is closed. (fixes #80038)
  5919. 2006-11-30 Everaldo Canuto <[email protected]>
  5920. * ToolBar.cs:
  5921. - Fix an regression in ButtonSize.
  5922. - Get ImeMode default value change to "Disable".
  5923. - Get ShowTooltips default value change to true, default value is
  5924. "false" but after make a test in .NET we get "true" result as default.
  5925. 2006-11-29 Jonathan Pobst <[email protected]>
  5926. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  5927. 2006-11-29 Chris Toshok <[email protected]>
  5928. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  5929. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  5930. SetWindowTransparency hasn't been called.
  5931. 2006-11-29 Chris Toshok <[email protected]>
  5932. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  5933. if it's supported.
  5934. (set_AllowTransparency): reorder things a little so that the
  5935. WS_EX_LAYERED style is removed properly.
  5936. 2006-11-29 Chris Toshok <[email protected]>
  5937. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  5938. * Form.cs: only call the XplatUI transparency method (get/set) if
  5939. SupportsTransparency says it's supported. Otherwise fallback to
  5940. doing nothing (in the set case) or returning the instance field we
  5941. cache (in the get case).
  5942. * XplatUIStructs.cs: add TransparencySupport flag enum.
  5943. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  5944. change to SupportsTransparency.
  5945. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  5946. TransparencySupport.None from SupportsTransparency.
  5947. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  5948. TransparencySupport.Set from SupportsTransparency.
  5949. * XplatUIWin32.cs: implement GetWindowTransparency calling
  5950. GetLayeredWindowAttributes, and implement SupportsTransparency by
  5951. checking whether or not both
  5952. GetWindowTransparency/SetWindowTransparency are available
  5953. entrypoints. We need to do this since SetWindowTransparency is
  5954. available as of win2k, but GetWindowTransparency requires winxp.
  5955. yay win32 api.
  5956. * XplatUI.cs: Add GetWindowTransparency, and change
  5957. SupportsTransparency to allow for either/both Get/Set.
  5958. 2006-11-29 Chris Toshok <[email protected]>
  5959. * DataGrid.cs: keep from going into an infinite loop redrawing a
  5960. datagrid that has no datasource. Fixes bug #80033.
  5961. 2006-11-29 Chris Toshok <[email protected]>
  5962. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  5963. Invalidate) before the mainmenu has been assigned to a control.
  5964. 2006-11-29 Chris Toshok <[email protected]>
  5965. * DataGrid.cs: detect when we should be double the double click
  5966. row/column autosize stuff, although that codepath has yet to be
  5967. written. part of the work for bug #79891.
  5968. 2006-11-29 Chris Toshok <[email protected]>
  5969. * Binding.cs (SetControl): fix unit test.
  5970. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  5971. * PageSetupDialog.cs: Validate the margins and set them in
  5972. PageSettings.
  5973. * NumericTextBox.cs: New class to mimic the behavior of the
  5974. textboxes used in the printing dialogs.
  5975. 2006-11-29 Andreia Gaita <[email protected]>
  5976. * Form.cs: Revert previous change (remove call UpdateBounds
  5977. from form constructor), because it messes with the handle creation
  5978. order, and that one needs lots and lots of love.
  5979. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  5980. for valid printer and throw InvalidPrinterException if document
  5981. is set but printer not valid), adding a MonoTODO. Once
  5982. handle creation is done properly, we can put this back in.
  5983. 2006-11-28 Everaldo Canuto <[email protected]>
  5984. * MenuItem.cs: Create a invalidate method for menu item, to be
  5985. calling from set text, it make text changes to imadiate update
  5986. on screen. Fixes #80013.
  5987. 2006-11-28 Everaldo Canuto <[email protected]>
  5988. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  5989. fixes bug #80070 and some other problem on toolbar buttons
  5990. layout.
  5991. 2006-11-28 Everaldo Canuto <[email protected]>
  5992. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  5993. with dotted brush. Fixes #79564
  5994. 2006-11-28 Andreia Gaita <[email protected]>
  5995. * Form.cs: Removed call to UpdateBounds on Form
  5996. constructor, it was causing a call to CreateHandle
  5997. before it was supposed to.
  5998. * PrintControllerWithStatusDialog: Applied patch
  5999. by Chris Toshok to hide controller when there are
  6000. no printers available.
  6001. PrintDialog.cs: initialize printer settings to
  6002. null - correct DefaultValues test #5
  6003. * PrintPreviewControl.cs: Move PrintController
  6004. initialization to GeneratePreview
  6005. * PrintPreviewDialog.cs:
  6006. - Remove Preview generation from Document_set(). It is
  6007. called on OnPaint
  6008. - Throw InvalidPrinterException on CreateHandle if
  6009. a Document is set but there are no printers or
  6010. printer is not valid.
  6011. * ThemeWin32Classic: don't paint PrintPreviewControl
  6012. if there is nothing to paint
  6013. 2006-11-28 Miguel de Icaza <[email protected]>
  6014. * Form.cs: Add another popular method.
  6015. * TabPage.cs: ditto.
  6016. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  6017. * MenuItem.cs: Fixed a warning.
  6018. * InternalWindowManager: Fixed a warning.
  6019. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  6020. * MenuItem.cs:
  6021. - When cloning a menu also clone MdiList and clone the
  6022. window menu items properly (as the forms and menuitems
  6023. are kept in an internal hashtable, these need updating
  6024. as well)
  6025. - Rewrote the window menu code, menu items are added in the
  6026. order the forms were added to their parent, and they are
  6027. updated every time the window menu is shown (before the
  6028. list was only generated once, in the current order of the
  6029. forms, and would never be updated). A checkmark is shown
  6030. next to the item corresponding to the active mdi child.
  6031. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  6032. * XplatUIStructs.cs:
  6033. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  6034. * XplatUIWin32.cs:
  6035. - Added TME_NONCLIENT to TMEFlags.
  6036. - Handles WM_NCMOUSEMOVE in GetMessage to
  6037. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  6038. * MdiWindowManager:
  6039. - Now merges mdi child menu to parent menu when maximized.
  6040. - Recalculate NC areas of both mdi child and mdi parent.
  6041. Fixes #79757 (4).
  6042. on window state and size changes.Fixes #79844 (3).
  6043. - Handle WM_NCCALCSIZE to properly calculate borders.
  6044. * Form.cs:
  6045. - Add/remove to the mdi containers list of mdi children
  6046. in the order they are added.
  6047. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  6048. to the maximized mdi child.
  6049. * InternalWindowManager.cs:
  6050. - Only execute a click on the control buttons on the mouse up,
  6051. not on the mouse down. Show the state of the button
  6052. (was only showing Normal state, never Pressed state). The
  6053. pressed button now follows the mouse (if you click the Close
  6054. button and move the mouse over the Maximize button, the
  6055. Maximize button will be shown as pressed). Since Win32 does
  6056. not generate WM_NCLBUTTONUP if you release the button outside
  6057. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  6058. it as a mouse up.
  6059. * ThemeWin32Classic.cs:
  6060. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  6061. * MdiClient.cs:
  6062. - Added a list of forms which contains the order the forms are
  6063. added to the mdi parent.
  6064. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  6065. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  6066. - If the active form changes set the scrollbars to the top
  6067. of the Z order, otherwise the form could hide them.
  6068. - Scrollbars are now sized according to ClientSize, not
  6069. to Size, and they take into account the other scrollbar
  6070. to determine maximum.
  6071. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  6072. * XplatUI.cs:
  6073. * XplatUIDriver.cs:
  6074. * XplatUIX11.cs:
  6075. * XplatUIWin32.cs:
  6076. * XplatUIOSX.cs:
  6077. - Added RequestAdditionalWM_NCMessages for windows to
  6078. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  6079. Currently only implemented in XplatUIWin32.
  6080. 2006-11-27 Chris Toshok <[email protected]>
  6081. * Hwnd.cs: only add the hwnd to the windows hash in
  6082. set_WholeWindow and set_ClientWindow if whole_window/client_window
  6083. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  6084. 2006-11-27 Mike Kestner <[email protected]>
  6085. * ComboBox.cs: remove redundant OnDropDown call. It is called
  6086. from the ComboListBox.ShowWindow code. Fixes #79969.
  6087. 2006-11-27 Chris Toshok <[email protected]>
  6088. * Hwnd.cs: remove the setters for ExposePending and
  6089. NCExposePending - noone uses them.
  6090. 2006-11-27 Jackson Harper <[email protected]>
  6091. * TextControl.cs: new param for ReplaceSelection which determines
  6092. whether we select the new selection, or set the cursor to the end
  6093. of the new selection.
  6094. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  6095. pasting, select the new text.
  6096. * RichTextBox.cs: Use new param for ReplaceSelection.
  6097. 2006-11-27 Jackson Harper <[email protected]>
  6098. * TextBoxBase.cs: Set the selection to the caret after the caret
  6099. is moved, otherwise they get out of sync.
  6100. 2006-11-26 Everaldo Canuto <[email protected]>
  6101. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  6102. it fixes #80015
  6103. 2006-11-26 Everaldo Canuto <[email protected]>
  6104. * ThemeWin32Classic.cs:
  6105. - Fix toolbar drop down arrow position.
  6106. - Fix drop down appearance when ToolBar.Appearance is normal,
  6107. it fixes #80018.
  6108. 2006-11-26 Gert Driesen <[email protected]>
  6109. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  6110. * Control.cs: Same.
  6111. * UpDownBase.cs: Same.
  6112. * ButtonBase.cs: Same.
  6113. * ScrollBar.cs: Same.
  6114. * TrackBar.cs: Same.
  6115. * PictureBox.cs: Same.
  6116. * UserControl.cs: Same.
  6117. * Label.cs: Same.
  6118. * ListControl.cs: Same.
  6119. * TextBoxBase.cs: Same.
  6120. * ListView.cs: Same.
  6121. * RichTextBox.cs: Same.
  6122. * TreeView.cs: Same.
  6123. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  6124. * PrintDialog.cs:
  6125. - Text label for where
  6126. - Text label comment was not shown
  6127. 2006-11-23 Everaldo Canuto <[email protected]>
  6128. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  6129. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  6130. * InternalWindowManager.cs:
  6131. - Handle WM_PARENTNOTIFY to activate the form
  6132. if any child control is clicked.
  6133. - The form is only sizable if not minimized.
  6134. * MdiWindowManager.cs:
  6135. - Save the IconicBounds if the form is moved.
  6136. - Rework SetWindowState, now the window bounds
  6137. are stored only if the old window state is Normal.
  6138. * MdiClient.cs:
  6139. - In SetWindowStates store the old window state if
  6140. the window is maximized and restore window state if
  6141. the window looses focus.
  6142. - Don't handle any scrollbar value changes if
  6143. initializing the scroll bars. Fixes #79771.
  6144. - Reworked ArrangeIconicWindows. Current algorithm
  6145. tests bounds agains all other minimized windows, if
  6146. any intersections create new bounds (going left to
  6147. right, bottom to top) and then test again. When
  6148. successful the bounds are saved and never computed
  6149. again. Fixes #79774.
  6150. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  6151. * InternalWindowManager.cs: Added HandleTitleBarUp.
  6152. 2006-11-23 Gert Driesen <[email protected]>
  6153. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  6154. hexadecimal in ParseUserEdit.
  6155. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  6156. * MdiWindowManager.cs:
  6157. - Handle a click on the form's icon to show the
  6158. system menu (when maximized). Fixes #79775.
  6159. - Change the existing click handler for the form's
  6160. icon when not maximized to show on MouseUp.
  6161. Fixes #79776.
  6162. * Form.cs: In OnResize only layout the mdi child's
  6163. parent if it actually has a parent. Might not if
  6164. the window is closing.
  6165. 2006-11-23 Gert Driesen <[email protected]>
  6166. * MdiClient.cs: Ignore active MDI client for text of parent, if
  6167. child has no text set.
  6168. 2006-11-23 Gert Driesen <[email protected]>
  6169. * ToolBar.cs: Fixed ToString to match MS.
  6170. 2006-11-22 Andreia Gaita <[email protected]>
  6171. * NumericUpDown:
  6172. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  6173. update inner values on set. Fixes #79966.
  6174. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  6175. - Fix hexadecimal parsing.
  6176. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  6177. parent. Fixes #79957
  6178. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  6179. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  6180. the actual size has to be queried, since if height /
  6181. width is negative Win32 changes it to 0.
  6182. Fixes #79999 on Windows.
  6183. * XplatUIX11.cs: Set height / width to 0 if negative
  6184. in SetWindowPos. Fixes #79999 on Linux.
  6185. 2006-11-22 Everaldo Canuto <[email protected]>
  6186. * ThemeWin32Classic.cs: Fix text redenring when button is
  6187. pressed.
  6188. 2006-11-22 Everaldo Canuto <[email protected]>
  6189. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  6190. and later navigate by mouse. Fixes #79528.
  6191. 2006-11-21 Everaldo Canuto <[email protected]>
  6192. * ToolBar.cs: Set default value for TabStop to false in
  6193. constructor, it fixes remaining behavior of bug #79863.
  6194. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  6195. * MdiWindowManager.cs:
  6196. * InternalWindowManager.cs:
  6197. - Moved a few methods specific to Mdi from
  6198. InternalWindowManager to MdiWindowManager.
  6199. Fixes #79996.
  6200. 2006-11-21 Chris Toshok <[email protected]>
  6201. * XplatUIOSX.cs: stub out InvalidateNC.
  6202. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  6203. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  6204. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  6205. * XplatUIDriver.cs: add InvalidateNC abstract method.
  6206. * XplatUI.cs: add InvalidateNC.
  6207. 2006-11-21 Everaldo Canuto <[email protected]>
  6208. * ToolBar.cs: Invalidate complete button area when pressed status
  6209. was changed.
  6210. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  6211. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  6212. by 1 when button is pressed.
  6213. 2006-11-20 Everaldo Canuto <[email protected]>
  6214. * ToolButton.cs: Invalidate middle of DropDown button when
  6215. ToolBar theres DropDownArrows.
  6216. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  6217. fix DropDown drawing operations.
  6218. 2006-11-20 Chris Toshok <[email protected]>
  6219. * NativeWindow.cs: fix the formatting of functions ('{' on the
  6220. following line), and enable the thread exception dialog.
  6221. * Application.cs: remove the duplicate exception catching from
  6222. here.
  6223. 2006-11-20 Everaldo Canuto <[email protected]>
  6224. * Toolbar.cs: Triggers button click event when click on icon
  6225. of dropdown ToolBarButton. Fixes #79912.
  6226. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  6227. * Theme.cs:
  6228. * ThemeWin32Classic.cs:
  6229. - Added a property WindowBorderFont to enable themeing
  6230. of mdi child windows' Text.
  6231. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  6232. * InternalWindowManager.cs:
  6233. * Form.cs:
  6234. * MdiClient.cs:
  6235. * MdiWindowManager.cs:
  6236. - If mdi child is maximized, set mdi parent's
  6237. text to "Parent - [Child]". Fixes #79770.
  6238. - If there is any maximized mdi child windows, only the active
  6239. window (and any new windows) is maximized, the rest are normal.
  6240. - On a WindowState change only save mdi child's window bounds
  6241. if the old window state was normal. Fixes #79774.
  6242. - The scroll bars are now calculated on hopefully all
  6243. necessary events. Fixed #79771 / #79844->6 / #79906.
  6244. - MdiClient.SizeScrollBars() now takes into account docked
  6245. controls in the parent when calculating available space.
  6246. - InternalWindowManager now always repaints the entire title
  6247. area. Fixes #79844->1/4/5.
  6248. - Added RequestNCRecalc on mdi child windowstate changes.
  6249. Fixes #79772.
  6250. 2006-11-20 Mike Kestner <[email protected]>
  6251. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  6252. in the MouseUp handler of the listbox and move the return handling
  6253. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  6254. 2006-11-20 Everaldo Canuto <[email protected]>
  6255. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  6256. 2006-11-17 Alexander Olk <[email protected]>
  6257. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  6258. working in 1.2.x anymore. So, updated.
  6259. 2006-11-19 Gert Driesen <[email protected]>
  6260. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  6261. NumberGroupSeparator of current culture instead of assuming en-US.
  6262. Fixed bug #79967.
  6263. 2006-11-17 Mike Kestner <[email protected]>
  6264. * Control.cs: Add the concept of implicit bounds setting so that
  6265. dock/undock round trips preserve explicitly set size/locations.
  6266. Fixes #79313.
  6267. 2006-11-17 Alexander Olk <[email protected]>
  6268. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  6269. can't handle those filters. (Fixes bug #79961)
  6270. 2006-11-17 Chris Toshok <[email protected]>
  6271. [ fixes the exit/crashes associated with #79835. it's clearly
  6272. suboptimal though, we need to figure out a better way to solve
  6273. this. ]
  6274. * PrintPreviewControl.cs: deal with the new invalid printer
  6275. exceptions.
  6276. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  6277. and return false (so CommonDialog.ShowDialog doesn't actually show
  6278. the form.)
  6279. * PrintDialog.cs: enable/disable the Ok button depending on
  6280. whether or not the printer is valid.
  6281. * CommonDialog.cs (ShowDialog): only actually show the form if
  6282. RunDialog returns true.
  6283. 2006-11-17 Jackson Harper <[email protected]>
  6284. * TextControl.cs: When soft splitting a line, mark it as a soft
  6285. split line. Also carry over the current line break to the next
  6286. line.
  6287. 2006-11-17 Chris Toshok <[email protected]>
  6288. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  6289. only want to shift the part of the invalid area that overlaps the
  6290. area we're scrolling. we also don't want to clear the invalid
  6291. area unless the invalid area was entirely contained within the
  6292. scrolling area.
  6293. 2006-11-16 Chris Toshok <[email protected]>
  6294. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  6295. also make sure to free the memory returned by XGetWindowProperty
  6296. in GetText().
  6297. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  6298. 2006-11-16 Chris Toshok <[email protected]>
  6299. * XplatUI.cs: add a new super secret way to get at the totally
  6300. unsupported X11 backend.
  6301. 2006-11-16 Gert Driesen <[email protected]>
  6302. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  6303. 2006-11-16 Jackson Harper <[email protected]>
  6304. * TreeView.cs: Allow more explicit setting of top node position
  6305. for scrollbars. Slower algo, but more accurate.
  6306. - CollapseAll should maintain the current top node.
  6307. * TextBoxBase.cs: When positioning the caret, use the line, pos
  6308. method, since the x, y method does not grab the correct tag, and
  6309. the caret height never gets set correctly. (Maybe I should just do
  6310. away with the caret having its own height, and always use the
  6311. carets current tag for height).
  6312. 2006-11-16 Jonathan Pobst <[email protected]
  6313. [Fixes 79778, 79923]
  6314. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  6315. Parent to the FosterParent instead.
  6316. 2006-11-16 Jackson Harper <[email protected]>
  6317. * TreeView.cs: Need to recalc the topnode when we expand or
  6318. collapse. The scrolling methods can't handle this on their own,
  6319. since they use differences between the last scroll position, and
  6320. those difference get completely messed up since we are expanding
  6321. nodes. This problem should probably be fixed in the scrolling
  6322. methods, so they can figure out exactly where they are, but this
  6323. will slow things down a little.
  6324. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  6325. strings, makes nunit-gui look a lot nicer.
  6326. 2006-11-16 Chris Toshok <[email protected]>
  6327. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  6328. the broken multithreaded event handling we have in here. File
  6329. this entry under "Why we should move to the new X11 backend".
  6330. Any thread can make it into UpdateMessageQueue, which gets events
  6331. from the X socket - some of which could belong to hwnds being
  6332. managed by a different thread. We can also have multiple threads
  6333. in UpdateMessageQueue at the same time, with each one reading from
  6334. the X socket. This leads to many problems, with the following
  6335. solutions:
  6336. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  6337. EnqueueLocked.
  6338. The MotionNotify compression we do can't work across threads
  6339. (without locking the entire queue, perhaps) since we call
  6340. hwnd.Queue.Peek, so we just punt and don't compress motion events
  6341. unless the owning thread is the one which got the X event.
  6342. ConfigureNotify is another fun one, since it modifies the hwnd's
  6343. bounds and then enqueues the event. We add a lock to Hwnd which
  6344. is held when setting configure_pending to true (and enqueuing the
  6345. event).
  6346. There is a race wrt the wake socket. we need to make sure that
  6347. only 1 thread is waiting on that socket, or else a thread could
  6348. sleep waiting for data that never comes. It's difficult (but not
  6349. impossible) to make happen, because it seems to require something
  6350. like the following:
  6351. 1. Thread 1 polls on wake_receive
  6352. 2. poll returns saying there's data to be read on
  6353. wake_receive.
  6354. 3. Thread 2 polls on wake_receive and immediately returns
  6355. saying there's data to be read.
  6356. 4. Thread 2 reads the wakeup byte from wake_receive
  6357. 5. Thread 1 attempts to read the wakeup byte from
  6358. wake_receive.
  6359. 6. Thread 2 exits (due to a form closing, perhaps).
  6360. 7. Thread 1 blocks forever.
  6361. Fun, eh?
  6362. Fixing the Expose handling isn't done yet, and the races inherent
  6363. in that piece of code are responsible for the drawing mistakes you
  6364. see when generating expose events in a MT app (like NPlot). This
  6365. one is the likely to be the hardest to bandaid, and it doesn't
  6366. appear to cause anything but drawing problems. The other issues
  6367. caused apps to exit or hang.
  6368. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  6369. called from a different thread than the one that should be calling
  6370. these functions.
  6371. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  6372. 2006-11-15 Chris Toshok <[email protected]>
  6373. * Application.cs: null out the context's MainForm when we exit
  6374. RunLoop. Fixes a newly checked in unit test as well as the last
  6375. ODE from bug #79933.
  6376. 2006-11-15 Chris Toshok <[email protected]>
  6377. * Form.cs (set_Owner): allow a null value so we can clear the
  6378. form's owner.
  6379. (Dispose): set all our owned_form's Owner properties to null, and
  6380. clear the owned_forms collection.
  6381. (WM_CLOSE): clean up this a little bit.. still not right though.
  6382. * ApplicationContext.cs: OnMainFormClosed should only call
  6383. ExitThreadCore if the main form isn't recreating. Fixes unit
  6384. test.
  6385. 2006-11-15 Jonathan Pobst <[email protected]>
  6386. [Fixes 78346]
  6387. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  6388. 2006-11-15 Jonathan Pobst <[email protected]>
  6389. [Fixes 79433]
  6390. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  6391. keep popup window types from stealing focus from the main form
  6392. on Windows.
  6393. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  6394. * MenuAPI.cs: Set above flag to true.
  6395. 2006-11-15 Chris Toshok <[email protected]>
  6396. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  6397. the button being released is not in wParam.
  6398. 2006-11-15 Jonathan Pobst <[email protected]>
  6399. * Form.cs: Add the released button to MouseEventArgs.Button
  6400. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  6401. on Win32.
  6402. 2006-11-15 Chris Toshok <[email protected]>
  6403. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  6404. GetText(). untested because it's unused in our implementation.
  6405. Control.Text always caches the text, even if
  6406. ControlStyles.CacheText is not set.
  6407. fixes bug #79939.
  6408. 2006-11-15 Chris Toshok <[email protected]>
  6409. [ fixes #79933 ]
  6410. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  6411. message. no hiding, no disposing.
  6412. in the WM_CLOSE handler, hide the form if it's modal.
  6413. 2006-11-15 Chris Toshok <[email protected]>
  6414. * XplatUIX11.cs: use AddExpose instead of sending a message.
  6415. fixes textbox border drawing.
  6416. 2006-11-15 Chris Toshok <[email protected]>
  6417. * PropertyGridView.cs: keep from crashing on mouse move/down when
  6418. the property grid is empty.
  6419. 2006-11-14 Jackson Harper <[email protected]>
  6420. * TextControl.cs: Make PageUp and PageDown more like the MS
  6421. versions.
  6422. * TextBoxBase.cs: When we set the text property position the
  6423. cursor at the beginning of the document.
  6424. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  6425. * Form.cs: if a mdi child's WindowState has changed
  6426. before it's creation, it would display wrong control
  6427. buttons.
  6428. 2006-11-14 Alexander Olk <[email protected]>
  6429. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  6430. (Fixes bug #79927)
  6431. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  6432. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  6433. the window gets to paint its borders even if the window is
  6434. getting smaller.
  6435. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  6436. otherwise the old control buttons would still be painted
  6437. if the window gets bigger.
  6438. * PaintEventArgs.cs: add an internal method so that the clip
  6439. rectangle can be changed.
  6440. 2006-11-13 Chris Toshok <[email protected]>
  6441. [ fixes bug #79745 ]
  6442. * NotifyIcon.cs: lots of cleanup.
  6443. * X11Structs.cs: add an enum for XEMBED messages.
  6444. * XplatUIX11.cs: reindent one of the giant switch statements, it
  6445. was taking up an additional tab stop, and this file is already way
  6446. too wide for my laptop's screen.
  6447. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  6448. we get it, resize the hwnd to the WMNormalHints max_width/height.
  6449. 2006-11-13 Jackson Harper <[email protected]>
  6450. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  6451. teh simple way.
  6452. 2006-11-13 Chris Toshok <[email protected]>
  6453. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  6454. #79898. force a reference to the Region to stick around so the
  6455. unmanaged object isn't collected (rendering our handle in the MSG
  6456. stale).
  6457. 2006-11-13 Chris Toshok <[email protected]>
  6458. * XplatUIX11.cs: fix #79917 for window managers which support
  6459. using XStoreName on the raw utf8, and we need to convert to
  6460. COMPOUND_TEXT if it's non-latin1.
  6461. 2006-11-13 Chris Toshok <[email protected]>
  6462. * Form.cs (set_DialogResult): we need to set closing to false if
  6463. we're setting our result to None. fixes bug #79908.
  6464. 2006-11-13 Jackson Harper <[email protected]>
  6465. * TextControl.cs: When formatting text, compute the adjusted tag
  6466. lengths correctly, using FindTag for the end tag instead of trying
  6467. to figure it out outselves.
  6468. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  6469. the item, ItemHeight doesn't work, because trees with large
  6470. imagelists use those for their height
  6471. * TreeView.cs: ActualItemHeight factors in the image height
  6472. - compute left edge of checkboxes correctly
  6473. - when expanding/collapsing move the bottom down one pixel, so we
  6474. aren't moving part of the node
  6475. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  6476. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  6477. stack in PaintEventStart so that it won't get disposed by the gc
  6478. before reaching PaintEventEnd.
  6479. 2006-11-13 Jackson Harper <[email protected]>
  6480. * TextBoxBase.cs: Don't select the word if we are on a line with
  6481. no text.
  6482. - We don't need to position the caret on mouse up, since the mouse
  6483. move handler should be doing this
  6484. - When double clicking a blank line, the caret is advanced to the
  6485. next line.
  6486. 2006-11-13 Gert Driesen <[email protected]>
  6487. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  6488. 2006-11-12 Gert Driesen <[email protected]>
  6489. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  6490. Fixes part of bug #79910.
  6491. 2006-11-11 Alexander Olk <[email protected]>
  6492. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  6493. (bug #79903). Some minor string updates to match ms.
  6494. 2006-11-10 Alexander Olk <[email protected]>
  6495. * FileDialog.cs: Don't add an extension if the filename
  6496. already ends with that extension.
  6497. 2006-11-10 Jackson Harper <[email protected]>
  6498. * TreeView.cs: Use the currently highlighted node for the
  6499. BeforeSelect event.
  6500. * TextBoxBase.cs: There is no need to expand selection on
  6501. MouseMove.
  6502. - CanUndo means 'is there any undo operations', not 'is undo
  6503. allowed on this textcontrol. Fixed ClearUndo unit test.
  6504. 2006-11-10 Andreia Gaita <[email protected]>
  6505. * Button.cs: only perform click when button is Selectable (so as
  6506. not to activate default buttons when they're disabled)
  6507. * Control.cs: Rewrite of the SelectNextControl and related
  6508. methods. HandleClick now selects next control if the current one
  6509. is being disabled.
  6510. * Form.cs: OnActivated selects next active control only if Load
  6511. has already occurred. If Load hasn't run, there's no point in
  6512. selecting here, Load might change the state of controls.
  6513. * FocusTest.cs: Tests marked as working again for these fixes
  6514. 2006-11-10 Chris Toshok <[email protected]>
  6515. * XplatUIX11.cs: a couple of fixes.
  6516. - use XInternAtoms with almost all the atoms we need to register,
  6517. instead of many, many calls to XInternAtom. should help a bit on
  6518. startup time, at the expense of making the code look a little
  6519. worse.
  6520. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  6521. isn't reparented (which seems to be a clue that we're running fon
  6522. compiz) and they have an Owner form. This fixes the tool windows
  6523. in paint.net when running under compiz.
  6524. - when setting the opacity of a window, support both the case
  6525. where the window has been reparented and also when it hasn't been.
  6526. Since compiz/beryl doesn't seem to reparent windows, and these are
  6527. the only window managers which support translucency, I'm not sure
  6528. why we need the hwnd.reparented case at all.. but leave it in.
  6529. now we get translucent windows in paint.net under compiz/beryl.
  6530. 2006-11-10 Alexander Olk <[email protected]>
  6531. * FileDialog.cs: Always return the value for FilterIndex that
  6532. was set. Internally convert it to values that make sense.
  6533. 2006-11-10 Everaldo Canuto <[email protected]>
  6534. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  6535. 2006-11-10 Everaldo Canuto <[email protected]>
  6536. * Toolbar.cs: Change default value of DropDownArrows to true, the
  6537. signature still using false to make it compatible with MS but the
  6538. initial value is true. Fixes #79855.
  6539. 2006-11-10 Alexander Olk <[email protected]>
  6540. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  6541. only available on Linux.
  6542. 2006-11-09 Everaldo Canuto <[email protected]>
  6543. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  6544. reduce number of calls to redraw method during toolbar creation.
  6545. 2006-11-09 Mike Kestner <[email protected]>
  6546. * ListView.cs : raise SelectedIndexChanged when an item is selected
  6547. programmatically via the Item.Selected property. Gert's nice
  6548. ListViewSelectedIndexChanged test fixture now runs clean.
  6549. 2006-11-09 Mike Kestner <[email protected]>
  6550. * ListView.cs : raise SelectedIndexChanged when a selected item is
  6551. removed from the item collection using Remove or RemoveAt.
  6552. 2006-11-09 Mike Kestner <[email protected]>
  6553. * ListView.cs : raise SelectedIndexChanged once per selected item
  6554. for compat with MS. Fixes #79849+.
  6555. 2006-11-09 Chris Toshok <[email protected]>
  6556. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  6557. we need to (if we have any tab pages). Fixes unit test.
  6558. 2006-11-09 Chris Toshok <[email protected]>
  6559. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  6560. width is 0, not 3. Fixes a unit test.
  6561. 2006-11-09 Mike Kestner <[email protected]>
  6562. * ListView.cs : use Implicit scrollbars so that focus isn't
  6563. stolen from the listview when they are clicked. Fixes #79850.
  6564. 2006-11-09 Chris Toshok <[email protected]>
  6565. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  6566. have a root item. Fixes #79879.
  6567. 2006-11-09 Alexander Olk <[email protected]>
  6568. * FileDialog.cs:
  6569. - Fix ToString ()
  6570. - An ArgumentException is now thrown if a wrong filter
  6571. is applied (matches ms). The previous filter doesn't change
  6572. anymore if an exception is thrown.
  6573. - Changing the FileName property also affects FileNames
  6574. * ColorDialog.cs: The length of the CustomColors array is always
  6575. 16. It doesn't matter if we use a smaller array or null to update
  6576. or change the custom colors property.
  6577. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  6578. for RootFolder if we get a undefined value.
  6579. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  6580. * StatusBarPanel.cs:
  6581. - Width is set to MinWidth if Width is smaller than
  6582. MinWidth. Fixes #79842.
  6583. - MinWidth now always overrides Width (MSDN says MinWidth
  6584. is set to Width when AutoSize = None, but they do not
  6585. behave like that).
  6586. - Style has now the the correct default value.
  6587. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  6588. * TrackBar.cs:
  6589. - The control is completely invalidated on
  6590. Got/LostFocus to draw the focus rectangle correctly.
  6591. - When AutoSize then height is always 45 (width for
  6592. vertical controls).
  6593. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  6594. on the mouse when moved and it doesn't move when grabbed
  6595. until the mouse moves as well. Also fixed some wrong
  6596. calculations when clicking on the thumb (control thought
  6597. click was outside of thumb and didn't grab it).
  6598. Fixes some of the issues in #79718.
  6599. 2006-11-08 Everaldo Canuto <[email protected]>
  6600. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  6601. 2006-11-08 Chris Toshok <[email protected]>
  6602. * PropertyGridView.cs: only call ToggleValue if the item is not
  6603. readonly.
  6604. 2006-11-08 Jackson Harper <[email protected]>
  6605. * TextBoxBase.cs: The RichTextBox and textbox have very different
  6606. word selection methods. Implement the textbox's simple word
  6607. selection here, and let the RichTextBox override and provide it's
  6608. own.
  6609. - Don't do extra selection on mouseup
  6610. * RichTextBox.cs: Use the documents word selection algorithm, I
  6611. think ideally, this function will be pulled into the
  6612. RichTextBox.cs code someday.
  6613. 2006-11-08 Chris Toshok <[email protected]>
  6614. * RootGridEntry.cs: new class to represent GridItemType.Root.
  6615. * CategoryGridEntry.cs: reformat, and add boilerplate.
  6616. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  6617. returns the UI parent anyway, and we need special handling to
  6618. implement the GetTarget method in the face of it. Also, implement
  6619. Select().
  6620. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  6621. a root grid item, and use that instead of PropertyGrid.grid_items.
  6622. Also, make use of TypeConverters (and add limitted support for
  6623. ICustomTypeDescriptors) when initially populating the grid.
  6624. Arrays now show up more or less properly.
  6625. 2006-11-08 Chris Toshok <[email protected]>
  6626. * Application.cs: set the modal dialog to non modal after we close
  6627. it. Fixes bug #79866.
  6628. 2006-11-08 Jackson Harper <[email protected]>
  6629. * TextControl.cs: When combining lines carry over the line end
  6630. style from the end line.
  6631. - Invalidate the selected area when setting it, if it is visible.
  6632. * TextBoxBase.cs: Only rich text box can do full line selects.
  6633. - Make sure to set the cursor position when there is a click,
  6634. otherwise two clicks in separate areas could cause a large chunk
  6635. to be selected.
  6636. 2006-11-07 Everaldo Canuto <[email protected]>
  6637. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  6638. Fixes #79863.
  6639. 2006-11-07 Everaldo Canuto <[email protected]>
  6640. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  6641. time. Remove tooltips when ToolButton click events. Fixes #79856.
  6642. 2006-11-07 Everaldo Canuto <[email protected]>
  6643. * MenuAPI.cs: Ignore right click for menu actions and fixes
  6644. menu border when clicked. Fixes #79846.
  6645. 2006-11-07 Everaldo Canuto <[email protected]>
  6646. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  6647. MouseState after create wParam for message, this fixes mouse button
  6648. equal none in mouse up events.
  6649. 2006-11-07 Andreia Gaita <[email protected]>
  6650. * Control.cs : Focus() now calls Select to set the Container's
  6651. Active Control and to give it focus. To avoid infinite recursion
  6652. (because ActiveControl also calls Focus at one point), a check
  6653. is made in Focus with the help of a new internal variable
  6654. is_focusing.
  6655. 2006-11-07 Mike Kestner <[email protected]>
  6656. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  6657. if there's a selection. Fixes #79849.
  6658. 2006-11-07 Gert Driesen <[email protected]>
  6659. * PropertyGrid.cs: Avoid fixed height of help description label.
  6660. Fixes part of bug #79829.
  6661. 2006-11-07 Chris Toshok <[email protected]>
  6662. * XplatUIX11.cs: fix #79790 again, by using the
  6663. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  6664. 2006-11-07 Everaldo Canuto <[email protected]>
  6665. * ToolBar.cs: Fix left click checking.
  6666. 2006-11-07 Chris Toshok <[email protected]>
  6667. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  6668. 2006-11-07 Chris Toshok <[email protected]>
  6669. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  6670. PropertyManager unit tests.
  6671. * PropertyManager.cs: make property_name internal.
  6672. 2006-11-07 Chris Toshok <[email protected]>
  6673. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  6674. pass a unit test. Also, don't set image_index to anything in
  6675. response to setting the ImageList property.
  6676. 2006-11-07 Everaldo Canuto <[email protected]>
  6677. * ToolBar.cs: Ignore click events when mouse button is not a
  6678. left button, only accepts other button for dropdown menus.
  6679. Fixes #79854.
  6680. 2006-11-07 Chris Toshok <[email protected]>
  6681. * DataGrid.cs: make the back and parent row buttons a little less
  6682. ugly.
  6683. 2006-11-07 Jackson Harper <[email protected]>
  6684. * TextBoxBase.cs: When converting to Text don't put line breaks in
  6685. for soft line breaks.
  6686. * TextControl.cs: There is an initial "fake" line in the document,
  6687. this is now a soft break line, so that an extra line feed doesn't
  6688. get added to the end of documents.
  6689. 2006-11-07 Chris Toshok <[email protected]>
  6690. [ fix bug #79778 ]
  6691. * CurrencyManager.cs: if the list is readonly, don't bother
  6692. checking if IBindingList.AllowNew is true.
  6693. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  6694. for non-DataRowView datasources.. or rather, make it not crash.
  6695. (DataGridPaintRelationRow): make sure we limit the row painting to
  6696. the area not covered by the row header, and make our cell width at
  6697. least large enough to cover the relation area. This allows grids
  6698. that have relations but no rows to render correctly.
  6699. (DataGridPaintRowContents): same type of changes here.
  6700. (SetDataSource): move back to always calling
  6701. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  6702. navigating back through relations.
  6703. (HitTest): handle the case where we have no cells but have
  6704. relations. Right now we generate a hit in cell 0 of whatever the
  6705. row is, not sure if this is strictly correct, but it works for our
  6706. purposes.
  6707. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  6708. bother doing anything.
  6709. 2006-11-07 Jonathan Pobst <[email protected]>
  6710. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  6711. early version of StatusStrip. Not responsible for eaten
  6712. application or firstborn children.
  6713. 2006-11-06 Chris Toshok <[email protected]>
  6714. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  6715. call GetTabRect with a -1 index. Fixes #79847.
  6716. 2006-11-06 Jackson Harper <[email protected]>
  6717. * TreeNodeCollection.cs: Update scrollbars after clearing.
  6718. 2006-11-06 Chris Toshok <[email protected]>
  6719. * NumericUpDown.cs: fix the ToString method for some unit test
  6720. love.
  6721. 2006-11-06 Chris Toshok <[email protected]>
  6722. * PropertyGrid.cs:
  6723. - set the initial SelectedGridItem if we can.
  6724. - Exclude non-mergable properties only if we're merging > 1
  6725. object. Merging 1 object isn't really merging, obviously.
  6726. - Handle PropertySort.NoSort just like Alphabetical, which is
  6727. wrong of course, but at least gets things on the screen.
  6728. * PropertyGridView.cs:
  6729. - Add method "FindFirstItem" which finds the first property grid
  6730. item, so we can select it by default.
  6731. - make use of GridEntry.CanResetValue.
  6732. - Don't call RedrawBelowItemOnExpansion here anymore, the
  6733. individual GridEntry's will do that.
  6734. - Remove the ITypeDescriptorContextImpl internal class.
  6735. * GridEntry.cs:
  6736. - this class needs to implement ITypeDescriptorContext, as it's
  6737. what MS's PropertyDescriptorGridEntry does, which means we can
  6738. remove the ITypeDescriptorContextImpl internal class from
  6739. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  6740. - keep a reference to our PropertyGridView, and move the call to
  6741. RedrawBelowItemOnExpansion here from PGV. This means
  6742. programmaticly setting Expanded actually does something visible.
  6743. - add a CanResetValue() function which takes into account our
  6744. possibly multiple "selected_objects" in the merged case. Shifting
  6745. PropertyGridView to use this method fixes another unreported
  6746. crasher found running the test for #79829.
  6747. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  6748. is updated to reflect this.
  6749. * CategoryGridEntry.cs: the ctor takes the PGV now.
  6750. 2006-11-06 Jackson Harper <[email protected]>
  6751. * TextControl.cs: These are 1 based.
  6752. * TextBoxBase.cs: When setting the selected text, don't change the
  6753. selected text tags, this is done by ReplaceText, just position the
  6754. cursor at the end of the new text.
  6755. 2006-11-06 Alexander Olk <[email protected]>
  6756. * ListView.cs: Allow label edit only when, when LabelEdit is
  6757. set to true.
  6758. 2006-11-06 Jackson Harper <[email protected]>
  6759. * TextControl.cs: If a suitable wrapping position isn't found,
  6760. just wrap right in the middle of a word.
  6761. 2006-11-06 Alexander Olk <[email protected]>
  6762. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  6763. bug #79820.
  6764. 2006-11-06 Jackson Harper <[email protected]>
  6765. * TreeView.cs: Can't use the VisibleCount property when setting
  6766. scrollbar heights, because this doesn't take into account whether
  6767. or not the horz scrollbar just came visible.
  6768. 2006-11-05 Everaldo Canuto <[email protected]>
  6769. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  6770. activated. Fixes #79369, #79832.
  6771. 2006-11-05 Alexander Olk <[email protected]>
  6772. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  6773. had to remove support for links that point to a directory. FileInfo
  6774. returns no usefull information (means, the directory they point to)
  6775. for such links. Replaced some empty string ("") with String.Empty.
  6776. 2006-11-04 Gert Driesen <[email protected]>
  6777. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  6778. NullReferenceException when attempting to remove node that is not in
  6779. collection. Throw NullReferenceException when null is passed to
  6780. Remove. Allow first element of the collection to be removed. Fixes
  6781. bug #79831. In GetEnumerator ().Current return null if positioned
  6782. before the first element of the collection. In GetEnumerator ().Reset,
  6783. position before first element of the collection.
  6784. 2006-11-04 Gert Driesen <[email protected]>
  6785. * PropertyGrid.cs: To match MS, remove default title and description
  6786. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  6787. buttons.
  6788. 2006-11-04 Chris Toshok <[email protected]>
  6789. * Theme.cs: add a Clamp method, just for kicks.
  6790. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  6791. 2006-11-04 Chris Toshok <[email protected]>
  6792. * Form.cs: if the form isn't visible, Close() does nothing.
  6793. 2006-11-03 Chris Toshok <[email protected]>
  6794. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  6795. Hide it.
  6796. (WndProc): don't Dispose after handling the WM_CLOSE message.
  6797. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  6798. them as such, instead of using casts from Control to Form. Also,
  6799. don't Dispose of the modal dialog when we fall out of the loop -
  6800. Close() it instead.
  6801. fixes bug #79813.
  6802. 2006-11-03 Chris Toshok <[email protected]>
  6803. * Control.cs (Dispose): only go through the dispose thing if we're
  6804. @disposing, and we haven't already been disposed. Fixes bug
  6805. #79814.
  6806. * Form.cs: no reason to call "base.Dispose()" here instead of
  6807. "Dispose()".
  6808. 2006-11-03 Mike Kestner <[email protected]>
  6809. * ComboBox.cs : use ToString instead of casts in AddItem for
  6810. sorting functionality. Fixes #79812.
  6811. 2006-11-03 Chris Toshok <[email protected]>
  6812. * Application.cs: pave the way for actually using the thread
  6813. exception dialog. it's ifdefed out at the moment.
  6814. 2006-11-03 Chris Toshok <[email protected]>
  6815. * ThreadExceptionDialog.cs: until we get a better layout, actually
  6816. hide the details textbox and label when we shouldn't see them.
  6817. 2006-11-03 Jackson Harper <[email protected]>
  6818. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  6819. multiline textboxes anymore. This method also determines the
  6820. width/height of a textboxes canvas area.
  6821. - Sorta a revert of the last patch. For multiline just position
  6822. the controls, then bail. This way the scrollbar width won't be
  6823. altered.
  6824. 2006-11-03 Everaldo Canuto <[email protected]>
  6825. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  6826. it dont need. Fixes #79537.
  6827. 2006-11-02 Jackson Harper <[email protected]>
  6828. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  6829. send the status after firing the DndOver event.
  6830. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  6831. * TrackBar.cs: Now orientation only switches height / width if
  6832. the control's handle is created (Win32 does it like this). Also
  6833. fixed a typo in ToString() for a test to pass, changed the
  6834. exception thrown in set_LargeChange and set_SmallChange to
  6835. match Win32 behaviour, and added TrackBar tests to the unit
  6836. tests.
  6837. 2006-11-02 Chris Toshok <[email protected]>
  6838. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  6839. not _NET_WM_STATE_NO_TASKBAR.
  6840. 2006-11-02 Jackson Harper <[email protected]>
  6841. * TextControl.cs: Increment count by one, since in the update view
  6842. count - 1 is used.
  6843. 2006-11-02 Jackson Harper <[email protected]>
  6844. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  6845. the mouse is in the client rectangle (duh).
  6846. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  6847. * TrackBar.cs: Fixed trackbar jumping around when clicking
  6848. on it - the trackbar was not detecting correctly at which
  6849. side of the thumb the click was done. (fixes #79718)
  6850. 2006-11-02 Everaldo Canuto <[email protected]>
  6851. * ListBox.cs: scroll visible area when change SelectedIndex to
  6852. a non visible area. Fixes #79481.
  6853. 2006-11-01 Jackson Harper <[email protected]>
  6854. * TextControl.cs: When replacing the selection move the selection
  6855. start/end/anchor to the end of the new text.
  6856. 2006-11-01 Jackson Harper <[email protected]>
  6857. * XplatUIWin32.cs: When setting the parent change the controls
  6858. visibility to it's visibility flag, not to it's old parents
  6859. visibility (.Visible walks the parent chain).
  6860. 2006-11-01 Chris Toshok <[email protected]>
  6861. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  6862. XSetTransientForHint fix breaks paint .net's tool windows. more
  6863. work needed for that one.
  6864. 2006-11-01 Chris Toshok <[email protected]>
  6865. * ScrollBar.cs: throw ArgumentException instead of Exception in
  6866. LargeChange/SmallChange setters. fixes unit tests.
  6867. 2006-10-31 Andreia Gaita <[email protected]>
  6868. * ContainerControl.cs: reverted rev.67183 (which was itself
  6869. a reversion of rev.66853... eh).
  6870. * Control.cs: Fixes Reflector hang by changing Focus() call
  6871. to what it was before rev.66643 (calling Select() here sets
  6872. ActiveControl, which in some situations calls back Focus and
  6873. eventually does a stack overflow). Temp fix.
  6874. Changes to GetNextControl() to not look for children to select when
  6875. parent cannot be selectable (so it looks for siblings instead)
  6876. 2006-10-31 Mike Kestner <[email protected]>
  6877. * CheckedListBox.cs : off by one error in returned index from
  6878. ObjectCollection.Add. Fixes #79758.
  6879. 2006-10-31 Chris Toshok <[email protected]>
  6880. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  6881. calls for the textbox/spinner, to keep from recursing to the point
  6882. where we crash. Fixes #79760.
  6883. 2006-10-31 Chris Toshok <[email protected]>
  6884. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  6885. null/"" value, just return. matches ms's behavior and fixes some
  6886. failing tests.
  6887. 2006-10-31 Chris Toshok <[email protected]>
  6888. * Control.cs (set_Capture): make a logic a little easier to
  6889. follow.
  6890. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  6891. if it's being destroyed. A necessary fix surely, but a bandaid
  6892. also, to fix the stuck capture problem in bug #78413.
  6893. 2006-10-31 Chris Toshok <[email protected]>
  6894. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  6895. convention of clearing hwnd.ClientRect when we set the
  6896. width/height (so it'll be recalculated by Hwnd).
  6897. 2006-10-31 Andreia Gaita <[email protected]>
  6898. * ContainerControl.cs: reversed Contains check from
  6899. ActiveControl due to hanging problems. This fix
  6900. partly regresses #79667 (button does not have
  6901. initial focus), so this might be a symptom for
  6902. a larger parenting problem (set_ActiveControl
  6903. is being called but the child control does
  6904. not have the parent set yet?)
  6905. 2006-10-31 Mike Kestner <[email protected]>
  6906. * MenuAPI.cs : fix keynav when menu is click activated.
  6907. 2006-10-31 Jonathan Pobst <[email protected]>
  6908. * ToolStrip*: Version 0.2.
  6909. * MenuStrip.cs: Version 0.1.
  6910. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  6911. 2006-10-30 Chris Toshok <[email protected]>
  6912. [ fixes the oversized notify icon issue in bug #79745 ]
  6913. * NotifyIcon.cs: scale the icon down to the size we're given by
  6914. the XplatUI layer (this would be faster if we did it once instead
  6915. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  6916. since it's never invoked.
  6917. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  6918. pixels high by default, so let's hardcode our systray icon to that
  6919. size. The SYSTEM_TRAY protocol should really have a way for
  6920. client apps to query for the correct icon size.. but oh well. A
  6921. couple of patches to deal with the screwy client_window ==
  6922. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  6923. instance, and also make sure we don't XSelectInput twice).
  6924. 2006-10-30 Chris Toshok <[email protected]>
  6925. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  6926. recreating forms. Control recreation is the bane of my existence.
  6927. Fix it in a way that keeps everyone happy.
  6928. 2006-10-30 Chris Toshok <[email protected]>
  6929. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  6930. just non-CHILD ones. otherwise sometimes scrollbars end up with
  6931. client_windows not being resized to the proper size (ReportBuilder
  6932. shows this extremely well).
  6933. 2006-10-30 Chris Toshok <[email protected]>
  6934. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  6935. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  6936. showing up in the gnome taskbar. Fixes bug #79790.
  6937. 2006-10-30 Chris Toshok <[email protected]>
  6938. * ApplicationContext.cs: guard against a NRE.
  6939. * Application.cs: null out the old MainForm for the context, so we
  6940. don't try to use it again once it's disposed. Fixes bug #79783.
  6941. 2006-10-30 Chris Toshok <[email protected]>
  6942. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  6943. BindingContext, set the data source directly, otherwise do the
  6944. lazy approach - the actual ListManager will be created when we get
  6945. a BindingContext. Fixes bug #79700.
  6946. 2006-10-30 Jonathan Pobst <[email protected]>
  6947. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  6948. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  6949. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  6950. 2006-10-30 Jonathan Pobst <[email protected]>
  6951. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  6952. of SetVisible that allows a window to be shown, but not activated.
  6953. This is needed on Windows for MenuStrip, and can probably be used
  6954. with MainMenu and ComboBox to fix the focus stealing issues on
  6955. Windows.
  6956. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  6957. 2006-10-30 Alexander Olk <[email protected]>
  6958. * PictureBox.cs: Fix the output of the ToString method.
  6959. 2006-10-29 Chris Toshok <[email protected]>
  6960. * Control.cs (get_TopLevelControl): fix bug #79781.
  6961. 2006-10-29 Chris Toshok <[email protected]>
  6962. * ListControl.cs (set_DataSource): throw Exception here, not
  6963. ArgumentException, to match MS behavior.
  6964. 2006-10-29 Chris Toshok <[email protected]>
  6965. * Form.cs: remove the try-catch's around calls to GetWindowState.
  6966. We can just check the return value.
  6967. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  6968. Instead return -1.
  6969. * XplatUI.cs: Add note about additional return value for
  6970. GetWindowState.
  6971. 2006-10-29 Chris Toshok <[email protected]>
  6972. * Control.cs (CreateHandle): when we create our handle, we also
  6973. create the handles of our child controls. Fixes one of the
  6974. Control unit tests (CH11).
  6975. 2006-10-28 Alexander Olk <[email protected]>
  6976. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  6977. 2006-10-28 Alexander Olk <[email protected]>
  6978. * ThemeClearlooks.cs: A little speedup.
  6979. 2006-10-27 Chris Toshok <[email protected]>
  6980. * Control.cs: implement Control.FromChildHandle in a way that
  6981. matches the docs (and fixes the failed test.)
  6982. 2006-10-27 Chris Toshok <[email protected]>
  6983. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  6984. comments).
  6985. * DataGrid.cs: implement ResetForeColor such that the tests
  6986. succeed.
  6987. 2006-10-27 Chris Toshok <[email protected]>
  6988. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  6989. being set to "". Fixes bug #79759.
  6990. 2006-10-27 Jackson Harper <[email protected]>
  6991. * TextControl.cs: We need to clear the entire selection area when
  6992. setting the start, otherwise multiline selections are still
  6993. visible.
  6994. 2006-10-26 Chris Toshok <[email protected]>
  6995. * PropertyGridView.cs:
  6996. - ifdef all the code specific to the double
  6997. buffer case, and provide some alternatives in the non-doublebuffer
  6998. code, which makes heavy use of XplatUI.ScrollWindow to move things
  6999. around without having to invalidate (and cause flicker). There
  7000. are still some drawing problems in the non-doublebuffered case, so
  7001. DOUBLEBUFFER is defined by default.
  7002. - Fix the way dropdowns are handled. now we explicitly watch for
  7003. the events which might cause the dropdown to close, and break out
  7004. of the nested event loop there. This gets rid of all Capture
  7005. code, at the expense of the Msg special casing. Seems to work,
  7006. though, and fixes bug #79743.
  7007. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  7008. * Control.cs: SetIsRecreating now recreates implicitly added
  7009. child controls as well. Finally fixes #79629. The flag passed to
  7010. SetIsRecreating has also been removed since it wasn't used.
  7011. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  7012. * PageSetupDialog.cs: Clean some code, fix some bits,
  7013. add some checks, and add a printer sub-dialog.
  7014. 2006-10-26 Chris Toshok <[email protected]>
  7015. * PropertyGrid.cs: make set_SelectedObject call
  7016. set_SelectedObjects, and move the duplicate logic to the
  7017. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  7018. * PropertyGridView.cs: hide the textbox when we get a
  7019. SelectedObjectsChanged event.
  7020. Fixes bug #79748.
  7021. 2006-10-26 Chris Toshok <[email protected]>
  7022. * PropertyGridView.cs: deal with the type converter not supporting
  7023. GetStandardValues() or GetStandardValues() returning null, which
  7024. is does in the default case. Fixes #79742.
  7025. 2006-10-25 Andreia Gaita <[email protected]>
  7026. * CheckedListBox.cs: nunit no longer crashes when selecting
  7027. Project/Edit menu option
  7028. 2006-10-25 Andreia Gaita <[email protected]>
  7029. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  7030. is no menu selected. fixes #79739
  7031. 2006-10-25 Chris Toshok <[email protected]>
  7032. * PropertyGridView.cs: factor out the splitter invalidation code
  7033. into the SplitterPercent setter, and for kicks implement the
  7034. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  7035. amount in either direction.
  7036. 2006-10-25 Chris Toshok <[email protected]>
  7037. * PropertyGridView.cs: do some cleanup of the brush used to draw
  7038. text - read only fields should be grayed out. not sure how to do
  7039. this with the textbox, though. but the textbox's should also be
  7040. readonly now at least. Also, hide/show the textbox when resizing
  7041. the control.
  7042. * CursorConverter.cs: use System.Reflection when getting the
  7043. properties of Cursors, as TypeDescriptor.GetProperties isn't
  7044. returning static properties.
  7045. 2006-10-25 Chris Toshok <[email protected]>
  7046. * PropertyGridView.cs: factor out the up/down handling, and reuse
  7047. it for page up/down. also add End/Home support.
  7048. 2006-10-25 Chris Toshok <[email protected]>
  7049. * PropertyGridView.cs:
  7050. - ensure the selected grid item is visible in the scrolled area,
  7051. fixes bug #79572.
  7052. - fix Keys.Down handling when you're on the last item in the
  7053. propertygrid.
  7054. 2006-10-25 Mike Kestner <[email protected]>
  7055. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  7056. clicks too. Fixes #79725.
  7057. 2006-10-24 Chris Toshok <[email protected]>
  7058. * PropertyGrid.cs: use property.Converter instead of
  7059. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  7060. TypeConverters declared on the property as well as on the
  7061. PropertyType. Fixes bug #79678.
  7062. 2006-10-24 Alexander Olk <[email protected]>
  7063. * MimeIcon.cs, Mime.cs:
  7064. Fallback to the default platform handler if no shared mime info
  7065. stuff exists (fixes #79693).
  7066. 2006-10-20 Andreia Gaita <[email protected]>
  7067. * ContainerControl.cs: Incorrect contains check in ActiveControl
  7068. from previous fix (duh).
  7069. 2006-10-20 Chris Toshok <[email protected]>
  7070. * PropertyGridView.cs: the dropdown should be MIN(number of items
  7071. in list, 15). Fixes #79551.
  7072. 2006-10-20 Andreia Gaita <[email protected]>
  7073. Fixes #79384, #79394, #79652, #79667
  7074. * Application.cs:
  7075. - Modal windows are now destroyed in the proper order for windows
  7076. * ContainerControl.cs:
  7077. - ActiveControl setter has more conditions on when to return:
  7078. - if we're reselecting the active control, but it actually
  7079. didn't have focus (window hidden or some such), it runs
  7080. - if the active control being selected doesn't actually
  7081. exist in the container, it returns
  7082. * Form.cs
  7083. - The ShowDialog now gets the current form as the owner when
  7084. invoking without parameters, and correctly activates the owner
  7085. when returning
  7086. * MessageBox.cs
  7087. - MessageBox now catches the Escape key to exit
  7088. 2006-10-20 Chris Toshok <[email protected]>
  7089. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  7090. most of bug #79676):
  7091. - you can navigate around the property grid with the arrow keys.
  7092. - the dropdown is sized properly when the pg has a vertical
  7093. scrollbar.
  7094. - fix the indentation for subentries, and properly select the
  7095. entire label rect.
  7096. - fix the gray bar's drawing (only draw it to the last element,
  7097. not for the height of the control. Also make sure we draw that
  7098. last horizontal grid line.
  7099. - use the same mechanism the datagrid uses wrt the editing textbox
  7100. when scrolling/resizing/etc. Namely, we hide it first, do the
  7101. operation, then show it again (if it's still visible).
  7102. - aggressively remove a lot of unnecessary refreshes (and also
  7103. calls to Invalidate(). call more limited variants, and only redraw
  7104. what we need.)
  7105. * PropertyGrid.cs:
  7106. - when we're populating the merged collection, fill in the UI
  7107. parent with either the passed in item, or the category item we
  7108. create.
  7109. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  7110. * GridItem.cs: drop some fully qualified names.
  7111. * GridEntry.cs: add a "UIParent", which is basically the parent
  7112. treenode.
  7113. * GridItemCollection.cs: add an IndexOf method.
  7114. 2006-10-20 Mike Kestner <[email protected]>
  7115. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  7116. a working win32 NC invalidation mechanism, we can't invalidate
  7117. menus. [Fixes #79705]
  7118. 2006-10-20 Mike Kestner <[email protected]>
  7119. * ListBox.cs : don't update the VScrollbar if the list is empty,
  7120. just hide it. [Fixes #79692]
  7121. 2006-10-20 Jackson Harper <[email protected]>
  7122. * RichTextBox.cs: Handle some special chars better, and don't skip
  7123. the entire group when we encounter a special char that we don't
  7124. handle correctly.
  7125. 2006-10-18 Chris Toshok <[email protected]>
  7126. * PropertyGridView.cs: address a number of issues from bug #79676,
  7127. mostly of the cosmetic variety.
  7128. - The highlight rectangle for indented items not extends all the
  7129. way to the left.
  7130. - Indented items aren't indented so much.
  7131. - the dropdown is properly sized width-wise if the pg has a
  7132. vertical scrollbar.
  7133. 2006-10-18 Chris Toshok <[email protected]>
  7134. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  7135. systray stuff is rather convoluted to begin with.
  7136. systray icons are a single window for some reason (that I haven't
  7137. figured out yet), and for them, client_window == whole_window.
  7138. Given the way the tests are structured elsewhere to determine
  7139. which paints are pending (client vs. nc), that situation will
  7140. always yield PAINT, not NCPAINT. So, if we have a pending
  7141. nc_expose and no pending expose, remove the hwnd from the paint
  7142. queue, and also set nc_expose_pending to false, to keep us from
  7143. blocking further expose's adding the hwnd to the paint queue.
  7144. phew. like i said, a rather convoluted change. Fixes the
  7145. notifyicon repaint issues in bug #79645.
  7146. 2006-10-18 Chris Toshok <[email protected]>
  7147. * Form.cs: when getting the backcolor of the form, don't get
  7148. base.BackColor, as this allows parents to influence the background
  7149. color. This breaks mdi forms. Instead, if the background_color
  7150. is empty, return the default.
  7151. 2006-10-18 Chris Toshok <[email protected]>
  7152. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  7153. to being private instead of internal static.
  7154. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  7155. crap, it wasn't working for more deeply nested controls anyway,
  7156. and we already have the is_recreating flag - use that instead.
  7157. Before calling DestroyHandle in RecreateHandle, recurse through
  7158. the control tree setting it to true. this returns the recreate
  7159. code to much of its original simplicity, while now guaranteeing we
  7160. actually recreate everything we're supposed to. This change gets
  7161. fyireporting actually showing mdi children.
  7162. 2006-10-17 Chris Toshok <[email protected]>
  7163. * Form.cs: remove some debug spew, and collapse some duplicate
  7164. code at the end of SetClientSizeCore.
  7165. * XplatUIX11.cs:
  7166. - add some more debug spew here too wrt Destroy handling.
  7167. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  7168. in Control's handling of WM_DESTROY.
  7169. - Remove the handling of zombie window DestroyNotifies from the
  7170. event loop - we don't need it. Now the only DestroyNotifies we
  7171. actually handle are ones generated by X.
  7172. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  7173. match gtk's (functioning) handling of this. This keep metacity
  7174. from leaving droppings in the form of wm borders with no window
  7175. contents all over the place.
  7176. * Control.cs:
  7177. - add a bunch of debug spew wrt control recreation.
  7178. - fix a bug where we weren't tracking Visible properly on
  7179. recreated hwnds.
  7180. - fixed the WM_PAINT double buffer handling to support re-entrant
  7181. calls (yes, i know it's gross, but it's happening to us).
  7182. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  7183. * ThemeWin32Classic.cs: changed drawing of selected days
  7184. to make them look better.
  7185. 2006-10-16 Chris Toshok <[email protected]>
  7186. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  7187. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  7188. * XplatUIX11.cs: move away from using hwnd.client_dc and
  7189. hwnd.non_client_dc and on to a stack of dc's (and in window's
  7190. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  7191. without puking or not disposing of Graphics objects.
  7192. * XplatUIOSX.cs: same.
  7193. * XplatUIWin32.cs: same.
  7194. 2006-10-03 Alexander Olk <[email protected]>
  7195. * FileDialog.cs: Don't call on_directory_changed inside
  7196. OnSelectedIndexChanged (it changes the SelectedIndex too).
  7197. Instead move it to OnSelectionChangeCommitted.
  7198. 2006-10-13 Chris Toshok <[email protected]>
  7199. * XplatUIX11.cs: more Destroy work. the current code does the
  7200. following things, in order:
  7201. 1. Enumerates all handles of all controls at or below the one
  7202. being destroyed, in pre-order. As it is doing this, it marks the
  7203. handles as zombie and clears all references to them.
  7204. 2. calls XDestroyWindow on the window passed in.
  7205. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  7206. list.
  7207. 2006-10-13 Chris Toshok <[email protected]>
  7208. * XplatUIX11.cs: set hwnd.zombie to true before calling
  7209. SendMessage (WM_DESTROY). this keeps us from marking the new
  7210. window a zombie, and also keeps us from calling sendmessage at
  7211. all.
  7212. 2006-10-13 Jackson Harper <[email protected]>
  7213. * TextControl.cs: Do not show the caret and selection at the same
  7214. time. Reduces ugliness by 35%.
  7215. 2006-10-13 Chris Toshok <[email protected]>
  7216. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  7217. zombie after we do the recursive call, so we actually do call
  7218. SendMessage on the children controls.
  7219. (GetMessage): if we find a pending paint event for a zombie hwnd,
  7220. remove the hwnd from the paint queue, or else it will always be
  7221. there (and we'll effectively loop infinitely)
  7222. 2006-10-13 Mike Kestner <[email protected]>
  7223. * MenuItem.cs : add Selected format under keynav too.
  7224. Fixes #79528.
  7225. 2006-10-13 Gert Driesen <[email protected]>
  7226. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  7227. implementation and that of MS.
  7228. 2006-10-13 Chris Toshok <[email protected]>
  7229. * Control.cs (OnInvalidated) only futz with the invalid_region if
  7230. the control is double buffered. this fixes the apparent hang in
  7231. the ListView unit tests. Someone needs to make the
  7232. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  7233. 2006-10-13 Chris Toshok <[email protected]>
  7234. * PropertyGridView.cs:
  7235. - do a little refactoring so that only one place calls
  7236. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  7237. else call that. Also make it Refresh, since there are redraw bugs
  7238. otherwise (we should take a look at that...)
  7239. - do a little more refactoring work to share the body of code
  7240. involved with the drop down. it was duplicated in the code
  7241. dealing with the listbox handling and in the code dealing with the
  7242. UITypeEditors.
  7243. - add a Capture to the dropdown form's control once it's
  7244. displayed, and add a MouseDown handler that checks to make sure
  7245. the position is inside the control. If it's not, close the
  7246. dropdown. This fixes #78190.
  7247. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  7248. if the value is different than the initial value.
  7249. 2006-10-13 Andreia Gaita <[email protected]>
  7250. * Control.cs: see #78650
  7251. - Fixed GetNextControl for several cases:
  7252. - Changed FindFlatForward to return
  7253. correct sibling control when more than one
  7254. control has same TabIndex as the currently
  7255. focused one.
  7256. - Changed FindFlatBackward to loop children
  7257. from last to first and apply same logic as in
  7258. FindFlatForward
  7259. - Changed FindControlForward to search for
  7260. children when control is not a container
  7261. but has children, or search for siblings if
  7262. control is a container...
  7263. - Changed FindControlBackward to continue
  7264. searching for child controls when hitting
  7265. Panel-like parents
  7266. - Fixed Focus method to update ActiveControl
  7267. (FocusTest.FocusSetsActive failure)
  7268. * TabControl.cs:
  7269. - Focus rectangle now refreshes when gaining
  7270. or losing focus
  7271. - Removed grab for Tab key on IsInputKey that
  7272. was keeping tab navigation from working (#78650)
  7273. 2006-10-13 Chris Toshok <[email protected]>
  7274. * PropertyGridView.cs:
  7275. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  7276. SelectedObjects.
  7277. - Deal with GridItem.Value == null a few places.
  7278. * PropertyGrid.cs:
  7279. - replace the PopulateGridItemCollection with a pair of methods
  7280. which compute the intersection of all the properties in the
  7281. SelectedObjects array. Fixes #79615.
  7282. - Throw ArgumentException from set_SelectedObjects if there's a
  7283. null in the array.
  7284. - Add GetTarget method which can be used to traverse up the
  7285. GridItem.Parent chain. It depends on the assumption that
  7286. selected_objects for different GridEntries are always in the same
  7287. order (a safe assumption). Use this method and loop over all the
  7288. selected objects in the entry when calling RemoveValueChanged and
  7289. AddValueChanged.
  7290. * GridEntry.cs: Make this handle multiple selected objects.
  7291. .Value returns null if not all the selected objects share the same
  7292. value.
  7293. 2006-10-12 Jonathan Pobst <[email protected]>
  7294. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  7295. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  7296. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  7297. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  7298. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  7299. add additional functionality.
  7300. 2006-10-12 Mike Kestner <[email protected]>
  7301. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  7302. * HelpProvider.cs : new ToolTipWindow ctor sig.
  7303. * ToolTip.cs : remove ToolTip param from Window sig since it is
  7304. not used.
  7305. * ToolBar.cs : add tooltip support. Fixes #79565.
  7306. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  7307. * ComboBox.cs: move the events in set_SelectedIndex to
  7308. after the call to HighlightIndex in order to avoid
  7309. possible recursion and subsequent problems with the call
  7310. to HighlightIndex and include a range check in
  7311. set_HighlightIndex. Fixes #79588
  7312. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  7313. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  7314. to ui thread's settings instead of sunday.
  7315. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  7316. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  7317. * DateTimePicker.cs
  7318. * MonthCalendar.cs
  7319. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  7320. and implement missing functionality (selecting different parts
  7321. of the date and edit them individually with the keyboard).
  7322. 2006-10-11 Chris Toshok <[email protected]>
  7323. * Control.cs (OnInvalidated): fix NRE relating to last change.
  7324. 2006-10-11 Chris Toshok <[email protected]>
  7325. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  7326. atoms in _NET_WM_STATE here if the window is maximized. We need
  7327. to do this because we're *replacing* the existing _NET_WM_STATE
  7328. property, so those atoms will be lost otherwise, and any further
  7329. call to GetWindowState will return Normal for a window which is
  7330. actually maximized. Fixes #79338.
  7331. 2006-10-11 Jackson Harper <[email protected]>
  7332. * TextControl.cs: Special case for setting selection end to
  7333. selection start, we basically kill the anchor.
  7334. - some todo comments.
  7335. 2006-10-11 Chris Toshok <[email protected]>
  7336. * Control.cs: switch to using an "invalid_region" to track which
  7337. parts of the image buffer need updating. This is more code than
  7338. the simple fix from r66532. That version just attempted to always
  7339. fill the entire buffer on redraw, which turns out to be
  7340. inefficient when invalidating small rectangles. This version
  7341. simply adds the invalid rectangle to the invalid region. When we
  7342. get any WM_PAINT message we see if it can be filled using the
  7343. image buffer, and if it can't (if the paint event's clip rectangle
  7344. is visible in the invalid region) we first fill the image buffer.
  7345. So, the image buffer is still a cache, we just fill it lazily.
  7346. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  7347. need it any longer.
  7348. 2006-10-11 Chris Toshok <[email protected]>
  7349. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  7350. well as size after calling XMoveResizeWindow. This keeps us from
  7351. ignoring future SetWindowPos calls. Fixes the disappearing
  7352. DateTimePicker in the ToolBarDockExample from bug #72499.
  7353. 2006-10-11 Chris Toshok <[email protected]>
  7354. * TextBoxBase.cs: reorder things a bit when it comes to
  7355. resizing-causing-recalculation. we were recalculating the
  7356. document when our position was changed, which shouldn't happen.
  7357. We only care about size changes. Clear up some more redundant
  7358. recalculation calls while I'm at it. This makes the toolbar dock
  7359. example snappy when you're just dragging toolbars around (since it
  7360. causes a relayout whenever you move one.)
  7361. 2006-10-11 Chris Toshok <[email protected]>
  7362. * ToolBarButton.cs (get_Rectangle): this only returns
  7363. Rectangle.Empty if Visible == false, or Parent == null.
  7364. Parent.Visible doesn't matter.
  7365. 2006-10-10 Chris Toshok <[email protected]>
  7366. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  7367. by .net 1.1, so switch to an internal method instead.
  7368. 2006-10-10 Chris Toshok <[email protected]>
  7369. * Control.cs (WM_PAINT): when a control is double buffered we draw
  7370. initially to the ImageBuffer and then copy from there. But when a
  7371. parent control which has child controls is double buffered, the
  7372. initial drawing doesn't encompass the entire ClientRectangle of
  7373. the parent control, so we end up with uninitialized bits (this is
  7374. easily seen by dragging the top toolbar in
  7375. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  7376. manually set the ClipRectangle of the paint_event (only the one we
  7377. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  7378. of the nastiness in bug #72499.
  7379. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  7380. which we use in Control.cs's WM_PAINT handling.
  7381. 2006-10-10 Jackson Harper <[email protected]>
  7382. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  7383. 2006-10-10 Chris Toshok <[email protected]>
  7384. * Cursor.cs: Apply a slightly different patch to the one suggested
  7385. in #79609.
  7386. 2006-10-10 Jackson Harper <[email protected]>
  7387. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  7388. not the parent form.
  7389. * TextControl.cs: use difference in old line count vs new count to
  7390. calculate how many lines were added, this takes into account soft
  7391. line breaks properly.
  7392. 2006-10-10 Chris Toshok <[email protected]>
  7393. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  7394. rectangle located at 0,0 and the size of the text. Use
  7395. ClientRectangle instead. This fixes rendering of non-left aligned
  7396. link labels.
  7397. 2006-10-10 Jackson Harper <[email protected]>
  7398. * TextBoxBase.cs: When we set the selection start position the
  7399. caret.
  7400. * TextControl.cs: Need to update the caret when we decrement it to
  7401. zero.
  7402. - Make sure that the selection_visible flag gets reset to false if
  7403. the selection isn't visible. Before this you could get it set to
  7404. visible by changing the selection start, then changing the end to
  7405. equal the start.
  7406. 2006-10-09 Jackson Harper <[email protected]>
  7407. * TreeView.cs: Don't update scrollbars when we aren't visible.
  7408. * TreeNodeCollection.cs: Only need to update scrollbars if being
  7409. added to an expanded visible node or the root node.
  7410. 2006-10-09 Chris Toshok <[email protected]>
  7411. * XplatUIX11.cs (SendMessage): fix NRE.
  7412. 2006-10-09 Jackson Harper <[email protected]>
  7413. * TextBoxBase.cs: Implement horizontal autoscrolling.
  7414. * TextControl.cs: Add a movement types that allows moving forward
  7415. and backwards without wrapping.
  7416. 2006-10-09 Mike Kestner <[email protected]>
  7417. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  7418. with focus "expansion" of labels. Fixes #79532 and then some.
  7419. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  7420. when wrapping.
  7421. 2006-10-09 Jackson Harper <[email protected]>
  7422. * TextBoxBase.cs: Set the default max values to MaxValue since
  7423. we use the scrollbar for autoscrolling and the default value is
  7424. 100. If we don't do this the caret won't keep up with typing
  7425. after about 18 characters.
  7426. * TextControl.cs: Make sure the selection is offset by the
  7427. viewport x. This fixes selection when using auto scrolling.
  7428. 2006-10-07 Andreia Gaita <[email protected]>
  7429. * Form.cs: The active control should be selected after the
  7430. OnLoad so that any child control initialization that affects
  7431. the selection is done. Fixes #79406
  7432. 2006-10-06 Chris Toshok <[email protected]>
  7433. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  7434. to have no evil effects.
  7435. - Stop selecting StructureNotifyMask on non-toplevel windows.
  7436. The only way children should be resized is by using the SWF api,
  7437. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  7438. Toplevel windows can be interacted with via the window manager,
  7439. and so we keep the input mask there.
  7440. The other event StructureNotifyMask gives us (that we care
  7441. about) is DestroyNotify. The code is already structured such
  7442. that it assumes we won't be getting a DestroyNotify event for
  7443. the window we pass to XDestroyWindow (which is what
  7444. StructureNotifyMask is supposed to guarantee.) So, that code
  7445. shouldn't be affected by this either.
  7446. - Stop selecting VisibilityChangeMask altogether.
  7447. We weren't doing anything with the resulting events anyway.
  7448. This vastly reduces the number of X requests and events we see
  7449. when resizing/laying out a large ui.
  7450. 2006-10-06 Chris Toshok <[email protected]>
  7451. * ScrollableControl.cs (DisplayRectangle): we need to take into
  7452. account the DockPadding regardless of whether or not auto_scroll
  7453. == true. rework this slightly to this effect, and fix bug #79606,
  7454. and part of #72499 (you can now see the drag handles and drag
  7455. toolbars around).
  7456. 2006-10-06 Gert Driesen <[email protected]>
  7457. * ListViewItem.cs: Collections of selected and checked items are now
  7458. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  7459. we mark the collection "dirty".
  7460. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  7461. to only clear SelectedItems when a new item is selected and MultiSelect
  7462. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  7463. event of ListViewItemCollection, and mark its list dirty whenever
  7464. that event is fire. This allows us to return selected/checked items
  7465. in the same order as they are in the Items collection. This matches
  7466. the MS behavior.
  7467. 2006-10-06 Chris Toshok <[email protected]>
  7468. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  7469. right mouse clicks. Fixes bug #79593.
  7470. 2006-10-06 Chris Toshok <[email protected]>
  7471. * Splitter.cs: doh, fix splitters that don't want to cancel the
  7472. movement when you drag them. Also, impose the limits on the
  7473. values we send to the SplitterMovingEvent. Fixes #79598.
  7474. 2006-10-06 Jackson Harper <[email protected]>
  7475. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  7476. since we use this for auto scrolling also.
  7477. 2006-10-05 Chris Toshok <[email protected]>
  7478. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  7479. beginning to think that most datagrid column types don't need this
  7480. method. Fixes bug #79392.
  7481. 2006-10-05 Chris Toshok <[email protected]>
  7482. * DataGrid.cs: move back to a more lazy scheme for creating the
  7483. CurrencyManager, so we aren't updating it every time you set
  7484. either DataSource or DataMember. Also, don't call
  7485. RecreateDataGridRows if the currency manager hasn't changed.
  7486. 2006-10-05 Chris Toshok <[email protected]>
  7487. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  7488. emitted, SelectedIndex should already be updated. Fixes bug
  7489. #78929.
  7490. 2006-10-05 Jonathan Pobst <[email protected]>
  7491. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  7492. ToolStripTextBox.cs: Initial commit.
  7493. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  7494. 2006-10-05 Jackson Harper <[email protected]>
  7495. * TabControl.cs: We need to invalidate the tab control area when
  7496. new ones are added (duh).
  7497. 2006-10-03 Chris Toshok <[email protected]>
  7498. * Form.cs (ProcessDialogKey): if the focused control is in this
  7499. form and is a button, call its PerformClick method here. Fixes
  7500. #79534.
  7501. 2006-10-04 Jackson Harper <[email protected]>
  7502. * TabPage.cs: Ignore setting of Visible, and add an internal
  7503. method for setting the controls visibility. TabPage's Visible
  7504. property is a little strange on MS, this seems to make us
  7505. compatible, and fixes cases where people set all the tab pages to
  7506. visible.
  7507. * TabControl.cs: Use the new internal setting on tab pages
  7508. visibility.
  7509. 2006-10-03 Mike Kestner <[email protected]>
  7510. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  7511. 2006-10-03 Mike Kestner <[email protected]>
  7512. * ListView.cs : use is_visible instead of Visible to check if
  7513. scrollbars should be placed/sized. Also some max_wrap_width
  7514. love for LargeIcon view. [Fixes #79533]
  7515. 2006-10-03 Atsushi Enomoto <[email protected]>
  7516. * TextControl.cs :
  7517. Make set_TextAlign() do actually update the align. Fixed #78403.
  7518. 2006-10-03 Chris Toshok <[email protected]>
  7519. * DataGrid.cs: fix a crash when switching datasources if the
  7520. vertical scrollbar is at someplace other than Value = 0. Also,
  7521. reduce the number of recalculation passes we do in SetDataSource
  7522. from 2 to 1.
  7523. 2006-10-03 Jackson Harper <[email protected]>
  7524. * TextBoxBase.cs: Move the if value the same bail check up, we
  7525. don't want to empty the document if it is already empty, this
  7526. seems to severly mess up the caret. TODO: I should probably fix
  7527. the empty statement to update teh caret somehow.
  7528. 2006-10-03 Chris Toshok <[email protected]>
  7529. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  7530. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  7531. reflection, an internal row type, properties on said type, etc.)
  7532. will work with our datagrid. Fixes #79531.
  7533. 2006-10-03 Alexander Olk <[email protected]>
  7534. * FileDialog.cs: Don't crash if a path is not accessible
  7535. (System.UnauthorizedAccessException). Fixes #79569.
  7536. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  7537. a ':' too. Return unknown icon for those paths/files.
  7538. 2006-10-03 Sebastien Pouliot <[email protected]>
  7539. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  7540. GetContainerControl returns null.
  7541. 2006-10-02 Chris Toshok <[email protected]>
  7542. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  7543. call to XGetWindowAttributes instead of "handle". fixes an X
  7544. error using notifyicon after the NotifyIconWindow to Form base
  7545. class switch.
  7546. 2006-10-02 Chris Toshok <[email protected]>
  7547. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  7548. server grab and looping we need to do to get down to the most
  7549. deeply nested child window.
  7550. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  7551. QueryPointer again after the WarpPointer so we can generate a
  7552. proper (fake) MotionNotify event to be enqueued in the destination
  7553. window's queue.
  7554. (GetCursorPos): call QueryPointer.
  7555. Fixes #79556.
  7556. 2006-10-02 Jackson Harper <[email protected]>
  7557. * NotifyIcon.cs: Derive the notify icon from a form, so things
  7558. like FindForm work on it.
  7559. - Swallow the WM_CONTEXTMENU message, since that is generated on
  7560. mouse down, and context menu is a mouse up kinda guy. I believe
  7561. the correct fix here is probably to make the notify icon entirely
  7562. NC area, but this seems to work fine for anyone not manipulating
  7563. WndProc.
  7564. 2006-10-02 Jonathan Pobst <[email protected]>
  7565. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  7566. ToolStripItemCollection.cs, ToolStripLabel.cs,
  7567. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  7568. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  7569. Initial implementation.
  7570. * TextRenderer.cs: Provide padding to MeasureText.
  7571. 2006-10-02 Sebastien Pouliot <[email protected]>
  7572. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  7573. of ButtonBaseAccessibleObject. Fix bug #79552.
  7574. 2006-10-02 Jackson Harper <[email protected]>
  7575. * MdiWindowManager.cs: When maximizing use the containers client
  7576. rect, not it's bounds, so nc area is accounted correctly.
  7577. - Use the parent form's size for the menu position, since the
  7578. client isn't always the full form size.
  7579. 2006-10-01 Chris Toshok <[email protected]>
  7580. * ScrollableControl.cs: make sure neither right_edge or
  7581. bottom_edge are < 0, since they're used as LargeChange for the
  7582. horiz/vert scrollbars respectively. Fixes #79539.
  7583. 2006-10-01 Chris Toshok <[email protected]>
  7584. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  7585. the xplatuix11 code can cause us to destroy/recreate our handle.
  7586. * XplatUIX11.cs
  7587. (SystrayAdd):
  7588. - this code can be invoked many times for the same Hwnd. Make
  7589. sure we only destroy the client window once (the first time this
  7590. method is called). This fixes bug #79544.
  7591. - Remove the call to the improperly bound XSync. why we had two
  7592. bindings to this, I will never know, but this call resulted in
  7593. events being discarded from the queue(!).
  7594. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  7595. not our current state but the state we wish to be in. So, 0 if
  7596. we don't want to be mapped. Change it to 1.
  7597. (SystrayRemove): The XEMBED spec makes mention of the fact that
  7598. gtk doesn't support the reparent of client windows away from the
  7599. embedder. Looking at gtksocket-x11.c seems to agree with this.
  7600. The only avenue we have for removing systray icons is to destroy
  7601. them. We don't want the handle to go away for good, though, so
  7602. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  7603. #79545.
  7604. 2006-10-01 Chris Toshok <[email protected]>
  7605. * Form.cs (WndProc): inline the native_enabled variable usage into
  7606. the cases in which it's used. Fixes #79536.
  7607. 2006-09-29 Mike Kestner <[email protected]>
  7608. * ListView.cs : toggle the selection state for ctrl clicks in
  7609. multiselect mode. [Fixes #79417]
  7610. 2006-09-29 Mike Kestner <[email protected]>
  7611. * ListView.cs : kill CanMultiSelect and refactor the selection
  7612. code to support multiselection in the absence of mod keys. Steal
  7613. arrow/home/end keys by overriding InternalPreProcessMessage to
  7614. restore regressed keynav behavior.
  7615. [Fixes #79416]
  7616. 2006-09-29 Jackson Harper <[email protected]>
  7617. * MdiClient.cs: Repaint the titlebars when the active window is
  7618. changed.
  7619. 2006-09-29 Chris Toshok <[email protected]>
  7620. * Application.cs: when entering a runloop with a modal, make sure
  7621. the hwnd is enabled. Fixes #79480.
  7622. 2006-09-29 Chris Toshok <[email protected]>
  7623. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  7624. when ListManager.CanAddRows == false, bump us back one.
  7625. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  7626. listmanager.CanAddRows check. This makes ArrayLists uneditable
  7627. using a datagrid, which is not right.
  7628. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  7629. is an IEditable, but call property_descriptor.SetValue regardless.
  7630. fixes #79435.
  7631. 2006-09-29 Chris Toshok <[email protected]>
  7632. * DataGridBoolColumn.cs: we need to test equality in the face of
  7633. possible null values (as is the case with the default NullValue).
  7634. This patch keeps us from crashing in that case.
  7635. 2006-09-29 Jackson Harper <[email protected]>
  7636. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  7637. here, since it will get called for every node collection in the
  7638. tree. This is now done in the treeview once the sorting is
  7639. finished.
  7640. * TreeView.cs: Recalculate the visible order, and update the
  7641. scrollbars after sorting, set the top nope to the root so that the
  7642. recalc actually works.
  7643. 2006-09-29 Chris Toshok <[email protected]>
  7644. * LinkLabel.cs: more handling of the default link collection in
  7645. the face of LinkArea manipulation. The default link collection
  7646. contains 1 element (start=0,length=-1). If the user sets LinkArea
  7647. to anything and the links collection is the default, clear it.
  7648. Then only add the link if its nonempty. Fixes #79518.
  7649. 2006-09-29 Chris Toshok <[email protected]>
  7650. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  7651. piece correctly when we hit a '\n'. Fixes #79517.
  7652. 2006-09-29 Chris Toshok <[email protected]>
  7653. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  7654. change the binding of gdk_init_check to take two IntPtr's, and
  7655. pass IntPtr.Zero for both of them. Fixes #79520.
  7656. 2006-09-29 Mike Kestner <[email protected]>
  7657. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  7658. [Fixes #78779]
  7659. 2006-09-28 Jackson Harper <[email protected]>
  7660. * XplatUIX11.cs: When translating NC messages make sure we go from
  7661. whole window to screen, not client window to screen.
  7662. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  7663. method doesn't exist
  7664. - Skip over controls that aren't forms when arranging.
  7665. 2006-09-28 Jackson Harper <[email protected]>
  7666. * XplatUIWin32.cs: Clip the rect to the parent window.
  7667. * XplatUIStructs.cs: Add clipping modes struct.
  7668. * InternalWindowManager.cs: New private method that factors title
  7669. bar heights in when calculating the pos of an NC mouse message.
  7670. - Use SendMessage to force a paint when the form's size is changed
  7671. instead of painting the decorations immediately.
  7672. - Don't let the NC button click messages get to DefWndProc,
  7673. because they will attempt to handle windowing themself, and this
  7674. messes up z-order (it will put them in front of the scrollbars).
  7675. * XplatUIX11.cs: Make sure that we don't reset window managers if
  7676. we already have one (ie the window is an MDI window).
  7677. 2006-09-28 Chris Toshok <[email protected]>
  7678. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  7679. menu code really needs going over.
  7680. 2006-09-27 Chris Toshok <[email protected]>
  7681. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  7682. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  7683. window is maximizable. So, we need to make sure that even if we
  7684. clear the border/wm frame of those functions, they're still
  7685. available (basically, we remove the decoration without removing
  7686. the function). Half the fix for #79338.
  7687. 2006-09-27 Chris Toshok <[email protected]>
  7688. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  7689. Fixes bug #79515.
  7690. 2006-09-27 Chris Toshok <[email protected]>
  7691. * Splitter.cs: reorder things a bit so that we don't actually
  7692. draw/move the splitter until after calling OnSplitterMoving. This
  7693. lets users cancel/disallow the movement by explicitly setting
  7694. event.SplitX/SplitY. Fixes #79372.
  7695. 2006-09-27 Jackson Harper <[email protected]>
  7696. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  7697. because it is most likely on a window being destroyed, and that
  7698. will give us an X11 error.
  7699. 2006-09-27 Chris Toshok <[email protected]>
  7700. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  7701. the dropdown button now toggles between showing and hiding the
  7702. dropdown. Also, get rid of dropdown_form_showing and just use
  7703. dropdown_form.Visible. We still don't do a grab, but I'll leave
  7704. that part to someone who has handled Capture-fu before.
  7705. 2006-09-27 Chris Toshok <[email protected]>
  7706. * DataGrid.cs: return false if alt isn't pressed when '0' is
  7707. pressed. this keeps the '0' key from being swallowed, and fixes
  7708. bug #79350.
  7709. 2006-09-27 Chris Toshok <[email protected]>
  7710. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  7711. Calling Refresh (in response to a scrollbar event) screws up the
  7712. scrollbar painting. Fixes bug #78923.
  7713. 2006-09-27 Chris Toshok <[email protected]>
  7714. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  7715. then insert into hashtable" blocks threadsafe.
  7716. 2006-09-27 Chris Toshok <[email protected]>
  7717. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  7718. baseclass's, since otherwise the
  7719. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  7720. effect. This gets the close button back in messageboxes.
  7721. 2006-09-27 Chris Toshok <[email protected]>
  7722. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  7723. flag, not just != 0. this makes flags that are actually multiple
  7724. bits (like WS_CAPTION) work. fixes bug #79508.
  7725. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  7726. * PageSetupDialog.cs: add support for getting and settings the
  7727. paper size, source and orientation.
  7728. 2006-09-26 Chris Toshok <[email protected]>
  7729. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  7730. and caption == "", we need to remove the resize handles as well as
  7731. the title bar.
  7732. * Control.cs (set_Text): turns out that setting Text on a form
  7733. should change the WM styles on the window, since if ControlBox ==
  7734. false, the only way to get a window border is to have a non-""
  7735. Text property. check winforms/forms/text.cs for an example. so,
  7736. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  7737. update both window styles and title. This fixes a lot of dialogs
  7738. (including the preferences dialog in MonoCalendar.)
  7739. 2006-09-26 Chris Toshok <[email protected]>
  7740. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  7741. control isn't a Form), call Win32ShowWindow to hide the window,
  7742. but don't update the control Visible property. When we reparent
  7743. back to a parent control, call SetVisible in order for the
  7744. window's visibility to be reinstated.
  7745. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  7746. the FosterParent.
  7747. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  7748. call for good, since it breaks MonoCalendar (and other things I'm
  7749. sure.) Also, set all_controls to null *after* the owner calls,
  7750. which end up regenerating it.
  7751. (ChangeParent): allow new_parent to be == null, passing
  7752. IntPtr.Zero down to XplatUI.
  7753. this fixes #79294 the right way.
  7754. 2006-09-26 Mike Kestner <[email protected]>
  7755. * GridEntry.cs : internal SetParent method.
  7756. * PropertyGrid.cs : attach to property changed on the proper
  7757. target if we have a hierarchical grid with subobjects. Setup
  7758. GridItem.Parent for hierarchical items.
  7759. * PropertyGridView.cs : Set value on the correct target for
  7760. hierarchical grids. [Fixes #78903]
  7761. 2006-09-26 Chris Toshok <[email protected]>
  7762. * Control.cs (ChildNeedsRecreating): this should return true if
  7763. either we're being recreated and the child is in our list, or our
  7764. parent is waiting for our recreation.
  7765. 2006-09-26 Chris Toshok <[email protected]>
  7766. * Control.cs (ControlCollection.Remove): reinstate the
  7767. value.Hide() call as suggested in bug #79294.
  7768. 2006-09-26 Sebastien Pouliot <[email protected]>
  7769. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  7770. coordinates (versus a relative move).
  7771. 2006-09-26 Chris Toshok <[email protected]>
  7772. * Control.cs: rework child recreation a little bit. It turns out
  7773. that we race between the DestroyNotify the WM_DESTROY message. If
  7774. the parent gets its DestroyNotify before the child gets the
  7775. WM_DESTROY message, the child ends up not recreating (since the
  7776. parent finishes its recreation on DestroyNotify, and the child
  7777. checks ParentIsRecreating.)
  7778. So, instead we store off a list of all the child controls which
  7779. need to be recreated when the parent control starts to recreate
  7780. itself. Then, when child controls get their WM_DESTROY message we
  7781. check to see if they're in the parent's pending recreation list,
  7782. and if so, we recreate. This removes all dependency on ordering
  7783. from the code and fixes the initial MonoCalendar upgrade dialog.
  7784. 2006-09-26 Jackson Harper <[email protected]>
  7785. * TextControl.cs: Use the Line to get the length of the line,
  7786. since soft line breaks can change the end line.
  7787. 2006-09-26 Chris Toshok <[email protected]>
  7788. * Control.cs (ControlCollection.AddImplicit): don't add the
  7789. control again if it's already in one of our lists. This keeps us
  7790. from adding controls over and over again for comboboxes when their
  7791. handle gets recreated (as the combobox adds implicit controls in
  7792. OnHandleCreated). Fixes the X11 errors in bug #79480.
  7793. 2006-09-26 Jackson Harper <[email protected]>
  7794. * TextControl.cs: When deleting characters make sure that any
  7795. orphaned zero lengthed tags get deleted.
  7796. - Fix ToString for zero lengthed tags.
  7797. 2006-09-25 Jackson Harper <[email protected]>
  7798. * TextControl.cs: When getting a tag at the location there can be
  7799. multiple tags at the same spot, these are 0-lengthed tags that
  7800. appear when extra formatting has been stuck in a location. We
  7801. need to pull out the last of these 0 lengthed tags.
  7802. 2006-09-25 Jackson Harper <[email protected]>
  7803. * TextControl.cs: Fix print out in debug method.
  7804. * TextBoxBase.cs: When text is set bail if we are setting to the
  7805. previous value.
  7806. 2006-09-24 Alexander Olk <[email protected]>
  7807. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  7808. It is now possible to change the selected index in a FontXXXListBox
  7809. with the up and down arrow keys from the FontXXXTextBoxes.
  7810. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  7811. FontXXXListBoxes to match ms.
  7812. 2006-09-22 Sebastien Pouliot <[email protected]>
  7813. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  7814. anyone can dispose it, anytime. All other properties returns enums,
  7815. structs or basic types so they don't need such tricks.
  7816. 2006-09-22 Jackson Harper <[email protected]>
  7817. * XplatUI.cs:
  7818. * XplatUIWin32.cs:
  7819. * Clipboard.cs:
  7820. * DataFormats.cs:
  7821. * XplatUIOSX.cs:
  7822. * XplatUIDriver.cs: Update interface to add a primary selection
  7823. flag, so the driver can use the primary selection buffer if
  7824. needed.
  7825. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  7826. * RichTextBox.cs: We need to supply the data object to paste now
  7827. (so we can choose to supply CLIPBOARD or PRIMARY).
  7828. * TextBoxBase.cs: Supply data object to paste (see above).
  7829. - Middle click uses the primary selection data object.
  7830. 2006-09-21 Chris Toshok <[email protected]>
  7831. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  7832. of SetWMStyles. It's still a rat's nest and is largely
  7833. order-dependent which I dislike immensely. This also fixes the X
  7834. button disappearing from toplevel forms.
  7835. 2006-09-21 Mike Kestner <[email protected]>
  7836. * ListBox.cs: move Jordi's click/dblclick raising code to the
  7837. mouse up handler.
  7838. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  7839. * ListBox.cs: Fixes 79450
  7840. 2006-09-21 Mike Kestner <[email protected]>
  7841. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  7842. to deal with people updating the TreeNodeCollection after the tree
  7843. is disposed. "Fixes" 79330.
  7844. 2006-09-20 Jackson Harper <[email protected]>
  7845. * TextControl.cs: Push the cursor record onto the undo stack
  7846. before the delete action. This fixes 78651.
  7847. 2006-09-20 Jonathan Chambers <[email protected]>
  7848. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  7849. CreateParams. Fixes 79329.
  7850. 2006-09-19 Chris Toshok <[email protected]>
  7851. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  7852. things up a bit. First, get rid of the NetAtoms array (and the NA
  7853. enum), and just embed the atoms as static fields. Also, add a
  7854. couple of functions (StyleSet and ExStyleSet) to clean up all the
  7855. bitmask testing of styles.
  7856. * X11Structs.cs: remove the NA enum, not needed anymore.
  7857. 2006-09-19 Chris Toshok <[email protected]>
  7858. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  7859. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  7860. added cleanup to get MessageBox titles appearing again, which were
  7861. broken by my earlier fix for caption-less/ControlBox-less windows.
  7862. 2006-09-18 Jonathan Pobst <[email protected]>
  7863. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  7864. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  7865. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  7866. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  7867. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  7868. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  7869. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  7870. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  7871. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  7872. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  7873. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  7874. Inital import.
  7875. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  7876. ToolStripButton.cs: Stubs needed for above.
  7877. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  7878. 2006-09-15 Chris Toshok <[email protected]>
  7879. * XplatUIX11.cs:
  7880. - make the MessageQueues hashtable Synchronized.
  7881. - SendMessage: if the Hwnd is owned by a different thread, use the
  7882. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  7883. thread. Fixes bug #79201.
  7884. 2006-09-15 Chris Toshok <[email protected]>
  7885. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  7886. ControlBox == false, we disallow maximize/minimize/close. If the
  7887. form Caption is "" we also disallow move (and get rid of the Title
  7888. decoration). Unfortunately, regardless of how things are set,
  7889. we're stuck with the Title and WM menu.
  7890. 2006-09-15 Chris Toshok <[email protected]>
  7891. * Application.cs: add locking around the static message_filters
  7892. ArrayList, part of #79196.
  7893. 2006-09-15 Chris Toshok <[email protected]>
  7894. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  7895. Form.ControlBox == false, the window has no titlebar nor resize
  7896. handles. fixes bug #79368.
  7897. 2006-09-15 Chris Toshok <[email protected]>
  7898. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  7899. >= 0. Fixes bug #79370.
  7900. 2006-09-15 Jonathan Pobst <[email protected]>
  7901. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  7902. * Control.cs:
  7903. Add properties: LayoutEngine, Margin, DefaultMargin.
  7904. Add method: GetPreferredSize.
  7905. Move layout logic from PerformLayout to layout engines.
  7906. 2006-09-13 Chris Toshok <[email protected]>
  7907. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  7908. fix for #79326 broke #78718, so this change addresses that.
  7909. - in SendWMDestroyMessages remove the call to
  7910. CleanupCachedWindows, since we might be recreating the control and
  7911. need to maintain the references to right Hwnd handles. Also, set
  7912. the zombie flag to true for each of the children in the hierarchy
  7913. instead of calling hwnd.Dispose. This will cause GetMessage to
  7914. ignore all events for the window except for DestroyNotify.
  7915. - In GetMessage, ignore messages except for DestroyNotify for
  7916. zombie hwnds.
  7917. * Control.cs: revert the is_recreating fix from the last
  7918. ChangeLog. It's definitely "right", but it breaks switching from
  7919. an MDI form to a non-MDI form. Will need to revisit that.
  7920. * Hwnd.cs: add a zombie flag, which means "the
  7921. client_window/whole_window handles are invalid, but we're waiting
  7922. for the DestroyNotify event to come in for them". Set the flag to
  7923. false explicitly if setting WholeWindow/ClientWindow, and also
  7924. when Disposing.
  7925. 2006-09-13 Chris Toshok <[email protected]>
  7926. * XplatUIX11.cs: rework window destruction slightly.
  7927. - when destroying the windows associated with a control, we don't
  7928. need 2 separate XDestroyWindow calls. Just the one for the
  7929. whole_window (or for client_window if whole_window is somehow
  7930. IntPtr.Zero -- can this happen?) is enough.
  7931. - reworked SendWMDestroyMessages slightly, so we always dispose
  7932. the child control hwnd's after sending the messages.
  7933. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  7934. the two places it was used (one was even using hwnd.Handle and the
  7935. other hwnd.client_window. ugh), adding another call in
  7936. SendWMDestroyMessages. We need this new call because now the
  7937. DestroyNotify events in the queue will be ignored for the child
  7938. controls (as their hwnd's were disposed, and the window id's
  7939. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  7940. - this fixes bug #79326.
  7941. 2006-09-13 Chris Toshok <[email protected]>
  7942. * Control.cs: don't always set is_recreating to false at the end
  7943. of RecreateHandle, since sometimes we're not done (and won't be
  7944. until WndProc handles the WM_DESTROY message). Also, set
  7945. is_recreating to false in the WM_DESTROY handling code. Part of
  7946. the fix for bug #79326.
  7947. 2006-09-13 Miguel de Icaza <[email protected]>
  7948. * X11DesktopColors.cs: Start the droppage of debugging messages.
  7949. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  7950. 2006-09-13 Jonathan Pobst <[email protected]>
  7951. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  7952. 2006-09-12 Chris Toshok <[email protected]>
  7953. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  7954. to create it using SetDataSource. Fixes bug #79151.
  7955. 2006-09-11 Chris Toshok <[email protected]>
  7956. * XEventQueue.cs: add a DispatchIdle property.
  7957. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  7958. either the queue is null, or the queue has DispatchIdle set to
  7959. true.
  7960. (DoEvents): set queue.DispatchIdle to false around the
  7961. peek/translate/dispatch message loop in this method. This keeps
  7962. Application.Doevents from emitting idle events. Part of the fix
  7963. for #78823.
  7964. 2006-09-11 Chris Toshok <[email protected]>
  7965. * DataGrid.cs (set_DataSource): make this work for both the
  7966. winforms/datagrid test and ReportBuilder. It seems as though when
  7967. we've created a ListManager (or maybe it's if we have a
  7968. BindingContext?), when we set the DataSource it clears the
  7969. DataMember to "". otherwise we reuse the datamember. Fixes bug
  7970. #79333.
  7971. 2006-09-11 Chris Toshok <[email protected]>
  7972. * XplatUIX11.cs: deal with queue being null, which happens in all
  7973. the Clipboard functions. Fixes one of the two problems mentioned
  7974. in #78612.
  7975. 2006-09-11 Chris Toshok <[email protected]>
  7976. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  7977. button on various spots (including outside the menu) works closer
  7978. to MS, and doesn't crash. Fixes #79343.
  7979. 2006-09-11 Gert Driesen <[email protected]>
  7980. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  7981. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  7982. and the internal comparer is set. When a new ListViewItemSorter is set,
  7983. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  7984. was specified. No further processing is necessary if SortOrder is set
  7985. to it's current value. If Sorting is modified to None, and View is
  7986. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  7987. (either custom or our internal ItemComparer) to null, on 1.0 profile
  7988. only set item_sorter to null if its our internal IComparer. If Sorting
  7989. is modified to Ascending or Descending, then use our internal IComparer
  7990. if none is set, and if the current IComparer is our internal one then:
  7991. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  7992. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  7993. Enum.IsDefined to verify whether a valid View value is specified in
  7994. its setter. Automatically sort listview items when listview is
  7995. created. In Sort, do nothing if ListView is not yet created, or if
  7996. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  7997. to None or ListViewItemSorter was set to null). Added Sort overload
  7998. taking a bool to indicate whether the ListView should be redrawn when
  7999. items are sorted (we use this in ListViewItemCollection to avoid double
  8000. redraws). Modified our internal IComparer to take the sort order into
  8001. account. In Add and AddRange methods of ListViewItemCollection, also
  8002. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  8003. view), but use overload with noredraw option to avoid double redraw.
  8004. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  8005. true when View is Tile, and do the same when attempting to set View to
  8006. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  8007. for selected/checked indices, as it involves overhead when sorting is
  8008. done while these collections are not used all that often. Instead
  8009. we'll build the indices on demand. Modified IList implementation of
  8010. CheckedIndexCollection to use public methods if object is int.
  8011. Modified CheckedListViewItemCollection to hide checked items if
  8012. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  8013. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  8014. IList implementation in SelectedIndexCollection to use public methods
  8015. if object is int. Modified SelectedListViewItemCollection to hide
  8016. selected items if listview is not yet created.
  8017. * ListViewItem.cs: CheckedIndices list no longer needs to be
  8018. maintained separately (see ListView changes). Also clone font, fixes
  8019. test failure.
  8020. 2006-09-11 Mike Kestner <[email protected]>
  8021. * ComboBox.cs: if we are updating the contents of the currently
  8022. selected index, refresh the control or the textbox selection.
  8023. [Fixes #79066]
  8024. 2006-09-11 Mike Kestner <[email protected]>
  8025. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  8026. the 'specified' logic has been moved there. This seems like a bug
  8027. in Control.cs, since our current SetBoundsCore completely ignores
  8028. the specified parameter. Peter's commit seems to indicate that is
  8029. the way the MS control implementation works. [Fixes #79325]
  8030. 2006-09-10 Jonathan Chambers <[email protected]>
  8031. * XplatUI.cs: Set default_class_name to be composed
  8032. of current domain id. This allows MWF to be loaded in multiple
  8033. domains on Win32.
  8034. 2006-09-09 Miguel de Icaza <[email protected]>
  8035. * X11Keyboard.cs: If we are unable to obtain the input method, do
  8036. not call CreateXic to create the input context. Should fix
  8037. #78944/79276.
  8038. 2006-09-08 Alexander Olk <[email protected]>
  8039. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  8040. Simplified gnome support by adding more pinvokes to get the
  8041. icon for a file or mime type.
  8042. 2006-09-08 Jackson Harper <[email protected]>
  8043. * MenuAPI.cs: Deslect popup context menu items before closing the
  8044. window, so that you don't see the previously selected item
  8045. selected when you reopen the menu.
  8046. * TextControl.cs: Update the cursor position even if we don't have
  8047. focus. This fixes typing in things like the ComboBox. I'm not
  8048. totally sure we should always set the visibility if we don't have
  8049. focus, but couldn't find any corner cases where the cursor showed
  8050. up when it shouldn't.
  8051. 2006-09-08 Chris Toshok <[email protected]>
  8052. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  8053. our arrays are length 256. & 0xff before indexing. Fixes the
  8054. crash in bug #78077.
  8055. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  8056. * ThemeWin32Classic.cs:
  8057. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  8058. is true. Handle that check box too.
  8059. 2006-09-07 Chris Toshok <[email protected]>
  8060. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  8061. 79244.
  8062. 2006-09-07 Chris Toshok <[email protected]>
  8063. * Control.cs: in set_BackColor only do the work if
  8064. background_color != value.
  8065. * XplatUIX11.cs: move the clearing of invalid areas (both client
  8066. and nc) to the same block of code where we set (nc_)expose_pending
  8067. to false. That is, move it from PaintEventEnd to PaintEventStart,
  8068. so things that cause invalidates from within OnPaint will trigger
  8069. another call to OnPaint. Fixes bug #79262.
  8070. 2006-09-07 Alexander Olk <[email protected]>
  8071. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  8072. * FileDialog.cs: Fix typo
  8073. 2006-09-07 Jackson Harper <[email protected]>
  8074. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  8075. for tab pages if they have any.
  8076. 2006-09-06 Mike Kestner <[email protected]>
  8077. * Splitter.cs: use the "current" rect when finishing drag handle
  8078. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  8079. 2006-09-06 Mike Kestner <[email protected]>
  8080. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  8081. support offset splitters. [Fixes #79298]
  8082. 2006-09-06 Alexander Olk <[email protected]>
  8083. * Mime.cs: Fixed a bug that could override the global mime type
  8084. result.
  8085. 2006-09-05 Jackson Harper <[email protected]>
  8086. * TabControl.cs: Better calculation method for setting the slider
  8087. pos. Prevents crashes on really wide tabs.
  8088. - Draw Image on tab pages if an image list is used.
  8089. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  8090. * MonthCalendar.cs: When Font changes, the Size should be
  8091. updated to fit the new font's space requirements.
  8092. 2006-09-02 Alexander Olk <[email protected]>
  8093. * ListBox.cs: If the items are cleared with Items.Clear set
  8094. top_index to 0.
  8095. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  8096. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  8097. fire DateChanged event instead of DateSelected event when
  8098. the date was changed by keyboard interaction.
  8099. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  8100. * DateTimePicker.cs: Handle DateChanged for the associated
  8101. month_calendar control, and set month_calendar.Font from
  8102. OnFontChanged method, as well as resize the height of the
  8103. control when needed. Make PreferredHeight proportional.
  8104. 2006-09-01 Chris Toshok <[email protected]>
  8105. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  8106. properties.
  8107. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  8108. 2006-09-01 Peter Dennis Bartok <[email protected]>
  8109. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  8110. for decorations (Fixes #79219)
  8111. 2006-09-01 Mike Kestner <[email protected]>
  8112. * ComboBox.cs: first stab at sorting plus some selection handling
  8113. fixes to bring us more in line with MS behavior. Also switches back
  8114. to index based selection. Alternative patches for index-based
  8115. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  8116. and [email protected] on bug 78848. I assume they were similar to this
  8117. code I've had simmering in my tree forever.
  8118. [Fixes #78848]
  8119. 2006-09-01 Chris Toshok <[email protected]>
  8120. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  8121. when setting list position guard against ending up with a -1 index
  8122. (the other part of the fix for #78812). Should probably make sure
  8123. we don't need the analogous fix in the ItemDeleted case.
  8124. * DataGrid.cs:
  8125. - in SetDataSource, work around the fact that the way
  8126. OnBindingContextChanged is invoked will cause us to re-enter this
  8127. method. I'll remove the hack once I investigate
  8128. OnBindingContextChanged.
  8129. - fix the logic in set_DataSource and set_DataMember (basically
  8130. what to do if the other of the two is null.)
  8131. - in OnListManagerItemChanged, we need to take into account the
  8132. edit row when deciding whether or not to call RecreateDataGridRows
  8133. (part of the fix for #78812).
  8134. 2006-09-01 Jackson Harper <[email protected]>
  8135. * Splitter.cs: Don't do anything if there is no control to affect
  8136. (prevents us from crashing in weird tet cases).
  8137. * TreeView.cs: Bounding box for the mouse movement reverting
  8138. focus/selection back to previously selected node. This matches
  8139. MS, and makes the tree a lot more useable.
  8140. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  8141. use clipping so they are not drawn. This fixes when the control
  8142. is set to have a transparent background, or if it was over an
  8143. image.
  8144. 2006-09-01 Alexander Olk <[email protected]>
  8145. * MimeIcon.cs: Improved handling for reading default icons when
  8146. using gnome (2.16 made it necessary). Check and read svg icons
  8147. first, then 48x48 and then 32x32 icons.
  8148. 2006-08-31 Chris Toshok <[email protected]>
  8149. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  8150. visible.
  8151. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  8152. ProcessKeyPreview. Fixes part of #77806.
  8153. * DataGrid.cs: big patch.
  8154. - revert the queueing up of DataSource/DataMember if inside
  8155. BeginInit/EndInit calls. That's not the way the datagrid achieves
  8156. its delayed databinding. Instead, call SetDataSource in
  8157. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  8158. #78811.
  8159. - Also, it wasn't mentioned in #78811, but the test case exhibits
  8160. behavior that was lacking in our datagrid implementation - Columns
  8161. that have mapping names that don't exist in the datasource's
  8162. properties aren't shown. Yuck. To fix this I added the bound
  8163. field to the column style, and basically any calculation to figure
  8164. out anything about columns uses a loop to find the bound columns.
  8165. still need to investigate if I can cache an array of the bound
  8166. columns or if the indices must be the same.
  8167. - When setting CurrentCell, we no longer abort if the cell being
  8168. edited was in the add row. This fixes the other part of #77806.
  8169. - The new code also fixes #78807.
  8170. * ThemeWin32Classic.cs: perpetrate the same disgusting
  8171. column.bound field hack, and only render bound fields.
  8172. 2006-08-31 Chris Toshok <[email protected]>
  8173. * DataGridColumnStyle.cs: add bound field. this field is true if
  8174. the datasource has a property corresponding to the mapping name.
  8175. * DataGridTableStyle.cs: set the bound field on the column styles
  8176. depending on whether or not we have a column for that property.
  8177. 2006-08-31 Peter Dennis Bartok <[email protected]>
  8178. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  8179. splitter control (fixes #79228)
  8180. 2006-08-31 Chris Toshok <[email protected]>
  8181. * DataGridColumnStyle.cs: we need to delay the assignment of
  8182. property descriptor until the last possible moment due to the lazy
  8183. databinding stuff in the datagrid. Also, fix the exceptions
  8184. thrown by CheckValidDataSource to match MS.
  8185. 2006-08-31 Jackson Harper <[email protected]>
  8186. * Form.cs: When activated select the active control, if there is
  8187. no active control, we select the first control.
  8188. * XplatUIX11.cs: If there is no focus control when we get a
  8189. FocusIn event, find the toplevel form and activate it. This
  8190. occurs when you popup a window, it becomes the focus window, then
  8191. you close that window, giving focus back to the main window.
  8192. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  8193. * MonthCalendar.cs:
  8194. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  8195. as StringFormat with Center alignments in MonthCalendar,
  8196. instead of creating new ones when drawing the control.
  8197. Also, draw the month name in bold style.
  8198. 2006-08-30 Peter Dennis Bartok <[email protected]>
  8199. * Control.cs:
  8200. - PerformLayout(): It would seem MS performs the fill even if the
  8201. control is not visible (part of #79218 fix)
  8202. - ResetBackColor(): Use the setter to reset the color, to allow
  8203. overriders to catch the change.
  8204. * Form.cs:
  8205. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  8206. - CreateHandle(): dito (part of $79218 fix)
  8207. - Don't set an icon if we have a dialog
  8208. * ScrollableControl.cs:
  8209. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  8210. - ScrollIntoView(): No need to scroll if control is already visible
  8211. (resolves fixme and fixes #79218)
  8212. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  8213. * MonthCalendar.cs: Change proportions in SingleMonthSize
  8214. to match the aspect of the original control.
  8215. 2006-08-29 Alexander Olk <[email protected]>
  8216. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  8217. get updated when they get maximized.
  8218. 2006-08-29 Peter Dennis Bartok <[email protected]>
  8219. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  8220. 2006-08-29 Chris Toshok <[email protected]>
  8221. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  8222. 2006-08-29 Jackson Harper <[email protected]>
  8223. * TreeView.cs: Need to track selected node and highlighted node,
  8224. they aren't always the same thing, when the mouse is down on a
  8225. node it is hilighted, but not selected yet.
  8226. - Do the HideSelection stuff right
  8227. - Need to focus on rbutton mouse down. And redraw selection when
  8228. right click is mouse upped.
  8229. 2006-08-29 Mike Kestner <[email protected]>
  8230. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  8231. when SubItems.Count < Columns.Count. [Fixes #79167]
  8232. 2006-08-28 Peter Dennis Bartok <[email protected]>
  8233. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  8234. 2006-08-28 Peter Dennis Bartok <[email protected]>
  8235. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  8236. from X. Only send based on ConfigureNotify if we don't have the
  8237. correct location in hwnd (if the window manager moved us)
  8238. 2006-08-28 Mike Kestner <[email protected]>
  8239. * ListView.cs: remove a TODO.
  8240. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  8241. [Fixes ListView part of #79166]
  8242. 2006-08-28 Mike Kestner <[email protected]>
  8243. * ListView.cs: move wheel handler to parent since it is focused
  8244. instead of the item_control now. [Fixes #79177]
  8245. 2006-08-28 Mike Kestner <[email protected]>
  8246. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  8247. when the control is focused. [Fixes #79171]
  8248. 2006-08-28 Mike Kestner <[email protected]>
  8249. * ListView.cs: size the item and header controls for empty and
  8250. unscrollable views.
  8251. * ThemeWin32Classic.cs: draw disabled backgrounds.
  8252. [Fixes #79187]
  8253. 2006-08-28 Chris Toshok <[email protected]>
  8254. * Form.cs: remove unused "active_form" static field.
  8255. * Hwnd.cs: lock around accesses to static windows collection.
  8256. * Application.cs: lock threads in Exit ().
  8257. 2006-08-28 Chris Toshok <[email protected]>
  8258. * NativeWindow.cs: lock around accesses to window_collection.
  8259. 2006-08-28 Chris Toshok <[email protected]>
  8260. * Control.cs: err, fix this the right way, by locking on controls
  8261. when using it. not by making it synchronized.
  8262. 2006-08-28 Chris Toshok <[email protected]>
  8263. * Control.cs: make the static "controls" field synchronized, as it
  8264. gets updated from multiple threads.
  8265. 2006-08-27 Peter Dennis Bartok <[email protected]>
  8266. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  8267. Prevent other threads from exiting when calling thread sets quit state.
  8268. * XEventQueue.cs: Added PostQuitState property
  8269. 2006-08-27 Chris Toshok <[email protected]>
  8270. * AsyncMethodData.cs: add a slot for the window handle.
  8271. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  8272. window (the destination control's window, not the foster window).
  8273. * Control.cs (BeginInvokeInternal): store the window's handle in
  8274. the AsyncMethodData.
  8275. 2006-08-27 Peter Dennis Bartok <[email protected]>
  8276. * XplatUIX11.cs:
  8277. - PostQuitMessage: Removed resetting S.D display handle, we might have
  8278. another loop started after calling PostQuitMessage (Fixes #79119)
  8279. - Created destructor to reset S.D handle
  8280. 2006-08-27 Peter Dennis Bartok <[email protected]>
  8281. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  8282. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8283. * TextControl.cs (Insert): Update the caret position even if we don't
  8284. have a handle yet, just don't call the driver in that case.
  8285. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  8286. to the end of the new selection text (Fixes #79184)
  8287. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8288. * Form.cs (Activate): Only activate if the handle is created)
  8289. * Control.c:
  8290. - Mark window as invisible when it's disposed
  8291. - Check if window handle is created when setting window visible,
  8292. instead of relying just on the is_created variable
  8293. - Check if object is disposed when creating the control (Fixes #79155)
  8294. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8295. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  8296. when allowing layout again. Otherwise we re-generate the anchoring
  8297. distance to the border again and actually alter what the user wanted
  8298. This is ugly, it'd be better if we used DisplayRectangle instead of
  8299. ClientRectangle for Control.UpdateDistances, but that causes us to
  8300. have other problems (initial anchoring positons would be wrong)
  8301. (Fixes #78835)
  8302. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8303. * Control.cs:
  8304. - The size and location setters shouldn't go directly to
  8305. SetBoundsCore, but to SetBounds, which triggers layout on the
  8306. parent, then calls SetBoundsCore. (Related to fix for #78835)
  8307. - SetBounds: Moved actual location update code into this function
  8308. from SetBoundsCore, to match MS. Added call to PerformLayout if
  8309. we have a parent (to trigger resizing of anchored parents if the
  8310. child size has changed (see testcase for #78835)
  8311. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  8312. new control code
  8313. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  8314. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8315. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  8316. System.Drawing when a toplevel window gets closed; there might
  8317. be other toplevel windows belonging to the same app (Fixes #78052)
  8318. 2006-08-26 Alexander Olk <[email protected]>
  8319. * FileDialog.cs: After reading FileDialog settings from mwf_config
  8320. use Desktop prefix only if a real folder doesn't exist anymore.
  8321. * FontDialog.cs: Added char sets.
  8322. It is now possible to select the font, size or style with the
  8323. textboxes.
  8324. 2006-08-25 Kornél Pál <[email protected]>
  8325. * PrintPreviewDialog.cs: Use assembly name constants.
  8326. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8327. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  8328. scrollbar from whacking it's buttons)
  8329. 2006-08-24 Chris Toshok <[email protected]>
  8330. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  8331. in this patch (aggregating setting Left/Top/Width/Height to
  8332. setting Bounds on the scrollbars), but the crux of the fix is in
  8333. Recalculate, where we scroll by the remaining scroll_position if
  8334. we're hiding a scrollbar. The 2*$5 reward in the comment is
  8335. serious.
  8336. 2006-08-24 Jackson Harper <[email protected]>
  8337. * MdiClient.cs:
  8338. * MdiWindowManager.cs: If the form is made a non-mdi window we
  8339. need to remove the form closed event so that closing forms works
  8340. correctly.
  8341. 2006-08-24 Jackson Harper <[email protected]>
  8342. * Control.cs: Make IsRecreating internal so that the driver can
  8343. check it
  8344. - Temporarily remove the Hide when controls are removed, its
  8345. making a whole bunch of things not work because visibility isn't
  8346. getting reset elsewhere correctly
  8347. * Form.cs: Need to do a full handle recreation when the mdi parent
  8348. is set.
  8349. * XplatUIX11.cs: If we are recreating handles don't dispose the
  8350. HWNDs. What was happening is the handles were being recreated in
  8351. SendWMDestroyMessages, but then flow continued on in that method
  8352. and destroyed the new handles.
  8353. 2006-08-23 Jackson Harper <[email protected]>
  8354. * Form.cs: MdiClient is always at the back of the bus
  8355. * Control.cs: When the order of items in the collection is changed
  8356. we need to reset the all_controls array
  8357. - do the same sorta setup thats done when adding a control when a
  8358. control is set on the collection.
  8359. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8360. * TextBoxBase.cs (get_Text): Return an empty array if our document
  8361. is empty (fixes #79052)
  8362. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8363. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  8364. on WM_SYSCHAR messages (fixes #79053)
  8365. 2006-08-23 Chris Toshok <[email protected]>
  8366. * DataGrid.cs: fix flickering when scrolling vertically.
  8367. 2006-08-23 Chris Toshok <[email protected]>
  8368. * DataGrid.cs (EndEdit): only invalidate the row header when we
  8369. need to.
  8370. 2006-08-23 Chris Toshok <[email protected]>
  8371. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  8372. methods. fixes the flicker when scrolling around.
  8373. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8374. * FileDialog.cs: Making sure the control is created before we get a
  8375. chance to use it with BeginInvoke (Fixes #79096)
  8376. 2006-08-23 Chris Toshok <[email protected]>
  8377. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  8378. width to use when painting the rows.
  8379. 2006-08-23 Peter Dennis Bartok <[email protected]>
  8380. * TextBoxBase.cs:
  8381. - Throw ArgumentException if a negative value is passed to SelectionLength
  8382. - Update the selection end if start is moved. end needs to be always
  8383. after start. (Fixes #79095)
  8384. - Track selection length; MS keeps the selection length even if start
  8385. is changed; reset on all other operations affection selection
  8386. 2006-08-22 Jackson Harper <[email protected]>
  8387. * TreeView.cs: Make sure both scrollbars get displayed and sized
  8388. correctly when the other bar is visible.
  8389. - Use the original clip rectangle for checking if the area between
  8390. the two scrollbars is visible, not the viewport adjusted clipping
  8391. rectangle.
  8392. 2006-08-22 Jackson Harper <[email protected]>
  8393. * Binding.cs: We don't use IsBinding because it requires the
  8394. control to be created, which really shouldn't be necessary just to
  8395. set a property on the control.
  8396. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  8397. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  8398. ArgumentNullReferenceException when the argument is null.
  8399. 2006-08-21 Jackson Harper <[email protected]>
  8400. * Timer.cs: Track the thread that the timer is started in (NOT
  8401. CREATED), this way messages for it will only be triggered on its
  8402. queue.
  8403. * XEventQueue.cs: Track the timers here, this makes timers per
  8404. thread, like MS.
  8405. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  8406. 2006-08-19 Chris Toshok <[email protected]>
  8407. * XplatUIX11.cs: after further communication with pdb, we get the
  8408. best of both worlds. SetZOrder working for un-Mapped windows, and
  8409. no X errors for un-mapped windows.
  8410. 2006-08-19 Chris Toshok <[email protected]>
  8411. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  8412. as it was causing pdn toolbars to not have the correct stacking.
  8413. 2006-08-18 Mike Kestner <[email protected]>
  8414. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  8415. calculation. Not sure why control should ever be setting a negative
  8416. width though. Fixes #78931.
  8417. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  8418. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  8419. null items in ObjectCollection class.
  8420. * ListBox.cs.: Likewise.
  8421. 2006-08-18 Atsushi Enomoto <[email protected]>
  8422. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  8423. as the base method in ThemeWin32Classic should work fine.
  8424. Fixed bug #78607.
  8425. 2006-08-18 Jackson Harper <[email protected]>
  8426. * Binding.cs: When validating if the value entered doesn't convert
  8427. properly reset to the old value.
  8428. * RadioButton.cs: Don't fire click when we get focus.
  8429. 2006-08-18 Jackson Harper <[email protected]>
  8430. * FileDialog.cs: Paint the selection on the directory combobox the
  8431. same way as on MS.
  8432. 2006-08-17 Jackson Harper <[email protected]>
  8433. * ErrorProvider.cs: Don't allow the error control to be selected.
  8434. * Control.cs: Don't send the SetFocus messages, the control
  8435. activation will do this, and if we do it blindly here validation
  8436. does not work.
  8437. 2006-08-17 Jackson Harper <[email protected]>
  8438. * Control.cs:
  8439. * ContainerControl.cs: Make validation events fire in the correct
  8440. order. TODO: For some reason the first validation event is not
  8441. getting fired.
  8442. 2006-08-17 Mike Kestner <[email protected]>
  8443. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  8444. 2006-08-17 Mike Kestner <[email protected]>
  8445. * ComboBox.cs : implement scroll wheel support for popped-down
  8446. state. Fixes #78945.
  8447. 2006-08-17 Jackson Harper <[email protected]>
  8448. * TreeView.cs: Specify treeview actions (old patch that didn't get
  8449. committed for some reason).
  8450. - Don't let the mouse wheel scroll us too far. Just want to make
  8451. the bottom node visible, not scroll it all the ways to the top.
  8452. 2006-08-17 Jackson Harper <[email protected]>
  8453. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  8454. 2006-08-17 Mike Kestner <[email protected]>
  8455. * ComboBox.cs : don't do mouseover selection in simple mode.
  8456. 2006-08-16 Jackson Harper <[email protected]>
  8457. * Form.cs: Fire the closing events for all the mdi child windows
  8458. when a window is closed. If the cancel args are set to true, the
  8459. main window still gets the event fired, but it doesn't not close.
  8460. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  8461. handler, instead of when the button is clicked, so cancelling the
  8462. close works correctly.
  8463. * ComboBox.cs: Send the mouse down to the scrollbar.
  8464. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  8465. * ListBox.cs: When passing 'null' to SelectedItem,
  8466. set SelectedIndex to -1, to unselect items. This is the
  8467. observed behaviour in .Net.
  8468. 2006-08-16 Peter Dennis Bartok <[email protected]>
  8469. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  8470. MS flags saying there won't be any. (fixes #78800)
  8471. * Control.cs (HandleClick): Made virtual
  8472. 2006-08-16 Atsushi Enomoto <[email protected]>
  8473. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  8474. cultures. Fixed bug #78399.
  8475. 2006-08-16 Jackson Harper <[email protected]>
  8476. * Form.cs: Use the MdiClients MdiChildren property to access
  8477. MdiChildren instead of creating the array from the child controls.
  8478. * MdiClient.cs: Maintain a separate array of the mdi children, so
  8479. that insertion order is maintained when the Z-order is changed.
  8480. 2006-08-16 Mike Kestner <[email protected]>
  8481. * ListView.cs : add an ItemComparer and default to it for sorting.
  8482. Fixes #79076, but sorting needs a complete overhaul to be compat with
  8483. MS.
  8484. 2006-08-15 Peter Dennis Bartok <[email protected]>
  8485. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  8486. 2006-08-15 Peter Dennis Bartok <[email protected]>
  8487. * Hwnd.cs (Mapped): Properly traverse the tree
  8488. 2006-08-15 Chris Toshok <[email protected]>
  8489. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  8490. pass manager.Current.GetType() to ParseData. It has to be the
  8491. property type. So, hold off doing the ParseData until we're in
  8492. SetPropertyValue where we know the type. This fixes the crash in
  8493. #78821 but the textbox is still empty.
  8494. 2006-08-15 Chris Toshok <[email protected]>
  8495. * DataGrid.cs:
  8496. - when we're scrolling, only call Edit() again if the
  8497. current cell is still unobscured. Fixes bug #78927.
  8498. - when handling mousedown on a cell, ensure the cell is visible
  8499. before calling Edit.
  8500. - remove the properties from DataGridRow, and remove the
  8501. DataGridParentRow class altogether.
  8502. 2006-08-15 Peter Dennis Bartok <[email protected]>
  8503. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  8504. fire OnTextChanged by ourselves. There's no point calling base,
  8505. we don't set the base value anywhere else. Fixes #78773.
  8506. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  8507. * ListBox.cs: Call CollectionChanged when modifying
  8508. an item from Items indexer, to update the actual items
  8509. in the list box.
  8510. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  8511. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  8512. to match .Net behaviour.
  8513. 2006-08-15 Peter Dennis Bartok <[email protected]>
  8514. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  8515. 2006-08-15 Peter Dennis Bartok <[email protected]>
  8516. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  8517. 2006-08-15 Peter Dennis Bartok <[email protected]>
  8518. * MessageBox.cs: Prevent potential NRE exception.
  8519. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  8520. 2006-08-14 Peter Dennis Bartok <[email protected]>
  8521. * MessageBox.cs: Calculate the owner of a messagebox, also make
  8522. it topmost. Fixes #78753
  8523. 2006-08-14 Chris Toshok <[email protected]>
  8524. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  8525. programmatically move windows. first, set the PPosition hint as
  8526. well as the USPosition hint. Second include some code from pdb
  8527. that sets the window type to NORMAL when we set the transient for
  8528. hint. This is because, in the absence of a window type, metacity
  8529. thinks any window with TransientFor set is a dialog, and refuses
  8530. to let us move it programmatically. fascists.
  8531. 2006-08-14 Peter Dennis Bartok <[email protected]>
  8532. * XplatUIX11.cs: When setting normal hints, take into consideration
  8533. an different hints previously set so we don't delete them (fixes #78866)
  8534. 2006-08-12 Chris Toshok <[email protected]>
  8535. * ToolBarButton.cs: make Layout return a boolean, if something to
  8536. do with the button's layout changed.
  8537. * ToolBar.cs:
  8538. - add another parameter to Redraw, @force, which all existing
  8539. calls set to true.
  8540. - make the Layout function return a boolean which is true if the
  8541. layout has actually changed. Redraw now uses this (and @force)
  8542. to determine when to invalidate. At present the only place
  8543. where @force can be false is the call from OnResize, when
  8544. background_image == null. So, resizing a toolbar when the
  8545. layout doesn't change results in no drawing.
  8546. 2006-08-12 Chris Toshok <[email protected]>
  8547. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  8548. the VScrollBar and HScrollbar reversed. oops.
  8549. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  8550. scrollbars. we were assigning them twice (once in
  8551. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  8552. therefore causing two scrollbar resizes (and redraws?) to happen
  8553. per grid resize.
  8554. 2006-08-12 Chris Toshok <[email protected]>
  8555. * ToolBarButton.cs: redraw the entire button if the theme tells us
  8556. to.
  8557. * Theme.cs: add ToolBarInvalidateEntireButton.
  8558. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  8559. buttons, just the border.
  8560. * ThemeNice.cs: redraw the entire toolbar button since we need to
  8561. draw the highlight image.
  8562. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  8563. we need to redraw the entire button (not just the border).
  8564. 2006-08-11 Peter Dennis Bartok <[email protected]>
  8565. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  8566. for vertical bars. Fixes the mismatches shown by #78513
  8567. 2006-08-11 Alexander Olk <[email protected]>
  8568. * FileDialog.cs: If a saved/remembered path doesn't exist
  8569. anymore, fall back to "Desktop".
  8570. 2006-08-11 Peter Dennis Bartok <[email protected]>
  8571. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  8572. parent. It's apparently legal to not have one
  8573. * XplatUIX11.cs:
  8574. - SetZOrder: Don't try to set Z-Order on an unmapped window
  8575. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  8576. it unless the coordinates are negative
  8577. 2006-08-10 Mike Kestner <[email protected]>
  8578. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  8579. when setting to null per msdn docs. Fixes #78854.
  8580. 2006-08-10 Chris Toshok <[email protected]>
  8581. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  8582. flickering by setting a clip rectangle on the Graphics when we
  8583. need to redraw just a particular menuitem. Also, rename "OnClick"
  8584. to "OnMouseDown" to reflect what it actually is.
  8585. * Form.cs: track the OnMouseDown change.
  8586. 2006-08-10 Peter Dennis Bartok <[email protected]>
  8587. * CommonDialog.cs: Properly inherit the CreateParams from the form
  8588. and only change what we need. Fixes #78865
  8589. 2006-08-10 Chris Toshok <[email protected]>
  8590. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  8591. flickering in flat mode (and most of the flickering in general) by
  8592. only invalidating the button border (and not the entire rectangle)
  8593. when the state changes. A couple of cases still flicker:
  8594. ToggleButtons, and the dropdown arrow case when the user mouse
  8595. ups.
  8596. 2006-08-10 Alexander Olk <[email protected]>
  8597. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  8598. for german keyboards. Numlock state shouldn't affect the behaviour
  8599. of the Del key. Fixes bug #78291.
  8600. 2006-08-10 Chris Toshok <[email protected]>
  8601. * ListControl.cs: remove the items.Clear line from BindDataItems,
  8602. as this is the first thing done by both subclasses in their
  8603. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  8604. passed -1, refresh the list. This gets databinding working when
  8605. the datasource is set on the list before the datasource is
  8606. populated (as in wf-apps/ReportBuilder.)
  8607. * ComboBox.cs: remove the argument to BindDataItems. This call
  8608. should really go away, and be initiated by the ListControl code.
  8609. * ListBox.cs: same.
  8610. 2006-08-09 Peter Dennis Bartok <[email protected]>
  8611. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  8612. if no data is in the document when the control is displayed
  8613. 2006-08-09 Peter Dennis Bartok <[email protected]>
  8614. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  8615. yes (fixes #78806)
  8616. * TextControl.cs:
  8617. - PositionCaret: Allow positioning of caret but don't call methods
  8618. requiring a handle if the window isn't created yet
  8619. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  8620. - owner_HandleCreated: Don't position the caret, just update it's
  8621. location. User might have already set a different position
  8622. 2006-08-09 Peter Dennis Bartok <[email protected]>
  8623. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  8624. windows. Screws up the returned coordinates for child windows.
  8625. Fixes #78825. I'm hoping this doesn't break something, since the
  8626. code was explicitly put in 8 months ago, but no bug was attached.
  8627. Menus still seem to work properly.
  8628. 2006-08-08 Chris Toshok <[email protected]>
  8629. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  8630. supposed to do - delay data binding until the EndInit call. Also,
  8631. make the table style collection's CollectionChangeAction.Refresh
  8632. work properly.
  8633. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  8634. (with action = Refresh) when a consituent table's MappingName is
  8635. changed.
  8636. 2006-08-08 Chris Toshok <[email protected]>
  8637. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  8638. Invalidate, since changing the text can change the size of the all
  8639. toolbar buttons.
  8640. 2006-08-08 Peter Dennis Bartok <[email protected]>
  8641. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  8642. we don't have it yet
  8643. 2006-08-08 Chris Toshok <[email protected]>
  8644. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  8645. dialog, as this causes X errors later on, since we actually
  8646. destroy the window. Instead, .Hide() it.
  8647. 2006-08-08 Peter Dennis Bartok <[email protected]>
  8648. * ComboBox.cs: Added focus reflection for popup window
  8649. * XplatUIX11.cs:
  8650. - Removed transient setting for non-app windows for now, not sure it
  8651. was needed
  8652. - Fixed logic checking if we have captions when deciding
  8653. override_redirect, WS_CAPTION is two bits and a 0 check was not
  8654. sufficient
  8655. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  8656. complicated
  8657. * Form.cs:
  8658. - AddOwnedForm: Don't just add the form to the list, call the property
  8659. to ensure the driver is informed about the ownership as well
  8660. - CreateHandle: Set the TopMost status in the driver if we have an owner
  8661. * XplatUI.cs: Fixed debug statement
  8662. 2006-08-08 Jonathan Pobst <[email protected]>
  8663. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  8664. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  8665. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  8666. TrackBarRenderer.cs: Make constructor private.
  8667. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  8668. * ProfessionalColorTable.cs: Make properties virtual.
  8669. 2006-08-06 Duncan Mak <[email protected]>
  8670. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  8671. is not changing.
  8672. 2006-08-04 Jonathan Pobst <[email protected]>
  8673. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  8674. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  8675. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  8676. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  8677. Initial import of new 2.0 classes.
  8678. 2006-08-04 Jonathan Pobst <[email protected]>
  8679. * Application.cs: Add 2.0 VisualStyles properties.
  8680. 2006-08-04 Jonathan Pobst <[email protected]>
  8681. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  8682. XplatUIX11.cs: Create property to allow access to existing private
  8683. variable "themes_enabled"
  8684. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  8685. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  8686. file size, as otherwise our class libraries fail using windows. Fixes
  8687. bug #78759.
  8688. 2006-08-04 Jackson Harper <[email protected]>
  8689. * Form.cs:
  8690. * XplatUIX11.cs: Move the toolwindow window manager creation into
  8691. the X11 driver, this way on win32 we can let windows create/handle
  8692. the toolwindows.
  8693. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  8694. * PrintDialog.cs: Remove some redundant checks, add some others,
  8695. clean some code, and move the focus to the text boxes when the
  8696. values are incorrect.
  8697. 2006-08-04 Alexander Olk <[email protected]>
  8698. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  8699. 2006-08-03 Alexander Olk <[email protected]>
  8700. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  8701. handled correctly. Fixes bug #79001.
  8702. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  8703. * PrintDialog.cs: The "Copies" numeric up down must have
  8704. set the Minimum property to 1; only if the value is bigger
  8705. than 1, activate "Collate" check box. This is the behaviour of .Net.
  8706. Also modify the Document elements only if it is not null.
  8707. 2006-08-03 Jackson Harper <[email protected]>
  8708. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  8709. length. (We have a larger array then actual node count).
  8710. 2006-08-03 Jackson Harper <[email protected]>
  8711. * ComboBox.cs: Don't show selection by default.
  8712. - The SelectAll isn't needed here, since the focus code should do
  8713. that
  8714. - DDL style lists to manual selection drawing, so when they
  8715. get/lose focus they have to invalidate.
  8716. 2006-08-03 Peter Dennis Bartok <[email protected]>
  8717. * TextBoxBase.cs: Don't always show all selections by default.
  8718. 2006-08-03 Jonathan Pobst <[email protected]>
  8719. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  8720. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  8721. Fixed various typos.
  8722. 2006-08-03 Alexander Olk <[email protected]>
  8723. * Control.cs: Removing the controls in a ControlCollection with
  8724. Clear now hides the controls as expected. Fixes bug #78804.
  8725. 2006-08-03 Jackson Harper <[email protected]>
  8726. * Control.cs: Revert previous focus patch, it breaks reflector.
  8727. 2006-08-03 Jackson Harper <[email protected]>
  8728. * ComboBox.cs: Cleanup selection and focus with the combobox.
  8729. This also eliminates some duplicated keyboard code, since now
  8730. everything is handled by the main class.
  8731. - Make list selection work on mouse up instead of down, to match
  8732. MS.
  8733. 2006-08-02 Jackson Harper <[email protected]>
  8734. * Control.cs: Setting focus needs to go through the whole
  8735. selection mechanism.
  8736. 2006-08-02 Chris Toshok <[email protected]>
  8737. * PrintPreviewDialog.cs: change MinimumSize to use
  8738. base.MinimumSize so it works.
  8739. 2006-08-02 Peter Dennis Bartok <[email protected]>
  8740. * TextControl.cs:
  8741. - UpdateCaret: Added sanity check in case caret isn't defined yet
  8742. - Line.Delete: Now updating selection and caret markers if we're
  8743. transfering a node (Properly fixes #78323)
  8744. - SetSelectionEnd: Added sanity check
  8745. * TextBoxBase.cs: Removed broken attempt to fix #78323
  8746. 2006-08-01 Chris Toshok <[email protected]>
  8747. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  8748. Close() call is handled in Form, not here.
  8749. 2006-08-01 Chris Toshok <[email protected]>
  8750. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  8751. layout/rendering.
  8752. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  8753. for sizes < 100% zoom. The code now aggressively attempts to keep
  8754. from calling document.Print (), and tries not to use the scaling
  8755. g.DrawImage whenever possible (it still does if you scale to >
  8756. 100%, since usually that involves huge images).
  8757. * PrintPreviewControl.cs: hook up the close button.
  8758. 2006-08-01 Jonathan Pobst <[email protected]>
  8759. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  8760. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  8761. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  8762. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  8763. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  8764. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  8765. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  8766. Removed [Serializable] for 2.0 Event Handlers.
  8767. 2006-07-31 Jackson Harper <[email protected]>
  8768. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  8769. * TextControl.cs: Uncomment out the body of this method.
  8770. 2006-07-31 Alexander Olk <[email protected]>
  8771. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  8772. standard cursors.
  8773. 2006-07-31 Peter Dennis Bartok <[email protected]>
  8774. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  8775. that embed TextBox and need selections visible even if textbox is not
  8776. focused to enforce that behaviour.
  8777. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  8778. selection drawing
  8779. 2006-07-31 Peter Dennis Bartok <[email protected]>
  8780. * TextControl.cs:
  8781. - Added new SetSelectionStart/SetSelectionEnd overloads
  8782. - Fixed viewport width assignment to be accurate
  8783. - Adjusted alignment line shift calculations to allow cursor on right
  8784. aligned lines to be always visible at the right border (like MS)
  8785. * TextBoxBase.cs:
  8786. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  8787. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  8788. - CalculateScrollBars: Use ViewPort size instead of window size, to
  8789. properly consider space occupied by the border and scrollbars
  8790. (Fixes #78661)
  8791. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  8792. calculations; no longer leaves artifacts
  8793. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  8794. calculation bugs (Still missing right/center align calculations)
  8795. 2006-07-31 Peter Dennis Bartok <[email protected]>
  8796. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  8797. use of both scroll rect and clip rect, as they do the same.
  8798. 2006-07-31 Peter Dennis Bartok <[email protected]>
  8799. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  8800. in the event handler (fixes #78912)
  8801. 2006-07-31 Chris Toshok <[email protected]>
  8802. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  8803. grid.ListManager.Count, since grid.ListManager might be null.
  8804. This of course begs the question "why are we drawing rows for a
  8805. grid with no list manager (and therefor no rows)?" Fixes the
  8806. crash in bug #78929.
  8807. 2006-07-31 Chris Toshok <[email protected]>
  8808. * RelatedPropertyManager.cs: Don't always chain up to the parent
  8809. ctor. instead, call SetDataSource if the parent's position is !=
  8810. -1. Fixes the crash in #78822.
  8811. 2006-07-31 Chris Toshok <[email protected]>
  8812. * DataGrid.cs (get_ListManager): use field instead of property
  8813. accessors for datasource and datamember.
  8814. (RowsCount): make internal again.
  8815. (OnMouseDown): end edits before resizing columns/rows.
  8816. (OnMouseUp): restart edits after resizing columns/rows.
  8817. 2006-07-30 Peter Dennis Bartok <[email protected]>
  8818. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  8819. This fixes the situation where the last set cursor is displayed
  8820. whenever the mouse is over scrollbars.
  8821. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  8822. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  8823. Document properties, as well as initial values.
  8824. 2006-07-29 Peter Dennis Bartok <[email protected]>
  8825. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  8826. and ClientEdge results in a 3-pixel border, which is
  8827. wrong.
  8828. 2006-07-28 Jackson Harper <[email protected]>
  8829. * TreeNodeCollection.cs: Fix the clear method.
  8830. - Fix the Shrink also
  8831. 2006-07-27 Jackson Harper <[email protected]>
  8832. * TreeView.cs: Make sure the visible order is computed when we
  8833. attempt to size the scrollbars (for trees that mess with the
  8834. scrolling when they shouldn't.
  8835. - Make sure to give the scrollbars valid values.
  8836. 2006-07-26 Peter Dennis Bartok <[email protected]>
  8837. * XplatUIX11.cs: Move motion compression code to where it
  8838. has less performance impact
  8839. 2006-07-26 Jackson Harper <[email protected]>
  8840. * UpDownBase.cs: When the control is selected make the child
  8841. controls non selectable, so that a click on them won't do a
  8842. focus/unfocus cycle.
  8843. - Don't give focus to the text box when the spinner is selected.
  8844. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  8845. 2006-07-26 Chris Toshok <[email protected]>
  8846. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  8847. satisfied with this solution. If the bitmaps are small, we should
  8848. just cache them in the PrintPreviewDialog and draw them here.
  8849. Also, the layout is broken for the 2-up and 3-up cases.
  8850. * Theme.cs: add PrintPReviewControlPaint.
  8851. * PrintPreviewDialog.cs: first pass implementation.
  8852. * PrintPreviewControl.cs: first pass implementation. No
  8853. scrollbars yet.
  8854. * PrintDialog.cs: only validate fields if that particular portion
  8855. of the UI is enabled. Also, set the document's controller to a
  8856. PrintControllerWithStatusDialog wrapping the document's print
  8857. controller.
  8858. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  8859. bring up a SaveFileDialog (i hope we don't want to match the
  8860. behavior of the crappy windows file entry) and set the
  8861. PrinterSettings.PrintFileName accordingly.
  8862. 2006-07-26 Jackson Harper <[email protected]>
  8863. * ContainerControl.cs: Add a field that disables auto selecting
  8864. the next control in a container when the container is activated.
  8865. * UpDownBase.cs: Don't select the text box when the up down is
  8866. selected.
  8867. 2006-07-26 Peter Dennis Bartok <[email protected]>
  8868. * XEventQueue.cs: Added methods for peeking (used for compression
  8869. of successive events)
  8870. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  8871. mouse move events (fixes #78732)
  8872. 2006-07-25 Jackson Harper <[email protected]>
  8873. * UpDownBase.cs: Use an internal class for the textbox so that we
  8874. can control focus. the updown control should always have focus,
  8875. if either the text area or the buttons are clicked.
  8876. - Send the key messages to the textbox, since it never actually
  8877. has focus
  8878. - Activate and decativate the textbox caret.
  8879. 2006-07-24 Jackson Harper <[email protected]>
  8880. * Control.cs: Use the directed select when selecting a control,
  8881. this way the container controls override will get called and the
  8882. whole ActiveControl chain will get triggered. TODO: probably need
  8883. to make sure this gets done everywhere instead of the old
  8884. Select(Control).
  8885. * ContainerControl.cs: Implement the directed Select method to
  8886. find and activate the correct child control.
  8887. 2006-07-22 Mike Kestner <[email protected]>
  8888. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  8889. menu handling code so that clicks without a grab work too.
  8890. [Fixes #78914]
  8891. 2006-07-22 Alexander Olk <[email protected]>
  8892. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  8893. Added some small optimizations.
  8894. 2006-07-21 Matt Hargett <[email protected]>
  8895. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  8896. 2006-07-21 Peter Dennis Bartok <[email protected]>
  8897. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  8898. tests pass and match MS in some strange border cases.
  8899. 2006-07-21 Chris Toshok <[email protected]>
  8900. * ThemeWin32Classic.cs: handle drawing of the relation links and
  8901. parent row buttons.
  8902. * Theme.cs: change args to DataGridPaintParentRow.
  8903. * DataGrid.cs: Don't use controls for the relation links and
  8904. parent buttons, so we have to handle all their interactions in
  8905. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  8906. when we're navigating through child tables, so we can reinstate
  8907. selection, expanded state, current cell, etc.
  8908. 2006-07-20 Chris Toshok <[email protected]>
  8909. * ToolBar.cs: When we redraw a button, for whatever reason,
  8910. there's no reason to redraw the entire toolbar. Also, don't call
  8911. Control.Refresh from within Redraw, as it's much heavier than
  8912. Invalidate (which is really what we want).
  8913. 2006-07-20 Chris Toshok <[email protected]>
  8914. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  8915. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  8916. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  8917. traces from within a debug IBindingList datasource
  8918. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  8919. to work in a similar fashion.
  8920. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  8921. * ListBox.cs: Don't call Sort () when setting
  8922. the Sorted property to false (avoid an unnecessary sort).
  8923. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  8924. * ListControl.cs: DataSource should throw an ArgumentException
  8925. instead of a normal exception when the argument is not of the
  8926. correct type.
  8927. 2006-07-20 Mike Kestner <[email protected]>
  8928. * Control.cs: add InternalPreProcessMessage to allow us to steal
  8929. key events before MWF gets its paws on them. Adapted from a
  8930. suggestion by eno.
  8931. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  8932. up/down/left/right navigation. Override the new internal control
  8933. method to steal the events since they never make it to WndProc.
  8934. * ToolBarButton.cs: don't worry about pushed when setting hilight
  8935. since the drawing code prefers pushed to hilight. Invalidate on
  8936. Hilight changes. Fixes #78547 and #78525.
  8937. 2006-07-20 Peter Dennis Bartok <[email protected]>
  8938. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  8939. the canvas size. Fixes #78868
  8940. 2006-07-20 Peter Dennis Bartok <[email protected]>
  8941. * Splitter.cs: Track requested split position until first layout
  8942. is performed. Fixes #78871
  8943. 2006-07-20 Peter Dennis Bartok <[email protected]>
  8944. * Application.cs: Removed code that forces 1.x for the version
  8945. number if the version started with 0. Not sure why that code was
  8946. there and I couldn't find any bugs that indicated we needed it.
  8947. Fixes #78869
  8948. 2006-07-20 Alexander Olk <[email protected]>
  8949. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  8950. ResetDefaults(), just write some output to the console until it's
  8951. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  8952. 2006-07-19 Jonathan Chambers <[email protected]>
  8953. * PropertyGridView.cs: set StartPosition of drop down forms
  8954. so they appear in correct initial spot. Fixes #78190.
  8955. 2006-07-19 Mike Kestner <[email protected]>
  8956. * ThemeWin32Classic.cs: use parent background color when drawing
  8957. flat toolbars. Restructure the conditionals to make sure non-flat
  8958. non-Divider toolbars are filled too. Fixes #78837.
  8959. 2006-07-19 Mike Kestner <[email protected]>
  8960. * ListBox.cs: Sort on collection changes even if the handle
  8961. isn't created yet. Fixes #78813.
  8962. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  8963. * ListControl.cs: DisplayMember should never be null,
  8964. and now we assign String.Empty when null is passed to it (this
  8965. is the .Net way).
  8966. 2006-07-17 Mike Kestner <[email protected]>
  8967. * ListViewItem.cs: restructure Font and subitem Font handling
  8968. to hold a specific font and refer back to owner on null.
  8969. Fixes #78761.
  8970. 2006-07-17 Mike Kestner <[email protected]>
  8971. * ToolBar.cs: bandaid for side-effect of previous patch which was
  8972. discarding explicit heights for non-AutoSize toolbars. Need to
  8973. extend my format tester to deal with AutoSize=false. Fixes #78864.
  8974. 2006-07-15 Jackson Harper <[email protected]>
  8975. * LabelEditTextBox.cs:
  8976. * TreeView.cs: Use a new LabelEdit class for node editing, this
  8977. class automatically 'closes' itself when it gets the enter key or
  8978. loses focus.
  8979. - Use the client rectangle when setting the trees scrollbars, so
  8980. border style is taken into account.
  8981. 2006-07-14 Jackson Harper <[email protected]>
  8982. * TreeNode.cs:
  8983. * TreeView.cs: Make the editing work similar to MSs, firing the
  8984. events correctly and ending edits correctly.
  8985. 2006-07-14 Mike Kestner <[email protected]>
  8986. * ToolBarButton.cs:
  8987. * ToolBar.cs: layout restructuring and redraw enhancements to support
  8988. formatting changes gracefully, like setting TextAlign, ImageList,
  8989. ButtonSize, and Appearance. Handles explicit button sizing quirks
  8990. of the MS controls. Things like flat toolbars ignoring button size
  8991. but becoming constant sized at the largest button's size. Normal
  8992. toolbars with an image set cannot be shrunk smaller than the image,
  8993. but text can be clipped/ignored.
  8994. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  8995. is zero. Seems like DrawString should be smart enough to not put
  8996. anything on screen though. Also trim labels and ellipsize at the char
  8997. boundary, not word.
  8998. Fixes #78711 and #78483.
  8999. 2006-07-14 Alexander Olk <[email protected]>
  9000. * FolderBrowserDialog.cs: Disable "New Folder" button and
  9001. "New Folder" contextmenu menuitem if a folder like "My Computer"
  9002. is selected.
  9003. 2006-07-14 Alexander Olk <[email protected]>
  9004. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  9005. * FolderBrowserDialog.cs:
  9006. - Use MWFConfig to store and read size and position settings
  9007. - Added code to create a new folder (button or context menu).
  9008. Use TreeView labeledit to change the name of the new folder.
  9009. 2006-07-14 Jackson Harper <[email protected]>
  9010. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  9011. when the tree is scrolled we end editing.
  9012. 2006-07-14 Alexander Olk <[email protected]>
  9013. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  9014. Down arrows
  9015. 2006-07-14 Jonathan Pobst <[email protected]>
  9016. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  9017. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  9018. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  9019. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  9020. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  9021. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  9022. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  9023. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  9024. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  9025. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  9026. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  9027. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  9028. ListViewItemSelectionChangedEventHandler.cs,
  9029. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  9030. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  9031. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  9032. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  9033. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  9034. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  9035. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  9036. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  9037. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  9038. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  9039. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  9040. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  9041. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  9042. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  9043. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  9044. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  9045. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  9046. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  9047. WebBrowserNavigatingEventHandler.cs,
  9048. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  9049. 2006-07-14 Jonathan Pobst <[email protected]>
  9050. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  9051. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  9052. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  9053. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  9054. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  9055. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  9056. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  9057. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  9058. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  9059. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  9060. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  9061. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  9062. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  9063. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  9064. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  9065. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  9066. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  9067. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  9068. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  9069. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  9070. ListViewItemStates.cs, MaskFormat.cs: Added
  9071. 2006-07-13 Jonathan Chambers <[email protected]>
  9072. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  9073. Patch from eno for bug 78558.
  9074. 2006-07-13 Jackson Harper <[email protected]>
  9075. * TreeView.cs: When an edit is finished make sure that the
  9076. selected node is visible.
  9077. - When setting the top/bottom use the scrollbars is_visible, so
  9078. everything will be set correctly even if the tree isn't visible
  9079. yet.
  9080. 2006-07-13 Jackson Harper <[email protected]>
  9081. * ComboBox.cs: Revert the item->index part of my previous patch.
  9082. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  9083. the edit box has lost focus (duh).
  9084. - Just make the edit box not visible when we get return, that will
  9085. take the focus, which will call EndEdit
  9086. * TreeNode.cs When we start editing, notify the treeview.
  9087. 2006-07-12 Jackson Harper <[email protected]>
  9088. * ComboBox.cs: Clear out old items before setting the item list.
  9089. This prevents databound controls from having their items added
  9090. twice.
  9091. - Switch the combobox to use indices whereever possible instead of
  9092. using Item's. This allows usto navigate through lists that have
  9093. more then one item with the same string value (ie a, b, b, a).
  9094. - Scroll the listboxes scrollbar when a non visible item is
  9095. highlighted
  9096. - Allow keypress to cycle through all the possible values. For
  9097. example if you have b1, b2, b3 and hold down the B key all the
  9098. values will be cycled through.
  9099. 2006-07-12 Jackson Harper <[email protected]>
  9100. * TextBoxBase.cs:
  9101. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  9102. this using the internal methods.
  9103. * Control.cs: Add OnGotFocusInternal. A new method that allows
  9104. controls to "override" OnGotFocus and change focus behavior if
  9105. needed.
  9106. - Same thing for LostFocus
  9107. * ComboBox.cs: Pass off focus to the text control properly.
  9108. 2006-07-12 Alexander Olk <[email protected]>
  9109. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  9110. * FolderBrowserDialog.cs: Almost a complete rewrite.
  9111. - Better support for Environment.Specialfolders
  9112. - Added support for MWFVFS
  9113. - Made setting SelectedPath work
  9114. 2006-07-12 Jackson Harper <[email protected]>
  9115. * Control.cs: Optimze getting all the controls.
  9116. 2006-07-11 Jackson Harper <[email protected]>
  9117. * ContainerControl.cs: Override SETFOCUS in the container control,
  9118. so that it is not selected on mouse click.
  9119. 2006-07-11 Peter Dennis Bartok <[email protected]>
  9120. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  9121. Hopefully we will have a better way once all of focus is complete.
  9122. 2006-07-11 Peter Dennis Bartok <[email protected]>
  9123. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  9124. a compile error with csc.
  9125. 2006-07-11 Jackson Harper <[email protected]>
  9126. * Control.cs: When hiding a control only select the next control
  9127. if the current control was focused.
  9128. - Don't handle enter/leave when setting/killing focus, this is
  9129. done by the container control.
  9130. - Remove is_selected, it's not needed anymore.
  9131. - Add utility methods for selecting a child control, and for
  9132. firing the Enter/Leave events.
  9133. * ContainerControl.cs: When a control is activated fire the
  9134. enter/leave events.
  9135. - Don't wrap when processing the tab key, so that focus can be
  9136. moved outside of the container.
  9137. - Use the correct active control
  9138. 2006-07-11 Jackson Harper <[email protected]>
  9139. * ComboBox.cs: Remove some debug code that was blinding me.
  9140. * UpDownBase.cs: These controls actually aren't implicit, they are
  9141. visible to the user.
  9142. 2006-07-10 Chris Toshok <[email protected]>
  9143. * DataGrid.cs: move back to the is_adding boolean field. god i
  9144. hate this is_editing/is_adding/is_changing stuff.
  9145. 2006-07-10 Chris Toshok <[email protected]>
  9146. * DataGridTableStyle.cs: just check if the property type is bool.
  9147. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  9148. Don't use CanRenderType.
  9149. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  9150. if our text == NullText. Remove CanRenderType.
  9151. * DataGridBoolColumn.cs: nuke CanRenderType.
  9152. * DataGrid.cs: reenable some code to end the current edit inside
  9153. of set_CurrentCell. This fixes the other 1.1.16 regression.
  9154. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  9155. Also, remove the visible_row_count arg from CalcRowHeaders, since
  9156. we don't need to worry about the actual height of the area.
  9157. 2006-07-10 Chris Toshok <[email protected]>
  9158. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  9159. mode, just return.
  9160. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  9161. the real sense of the IsInEditOrNavigateMode property (true =
  9162. navigate, false = edit). Also, update OnKeyPress to reflect this.
  9163. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  9164. column style exists, we still need to set its property descriptor
  9165. to match up with our list manager.
  9166. 2006-07-10 Chris Toshok <[email protected]>
  9167. * ThemeWin32Classic.cs: implement the new row/header painting
  9168. approach. The parent row painting will likely go away and
  9169. replaced with label controls, but the rest seems to work ok (and
  9170. efficiently).
  9171. * Theme.cs: change the way we draw datagrid rows. we don't draw
  9172. the row headers as a block now. Instead we draw them in the
  9173. normal draw-row loop. Add some calls for drawing parent rows and
  9174. relation rows.
  9175. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  9176. a default table style. Set the defaults from ThemeEngine.Current,
  9177. not SystemColors. Fix lots of misc issues with property setters.
  9178. * DataGrid.cs: move loads of style information out of this class
  9179. as it's being duplicated with DataGridTableStyle. keep track of a
  9180. special DataGridTableStyle for the properties we used to mirror
  9181. here. Switch all the style properties to access this table style
  9182. instead of instance fields of this class. Also add a internal
  9183. class to represent parent rows (more needs to be stored here, like
  9184. the selection state from the parent table, as well as the
  9185. expansion state.) Also, for datasources with relations, do the
  9186. right thing for collapse/expand, and add support for the
  9187. navigation/parent row buttons.
  9188. Lastly, fix the crash in the 1.1.16 build.
  9189. * GridTableStylesCollection.cs: make the explicit interface
  9190. implementations call the class's methods as opposed to duplicating
  9191. them.
  9192. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  9193. 0 so the text doesn't jump around when we move the cursor.
  9194. 2006-07-10 Jackson Harper <[email protected]>
  9195. * TextBoxBase.cs:
  9196. * ListBox.cs: Match MS's ToString (this makes debugging focus
  9197. stuff infinitely easier).
  9198. 2006-07-10 Jackson Harper <[email protected]>
  9199. * Control.cs (SelectNextControl): When checking the control's
  9200. parent use this instead of ctrl.parent so that null can be passed
  9201. to SelectNextControl. (I have unit tests for this).
  9202. - Remove unused var.
  9203. 2006-07-10 Chris Toshok <[email protected]>
  9204. * CurrencyManager.cs: correct one regression, the removal of the
  9205. finalType field. Also, add a MonoTODO on CanAddRows, implement
  9206. Refresh() correctly, and fix some event emission in
  9207. ListChangedHandler.
  9208. 2006-07-07 Alexander Olk <[email protected]>
  9209. * FileDialog.cs: Don't use brackets for new folders if they exist
  9210. under *nix. Instead use -(number of existing folders +1).
  9211. 2006-07-07 Alexander Olk <[email protected]>
  9212. * FileDialog.cs:
  9213. - Fixed really nasty bug #78771
  9214. - Don't block the whole GUI when reading directories with a lot of
  9215. entries. Use an other thread instead and call BeginInvoke to
  9216. update the ListView in MWFFileView
  9217. 2006-07-07 Chris Toshok <[email protected]>
  9218. * Control.cs (Dispose): release any Capture when disposing.
  9219. 2006-07-07 Chris Toshok <[email protected]>
  9220. * LinkLabel.cs (Select): if we chain up to the parent, set
  9221. focused_index to -1 so we'll search for the first available link
  9222. the next time the user tabs into us. Also, if the direction is
  9223. backward and focused_index == -1, start the search from the last
  9224. element.
  9225. 2006-07-07 Chris Toshok <[email protected]>
  9226. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  9227. is beyond the end of the text, don't do anything.
  9228. (CreateLinkPieces): set our ControlStyles.Selectable based on
  9229. whether or not we have any links.
  9230. (Link.Invalidate): use a loop instead of foreach.
  9231. (Link.set_Start): null out owner.sorted_links so it'll be
  9232. recreated by CreateLinkPieces.
  9233. 2006-07-06 Chris Toshok <[email protected]>
  9234. * LinkLabel.cs: revert the SetStyle change.
  9235. 2006-07-06 Chris Toshok <[email protected]>
  9236. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  9237. (OnEnableChanged): s/Refresh/Invalidate
  9238. (OnGotFocus): if we have a focused index already, refocus it (so
  9239. if we mouse out/in to the window it'll focus the right link).
  9240. (OnKeyDown): move the tab handling out of here.
  9241. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  9242. when we lose focus.
  9243. (OnMouseDown): don't Capture here - Control handles it. Also,
  9244. focus the active link.
  9245. (OnMouseUp): don't deal with Capture.
  9246. (OnPaintBackgroundInternal): remove.
  9247. (OnTextAlignChanged): CreateLinkPieces before calling the
  9248. superclass's method.
  9249. (OnTextChanged): call CreateLinkPieces before calling superclass's
  9250. method.
  9251. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  9252. move around.
  9253. (Select): implement this, moving the selection between different
  9254. links, and call parent.SelectNextControl if we don't have another
  9255. link to focus in the given direction.
  9256. (CreateLinkPieces): call Invalidate instead of Refresh.
  9257. 2006-07-06 Chris Toshok <[email protected]>
  9258. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  9259. new LinkLabel internals.
  9260. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  9261. over pieces looking for active/focused/etc links. also, deal with
  9262. runs of text (and links) with embedded \n's in them, and use
  9263. MeasureCharacterRanges instead of MeasureString to figure out the
  9264. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  9265. two-step.
  9266. 2006-07-04 Jackson Harper <[email protected]>
  9267. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  9268. XKB or key auto repeat, do it manually. Without key auto repeat,
  9269. when a key is held down we get key press, key release, key press,
  9270. key release, ... with auto repeat we get key press, key press, key
  9271. press ..., and then a release when the key is actually released.
  9272. 2006-07-03 Jackson Harper <[email protected]>
  9273. * TabControl.cs:
  9274. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  9275. rules, they are always control color regardless of the background
  9276. color.
  9277. 2006-07-02 Alexander Olk <[email protected]>
  9278. * FileDialog.cs: Added internal class MWFConfig.
  9279. Removed Registry support and replaced it with support for the new
  9280. MWFConfig class. See MWFConfig comments for more information.
  9281. 2006-06-30 Alexander Olk <[email protected]>
  9282. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  9283. rectangle. Added some patches from eno from bug #78490 and fixed
  9284. the arrow position for small up and down CPDrawScrollButtons.
  9285. 2006-06-30 Jackson Harper <[email protected]>
  9286. * InternalWindowManager.cs: Remove some debug code.
  9287. * Form.cs: When an MdiParent is set to null, the window is
  9288. "detatched" and becomes a normal window.
  9289. * MdiClient.cs: Don't bring the new child form to the front until
  9290. it is activated (setting it as active does this), this makes the
  9291. previously active forms titlebar get redrawn as inactive.
  9292. 2006-06-29 Peter Dennis Bartok <[email protected]>
  9293. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  9294. with later controls
  9295. 2006-06-29 Mike Kestner <[email protected]>
  9296. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  9297. arrow in keynav state. Fixes #78682.
  9298. 2006-06-28 Atsushi Enomoto <[email protected]>
  9299. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  9300. order (fixes #78393)
  9301. 2006-06-28 Jonathan Pobst <[email protected]>
  9302. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  9303. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  9304. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  9305. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  9306. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  9307. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  9308. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  9309. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  9310. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  9311. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  9312. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  9313. values)
  9314. 2006-06-28 Mike Kestner <[email protected]>
  9315. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  9316. 2006-06-28 Atsushi Enomoto <[email protected]>
  9317. * PropertyGrid.cs,
  9318. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  9319. item lines from other area (It also makes BackColor consistent and
  9320. compatible with .NET). Fixed bug #78564.
  9321. 2006-06-28 Jonathan Chambers <[email protected]>
  9322. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  9323. Patch from Eno for #78555.
  9324. 2006-06-27 Chris Toshok <[email protected]>
  9325. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  9326. * DataGridColumnStyle.cs: same.
  9327. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  9328. * DataGridDrawingLogic.cs: nuke.
  9329. 2006-06-27 Chris Toshok <[email protected]>
  9330. * DataGridTableStyle.cs: clean up the constructors, and build the
  9331. list of child relations for this table. I have no idea if this is
  9332. where we should be doing it (it probably isn't), but since we're
  9333. already iterating over the properties..
  9334. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  9335. struct and array for keeping track of row information, similar to
  9336. what's shown in a hack on
  9337. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  9338. * Theme.cs: be consistent about the naming of DataGrid methods,
  9339. prefering ColumnWidths and RowHeights over columnsWidths and
  9340. RowsHeights.
  9341. * ThemeWin32Classic.cs: same, and also add support for variable
  9342. sized rows (and the +/- expansion icons for related rows).
  9343. 2006-06-27 Peter Dennis Bartok <[email protected]>
  9344. * TextBoxBase.cs: Applied Eno's patch from #78660
  9345. 2006-06-27 Peter Dennis Bartok <[email protected]>
  9346. * Form.cs (ScaleCore): We don't want to scale our form if it's
  9347. state is minimized or maximized, but we still need to scale our
  9348. child windows. Also, added try/finally block to ensure layout
  9349. gets reset (Fixes #78697)
  9350. 2006-06-27 Peter Dennis Bartok <[email protected]>
  9351. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  9352. 2006-06-27 Peter Dennis Bartok <[email protected]>
  9353. * Form.cs: Fixed c+p error and added check to resize form if minimum
  9354. size is bigger than current size (Fixes #78709)
  9355. 2006-06-26 Peter Dennis Bartok <[email protected]>
  9356. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  9357. 2006-06-26 Mike Kestner <[email protected]>
  9358. * ComboBox.cs: only do Keypress handling in the combo when there
  9359. are items in the collection. Fixes #78710.
  9360. 2006-06-26 Chris Toshok <[email protected]>
  9361. * Binding.cs: make this work bi-directionally. also, clear up
  9362. other mixups between Push/Pull Data (e.g. we're supposed to pull
  9363. data when validating).
  9364. * BindingManagerBase.cs: trim some fully qualified collection
  9365. types.
  9366. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  9367. 2006-06-23 Chris Toshok <[email protected]>
  9368. * PropertyManager.cs: It appears (according to the unit tests)
  9369. that PropertyManager doesn't use
  9370. PropertyDescriptor.AddValueChanged to track propery value changes
  9371. in its datasource, but uses the same scheme as Binding, where it
  9372. looks for a <Property>Changed event and binds to it.
  9373. Also, according to the docs, IsSuspended always returns false for
  9374. a property manager with a non-null datasource.
  9375. 2006-06-22 Peter Dennis Bartok <[email protected]>
  9376. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  9377. need to update the actual DialogResult. (Fixes #78613)
  9378. 2006-06-22 Peter Dennis Bartok <[email protected]>
  9379. * Form.cs (ShowDialog): Release any captures before running the
  9380. new message pump (fixes #78680)
  9381. 2006-06-22 Mike Kestner <[email protected]>
  9382. * ListView.cs: Layout column widths properly in details mode even
  9383. if HeaderStyle.None is set. Fixes #78691.
  9384. 2006-06-21 Peter Dennis Bartok <[email protected]>
  9385. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  9386. 2006-06-21 Peter Dennis Bartok <[email protected]>
  9387. * Control.cs (ContainsFocus): Using new driver method to get focused
  9388. window, instead of trying to use internal tracking var, which can
  9389. recursion issues (Fixes #78685)
  9390. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  9391. XplatUIWin32.cs: Added GetFocus method to return focused window
  9392. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  9393. * ColorDialog.cs: when the mouse button is pressed inside the color
  9394. matrix, don't let the cursor move out of it until the button is
  9395. released, which is the behavior on windows. Changed 'colours' by
  9396. 'colors' to use the same word consistently.
  9397. 2006-06-21 Chris Toshok <[email protected]>
  9398. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  9399. child relation and back, using a stack). Also, remove
  9400. GetDataSource and the code that calls it - it's not needed. Also,
  9401. track CurrencyManager.ListName's removal.
  9402. 2006-06-21 Chris Toshok <[email protected]>
  9403. * CurrencyManager.cs: push some of the original type checking from
  9404. BindingContext.CreateBindingManager to here, and remove some of
  9405. the finalType stuff. Need more tests to make sure I've got the
  9406. ListName part right, and we might need more in SetDataSource.
  9407. * PropertyManager.cs: add a ctor that takes just the datasource,
  9408. and no property name. Make SetDataSource work with a null
  9409. property_name, and make Current return the data_source if the
  9410. property descriptor is null. this makes 'string foo = "hi";
  9411. BindingContext[foo].Current' return "hi" as it should.
  9412. * RelatedCurrencyManager.cs: make this code more generic - there's
  9413. no reason the parent manager has to be CurrencyManager, and
  9414. there's no reason to pass the DataRelation. It suffices to use a
  9415. BindingManagerBase and PropetyDescriptor.
  9416. * RelatedPropertyManager.cs: make a similar change here.
  9417. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  9418. flower I knew it could be.
  9419. 2006-06-20 Chris Toshok <[email protected]>
  9420. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  9421. data in the source has changed and we need to update the control,
  9422. so s/PullData/PushData.
  9423. * CurrencyManager.cs: Refresh is meant to update the control from
  9424. data in the datasource. So, s/PullData/PushData.
  9425. * BindingContext.cs: add more ugliness (we weren't handling the
  9426. case where data_source = DataTable and data_member = column_name).
  9427. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  9428. from the perspective of the datasource. PullData pulls from the
  9429. control, PushData pushes to the control.
  9430. 2006-06-20 Chris Toshok <[email protected]>
  9431. * BindingContext.cs: rewrite the CreateBindingManager code to
  9432. handle navigation paths more or less properly. This could
  9433. definitely stand some more work, in particular to push the
  9434. recursion up to the toplevel. But that relies on fixes in other
  9435. places (System.Data comes to mind).
  9436. Also, move to a flat hashtable (and encode the twolevel nature of
  9437. the dictionary into the hash key). This lets us implement the
  9438. IEnumerable.GetEnumerator method.
  9439. * RelatedCurrencyManager.cs: new class. Update our view based on
  9440. our relation and our parent CurrencyManager's position.
  9441. * CurrencyManager.cs: split out some logic from the ctor into
  9442. SetView, so it can be called from the new RelatedCurrencyManager
  9443. subclass.
  9444. * RelatedPropertyManager.cs: new class. Update our datasource
  9445. based on the position of our parent CurrencyManager.
  9446. * PropertyManager.cs: split out some logic from the ctor into
  9447. SetDataSource, so it can be called from the new RelatedDataSource
  9448. subclass. Also, make the Current getter return the value
  9449. of the PropertyDescriptor, not the data_source.
  9450. * Binding.cs: no need to duplicate the string splitting code here.
  9451. 2006-06-19 Peter Dennis Bartok <[email protected]>
  9452. * Control.cs:
  9453. - set_Enabled: OnEnabledChanged is not called if the inherited state
  9454. of the control is not altered, even though we might be changing the
  9455. internal state of the control (#78458)
  9456. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  9457. OnEnabledChanged, to allow easy altering of any child window state
  9458. - OnEnabledChanged: Added code to enable/disable driver window state
  9459. - OnParentEnabledChanged: Instead of firing the event, call
  9460. OnEnabledChanged, which will fire the event and also a) set driver
  9461. window state and pass the enabled state to any grandchildren (#78458)
  9462. 2006-06-19 Jackson Harper <[email protected]>
  9463. * InternalWindowManager.cs: We don't set the cursor explicitly
  9464. thats done via the response to NCHITTESTs.
  9465. - Don't need to adjust for titlebar heights anymore, the
  9466. coordinates are coming in the correct coordinates now (see peters
  9467. last patch).
  9468. 2006-06-19 Peter Dennis Bartok <[email protected]>
  9469. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  9470. being translated relative to whole window, instead of client window.
  9471. That caused broken offsets on mouseclick (and caused gas for our
  9472. InternalWindowManager)
  9473. 2006-06-15 Peter Dennis Bartok <[email protected]>
  9474. * TextControl.cs:
  9475. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  9476. - Undo(): Added replay of cursor move on DeleteChars action; added
  9477. calling Undo() again if a recorded cursor move is invalid (to
  9478. ensure that some action is performed on Undo)
  9479. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  9480. 2006-06-16 Jackson Harper <[email protected]>
  9481. * MdiClient.cs: Instead of just sizing maximized windows when
  9482. there is a resize we also have to adjust the Y of minimized
  9483. windows, so they stay pinned to the bottom of the mdi container.
  9484. - Eliminate separate tracking of the active control, we can just
  9485. get this from the controls collection.
  9486. - Paint the decorations for the newly activated titlebar so we get
  9487. a pretty blue bar.
  9488. * InternalWindowManager.cs:
  9489. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  9490. even if they are a tool window.
  9491. 2006-06-15 Peter Dennis Bartok <[email protected]>
  9492. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  9493. undo buffer, these can happen when text was deleted and the cursor
  9494. was recorded first. Since we will also have a recorded cursor
  9495. after the delete this is not an issue. (Fixes #78651)
  9496. 2006-06-14 Peter Dennis Bartok <[email protected]>
  9497. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  9498. instead properly track control states internally (allows us to
  9499. remove is_selected from Control)
  9500. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  9501. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  9502. whose width is not a multiple of 8.
  9503. 2006-06-13 Jackson Harper <[email protected]>
  9504. * MdiClient.cs: Only maximize the next child if the current one
  9505. is maximized.
  9506. 2006-06-13 Chris Toshok <[email protected]>
  9507. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  9508. modified. Also, guard against grid or grid_drawing being null in
  9509. Invalidate.
  9510. * DataGrid.cs: Reformat tons of getters/setters. In the
  9511. DataMember setter, just call SetNewDataSource instead of
  9512. duplicating some of its functionality. In SetNewDataSource, don't
  9513. check ListManager for null, since the property getter creates the
  9514. object if needed.
  9515. * DataGridTableStyle.cs: don't set TableStyle or call
  9516. SetDataGridInternal on the column here, it's done in
  9517. GridColumnStylesCollection.Add.
  9518. * GridColumnStylesCollection.cs: fix all the explicit interface
  9519. implementations to just call our methods. Nuke AddInternal() and
  9520. move the body of it to Add(). Also, add a call to
  9521. column.SetDataGridInternal to Add().
  9522. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  9523. base()+duplicate code. Also, use the Format property instead of
  9524. format to generate an Invalidate ala MS. Lastly, create the
  9525. textbox here, unconditionally.
  9526. (set_Format): call Invalidate.
  9527. (get_TextBox): no need to call EnsureTextBox.
  9528. (Commit): remove the message box.
  9529. (Edit) remove the call to EnsureTextBox.
  9530. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  9531. (EnterNullValue): no need to check textbox for null.
  9532. (HideEditBox): no need to check textbox for null.
  9533. (SetDataGridInColumn): add the textbox to the grid's controls.
  9534. (EnsureTextBox): nuke.
  9535. 2006-06-13 Jackson Harper <[email protected]>
  9536. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  9537. and redraw the buttons when needed. Unhook when the window is
  9538. unmaximized.
  9539. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  9540. needs this so that it can redraw its buttons when the menu is
  9541. repainted.
  9542. * InternalWindowManager.cs:
  9543. * Form.cs: The method order has changed for DrawMaximizedButtons,
  9544. so that it can be a PaintEventHandler.
  9545. 2006-06-13 Jackson Harper <[email protected]>
  9546. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  9547. window is activated and maximized, even if it wasn't before.
  9548. - When a new window is activated repaint the decorations of the
  9549. old one, so that it no longer has the Active "look" (the blue
  9550. titlebar).
  9551. * InternalWindowManager.cs: Open up CreateButtons to base classes
  9552. so they can recreate the buttons on state changes.
  9553. - If a window is maximized give it all three buttons
  9554. * MdiWindowManager.cs: Create the titlebar buttons when the state
  9555. is changed, this is needed because a toolwindow will not have all
  9556. three buttons until it is maximized.
  9557. 2006-06-13 Atsushi Enomoto <[email protected]>
  9558. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  9559. Fixed bug #78609.
  9560. 2006-06-12 Jackson Harper <[email protected]>
  9561. * KeysConverter.cs: Make sure we handle the Ctrl special case
  9562. if its the only key.
  9563. 2006-06-12 Jackson Harper <[email protected]>
  9564. * Theme.cs: Add a method to get the size of a managed window
  9565. toolbar button.
  9566. * InternalWindowManager.cs: Remove the ButtonSize property, this
  9567. should be retrieved from the theme.
  9568. * MdiWindowManager.cs: Get the button size from the theme
  9569. * ThemeWin32Classic.cs: Make the method to get the managed window
  9570. titlebar button size public.
  9571. - Handle the different button sizes of maximized toolwindows
  9572. (should match any maximized window).
  9573. - Get the titlebar height from the theme, not the WM (which gets
  9574. it from the theme).
  9575. 2006-06-12 Jackson Harper <[email protected]>
  9576. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  9577. event down to the mdi window manager.
  9578. - Expose some extra stuff to base classes
  9579. - Make sure to end the Capture on an NC Mouse up, so that we can
  9580. get double clicks properly, and the sizing doens't stick.
  9581. - When doing PointToClient contain it in the workable desktop
  9582. area, this prevents windows from changing size when the cursor is
  9583. pulled outside of the working area while sizing.
  9584. * MdiWindowManager.cs: When we get a double click maximize the
  9585. window.
  9586. - Reset the cursor after handling mode changes.
  9587. 2006-06-12 Peter Dennis Bartok <[email protected]>
  9588. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  9589. current desktop, instead of just assuming a 0, 0 origin. This
  9590. is needed for our internal window manager, to know the top
  9591. margin of the desktop
  9592. 2006-06-12 Chris Toshok <[email protected]>
  9593. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  9594. we need this to get rid of the selected background in the bool
  9595. column.
  9596. (CancelEditing): move the ConcedeFocus call to above the Abort
  9597. call. Also, set is_changing to false and invalidate the row
  9598. header if we were changing before.
  9599. (ProcessKeyPreviewInternal): remove, since noone outside this
  9600. class calls it anymore. Roll the code into ProcessKeyPreview.
  9601. (EndEdit): remove the internal version.
  9602. (InvalidateCurrentRowHeader): make private.
  9603. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  9604. Keys.Escape handling (and with it the last call to
  9605. DataGrid.EndEdit from outside the class.)
  9606. 2006-06-12 Chris Toshok <[email protected]>
  9607. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  9608. (OnKeyPress): set isedit to true.
  9609. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  9610. already handled by the grid.
  9611. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  9612. right. ugh.
  9613. (set_DataSource): SetDataSource always returns true, so stop
  9614. putting it in an if statement.
  9615. (EndEdit): get rid of some {}'s
  9616. (ProcessGridKey): return true in case Keys.Escape.
  9617. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  9618. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  9619. PositionChanged, stopped connecting to CurrentChanged.
  9620. (GetDataSource): simplify this a bunch.
  9621. (SetDataSource): change return type from bool to void.
  9622. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  9623. to this, and make sure we don't set ListManager.Position inside
  9624. set_CurrentCell.
  9625. (OnListManagerItemChanged): if we're passed an actual index,
  9626. redraw that row.
  9627. * CurrencyManager.cs (set_Position): don't call PullData here.
  9628. 2006-06-09 Jackson Harper <[email protected]>
  9629. * TreeNode.cs: Recalculate the visible order before doing the
  9630. Expand/Collapse Below calls, because those calls generate an
  9631. expose.
  9632. - Reduce calls to the TreeView property, which is mildly expensive
  9633. by using a local var.
  9634. * Form.cs: Layout the MDI child windows when creating the parent
  9635. form.
  9636. - Don't use the internal constructor anymore
  9637. * MdiClient.cs: use the parent form width/height (if available)
  9638. when laying out the child windows, we do this because the
  9639. mdiclient isn't docked yet when the initial layout is done.
  9640. - Don't need an internal constructor anymore.
  9641. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  9642. * FileDialog.cs: handle access errors when trying to create a folder
  9643. or changing to a directory. No need to initialize out parameters.
  9644. 2006-06-08 Alexander Olk <[email protected]>
  9645. * FileDialog.cs: Append a number when creating a new folder if the
  9646. folder already exists (use parenthesis instead of square brackets)
  9647. 2006-06-08 Alexander Olk <[email protected]>
  9648. * FileDialog.cs:
  9649. - Disabled registry support for windows and added better registry
  9650. error checking for other systems (need to investigate why it
  9651. works perfectly on my system)
  9652. - If a folder already exist show an error MessageBox instead of
  9653. trying to create an indexed name.
  9654. - Fixed a non intentional typo.
  9655. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  9656. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  9657. 2006-06-08 Alexander Olk <[email protected]>
  9658. * FileDialog.cs: When creating a new folder don't crash if the
  9659. folder already exists.
  9660. 2006-06-08 Alexander Olk <[email protected]>
  9661. * FileDialog.cs: Allmost a complete rewrite.
  9662. - added a "virtual" file system that handles the differences
  9663. between unix and windows file systems (especially the directory
  9664. structure). Moved most of the directory and file handling code
  9665. into the vfs.
  9666. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  9667. UnixFileSystem and FSEntry.
  9668. - Recently used folder/directory, size, location and used file names
  9669. (file name ComboBox) are now stored in the registry and get read
  9670. before the dialog shows up (fixes part 6 of bug #78446).
  9671. - Creation of new folders/directories is now possible (context menu
  9672. or ToolBar). Added TextEntryDialog for this that fills in the gap
  9673. until ListView.LabelEdit works.
  9674. - Fixed cursor handling (bug #78527) and focus handling for
  9675. PopupButtonPanel
  9676. - Various "Search in" ComboBox enhancements. The content of the
  9677. dropdown listbox now almost matches ms.
  9678. - Changed the behaviour when the user switches to SpecialFolder
  9679. Recent to show the ListView in View.Details.
  9680. - Beside using the ToolBar to change the View property of the
  9681. file ListView it is now possible to use the context menu too.
  9682. 2006-06-08 Alexander Olk <[email protected]>
  9683. * ComboBox.cs: Don't create a new ObjectCollection when an item
  9684. gets inserted. Just insert the item in the existing object_items
  9685. ArrayList.
  9686. 2006-06-08 Jackson Harper <[email protected]>
  9687. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  9688. that the treeview and root node checks are done also, this fixes a
  9689. regression i caused in the unit tests.
  9690. 2006-06-07 Wade Berrier <[email protected]>
  9691. * RichTextBox.cs: More ISO8859-1 -> unicode
  9692. 2006-06-07 Mike Kestner <[email protected]>
  9693. * ComboBox.cs : use items to hold highlight/selection so that
  9694. collection insertions don't require synchronization.
  9695. 2006-06-07 Jackson Harper <[email protected]>
  9696. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  9697. routine. We now always keep the sized edge at the cursor instead
  9698. of computing movement and adjusting rects. There is one buglet
  9699. with this method though when the cursor is moved over area that
  9700. the window can not expand too (such as the toolbars on the desktop).
  9701. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  9702. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  9703. here. Fixes crash on startup in AlbumSurfer.
  9704. 2006-06-07 Peter Dennis Bartok <[email protected]>
  9705. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  9706. values
  9707. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  9708. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  9709. statement to avoid calling XNextEvent which will block if another thread
  9710. took the event that we were expecting. Fixes bug #78605.
  9711. 2006-06-07 Mike Kestner <[email protected]>
  9712. * ListView.cs : isolated checkbox clicking from the selection logic.
  9713. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  9714. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  9715. * Form.cs: Check that the value passed to Form.DialogResult
  9716. is a valid enum value.
  9717. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  9718. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  9719. Computer'. Clicking it in the network view goes to 'My Computer'.
  9720. Added CIFS filesystem type. Display the mount point of filesystems.
  9721. Avoid duplicate mount points (happens for me with CIFS);
  9722. 2006-06-06 Jackson Harper <[email protected]>
  9723. * InternalWindowManager.cs: Draw the maximized windows buttons
  9724. when resizing.
  9725. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  9726. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  9727. all other dialogs. Fixes bug #78585.
  9728. 2006-06-06 Mike Kestner <[email protected]>
  9729. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  9730. Only invalidate checkbox on checkstate changes to avoid flicker.
  9731. * ListBox.cs : avoid unselect/select when clicking selected item.
  9732. avoid reselection flicker for already multiselected items.
  9733. Fixes #78382.
  9734. 2006-06-06 Jackson Harper <[email protected]>
  9735. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  9736. the parent form so that the menu is removed if needed.
  9737. 2006-06-06 Mike Kestner <[email protected]>
  9738. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  9739. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  9740. 2006-06-06 Mike Kestner <[email protected]>
  9741. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  9742. 2006-06-06 Jackson Harper <[email protected]>
  9743. * Control.cs: Use the property (instead of the field) to get the
  9744. default cursor so it is instantiated correctly.
  9745. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  9746. resizes so we need to manually repaint the window decorations here.
  9747. - Set the titlebar button locations as soon as they are created,
  9748. otherwise they are not set correctly on win32.
  9749. 2006-06-06 Chris Toshok <[email protected]>
  9750. * CurrencyManager.cs (set_Position): call PullData before
  9751. OnCurrentChanged.
  9752. (AddNew): after calling IBindingList.AddNew, update our
  9753. listposition, and call OnCurrentChanged/OnPositionChanged (without
  9754. calling PullData).
  9755. (OnCurrentChanged): remove the call to PullData from here.
  9756. (OnItemChanged): remove the call to PushData from here.
  9757. (OnPositionChanged): change the test from == null to != null to
  9758. match the other methods.
  9759. (ListChangedHandler): the grossest part of the patch. Implement
  9760. this such that it passes the unit tests in CurrencyManagerTest and
  9761. the output more or less matches that of MS's implementation.
  9762. 2006-06-06 Mike Kestner <[email protected]>
  9763. * ListView.cs : only update check state on single click.
  9764. * ThemeWin32Classic.cs : fix focus drawing for details view without
  9765. fullrowselect. Fixes #78454.
  9766. * XplatUIX11.cs : fix for double click emission.
  9767. 2006-06-05 Jonathan Chambers <[email protected]>
  9768. * PropertyGridView.cs : Applied Atsushi's patch to fix
  9769. font dialog bug (#78197).
  9770. 2006-06-05 Jackson Harper <[email protected]>
  9771. * TreeNode.cs: Compute the next node for expanding/collapsing
  9772. correctly. We now factor in nodes without a NextNode
  9773. correctly. (Fixes somes cases in nunit-gui).
  9774. * InternalWindowManager.cs: Set the bounds when updating the
  9775. virtual position of a tool window.
  9776. 2006-06-05 Chris Toshok <[email protected]>
  9777. * DataGrid.cs: rename cached_currencymgr to list_manager.
  9778. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  9779. some.
  9780. (CurrentRow, CurrentColumn): single accessors so we can make the
  9781. cursor movement code a lot easier to understand.
  9782. (CurrentRowIndex): implement this in terms of CurrentRow.
  9783. (BeginEdit): clean this up a bit.
  9784. (CancelEditing): sort out the is_editing/is_changing/is_adding
  9785. stuff a little.
  9786. (EndEdit): minor changes.
  9787. (OnKeyDown): add a comment about a (most likely) unnecessary
  9788. check.
  9789. (OnMouseDown): cancel editing when we click on a row header. And
  9790. use the CurrentRow setter, not CurrentCell.
  9791. (ProcessDialogKey): directly call ProcessGridKey.
  9792. (UpdateSelectionAfterCursorMove): factor out this common block of
  9793. code (it's used everywhere that we move the cursor by updating row
  9794. or column).
  9795. (ProcessGridKey): pretty substantial overhaul. Use the
  9796. CurrentRow/CurrentColumn properties to make the code a lot more
  9797. readable. Only use the CurrentCell property when we have to
  9798. modify both row and column at once. Tab behavior is still broken,
  9799. and Delete is untested.
  9800. (Select): if we have no selected rows, set selection_start to
  9801. @row.
  9802. (EditCurrentCell): rename EditCell this. It was only ever invoked
  9803. with CurrentCell as the arg, so drop the arg and rename it.
  9804. * DataGridColumnStyle.cs: clean up the constructors a little, and
  9805. drop CommonConstructor().
  9806. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  9807. actually get notified when the user hits it.
  9808. (ProcessKeyMessage): *substantially* simplify this method.
  9809. There's no reason (that I can see) for the textbox to be making
  9810. calls into the datagrid at all. Remove all of them but the ones
  9811. for Enter handling. those will take some more work.
  9812. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  9813. calling HideEditBox.
  9814. (HideEditBox): if we have an active textbox, render it invisible
  9815. without causing a re-layout of the datagrid.
  9816. 2006-06-05 Mike Kestner <[email protected]>
  9817. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  9818. collection changes by resetting it to Items[0]. Fixes #78587.
  9819. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  9820. * MessageBox.cs: if the height of the text is larger than the icon_size,
  9821. use that. Fixes bug #78575.
  9822. 2006-06-05 Jackson Harper <[email protected]>
  9823. * TreeView.cs: Fix line drawing when scrolling. To do this each
  9824. node is basically responsible for drawing its entire horizontal
  9825. area. When drawing a node it draws its parent node lines if
  9826. needed.
  9827. - Adjust the clip area to the viewport rectangle
  9828. - Fix Left/Right key handling to match MS. (It expand/collapses
  9829. and moves to parents/first child but does not move selection to
  9830. sibling nodes).
  9831. - Fix SetTop to work with new bound calculation code
  9832. - When scrollbars are no longer needed we need to reset scrolling
  9833. vars and recalculate the visible order so the redraw is correct
  9834. * TreeNode.cs: We can't expand/collapse nodes with no children.
  9835. 2006-06-03 John Luke <[email protected]>
  9836. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  9837. so the colors work without dev packages
  9838. 2006-06-02 Peter Dennis Bartok <[email protected]>
  9839. * Control.cs
  9840. - Select: Implemented to just use activate. Seems to match MS
  9841. behaviour closest. Documented to only do actual control walking
  9842. based on it's parameters if in a container control so I moved
  9843. the code there.
  9844. - Removed selection check logic from our internal Select() method
  9845. * ContainerControl.cs:
  9846. - Select: Moved selection logic from Control here, since MS documents
  9847. that containers obey the bool arguments. No longer calling base
  9848. 2006-06-02 Jackson Harper <[email protected]>
  9849. * TreeView.cs: If the selected node isn't changed when we get
  9850. focus update the previously selected node so that we see the
  9851. selection box.
  9852. 2006-06-02 Mike Kestner <[email protected]>
  9853. * ComboBox.cs: restructure grab and general mouse event handling.
  9854. Make the composite control raise mouse events like it was a single
  9855. control for leaves/enters/motion/up/down events. fix dropdown list
  9856. coordinate mangling and refactor it into the scrollbar subclass to
  9857. reduce code duplication. Fixes #78282 #78361 and #78457.
  9858. 2006-06-02 Mike Kestner <[email protected]>
  9859. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  9860. automatically in the Control.WndProc.
  9861. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  9862. * FileDialog.cs: fix crash when running SharpChess, which sets the
  9863. FilterIndex to 2 with only one Filter.
  9864. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  9865. * ToolBar.cs: add SizeSpecified property.
  9866. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  9867. try to figure out our real size, otherwise fallback to what the
  9868. container says.
  9869. 2006-06-01 Peter Dennis Bartok <[email protected]>
  9870. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  9871. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  9872. up the event
  9873. 2006-06-01 Mike Kestner <[email protected]>
  9874. * ListView.cs: revamp the focus management in ListView. It still
  9875. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  9876. better than not handling focus at all. Will revisit when pdb feels
  9877. the general focus handling is solid. Fixes #78526.
  9878. 2006-06-01 Jackson Harper <[email protected]>
  9879. * TreeView.cs: Set the default border style in the constructor.
  9880. - Move painting to use OnPaintInternal instead of capturing
  9881. WM_PAINT, this is the correct way of doing things
  9882. - UpdateBelow shouldn't invalidate the scrollbar area
  9883. - Cap the top on update below in case the node was above the top
  9884. of the viewport rectangle.
  9885. - ExpandBelow and Collapse below need to obey Begin/End Update.
  9886. * TreeNode.cs: Make is_expanded internal so the treenode
  9887. collection can change it without firing the whole event chain.
  9888. * TreeNodeCollection.cs: When clearing all the child nodes make
  9889. sure to recalc the visible order.
  9890. - Improve algo for remove the top node
  9891. 2006-06-01 Peter Dennis Bartok <[email protected]>
  9892. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  9893. SendMessage directly calling window procedures, which in turn might
  9894. call SetFocus()
  9895. 2006-06-01 Peter Dennis Bartok <[email protected]>
  9896. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  9897. has focus (works around X11 sending a FocusIn after our SetFocus)
  9898. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  9899. 2006-06-01 Alexander Olk <[email protected]>
  9900. * Mime.cs: Fix for the NET_2_0 build.
  9901. NameValueCollection needs StringComparer now.
  9902. 2006-05-31 Chris Toshok <[email protected]>
  9903. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  9904. return (via an out parameter) the starting X of the column.
  9905. (UpdateVisibleColumn): track change to FromPixelToColumn.
  9906. (HitTest): add a ColumnResize case here.
  9907. (DrawResizeLine): new function, probably poorly named.
  9908. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  9909. only need to keep one reference.
  9910. (set_ListManager): same.
  9911. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  9912. Also, add support for HitTestType.ColumnResize.
  9913. (OnMouseMove): add column resize behavior here, and change the
  9914. cursor to the correct one as we move around the datagrid.
  9915. (OnMouseUp): terminate the column resize if we're resizing.
  9916. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  9917. for the current cell.
  9918. (ConnectListManagerEvents): use cached_currencymgr.
  9919. (DisconnectListManagerEvents): fill this in, using
  9920. cached_currencymgr.
  9921. (SetCurrentCell): remove cached_currencymgr_events handling.
  9922. (SetDataMember): only call DisconnectListManagerEvents if
  9923. cached_currencymgr is != null.
  9924. (SetDataSource): same.
  9925. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  9926. cached_currencymgr.
  9927. 2006-05-31 Jackson Harper <[email protected]>
  9928. * BindingManagerBase.cs: Remove somedebug code that creeped into
  9929. SVN.
  9930. * TreeNode.cs: We get the indent level dynamically right now, so
  9931. don't track it as a member.
  9932. * TreeNodeCollection.cs: Make sure all nodes added to the list
  9933. have parents, treeviews/topnodes setup properly.
  9934. - Don't attempt to track indent level.
  9935. 2006-05-30 Jackson Harper <[email protected]>
  9936. * BindingContext.cs: Create the currency manager tables here.
  9937. This allows us to more easily create null tables (when bad data
  9938. members are used), and more easily create related currency
  9939. managers.
  9940. * CurrencyManager.cs: All the table creation stuff is done by the
  9941. binding context now.
  9942. - Current should throw an exception if listposition is -1.
  9943. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  9944. been bound yet.
  9945. 2006-05-30 Mike Kestner <[email protected]>
  9946. * ListView.cs: allow reexpansion of zero-width column headers.
  9947. Fixes #78528.
  9948. 2006-05-28 Chris Toshok <[email protected]>
  9949. * CurrencyManager.cs (get_Current): after the late binding
  9950. listposition = -1 fix, we need to guard against it here and return
  9951. null, otherwise we raise an exception (which is swallowed
  9952. elsewhere, and breaks datagrid databinding.)
  9953. 2006-05-26 Peter Dennis Bartok <[email protected]>
  9954. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  9955. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  9956. 2006-05-26 Jackson Harper <[email protected]>
  9957. * ControlPaint.cs:
  9958. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  9959. values, it's faster and it's all we care about (we don't care if
  9960. the names aren't equal).
  9961. * KeyboardLayouts.cs: Eliminate some dead code.
  9962. - Lazy init things
  9963. * X11Keyboard.cs: Lazy init keyboard detection.
  9964. - Cleanup access modifiers a little.
  9965. 2006-05-26 Peter Dennis Bartok <[email protected]>
  9966. * XplatUIX11.cs: Once again, attempting to get layout just right.
  9967. 2006-05-26 Peter Dennis Bartok <[email protected]>
  9968. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  9969. the sizes of each link section, that will result in sizes that
  9970. match DrawString's layout (Fixes #78391)
  9971. 2006-05-27 Alexander Olk <[email protected]>
  9972. * FileDialog.cs: If AddExtension property is true autocomplete the
  9973. extensions in SaveFileDialog correctly. Fixes bug #78453.
  9974. Set MyNetwork and MyComputer to "C:\" for windows. This should
  9975. fix part 8 of bug #78446 for now.
  9976. 2006-05-26 Chris Toshok <[email protected]>
  9977. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  9978. invalidate the current row header if we need to, but presumably
  9979. we'll invalidate the row corrsponding to the bounds or
  9980. editingControl.
  9981. (GridHScrolled): switch back to this method, as it's part of the
  9982. public api. *sigh*.
  9983. (GridVScrolled): same.
  9984. (OnMouseWheel): hack up something that more or less works. Call
  9985. GridHScrolled/GridVScrolled directly, instead of duplicating much
  9986. of their code here.
  9987. (EnsureCellVisibility): reinstate a bunch of this code, since we
  9988. can't just set the scrollbar Value and expect to do all the work
  9989. in the ValueChanged handler. Also, Call Update() after scrolling
  9990. in one direction so the other XplatX11.ScrollWindow call has the
  9991. proper stuff in the proper places.
  9992. (EditCell): set is_editing to true before calling .Edit.
  9993. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  9994. don't bother comparing first.
  9995. (OnKeyPress): call grid.ColumnStartedEditing before calling
  9996. base.OnKeyPress. this will set is_changing and invalidate the row
  9997. header if necessary.
  9998. (ProcessKeyMessage): for WM_CHAR messages, call
  9999. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  10000. and WM_KEYDOWN.
  10001. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  10002. it's done in the DataGrid.
  10003. (NextState): call grid.ColumnStartedEditing, which takes care of
  10004. invalidating the row header (and setting is_changing).
  10005. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  10006. here. it's done in the DataGrid.
  10007. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  10008. * Control.cs: allow changing the cursor when the mouse position is
  10009. out of bounds but Capture is set.
  10010. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  10011. linklabel but released somewhere else.
  10012. 2006-05-25 Jackson Harper <[email protected]>
  10013. * TreeView.cs: When we get focus if there is no selected node make
  10014. it the top node
  10015. - Remove some uneeded setup code from Draw.
  10016. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  10017. a new node is inserted make the new node the top.
  10018. * XplatUIX11.cs:
  10019. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  10020. be used (should be faster).
  10021. 2006-05-25 Chris Toshok <[email protected]>
  10022. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  10023. problem with the last commit.
  10024. 2006-05-25 Chris Toshok <[email protected]>
  10025. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  10026. need the invalidate call here, while scrolling right-to-left via
  10027. the left arrow key (i.e. moving the editing cell while scrolling).
  10028. * DataGrid.cs (.ctor): remove the initialization of
  10029. ctrl_pressed/shift_pressed. We no longer track them using key
  10030. up/down handlers, but by using Control.ModifierKeys. Also, switch
  10031. to using ValueChanged handlers on the scrollbars instead of
  10032. Scrolled event handlers. This simplifies a bunch of the scrolling
  10033. code.
  10034. (GridHValueChanged): rename from GridHScrolled, and change it to
  10035. work with the new event args.
  10036. (GridVValueChanged): same.
  10037. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  10038. (OnMouseWheel): actually scroll the datagrid. Don't change the
  10039. selected cell.
  10040. (ProcessGridKey): correct all the keyboard navigation stuff I
  10041. could find. Ctrl up/down/left/right/home/end work now.
  10042. (EnsureCellVisibility): correct method name spelling. Also,
  10043. simplify this a touch by not explicitly calling the
  10044. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  10045. scrollbar value.
  10046. (OnKeyUpDG): no need for this method now.
  10047. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  10048. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  10049. Fixes bug #78392.
  10050. 2006-05-25 Chris Toshok <[email protected]>
  10051. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  10052. r61019.
  10053. 2006-05-25 Peter Dennis Bartok <[email protected]>
  10054. * Application.cs: Moved setting of is_modal and closing to before
  10055. we create the control, to allow the event handlers called as a
  10056. result of creation affect closing. Also removed Gonzalo's previous
  10057. change to setting DialogResult, the behaviour has been moved to
  10058. Form.ShowDialog()
  10059. * Form.cs:
  10060. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  10061. handle it instead
  10062. - ShowDialog(): If no dialog result is set, we need to return Cancel
  10063. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  10064. the close is cancelled
  10065. 2006-05-25 Jackson Harper <[email protected]>
  10066. * StatusBar.cs: We only need to update the sizes of the other
  10067. panels when we have auto size contents. Also we are only updating
  10068. the contents of the panel, not the borders, so compensate for the
  10069. border width (TODO: get this width from the theme somehow).
  10070. * TreeView.cs: Scrollable is true by default
  10071. - Use invalidate instead of refresh where needed
  10072. - Factor the scrollable value into scrollbar updating
  10073. - Update the scrollbars if the Scrollable property is altered
  10074. - Update the selected node if its ImageIndex is changed
  10075. - Handle null nodes in UpdateNode (mainly so we don't have to
  10076. check if selected is null when updating it
  10077. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  10078. are factored into the visible count
  10079. - Use VisibleCount for clarity in the code
  10080. - When the font is changed we need to recurse through all the
  10081. nodes and invalidate their sizes
  10082. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  10083. * Application.cs: set the DialogResult to fixed when the main form is
  10084. hidden or destroyed while being modal.
  10085. 2006-05-25 Miguel de Icaza <[email protected]>
  10086. * Theme.cs: Use Tangoified messagebox icons.
  10087. (GetSizedResourceImage): Also cope with width = 0 and do not
  10088. trigger a warning in that case (0 means "give me your icon from
  10089. the resouce, no special size needed).
  10090. 2006-05-25 Peter Dennis Bartok <[email protected]>
  10091. * Application.cs: Leave runloop if the the main modal form is
  10092. hidden (fixes #78484)
  10093. 2006-05-25 Atsushi Enomoto <[email protected]>
  10094. * BindingContext.cs : reject null datasource in Contains() and
  10095. Item[].
  10096. * CurrencyManager.cs : check data_member validity when data_source
  10097. is dataset. When it is late binding, the initial position is -1.
  10098. 2006-05-24 Jackson Harper <[email protected]>
  10099. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  10100. inserted nodes that aren't visible. This changes the
  10101. max_visible_order which confuses scrollbar settings.
  10102. - Use the enumerator to get the prev node instead of duplicating
  10103. code.
  10104. * TreeView.cs: Use new method for setting scrollbar values
  10105. - Don't set the bounds every time the scrollbar is updated
  10106. - When updating below the root node use an invalidate instead of a
  10107. refresh to prevent the child controls (scrollbars) from being
  10108. refreshed. (UpdateBelow still needs to be reworked anyways).
  10109. - Reenable SetBottom now that visible orders are set correctly,
  10110. added some debug code incase we ever get bad values there again.
  10111. - Set the scrollbar max to 2 less then the max value, this
  10112. compensates for the max value being one above the node count, and
  10113. for scrollbars adding one extra "notch".
  10114. - When drawing image nodes if there is an imagelist we draw the
  10115. first image in the list if the supplied image index is out of the
  10116. image list's bounds.
  10117. 2006-05-24 Peter Dennis Bartok <[email protected]>
  10118. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  10119. we receive a size change from the WM (Fixes #78503)
  10120. 2006-05-24 Peter Dennis Bartok <[email protected]>
  10121. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  10122. rectangle (Fixes #78501)
  10123. 2006-05-24 Peter Dennis Bartok <[email protected]>
  10124. * ButtonBase.cs:
  10125. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  10126. as a bitfield.
  10127. - Fixed MouseMove to no longer switch pressed state unless the left
  10128. mouse button is pressed. Atsushi provided the original patch (#78485)
  10129. 2006-05-24 Jackson Harper <[email protected]>
  10130. * ScrollBar.cs: New internal methods that allow us to change a
  10131. couple values on the scrollbar (the most common case is maximum
  10132. and large change) without getting multiple invalidates.
  10133. 2006-05-24 Chris Toshok <[email protected]>
  10134. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  10135. (Edit): save off the original state in oldState, and set
  10136. grid.is_editing to true.
  10137. (OnKeyDown): abort editing if escape is pressed. also, call
  10138. NextState if space is pressed.
  10139. (OnMouseDown): call NextState.
  10140. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  10141. here. Also, only invalidate the row header once (on the initial
  10142. is_changing switch) to save on redraws.
  10143. 2006-05-24 Chris Toshok <[email protected]>
  10144. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  10145. if the value in the cell is different than it was before. This
  10146. keeps us from triggering a layout when we move around a datarid
  10147. with a highlighted cell.
  10148. (Edit): suspend layout when creating/positining the text box, and
  10149. resume passing false so we don't ever actually re-layout.
  10150. (ReleaseHostedControl): same.
  10151. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  10152. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  10153. control-key sequences should go to the datagrid - remove that
  10154. lock. Also, modify the conditions under which we move between
  10155. cells when moving the cursor within a cell, and remove the "this"
  10156. and "base" from field accesses. We weren't even consistent, given
  10157. they all were in the base class.
  10158. 2006-05-24 Atsushi Enomoto <[email protected]>
  10159. * Binding.cs : (.ctor)
  10160. An obvious NRE fix for BindingTest.CtorNullTest().
  10161. 2006-05-23 Chris Toshok <[email protected]>
  10162. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  10163. them between lines. This fixes some quirks editing cells in the
  10164. datagrid.
  10165. 2006-05-23 Jackson Harper <[email protected]>
  10166. * TreeView.cs: Use begin/end update when doing expand/collapse all
  10167. so that we don't get flicker on the scrollbar.
  10168. 2006-05-23 Jackson Harper <[email protected]>
  10169. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  10170. treenode calculations to be independant of the painting code. To
  10171. do this nodes track a visible order which is calculated by the
  10172. treeview.
  10173. - Call new methods for expanding/collapsing nodes. These methods
  10174. use scrollwindow so we don't have to update everything below the
  10175. node.
  10176. * TreeView.cs: Refactored drawing and scrolling code. We don't
  10177. need to update nodes when drawing anymore or calculate scrollbar
  10178. stuff.
  10179. - Added new methods for expanding/collapsing nodes. These methods
  10180. use ScrollWindow so as to not have to redraw all the nodes below.
  10181. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  10182. we add/remove nodes or sort.
  10183. - Handle removing the selected and the top node properly.
  10184. 2006-05-23 Chris Toshok <[email protected]>
  10185. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  10186. maybe this should actually happen in the datagrid code?
  10187. (EndEdit): no need to invalidate anything, given that
  10188. ReleaseHostedControl causes the datagrid to relayout, which
  10189. invalidates everything anyway.
  10190. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  10191. in SetCurrentCell).
  10192. (set_SelectionBackColor): call InvalidateSelection instead of
  10193. Refresh.
  10194. (set_SelectionForeColor): same.
  10195. (BeginEdit): Flesh this out a bit.
  10196. (CancelEditing): only do any of this if we're editing/adding.
  10197. (EndEdit): same.
  10198. (OnMouseDown): there's no need to cancel editing here, it's done
  10199. in SetCurrentCell.
  10200. (SetCurrentCell): only invalidate the current row header if it's a
  10201. different row than the new one.
  10202. (ShiftSelection): fix this to work like MS does.
  10203. (ResetSelection): factor out the invalidation of selected_rows to
  10204. InvalidateSelection.
  10205. (SetDataSource): cancel any editing that's going on.
  10206. * DataGridColumnStyle.cs
  10207. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  10208. call the non-interface version.
  10209. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  10210. header rectangle with the clip rectangle so we don't redraw the
  10211. entire header for just a small area. Gets rid of the last flicker
  10212. when horizontally scrolling.
  10213. (DataGridPaintRow): same.
  10214. 2006-05-23 Mike Kestner <[email protected]>
  10215. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  10216. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  10217. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  10218. Critical bug report.
  10219. 2006-05-23 Peter Dennis Bartok <[email protected]>
  10220. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  10221. and this fixes #78493
  10222. 2006-05-23 Miguel de Icaza <[email protected]>
  10223. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  10224. size is not found.
  10225. * FileDialog.cs: Do not change the background for the side bar as
  10226. it wont work nicely with the theme, and also reduces the artifacts
  10227. in rendering the icons (which I want to fix too).
  10228. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  10229. resources, not resgen resources.
  10230. (PlatformDefaultHandler): Pull images using the new API.
  10231. 2006-05-23 Peter Dennis Bartok <[email protected]>
  10232. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  10233. a reference to the hwnd and will not remove it unless there are
  10234. no pending exposures (fixes #78341)
  10235. * XplatUI.cs: Improved debug
  10236. 2006-05-23 Atsushi Enomoto <[email protected]>
  10237. * MenuAPI.cs : don't handle OnClick event when it was not the left
  10238. button. Fixed bug #78487.
  10239. 2006-05-23 Mike Kestner <[email protected]>
  10240. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  10241. prefer submenus to the top menu for item lookup, to avoid popping down
  10242. top-row items.
  10243. 2006-05-23 Alexander Olk <[email protected]>
  10244. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  10245. Graphics.FillRectangle as the visual results are really bad (even
  10246. on win). We now draw perfect arrows (and perfect shadows when the
  10247. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  10248. Pen.DashPattern to draw the dots of each line.
  10249. 2006-05-22 Alexander Olk <[email protected]>
  10250. * FileDialog.cs: Update the filename combobox when navigating through
  10251. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  10252. 2006-05-22 Mike Kestner <[email protected]>
  10253. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  10254. Fixes #78463.
  10255. 2006-05-22 Mike Kestner <[email protected]>
  10256. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  10257. requests. Fix a misspelled parameter and a copy paste exception error
  10258. in Select.
  10259. 2006-05-22 Peter Dennis Bartok <[email protected]>
  10260. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  10261. to get the same width/height (5/13) on X11 as the default font has on
  10262. win32. This means that our DefaultFont emSize is smaller than the
  10263. the MS SWF equivalent (even thought the width/height stays the same)
  10264. 2006-05-20 Jackson Harper <[email protected]>
  10265. * MdiClient.cs:
  10266. * MdiWindowManager.cs:
  10267. * InternalWindowManager.cs: Make sure to use the border width from
  10268. the theme.
  10269. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  10270. * PrintDialog.cs: Implements printer details
  10271. 2006-05-19 Alexander Olk <[email protected]>
  10272. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  10273. Fixes part 1 and 2 of bug #78446
  10274. 2006-05-19 Peter Dennis Bartok <[email protected]>
  10275. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  10276. instead of sticking to the first ever calculated value
  10277. 2006-05-19 Mike Kestner <[email protected]>
  10278. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  10279. PointToClient, since Capture is set. Fixes #78344.
  10280. 2006-05-19 Mike Kestner <[email protected]>
  10281. * ListView.cs: match MS behavior in Details view where items are not
  10282. drawn if Columns.Count == 0.
  10283. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  10284. Use a separate pen to draw the check, since changing the width affects
  10285. the box as well. Fixes #78454.
  10286. 2006-05-18 Miguel de Icaza <[email protected]>
  10287. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  10288. exception should throw the name of the invalid argument.
  10289. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  10290. there are no files listed.
  10291. 2006-05-18 Jackson Harper <[email protected]>
  10292. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  10293. up.
  10294. 2006-05-18 Peter Dennis Bartok <[email protected]>
  10295. * Control.cs: Brought back our old UpdateZOrder method as a private
  10296. function and switched our calls from UpdateZOrder to the new one.
  10297. This fixes the Paint.Net canvas disappearing bug.
  10298. 2006-05-18 Jackson Harper <[email protected]>
  10299. * Theme.cs:
  10300. * ThemeWin32Classic.cs:
  10301. * InternalWindowManager.cs: Move the drawing into the theme,
  10302. expose everything the theme should need from the window manager.
  10303. 2006-05-18 Peter Dennis Bartok <[email protected]>
  10304. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  10305. from the call to NativeWindow to avoid walking up the parent chain
  10306. further than needed (speeds up setting cursors and avoids setting
  10307. the wrong cursor if a parent has another cursor defined)
  10308. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  10309. the icon as hotspot, not what's contained as hotspot in the icon
  10310. file. This fixes the perceived drawing offset seen with Paint.Net
  10311. 2006-05-18 Peter Dennis Bartok <[email protected]>
  10312. * XplatUIX11.cs:
  10313. - Store the calculated rectangle in Hwnd object and use it when
  10314. setting the client size
  10315. - Force Toolwindows to always be type Dock, to ensure they're on top
  10316. 2006-05-18 Mike Kestner <[email protected]>
  10317. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  10318. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  10319. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  10320. Substantial refactoring to remove confusing nested classes. Coding
  10321. standard and Get+Set->property refactorings. Shift to index based
  10322. highlighting in ComboListBox instead of constantly using IndexOf and
  10323. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  10324. in FileDialog growth. Draw borders manually since Simple mode needs
  10325. to look like two independent controls. Make listbox border
  10326. conditional to DropDownStyle. Improved OwnerDraw support.
  10327. 2006-05-18 Sebastien Pouliot <[email protected]>
  10328. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  10329. Don't set the disposed graphics to null, so we can throw the "right"
  10330. exception if the graphics is reused later (added a flag to avoid
  10331. double disposing). Some behaviours are different under 2.0 and are
  10332. filled under bug #78448.
  10333. 2006-05-18 Peter Dennis Bartok <[email protected]>
  10334. * Control.cs: When double-buffering is enabled, we need to reset
  10335. our graphics context between paint calls. Otherwise, any
  10336. transformations and other alterations on the context will
  10337. become cumulative (#77734)
  10338. 2006-05-18 Mike Kestner <[email protected]>
  10339. * ListView.cs: do focused item selection like MS on clicks.
  10340. Rework focus handling for ItemControl so LostFocus invalidates as
  10341. well.
  10342. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  10343. the ListView ItemControl has focus.
  10344. 2006-05-17 Peter Dennis Bartok <[email protected]>
  10345. * XplatUIX11.cs: If client_window ends up being width or height zero
  10346. due to border settings, move it off window inside whole_window (#78433)
  10347. 2006-05-17 Alexander Olk <[email protected]>
  10348. * Mime.cs: Shrink the mime file cache correctly.
  10349. 2006-05-17 Alexander Olk <[email protected]>
  10350. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  10351. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10352. * XplatUIX11.cs (AddExpose): More sanity checks
  10353. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10354. * XplatUIX11.cs:
  10355. - AddExpose: Don't add expose ranges outside the size of our
  10356. window
  10357. - Cast opacity values to Int32 to avoid crashes with certain
  10358. values
  10359. - Added disabled code paths that protect against illegal cross-
  10360. thread painting (Developers.exe)
  10361. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10362. * ProgressBar.cs: Invalidate the control when it's resized
  10363. since block size is based on control size. (#78388)
  10364. 2006-05-16 Miguel de Icaza <[email protected]>
  10365. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  10366. of setting the incoming argument to the "reset" value, we set the
  10367. this.datamember to string.empty (before we were invalidating the
  10368. incoming data).
  10369. Fixes 78420
  10370. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10371. * Form.cs: Only apply transparency settings after the form
  10372. is created. (Fixes #77800)
  10373. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10374. * ApplicationContext.cs: Grab the HandleDestroyed event so
  10375. we know when to fire OnMainFormClosed
  10376. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10377. * Application.cs: Introduced sub-class to allow tracking of
  10378. threads and centralized triggering of the event mess for
  10379. ThreadExit, AppExit, etc.. (#76156)
  10380. 2006-05-16 Alexander Olk <[email protected]>
  10381. * MimeIcon.cs:
  10382. - Do not return a null icon index value for a mime subclass.
  10383. Instead try the main mime type class too.
  10384. - Seems that some newer distributions don't have a link to some
  10385. gnome default icons anymore. So check the default gnome dir too.
  10386. 2006-05-16 Jackson Harper <[email protected]>
  10387. * MdiClient.cs: Don't paint the parent background image if we have
  10388. our own background image.
  10389. 2006-05-16 Peter Dennis Bartok <[email protected]>
  10390. * Control.cs:
  10391. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  10392. controls, all filled controls are supposed to overlap (#78080)
  10393. - UpdateZOrder is supposed to update the control's z-order in the
  10394. parent's z-order chain. Fixed to behave like that
  10395. - BringToFront: Removed obsolete code
  10396. - SendToBack: Simplyfied
  10397. - SetChildIndex: Trigger layout calculations when Z-order changes
  10398. since layout is done by z-order
  10399. 2006-05-16 Chris Toshok <[email protected]>
  10400. [ fixes bug #78410 ]
  10401. * DataGrid.cs (set_AlternatingBackColor): use
  10402. grid_drawing.InvalidateCells instead of Refresh().
  10403. (set_BackColor): call grid_drawing.InvalidateCells.
  10404. (set_BackgroundColor): use Invalidate instead of Refresh.
  10405. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  10406. invalidate the cell area.
  10407. 2006-05-15 Chris Toshok <[email protected]>
  10408. [ fixes bug #78011 ]
  10409. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  10410. on to DataGridPaintRow.
  10411. (DataGridPaintRow): take a clip argument, and only draw the cells
  10412. which intersect it. same with the not_usedarea.
  10413. * Theme.cs (DataGridPaintRow) add @clip parameter.
  10414. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  10415. XplatUI.ScrollWindow.
  10416. (ScrollToRow): same.
  10417. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  10418. with last column which was causing a gray swath to appear with the
  10419. XplatUI.ScrollWindow code.
  10420. 2006-05-15 Chris Toshok <[email protected]>
  10421. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  10422. use XplatUI.ScrollWindow.
  10423. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  10424. 2006-05-15 Peter Dennis Bartok <[email protected]>
  10425. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  10426. 2006-05-15 Peter Dennis Bartok <[email protected]>
  10427. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  10428. file since there are no equivalent X11 cursors
  10429. 2006-05-15 Atsushi Enomoto <[email protected]>
  10430. * MonthCalendar.cs : DateTimePicker should reflect selected date
  10431. on mouse*up*, not mouse*down*. Fixed originally reported part of
  10432. bug #76474.
  10433. 2006-05-15 Atsushi Enomoto <[email protected]>
  10434. * TabControl.cs : When argument index is equal or more than tab
  10435. count, just ignore. Fixed bug #78395.
  10436. 2006-05-15 Peter Dennis Bartok <[email protected]>
  10437. * Control.cs: Dispose all child controls when control is diposed (#78394)
  10438. 2006-05-14 Alexander Olk <[email protected]>
  10439. * ColorDialog.cs: Finally it is possible to select the color with
  10440. the text boxes
  10441. 2006-05-14 Alexander Olk <[email protected]>
  10442. * PrintDialog.cs: Fix typo
  10443. 2006-05-14 Alexander Olk <[email protected]>
  10444. * PrintDialog.cs: PrintDialog is not resizable
  10445. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  10446. color. Made some ToolBar drawing methods protected virtual.
  10447. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  10448. * PrintDialog.cs: Implementation of the PrintDialog
  10449. 2006-05-12 Chris Toshok <[email protected]>
  10450. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  10451. thumb, instead use MoveThumb. This has the side effect of making
  10452. most of the other thumb moving machinery use MoveThumb as well.
  10453. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  10454. need to actually invalidate the rectangle where the new thumb will
  10455. go.
  10456. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  10457. We force an Update() after, so it's not as fast as it could be,
  10458. but at least there's zero flicker and no droppings.
  10459. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  10460. (UpdateThumbPos): add another argument (dirty), which says whether
  10461. or not to calculate/add dirty regions which we later invalidate.
  10462. For cases where we know we're going to use MoveThumb, we pass
  10463. false for this. Otherwise, pass true.
  10464. 2006-05-12 Jackson Harper <[email protected]>
  10465. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  10466. the status bar.
  10467. 2006-05-12 Peter Dennis Bartok <[email protected]>
  10468. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  10469. and GetClipRegion methods and UserClipWontExposeParent property.
  10470. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  10471. overriding UserClipWontExposeParent property, setting to false, since
  10472. Win32 handles the required expose messages to draw our clipped parent
  10473. areas internally
  10474. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  10475. PaintEventStart to set the user clip region if set.
  10476. * Control.cs:
  10477. - Now internally tracking the Region for the control since we need to
  10478. store it if the handle is not yet created and only set it when it
  10479. becomes created. Before setting the region forced handle creation
  10480. - Added code to draw the parents underneath a user-clipped region
  10481. * Hwnd.cs: Added UserClip property
  10482. 2006-05-12 Chris Toshok <[email protected]>
  10483. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  10484. (set_Maximum): same.
  10485. (set_Minimum): same.
  10486. (set_SmallChange): same.
  10487. (OnMouseUpSB): remove the call to refresh when releasing the
  10488. thumb. We shouldn't need it.
  10489. 2006-05-12 Miguel de Icaza <[email protected]>
  10490. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  10491. AutoSize set to None, we do not need to relayout everything, we
  10492. just need to invalidate the current region.
  10493. (Draw): Do not draw the entire ClientArea, just redraw the
  10494. clip area being passed.
  10495. * MdiClient.cs: Make MdiClient constructor with the Form argument
  10496. internal.
  10497. 2006-05-12 Jackson Harper <[email protected]>
  10498. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  10499. parents background image, but strangely not their own.
  10500. - (DrawStatusBarPanel): Take into account horizontal alignment
  10501. when drawing the strings and icons.
  10502. 2006-05-12 Mike Kestner <[email protected]>
  10503. * ListBox.cs: avoid invalidations for focus when the collection is
  10504. empty.
  10505. 2006-05-12 Chris Toshok <[email protected]>
  10506. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  10507. invalidate the entire thumb area. Call InvalidateDirty which
  10508. limits the redraw to the thumb itself and surrounding pixels.
  10509. * XplatUIX11.cs (ScrollWindow): optimize copying.
  10510. 2006-05-12 Chris Toshok <[email protected]>
  10511. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  10512. Figure out the positioning/layout in a single pass instead of
  10513. multiple recursive invocations. Speeds up the initial display of
  10514. the data grid. Also, make many things private that were
  10515. originally public but unused outside this class.
  10516. 2006-05-11 Jackson Harper <[email protected]>
  10517. * MdiClient.cs: Improved layout code.
  10518. 2006-05-11 Jonathan Chambers <[email protected]>
  10519. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  10520. not SelectedObject.
  10521. 2006-05-11 Chris Toshok <[email protected]>
  10522. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  10523. union of that will always be {0,0,width,height}.
  10524. 2006-05-11 Jackson Harper <[email protected]>
  10525. * Form.cs: Match MS's DefaultSize for forms (they must have
  10526. changed the size in sp2).
  10527. 2006-05-11 Atsushi Enomoto <[email protected]>
  10528. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  10529. 2006-05-11 Atsushi Enomoto <[email protected]>
  10530. * TextControl.cs : Fixed bug #78109. This incorrect position
  10531. comparison caused crash on automatic line split.
  10532. * TextBoxBase.cs : reduce duplicate code.
  10533. 2006-05-10 Jackson Harper <[email protected]>
  10534. * MdiClient.cs: Active form is only sent to the back when using
  10535. the Next form functionality, when a form is clicked the current
  10536. active shouldn't be sent to the back.
  10537. - Layout the mdi windows when the container is first made visible.
  10538. * Form.cs: Give the MdiClient a ref to the containing form when we
  10539. create it.
  10540. 2006-05-10 Atsushi Enomoto <[email protected]>
  10541. * LinkLabel.cs : link_font could be uninitialized, so populate one
  10542. before actual use. Fixed bug #78340.
  10543. 2006-05-10 Atsushi Enomoto <[email protected]>
  10544. * XplatUIX11.cs : clipboard format native value is IntPtr.
  10545. Fixed bug #78283.
  10546. 2006-05-10 Peter Dennis Bartok <[email protected]>
  10547. * Control.cs:
  10548. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  10549. which is passed up the parent chain by DefWndProc
  10550. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  10551. to DefWndProc (#77956)
  10552. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  10553. 2006-05-10 Jackson Harper <[email protected]>
  10554. * MdiClient.cs: We need to remove the controls from the mdi
  10555. collection, when we close the window.
  10556. * MdiWindowManager.cs: Special handling of closing mdi windows.
  10557. * InternalWindowManager.cs: Make the close method virtual so the
  10558. mdi window manager can handle it specially.
  10559. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  10560. * DataGrid.cs:
  10561. - Recalculate grid when the data source has changed
  10562. - Matches styles provided by user from all data sources types
  10563. * DataGridTableStyle.cs: For columns that provided by the user set the
  10564. with the preferred value is there was unassigned.
  10565. * CurrencyManager.cs: throw OnItemChanged event
  10566. 2006-05-10 Peter Dennis Bartok <[email protected]>
  10567. * PictureBox.cs: Don't animate until handle is created. Start animation
  10568. when handle is created.
  10569. 2006-05-10 Peter Dennis Bartok <[email protected]>
  10570. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  10571. current codebase.
  10572. * XEventQueue.cs: We don't need to provide the extra info
  10573. 2006-05-10 Jackson Harper <[email protected]>
  10574. * MdiClient.cs: If the mdi clients parent form has a background
  10575. image set, we draw that background image for the mdi area's
  10576. background.
  10577. 2006-05-10 Peter Dennis Bartok <[email protected]>
  10578. * TextBoxBase.cs: Set IBeam cursor (#78347)
  10579. 2006-05-10 Mike Kestner <[email protected]>
  10580. * ToolBar.cs: fix some text padding issues with ButtonSize
  10581. calculation. Update the default size to match MS documentation.
  10582. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  10583. button size. Fixes #78296.
  10584. 2006-05-10 Mike Kestner <[email protected]>
  10585. * ListBox.cs: use is_visible for scrollbar positioning in case the
  10586. control isn't on screen yet. Fix off by one with Right vs Width
  10587. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  10588. 2006-05-10 Jackson Harper <[email protected]>
  10589. * X11Dnd.cs: Drop to a control with another control on top of it.
  10590. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  10591. be modified in click handlers. TODO: Look for similar problems in
  10592. other controls.
  10593. 2006-05-09 Jackson Harper <[email protected]>
  10594. * Form.cs: Window managers need the old window state when setting
  10595. window state now.
  10596. * InternalWindowManager.cs: Allow the base mdi window manager to
  10597. handle more of the MDI only stuff (like maximize buttons).
  10598. * MdiWindowManager.cs: Fix some snafus in changing the window
  10599. state. Add all the menu functionality, for both popup and
  10600. maximized menus.
  10601. * MdiClient.cs: When a new form is selected the currently
  10602. activated form is sent to the back, this matches MS.
  10603. - Implement a new method to activate the next mdi child window.
  10604. 2006-05-08 Peter Dennis Bartok <[email protected]>
  10605. * Control.cs:
  10606. - Added new InternalCapture method to allow controls to prevent
  10607. the capture behaviour on the click handlers
  10608. - Switched to use InternalCapture
  10609. * ComboBox.cs:
  10610. - Using InternalCapture to prevent mouse captures from being released
  10611. on mouse button release (Fixes #78100)
  10612. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  10613. returns Form borders if a caption is present. (Fixes #78310)
  10614. 2006-05-08 Peter Dennis Bartok <[email protected]>
  10615. * TreeNode.cs: Changed serialization .ctor to not require every field
  10616. to be present. (#78265)
  10617. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  10618. 2006-05-05 Alexander Olk <[email protected]>
  10619. * MimeIcon.cs: for is faster than foreach for strings.
  10620. 2006-05-05 Mike Kestner <[email protected]>
  10621. * CheckedListBox.cs: update check handling code to not use selected.
  10622. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  10623. behavior for visual feedback, motion response, shift/ctrl handling,
  10624. and properly deal with all 4 selection modes. Updates to bounds
  10625. handling logic. Add scroll wheel support. [Fixes #77842]
  10626. 2006-05-05 Peter Dennis Bartok <[email protected]>
  10627. * ListView.cs:
  10628. - Moved adding of Implicit controls into .ctor. That way, subsequent
  10629. creation of the controls will not cause them to think they are
  10630. toplevel windows (fixes #78200 header problem)
  10631. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  10632. - Switched visibility setting of header control to use internal field
  10633. to avoid triggering handle creation
  10634. - Now checking if handle is created before causing a refresh when items
  10635. are added (This makes us now match handle creation time with MS)
  10636. * Splitter.cs: Removed loading of private splitter cursor, switched to
  10637. Cursors version now that that is loading the right ones
  10638. * Cursors.cs: Load proper splitter cursors from resources
  10639. * Cursor.cs: Added second method of loading resource cursors for the
  10640. VS.Net users amongst us
  10641. 2006-05-05 Mike Kestner <[email protected]>
  10642. * ListView.cs: give header_control a minimum size based on the
  10643. ListView size.
  10644. 2006-05-05 Peter Dennis Bartok <[email protected]>
  10645. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  10646. window seems to do that with metacity, so set that type. (#78120)
  10647. 2006-05-05 Mike Kestner <[email protected]>
  10648. * ListViewItem.cs: fix Details mode checkbox layout bug.
  10649. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  10650. at the end of the header, if it exists. [Fixes for #78200]
  10651. 2006-05-04 Jackson Harper <[email protected]>
  10652. * MdiClient.cs: Add a helper property to get the container form.
  10653. * MdiWindowManager.cs: We have to make sure to use the menu origin
  10654. when drawing the icons and buttons, this fixes maximized window
  10655. icons/buttons on win32.
  10656. * InternalWindowManager.cs: Reset the restore captions when a
  10657. window goes from Maximized to Minimized and vice versa. Move the
  10658. DrawMaximizedButtons into the MdiWindowManager source, tool
  10659. windows can't be maximized. NOTE: This could use a little
  10660. refactoring if time ever permits.
  10661. 2006-05-03 Jonathan Chambers <[email protected]>
  10662. * TextBox.cs: Add MWFCategoryAttributes
  10663. * TextBoxBase.cs: Add MWFCategoryAttributes
  10664. * Form.cs: Add MWFCategoryAttributes
  10665. 2006-05-03 Jonathan Chambers <[email protected]>
  10666. * Control.cs: Add MWFCategoryAttributes
  10667. * ScrollableControl.cs: Add MWFCategoryAttributes
  10668. 2006-05-03 Alexander Olk <[email protected]>
  10669. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  10670. Divider is true. Fix a little glitch in PropertyToolBar
  10671. drawing code
  10672. 2006-05-02 Peter Dennis Bartok <[email protected]>
  10673. * Control.cs:
  10674. - Dispose: Call base.Dispose, this causes the disposed event
  10675. to be fired (and probably other, more important stuff)
  10676. - SetVisibleCore: Set is_visible to true after creating the
  10677. window so that the window still gets created invisible (if
  10678. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  10679. to generate a WM_ACTIVE message
  10680. * Form.cs: Call Dispose when we want to destroy the window, instead of
  10681. just destroying the handle (Dispose will do that for us)
  10682. * XplatUIX11.cs:
  10683. - RootWindow also needs a queue, so we can properly process the
  10684. property change events from RootWindow (like Activate)
  10685. - Generatic synthetic WM_ACTIVE message when the active window is
  10686. being destroyed
  10687. 2006-05-01 Peter Dennis Bartok <[email protected]>
  10688. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  10689. bounds are changed
  10690. 2006-05-01 Peter Dennis Bartok <[email protected]>
  10691. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  10692. for determining width and height (image might not be assigned if
  10693. we're drawing an imagelist)
  10694. 2006-05-01 Peter Dennis Bartok <[email protected]>
  10695. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  10696. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  10697. height from system
  10698. * Theme.cs: No longer returns hardcoded menu height, instead calls
  10699. new driver method
  10700. * Form.cs (OnLoad): Scaling happens before triggering Load events
  10701. on MS (# 78257)
  10702. 2006-05-01 Mike Kestner <[email protected]>
  10703. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  10704. 2006-04-30 Peter Dennis Bartok <[email protected]>
  10705. * TextBoxBase.cs: Removed Fixme
  10706. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  10707. 2006-04-30 Peter Dennis Bartok <[email protected]>
  10708. * XplatUIX11.cs:
  10709. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  10710. the rectangle relative to the parent, considering borders. We
  10711. don't really want that.
  10712. - ScrollWindow: Fixed warning to be more understandable
  10713. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  10714. scrollbars and scroll only the visible area
  10715. * RichTextBox.cs: Removed debug output
  10716. 2006-04-29 Peter Dennis Bartok <[email protected]>
  10717. * NumericUpDown.cs (Text): Just use base
  10718. * UpDownBase.cs: Ensure txtView is created before using it
  10719. 2006-04-29 Peter Dennis Bartok <[email protected]>
  10720. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  10721. casting to IntPtr to avoid 64bit overflow errors
  10722. 2006-04-29 Peter Dennis Bartok <[email protected]>
  10723. * Control.cs:
  10724. - AllowDrop: Don't force handle creation.
  10725. - CreateHandle: Added call to tell driver if we're allowed to drop
  10726. 2006-04-27 Alexander Olk <[email protected]>
  10727. * FileDialog.cs: Remember the last directory not only for the
  10728. current instance but also for new FileDialog instances.
  10729. 2006-04-29 Peter Dennis Bartok <[email protected]>
  10730. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  10731. broke sending async messages
  10732. 2006-04-29 Peter Dennis Bartok <[email protected]>
  10733. * XplatUIX11.cs:
  10734. - ScrollWindow: Fixed method. We finally generate expose events again
  10735. for scrolled areas. This was causing 'garbage' when scrolling
  10736. textbox and other controls that used ScrollWindow
  10737. - Switched from using the regular queue for paint events to the MS
  10738. model of 'generating' paint events when the queue is empty.
  10739. We use the new XQueueEvent.Paint subclass to store which windows
  10740. need painting.
  10741. - AddExpose now takes the x/y/width/height of the exposed area
  10742. and inserts the window into the paint queue if not already there
  10743. - InvalidateWholeWindow: Switched to use new AddExpose method
  10744. - UpdateMessageQueue: Added which queue to monitor for paint events
  10745. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  10746. the unlikely case nothing above handles it. We reset the expose
  10747. pending states to get them off the queue.
  10748. - GetMessage: Now pulls a paint event if no other events are in the
  10749. queue
  10750. - Invalidate: Switched to new AddExpose method
  10751. - PeekMessage: Updated to understand pending paint events
  10752. - UpdateWindow: Fixed logic bug. We were only updating if the window
  10753. didn't need updating. Also switched to sending WM_PAINT directly,
  10754. like MS does.
  10755. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  10756. and random access Remove(). The random access is needed to handle
  10757. UpdateWindow() where a WM_PAINT is sent directly without accessing
  10758. the queue.
  10759. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  10760. allow for better feedback when scrolling. Scrollbars are small and
  10761. the immediate update should make it 'feel' more responsive without
  10762. slowing things down. ScrollBar still needs it's invaliate logic
  10763. updated to not always invalidate the whole bar on certain changes.
  10764. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  10765. * Control.cs:
  10766. (BackColor): if the control does not support a transparent background,
  10767. return the default backcolor when the parent backcolor is transparent.
  10768. 2006-04-28 Peter Dennis Bartok <[email protected]>
  10769. * Application.cs: Updated to new StartLoop/GetMessage API
  10770. * RichTextBox.cs: Provide some output on RTF parsing errors
  10771. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  10772. new queue_id argument to GetMessage and PeekMessage to allow faster
  10773. handling of per-thread queues in drivers.
  10774. * Hwnd.cs: Added Queue tracking and property
  10775. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  10776. * XEventQueue.cs: Added thread trackingA
  10777. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  10778. * XplatUIX11.cs:
  10779. - Implemented new per-thread queue
  10780. - GetMessage: Fixed return/break behaviour on several cases. We were
  10781. returning stale messages in some cases, instead of just processing
  10782. the next message
  10783. 2006-04-27 Jonathan Chambers <[email protected]>
  10784. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  10785. 2006-04-27 Peter Dennis Bartok <[email protected]>
  10786. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  10787. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  10788. 2006-04-27 Jonathan Chambers <[email protected]>
  10789. * PropertyGridView.cs: Fix drop down width.
  10790. 2006-04-27 Alexander Olk <[email protected]>
  10791. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  10792. a mess in DrawToolBar, so I removed one of them.
  10793. 2006-04-27 Alexander Olk <[email protected]>
  10794. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  10795. needed (clip). Otherwise we get artifacts.
  10796. 2006-04-26 Peter Dennis Bartok <[email protected]>
  10797. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  10798. dimension is fixed
  10799. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  10800. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  10801. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  10802. if it matches the scale base font (avoids unneeded scaling)
  10803. 2006-04-26 Alexander Olk <[email protected]>
  10804. * X11DesktopColors.cs: One gtk_init_check should be enough
  10805. 2006-04-26 Peter Dennis Bartok <[email protected]>
  10806. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  10807. match MS behaviour
  10808. 2006-04-26 Peter Dennis Bartok <[email protected]>
  10809. * TextBoxBase.cs:
  10810. - Generate OnTextChanged for Backspace even if we're only deleting
  10811. the current selection
  10812. - When setting the Text property, only select all text if the
  10813. control does not have focus when it is being set. Otherwise
  10814. just place the cursor at the beginning of the control
  10815. 2006-04-26 Alexander Olk <[email protected]>
  10816. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  10817. Added a little helper to draw PropertyGrid ToolBar with a different
  10818. border and a different BackColor.
  10819. * PropertyGrid.cs: Some background parts didn't get painted with the
  10820. correct background color. Added a class that helps us to draw the
  10821. correct border for PropertyGridView and a class that helps us to
  10822. draw ToolBars with a different backcolor
  10823. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  10824. 2006-04-25 Jonathan Chambers <[email protected]>
  10825. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  10826. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  10827. 2006-04-25 Peter Dennis Bartok <[email protected]>
  10828. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  10829. into the palette entries. Also, since we're working on a copy
  10830. we needed to copy the palette back onto the bitmap.
  10831. * Cursor.cs: Same fix as XplatUIWin32.cs.
  10832. 2006-04-25 Peter Dennis Bartok <[email protected]>
  10833. * ImageListStreamer.cs: Need to read the var (or we're off)
  10834. 2006-04-25 Peter Dennis Bartok <[email protected]>
  10835. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  10836. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  10837. TextBoxBase.cs: Unused var fixes
  10838. * AxHost.cs: Small 2.0 fix
  10839. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  10840. as it seems that is what at least Metacity expects. This will make
  10841. icons show up on 64bit platforms. We still have some 64bit size
  10842. issues, though, since the startup app window size still won't match.
  10843. 2006-04-25 Mike Kestner <[email protected]>
  10844. * *.cs: cleanup newly reported exception var unused warnings.
  10845. 2006-04-25 Alexander Olk <[email protected]>
  10846. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  10847. ms
  10848. 2006-04-25 Alexander Olk <[email protected]>
  10849. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  10850. image. The image position is always the same, no matter if the
  10851. button is pressed or not.
  10852. 2006-04-25 Alexander Olk <[email protected]>
  10853. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  10854. selection and set the correct filename for SaveFileDialog.
  10855. Patch by Emery Conrad.
  10856. 2006-04-24 Mike Kestner <[email protected]>
  10857. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  10858. check for item.X outside the ClientRect instead of item.Y. Fixes
  10859. #78151.
  10860. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  10861. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  10862. trust that value blindly and do some sanity check. Fixes bug #77814.
  10863. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  10864. * ImageListStreamer.cs: save the mask as a 1bpp image.
  10865. 2006-04-21 Mike Kestner <[email protected]>
  10866. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  10867. pass Checked and Indeterminate to the Theme Engine. Improve
  10868. encapsulation with ListBox.
  10869. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  10870. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  10871. nested types. Move all CheckState functionality to CheckedListBox.
  10872. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  10873. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  10874. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  10875. single base list. Fix scrollbar sizing and placement to mirror MS.
  10876. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  10877. used.
  10878. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  10879. for CheckedListBox by using new DrawItemState info. Center the
  10880. checkboxes on the items. Use new StringFormat property.
  10881. 2006-04-18 Jackson Harper <[email protected]>
  10882. * Form.cs: MdiChildren don't do default locations the same way as
  10883. regular forms. This prevents a crash when trying to position the
  10884. mdi windows.
  10885. 2006-04-17 Jonathan Chambers <[email protected]>
  10886. * PropertyGridTextBox.cs: Formatting, copyright
  10887. * PropertiesTab.cs: Formatting
  10888. * PropertyGrid.cs: Formatting
  10889. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  10890. click toggling of values
  10891. 2006-04-17 Peter Dennis Bartok <[email protected]>
  10892. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  10893. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  10894. every time a control is created
  10895. * Application.cs: Removed obsolete EnableRTLMirroring method
  10896. 2006-04-18 Gert Driesen <[email protected]>
  10897. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  10898. SelectedIndex to -1. Fixes bug #78121.
  10899. 2006-04-17 Jackson Harper <[email protected]>
  10900. * Binding.cs: Handle null values for Current and BindingContext.
  10901. This occurs when binding is a little delayed.
  10902. * CurrencyManager.cs: return null for Current when there are no
  10903. items in the list.
  10904. - Hookup to the listchanged event on the DataView and update
  10905. bindings when the list is changed. This fixes late binding of
  10906. controls.
  10907. 2006-04-17 Jackson Harper <[email protected]>
  10908. * X11Dnd.cs:
  10909. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  10910. Ringenbach.
  10911. 2006-04-15 Alexander Olk <[email protected]>
  10912. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  10913. place
  10914. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  10915. with the correct ButtonState
  10916. 2006-04-14 Peter Dennis Bartok <[email protected]>
  10917. * XplatUIX11.cs: Improved distinguishing between window types to
  10918. tell the WM a type closer to what the app wants (Fixes #78107)
  10919. 2006-04-14 Alexander Olk <[email protected]>
  10920. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  10921. GrabHandle
  10922. 2006-04-14 Alexander Olk <[email protected]>
  10923. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  10924. drawing code to reflect the size grip changes
  10925. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  10926. * ImageListStreamer.cs: fix handling of the mask that follows the main
  10927. bitmap when deserializing and serialize it properly. The generated mask
  10928. should better be a 1bpp image, but I'll do that later.
  10929. 2006-04-13 Alexander Olk <[email protected]>
  10930. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  10931. path doesn't fit into some of our Current.Places
  10932. 2006-04-13 Jackson Harper <[email protected]>
  10933. * ComboBox.cs: Use borders instead of drawing our own decorations,
  10934. try to obey correct rules for heights.
  10935. * Theme.cs:
  10936. * ThemeNice.cs:
  10937. * ThemeClearLooks.cs:
  10938. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  10939. this is now handled by borders.
  10940. - Remove unused DrawListBoxDecorationSize method.
  10941. 2006-04-13 Mike Kestner <[email protected]>
  10942. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  10943. reported by Alex.
  10944. 2006-04-13 Alexander Olk <[email protected]>
  10945. * ThemeWin32Classic.cs:
  10946. - Fixed CPDrawStringDisabled
  10947. - Corrected drawing of disabled menu items
  10948. - Fixed drawing of disabled radio buttons (bug #78095)
  10949. - Draw check in a disabled CheckBox with color ControlDark
  10950. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10951. * Form.cs: Use the provided width when calculating the menu size;
  10952. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  10953. and ClientSize.Width won't be updated yet
  10954. * Application.cs: Use Visible instead of Show() to make form visible,
  10955. this way we create the handle later and menusize is considered
  10956. 2006-04-12 Mike Kestner <[email protected]>
  10957. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  10958. reporting.
  10959. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10960. * TextBox.cs: Implemented context menu
  10961. 2006-04-12 Mike Kestner <[email protected]>
  10962. * ListView.cs: implement box selection. fixes #77838.
  10963. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  10964. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10965. * XplatUIX11.cs: Added setting of window type when transient window
  10966. is created (metacity would move it otherwise)
  10967. * X11Structs.cs: Added WINDOW_TYPE atoms
  10968. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  10969. background (the control is Opaque but still wants transparent
  10970. backgrounds)
  10971. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10972. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  10973. that set Opaque but don't mean it (like all ButtonBase-derived
  10974. controls) to still draw their background
  10975. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  10976. the background
  10977. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10978. * Control.cs (PaintControlBackground): Set the graphics object
  10979. on our PaintEvent to null to prevent it from being disposed
  10980. when the PaintEvent gets disposed
  10981. 2006-04-12 Alexander Olk <[email protected]>
  10982. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  10983. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  10984. 2006-04-12 Peter Dennis Bartok <[email protected]>
  10985. * Control.cs:
  10986. - Added transparency check to BackColor property. Transparent
  10987. backgrounds are only allowed if the control styles permit it
  10988. - Added recursive painting of parent control background and
  10989. foreground if a control with a transparent backcolor is drawn
  10990. (Thanks to Tim Ringenback for providing his 'hack' as a base
  10991. for this patch) Fixes #77985 and #78026.
  10992. - Added Opaque style check before calling OnPaintBackground, no
  10993. need to draw the background if the control is opaque
  10994. - Removed ControlAccessibleObject owner variable (inherited from
  10995. base, no need to define again)
  10996. - Added some documentation links explaining the drawing events
  10997. and styles
  10998. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10999. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  11000. that the affected control is the located at the left border of our
  11001. parent (Fixes #77936)
  11002. 2006-04-11 Peter Dennis Bartok <[email protected]>
  11003. * TextBoxBase.cs: When rendering disabled or readonly controls,
  11004. draw the background with 'Control' instead of 'Window' color as
  11005. long as the user hasn't specifically set a color
  11006. 2006-04-11 Peter Dennis Bartok <[email protected]>
  11007. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  11008. since that won't be updated if the user types text (only if it's
  11009. programatically set)
  11010. 2006-04-11 Peter Dennis Bartok <[email protected]>
  11011. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  11012. layout changes do to app-triggered resizes will have the proper
  11013. display rectangle for layout
  11014. 2006-04-11 Alexander Olk <[email protected]>
  11015. * ThemeWin32Classic.cs:
  11016. - Make use of the SystemBrushes and SystemPens wherever possible
  11017. - Corrected some highlight colors
  11018. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  11019. drawing
  11020. * Theme.cs: Added Empty field to CPColor struct
  11021. 2006-04-11 Peter Dennis Bartok <[email protected]>
  11022. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  11023. is displayed when calculating the display rectangle. Thanks to Mike
  11024. for teaching me the err of my ways.
  11025. 2006-04-10 Peter Dennis Bartok <[email protected]>
  11026. * ScrollableControl.cs:
  11027. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  11028. (instead of 0,0) and we now return the real width/height instead of
  11029. just the clientrectangle, adjusted for padding. The rectangle is
  11030. now cached and created by the new CalculateDisplayRectangle method.
  11031. - Created new CalculateDisplayRectange method, which basically does
  11032. what get_DisplayRectangle() did originally, but now using the
  11033. right edge instead of DisplayRectangle to determine the size of
  11034. our scrollbars
  11035. - get_Canvas(): Fixed it to properly calculate canvas for
  11036. right/bottom controls which seem to be placed to the right/bottom
  11037. of any controls that have a fixed location
  11038. - Removed TODO that's taken care of
  11039. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  11040. and SetDisplayRectLocation according to new MSDN2 docs
  11041. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  11042. event when that is called, this is added for compatibility
  11043. - ScrollControlIntoView(): Implemented.
  11044. - Switched scrollbars to be implicit, they shouldn't be selectable
  11045. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  11046. call it when the active control is set/changed
  11047. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  11048. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  11049. implicit_control variable (used for native Win32 message generation)
  11050. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  11051. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  11052. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  11053. * XplatUIStructs.cs: Added ScrollBarCommands enum
  11054. 2006-04-10 Jackson Harper <[email protected]>
  11055. * ButtonBase.cs:
  11056. * CheckedListBox.cs:
  11057. * ComboBox.cs:
  11058. * DataGrid.cs:
  11059. * DataGridView.cs:
  11060. * Form.cs:
  11061. * GroupBox.cs:
  11062. * ListBox.cs:
  11063. * PrintPreviewControl.cs:
  11064. * ProgressBar.cs:
  11065. * PropertyGrid.cs:
  11066. * Splitter.cs:
  11067. * StatusBar.cs:
  11068. * TrackBar.cs:
  11069. * UpDownBase.cs: Fixup base event overrides.
  11070. 2006-04-06 Mike Kestner <[email protected]>
  11071. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  11072. all user-initiated value changes to min <= value <= max-thumbsz+1.
  11073. (set_Value): check for vert/horiz when calculating new thumb position.
  11074. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  11075. like MS does.
  11076. (OnMouseMoveSB): refactor the thumb dragging code and refine
  11077. invalidation logic to reduce flicker.
  11078. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  11079. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  11080. (UpdateThumbPosition): small code readability cleanup
  11081. 2006-04-10 Alexander Olk <[email protected]>
  11082. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  11083. different
  11084. 2006-04-08 Alexander Olk <[email protected]>
  11085. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  11086. 2006-04-08 Alexander Olk <[email protected]>
  11087. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  11088. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  11089. This dramatically reduces the number of Pen.Dispose calls.
  11090. Where possible call ResPool methods only once instead of calling it
  11091. over and over again (for example for the same color).
  11092. 2006-04-06 Mike Kestner <[email protected]>
  11093. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  11094. Also remove an unused private field on the collection. Fixes #77972.
  11095. 2006-04-06 Alexander Olk <[email protected]>
  11096. * ThemeNice.cs: Added ToolBar drawing code
  11097. 2006-04-06 Mike Kestner <[email protected]>
  11098. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  11099. I'm assuming that means we need to look up the toplevel for the
  11100. provided control. Fixes the crash trace in #77911 but exposes another
  11101. crash in some strange reflection usage in NDocGui.
  11102. 2006-04-06 Alexander Olk <[email protected]>
  11103. * ThemeNice.cs: Gave it a little silver touch and added Images
  11104. method
  11105. * FontDialog.cs: FontDialog is not resizable
  11106. * FileDialg.cs: Added SizeGripStyle.Show
  11107. 2006-04-05 Jackson Harper <[email protected]>
  11108. * KeyboardLayouts.cs: Remove warning.
  11109. 2006-04-05 Jackson Harper <[email protected]>
  11110. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  11111. all of our controls instead of Paint +=.
  11112. * ListBox.cs:
  11113. * ListView.cs:
  11114. * MenuAPI.cs:
  11115. * MessageBox.cs:
  11116. * NotifyIcon.cs:
  11117. * ProgressBar.cs:
  11118. * ScrollBar.cs:
  11119. * Splitter.cs:
  11120. * StatusBar.cs:
  11121. * TabControl.cs:
  11122. * TextBoxBase.cs:
  11123. * ToolBar.cs:
  11124. * TrackBar.cs:
  11125. * UpDownBase.cs:
  11126. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  11127. use OnPaintInternal. Remove Width/Height and Visible checks in
  11128. paint handler, this is done at a higher level now.
  11129. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  11130. * PaintEventArgs.cs: Add a handled flag so controls that don't
  11131. want anymore painting after OnPaintInternal can make sure OnPaint
  11132. isn't called.
  11133. 2006-04-05 Mike Kestner <[email protected]>
  11134. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  11135. state of the form, so that we don't process events when Modal dialogs
  11136. are up. Fixes #77922.
  11137. 2006-04-05 Alexander Olk <[email protected]>
  11138. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  11139. checking is done.
  11140. 2006-04-05 Mike Kestner <[email protected]>
  11141. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  11142. 2006-04-05 Mike Kestner <[email protected]>
  11143. * ListView.cs (HeaderMouseMove): null guarding for the over column
  11144. when setting up the drag_to_index. Fixes #78015.
  11145. 2006-04-04 Peter Dennis Bartok <[email protected]>
  11146. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  11147. in the taskbar. Transient windows seem to accomplish that.
  11148. 2006-04-04 Peter Dennis Bartok <[email protected]>
  11149. * Form.cs:
  11150. - Re-enabled CreateParams.X/Y code for FormStartPosition
  11151. - Added code for manual placement when creating the Control
  11152. - Incomplete patch to treat MDI forms differently when
  11153. setting the ClientSizeCore. (Still need to figure out handling
  11154. x/y coords there)
  11155. * XplatUIX11.cs:
  11156. - When we're explicitly setting the X/Y position of a non-Child
  11157. window, let the WM know. Metacity really wants this.
  11158. 2006-04-04 Alexander Olk <[email protected]>
  11159. * ThemeNice.cs: Added CPDrawButton
  11160. 2006-04-04 Alexander Olk <[email protected]>
  11161. * ThemeNice.cs: Changed the color for focused buttons and activated
  11162. the arrows for small scroll buttons.
  11163. 2006-04-04 Alexander Olk <[email protected]>
  11164. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  11165. anymore. Changed some method modifiers to protected (virtual)
  11166. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  11167. changes
  11168. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  11169. Updated drawing of menus, buttons and progressbars; added
  11170. CPDrawBorder3D
  11171. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  11172. * ImageListStreamer.cs: implemented serialization/deserialization
  11173. of the images.
  11174. 2006-04-03 Alexander Olk <[email protected]>
  11175. * ThemeWin32Classic.cs:
  11176. - Removed all the DrawFrameControl stuff; CPDrawButton,
  11177. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  11178. inside the methods
  11179. - Updated and corrected the drawing code of CPDrawButton,
  11180. CPDrawCheckBox and CPDrawRadioButton to better match ms
  11181. - Updated theme checkbox and radiobutton code to use the CP*
  11182. methods
  11183. 2006-03-31 Peter Dennis Bartok <[email protected]>
  11184. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  11185. bug is fixed
  11186. 2006-03-31 Jackson Harper <[email protected]>
  11187. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  11188. sometimes.
  11189. * UpDownBase.cs: Don't CreateGraphics manually, use a
  11190. Refresh. Ideally we would invalidate the correct areas here.
  11191. 2006-03-31 Peter Dennis Bartok <[email protected]>
  11192. * XplatUIX11.cs:
  11193. - We now track the mapping state of windows. If a window (or
  11194. one of it's parents) is not mapped we no longer permit
  11195. WM_PAINT messages to be generated since we'd otherwise get
  11196. lots of BadMatch X errors. Jackson did all the work figuring
  11197. out the problem.
  11198. - Destroying the caret if the window it's contained in is
  11199. destroyed. Can't use regular DestroyCaret method since it
  11200. might fall into a drawing function (trying to remove the
  11201. caret) and with that generate new BadMatch errors. Again,
  11202. Jackson tracked this down.
  11203. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  11204. make sure we send the messages to all windows. (The old code
  11205. would send the WM_DESTROY to the window, and then all child
  11206. windows would be 'gone' because the WM_DESTROY handle lookup
  11207. would no longer find the destroyed window)
  11208. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  11209. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  11210. 2006-03-31 Jackson Harper <[email protected]>
  11211. * ScrollableControl.cs: Dont recalc if we are not visible.
  11212. 2006-03-31 Mike Kestner <[email protected]>
  11213. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  11214. the visibility branch.
  11215. 2006-03-31 Jackson Harper <[email protected]>
  11216. * ScrollBar.cs: Cap values when incrementing/decrementing.
  11217. 2006-03-31 Mike Kestner <[email protected]>
  11218. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  11219. * ToolTip.cs: guard against timer expirations with no active control.
  11220. Not sure why it happened.
  11221. 2006-03-31 Mike Kestner <[email protected]>
  11222. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  11223. text.
  11224. * ToolTip.cs: Position the tooltip based on where the cursor is at
  11225. popup time, not at MouseEnter time. Add a Down state so that we don't
  11226. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  11227. positioning offset. Lookup DisplaySize at positioning time, since it
  11228. can theoretically change during invocation.
  11229. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  11230. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  11231. 2006-03-31 Alexander Olk <[email protected]>
  11232. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  11233. Fixes behaviour when the Text property of the box is String.Empty
  11234. 2006-03-31 Peter Dennis Bartok <[email protected]>
  11235. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  11236. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  11237. a window)
  11238. 2006-03-31 Alexander Olk <[email protected]>
  11239. * FileDialog.cs: Visual enhancement for the popup buttons in
  11240. PopupButtonPanel
  11241. 2006-03-31 Alexander Olk <[email protected]>
  11242. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  11243. code
  11244. 2006-03-30 Alexander Olk <[email protected]>
  11245. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  11246. highlighted menu items to match ms
  11247. 2006-03-30 Peter Dennis Bartok <[email protected]>
  11248. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  11249. 2006-03-30 Mike Kestner <[email protected]>
  11250. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  11251. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  11252. go active to account for HotLight to Selected transition.
  11253. * MenuItem.cs: add internal Selected prop. Fill out the Status
  11254. property by calculating it from item info. Add HotLight,
  11255. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  11256. 2006-03-30 Mike Kestner <[email protected]>
  11257. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  11258. 2006-03-29 Jackson Harper <[email protected]>
  11259. * Form.cs: Implement TODO.
  11260. 2006-03-29 Peter Dennis Bartok <[email protected]>
  11261. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  11262. missing proper dialog setup in the constructor
  11263. 2006-03-29 Peter Dennis Bartok <[email protected]>
  11264. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  11265. * Control.cs:
  11266. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  11267. - Fixed ResetBindings and removed TODO
  11268. - Added check for cross-thread calls to get_Handle()
  11269. - Added Marshaller attribute for set_Font to satisfy class status
  11270. * FontDialog.cs: Removed TODOs that seemed implemented
  11271. * UpDownBase.cs: Removed unneeded TODO and Fixme
  11272. * MessageBox.cs: Implemented support for Default button and removed TODO
  11273. * FileDialog.cs: Removed obsolete TODO
  11274. * DomainUpDown.cs: Removed obsolete TODO
  11275. * ButtonBase.cs: Removed obsolete TODO
  11276. * XplatUIWin32.cs: Removed obsolete TODO
  11277. * Form.cs:
  11278. - Removed obsolete TODO
  11279. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  11280. internal status updates
  11281. - Making sure the active control is selected when the control is created
  11282. * CurrencyManager.cs: Removed obsolete TODO
  11283. 2006-03-29 Mike Kestner <[email protected]>
  11284. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  11285. of PrintPreviewDialog and RichTextBox.
  11286. 2006-03-29 Alexander Olk <[email protected]>
  11287. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  11288. DarkDark, Light and LightLight colors for a specific color
  11289. * ThemeWin32Classic.cs:
  11290. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  11291. Appearance = Button
  11292. - Make use of the new ResPool helper CPColor
  11293. - Draw ProgressBar and StatusBar with correct 3D borders
  11294. 2006-03-29 Alexander Olk <[email protected]>
  11295. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  11296. 2006-03-28 Mike Kestner <[email protected]>
  11297. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  11298. calculating col/row counts.
  11299. 2006-03-28 Mike Kestner <[email protected]>
  11300. * ColumnHeader.cs:
  11301. * ListView.cs:
  11302. * ListViewItem.cs:
  11303. * Menu.cs:
  11304. switch to explicit interface method implementation for some methods
  11305. corcompare identifies as inconsistent with MS.
  11306. 2006-03-28 Mike Kestner <[email protected]>
  11307. * MainMenu.cs:
  11308. * Menu.cs:
  11309. add a few missing methods from the class status output.
  11310. 2006-03-28 Alexander Olk <[email protected]>
  11311. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  11312. correct.
  11313. 2006-03-28 Mike Kestner <[email protected]>
  11314. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  11315. 2006-03-27 Mike Kestner <[email protected]>
  11316. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  11317. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  11318. 2006-03-27 Alexander Olk <[email protected]>
  11319. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  11320. 2006-03-25 Alexander Olk <[email protected]>
  11321. * ThemeWin32Classic.cs:
  11322. - GroupBox: Inserted a little gap between the text and the lines
  11323. on the right side
  11324. - Made the code in CPDrawBorder3D more readable
  11325. - Corrected the drawing location of the up and down arrows in
  11326. CPDrawScrollButton
  11327. 2006-03-25 Alexander Olk <[email protected]>
  11328. * ControlPaint.cs: Corrected line widths in DrawBorder for
  11329. ButtonBorderStyle Inset and Outset
  11330. 2006-03-25 Alexander Olk <[email protected]>
  11331. * ThemeWin32Classic.cs:
  11332. - Rewrote the totally broken CPDrawBorder3D method. That was
  11333. one of the main problems for the terrific ThemeWin32Classic
  11334. look
  11335. - Updated and corrected Button drawing
  11336. - Correct the dimensions of the SizeGrip to match ms ones
  11337. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  11338. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  11339. Border3DStyle.Sunken to match ms.
  11340. 2006-03-25 Alexander Olk <[email protected]>
  11341. * ThemeWin32Classic.cs: First small part of the "de-uglify
  11342. ThemeWin32Classic" effort, SizeGrip
  11343. 2006-03-24 Jackson Harper <[email protected]>
  11344. * XplatUIX11.cs: Give a max idle time of one second, this matches
  11345. MS and forces an Idle event every second when there are no other
  11346. events in the queue.
  11347. 2006-03-24 Mike Kestner <[email protected]>
  11348. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  11349. * ListView.Item.cs: fix layout issues with null image lists and images
  11350. smaller than checkbox size.
  11351. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  11352. mode like MS does. It's weird, but consistent. ;-)
  11353. Fixes #77890.
  11354. 2006-03-24 Mike Kestner <[email protected]>
  11355. * ListView.cs: Scroll wheel support for the item control. Fixes
  11356. #77839.
  11357. 2006-03-23 Jackson Harper <[email protected]>
  11358. * ScrollableControl.cs: Special case negative sized areas, not
  11359. zero.
  11360. * MonthCalendar.cs: Save the rect of the clicked date so we can
  11361. use it for invalidation.
  11362. - Try to cut down on the number of invalidates
  11363. - Invalidate the rect the mouse is over and was over when moving
  11364. the mouse, so we get the focus box following the cursor.
  11365. 2006-03-23 Mike Kestner <[email protected]>
  11366. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  11367. focus rectangle drawing. Fixes #77835.
  11368. 2006-03-23 Mike Kestner <[email protected]>
  11369. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  11370. the if and else if and reverting back to the original == check on the
  11371. None conditional.
  11372. 2006-03-23 Alexander Olk <[email protected]>
  11373. * FontDialog.cs: Update the example panel if the selected index of
  11374. the fontListBox changes.
  11375. 2006-03-23 Alexander Olk <[email protected]>
  11376. * FileDialog.cs: Make FileDialog remember which directory it was in
  11377. last in the same execution.
  11378. 2006-03-22 Mike Kestner <[email protected]>
  11379. * FileDialog.cs: make the DropDownMenu on the toolbar display
  11380. RadioChecks since they are mutually exclusive and that's what MS does.
  11381. 2006-03-22 Mike Kestner <[email protected]>
  11382. * Theme.cs: add Color param to CPDrawMenuGlyph.
  11383. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  11384. checks and radio marks and arrows are visible on highlighted items.
  11385. * ControlPaint.cs: update to use new Theme signature.
  11386. 2006-03-22 Mike Kestner <[email protected]>
  11387. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  11388. is active. Fixes #77870.
  11389. 2006-03-22 Alexander Olk <[email protected]>
  11390. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  11391. to be focused/selected after startup
  11392. 2006-03-22 Alexander Olk <[email protected]>
  11393. * ColorDialog.cs:
  11394. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  11395. CustomColors and ShowHelp properties
  11396. - Some internal rewrites to get better results when using the
  11397. ColorMatrix
  11398. 2006-03-22 Mike Kestner <[email protected]>
  11399. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  11400. HoverSelection. Fixes #77836.
  11401. 2006-03-22 Mike Kestner <[email protected]>
  11402. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  11403. ToggleButtons. (De)Sensitize the Back button around a stack count of
  11404. 1, not 0. Update ButtonSize based on a pixel count of the win32
  11405. control. Adjust the toolbar size/location for new button size.
  11406. 2006-03-22 Jackson Harper <[email protected]>
  11407. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  11408. true.
  11409. * ScrollBar.cs: When doing increments and decrements we need to
  11410. set the Value property so that ValueChanged gets raised. A
  11411. possible optimization here would be to make an internal SetValue
  11412. that doesn't invalidate immediately.
  11413. * ToolTip.cs: Tooltips get added to their container (when
  11414. supplied) so they get disposed when the container is disposed.
  11415. - Don't create tooltips for String.Empty. This prevents all these
  11416. little 2-3 pixel windows from showing up when running nunit-gui
  11417. and driving me mad.
  11418. * Form.cs: Don't set topmost when setting the owner if the handles
  11419. haven't been created yet. The topmost set will happen when the
  11420. handles are created.
  11421. 2006-03-22 Peter Dennis Bartok <[email protected]>
  11422. * XplatUIX11.cs:
  11423. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  11424. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  11425. visible (to allow them to recalculate their sizes)
  11426. 2006-03-21 Mike Kestner <[email protected]>
  11427. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  11428. methods. Removed a ton of redundant code. Still not really happy with
  11429. the border rendering, but I think that's mainly because of the
  11430. ControlDarkDark being black instead of a dark grey. Depending on how
  11431. close we want to be, we might want to revisit those color choices.
  11432. Among the new features added during the refactor were DropDownArrow
  11433. pressed rendering, Disabled image rendering. Proper flat appearance
  11434. boundary rendering. Removed the Divider and Wrapping dividers since I
  11435. can't figure out any combination of themes and conditions to make the
  11436. MS control draw a horizontal line on a toolbar despite what the
  11437. Divider property docs indicate.
  11438. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  11439. conditions and incorrect layout. Updated to coding standard.
  11440. * ToolBarButton.cs: refactored layout and positioning code from
  11441. ToolBar to here. Invalidate wherever possible instead of forcing
  11442. redraws of the whole toolbar.
  11443. (Known remaining issues: explicit ButtonSize smaller than provided
  11444. images.)
  11445. 2006-03-21 Mike Kestner <[email protected]>
  11446. * ContextMenu.cs (Show): use the position parameter instead of just
  11447. showing at the MousePosition.
  11448. 2006-03-21 Jackson Harper <[email protected]>
  11449. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  11450. control handle this.
  11451. * TreeNodeCollection.cs: If we are clearing the root node we need
  11452. to reset top_node so calcs can still happen.
  11453. * ThemeWin32Classic.cs: This is a Flags so we need to check
  11454. properly.
  11455. 2006-03-21 Jackson Harper <[email protected]>
  11456. * DataGrid.cs: Create columns when the binding context has been
  11457. changed.
  11458. * X11Structs.cs: Keysyms are uints.
  11459. - Add size to fix build.
  11460. 2006-03-21 Peter Dennis Bartok <[email protected]>
  11461. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11462. XplatUIOSX.cs:
  11463. - Added ResetMouseHover method to allow controls to retrigger
  11464. hovering if they need it more than once
  11465. - Implemented MouseHoverTime and MouseHoverSize properties
  11466. * Timer.cs: Start() must reset the interval
  11467. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  11468. properties
  11469. 2006-03-21 Jackson Harper <[email protected]>
  11470. * X11Keyboard.cs: improved layout detection. Move the nonchar
  11471. tables into this file.
  11472. * KeyboardLayouts.cs: Move the tables into resource files.
  11473. 2006-03-21 Mike Kestner <[email protected]>
  11474. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  11475. 2006-03-21 Alexander Olk <[email protected]>
  11476. * Mime.cs: Various speed optimizations. Looking up mime types
  11477. is now 2 times faster than before
  11478. 2006-03-17 Peter Dennis Bartok <[email protected]>
  11479. * CreateParams.cs: Added internal menu field
  11480. * Control.cs:
  11481. - Switched call order for UpdateBounds; now we always call
  11482. the one that also takes ClientSize, and we're calculating the
  11483. client size via driver method in the others. The previous
  11484. method of tracking client size by difference wasn't working
  11485. for forms where even the starting client size wouldn't match
  11486. the overall form size (due to borders) (Part of fix for #77729)
  11487. - CreateParams(): Do not use parent.Handle unless the handle is
  11488. already created. Causes havoc with Nexxia and throws off our
  11489. creation of controls
  11490. * XplatUIX11.cs:
  11491. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  11492. - Switched handling of ConfigureNotify over to new PerformNCCalc
  11493. method (consolidates code)
  11494. - Changed RequestNCRecalc to use new PerformNCCalc method
  11495. - Added calls to RequestNCRecalc when menus and borders are changed
  11496. to allow app to set NC size. (Part of fix for #77729) This matches
  11497. when MS send a WM_NCRECALC on Win32 windows.
  11498. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  11499. (Part of fix for #77729). This matches what MS does, they also
  11500. send that message when the form is made visible.
  11501. - XException.GetMessage: Improved usability of X errors by including
  11502. a translation of the window into Hwnd and Control class
  11503. - Improved debug info for window creation, reparenting and destruction
  11504. - Created helper method WindowIsMapped() [Currently not used]
  11505. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  11506. * Form.cs:
  11507. - CreateParams: Now setting our menu on the new internal menu field
  11508. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  11509. avoid calculating the same property twice
  11510. * Hwnd.cs:
  11511. - Improved usability of ToString() for debugging purposes
  11512. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  11513. determine the height of the menu, instead of just the font. This
  11514. required to also create a graphics context and to keep a bmp
  11515. around (for performance reasons)
  11516. 2006-03-17 Peter Dennis Bartok <[email protected]>
  11517. * MenuAPI.cs: Added OnMouseUp method
  11518. * Form.cs:
  11519. - Now remembering the requested client size, avoids size errors
  11520. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  11521. instead of base if the menu is active. This is required due to
  11522. control now capturing and releasing on down/up and it would
  11523. prematurely release our menu capture
  11524. 2006-03-17 Jackson Harper <[email protected]>
  11525. * KeyboardLayouts.cs: Add the czech layouts.
  11526. 2006-03-16 Jackson Harper <[email protected]>
  11527. * Control.cs: Use the viewport space when sizing not the controls
  11528. client size, so things like ScrollableControl that effect the
  11529. viewport size (when scrollbars are added) are computed correctly.
  11530. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  11531. of ManagerEntrys.
  11532. - Handle creating BindingManagers for null data sources.
  11533. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  11534. source, otherwise when rows are added they are added to the 'fake'
  11535. datasource and we will crash when trying to set the position in
  11536. those rows.
  11537. - Use Implicit scrollbars on the datagrid so they arent
  11538. selectable.
  11539. 2006-03-16 Jackson Harper <[email protected]>
  11540. * Binding.cs:
  11541. * InternalWindowManager.cs:
  11542. * MdiWindowManager.cs:
  11543. * X11Keyboard.cs: I really want Mike to love me again (fix
  11544. compiler warnings).
  11545. 2006-03-16 Peter Dennis Bartok <[email protected]>
  11546. * DataGrid.cs:
  11547. - OnMouseDown: Switch to editing mode when clicking on the cell
  11548. even if we're clicking on the cell that's currently
  11549. selected
  11550. - ProcessGridKey: Left/Right now wrap like MS.Net does
  11551. - ProcessGridKey: Tab now knows to add a new row when tab is
  11552. pressed in the cell of the last column of the
  11553. last row
  11554. - ProcessGridKey: Enter now adds another row if pressed in the last
  11555. row and selectes the new row, same column cell
  11556. - ProcessGridKey: Home/End navigate columns, not rows, like
  11557. originally implemented
  11558. - Broke ProcessKeyPreview code out into an extra Internal method
  11559. so it can be called from the edit code
  11560. * DataGridTextBox.cs (ProcessKeyMessage):
  11561. - Switched to accept Tab keypresses
  11562. - Added F2 handling to allow jumping to the end of the edited cell
  11563. - Added logic to allow moving caret left/right inside edited cell
  11564. and making the edited cell jump when the caret hits cell borders
  11565. - Tab and Enter are now passed to the datagrid after being handled
  11566. * TextBoxBase.cs:
  11567. - Removed capture code now that Control handles it
  11568. - set_SelectionStart now ensures caret is visible
  11569. 2006-03-16 Jackson Harper <[email protected]>
  11570. * TrackBar.cs: Debackwards the increment/decrement for handling
  11571. mouse clicks on the bar with vertical trackbars.
  11572. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  11573. bottom to match MS.
  11574. 2006-03-16 Mike Kestner <[email protected]>
  11575. * ListView.cs: make shift/ctrl keyboard and mouse selection
  11576. consistent with the MS control. Fix a bug in
  11577. SelectedListViewItemCollection.Clear that was pissing me off for the
  11578. better part of a day because the collection was being altered
  11579. underneath us as we walked the list.
  11580. 2006-03-16 Peter Dennis Bartok <[email protected]>
  11581. * Control.cs: Not sure how we could miss this so long, but it seems
  11582. that MS.Net has Capture set all the way from before calling
  11583. OnMouseDown through sending the mouse events until after
  11584. OnMouseUp. This will fix DataGrid's selection being set to end
  11585. at the location of the MouseUp.
  11586. 2006-03-15 Jackson Harper <[email protected]>
  11587. * BindingContext.cs: Check the binding after its added so that it
  11588. can initialize the binding managers and hookup to events.
  11589. * Binding.cs: Data members seem to sometimes include rows/cols in
  11590. the format Row.Column we now take this into account.
  11591. - Hookup to the position changed event so we can update the
  11592. control when the position has changed in the data set.
  11593. * CurrencyManager.cs: Take into account the row/col naming
  11594. convention when creating dataset tables.
  11595. * BindingContext.cs: Using a newer better way of storing
  11596. datasource/datamember pairs. Hopefully this better matches MS for
  11597. looking up binding managers.
  11598. 2006-03-15 Jackson Harper <[email protected]>
  11599. * BindingContext.cs: The currency manager needs the data member
  11600. name, if the member is a data set we use the name to find the
  11601. correct table.
  11602. * CurrencyManager.cs: When creating the list prefer an IList over
  11603. an IListSource.
  11604. - Attempt to create a DataTable from a DataSet (TODO: might need
  11605. some better error checking here, although MS doesn't seem to have much)
  11606. - If we have a DataTable create a view and use it as our list.
  11607. 2006-03-15 Mike Kestner <[email protected]>
  11608. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  11609. keyboard navigation. Support Up/Down/Left/Right selection correctly
  11610. for all 4 View modes.
  11611. * ListViewItem.cs: add internal row/col fields for icon layouts.
  11612. 2006-03-15 Jackson Harper <[email protected]>
  11613. * TabControl.cs: Redraw the tabs when we resize so their newly
  11614. calculated sizes are drawn on screen.
  11615. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  11616. composite characters.
  11617. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  11618. - filter events so that composite characters can be created
  11619. patches by peter
  11620. * X11Structs.cs: Add XIMProperties enum.
  11621. 2006-03-14 Peter Dennis Bartok <[email protected]>
  11622. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  11623. unless it's created
  11624. 2006-03-14 Peter Dennis Bartok <[email protected]>
  11625. * Control.cs (PerformLayout): We don't need to consider visiblity
  11626. for anchoring, only for docking. This fixes 'whacky' alignment
  11627. in listbox and other controls that use implicit scrollbars after
  11628. the previous PerformLayout patch
  11629. * ListBox.cs: Switched to use implicit scrollbars
  11630. 2006-03-14 Mike Kestner <[email protected]>
  11631. * ToolBar.cs:
  11632. * VScrollBar.cs:
  11633. - chain up the "new event" overrides to base and use
  11634. OnEvent to raise them. Part of fix for bug #76509.
  11635. 2006-03-14 Alexander Olk <[email protected]>
  11636. * FileDialog.cs: Do not select an item in the parent directory
  11637. on backspace
  11638. 2006-03-14 Peter Dennis Bartok <[email protected]>
  11639. * Control.cs (PerformLayout): It would seem that we considered
  11640. invisible windows for our layout. Not quite the right thing
  11641. to do. Now we don't any longer, thereby fixing bug #76889.
  11642. 2006-03-14 Peter Dennis Bartok <[email protected]>
  11643. * Control.cs (CanFocus): I goofed. A control can have focus
  11644. even though it's not selectable. Made it match MS docs.
  11645. 2006-03-13 Peter Dennis Bartok <[email protected]>
  11646. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  11647. center by default (fixes #76895)
  11648. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  11649. all uses of Border3DSides.All with the explicit ORd together
  11650. Left|Right|Top|Bottom because I assume that nobody was aware
  11651. that All also implies a center fill. Most places I checked had
  11652. a fill right above.
  11653. * ProgressBarStyle.cs: Added
  11654. 2006-03-13 Mike Kestner <[email protected]>
  11655. * ListView.cs: fix breakage in drag shadow header positioning
  11656. from Peter's csc compilation fix.
  11657. 2006-03-13 Mike Kestner <[email protected]>
  11658. * ListView.cs: fix NRE produced by backspacing twice in a focused
  11659. FileDialog.
  11660. 2006-03-13 Mike Kestner <[email protected]>
  11661. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  11662. 2006-03-13 Peter Dennis Bartok <[email protected]>
  11663. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  11664. be changed
  11665. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  11666. the allowed size before making programmatic size changes
  11667. 2006-03-13 Peter Dennis Bartok <[email protected]>
  11668. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  11669. set, metacity is broken and will still use the emty sizes in
  11670. the struct. (Fix for #77089)
  11671. 2006-03-13 Peter Dennis Bartok <[email protected]>
  11672. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  11673. WindowExStyles and marked both enums as Flags
  11674. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  11675. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  11676. to match WindowStyles split
  11677. * XplatUIX11.cs:
  11678. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  11679. - Updated to match WindowStyles split
  11680. * XplatUIWin32.cs:
  11681. - Fixed FosterParent creation, was using ExStyle on the Style field
  11682. (This should help with Popup focus issues)
  11683. - Updated to match WindowStyles split
  11684. 2006-03-13 Jackson Harper <[email protected]>
  11685. * MdiWindowManager.cs: Use the system menu height. Fixes some
  11686. strange sizing issues.
  11687. 2006-03-12 Peter Dennis Bartok <[email protected]>
  11688. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  11689. * TextBoxBase.cs:
  11690. - Scroll to caret after inserting text (#77672)
  11691. - Make scroll range one pixel higher, fixes off-by-one error (and
  11692. makes underlines visible on the last line)
  11693. 2006-03-12 Peter Dennis Bartok <[email protected]>
  11694. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  11695. the keyboard state from being stuck with keys in 'pressed' state when
  11696. focus is switched away via keyboard
  11697. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  11698. reset the keyboard if no X11 KeyUp events are expected to come
  11699. * X11Structs.cs: Switched type of Visible to bool to match driver
  11700. 2006-03-12 Peter Dennis Bartok <[email protected]>
  11701. * TextControl.cs:
  11702. - Switched caret to be just 1 pixel wide, matches MS and looks less
  11703. clunky
  11704. - Moved caret display 1 pixel down from the top of the control
  11705. to improve view
  11706. - InsertCharAtCharet: Update the selection start if moving the caret
  11707. (fixes bug #77696; based on patch suggested by [email protected])
  11708. - No longer always creating the caret when the caret methods are
  11709. called. Only the actual ShowCaret/HideCaret will do that now
  11710. - Only setting caret visible if the owner control has focus
  11711. - UpdateView: Added invalidation-shortcut logic for center and right
  11712. aligned text. Previously we'd update all according to the left
  11713. logic which caused drawing errors. Also fixed height of invalidated
  11714. areas, now properly invalidating the whole area (was off-by-one)
  11715. - owner_HandleCreated: Always generate the document when the
  11716. handle is created; this ensures that
  11717. * TextBoxBase.cs:
  11718. - Fixed situation where caret would disappear under the right
  11719. window border, also improved scrolling behaviour on left-
  11720. aligned textboxes
  11721. - Fixed right-aligned textboxes to have a border to the
  11722. right instead of the caret being under the right border
  11723. * XplatUIX11.cs:
  11724. - Switched from 'nested' to simple visible/not visible tracking
  11725. for caret (part of fix for #77671)
  11726. - No longer passing through translated FocusIn/FocusOut messages
  11727. since we were notifying too often and the wrong windows. Instead
  11728. we just notify our focussed window of receiving or loosing focus
  11729. * XplatUIWin32.cs: Switched from 'nested' show/hide
  11730. counting for caret to simple visible yes/no behaviour (part of
  11731. fix for #77671)
  11732. 2006-03-11 Alexander Olk <[email protected]>
  11733. * Mime.cs: Remove debug code...
  11734. 2006-03-11 Alexander Olk <[email protected]>
  11735. * MimeGenerated.cs: Removed
  11736. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  11737. and subclasses) from /usr/(local/)share/mime and
  11738. $HOME/.local/share/mime.
  11739. 2006-03-10 Jackson Harper <[email protected]>
  11740. * MdiWindowManager.cs: Recalc the NC area when a window is
  11741. maximized/restored so that the menu area is drawn on forms that
  11742. don't have a menu.
  11743. 2006-03-10 Peter Dennis Bartok <[email protected]>
  11744. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  11745. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  11746. us to force a WM_NCCALCRESIZE message being sent. This is needed
  11747. for MDI maximizing.
  11748. 2006-03-10 Jackson Harper <[email protected]>
  11749. * Form.cs: We need to use the ActiveMenu when calculating menu
  11750. height.
  11751. - Fix nullref when the window manager hasn't been created yet.
  11752. * Control.cs: Fix nullref when we try to bring a control to the
  11753. front that has no parent.
  11754. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  11755. height.
  11756. - Add a dummy item to the maximized menu so it always has the
  11757. correct height. Otherwise when there are no menus we don't get our
  11758. icon and buttons.
  11759. 2006-03-10 Jackson Harper <[email protected]>
  11760. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  11761. stuff.
  11762. * Form.cs: Make the window_state internal so the window managers
  11763. can track it.
  11764. - When an MDI child is maximized let its window manager create the
  11765. main menu (so it can add its icon).
  11766. - Notify the window managers of state changes
  11767. - Let the window manager paint its buttons and handle button
  11768. clicks on the menu when it is maximized.
  11769. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  11770. window manager, since tool windows don't use it, only mdi windows.
  11771. - Tell the main form that we don't want it to handle NCPAINT
  11772. itself to avoid extra painting.
  11773. - Handle clicks on a maximized windows menu.
  11774. - Handle window state changes
  11775. - Handle minimize/maximize clicks correctly by setting the window state.
  11776. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  11777. when clicking on the forms icon).
  11778. - New method to create a forms maximized menu. This is its normal
  11779. menu + an icon.
  11780. - Handle window state changes.
  11781. - Handle sizing of maximized windows. Maximized windows are just
  11782. drawn bigger then the parent visible area. All controls are still
  11783. there, they are just outside the visible area (this matches windows).
  11784. * MdiClient.cs: No scrollbars when a child window is maximized.
  11785. - Let the children windows figure out how big they should be when
  11786. sizing maximized windows.
  11787. - Implement a version of ArrangeIconicWindows somewhat similar to
  11788. Windows version. There are some little differences, but I don't
  11789. think any app will rely on the layout of minimized mdi windows.
  11790. 2006-03-10 Peter Dennis Bartok <[email protected]>
  11791. * Padding.cs: Several fixes to allow compiling with csc 2.0
  11792. 2006-03-09 Jackson Harper <[email protected]>
  11793. * Menu.cs:
  11794. * MenuItem.cs: Cheap hack so we can add items to the list without
  11795. the events being raised. This allows adding mdi items during
  11796. drawing. TODO: Should probably find a better time to add the items.
  11797. 2006-03-10 Peter Dennis Bartok <[email protected]>
  11798. * ThemeWin32Classic.cs:
  11799. - CheckBox_DrawText: Added logic to not wrap if not enough space
  11800. is available (Fix for bug #77727)
  11801. - RadioButton_DrawText: Added logic not to wrap if not enough
  11802. space is available (Fix for bug #77727). Also removed some
  11803. duplicate code, DrawString always drawing the regular text
  11804. before hitting the if statement.
  11805. 2006-03-10 Peter Dennis Bartok <[email protected]>
  11806. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  11807. 2006-03-10 Peter Dennis Bartok <[email protected]>
  11808. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  11809. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  11810. methods. Moved the new 2.0 properties into alphabetical order with
  11811. other properties and added MonoTODO tags
  11812. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11813. * AutoScaleMode.cs: Added. Fix build.
  11814. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11815. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11816. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  11817. and was requiring premature handle creation for calls from above
  11818. * Form.cs, Control.cs: Removed handle arguments from calls to
  11819. CalculateClientRect()
  11820. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11821. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  11822. drag_column.column_rect is MarshalByRef and can't be used that way
  11823. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11824. * AxHost.cs: Added deserialization constructor for
  11825. AxHost+State (fixes 77743)
  11826. 2006-03-09 Mike Kestner <[email protected]>
  11827. * ListView.cs:
  11828. - Added column drag reordering for details view.
  11829. - fixed behavior when mouse is dragged off column and
  11830. AllowColumnReorder is false.
  11831. * ColumnHeader.cs: clone the format too in Clone.
  11832. * Theme.cs: add DrawListViewHeaderDragDetails method.
  11833. * ThemeWin32Classic.cs:
  11834. - impl new method for drawing drag column shadows and targets.
  11835. - support column offset for details mode in DrawListViewItem.
  11836. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11837. * TextControl.cs: Reset the char_count when the document is cleared
  11838. (Fixes bug reported on mono-winforms mailing list)
  11839. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11840. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  11841. of calling base we simply process the key ourselves, since both
  11842. DefWindowProc and the handled method would set m.Result.
  11843. (Fixes #77732)
  11844. 2006-03-09 Peter Dennis Bartok <[email protected]>
  11845. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  11846. method also moves the window; instead implemented a copy of
  11847. Control.ScaleCore (Part of fix for #77456)
  11848. * TextBoxBase.cs:
  11849. - Created new CreateGraphicsInternal method to allow providing
  11850. a graphics context when no handle is created without triggering
  11851. handle creation. (Part of fix for #77456)
  11852. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  11853. * TextControl.cs:
  11854. - Switched Constructor to require TextBoxBase instead of Control (to
  11855. allow uncast access to CreateGraphicsInternal)
  11856. - Safeguarded use of owner.Handle property. No longer accessing it
  11857. unless the handle is already created.
  11858. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  11859. - Now triggering a recalc when owning control becomes visible
  11860. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  11861. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  11862. premature handle creation (Part of fix for #77456)
  11863. * Control.cs:
  11864. - We now only destroy our double-buffering buffers when the
  11865. control is resized or disposed, but not when visibility
  11866. changes. (The code even re-created them twice every time)
  11867. - Now requiring a redraw of the buffer on visibility changes
  11868. (fixes bug 77654 part 2)
  11869. - Not passing OnParentVisibleChanged up unless the control
  11870. is visible
  11871. - CanFocus: Fixed to match MS documentation
  11872. - Focus: Fixed to return actual focus state and to check if
  11873. setting focus is legal before setting it
  11874. 2006-03-08 Peter Dennis Bartok <[email protected]>
  11875. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  11876. when to draw focus rectangle by looking at parent focus and
  11877. selected state instead. This fixes TabPages on Linux sometimes
  11878. having none or multiple focus rectangles.
  11879. * XplatUIX11.cs (SetFocus):
  11880. - Don't set the focus if the same window already has focus
  11881. - Use SendMessage instead of PostMessage (like it's Win32
  11882. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  11883. to match MS behaviour
  11884. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  11885. are not selectable.
  11886. 2006-03-07 Jackson Harper <[email protected]>
  11887. * PictureBox.cs: Revert line I accidently committed last week.
  11888. 2006-03-07 Peter Dennis Bartok <[email protected]>
  11889. * Control.cs:
  11890. - Added new IsRecreating and ParentIsRecreating properties to
  11891. allow testing if RecreateHandle has been called on ourselves
  11892. or one of our parents
  11893. - WndProc(WM_DESTROY): If our control handle is being recreated
  11894. we immediately need to create the handle when receiving the
  11895. destroy, that way our child windows find a valid parent handle
  11896. when they themselves are being recreated upon WM_DESTROY receipt
  11897. (fix for bug #77654 part 1)
  11898. * XplatUIX11.cs:
  11899. - DestroyWindow: WM_DESTROY must be sent to our own window before
  11900. notifying any child windows. MS documents that child windows
  11901. are still valid when WM_DESTROY is received. (Control now relies on
  11902. this behaviour)
  11903. - Added some fine-grain debug options
  11904. 2006-03-06 Jackson Harper <[email protected]>
  11905. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  11906. box and base calculations off this.
  11907. * MdiChildContext.cs:
  11908. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  11909. anymore.
  11910. 2006-03-06 Peter Dennis Bartok <[email protected]>
  11911. * Splitter.cs: In situations where the affected control is added
  11912. to the parent's control list after the splitter, we would not
  11913. populate affected. Now we try populating it on mousedown, if
  11914. it's not already set, and force it to be re-set whenever our
  11915. parent changes.
  11916. 2006-03-03 Matt Hargett <[email protected]>
  11917. * Control.cs: implement Control.Padding
  11918. * Padding.cs: -Padding.All returns -1 when constructing with the
  11919. implicit default ctor
  11920. -Padding.ToString() matches MS.NET
  11921. * ContainerControl.cs: implement
  11922. ContainerControl.AutoScaleDimensions
  11923. * ListControl.cs: implement ListControl.FormattingEnabled
  11924. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  11925. * ButtonBase.cs:
  11926. * TabPage.cs: Implement UseVisualStyleBackColor.
  11927. * PictureBox.cs: Implement PictureBox.InitialImage.
  11928. 2006-03-03 Mike Kestner <[email protected]>
  11929. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  11930. event declarations to proxy to base event.
  11931. * ListViewItem.cs: update to use ItemControl.
  11932. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  11933. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  11934. column header label rendering for 0 width columns.
  11935. 2006-03-03 Peter Dennis Bartok <[email protected]>
  11936. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  11937. that causes the control to be created. Fixes #77476.
  11938. 2006-03-02 Jackson Harper <[email protected]>
  11939. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  11940. expose_pending.
  11941. 2006-03-02 Peter Dennis Bartok <[email protected]>
  11942. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  11943. passed in for the EventArgs (fixes #77690)
  11944. 2006-03-01 Jackson Harper <[email protected]>
  11945. * ScrollBar.cs: Refresh afterbeing resized.
  11946. 2006-02-28 Mike Kestner <[email protected]>
  11947. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  11948. Clean up a tracker compile warning.
  11949. * MenuItem.cs: add internal PerformPopup method.
  11950. [Fixes #77457]
  11951. 2006-02-28 Peter Dennis Bartok <[email protected]>
  11952. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  11953. implicit expose) when the text is set to null
  11954. 2006-02-28 Peter Dennis Bartok <[email protected]>
  11955. * RichTextBox.cs (FlushText): When newline is true, we always
  11956. need to split the line, even if no text is on it and we may
  11957. never eat newlines. (Fixes #77669)
  11958. 2006-02-28 Mike Kestner <[email protected]>
  11959. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  11960. and set Selected instead.
  11961. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  11962. collections.
  11963. 2006-02-28 Peter Dennis Bartok <[email protected]>
  11964. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  11965. 2006-02-28 Alexander Olk <[email protected]>
  11966. * FontDialog.cs:
  11967. - Got rid of the panel. All controls are now directly added to
  11968. the dialog form
  11969. - It is now possible to set a font with the Font property
  11970. - MinSize and MaxSize property do now what they should
  11971. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  11972. - Searching and selecting a font with the font textbox works now,
  11973. the same applies to the style and size textbox
  11974. - Draw the correct 3D border in the example panel
  11975. - Fixed a little mem leak (unused fonts didn't get disposed)
  11976. - Many other internal updates/rewrites...
  11977. - Fix typo
  11978. 2006-02-27 Peter Dennis Bartok <[email protected]>
  11979. * TextControl.cs:
  11980. - InsertRTFFromStream: Added 'number of characters inserted' argument
  11981. - set_SelectedRTF: Now using the number of characters to calculate
  11982. the new location for the selection and cursor (x/y cannot be used
  11983. due to potentially already wrapped text)
  11984. 2006-02-27 Peter Dennis Bartok <[email protected]>
  11985. * TextControl.cs: Added property and implemented means to allow
  11986. disabling recalculation of a document (can be used to speed up
  11987. multiple inserts and is needed to make RTF inserts predictable, see
  11988. bug #77659)
  11989. * RichTextBox.cs: Using the new NoRecalc property of Document to
  11990. keep x/y insert locations predictable. Also makes it faster inserting
  11991. large chunks of RTF
  11992. 2006-02-27 Peter Dennis Bartok <[email protected]>
  11993. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  11994. it's easier for a child control to handle the other messages without
  11995. having to duplicate the special functionality
  11996. * TextBoxBase.cs
  11997. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  11998. code to handle processing the key ourselves, in order to get
  11999. access to the result of KeyEventArgs.Handled. We now only call
  12000. ProcessKey if they key hasn't been handled already. Fixes #77526.
  12001. - set_Text: If null or empty string is given, just clear the
  12002. document. Fixes part of #77526
  12003. 2006-02-27 Jackson Harper <[email protected]>
  12004. * SizeGrip.cs: Paint the background color before painting the grip
  12005. so things look right.
  12006. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  12007. 2006-02-27 Mike Kestner <[email protected]>
  12008. * ListView.cs:
  12009. - Restructure layout and invalidation model to remove a ton of
  12010. flicker from the control and speed up performance in general.
  12011. - Add manual column resize, flickers like crazy, but I already have
  12012. some ideas on how I'll fix that. (#76822)
  12013. - Merge the three Icon-based views into a single layout method.
  12014. - Move item selection interaction logic from the item since
  12015. interaction with the collections is more appropriate to the view.
  12016. - Deselection on non-item clicks.
  12017. * ListViewItem.cs:
  12018. - Encapsulate most of the layout. Add some internal props to trigger
  12019. layout. Move to a model where Items invalidate themselves instead
  12020. of just invalidating the whole control every time something changes.
  12021. - Invalidate on Text/Caption changes.
  12022. - switch to an offset based layout model to avoid having to absolute
  12023. position every element on item moves.
  12024. - correct checkbox layout to conform to MS layout.
  12025. * ThemeWin32Classic.cs:
  12026. - refactor some column header drawing code.
  12027. - fix string justification for column headers (#76821)
  12028. - make SmallIcon labels top justified for compat with MS impl.
  12029. * ThemeClearlooks.cs:
  12030. - adjust to new ListViewItem internal checkbox bounds api.
  12031. 2006-02-27 Jackson Harper <[email protected]>
  12032. * Control.cs: Change where implicit controls fall in the zorder.
  12033. They are now on top of all children.
  12034. - Synced AddImplicit code with Add
  12035. - Removed unused enumerator.
  12036. * SizeGrip.cs: Remove the TODO as its been TODONE.
  12037. 2006-02-26 Peter Dennis Bartok <[email protected]>
  12038. * TextControl.cs(Insert): Combine the last lines unless the insertion
  12039. string ends with \n\n, otherwise we leave one line too many (Fixes
  12040. something I noticed with the testapp for #77526; the bug itself was
  12041. already fixed in the previous checkin)
  12042. 2006-02-26 Peter Dennis Bartok <[email protected]>
  12043. * RichTextBox.cs:
  12044. - SelectionColor and SelectionFont methods no longer set absolute
  12045. styles. Instead, the keep font or color respectively (This
  12046. resolves a long-standing FIXME in the code)
  12047. - When flushing RTF text, the insert code now considers text trailing
  12048. behind the insertion point (Fixes the bug where when replacing
  12049. the selected text via SelectedRTF the remainder of the line behind
  12050. the selection would stay on the first insertion line)
  12051. * TextBoxBase.cs:
  12052. - AppendText now updates the selection points after inserting text
  12053. - AppendText now ensures that the last tag (sometimes 0-length) of
  12054. the document is used for the style information (Fixes part of
  12055. bug #77220)
  12056. * TextControl.cs:
  12057. - Created new FontDefiniton class to allow describing partial style
  12058. changes
  12059. - StreamLine() now takes a lines argument, to allow it to decide
  12060. whether an encountered zero-length tag is the last in the document
  12061. (which must be kept to not loose the font/color contained in it,
  12062. for later appends)
  12063. - Created Combine() and Split() methods for Marker structs, to
  12064. support marker updates due to reformatted documents (soft line
  12065. wraps)
  12066. - Implemented Document.CaretTag setter
  12067. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  12068. of the last line (Not the cause, but also exposed by bug #77220)
  12069. - Added LineTag argument to InsertString method, to allow callers
  12070. to force a certain tag to be used (required to force use of the
  12071. trailing zero-length tag of a document)
  12072. - Now updating markers in Combine(), to avoid stale tag markers
  12073. - Added some method descriptions to aid maintenance
  12074. - Implemented new FormatText concept, allowing additive/subtractive
  12075. formatting by only specifying the components that are to be
  12076. changed. This was needed for resolving the RTB.SelectedColor/
  12077. RTB.SelectedFont fixmes
  12078. - Added Break() support method to allow breaking up linetags (used
  12079. for partial formatting)
  12080. - Added GenerateTextFormat() method. It is used for partial
  12081. formatting and allows to generate a full font/color from given
  12082. attributes and an existing tag.
  12083. 2006-02-26 Jackson Harper <[email protected]>
  12084. * XplatUIX11.cs: Use the correct caption height.
  12085. - Translate hittest coordinates to screen coords to match MS.
  12086. * XplatUIWin32.cs: When we create MDI windows we need to reset
  12087. some of the style flags, so we get a nice blank window, and can
  12088. draw all the decorations ourselves.
  12089. - Set a clipping rectangle on the non client paint event, the
  12090. window manager drawing code needs one.
  12091. * Form.cs: The window manager needs to know when the window state
  12092. has been updated.
  12093. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  12094. don't need to factor in border and title sizes in these
  12095. methods. TODO: Remove the args and fix the call points.
  12096. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  12097. properly.
  12098. - Let the driver set the cursors.
  12099. - Improve active window handling
  12100. - Correct sizes for title bars and buttons.
  12101. - Match MS drawing better
  12102. * MdiWindowManager.cs: We don't need to handle border style
  12103. updates specially anymore.
  12104. - Check for scrollbars when windows are done moving
  12105. - Handle Active properly.
  12106. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  12107. correctly. I am spewing the exception though, so we don't hide the
  12108. bugs.
  12109. 2006-02-26 Pedro Martinez Julia <[email protected]>
  12110. * DataGridViewRowPostPaintEventArgs.cs,
  12111. DataGridViewCellPaintingEventArgs.cs,
  12112. DataGridViewRowCollection.cs,
  12113. DataGridViewRowPrePaintEventArgs.cs,
  12114. DataGridViewCell.cs: Clear a few warnings and implement a few
  12115. exceptions that should be thrown.
  12116. 2006-02-22 Peter Dennis Bartok <[email protected]>
  12117. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  12118. 'inheriting' our parent's (non-default) cursor. (Part of
  12119. the fix for #77479)
  12120. 2006-02-22 Peter Dennis Bartok <[email protected]>
  12121. * XplatUIX11.cs: Fixed cast to make csc happy
  12122. 2006-02-22 Peter Dennis Bartok <[email protected]>
  12123. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  12124. it's for the client area (part of fix for #77479 and needed
  12125. for MDI window cursor handling)
  12126. * XplatUIX11.cs
  12127. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  12128. the appropriate default cursors and also passing the message
  12129. up the parent chain
  12130. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  12131. for non-client areas
  12132. 2006-02-15 Jackson Harper <[email protected]>
  12133. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  12134. is a real MDI window
  12135. 2006-02-14 Alexander Olk <[email protected]>
  12136. * X11DesktopColors.cs: Instead of checking the desktop session
  12137. string for "KDE" check if it starts with "KDE"
  12138. 2006-02-10 Jackson Harper <[email protected]>
  12139. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  12140. systems).
  12141. 2006-02-10 Alexander Olk <[email protected]>
  12142. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  12143. errors
  12144. * ColorDialog.cs:
  12145. - Got rid of the panel. All controls are now directly added to
  12146. the dialog form
  12147. - Changed to mono coding style
  12148. 2006-02-10 Jackson Harper <[email protected]>
  12149. * InternalWindowManager.cs: We don't need the set visibility to
  12150. false hack anymore now that peter has written beautiful shutdown
  12151. code.
  12152. 2006-02-10 Peter Dennis Bartok <[email protected]>
  12153. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  12154. where already explicitly destroyed
  12155. 2006-02-10 Jackson Harper <[email protected]>
  12156. * MdiClient.cs: Handle the case where windows are too high or to
  12157. the left and we need scrollbars.
  12158. 2006-02-10 Alexander Olk <[email protected]>
  12159. * MimeIcon.cs: Added some icons
  12160. * FileDialog.cs:
  12161. - Fixed bug #77477
  12162. - Got rid of the panel. All controls are now directly added to
  12163. the dialog form
  12164. - Changed to mono coding style
  12165. - On Linux "My Computer" and "My Network" will now show some
  12166. more usefull information. A new class, MasterMount, gathers
  12167. this information from /proc/mount. Updated MWFFileView to make
  12168. use of this information
  12169. - Fixed a bug that caused FileDialog to crash when
  12170. ".recently_used" file had a zero size
  12171. - FilterIndex does now what it should
  12172. - Some Refactoring
  12173. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  12174. FileDialog changes
  12175. 2006-02-09 Jackson Harper <[email protected]>
  12176. * ComboBox.cs: Don't touch if null.
  12177. 2006-02-09 Peter Dennis Bartok <[email protected]>
  12178. * Cursor.cs: 64bit safeness fix
  12179. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  12180. 2006-02-09 Jackson Harper <[email protected]>
  12181. * Form.cs: If a form is made into an MDI form update the styles so
  12182. all the props can get set correctly.
  12183. - Kill the mdi_container when we dont need it anymore.
  12184. * InternalWindowManager.cs: Add missing NOT
  12185. 2006-02-08 Jackson Harper <[email protected]>
  12186. * InternalWindowManager.cs: Respek clipping when drawing MDi
  12187. decorations.
  12188. 2006-02-08 Jackson Harper <[email protected]>
  12189. * Hwnd.cs: Add bits to track non client expose events.
  12190. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  12191. gives us a proper invalid rect and will allow for some nice
  12192. optimizations with NC client drawing
  12193. - MDI windows are children windows, so move their style handling
  12194. into the child window block.
  12195. * InternalWindowManager.cs: Remove a state reset that was
  12196. getting invoked at the wrong time. Fixes managed windows getting
  12197. into a 'stuck' captured state.
  12198. 2006-02-07 Peter Dennis Bartok <[email protected]>
  12199. * TextControl.cs (Document.ctor): Now initializing
  12200. selection_anchor. Fixes #77493
  12201. 2006-02-07 Jackson Harper <[email protected]>
  12202. * TrackBar.cs: The increment/decrements were backwards.
  12203. 2006-02-07 Mike Kestner <[email protected]>
  12204. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  12205. to the instance itself.
  12206. 2006-02-07 Peter Dennis Bartok <[email protected]>
  12207. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  12208. on ulongs and pointers, the size differs between 32bit and 64bit
  12209. systems.
  12210. 2006-02-07 Mike Kestner <[email protected]>
  12211. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  12212. for 64 bit platforms to work around a metacity bug.
  12213. 2006-02-07 Jackson Harper <[email protected]>
  12214. * TrackBar.cs: Process the input keys we need, and hookup to
  12215. KeyDown instead of using WndProc, so we get key messages.
  12216. 2006-02-06 Peter Dennis Bartok <[email protected]>
  12217. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  12218. machine we're on.
  12219. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  12220. we need to translate the XdndVersion atoms array before sending it
  12221. 2006-02-06 Peter Dennis Bartok <[email protected]>
  12222. * XplatUIX11.cs:
  12223. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  12224. number of bits for the property, not the number of bytes. The
  12225. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  12226. but would not crash since it specified 8 bits instead of 4 bits)
  12227. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  12228. defined as XID -> long in the C headers)
  12229. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  12230. references since those are now IntPtr to begin with
  12231. - Switched all Atom.XXX 'int' casts to IntPtr casts
  12232. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  12233. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  12234. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  12235. * X11Structs.cs:
  12236. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  12237. - Changed atom in HoverStruct to be IntPtr
  12238. * X11DnD.cs:
  12239. - Removed local DllImports, switched code to use those from XplatUIX11
  12240. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  12241. 2006-02-06 Mike Kestner <[email protected]>
  12242. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  12243. method signatures in the import region. There may still be some
  12244. lingering struct marshaling issues, as I didn't drill down into those.
  12245. Yet.
  12246. 2006-02-06 Jackson Harper <[email protected]>
  12247. * ComboBox.cs: Dont manually set the top_item, this is computed
  12248. when the scrollbar position is set.
  12249. 2006-02-06 Mike Kestner <[email protected]>
  12250. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  12251. startup crashes on amd64. There's other fixes needed. All pinvoke
  12252. usage of Atom needs to be mapped to IntPtr for example. And there are
  12253. likely other int/long issues to be addressed.
  12254. 2006-02-04 Alexander Olk <[email protected]>
  12255. * FileDialog.cs: One more...
  12256. 2006-02-03 Alexander Olk <[email protected]>
  12257. * FileDialog.cs: Next try
  12258. 2006-02-03 Alexander Olk <[email protected]>
  12259. * FileDialog.cs: First part of fix for #77464
  12260. 2006-02-03 Alexander Olk <[email protected]>
  12261. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  12262. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  12263. AcceptButton border drawing.
  12264. 2006-02-03 Peter Dennis Bartok <[email protected]>
  12265. * Form.cs: Moved positioning of form after auto scaling is applied,
  12266. otherwise it would possibly use wrong form size.
  12267. 2006-02-03 Peter Dennis Bartok <[email protected]>
  12268. * Control.cs (RecreateHandle): No need to re-create any child
  12269. controls, the child windows will get destroyed automatically by
  12270. the windowing system or driver, and re-created when the handle
  12271. is being accessed the first time. Fixes #77456
  12272. * Form.cs: No longer setting the form to closing if the handle is
  12273. being recreated. This seems like the right thing to do, don't
  12274. have a bug or testcase for this, though.
  12275. 2006-02-02 Peter Dennis Bartok <[email protected]>
  12276. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  12277. controls to avoid unwanted side effects
  12278. 2006-02-02 Peter Dennis Bartok <[email protected]>
  12279. * Control.cs:
  12280. - ScaleCore needs to scale the bounds, not the ClientSize of the
  12281. control. Fixes #77416.
  12282. - DefaultSize is 0,0 for control
  12283. * TextBoxBase.cs:
  12284. - DefaultSize is 100, 20
  12285. - SetBoundsCore: Now enforcing the height, no matter if the provided
  12286. height is more or less than the preferred one, as long as AutoSize
  12287. is on
  12288. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  12289. 2006-02-02 Peter Dennis Bartok <[email protected]>
  12290. * Control.cs:
  12291. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  12292. call unless both performLayout is true *and* we have a pending
  12293. layout change
  12294. - ResumeLayout: MS does not completely nest Suspend and Resume,
  12295. they bottom out at 0, fixed our code to match that.
  12296. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  12297. SetBoundsCore, we were updating even when we shouldn't. This fixes
  12298. swf-anchors mis-anchoring when resizing the app fast and lots.
  12299. - UpdateDistances: Now only setting the left and top distance if
  12300. we have a parent and are not suspended, this is based on
  12301. a suggestion by Don Edvaldson in bug #77355.
  12302. - OnVisibleChanged: Fixed logic when to create the control. We may
  12303. not create the control if we have no parent or if it's not visible;
  12304. switched to using Visible property instead of is_visible field
  12305. since the property also considers parent states. This fixes a bug
  12306. when starting Paint.Net
  12307. 2006-02-02 Jackson Harper <[email protected]>
  12308. * Form.cs: If the forms handle hasn't been created yet don't call
  12309. into xplatui to make it top most, just set the topmost flag on the
  12310. form in CreateParams
  12311. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  12312. 2006-02-01 Jackson Harper <[email protected]>
  12313. * ScrollableControl.cs: Refactored the Recalculate method a
  12314. little, this wasn't handling all the variants of bottom and right
  12315. bars needed to be added and added/removed based on their
  12316. counterparts being added/removed (which changes the drawable
  12317. size). Also we special case client widths and heights of 0 and
  12318. don't add the scrollbar for those.
  12319. 2006-02-01 Peter Dennis Bartok <[email protected]>
  12320. * XplatUIX11.cs:
  12321. - Added method to get AbsoluteGeometry(); currently unused, but might
  12322. be used in the future, if we try again to figure out toplevel
  12323. coordinates with some more crappy window managers
  12324. - Added FrameExtents() method to retrieve the WM set decoration size
  12325. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  12326. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  12327. * Hwnd.cs:
  12328. - Added whacky_wm tracking var for metacity
  12329. - Added logic to have default menu height if the actual menu height
  12330. has not yet been calculated (part of fix for #77426)
  12331. * Form.cs: Keep track whether client size has been set and re-set
  12332. it if a menu is added/removed afterwards (Fixes #77426)
  12333. 2006-01-31 Jackson Harper <[email protected]>
  12334. * Control.cs: When a new Site is set on the component attempt to
  12335. pull the AmbientProperties from it.
  12336. 2006-01-31 Peter Dennis Bartok <[email protected]>
  12337. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  12338. in the background of the owning form. Fixes #77332
  12339. 2006-01-31 Alexander Olk <[email protected]>
  12340. * MimeIcon.cs: Fix for #77409
  12341. 2006-01-31 Alexander Olk <[email protected]>
  12342. * XplatUIX11GTK.cs: Initial import
  12343. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  12344. * FixedSizeTextBox: fixes class signature
  12345. 2006-01-30 Jackson Harper <[email protected]>
  12346. * FixedSizeTextBox.cs: New internal class that represents a
  12347. textBox that will not be scaled.
  12348. * TreeView.cs:
  12349. * ComboBox.cs:
  12350. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  12351. standard TextBox.
  12352. 2006-01-30 Peter Dennis Bartok <[email protected]>
  12353. * XplatUIX11.cs: Retrieve default screen number instead of
  12354. assuming 0. Attempted fix for #77318
  12355. 2006-01-30 Peter Dennis Bartok <[email protected]>
  12356. * XplatUIWin32.cs:
  12357. - GetWindowPos: When a window is parented by FosterParent, use
  12358. the desktop instead of FosterParent as the base to get coordinates
  12359. - CreateWindow: Don't make FosterParent the parent window for Popups
  12360. if we don't want a taskbar entry, Popups automatically don't get one
  12361. * Hwnd.cs: Need to call remove to actually remove the key from the
  12362. hash table
  12363. 2006-01-30 Mike Kestner <[email protected]>
  12364. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  12365. 2006-01-30 Jackson Harper <[email protected]>
  12366. * TreeView.cs:
  12367. * TreeNode.cs: Raise events no matter how the treenode is
  12368. checked. Patch by Don Edvalson.
  12369. 2006-01-30 Jackson Harper <[email protected]>
  12370. * TreeNode.cs: Signature fix.
  12371. 2006-01-29 Alexander Olk <[email protected]>
  12372. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  12373. 2006-01-20 Mike Kestner <[email protected]>
  12374. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  12375. event forwarding when menus are active.
  12376. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  12377. Most of the patch is pdb's with a little rework.
  12378. 2006-01-26 Peter Dennis Bartok <[email protected]>
  12379. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  12380. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  12381. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  12382. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  12383. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  12384. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  12385. the PaintWindowDecorations method
  12386. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  12387. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  12388. * MenuAPI.cs: Made tracker window invisible
  12389. * XplatUIWin32.cs:
  12390. - Removed GetMenuDC and ReleaseMenuDC methods
  12391. - Implemented the client=false path for PaintEventStart and
  12392. PaintEventEnd
  12393. 2006-01-26 Peter Dennis Bartok <[email protected]>
  12394. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  12395. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  12396. styles
  12397. * Form.cs:
  12398. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  12399. the style
  12400. - CreateParams: Reworked the styles to match MS look'n'feel,
  12401. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  12402. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  12403. 2006-01-26 Peter Dennis Bartok <[email protected]>
  12404. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  12405. window is not mapped, since otherwise every form that's being
  12406. created is considered minimized, which is wrong.
  12407. * Form.cs: Catching the exception and returning our internal value
  12408. instead
  12409. 2006-01-26 Peter Dennis Bartok <[email protected]>
  12410. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  12411. SetWindowMinMax() to have means to tell the driver about the minimum,
  12412. maximum and maximized state window sizes. (Part of the fix for #76485)
  12413. * Form.cs:
  12414. - Implemented tracking of minimum and maximum window size, now calling
  12415. new SetWindowMinMax() driver method to tell the driver (Part of the
  12416. fix for #76485)
  12417. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  12418. (Completes fix for #76485)
  12419. - Calling new SetWindowMinMax driver method when the handle for a
  12420. form is created, to make sure the driver knows about it even if
  12421. the values have been set before the window was created
  12422. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  12423. to avoid messing up our anchoring calculations (partial fix
  12424. for #77355)
  12425. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  12426. * XplatUIX11.cs:
  12427. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  12428. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  12429. (and presumably other freedesktop.org compliant WMs). Left the
  12430. assumption unmapped=minimized, needed for SetVisible to work.
  12431. - Now setting the window state when creating windows
  12432. - Fixed SetVisible to consider/set the window state when mapping
  12433. a Form. We cannot set the state before it's mapped, and we cannot
  12434. use Form.WindowState once it's mapped (since it would ask the
  12435. driver and get 'normal'. Therefore, we grab the state before
  12436. mapping, map, and then set state.
  12437. - Implmemented SetWindowMinMax method; Metacity does not seem to
  12438. honor the ZoomHints, though.
  12439. * XplatUIWin32.cs:
  12440. - Removed MINMAXINFO (moved to XplatUIStructs)
  12441. - Added SetWindowMinMax stub (on Win32 the only way to set that
  12442. information is in response to the WM_GETMINMAXINFO message, which
  12443. is handled in Form.cs)
  12444. - Added logic to SetVisible to set the proper window state when a
  12445. form is made visible (fixes #75720)
  12446. 2006-01-26 Jackson Harper <[email protected]>
  12447. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  12448. same way we handle them with Invoke.
  12449. 2006-01-25 Peter Dennis Bartok <[email protected]>
  12450. * Form.cs:
  12451. - Added tracking of window state so CreateParams can return
  12452. the appropriate style
  12453. - Moved setting of WS_CAPTION style in CreateParams to allow
  12454. styles without caption
  12455. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  12456. control if the TextBox property is accessed. Fixes #77345
  12457. * Control.cs:
  12458. - get_Created: now uses is_disposed and is_created to determine
  12459. return value (suggested by Jackson)
  12460. - CreateHandle: No longer exits if the handle is being recreated
  12461. - RecreateHandle: If the handle is not yet created call the
  12462. appropriate method to create either control or handle. If the
  12463. control is already created CreateHandle will simply exit instead
  12464. of just creating the handle
  12465. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  12466. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  12467. is called.
  12468. * XplatUIX11.cs:
  12469. - When DestroyWindow is called, instead of waiting for the
  12470. DestroyNotification from X11, we directly post it to the WndProc
  12471. and immediately dispose the hwnd object.
  12472. Same applies to DestroyChildWindows, and this obsoletes the
  12473. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  12474. child windows before our own, to avoid X11 errors.
  12475. - Removed the direct sending of WM_PAINT on UpdateWindow
  12476. * XplatUIWin32.cs:
  12477. - Reworked DoEvents and GetMessage to allow access to internal queue
  12478. even when trying non-blocking access to the queue. Fixes #77335.
  12479. Based on a patch suggestion by Don Edvalson. The new private
  12480. GetMessage can now also be used as a backend for a PeekMessage
  12481. frontend version.
  12482. * XplatUI.cs: Improved debug output for CreateWindow
  12483. 2006-01-25 Jackson Harper <[email protected]>
  12484. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  12485. 2006-01-24 Jackson Harper <[email protected]>
  12486. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  12487. when we have a MaxDropItems lower then the selected index.
  12488. 2006-01-24 Jackson Harper <[email protected]>
  12489. * Control.cs: Don't allow selection of non visible controls, allow
  12490. selection of controls without parents.
  12491. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  12492. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  12493. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  12494. 2006-01-23 Jackson Harper <[email protected]>
  12495. * UpDownBase.cs: Make the textbox handle all the selection and
  12496. tabbing. This fixes tabing to updown controls.
  12497. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  12498. * TextBoxBase.cs: fixes exception thown the object was null
  12499. 2006-01-23 Jackson Harper <[email protected]>
  12500. * ButtonBase.cs: Just use the base CreateParams. They set
  12501. visibility and enabled correctly.
  12502. * ComboBox.cs:
  12503. * TrackBar.cs:
  12504. * MonthCalendar.cs: Lets let the base set as much of the
  12505. createparams as possible so we don't have duplicate code all over
  12506. the place.
  12507. 2006-01-22 Alexander Olk <[email protected]>
  12508. * ThemeGtk.cs: Added TrackBar and some experimental code to
  12509. get double buffering back
  12510. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  12511. * DataGrid.cs: Allows row number set internally higher than the last
  12512. when creating a new row. Restores the editing functionality.
  12513. 2006-01-20 Mike Kestner <[email protected]>
  12514. * MimeIcon.cs: delay Image creation until the icons are accessed
  12515. instead of creating 190 scaled images on GnomeHandler startup.
  12516. 2006-01-19 Peter Dennis Bartok <[email protected]>
  12517. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  12518. first call base before processing the event. Fixes #77279
  12519. 2006-01-19 Peter Dennis Bartok <[email protected]>
  12520. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  12521. that the stride for the GDI bitmap would match the stride of
  12522. a DIB or a Cursor.
  12523. 2006-01-19 Alexander Olk <[email protected]>
  12524. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  12525. 2006-01-19 Jackson Harper <[email protected]>
  12526. * ComboBox.cs: Hookup the text controls keydown event so we get
  12527. those when the text control has the focus.
  12528. 2006-01-18 Peter Dennis Bartok <[email protected]>
  12529. * Label.cs: Now using the base events instead of defining new ones;
  12530. this allows us to just call the base properties without having to
  12531. duplicate all base property logic
  12532. 2006-01-18 Peter Dennis Bartok <[email protected]>
  12533. * Label.cs: A label by default is not a tabstop (Fixes one of our
  12534. failing nunit tests)
  12535. 2006-01-18 Peter Dennis Bartok <[email protected]>
  12536. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  12537. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  12538. 2006-01-18 Peter Dennis Bartok <[email protected]>
  12539. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  12540. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  12541. This fixes #77218
  12542. * XplatUIWin32.cs:
  12543. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  12544. constructor creates images that can't be saved. Part of the fix
  12545. for #76103
  12546. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  12547. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  12548. bug fix for handling window state in forms properly)
  12549. 2006-01-18 Alexander Olk <[email protected]>
  12550. * ThemeGtk.cs: Simplify ScrollBar drawing
  12551. 2006-01-18 Jackson Harper <[email protected]>
  12552. * Splitter.cs: Set the default dock style for the splitter control
  12553. in the constructor.
  12554. 2006-01-18 Alexander Olk <[email protected]>
  12555. * ThemeGtk.cs: Corrected StateType and ShadowType for
  12556. gtk_paint_box
  12557. 2006-01-18 Alexander Olk <[email protected]>
  12558. * Control.cs: Make use of Theme.DoubleBufferingSupported
  12559. * ThemeGtk.cs:
  12560. - Added drawing for flat style buttons
  12561. - Added ScrollBar drawing
  12562. 2006-01-18 Alexander Olk <[email protected]>
  12563. * ThemeClearlooks.cs: Removed some unneeded code.
  12564. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  12565. 2006-01-17 Peter Dennis Bartok <[email protected]>
  12566. * LinkLabel.cs: We need to update the hover drawing when
  12567. leaving the control as well.
  12568. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  12569. * DataGrid.cs: Clicking on non empty areas in the columns
  12570. area was giving an exception
  12571. 2006-01-17 Jackson Harper <[email protected]>
  12572. * ThemeWin32Classic.cs:
  12573. * ListView.cs: Do not draw/clip the headers when the header style
  12574. is None.
  12575. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  12576. * DataGrid.cs: Fixes 77260
  12577. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  12578. * DataGrid.cs: Clicking on a column on a empty grid was giving
  12579. an exception
  12580. 2006-01-17 Peter Dennis Bartok <[email protected]>
  12581. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  12582. or any keypress will crash the grid.
  12583. 2006-01-17 Mike Kestner <[email protected]>
  12584. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  12585. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  12586. invisible/previously-visible items.
  12587. [Fixes #76909]
  12588. 2006-01-17 Alexander Olk <[email protected]>
  12589. * ThemeClearlooks.cs:
  12590. - Added CL_Draw_Button method; now other theme controls that are
  12591. not derived from button or do not have a button can draw buttons
  12592. too
  12593. - Updated ComboBox drawing
  12594. - Beautified RadioButton drawing
  12595. - Corrected drawing of bottom and left tabs
  12596. - Beautified DateTimePicker and MonthCalendar
  12597. - Added CPDrawButton and CPDrawRadioButton
  12598. 2006-01-16 Jackson Harper <[email protected]>
  12599. * ComboBox.cs: Set the initial value of the scrollbar to the
  12600. current index. Reduce the numbers of refreshs and IndexOfs called.
  12601. 2006-01-14 Alexander Olk <[email protected]>
  12602. * FileDialog.cs: When the file listview is focused hitting the
  12603. backspace key moves the fileview to the parent directory
  12604. 2006-01-13 Peter Dennis Bartok <[email protected]>
  12605. * Form.cs:
  12606. - Added RecreateHandle call when changing taskbar visibility to
  12607. trigger reparenting in Win32 driver (Fixes #75719)
  12608. - If a window has minimize or maximize buttons, it cannot have
  12609. a help button
  12610. * XplatUIWin32.cs:
  12611. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  12612. the toplevel form with FosterParent (A toolwindow not on the
  12613. taskbar) (Fixes #75719)
  12614. - Made FosterParent a toolwindow
  12615. 2006-01-13 Alexander Olk <[email protected]>
  12616. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  12617. 2006-01-13 Alexander Olk <[email protected]>
  12618. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  12619. is currently over that control, make sure that tooltip_window.Text
  12620. gets updated
  12621. 2006-01-13 Mike Kestner <[email protected]>
  12622. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  12623. 2006-01-13 Jackson Harper <[email protected]>
  12624. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  12625. value passed. Also redraw the selected node when we recieve
  12626. focus, so tabbing between trees works correctly.
  12627. 2006-01-13 Alexander Olk <[email protected]>
  12628. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  12629. ~/.gconf/%gconf-tree.xml, so use
  12630. .gconf/desktop/gnome/interface/%gconf.xml
  12631. 2006-01-13 Peter Dennis Bartok <[email protected]>
  12632. * TextControl.cs: Draw text in gray if control is disabled
  12633. 2006-01-13 Peter Dennis Bartok <[email protected]>
  12634. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  12635. make sure it's always visible. Fixes #76680.
  12636. 2006-01-13 Peter Dennis Bartok <[email protected]>
  12637. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  12638. 2006-01-13 Jonathan Chambers <[email protected]>
  12639. * PageSetupDialog.cs: Added.
  12640. * PrintDialog.cs: Attributes.
  12641. * PrintPreviewControl.cs: Updates.
  12642. * PrintPreviewDialog.cs: Updates.
  12643. 2006-01-12 Peter Dennis Bartok <[email protected]>
  12644. * Control.cs: Undid my selection check fix, since it's not needed
  12645. * TextBoxBase.cs:
  12646. - Now considering the presence of hscroll/vscroll when sizing
  12647. vscroll/hscroll respectively. Fixed bug #77077
  12648. - Added Left/Up/Down/Right to IsInputKey list to prevent
  12649. ContainerControl from stealing them. This fixes what I broke
  12650. with my last checkin.
  12651. 2006-01-12 Peter Dennis Bartok <[email protected]>
  12652. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  12653. I finally understand how the property can be set without a setter :-)
  12654. 2006-01-12 Peter Dennis Bartok <[email protected]>
  12655. * Application.cs:
  12656. - Switched RunLoop to use static Message.Create to create a
  12657. Message object
  12658. - Added PreProcessMessage call in runloop for keyboard events; this
  12659. is part of the fix for #77219, I overlooked this originally in the
  12660. MSDN doc for PreProcessMessage
  12661. * Control.cs:
  12662. - Removed call to PreProcessMessage from handling of keyboard
  12663. messages; it's supposed to be done in the message pump
  12664. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  12665. per MSDN documentation.
  12666. - IsInputChar: All chars are input chars by default; removed the
  12667. parent calling chain, MS does not document that
  12668. - PreProcessMessage: If IsInputChar is true, we want to return false
  12669. to allow dispatching of the message
  12670. - When selecting the next control, now also check that we're not
  12671. selecting ourselves again and therefore return a false positive.
  12672. * TextBoxBase.cs:
  12673. - Tried to match return values for IsInputKey and ProcessDialogKey
  12674. to what MS returns; moved processing of our special keys outside
  12675. ProcessDialogKey since MS does not seem to return true on those.
  12676. - Moved code that previously was in ProcessDialogKey into new private
  12677. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  12678. - Reworked handling of WM_CHAR to not have to duplicate code from
  12679. Control.cs anymore, instead we simply call down to base.
  12680. 2006-01-12 Jackson Harper <[email protected]>
  12681. * ComboBox.cs: We always need to refresh the text area when
  12682. EndUpdate is called. Fixes the combobox in the file dialog.
  12683. * Control.cs: Don't create the creator_thread until the controls
  12684. handle is created. Also in InvokeRequired we check if the
  12685. creator_thread is null. This gives the effect of InvokeRequired
  12686. returning true if the controls handle is not created yet, and
  12687. matches MS.
  12688. 2006-01-12 Peter Dennis Bartok <[email protected]>
  12689. * XplatUI.cs:
  12690. - Added StartLoop() driver method. This is used to allow drivers to
  12691. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  12692. loop for a particular thread
  12693. - Added EndLoop() driver method. This is called once the message
  12694. pump for the thread is shut down
  12695. - Added SupportsTransparency method to allow the driver to indicate
  12696. opacity support for windows
  12697. * Form.cs:
  12698. - Removed TODO attribute, completed AllowTransparency property
  12699. - Added documented logic to Opacity
  12700. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  12701. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  12702. versions of CompatibleTextRendering
  12703. * X11Structs.cs: Added opacity atom to our atom enumeration
  12704. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  12705. of a form might be set before it's reparented by the WM, and we need
  12706. the opacity value without calling up to Form)
  12707. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  12708. SupportsTransparency() driver methods
  12709. * Application.cs: Now calling StartLoop and EndLoop driver methods
  12710. * XplatUIX11.cs:
  12711. - Added opacity atom registration
  12712. - Added StartLoop()/EndLoop() methods. They're empty right now but
  12713. will need to get implemented when we switch to a per-thread queue
  12714. - Implemented SupportsTransparency() method
  12715. - Implemented SetWindowTransparency() method
  12716. - Added support for setting the opacity value when a window is
  12717. reparented (since the opacity needs to be set on the WM frame)
  12718. * XplatUIOSX.cs, XplatUIWin32.cs:
  12719. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  12720. 2006-01-12 Alexander Olk <[email protected]>
  12721. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  12722. 2006-01-12 Alexander Olk <[email protected]>
  12723. * FileDialog.cs: Added ToolTip for MWFFileView
  12724. * MimeIcon.cs: Rewrote GnomeHandler.
  12725. - Get currently used gnome icon theme from
  12726. ($HOME)/.gconf/%gconf-tree.xml
  12727. - Make use of inherited icon themes
  12728. - Support SVG icon themes like Tango via librsvg
  12729. 2006-01-12 Miguel de Icaza <[email protected]>
  12730. Revert's Jackson's revert which broke 2.0 builds. Fix both
  12731. builds.
  12732. * Application.cs: Move the use_compatible_text_rendering outside
  12733. the NET_2_0 define. If we ever need to use the
  12734. use_compatible_text_rendering on the individual controls they will
  12735. access the variable from the common shared code paths.
  12736. 2006-01-12 Peter Dennis Bartok <[email protected]>
  12737. * XplatUI.cs:
  12738. - Added more granular debug options
  12739. - Added method to print both window text and id
  12740. - Switched debug output to use new Window() debug method
  12741. - Added IsEnabled() driver method
  12742. - Added EnableWindow() driver method
  12743. * Form.cs:
  12744. - Removed end_modal; no longer needed, new loop handles termination
  12745. via 'closing' variable
  12746. - If form is modal, setting DialogResult will now initiate loop
  12747. termination via 'closing' variable
  12748. - Added support for is_enabled/WS_DISABLED to CreateParams
  12749. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  12750. does all the work
  12751. - Removed code that's now in RunLoop from ShowDialog()
  12752. - Added various documented sanity checks to ShowDialog()
  12753. - Added handling of WM_DESTROY message; we set 'closing' on getting
  12754. the message to indicate the message pump to terminate
  12755. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  12756. send by the Application.ExitThread method. (We send the message
  12757. to destroy the window after all other events have been
  12758. processed through the queue, instead of destroying the handle
  12759. directly)
  12760. - Moved code from Close() method to WM_CLOSE handler; added logic
  12761. to only send close-related events if the form is not displayed
  12762. modal
  12763. * Splitter.cs (..ctor): Fixed typo in resource name
  12764. * Control.cs:
  12765. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  12766. brush now
  12767. - set_Cursor: Now only setting calling into XplatUI if the handle for
  12768. the control is already created; this avoids implict handle creation
  12769. or crashes if it's not created
  12770. - set_Enabled: Now setting the enabled state via the new driver method
  12771. instead of just tracking it
  12772. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  12773. - CreateControl: Reordered event firing and method calls to more
  12774. closely fire events in the order MS does. Now setting the
  12775. enabled state in the driver when creating the control.
  12776. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  12777. match MS order
  12778. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  12779. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  12780. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  12781. * Hwnd.cs:
  12782. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  12783. - Added EnabledHwnd property to easily allow a driver to find the
  12784. handle of the first enabled window in the parent chain (this is
  12785. used by drivers to pass up input events of disabled windows)
  12786. * XplatUIDriver.cs: Added IsEnabled() method
  12787. * Application.cs:
  12788. - Removed crude and obsolete exiting tracking variable
  12789. - Removed internal ModalRun(); replaced by RunLoop()
  12790. - Implemented private CloseForms() method to allow closing all
  12791. windows owned by a particular (or all) threads
  12792. - Exit() now properly closes all windows without forcing the message
  12793. pump to quit
  12794. - Removed obsolete InternalExit() method
  12795. - Changed Run() methods to use new RunLoop() message pump
  12796. - Implemented new RunLoop() method for both modal and non-modal forms
  12797. * CommonDialog.cs:
  12798. - get_CreateParams: Added setting of WS_DISABLED
  12799. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  12800. invoked via Form.ShowDialog()
  12801. * NativeWindow.cs: We don't remove the window from the collection when
  12802. the handle is destroyed; there might still be messages for it in the
  12803. queue (mainly the resulting WM_DESTROY); instead it will be removed
  12804. when Control calls InvalidateHandle in the WM_DESTROY handler
  12805. * XplatUIX11.cs:
  12806. - CreateWindow: Added logic to handle the WS_DISABLED window style
  12807. - EnableWindow: Implemented based on Hwnd.Enabled
  12808. - GetMessage: Reset PostQuitState so the method can be called again
  12809. - Implemented support for disabled windows (passing messages to the
  12810. first enabled parent) in handling all input messages
  12811. - Added optimizations for handling Expose events
  12812. - Implemeted new driver method IsEnabled()
  12813. - Now always resetting paint pending tracking vars when we start paint
  12814. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  12815. * XplatUIOSX.cs: Added IsEnabled method stub
  12816. * XplatUIWin32.cs: Implemented new IsEnabled() method
  12817. 2006-01-11 Jackson Harper <[email protected]>
  12818. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  12819. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  12820. variables a little.
  12821. * ColorDialog.cs: Clear out the old form before adding the new
  12822. panel.
  12823. 2006-01-11 Jackson Harper <[email protected]>
  12824. * X11Dnd.cs: Make sure to add all the text formats when adding
  12825. strings to the data object.
  12826. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  12827. do some redrawing too. Also change the UpdateNode to an
  12828. UpdateBelow so the newly added node gets painted.
  12829. 2006-01-11 Miguel de Icaza <[email protected]>
  12830. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  12831. LinkLabel.cs, PropertyGrid.cs: Implement the
  12832. UseCompatibleTextRendering property for 2.x
  12833. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  12834. 2006-01-11 Jackson Harper <[email protected]>
  12835. * TreeView.cs: Use the property for setting the selected node so
  12836. the correct events get raised.
  12837. * TreeNode.cs: Update the tree when the fore/back colours of a
  12838. node are set.
  12839. 2006-01-10 Jackson Harper <[email protected]>
  12840. * TreeView.cs: Allow setting SelectedNode to null.
  12841. 2006-01-9 Jonathan Chambers <[email protected]>
  12842. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  12843. 2006-01-9 Jonathan Chambers <[email protected]>
  12844. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  12845. 2006-01-9 Jonathan Chambers <[email protected]>
  12846. * PrintDialog.cs: Added attributes and set default property values.
  12847. 2006-01-9 Jonathan Chambers <[email protected]>
  12848. * PrintControllerWithStatusDialog.cs:
  12849. Added PrintControllerWithStatusDialog.
  12850. 2006-01-9 Jonathan Chambers <[email protected]>
  12851. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  12852. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  12853. 2006-01-9 Jonathan Chambers <[email protected]>
  12854. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  12855. 2006-01-09 Jonathan Chambers <[email protected]>
  12856. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  12857. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  12858. 2006-01-08 Alexander Olk <[email protected]>
  12859. * MimeIcon.cs: Added internal class SVGUtil.
  12860. 2006-01-08 Alexander Olk <[email protected]>
  12861. * FileDialog.cs: Don't crash if there are two files with the
  12862. same name but different locations.
  12863. 2006-01-08 John BouAntoun <[email protected]>
  12864. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  12865. dates across multiple month grids. Used to not highlight entire
  12866. month, but does now.
  12867. 2006-01-06 Jackson Harper <[email protected]>
  12868. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  12869. message loop. Change timer intervals to numbers that seem more
  12870. natural.
  12871. 2006-01-06 John BouAntoun <[email protected]>
  12872. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  12873. object for location info since screen object is now implemented.
  12874. 2006-01-05 Jackson Harper <[email protected]>
  12875. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  12876. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  12877. AsyncMethodResult, this is because we ALWAYS want the
  12878. ManualResetEvent to get set.
  12879. * Control.cs: When disposing use an async invoke to call shutdown
  12880. code, so that thigns don't block on the finalizer thread. Also
  12881. check if we even have a message loop before trying to send
  12882. messages, if we don't then don't bother sending messages.
  12883. - No more weak references for async methods
  12884. * XplatUIDriver.cs: No more weak references for async methods.
  12885. 2006-01-04 Alexander Olk <[email protected]>
  12886. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  12887. returns two FontFamily with the same name
  12888. 2006-01-04 Peter Dennis Bartok <[email protected]>
  12889. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  12890. drawing disabled text. Instead using the ColorGrayText color
  12891. 2006-01-04 Jackson Harper <[email protected]>
  12892. * TreeNode.cs: redraw the node when its image index is changed.
  12893. 2006-01-04 Peter Dennis Bartok <[email protected]>
  12894. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  12895. time I checked there are no others like it.
  12896. 2006-01-04 Jackson Harper <[email protected]>
  12897. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  12898. this gives the behavoir I was looking for.
  12899. * Control.cs: Special case Invoking EventHandlers, this matches MS
  12900. and fixes part of bug #76326.
  12901. 2006-01-04 Alexander Olk <[email protected]>
  12902. * ThemeClearlooks.cs, FileDialog.cs:
  12903. - Reflect the latest Theme class changes
  12904. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  12905. with DateTime
  12906. 2006-01-04 Alexander Olk <[email protected]>
  12907. * Theme.cs: Cache UI resource images and resize them if needed
  12908. 2006-01-03 Peter Dennis Bartok <[email protected]>
  12909. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  12910. is called. This fixes the crash in Nexxia when setting the font
  12911. attributes in the chat. [However, RTF needs a look-over to make sure
  12912. that all SelectionXXX methods handle the special case that selection
  12913. is empty and therefore the change must be applied to all text starting
  12914. at the cursor/selection start]
  12915. 2006-01-03 Peter Dennis Bartok <[email protected]>
  12916. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  12917. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  12918. * X11Keyboard.cs: Switched to new way of calling PostMessage
  12919. 2006-01-03 Peter Dennis Bartok <[email protected]>
  12920. * Theme.cs: Added theme interface for images to allow the theme to
  12921. control what images are used for things like FileDialog, MessageBox
  12922. icons, etc.
  12923. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  12924. 2006-01-03 Alexander Olk <[email protected]>
  12925. * FileDialog.cs:
  12926. - Removed some dead code
  12927. - Opening a recently used file does work now
  12928. - Small UI enhancements
  12929. - Refactoring
  12930. 2006-01-02 Alexander Olk <[email protected]>
  12931. * FileDialog.cs: Forgot too add __MonoCS__
  12932. 2006-01-02 Alexander Olk <[email protected]>
  12933. * FileDialog.cs: We are able to read recently used files now let's
  12934. go on and write them.
  12935. 2006-01-01 Alexander Olk <[email protected]>
  12936. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  12937. button
  12938. * MimeIcon.cs: Do a check for the top level media type also
  12939. 2005-12-31 Alexander Olk <[email protected]>
  12940. * ThemeClearlooks.cs:
  12941. - Added CPDrawStringDisabled
  12942. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  12943. some chars if the text doesn't fit into text_rect
  12944. - DrawListViewItem: If View = View.LargeIcon center the image;
  12945. rewrote the drawing of ListViewItem.Text if View =
  12946. View.LargeIcon
  12947. 2005-12-31 Alexander Olk <[email protected]>
  12948. * MimeIcon.cs: Use default KDE icon theme if there is no
  12949. "48x48" directory for the current icon theme, fixes #77114
  12950. * Mime.cs: Disable not working and actually not used code.
  12951. * ThemeWin32Classic.cs:
  12952. - Replace "new SolidBrush" in GetControlBackBrush and
  12953. GetControlForeBrush with ResPool.GetSolidBrush
  12954. - Changed DrawListViewItem from private to protected virtual
  12955. * FileDialog.cs:
  12956. - Added form.MaximizeBox = true
  12957. - Don't throw an exception if there is a broken symbolic link
  12958. 2005-12-23 Jackson Harper <[email protected]>
  12959. * TabControl.cs: Give the panels focus, keyboard navigation is
  12960. fixed so this works correctly now.
  12961. - We need these key events also.
  12962. * ToolBar.cs: Remove some of the poor mans double buffering.
  12963. 2005-12-24 Alexander Olk <[email protected]>
  12964. * ComboBox.cs: The internal TextBox now returns the focus.
  12965. 2005-12-23 Jackson Harper <[email protected]>
  12966. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  12967. 2005-12-23 Peter Dennis Bartok <[email protected]>
  12968. * Control.cs: Removed debug code
  12969. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  12970. implicit children
  12971. 2005-12-23 Peter Dennis Bartok <[email protected]>
  12972. * Control.cs: When creating the control, update the Z-order after
  12973. all it's children are created, too. (Fixes nexxia not showing
  12974. picturebox bug)
  12975. 2005-12-23 Peter Dennis Bartok <[email protected]>
  12976. * Control.cs: Do not update the anchoring distances if layout is
  12977. suspended, instead do it once layout is resumed
  12978. 2005-12-22 Peter Dennis Bartok <[email protected]>
  12979. * Control.cs:
  12980. - After many hours of debugging, for both Jackson and
  12981. myself, it turns out that it helps to set the parent of a control
  12982. if you want to actually see it onscreen. In the spirit of that
  12983. discovery, we're now setting the parent of the control and
  12984. it's children when the control's handle is created. This fix
  12985. will make Lutz Roeder's Reflector run happily.
  12986. - now just creating the handle instead of the whole control when
  12987. getting a graphics context for the control.
  12988. 2005-12-22 Peter Dennis Bartok <[email protected]>
  12989. * ScrollableControl.cs: When calculating the canvas, don't consider
  12990. the scrollbar widths. Instead, predict if horizontal scrollbar
  12991. will affect canvas when deciding on vertical display and vice versa.
  12992. 2005-12-22 Peter Dennis Bartok <[email protected]>
  12993. * RichTextBox.cs: Set default RTF font for documents that don't
  12994. have a font table (Fixes #77076)
  12995. 2005-12-22 Jackson Harper <[email protected]>
  12996. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  12997. clipboard. This prevents a NullRef in that case.
  12998. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  12999. clipboard. PRIMARY is for the currently selected text only. (We
  13000. should implement PRIMARY at some point.
  13001. 2005-12-21 Peter Dennis Bartok <[email protected]>
  13002. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  13003. a Unicode function with a structure that was defined in Ansi way.
  13004. This fixes #76942.
  13005. 2005-12-21 Jackson Harper <[email protected]>
  13006. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  13007. on. Because thats how it rolls. (and this avoids it using ambient
  13008. colours).
  13009. * ThemeWin32Classic.cs: Use the proper back color for filling.
  13010. * Menu.cs: Use the system menu bar color for drawing menu
  13011. bars. Using the window back color will bring ambient colours into
  13012. the picture.
  13013. 2005-12-21 Alexander Olk <[email protected]>
  13014. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  13015. Bitmaps were created and not disposed.
  13016. 2005-12-21 Peter Dennis Bartok <[email protected]>
  13017. * Control.cs (CreateControl): Don't do anything if the control is
  13018. already created, otherwise we'd fire the OnCreated event more than
  13019. once
  13020. 2005-12-21 Peter Dennis Bartok <[email protected]>
  13021. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  13022. will always match. Instead return -1. Fixes #76464.
  13023. 2005-12-21 Peter Dennis Bartok <[email protected]>
  13024. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  13025. neither the beginning nor the end of the line (Fixes bug #76479)
  13026. 2005-12-21 Peter Dennis Bartok <[email protected]>
  13027. * Control.cs:
  13028. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  13029. where handle is invalid
  13030. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  13031. instead of slower linear search
  13032. * NativeWindow.cs: Don't remove the window from the hashtable until
  13033. after the driver has destroyed it (since the driver might use
  13034. Control.FromHandle to lookup the control object
  13035. * Hwnd.cs: Added DestroyPending property to track if a window is
  13036. already destroyed as far as the driver is concerned and only hasn't
  13037. yet notified the control
  13038. * XplatUIX11.cs:
  13039. - Activate(): Check if the window is still valid before using the
  13040. handle
  13041. - Implemented DestroyChildWindow() method to mark child windows as
  13042. destroyed when a window is destroyed. This prevents situations
  13043. where we might call an X method based on queued events for a
  13044. window that already has been destroyed but we haven't yet pulled
  13045. the destroy method from the queue.
  13046. - Added a call to the new DestroyChildWindow() method to the drivers
  13047. DestroyWindow code. Also now marking the destroyed window itself
  13048. as pending
  13049. 2005-12-20 Jackson Harper <[email protected]>
  13050. * StatusBar.cs:
  13051. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  13052. anymore. Just do them when needed, also track the rects of panels
  13053. so that we can optimize refreshing more in the future.
  13054. 2005-12-20 Alexander Olk <[email protected]>
  13055. * ColorDialog.cs: Fixed focus drawing in small color controls
  13056. 2005-12-19 Jackson Harper <[email protected]>
  13057. * InternalWindowManager.cs:
  13058. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  13059. moving windows works properly.
  13060. 2005-12-19 Peter Dennis Bartok <[email protected]>
  13061. * Control.cs:
  13062. - Removed call to InitLayout() from SetBoundsCore(); doc says
  13063. it's only called when a control is added to a container
  13064. - Split InitLayout logic, moved to separate UpdateDistances() method
  13065. since we need to perform those calculations more often than just
  13066. when adding the control to a container. (Needed to fix #77022)
  13067. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  13068. - Reduced the OnBindingContextChanged events count, don't send them
  13069. unless the control is created, we still aren't totally matching
  13070. MS, but I can't quite figure out some of their rules
  13071. 2005-12-18 Alexander Olk <[email protected]>
  13072. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  13073. stripes
  13074. 2005-12-18 Alexander Olk <[email protected]>
  13075. * ThemeClearlooks.cs:
  13076. - Updated ProgressBar drawing
  13077. - Corrected drawing of ScrollBars and scroll buttons
  13078. - Some temporary fixes for minor pixel artefacts
  13079. 2005-12-18 Peter Dennis Bartok <[email protected]>
  13080. * Control.cs:
  13081. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  13082. cause events to be sent in the same order as MS does.
  13083. - Added ChangeParent() method to trigger various OnXXXChanged events
  13084. that need to be fired when a parent changes (This is a reworking
  13085. of the patch from r54254, with the X11 errors fixed)
  13086. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  13087. since on MS we get OnLayoutChanged events when calling Clear()
  13088. - Changed Enabled property to consider parent state as well, if a
  13089. parent is not enabled, the control will not be either
  13090. - Changed Parent property to simply call Controls.Add() since that
  13091. now does all the work required, this way we avoid code duplication
  13092. - Threw in a few OnBindingsContextChanged calls to try and match
  13093. when MS sends them. We seem to send a few too many, though.
  13094. - Added call to CreateControl when adding the control to a parent.
  13095. We were never calling CreateControl. Still needs some work, in
  13096. some places we treat HandleCreated and ControlCreated as equal,
  13097. which is wrong
  13098. - Removed obsolete commented out code from UpdateZOrder()
  13099. 2005-12-18 Alexander Olk <[email protected]>
  13100. * ThemeClearlooks.cs: Updated TrackBar drawing.
  13101. 2005-12-17 Alexander Olk <[email protected]>
  13102. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  13103. 2005-12-17 Alexander Olk <[email protected]>
  13104. * FileDialog.cs: Add the Help button and the open readonly
  13105. checkbox only if needed
  13106. 2005-12-16 Jackson Harper <[email protected]>
  13107. * Control.cs: Make sure we have an active menu before trying to
  13108. process commands on it. Prevents menu-less forms from crashing
  13109. when Alt is pressed.
  13110. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  13111. Dieter Bremes.
  13112. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  13113. 2.0 build.
  13114. 2005-12-16 Jackson Harper <[email protected]>
  13115. * InternalWindowManager.cs: Don't translate tool windows screen
  13116. coordinates. This fixes windows 'bouncing' around when being moved.
  13117. 2005-12-15 Peter Dennis Bartok <[email protected]>
  13118. * TextBoxBase.cs:
  13119. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  13120. not quite MS compatible, MS uses that number only for single line
  13121. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  13122. the limit at 2GB)
  13123. - Now enforcing the MaxLength limit when entering characters
  13124. - Added argument to internal Paste() method to track if it's called
  13125. from programatically or via keyboard, since keyboard driven pastes
  13126. need to enforce max-length
  13127. - Added logic to Paste to only paste as many chars as MaxLength
  13128. allows
  13129. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  13130. * TextControl.cs:
  13131. - Added Length property to return number of characters in document
  13132. - Added private CharCount property which only tracks actual chars
  13133. in the document (no linefeeds) and fires event when CharCount
  13134. changes
  13135. - Added tracking of character count to all methods that alter it
  13136. - Added LengthChanged event to allow applications to subscribe
  13137. to any changes to the document
  13138. 2005-12-15 Peter Dennis Bartok <[email protected]>
  13139. * TextBox.cs:
  13140. - Removed local password_char field (moved to TextBoxBase)
  13141. - Now setting the document's password var when password is
  13142. set
  13143. * TextBoxBase.cs:
  13144. - Added password_char field (needed here so MultiLine can
  13145. access it)
  13146. - Added logic to MultiLine property setter to set the document's
  13147. variable when password display is allowed
  13148. - Removed debug code and made some debug code conditional
  13149. * TextControl.cs:
  13150. - Added RecalculatePasswordLine() method to handle special password
  13151. char only lines
  13152. - Added PasswordChar property, also added related tracking vars
  13153. - Draw() method now uses local text var for grabbing text to draw,
  13154. this var is set to line.text unless we're doing password display,
  13155. then it is set to the pre-generated all-password-chars line
  13156. - Added calling RecalculatePasswordLine() method for password lines
  13157. 2005-12-14 Peter Dennis Bartok <[email protected]>
  13158. * Hwnd.cs:
  13159. - Added Reparented property to allow tracking of Window Manager
  13160. reparenting actions (which affect X/Y calculations of toplevel
  13161. windows)
  13162. - Made ToString() print window handles in hex
  13163. * XplatUIX11.cs:
  13164. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  13165. determine if X/Y needs offsetting
  13166. - AddConfigureNotify(): Fixed offset calculations
  13167. - Now adds ReparentNotify messages into the queue
  13168. - Now processes ReparentNotify messages and causes a
  13169. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  13170. is reparented (as most likely it's X/Y coordinates are changed
  13171. due to that)
  13172. 2005-12-14 Jackson Harper <[email protected]>
  13173. * XplatUIX11.cs: Tool windows still need to respek focus.
  13174. 2005-12-14 Peter Dennis Bartok <[email protected]>
  13175. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  13176. have a working release
  13177. 2005-12-13 Jackson Harper <[email protected]>
  13178. * Form.cs: Update styles after setting the border style regardless
  13179. of whether or not the window is using a window manager.
  13180. 2005-12-13 Jackson Harper <[email protected]>
  13181. * Form.cs: We now hook into an internal window manager instead of just an
  13182. MDI subsystem, this is so we can have properly behaving tool windows.
  13183. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  13184. * InternalWindowManager.cs: New internal class that acts as a
  13185. window manager for tool windows and as a base for mdi windows.
  13186. * MdiWindowManager.cs: New class that acts as a window manager for
  13187. mdi windows.
  13188. 2005-12-12 Jackson Harper <[email protected]>
  13189. * Control.cs: Updates so we match behavoir for for implicit
  13190. controls. Fixes explosions in MDI.
  13191. 2005-12-12 Jackson Harper <[email protected]>
  13192. * Control.cs: Implement Invalidate (Region).
  13193. 2005-12-12 Peter Dennis Bartok <[email protected]>
  13194. * Control.cs:
  13195. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  13196. the same events as MS does. MS fires events for each property
  13197. except, for unknown reasons, Cursor, when the control is reparented.
  13198. I can't seem to totally match add/remove since MS also fires some
  13199. VisibleChanged events, which makes no sense. Consolidated the
  13200. parenting code into a separate method so it can be called from
  13201. both Add and Remove. set_Parent no longer needs any special logic
  13202. as it calls the parent's add method which implicitly fires
  13203. all events
  13204. - Removed some obsolete code and debug output
  13205. - Enabled state is inherited from parents, if this is enabled
  13206. 2005-12-08 Peter Dennis Bartok <[email protected]>
  13207. * Form.cs: Removed commented out code
  13208. 2005-12-08 Peter Dennis Bartok <[email protected]>
  13209. * Control.cs:
  13210. - Added internal version of Invoke, with additional argument
  13211. indicating if we're calling it from a Dispose() handler. That
  13212. way we can avoid BeginInvoke throwing an exception if we're
  13213. calling for an already destroyed window.
  13214. - Added a dispose argument to BeginInvokeInternal, and made the
  13215. check if a valid window handle chain exists conditional on
  13216. it not being a dispose call
  13217. - Removed code in DestroyHandle to destroy our children. Since we
  13218. now handle the WM_DESTROY message we will catch all our children
  13219. being destroyed.
  13220. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  13221. * Form.cs:
  13222. - Added a field to track the application context of the form.
  13223. - No need to set closing variable as response to WM_CLOSE, instead
  13224. we destroy the window. We also call PostQuitMessage if the form
  13225. has an application context (which makes it the main app form,
  13226. which, when closed terminates the app)
  13227. * XplatUI.cs:
  13228. - Dropped Exit() method, it's naming was confusing
  13229. - Added PostQuitMessage() which causes GetMessage to return false
  13230. once the message queue is empty
  13231. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  13232. PostQuitMessage()
  13233. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  13234. no longer a valid XplatUI method, but left it in since it's used
  13235. internally. Added empty PostQuitMessage() method.
  13236. * MenuAPI.cs: Replaced call to Exit() with call to
  13237. PostQuitMessage, even though this is probably no longer needed.
  13238. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  13239. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  13240. * Application.cs:
  13241. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  13242. - Removed old debug code that would call XplatUI for exception
  13243. display, enabled standard exception handling (Still not enabled
  13244. though, until NativeWindow's ExternalExceptionHandler define
  13245. is removed
  13246. * NativeWindow.cs:
  13247. - Added internal method to allow control to update NativeWindow
  13248. after a window has been destroyed
  13249. - Added handling of already destroyed windows when calling i
  13250. DestroyWindow
  13251. - Added removal of handle from list on ReleaseHandle
  13252. * XplatUIX11.cs:
  13253. - Dropped GetMessageResult var and related code
  13254. - Added PostQuitState to field to track if PostQuitMessage has been
  13255. called
  13256. - Dropped Exit() method
  13257. - Added PostQuitMessage() method
  13258. - GetMessage now will return false if PostQuitState is set and no
  13259. more messages are in the queue.
  13260. - Expose handler will no longer generate WM_PAINT messages if we are
  13261. in PostQuitState since it's very likely any windows have already
  13262. been destroyed, and since Hwnd won't get updated until we have
  13263. processed the DestroyNotify we'd be causing X errors.
  13264. 2005-12-07 Peter Dennis Bartok <[email protected]>
  13265. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  13266. Thanks to Mike for pointing out the err of my ways.
  13267. 2005-12-07 Peter Dennis Bartok <[email protected]>
  13268. * Control.cs(PreProcessMessage): Moved menu handling back, but
  13269. after all other key handling, to match MS (who handles Menu in
  13270. DefWndProc)
  13271. * Menu.cs (WndProc): Removed my brainfart
  13272. 2005-12-07 Peter Dennis Bartok <[email protected]>
  13273. * Control.cs(PreProcessMessage): Removed special menu handling
  13274. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  13275. 2005-12-07 Mike Kestner <[email protected]>
  13276. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  13277. state according in tracker.
  13278. * Menu.cs : promote tracker field to base class and provide a tracker
  13279. lookup capability. Add/Remove shortcuts dynamically if the top menu
  13280. has a tracker. Unparent items that are removed from the collection.
  13281. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  13282. * Theme*.cs: add always_show_hotkeys field to support configurability
  13283. of mnemonic display. win32 doesn't show mnemonics until Alt is
  13284. pressed.
  13285. 2005-12-07 Jackson Harper <[email protected]>
  13286. * MdiChildContext.cs: Use Control.ResetCursor.
  13287. * Control.cs: ResetCursor needs to set the property so that the
  13288. correct XplatUI call gets made.
  13289. 2005-12-07 Peter Dennis Bartok <[email protected]>
  13290. * Control.cs: More fixes to make our key events match MS. We
  13291. were not setting the modifier state on KeyData, and we were
  13292. not generating any events when Alt was pressed with a key
  13293. since handling of WM_SYSxxx was missing for the OnKey methods.
  13294. 2005-12-07 Jackson Harper <[email protected]>
  13295. * MdiChildContext.cs: reenable the sizing code.
  13296. - When the mouse leaves a window reset its cursor.
  13297. 2005-12-07 Alexander Olk <[email protected]>
  13298. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  13299. 2005-12-07 Peter Dennis Bartok <[email protected]>
  13300. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  13301. widths of Fixed3D borders
  13302. 2005-12-07 Jackson Harper <[email protected]>
  13303. * MdiClient.cs: Fix warnings. Earn Mike's love.
  13304. 2005-12-07 Alexander Olk <[email protected]>
  13305. * ThemeClearlooks.cs:
  13306. - Adjusted mouse over button color
  13307. - Added first parts of CheckBox drawing
  13308. - Added correct color for selected text background
  13309. - Fixed ComboBox drawing
  13310. - Added CPDrawBorder3D and CPDrawBorder
  13311. 2005-12-06 Peter Dennis Bartok <[email protected]>
  13312. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  13313. 2005-12-06 Peter Dennis Bartok <[email protected]>
  13314. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  13315. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  13316. alert users via sound. We could add an enum arg with different
  13317. types of alerts in the future
  13318. 2005-12-06 Peter Dennis Bartok <[email protected]>
  13319. * Control.cs: Fix behaviour problems pointed out by Mike
  13320. 2005-12-05 Mike Kestner <[email protected]>
  13321. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  13322. prop setters. Calls parent.Refresh for now, but could be maybe be
  13323. optimized with an internal method on StatusBar at some point.
  13324. [Fixes #76513]
  13325. 2005-12-05 Peter Dennis Bartok <[email protected]>
  13326. * RichTextBox.cs: Implemented get_SelectionColor
  13327. 2005-12-05 Alexander Olk <[email protected]>
  13328. * ThemeClearlooks.cs:
  13329. - Removed dead code
  13330. - Draw black button border only if button is Form.AcceptButton
  13331. - Draw correct button color for pressed RadioButton if the mouse
  13332. has entered the button
  13333. - Updated ProgressBar drawing!
  13334. - Updated CPDrawSizeGrip drawing
  13335. - Updated StatusBarPanel drawing
  13336. 2005-12-05 Mike Kestner <[email protected]>
  13337. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  13338. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  13339. 2005-12-04 Alexander Olk <[email protected]>
  13340. * ThemeClearlooks.cs: Initial check-in, activate with
  13341. export MONO_THEME=clearlooks
  13342. * ThemeEngine.cs: Added ThemeClearlooks
  13343. 2005-12-03 Mike Kestner <[email protected]>
  13344. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  13345. [Fixes #76897]
  13346. 2005-12-02 Jackson Harper <[email protected]>
  13347. * Form.cs: If the child form has no menu the default main menu is
  13348. used as the active menu.
  13349. 2005-12-02 Peter Dennis Bartok <[email protected]>
  13350. * ListBox.cs: Check if any items exist before trying to resolve
  13351. coordinates into items
  13352. 2005-12-02 Peter Dennis Bartok <[email protected]>
  13353. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  13354. as the second color for the background hatch
  13355. 2005-12-02 Peter Dennis Bartok <[email protected]>
  13356. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  13357. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  13358. sure that what we pass to FormatText is always 1-based. Fixes #76885
  13359. 2005-11-29 Miguel de Icaza <[email protected]>
  13360. * NumericUpDown.cs (EndInit): When we are done initializing,
  13361. reflect any updates on the UI.
  13362. 2005-12-02 Jackson Harper <[email protected]>
  13363. * ImplicitHScrollBar.cs:
  13364. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  13365. their container controls.
  13366. * TreeView.cs: Use the new implicit scrollbars.
  13367. 2005-12-02 Jackson Harper <[email protected]>
  13368. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  13369. can play with it.
  13370. * TreeNodeCollection.cs: If we remove the topnode we need to
  13371. update topnode to the next node in line.
  13372. - When clearing nodes go through the same process as removing
  13373. them, so they get depareneted and checked if they are top node.
  13374. 2005-12-01 Jackson Harper <[email protected]>
  13375. * TreeView.cs: When imagelists are used the image area is
  13376. selectable as well as the text.
  13377. - If there are no selected nodes select the first one.
  13378. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  13379. so don't do it more then we need to.
  13380. 2005-12-01 Jackson Harper <[email protected]>
  13381. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  13382. that arrows can be scaled.
  13383. 2005-12-01 Jackson Harper <[email protected]>
  13384. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  13385. fail. Patch by Dieter Bremes
  13386. 2005-11-30 Jackson Harper <[email protected]>
  13387. * Form.cs: Property is 2.0 only
  13388. * PrintDialog.cs: Signature fix.
  13389. 2005-11-30 Peter Dennis Bartok <[email protected]>
  13390. * TextControl.cs:
  13391. - No longer artificially moves text 2 pixels down (now that we have
  13392. borders this is no longer needed)
  13393. - Added calcs for left, hanging and right indent
  13394. 2005-11-23 Mike Kestner <[email protected]>
  13395. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  13396. 2005-11-30 Jackson Harper <[email protected]>
  13397. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  13398. get cloned as part of CloneMenu ().
  13399. * Menu.cs: Make sure the parent of the items get set correctly
  13400. when they are added. And the owners are notified of the changes.
  13401. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  13402. we can change the menu being displayed/handled by the form without
  13403. changing the menu assosciated with the form.
  13404. - Don't let Mdi children draw/handle menus.
  13405. 2005-11-30 Jackson Harper <[email protected]>
  13406. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  13407. a MenuChanged event. Just to make the API a little more
  13408. consistent.
  13409. * MainMenu.cs:
  13410. * MenuItem.cs: Use the new OnMenuChanged
  13411. * MdiChildContext.cs: Handle menu merging.
  13412. * Form.cs: Implement MergedMenu.
  13413. 2005-11-30 Jackson Harper <[email protected]>
  13414. * Menu.cs: We were misusing Add. Add goes behind the specified
  13415. index according to the docs, and does not replace the specified
  13416. index. So I added an Insert method.
  13417. 2005-11-30 Peter Dennis Bartok <[email protected]>
  13418. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  13419. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  13420. is for Jackson
  13421. * RichTextBox.cs: Added calls to base for DnD events
  13422. 2005-11-28 Peter Dennis Bartok <[email protected]>
  13423. * TextControl.cs:
  13424. - Fixed drag-selection related crash; style fixes
  13425. - Implemented undo class
  13426. o Implemented method to capture document state for specified
  13427. range in document tree
  13428. o Implemented method to restore captured document state
  13429. o Implemented cursor tracking
  13430. o Implemented basic undo stack
  13431. - Added undo cursor tracking to methods altering cursor location
  13432. - Added undo tracking to selection deletion (still missing
  13433. other text-altering hookups)
  13434. * RichTextBox.cs:
  13435. - Added SelectionLength property
  13436. - Implemented CanPaste()
  13437. - Implemented Paste()
  13438. - Added missing protected methods
  13439. - Fixed RTF->Document conversion; now uses font index 0 and color
  13440. index 0 as the default font for the parsed text
  13441. - Fixed RTF<->Document font size translation
  13442. - Fixed RTF generation, now properly handles cross-tag boundaries
  13443. for single line selection
  13444. - No longer always appends blank line to generated RTF
  13445. - Removed TODOs
  13446. - Added missing attributes
  13447. - Hooked up undo-related methods
  13448. * TextBoxBase.cs:
  13449. - Implemented Copy()
  13450. - Implemented Paste()
  13451. - Implemented Cut()
  13452. - Fixed caret mis-behaviour on backspace across line-boundaries
  13453. 2005-11-29 Jackson Harper <[email protected]>
  13454. * MdiClient.cs: Add a method for activating mdi children. Very
  13455. basic right now. I imagine someday it might need more girth.
  13456. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  13457. children windows names are added to the menu item.
  13458. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  13459. mdilist. This happens regardless of whether or not there are any
  13460. mdi windows to see in the list, and according to my tests happens
  13461. before the items are even added. Also happens if there isn't even
  13462. an mdi client to get windows from.
  13463. 2005-11-29 Alexander Olk <[email protected]>
  13464. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  13465. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  13466. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  13467. * DataGridTableStyle.cs:
  13468. - Create always the styles for the missing columns even if they are
  13469. provided by the user (not default table style)
  13470. * DataGrid.cs:
  13471. - Fixes bug 76770
  13472. - Fixes SetDataBinding (always re-attach source)
  13473. - Fixes SetNewDataSource (only clear styles if they are not for
  13474. this source)
  13475. - Expands OnTableStylesCollectionChanged to handle style refresh
  13476. and remove properly
  13477. 2005-11-29 Jackson Harper <[email protected]>
  13478. * FileDialog.cs: Implement missing bits, remove some dead
  13479. code.
  13480. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  13481. creation of the panel so that the options set on the dialog are
  13482. seen when the panel is created.
  13483. * TreeView.cs: raise a click when items are clicked.
  13484. 2005-11-29 Jackson Harper <[email protected]>
  13485. * MdiClient.cs: Pass some signature methods through to base.
  13486. 2005-11-28 Jackson Harper <[email protected]>
  13487. * ListView.cs: Raise the click event when items are clicked.
  13488. 2005-11-28 Jackson Harper <[email protected]>
  13489. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  13490. a nullref.
  13491. 2005-11-27 Alexander Olk <[email protected]>
  13492. * ThemeNice.cs: - Removed 1 pixel bitmaps
  13493. - Use SmoothingMode.AntiAlias where it makes sense
  13494. (ScrollButton arrow for example)
  13495. - Enhanced Button focus drawing
  13496. - Fixed ComboBox drawing (no artefacts anymore, focus
  13497. rectangle is back again, reduced size of ComboButton, etc.)
  13498. - Fixed RadioButton focus drawing for Appearence.Button
  13499. - Slight ScrollButton redesign
  13500. - Some LinearGradientBrush size fixes
  13501. - GroupBoxes have now rounded edges
  13502. - Fixed StatusBar drawing
  13503. 2005-11-25 Alexander Olk <[email protected]>
  13504. * ThemeNice.cs: - Remove dead code
  13505. - use correct background colors for menus, etc.
  13506. - Fake pixel drawing with 1 pixel bitmaps
  13507. 2005-11-24 Jackson Harper <[email protected]>
  13508. * MdiClient.cs: Size the scrollbars when resizing the window.
  13509. - Resize the maximized windows when the client is resized
  13510. * Form.cs: Make the child context available
  13511. 2005-11-23 Jackson Harper <[email protected]>
  13512. * MdiChildContext.cs: Don't size windows if they are maximized.
  13513. 2005-11-23 Mike Kestner <[email protected]>
  13514. * ContextMenu.cs: use MenuTracker.
  13515. * Control.cs: remove menu handle usage.
  13516. * Form.cs: remove menu handle usage.
  13517. * Hwnd.cs: remove menu handle usage.
  13518. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  13519. motion and clicks to the new Tracker handlers.
  13520. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  13521. and handle usage.
  13522. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  13523. Killed the MENU and MENUITEM data types and associated collections
  13524. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  13525. MenuTracker class that exposes the leftovers from the old MenuAPI
  13526. static methods. Restructured Capture handling so that only one grab is
  13527. done for the entire menu hierarchy instead of handing off grabs to
  13528. submenus. Tracker now has an invisible control to Capture when active.
  13529. * MenuItem.cs: add sizing accessors, kill Create
  13530. and handle usage.
  13531. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  13532. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  13533. MENU(ITEM). remove menu handle usage, use Menu directly.
  13534. * XplatUIDriver.cs: remove menu handle usage.
  13535. * XplatUIOSX.cs: remove menu handle usage.
  13536. * XplatUIWin32.cs: remove menu handle usage.
  13537. * XplatUIX11.cs: remove menu handle usage.
  13538. 2005-11-22 Jackson Harper <[email protected]>
  13539. * Hwnd.cs: Don't compute the menu size for
  13540. DefaultClientRectangle.
  13541. - Reenable menu sizes being computed for GetClienRectangle.
  13542. * Form.cs: Remove comment of trechery
  13543. 2005-11-22 Jackson Harper <[email protected]>
  13544. * Hwnd.cs: The adjustments for the menu bar are made when it is
  13545. attached to the form.
  13546. 2005-11-19 Jackson Harper <[email protected]>
  13547. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  13548. (just like on windows).
  13549. 2005-11-19 Jackson Harper <[email protected]>
  13550. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  13551. use real buttons anymore because they are in non client area. The
  13552. one TODO here is that I need to somehow invalidate a section of
  13553. the non client area.
  13554. 2005-11-18 Jackson Harper <[email protected]>
  13555. * Control.cs: Put the enum check back in now that MDI doesnt have
  13556. to use this to set border styles.
  13557. * Form.cs: Only set mdi child windows borders if the handle has
  13558. been created.
  13559. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  13560. this directly on to the driver.
  13561. - Get the move start position before adjusting for the titlebar
  13562. height, this fixes the windows "skipping" when they are first
  13563. moved.
  13564. 2005-11-18 Jackson Harper <[email protected]>
  13565. * XplatUIX11.cs: Just compute the mdi borders separately as they
  13566. don't totally match up with normal form borders.
  13567. 2005-11-18 Jackson Harper <[email protected]>
  13568. * Control.cs: Set WS_ styles for borders, so that the driver does
  13569. not have to retrieve the control instance to figure out what kind
  13570. of borders it should have.
  13571. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  13572. driver can know its an mdi child easily.
  13573. * XplatUIX11.cs: Get the border styles and whether the window is
  13574. MDI from the Styles and ExStyles params instead of having to get a
  13575. control. This prevents a chicken and egg problem.
  13576. 2005-11-18 Jackson Harper <[email protected]>
  13577. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  13578. 2005-11-18 Jackson Harper <[email protected]>
  13579. * MdiClient.cs: Calculate when to add and remove scrollbars
  13580. correctly.
  13581. * MdiChildContext.cs: Adjust the y position to take the titlebar
  13582. into account.
  13583. - No height for FormBorderStyle.None
  13584. 2005-11-18 Jackson Harper <[email protected]>
  13585. * Control.cs: Allow non enum values to be used for
  13586. InternalBorderStyle. MDI does this to set a special border style.
  13587. - New utility methods for converting points to/from client coords
  13588. - Add the newly created control to the Controls collection before
  13589. updating its style. This way UpdateStyle can walk the control
  13590. heirarchy to find the control if needed.
  13591. so I don't need to create a new Point object all the time.
  13592. * Form.cs: Let MDI windows handle their border styles.
  13593. - Set styles on MDI windows so the correct title style is derived.
  13594. * MdiChildContext.cs: Move all the painting and window handling
  13595. into the non client area.
  13596. - Use correct sizing and put correct buttons on frames based on
  13597. the FormBorderStyle.
  13598. - Notify the mdi client about scrolling
  13599. - Need to handle the buttons ourselves now, because they are all
  13600. in non client areas and we can't add controls there.
  13601. * MdiClient.cs: Halfway to scrolling, this implementation is
  13602. somewhat broken though, we need to check to make sure other
  13603. windows aren't causing scrolling before removing the bars. Also
  13604. the bars need to be drawn on top, maybe I can switch implicit
  13605. controls to be on top.
  13606. * Hwnd.cs: caption_height and tool_caption_height are now
  13607. properties of an hwnd, this way they can be set by the driver
  13608. based on the type of window they are. In X11 the window manager
  13609. handles the decorations so caption_height is zero unless its an
  13610. MDI window.
  13611. - Add 3 pixel borders for MDI windows (0xFFFF).
  13612. - Get rid of some code duplication, have DefaultClientRectanle
  13613. just call GetClientRectangle.
  13614. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  13615. Hwnd now.
  13616. - Set border styles differently for mdi windows.
  13617. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  13618. Hwnd now.
  13619. 2005-11-15 Mike Kestner <[email protected]>
  13620. * Menu.cs: when adding an item to the collection, if item is already
  13621. parented, remove it from the parent.
  13622. 2005-11-13 Alexander Olk <[email protected]>
  13623. * X11DesktopColors.cs: Added KDE support
  13624. 2005-11-11 Peter Dennis Bartok <[email protected]>
  13625. * XplatUIWin32.cs:
  13626. - Clipboard methods now can translate Rtf format
  13627. - No longer removes clipboard contents whenever a new format is added
  13628. to allow placing multiple formats on the clipboard
  13629. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  13630. will place all formats contained in it onto the clipboard. Also
  13631. now cleans the clipboard before placing a new object onto it
  13632. * RichTextBox.cs:
  13633. - Implemented set_Rtf
  13634. - Implemented set_SelectedRtf
  13635. - Created InsertRTFFromStream() method to allow single code base
  13636. for all properties and methods that insert RTF into document
  13637. - Removed debug output
  13638. * TextControl.cs:
  13639. - Fixed Delete(int) to fix up line numbers
  13640. - Fixed ReplaceSelection to combine start and end line
  13641. - Fixed serious DeleteChars bug that would leave the document tree
  13642. broken
  13643. - Improved DumpTree with several logic checks to detect broken
  13644. document trees
  13645. - Removed debug lines
  13646. - Fixed Caret.WordForward/WordBack moving code, now always also
  13647. updates caret.tag (fixes crash when word-selecting across tag
  13648. boundaries via keyboard)
  13649. - Added Insert() method for inserting multiline text into documents
  13650. - Fixed DeleteChars() calculation errors that would cause a broken
  13651. tag chain with multiple tag lines
  13652. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  13653. - Split() no longer moves caret if split is at caret location
  13654. - ReplaceSelection() now updates the cursor and re-displays it
  13655. - ReplaceSelection() now uses new Insert() method to avoid code
  13656. duplication
  13657. - FormatText() can now handle formatting partial lines
  13658. * TextBoxBase.cs:
  13659. - Append now uses new TextControl.Insert() method (this avoids
  13660. duplicate code)
  13661. - Implemented Ctrl-X (Cut) (
  13662. - Implemented Ctrl-C (Copy)
  13663. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  13664. regeneration when pasting text; roundtripping Copy&Paste within
  13665. edit control still fails due to some calculation bugs in GenerateRTF)
  13666. - The Delete key will now remove the current selection if it is visible
  13667. * TextBox.cs: Removed debug lines
  13668. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  13669. driver to be initialized and can't therefore be done via a static ctor)
  13670. 2005-11-10 Peter Dennis Bartok <[email protected]>
  13671. * TextControl.cs: Added backend code for finding char arrays and strings
  13672. * TextBoxBase.cs:
  13673. - Added mouse wheel scroll support
  13674. - Added support for VScroll and HScroll events
  13675. * RichTextBox.cs:
  13676. - Implemented all seven Find() variants
  13677. - Implemented GetCharFromPosition()
  13678. - Implemented GetCharIndexFromPosition()
  13679. - Implemented GetLineFromIndex()
  13680. - Implemented GetPositionFromCharIndex();
  13681. - Implemented SaveFile for PlainText and UnicodeText
  13682. - Fixed set_Font, now setting a new font applies that font to
  13683. the whole document
  13684. - Implemented generic Document to RTF converter
  13685. - Implemented SaveFile for RichText format (still missing unicode
  13686. conversion for non-ansi chars)
  13687. - Implemented get_Rtf
  13688. - Implemented get_SelectedRtf
  13689. 2005-11-09 Peter Dennis Bartok <[email protected]>
  13690. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  13691. to allow any captures to be released before triggering OnClick. This
  13692. way a click handler may capture the mouse without interference.
  13693. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  13694. This way we send them even though X may not allow a grab (if the window
  13695. isn't visible, for example)
  13696. 2005-11-08 Pedro Martinez Julia <[email protected]>
  13697. * DataGridViewRowEventArgs.cs: DataGridView implementation
  13698. * DataGridViewElement.cs: DataGridView implementation
  13699. * DataGridViewComboBoxCell.cs: DataGridView implementation
  13700. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  13701. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  13702. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  13703. * ImageLayout.cs: DataGridView implementation
  13704. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  13705. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  13706. * DataGridViewSelectionMode.cs: DataGridView implementation
  13707. * IDataGridViewEditingControl.cs: DataGridView implementation
  13708. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  13709. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  13710. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  13711. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  13712. * DataGridViewColumnSortMode.cs: DataGridView implementation
  13713. * DataGridView.cs: DataGridView implementation
  13714. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  13715. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  13716. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  13717. * Padding.cs: DataGridView implementation
  13718. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  13719. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  13720. * DataGridViewRowEventHandler.cs: DataGridView implementation
  13721. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  13722. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  13723. * DataGridViewButtonCell.cs: DataGridView implementation
  13724. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  13725. * DataGridViewEditMode.cs: DataGridView implementation
  13726. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  13727. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  13728. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  13729. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  13730. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  13731. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  13732. * DataGridViewCellEventHandler.cs: DataGridView implementation
  13733. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  13734. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  13735. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  13736. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  13737. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  13738. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  13739. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  13740. * QuestionEventArgs.cs: DataGridView implementation
  13741. * IDataGridViewEditingCell.cs: DataGridView implementation
  13742. * DataGridViewTriState.cs: DataGridView implementation
  13743. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  13744. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  13745. * DataGridViewColumnCollection.cs: DataGridView implementation
  13746. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  13747. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  13748. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  13749. * DataGridViewColumn.cs: DataGridView implementation
  13750. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  13751. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  13752. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  13753. * DataGridViewRow.cs: DataGridView implementation
  13754. * DataGridViewImageCellLayout.cs: DataGridView implementation
  13755. * DataGridViewImageCell.cs: DataGridView implementation
  13756. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  13757. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  13758. * DataGridViewHeaderCell.cs: DataGridView implementation
  13759. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  13760. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  13761. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  13762. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  13763. * QuestionEventHandler.cs: DataGridView implementation
  13764. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  13765. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  13766. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  13767. * DataGridViewCell.cs: DataGridView implementation
  13768. * DataGridViewCellEventArgs.cs: DataGridView implementation
  13769. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  13770. * DataGridViewCellStyle.cs: DataGridView implementation
  13771. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  13772. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  13773. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  13774. * TextFormatFlags.cs: DataGridView implementation
  13775. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  13776. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  13777. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  13778. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  13779. * DataGridViewButtonColumn.cs: DataGridView implementation
  13780. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  13781. * HandledMouseEventArgs.cs: DataGridView implementation
  13782. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  13783. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  13784. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  13785. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  13786. * DataGridViewRowCollection.cs: DataGridView implementation
  13787. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  13788. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  13789. * DataGridViewHitTestType.cs: DataGridView implementation
  13790. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  13791. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  13792. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  13793. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  13794. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  13795. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  13796. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  13797. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  13798. * DataGridViewContentAlignment.cs: DataGridView implementation
  13799. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  13800. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  13801. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  13802. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  13803. * DataGridViewPaintParts.cs: DataGridView implementation
  13804. * DataGridViewCellCollection.cs: DataGridView implementation
  13805. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  13806. * DataGridViewImageColumn.cs: DataGridView implementation
  13807. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  13808. * DataGridViewElementStates.cs: DataGridView implementation
  13809. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  13810. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  13811. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  13812. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  13813. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  13814. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  13815. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  13816. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  13817. * DataGridViewTextBoxCell.cs: DataGridView implementation
  13818. * DataGridViewBand.cs: DataGridView implementation
  13819. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  13820. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  13821. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  13822. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  13823. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  13824. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  13825. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  13826. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  13827. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  13828. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  13829. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  13830. 2005-11-08 Peter Dennis Bartok <[email protected]>
  13831. * ThemeWin32Classic.cs:
  13832. - Draw the outside focus rectangle around buttons
  13833. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  13834. doesn't use end caps for every dash of a line anymore. This
  13835. workaround ignores the forecolor.
  13836. 2005-11-08 Kornél Pál <[email protected]>
  13837. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  13838. endian safe.
  13839. 2005-11-07 Jackson Harper <[email protected]>
  13840. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  13841. 2005-11-07 Jackson Harper <[email protected]>
  13842. * ScrollableControl.cs: Calculate the maximum and change vars
  13843. (more) correctly so that scrollbars appear as a sensible size.
  13844. 2005-11-04 Jackson Harper <[email protected]>
  13845. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  13846. collection.
  13847. * TreeView.cs: When the tree is sorted null out the top_node so
  13848. that it is recalculated.
  13849. - Use dotted lines instead of dashed lines to match MS better.
  13850. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  13851. * ListView.cs:
  13852. - Implements key search for items. Useful when browsing files with FileDialog
  13853. - When changing view mode or when clear the items reset scrollbar positions
  13854. 2005-11-04 Jackson Harper <[email protected]>
  13855. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  13856. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  13857. as to what the method may do as there is no real way of creating a
  13858. derived CurrencyManager and calling the method.
  13859. 2005-11-03 Jackson Harper <[email protected]>
  13860. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  13861. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  13862. method which seems to just be used internally to refresh the tabs.
  13863. 2005-11-03 Jackson Harper <[email protected]>
  13864. * TabControl.cs: Implement the remove method. Fix some broken
  13865. comments.
  13866. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13867. * DateTimePicker.cs:
  13868. - Added missing DateTimePickerAccessibleObject class
  13869. - Added missing events
  13870. - Added OnFontChanged method
  13871. * Form.cs: Added missing attributes
  13872. * TreeView.cs: Added missing attributes
  13873. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13874. * GridItemCollection.cs: Fix signatures
  13875. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13876. * XplatUI.cs: Updated build rev/date
  13877. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  13878. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  13879. * Application.cs: Trigger context-specific ExitThread events
  13880. 2005-11-03 Jackson Harper <[email protected]>
  13881. * Menu.cs:
  13882. * MainMenu.cs:
  13883. * GridTableStylesCollection.cs:
  13884. * Timer.cs:
  13885. * TabPage.cs:
  13886. * HelpProvider.cs:
  13887. * StatusBar.cs:
  13888. * MonthCalendar.cs: Signature fixes
  13889. 2005-11-03 Jackson Harper <[email protected]>
  13890. * TreeNodeCollection.cs: Remove should not be virtual.
  13891. * TreeView.cs: Implement the last of the missing methods.
  13892. 2005-11-03 Jackson Harper <[email protected]>
  13893. * TreeNodeConverter.cs: Implement to get off my class-status back.
  13894. 2005-11-03 Jackson Harper <[email protected]>
  13895. * TreeView.cs: Hookup the bits for drag and drop.
  13896. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  13897. that nodes can be moved from tree to tree easily this just causes
  13898. all sorts of problems.
  13899. * TreeNodeCollection: Don't need to give treenodes an index and
  13900. treeview anymore when they are added, these are computed on the
  13901. fly. Also make sure to remove a node before its added.
  13902. 2005-11-03 Peter Dennis Bartok <[email protected]>
  13903. * TextControl.cs:
  13904. - Added CaretSelection enum
  13905. - Added comparison methods to Marker struct, makes selection code
  13906. more readable
  13907. - Added SelectionStart and SelectionEnd as 'moveable' location for
  13908. the CaretDirection enum and handler
  13909. - Added selection_prev variable to track optimized invalidation for
  13910. word and line selection
  13911. - Added SelectionVisible property (returns true if there is a valid
  13912. selection)
  13913. - Switched CaretHasFocus to only display the caret if there is no
  13914. visible selection
  13915. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  13916. using the direct character index; should be much faster
  13917. - Added various conditional debug statements
  13918. - Fixed invalidation calculation for selection ranges
  13919. - Added ExpandSelection() method to support word and line selection
  13920. - Switched SetSelectionToCaret to use new Marker compare overloads
  13921. - Added central IsWordSeparator() method to determine word
  13922. separators/whitespace and FindWordSeparator() to streamline common
  13923. usage of IsWordSeparator()
  13924. * TextBoxBase.cs:
  13925. - Removed unneeded grabbed variable, it was just mirroring
  13926. Control.Capture
  13927. - No longer firing OnTextChanged event when Text setter is called,
  13928. since the base will fire the event for us
  13929. - Added handling of Ctrl-Up/Down selection
  13930. - Added handling of Shift-Cursorkey selection
  13931. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  13932. words
  13933. - Added handling of Shift and Ctrl-Shift-Home/End selection
  13934. - Removed some debug output
  13935. - Added handling for single/double/tripple-click to place caret/
  13936. select word/select line respectively (Fixes bug #76031)
  13937. - Added support for drag expansion of word/line selection
  13938. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  13939. current selection
  13940. 2005-11-02 Jackson Harper <[email protected]>
  13941. * X11Dnd.cs: If the drag is going to and from a MWF window just
  13942. copy the data instead of sending it out through the X Selection
  13943. mechanism.
  13944. 2005-11-02 Jackson Harper <[email protected]>
  13945. * X11Dnd.cs:
  13946. * XplatUIX11.cs: When in a drag we don't want motion notify
  13947. messages to get passed on to the other controls. This prevents
  13948. mouse move messages from showing up in the drag source.
  13949. 2005-11-02 Jackson Harper <[email protected]>
  13950. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  13951. the correct button is release to end a drag.
  13952. * XplatUIX11.cs: Make the button state internal so the drag system
  13953. can access it. Dragging needs to know about all button releases,
  13954. not just left button.
  13955. 2005-11-02 Miguel de Icaza <[email protected]>
  13956. * Form.cs (Icon): If the icon is null, reset the icon to the
  13957. default value.
  13958. * Cursor.cs: When writing the AND-mask bitmap do not include the
  13959. number of colors, but hardcode those to two (black and white),
  13960. fixes the loading of color cursors (Paint Dot Net).
  13961. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  13962. turn off autoscaling.
  13963. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  13964. 2005-11-02 Jackson Harper <[email protected]>
  13965. * X11Dnd.cs: Make sure to send a status message if the pointer
  13966. enters a control that can not accept a drop, otherwise the cursor
  13967. isn't updated correctly. Also tried to compress the lines of code
  13968. a bit.
  13969. 2005-11-02 Jackson Harper <[email protected]>
  13970. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  13971. set actions correctly. This isn't perfect as XDND and win32 have
  13972. some differences on how you allow actions. I'll clear this up by
  13973. adding a path for drag from MWF to MWF windows.
  13974. * XplatUIX11.cs: Hook into the dnd system.
  13975. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  13976. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  13977. previously shown but they are no longer need it. Very obvious when
  13978. browsing files with FileDialog.
  13979. 2005-11-01 Peter Dennis Bartok <[email protected]>
  13980. * Control.cs: We always need to call OnPaintBackground. We pretty much
  13981. ignore AllPaintingInWmPaint and always do the painting there, whether
  13982. it's set or not, since we always ignore the WM_ERASEBKGND message
  13983. (which we don't generate on X11). This fixes #76616.
  13984. * Panel.cs: Removed unneeded background painting. This happens properly
  13985. in Control.cs already
  13986. 2005-10-31 Mike Kestner <[email protected]>
  13987. * Menu.cs: Add items to collection before setting their index.
  13988. * MenuItem.cs : add range checking with ArgumentException like MS.
  13989. [Fixes #76510]
  13990. 2005-10-31 Jackson Harper <[email protected]>
  13991. * ListBox.cs: Invalidate if the area is visible at all not just
  13992. contained in the visible rect. Fixes unselection of semi visible
  13993. items.
  13994. 2005-10-31 Jackson Harper <[email protected]>
  13995. * Control.cs: Consistently name the dnd methods. Make them
  13996. internal so we can override them to match some MS behavoir
  13997. internally.
  13998. * Win32DnD.cs: Use the new consistent names.
  13999. 2005-10-31 Jackson Harper <[email protected]>
  14000. * TreeView.cs: Don't draw the selected node when we lose focus.
  14001. 2005-10-31 Jackson Harper <[email protected]>
  14002. * X11Dnd.cs: We still need to reset the state even though a full
  14003. reset isn't being done, otherwise status's still get sent all over
  14004. the place.
  14005. 2005-10-31 Jackson Harper <[email protected]>
  14006. * Control.cs: Make the dnd_aware flag internal so the dnd
  14007. subsystem can check it. Catch exceptions thrown in dnd handlers to
  14008. match MS behavoir.
  14009. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  14010. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  14011. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  14012. flags to reduce the number of dnd enters/status's sent.
  14013. 2005-10-31 Jackson Harper <[email protected]>
  14014. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  14015. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  14016. * PictureBox.cs: Fixes 76512
  14017. 2005-10-28 Jackson Harper <[email protected]>
  14018. * X11Dnd.cs: Early implementation to support winforms being a drag
  14019. source for data on X11. Also restructured the converters so they
  14020. can go both ways now.
  14021. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  14022. 2005-10-27 Peter Dennis Bartok <[email protected]>
  14023. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  14024. clipboard requests
  14025. 2005-10-27 Jackson Harper <[email protected]>
  14026. * TreeNode.cs: Implement serialization so my DnD examples will work.
  14027. 2005-10-24 Kornél Pál <[email protected]>
  14028. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  14029. TreeView.cs: Don't dispose objects that are not owned.
  14030. 2005-10-24 Peter Dennis Bartok <[email protected]>
  14031. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  14032. should retrieve the current cursor and report that, but XplatUI
  14033. doesn't (yet) have an interface for that (and I'm not sure I even
  14034. can, on X11)
  14035. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  14036. until any message loop processing is done (and the WM_SETCURSOR
  14037. replaces the cursor to the proper one)
  14038. * XplatUIX11.cs:
  14039. - Fixed override behaviour, we can't set the cursor globally on X11,
  14040. just for our windows.
  14041. - Invalidating the System.Drawing X11 display handle when we are
  14042. shutting down
  14043. * Control.cs: Fix to make csc happy
  14044. 2005-10-23 Peter Dennis Bartok <[email protected]>
  14045. * TextBoxBase.cs:
  14046. - get_Text: Add last line (without trailing newline) to returned
  14047. value (Fixes 76212)
  14048. - get_TextLength: Count last line in returned length
  14049. - ToString: Call Text property instead of duplicating code
  14050. 2005-10-23 Kornél Pál <[email protected]>
  14051. * ImageList.cs: Dispose ImageAttributes objects.
  14052. 2005-10-22 Kornél Pál <[email protected]>
  14053. * ImageList.cs: Use attribute constructors with less arguments where
  14054. possible.
  14055. 2005-10-22 Kornél Pál <[email protected]>
  14056. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  14057. Use typeof instead of strings when assembly is referenced. Added
  14058. some more comments.
  14059. 2005-10-21 Jackson Harper <[email protected]>
  14060. * ListView.cs: Raise a double click event. Also tried to somewhat
  14061. fix when the selectedindexchanged event is raised. Its still
  14062. broken though.
  14063. 2005-10-21 Jackson Harper <[email protected]>
  14064. * TreeView.cs: New method to invalidate the plus minus area of a
  14065. node without invalidating the whole node (maybe this can be used
  14066. in some more places).
  14067. * TreeNodeCollection.cs: When adding to an empty node we need to
  14068. invalidate its plus minus area so the little block shows up.
  14069. 2005-10-21 Jackson Harper <[email protected]>
  14070. * TreeView.cs: Make sure that when we invalidate a node the bounds
  14071. are big enough to cover the selected box and the focus
  14072. rectangle. Use a different colour for the lines connecting nodes
  14073. so they show up with all themes.
  14074. 2005-10-21 Peter Dennis Bartok <[email protected]>
  14075. * NativeWindow.cs: Don't call anything that could call into the driver,
  14076. we might be on a different thread.
  14077. 2005-10-21 Peter Dennis Bartok <[email protected]>
  14078. * Control.cs(Dispose): Since Dispose might run on a different thread,
  14079. make sure that we call methods that could call into the driver via
  14080. invoke, to avoid thread issues
  14081. 2005-10-21 Peter Dennis Bartok <[email protected]>
  14082. * XplatUI.cs: Removed finalizer
  14083. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  14084. not allowing to be called on the finalizer thread.
  14085. 2005-10-21 Kornél Pál <[email protected]>
  14086. * ImageList.cs:
  14087. - Reverted r51889 and r51891.
  14088. - Added ImageListItem class that stores unmodified image items and image
  14089. properties required to create list images until handle is created.
  14090. - Added AddItem and moved image creation logic to AddItemInternal.
  14091. - Added CreateHandle method that creates images based on unmodified items.
  14092. - Added DestroyHandle that changes state to store unmodified items.
  14093. - Add and AddStrip methods no more create handle.
  14094. - ReduceColorDepth has no return value.
  14095. - Dispose destroys handle.
  14096. - Modified other methods to reflect the above changes.
  14097. - Implemented key support.
  14098. - Added profile 2.0 members and attributes.
  14099. - Added private Reset and ShouldSerialize methods that provide the same
  14100. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  14101. them as they are private.
  14102. - Added some more comments about implementation details.
  14103. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  14104. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  14105. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  14106. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  14107. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  14108. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  14109. * DataGridColumnStyle.cs: Remove debug message
  14110. 2005-10-20 Jackson Harper <[email protected]>
  14111. * TreeView.cs: We can always get input keys regardless of whether
  14112. or not editing is enabled. They are used for navigation.
  14113. 2005-10-20 Jackson Harper <[email protected]>
  14114. * TreeNode.cs: Use the viewport rect for determining if a node
  14115. needs to be moved for visibility. Don't use Begin/End edit. This
  14116. calls a full refresh when its done.
  14117. * TreeView.cs: New SetBottom works correctly. Make the viewport
  14118. rect property internal so the treenodes can see it. When clicking
  14119. on a node we need to ensure that its visible because it might just
  14120. be partly visible when clicked.
  14121. 2005-10-20 Jackson Harper <[email protected]>
  14122. * TreeNodeCollection.cs: Remove debug code.
  14123. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  14124. * Datagrid.cs: Implements column sorting in Datagrid
  14125. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  14126. 2005-10-20 Jackson Harper <[email protected]>
  14127. * TreeNodeCollection.cs: Remove items properly. Update the correct
  14128. area after removing them.
  14129. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  14130. * Datagrid.cs: Should not call base.OnPaintBackground
  14131. 2005-10-20 Peter Dennis Bartok <[email protected]>
  14132. * XplatUIX11.cs (GetMessage):
  14133. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  14134. window instead of client window
  14135. - Now properly calculates NC_xBUTTONUP message coordinates
  14136. - ScreenToMenu now properly calculates it's coordinates of whole
  14137. window, since menus are in the whole window, not in the client
  14138. window
  14139. - Added WholeToScreen coordinate translation method
  14140. 2005-10-20 Peter Dennis Bartok <[email protected]>
  14141. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  14142. want to return a message, loop back to the beginning of the function
  14143. and grab the next real message to process instead.
  14144. 2005-10-20 Peter Dennis Bartok <[email protected]>
  14145. * Splitter.cs: Properly set limits if no filler control is used
  14146. 2005-10-19 Jackson Harper <[email protected]>
  14147. * ColorDialog.cs: Don't show the help button if it is not enabled
  14148. instead of disabling it (this is what MS does). Don't create the
  14149. panel until the dialog is run, otherwise the vars (such as
  14150. ShowHelp) are not set yet.
  14151. 2005-10-19 Jackson Harper <[email protected]>
  14152. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  14153. are reduced when adding nodes.
  14154. * TreeNode.cs:
  14155. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  14156. tree.
  14157. 2005-10-19 Jackson Harper <[email protected]>
  14158. * FolderBrowserDialog.cs: End editing our treeview so the window
  14159. actually gets refreshed.
  14160. 2005-10-18 Peter Dennis Bartok <[email protected]>
  14161. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  14162. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  14163. inside of WM_PAINT
  14164. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  14165. * MenuAPI.cs: Returns after Hidding window
  14166. * XplatUIX11.cs: Added TODO found while debugging menu issues
  14167. 2005-10-18 Peter Dennis Bartok <[email protected]>
  14168. * XplatUIX11.cs: Do not re-map the whole window when it's size
  14169. becomes non-zero unless it's supposed to be actually visible
  14170. 2005-10-18 Jackson Harper <[email protected]>
  14171. * TreeView.cs: We don't need to keep a count anymore.
  14172. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  14173. use the Grow method.
  14174. 2005-10-18 Jackson Harper <[email protected]>
  14175. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  14176. implement it manually here.
  14177. 2005-10-18 Jackson Harper <[email protected]>
  14178. * ImageList.cs: Dont kill the list when the colour depth is
  14179. changed, just change the colour depth of all the images.
  14180. - Same goes for setting the image size. Just resize them all
  14181. instead of killing the list softly.
  14182. 2005-10-18 Jackson Harper <[email protected]>
  14183. * Control.cs: Don't invalidate empty rectangles.
  14184. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  14185. * ListViewItem.cs:
  14186. - Adds checked item to the Checked/Item lists (where empty before)
  14187. - Do not add items to the Selected lists if they are already present
  14188. * ListView.cs:
  14189. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  14190. - When deleting items make sure that we delete them for the Selected
  14191. and Checked list also.
  14192. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  14193. * Label.cs: Dispose objects no longer used
  14194. * ThemeWin32Classic.cs: Dispose objects no longer used
  14195. 2005-10-18 Jackson Harper <[email protected]>
  14196. * TabControl.cs: Don't refresh the whole control when the tabs are
  14197. scrolled, we just need to refresh the tab area.
  14198. 2005-10-17 Jackson Harper <[email protected]>
  14199. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  14200. after handle when we need it.
  14201. 2005-10-17 Peter Dennis Bartok <[email protected]>
  14202. * Control.cs: When the parent size changes, recalculate anchor
  14203. positions. Partial fix for #76462
  14204. 2005-10-17 Peter Dennis Bartok <[email protected]>
  14205. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  14206. drawn. Fixes #76462
  14207. 2005-10-17 Jackson Harper <[email protected]>
  14208. * MonthCalendar.cs: Don't create the numeric up down until our
  14209. handle is created. Otherwise our handle is created in the
  14210. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  14211. yet.
  14212. 2005-10-17 Jackson Harper <[email protected]>
  14213. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  14214. correctly.
  14215. 2005-10-17 Rafael Teixeira <[email protected]>
  14216. * TreeNode.cs : small logical fix (was using local var instead of field)
  14217. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  14218. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  14219. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  14220. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  14221. 2005-10-16 Peter Dennis Bartok <[email protected]>
  14222. * Control.cs:
  14223. - Re-implemented anchoring code. My first version was really broken.
  14224. This fixes bug #76033. Unlike the previous implementation we will
  14225. no longer have round errors since all numbers are calculated from
  14226. scratch every time. Removed various anchor-related obsolete vars.
  14227. - InitLayout no longer causes layout event firing and layout to be
  14228. performed
  14229. 2005-10-16 Jackson Harper <[email protected]>
  14230. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  14231. which was broken).
  14232. 2005-10-16 Jackson Harper <[email protected]>
  14233. * TabControl.cs: Remove debug code.
  14234. 2005-10-16 Jackson Harper <[email protected]>
  14235. * XEventQueue.cs: Increase the default queue size (very simple
  14236. apps needed to grow the queue).
  14237. * Hwnd.cs: No finalizer so we don't need to suppress
  14238. finalization. Compute the invalid area manually so a new rectangle
  14239. does not newto be created.
  14240. * ScrollableControl.cs: Don't set any params (otherwise visibility
  14241. isn't set correctly).
  14242. * MdiChildContext.cs: New constructor takes the mdi parent so it
  14243. doesn't have to be computed and avoids a crash on windows. Draw
  14244. the window icon properly, and allow the text to be seen.
  14245. * Form.cs: Use new MdiChildContext constructor. Make sure the
  14246. child context isn't null in wndproc.
  14247. * TabControl.cs: Don't set focus, this is muddling keyboard
  14248. behavoir. Expand the tab rows when a window size increase will
  14249. allow extra tabs to be seen. Don't allow tabs smaller than the
  14250. width of a window to be scrolled out of view.
  14251. * TreeNode.cs:
  14252. * TreeView.cs: Use measure string to calculate a nodes width, the
  14253. width is cached and only updated when the text or the font is
  14254. changed. Don't check for expand/collapse clicks on the first level
  14255. nodes if root lines are disabled.
  14256. 2005-10-16 Ritvik Mayank <[email protected]>
  14257. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  14258. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  14259. * DataGridBoolColumn.cs: fixes warning
  14260. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  14261. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  14262. to match more to match more precisely the MS Net behavior
  14263. 2005-10-13 Peter Dennis Bartok <[email protected]>
  14264. * Hwnd.cs: Added field to track if window is mapped
  14265. * XplatUIX11.cs:
  14266. - Unmap windows if they become 0-size, re-map when
  14267. they are >0 again; fixes #76035
  14268. - Re-set our error handler after initializing X11Desktop
  14269. to override any error handlers Gtk or whatever was called
  14270. may have set.
  14271. 2005-10-13 Peter Dennis Bartok <[email protected]>
  14272. * CheckedListBox.cs: Removed unused vars
  14273. * ListView.cs: Fixed signatures
  14274. * RichTextBox.cs: Removed unused vars
  14275. * TextBoxBase.cs: Removed unused vars
  14276. * XplatUIWin32.cs: Removed unused vars
  14277. * XplatUIX11.cs: Removed unused vars
  14278. * XplatUI.cs: Updated version and date to latest published
  14279. 2005-10-13 Peter Dennis Bartok <[email protected]>
  14280. * Cursor.cs: Added private .ctor to work around a bug in
  14281. resourceset (Thanks to Geoff Norton for the help on this)
  14282. * SplitterEventArgs.cs: Made fields accessible so we don't
  14283. waste boatloads of objects and can reuse the same one
  14284. in Splitter
  14285. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  14286. any captions and borders when generating screen coordinates
  14287. * Splitter.cs: Reimplemented control, now fully complete, uses
  14288. rubberband drawing, supports and obeys all properties, has
  14289. proper cursors
  14290. 2005-10-13 Miguel de Icaza <[email protected]>
  14291. * Form.cs (Form): Setup default values for autoscale and
  14292. autoscale_base_size; Make these instance variables, not static
  14293. variables.
  14294. (OnLoad): on the first load, adjust the size of the form.
  14295. 2005-10-13 Peter Dennis Bartok <[email protected]>
  14296. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  14297. width argument to DrawReversibleRectangle()
  14298. * XplatUIWin32.cs, XplatUIX11.cs:
  14299. - Implemented width for DrawReversibleRectangle()
  14300. - Added logic to DrawReversibleRectangle that recognizes a zero
  14301. width or height and only draws a line in that situation
  14302. 2005-10-12 Peter Dennis Bartok <[email protected]>
  14303. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  14304. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  14305. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  14306. method (it uses our FosterParent window to get a graphics context)
  14307. 2005-10-12 Peter Dennis Bartok <[email protected]>
  14308. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  14309. and SetWindowBackground methods
  14310. * Control.cs:
  14311. - Setting proper ControlStyles
  14312. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  14313. EraseWindowBackground, instead we draw the window background
  14314. ourselves in PaintControlBackground. This behaviour is
  14315. required to match MS, where, when OnPaintBackground is not
  14316. called, the background is not drawn.
  14317. - Removed unneeded Refresh() in set_Text
  14318. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  14319. * XplatUIX11.cs:
  14320. - Created DeriveStyles method to translate from CreateParams to
  14321. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  14322. matches FormBorderStyle enum values)
  14323. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  14324. style calculations into single DeriveStyles method
  14325. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  14326. from redrawing the whole window on any resize or expose.
  14327. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  14328. all styles were applied to our whole/client window appropriately
  14329. - Removed EraseWindowBackground() and SetWindowBackground() methods
  14330. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  14331. no longer clear/redraw the background through X
  14332. - Removed handling of erase_pending bit, we have no use for it (or
  14333. so it seems)
  14334. * XplatUIOSX.cs:
  14335. - Removed generation and handling of WM_ERASEBKGND message
  14336. - Removed EraseWindowBackground() and SetWindowBackground() methods
  14337. - Removed handling of hwnd.ErasePending flag
  14338. * XplatUIWin32.cs:
  14339. - Removed EraseWindowBackground() and SetWindowBackground() methods
  14340. - We no longer call EraseWindowBackground on PaintEventStart, we
  14341. ignore the fErase flag, erasing is handled in Control in the
  14342. background handler
  14343. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  14344. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  14345. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  14346. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  14347. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  14348. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  14349. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  14350. 2005-10-12 Jonathan Chambers <[email protected]>
  14351. * PropertyGrids.cs: Get sub properties
  14352. * PropertyGridView.cs: Fix drawing code
  14353. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  14354. * ListBox.cs: Fixes 76383
  14355. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  14356. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  14357. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  14358. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  14359. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  14360. * ComboBox.cs: Fixes border drawing
  14361. 2005-10-10 Miguel de Icaza <[email protected]>
  14362. * MimeIcon.cs: Ignore errors if the file can not be read.
  14363. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  14364. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  14365. - Fixed border calculations
  14366. - Fixed horizontal scrolling in single column listboxes
  14367. - Fixed drawing issues
  14368. 2005-10-10 Peter Dennis Bartok <[email protected]>
  14369. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  14370. FormBorderStyle enum
  14371. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  14372. code to determine FormBorderStyles from CreateParams
  14373. * Form.cs:
  14374. - Fixed bug where we'd set the wrong window styles if we were
  14375. not creating an MDI window
  14376. - Added call to XplatUI.SetBorderStyle when form borders are set
  14377. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  14378. * Hwnd.cs:
  14379. - Removed obsolete edge style
  14380. - Switched from BorderStyle to FormBorderStyle
  14381. 2005-10-10 Jackson Harper <[email protected]>
  14382. * Form.cs: Use the property to get the window handle instead of
  14383. accessing it directly. Prevents a null reference exception.
  14384. 2005-10-10 Jackson Harper <[email protected]>
  14385. * TreeView.cs: Don't adjust the rect given to DrawString now that
  14386. our libgdiplus draws correctly.
  14387. 2005-10-08 Jackson Harper <[email protected]>
  14388. * TreeView.cs: Don't try to find the clicked on node if there are
  14389. no nodes in the tree.
  14390. 2005-10-08 Alexander Olk <[email protected]>
  14391. * RichTextBox.cs:
  14392. restore
  14393. 2005-10-08 Alexander Olk <[email protected]>
  14394. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  14395. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  14396. ErrorProvider.cs:
  14397. Use ResPool for brushes and dispose System.Drawing objects that
  14398. are not used anymore.
  14399. 2005-10-07 Jackson Harper <[email protected]>
  14400. * MdiChildContext.cs: Use the new borders instead of drawing them
  14401. ourselves.
  14402. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  14403. * Calling UpdateBounds after changing the window's BorderStyle
  14404. since the style can change the ClientSize
  14405. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14406. * Control.cs: Made PaintControlBackground virtual
  14407. * Panel.cs: Overriding PaintControlBackground instead of using paint
  14408. event; paint event method was interfering with 'real' users of the
  14409. event.
  14410. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  14411. * ThemeWin32Classic.cs: remove border drawing since it is handled
  14412. by the base control class now and was causing double border drawing.
  14413. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14414. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  14415. but it does seem to match MS behaviour. This fixes bug #75324
  14416. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14417. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  14418. somewhat hackish looking
  14419. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14420. * TextBoxBase.cs:
  14421. - We now accept Enter even if AcceptEnter is false, if the containing
  14422. form does not have an AcceptButton configured (fixes bug #76355)
  14423. - Calculations are now fixed to no longer use Width/Height, but
  14424. ClientSize.Width/Height, since we now support borders (this was
  14425. a result of fixing borders and therefore bug #76166)
  14426. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  14427. true (fixes bug #76354)
  14428. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14429. * Control.cs:
  14430. - Defaulting BorderStyle and setting it in XplatUI when our window
  14431. is created
  14432. - Added enum check to InternalBorderStyle setter
  14433. * XplatUIX11.cs:
  14434. - Added drawing of window borders
  14435. - Now properly calculates WM decorations offset for toplevel
  14436. windows (fixes bug #74763)
  14437. * XplatUIWin32.cs:
  14438. - Implemented BorderStyles for windows (we're letting win32 draw
  14439. the border for us)
  14440. - Fixed the signature for SetWindowLong
  14441. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  14442. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  14443. setting borders
  14444. * UpDownBase.cs: Remove drawing of borders, this is handled by
  14445. the driver, outside the client area
  14446. * ListView.cs: Removed bogus border calculations. The control should
  14447. be oblivious to borders, since those are not part of the client
  14448. area.
  14449. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  14450. * ThemeWin32Classic.cs: Removed border calculations from ListView
  14451. drawing code
  14452. 2005-10-06 Jackson Harper <[email protected]>
  14453. * MdiChildContext.cs: Clear out the old virtual position remove
  14454. all the unneeded calls to CreateGraphics.
  14455. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14456. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  14457. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14458. * Form.cs:
  14459. - Added loading and setting of our new default icon
  14460. - Only set icon if window is already created
  14461. 2005-10-06 Peter Dennis Bartok <[email protected]>
  14462. * Label.cs:
  14463. - Do not explicitly set the foreground and background colors, to
  14464. allow inheriting from parents (fixes #76302)
  14465. - Use Control's InternalBorderStyle property to deal with borders
  14466. 2005-10-06 Jackson Harper <[email protected]>
  14467. * MdiChildContext.cs: Use the new xplatui function to draw a
  14468. reversible rect.
  14469. 2005-10-06 Jackson Harper <[email protected]>
  14470. * Form.cs: Add the parent before creating the child context cause
  14471. we need the parent when setting up the child.
  14472. 2005-10-06 Jackson Harper <[email protected]>
  14473. * FolderBrowserDialog.cs: redo the tree population code so a
  14474. second thread isn't used. Should be a lot faster and more stable
  14475. now.
  14476. 2005-10-05 Jackson Harper <[email protected]>
  14477. * TreeView.cs: There are no expand/collapse boxes if the node has
  14478. no children.
  14479. 2005-10-05 Jackson Harper <[email protected]>
  14480. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  14481. 2005-10-05 Alexander Olk <[email protected]>
  14482. * FileDialog.cs: Fix InitialDirectory
  14483. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  14484. * ComboBox.cs:
  14485. - Fixes changing between styles
  14486. - Fixes simple mode
  14487. - Fixes last item crashing when navigating with keyboard
  14488. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  14489. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  14490. 2005-10-05 Jackson Harper <[email protected]>
  14491. * TreeView.cs: If updating the root node do a full refresh.
  14492. * TreeNode.cs: The root node should be expanded by default. Also
  14493. added a utility prop to tell if we are the root node.
  14494. * TreeNodeCollection.cs: Only refresh if the node we are being
  14495. added to is expanded. Also added a comment on a potential
  14496. optimization.
  14497. 2005-10-04 Peter Dennis Bartok <[email protected]>
  14498. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  14499. in dispose method. Fixes #76330
  14500. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  14501. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  14502. - Implements vertical and horizontal scrolling using XplatUI
  14503. - Fixes keyboard navagation
  14504. - Fixes EnsureVisible
  14505. - Drawing fixes
  14506. - Handles and draws focus properly
  14507. 2005-10-04 Kornél Pál <[email protected]>
  14508. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  14509. Create handle. NET_2_0: Destroy handle when value is null.
  14510. 2005-10-03 Jackson Harper <[email protected]>
  14511. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  14512. revert and a new patch to prevent the thumb from refreshing so
  14513. much.
  14514. 2005-10-02 Jackson Harper <[email protected]>
  14515. * ScrollBar.cs: Don't update position if it hasn't actually
  14516. changed. This occurs when you hold down the increment/decrement
  14517. buttons and the thumb gets to the max/min.
  14518. 2005-10-01 Jackson Harper <[email protected]>
  14519. * Form.cs:
  14520. * MdiChildContext.cs:
  14521. * MdiClient.cs: Implement ActiveMdiChild in Form.
  14522. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  14523. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  14524. 2005-10-01 Peter Dennis Bartok <[email protected]>
  14525. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  14526. be found
  14527. 2005-09-30 Jackson Harper <[email protected]>
  14528. * ListBox.cs: Don't do a full refresh unless some data has
  14529. actually changed.
  14530. 2005-09-30 Jackson Harper <[email protected]>
  14531. * TreeView.cs: Make sure that the checkboxes size is factored in
  14532. even when not visible.
  14533. 2005-09-30 Peter Dennis Bartok <[email protected]>
  14534. * FileDialog.cs: Fix Jordi's build break
  14535. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  14536. * FileDialog.cs:
  14537. - Use standard the Windows colours for the combobox as espected
  14538. - Dispose objects that use resouces when no longer need them
  14539. 2005-09-30 Peter Dennis Bartok <[email protected]>
  14540. * X11DesktopColors.cs: Initial incomplete implementation
  14541. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  14542. 2005-09-30 Peter Dennis Bartok <[email protected]>
  14543. * Theme.cs:
  14544. - Switched Theme color names to match the names defined in
  14545. System.Drawing.KnownColors. Life's hard enough, no need to make
  14546. it harder.
  14547. - Added setters to all theme color properties so themes can set
  14548. their color schemes. The setters also propagate the color changes
  14549. to System.Drawing.KnownColors via reflection
  14550. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  14551. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  14552. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  14553. use the new, more logical theme color names
  14554. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  14555. post-NT colors
  14556. * ThemeWin32Classic.cs:
  14557. - Removed code to set the old classic Windows colors. Instead it
  14558. now relies on the colors returned by System.Drawing.KnownColors
  14559. which will be either modern static colors (Unix) or colors
  14560. read from the user's configuration (Win32)
  14561. - Updated to use the new, more logical theme color names
  14562. - Switched DataGrid drawing code to use only Theme colors instead of
  14563. a mix of System.Drawing.KnownColors and Theme colors
  14564. - DrawFrameControl(): Removed code that fills the button area, the
  14565. fill would overwrite any previous fill done by a control. This
  14566. fixes bug #75338
  14567. - Added DrawReversibleRectangle() stub
  14568. * ScrollableControl.cs: Set visible state to false when scrollbars
  14569. are removed (pdn fix)
  14570. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  14571. DrawReversibleRectangle() method to allow drawing primitive
  14572. 'rubber bands'
  14573. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  14574. 2005-09-30 Kornél Pál <[email protected]>
  14575. * ImageList.cs: Add(Icon): Create handle.
  14576. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  14577. * ListView.cs:
  14578. * ThemeWin32Classic.cs:
  14579. - Fixes detail mode
  14580. - Sets clippings
  14581. - Issues with drawing
  14582. 2005-09-30 Kornél Pál <[email protected]>
  14583. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  14584. source has to be the ImageList.
  14585. 2005-09-30 Kornél Pál <[email protected]>
  14586. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  14587. 2005-09-30 Kornél Pál <[email protected]>
  14588. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  14589. 2005-09-30 Kornél Pál <[email protected]>
  14590. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  14591. 2005-09-29 Jonathan Chambers <[email protected]>
  14592. * GridItem.cs: Fixed TODOs
  14593. * GridItemCollection.cs: Added ICollection interface
  14594. 2005-09-30 Kornél Pál <[email protected]>
  14595. * ImageList.cs: Resize icons when needed.
  14596. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  14597. * ListViewItem.cs
  14598. - Fixes GetBounds and returns on screen rects
  14599. * ListView.cs:
  14600. - Fixes vertical and horzintal scrolling of items
  14601. * ThemeWin32Classic.cs:
  14602. - Fixes drawing
  14603. 2005-09-29 Raja R Harinath <[email protected]>
  14604. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  14605. 2005-09-29 Kornél Pál <[email protected]>
  14606. * ImageList.cs: Added comments about handle creation. Moved Handle,
  14607. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  14608. Handle is created in Add methods.
  14609. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  14610. * DataGridDrawingLogic.cs:
  14611. - Takes rows into account on Colum calculations
  14612. - Returns the column when clickig
  14613. * DataGrid.cs:
  14614. - Fixes default HitTestInfo values
  14615. - Fixes HitTestInfo.ToString
  14616. - Fixes ResetBackColor
  14617. 2005-09-28 Jackson Harper <[email protected]>
  14618. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  14619. sizing or cursor changes). Also added some temp code to draw the
  14620. titlebars text (Makes dev a little easier).
  14621. 2005-09-28 Kornél Pál <[email protected]>
  14622. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  14623. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  14624. * ListBox.cs: Fixes bug 76253
  14625. 2005-09-28 Kornél Pál <[email protected]>
  14626. * ImageList.cs: Added comments about the current implementation. Added
  14627. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  14628. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  14629. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  14630. with Bitmap.LockBits for better performance. Revised the whole file to
  14631. match MS.NET behaviour and provide better performance. Non-public
  14632. interface members are calling public members even when they throw
  14633. NotSupportedException for better maintainability. Moved ColorDepth,
  14634. ImageSize, ImageStream and TransparentColor implementations to
  14635. ImageCollection for better performance as these properties are not used
  14636. by ImageList.
  14637. * ImageListStreamer.cs: Added a new internal constructor that takes an
  14638. ImageList.ImageCollection and serializes Images based on
  14639. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  14640. match ImageList property name.
  14641. 2005-09-28 Kazuki Oikawa <[email protected]>
  14642. * ListBox.cs: Fixes IndexFromPoint for last item
  14643. 2005-09-27 Jackson Harper <[email protected]>
  14644. * Form.cs: Set the position of new mdi children correctly.
  14645. 2005-09-27 Jackson Harper <[email protected]>
  14646. * MdiClient.cs: New mdi children need to be added to the back of
  14647. the controls collection so the zorder is set correctly. Also add a
  14648. count of all the child windows that have been created.
  14649. 2005-09-27 Jackson Harper <[email protected]>
  14650. * Form.cs (CreateParams): Setup MDI forms correctly.
  14651. 2005-09-27 Jackson Harper <[email protected]>
  14652. * MdiChildContext.cs:
  14653. * MonthCalendar.cs:
  14654. * UpDownBase.cs:
  14655. * ListBox.cs:
  14656. * ListView.cs:
  14657. * TextBoxBase.cs:
  14658. * TreeView.cs:
  14659. * ScrollableControl.cs:
  14660. * ComboBox.cs: Add implicit controls using the new implict control
  14661. functionality in ControlCollection. Also try to block multiple
  14662. control add in a suspend/resume layout to save some cycles.
  14663. 2005-09-27 Jackson Harper <[email protected]>
  14664. * Control.cs: Add functionality to the controls collection to add
  14665. 'implicit controls' these are controls that are created by the
  14666. containing control but should not be exposed to the user. Such as
  14667. scrollbars in the treeview.
  14668. * Form.cs: The list var of the ControlsCollection is no longer
  14669. available because of the potential of implicit controls getting
  14670. ignored by someone accessing the list directly.
  14671. 2005-09-26 Peter Dennis Bartok <[email protected]>
  14672. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  14673. loose it's parent. (Fixed bug introduced in r49103 when we added
  14674. setting the child parent to null on Remove)
  14675. 2005-09-26 Gert Driesen <[email protected]>
  14676. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  14677. * Splitter.cs: Added missing attributes for BorderStyle property.
  14678. * TextBoxBase.cs: Marked Calculate* methods internal.
  14679. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  14680. MS.NET.
  14681. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  14682. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  14683. 2005-09-25 Jackson Harper <[email protected]>
  14684. * TreeView.cs: Update the node bounds correctly regardless of
  14685. whether the node is visible.
  14686. 2005-09-25 Jackson Harper <[email protected]>
  14687. * ImageList.cs: Don't dispose the image after it is added to the
  14688. image list. Only reformat images that need to be resized.
  14689. 2005-09-25 Jackson Harper <[email protected]>
  14690. * ImageList.cs: Don't set the format when changing the image.
  14691. 2005-09-25 Jackson Harper <[email protected]>
  14692. * TreeView.cs: We can't just assume the node has a font. Use the
  14693. treeviews font if no node font is available.
  14694. 2005-09-25 Jackson Harper <[email protected]>
  14695. * TreeView.cs: Allow the scrollbars to be reset with negative
  14696. values.
  14697. - Don't add scrollbars to negative sized windows.
  14698. 2005-09-23 Jackson Harper <[email protected]>
  14699. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  14700. old Mono.Posix. Also remove some stray code that shouldn't have
  14701. been committed.
  14702. 2005-09-23 Jackson Harper <[email protected]>
  14703. * TreeView.cs: Attempt at proper sizing of the horizontal
  14704. scrollbar. Also don't resize the scrollbars unless they are
  14705. visible.
  14706. 2005-09-23 Jackson Harper <[email protected]>
  14707. * TreeView.cs: We don't need to expand the invalid area when the
  14708. selection changes, as this is all drawn in the node's bounding
  14709. box. The area needs to be expanded (previous typo was contracting
  14710. it) when the focus rect moves.
  14711. 2005-09-23 Jackson Harper <[email protected]>
  14712. * TreeView.cs: Display the selection box under the correct
  14713. circumstances. We were rendering white text with no selection box
  14714. before.
  14715. 2005-09-23 Peter Dennis Bartok <[email protected]>
  14716. * TextControl.cs(Split): Now updates selection start/end if it points
  14717. into a line that's being split. Fixes a FIXME and bug #75258
  14718. 2005-09-23 Jackson Harper <[email protected]>
  14719. * Binding.cs:
  14720. * ListControl.cs: Don't use the path when retrieving binding
  14721. managers from the binding context. My bat sense tells me that the
  14722. path is only used on insertion.
  14723. 2005-09-22 Jackson Harper <[email protected]>
  14724. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  14725. 2005-09-22 Jackson Harper <[email protected]>
  14726. * Splitter.cs: There are special cursors used for splitting.
  14727. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  14728. 2005-09-22 Jackson Harper <[email protected]>
  14729. * Splitter.cs: Change the cursor appropriately when the splitter
  14730. is moused over, so the user actually knows there is a splitter
  14731. there.
  14732. 2005-09-22 Hisham Mardam Bey <[email protected]>
  14733. * Label.cs : Fix ToString method to give same output as MS.NET
  14734. 2005-09-22 Jackson Harper <[email protected]>
  14735. * TreeView.cs: Create the scrollbars when the handle is created
  14736. and add them right away, just make them invisble. Also account for
  14737. the window being shrunk vertically to the point that the vert
  14738. scrollbar needs to be added.
  14739. - Remove some 0.5 adjustments to get around anti aliasing issues.
  14740. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  14741. * MainMenu.cs: Fixes default value
  14742. * MenuItem.cs: Fixes default value
  14743. 2005-09-22 Kazuki Oikawa <[email protected]>
  14744. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  14745. 2005-09-21 Jackson Harper <[email protected]>
  14746. * Control.cs: Don't try to set the border style on the window if
  14747. it hasn't been created. When the window is created the border
  14748. style will be used.
  14749. 2005-09-21 Peter Dennis Bartok <[email protected]>
  14750. * Control.cs (Update): Don't call XplatUI if we don't have a
  14751. window handle yet
  14752. 2005-09-21 Peter Dennis Bartok <[email protected]>
  14753. * ContainerControl.cs: Instead of throwing an exception, print
  14754. a one-time warning about Validate not being implemented
  14755. * XplatUIWin32.cs: Removed debug output
  14756. 2005-09-21 Peter Dennis Bartok <[email protected]>
  14757. * Control.cs: Only set XplatUI background if we expect the windowing
  14758. system to handle the background. This stops controls that draw their
  14759. own background from flickering
  14760. * XplatUIX11.cs: Support custom visuals and colormaps for window
  14761. creation. This allows, amongst other things, using MWF X11 windows
  14762. with OpenGL.
  14763. 2005-09-21 Peter Dennis Bartok <[email protected]>
  14764. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  14765. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  14766. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  14767. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  14768. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  14769. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  14770. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  14771. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  14772. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  14773. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  14774. GridColumnStylesCollection.cs,
  14775. IDataGridColumnStyleEditingNotificationService.cs,
  14776. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  14777. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  14778. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  14779. TreeNodeCollection.cs, AmbientProperties.cs,
  14780. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  14781. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  14782. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  14783. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  14784. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  14785. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  14786. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  14787. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  14788. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  14789. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  14790. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  14791. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  14792. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  14793. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  14794. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  14795. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  14796. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  14797. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  14798. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  14799. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  14800. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  14801. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  14802. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  14803. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  14804. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  14805. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  14806. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  14807. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  14808. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  14809. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  14810. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  14811. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  14812. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  14813. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  14814. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  14815. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  14816. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  14817. 2005-09-21 Jackson Harper <[email protected]>
  14818. * TreeNode.cs: Call Before/After Expand not Collapse when
  14819. expanding.
  14820. 2005-09-20 Jackson Harper <[email protected]>
  14821. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  14822. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  14823. * ListViewItem.cs:
  14824. - Fixes bug 76120
  14825. - Fixes proper storing of subitems
  14826. - Fixes not updated items
  14827. 2005-09-20 Peter Dennis Bartok <[email protected]>
  14828. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  14829. things if our window handle isn't created yet. Also disabled
  14830. debug for TextBoxBase
  14831. 2005-09-20 Peter Dennis Bartok <[email protected]>
  14832. * MenuAPI.cs: Remove filtering of events to allow menu usage
  14833. 2005-09-20 Miguel de Icaza <[email protected]>
  14834. * Cursor.cs: Allow null to be passed to Cursor.Current.
  14835. 2005-09-20 Alexander Olk <[email protected]>
  14836. * ThemeWin32Classic.cs:
  14837. - Change some private methods/fields to protected virtual so that
  14838. they can be accessed and overriden in derived classes
  14839. - First refactoring of some methods. Derived themes now don't
  14840. need to duplicate the complete code from ThemeWin32Classic
  14841. * ThemeNice.cs:
  14842. - Added nice StatusBar
  14843. - Derive from ThemeWin32Classic and not Theme
  14844. - Removed duplicate ThemeWin32Classic code
  14845. 2005-09-20 Miguel de Icaza <[email protected]>
  14846. * Control.cs (ControlCollection.Add): If the value null is passed
  14847. the control is ignored.
  14848. Optimize this loop.
  14849. 2005-09-19 Peter Dennis Bartok <[email protected]>
  14850. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  14851. PostQuitMessage state.
  14852. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  14853. 2005-09-19 Peter Dennis Bartok <[email protected]>
  14854. * Application.cs: Our constructor will never get called, move
  14855. initialization to fields; fixes bug #75933
  14856. 2005-09-19 Hisham Mardam Bey <[email protected]>
  14857. * FileDialog.cs :
  14858. - Allow files to be selected properly using file name
  14859. combo box.
  14860. - Add ability to change diretory (absolute / relative)
  14861. using file name combo box.
  14862. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  14863. * ListBox.cs:
  14864. - Fixes Multicolumn listboxes item wrong calculations
  14865. - Allows to click when only one item is in the listbox
  14866. - Fixes crash when no items using keyboard navigation
  14867. 2005-09-16 Alexander Olk <[email protected]>
  14868. * ComboBox.cs: Reverted almost everything from the latest patch which
  14869. broke ComboBox
  14870. 2005-09-16 Kazuki Oikawa <[email protected]>
  14871. * ToolTip.cs:
  14872. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  14873. * ComboBox.cs:
  14874. - When DropDownStyle is Simple, it does not show scrollbar
  14875. to the last item of the list.
  14876. - When DropDownStyle is Simple, it crashed when the list was
  14877. scrolled down with the down cursor key.
  14878. - Fixed a bug that when DropDownStyle is DropDownList, the
  14879. selected item was not shown.
  14880. - The position of the selected item was not preserved when
  14881. the next dropdown happened.
  14882. * ThemeWin32Classic.cs:
  14883. - Items were wrapped at the right end.
  14884. * CheckedListBox.cs:
  14885. - Fixed Add method
  14886. * ListBox.cs:
  14887. - Items should be fully shown.
  14888. - When resizing and vertical scrollbar disappeared, the item
  14889. of index 0 should be on the top of the list.
  14890. - GetItemRectangle should consider the size of ver. scrollbar
  14891. * StatusBar.cs:
  14892. - SizingGrip area should not be allocated when it is not
  14893. displayed.
  14894. - Now it reflects MinWidth of the containing panel and
  14895. fixed a crash that happens when its width becomes so small.
  14896. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  14897. * CheckedListBox.cs: Fixes bug 76028
  14898. * ListBox.cs: Fixes bug 76028
  14899. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  14900. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  14901. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  14902. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  14903. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  14904. 2005-09-09 Jonathan Chambers <[email protected]>
  14905. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  14906. 2005-09-09 Jonathan Chambers <[email protected]>
  14907. * IRootGridEntry.cs: Added
  14908. * PropertyGridCommands.cs: Added
  14909. * PropertiesTab.cs: Added missing methods and property
  14910. * PropertyGridView.cs: Made class internal
  14911. * PropertyGridTextBox.cs: Made class internal
  14912. 2005-09-09 Alexander Olk <[email protected]>
  14913. * MimeIcon.cs: Try to check some other environment variables
  14914. if "DESKTOP_SESSION" returns "default"
  14915. 2005-09-09 Alexander Olk <[email protected]>
  14916. * ThemeNice.cs: Corrected background colors (e.g. menus)
  14917. * ColorDialog.cs: Use correct background colors for controls
  14918. 2005-09-09 Alexander Olk <[email protected]>
  14919. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  14920. 2005-09-08 Peter Dennis Bartok <[email protected]>
  14921. * RichTextBox.cs: Added initial implementation
  14922. * lang.cs: Removed. Was accidentally checked in long time ago
  14923. * TODO: Removed. Contents were obsolete
  14924. 2005-09-06 Jonathan Chambers <[email protected]>
  14925. * PropertiesTab.cs : Added
  14926. 2005-09-06 Jonathan Chambers <[email protected]>
  14927. * PropertyGrid.cs : Update
  14928. * PropertyGridView.cs : Update
  14929. * System.Windows.Forms.resx : Added images and strings
  14930. 2005-09-06 Peter Dennis Bartok <[email protected]>
  14931. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  14932. 2005-09-06 Peter Dennis Bartok <[email protected]>
  14933. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  14934. a busy loop right after the Ungrab the X11 display is otherwise
  14935. blocked
  14936. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  14937. * ThemeWin32Classic.cs: Optimise the use of clipping
  14938. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  14939. * DataGrid.cs: fixes recursion bug
  14940. 2005-09-03 Alexander Olk <[email protected]>
  14941. * ThemeNice.cs:
  14942. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  14943. - Cleanup
  14944. 2005-09-02 Alexander Olk <[email protected]>
  14945. * ThemeNice.cs: Draw nice ProgressBars
  14946. 2005-09-01 Miguel de Icaza <[email protected]>
  14947. * VScrollBar.cs: Another buglet found by Aaron's tool.
  14948. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  14949. bug finder.
  14950. 2005-08-30 Alexander Olk <[email protected]>
  14951. * ThemeNice.cs:
  14952. - Added nicer menu drawing
  14953. - Updated DrawTab
  14954. - some refactoring
  14955. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14956. * CreateParams.cs (ToString): Made output match MS
  14957. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  14958. handle is already created (to avoid forcing window creation)
  14959. * XplatUIX11.cs: Set window text to caption after creating window,
  14960. in case Text was set before window was created
  14961. * Form.cs: Use this.Text instead of a static string as caption
  14962. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14963. * NotifyIcon.cs: Don't set the window to visible; this screws
  14964. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  14965. OnPaint without a bitmap)
  14966. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  14967. happen very often anyway; we could add the check to the WM_PAINT
  14968. event generation code
  14969. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14970. * NotifyIcon.cs: Fill the icon area with a background color, to
  14971. avoid 'residue' when transparent icons are drawn
  14972. * XplatUIX11.cs:
  14973. - Handle whole_window == client_window when destroying windows
  14974. - SystrayAdd(): Set client_window to whole_window value to
  14975. get mouse and other events passed to NotifyIcon
  14976. 2005-08-30 Peter Dennis Bartok <[email protected]>
  14977. * Form.cs: Set proper default for Opacity property
  14978. * NotifyIcon.cs:
  14979. - ShowSystray(): Don't bother creating telling the OS
  14980. about the systray item if no icon is provided
  14981. - Now handles WM_NCPAINT message to deal with whole/client window
  14982. split
  14983. - Create window as visible to not get caught by Expose optimization
  14984. * Hwnd.cs: Removed debug message
  14985. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  14986. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  14987. PaintEventStart/End to use new client argument
  14988. * TextBoxBase.cs:
  14989. - Commented out debug messages
  14990. - Switched PaintEventStart/End to use new client argument
  14991. * XplatUI.cs: Added client window bool to PaintEventStart()/
  14992. PaintEventEnd() calls, to support drawing in non-client areas
  14993. * XplatUIDriver.cs:
  14994. - Added client window bool to PaintEventStart()/PaintEventEnd()
  14995. calls, to support drawing in non-client areas
  14996. - Added conditional compile to allow using MWF BeginInvoke
  14997. on MS runtime
  14998. * XplatUIX11.cs:
  14999. - Added some conditional debug output
  15000. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  15001. whole/client window split
  15002. - Implemented handling of client argument to PaintEventStart()/End()
  15003. * Control.cs:
  15004. - Throw exception if BeginInvoke() is called and the window handle
  15005. or one of the window's parent handles is not created
  15006. - Added conditional compile to allow using MWF BeginInvoke on
  15007. MS runtime
  15008. - get_Parent(): Only sets parent if handle is created. This avoids
  15009. forcing window handle creation when parent is set.
  15010. - Now fires Layout and Parent changed events in proper order
  15011. - Switched to use Handle instead of window.Handle for Z-Order setting,
  15012. the get_Parent() patch above causes us to possibly get null for 'window'
  15013. - Implemented handling of client argument to PaintEventStart()/End()
  15014. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  15015. default handling)
  15016. - Now sends a Refresh() to all child windows when Refresh() is called
  15017. 2005-08-29 Peter Dennis Bartok <[email protected]>
  15018. * Form.cs: Added (non-functional) Opacity property
  15019. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  15020. 2005-08-29 Alexander Olk <[email protected]>
  15021. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  15022. use export MONO_THEME=nice to activate it.
  15023. Currently supported controls:
  15024. - Button
  15025. - ComboBox
  15026. - ScrollBar
  15027. - TabControl (TabAlignment.Top only, other will follow)
  15028. * ThemeEngine.cs: Add theme nice
  15029. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  15030. if enabled
  15031. 2005-08-25 Jonathan Chambers <[email protected]>
  15032. * Splitter.cs: Resize docked control and its neighbor.
  15033. 2005-08-24 Rafael Teixeira <[email protected]>
  15034. -- Making Windows with Menus layout correctly --
  15035. * Form.cs : The first leg of the fix
  15036. Menu setter - adjust Client Size as needed to make space for the menu
  15037. SetClientSizeCore - doesn't call base version to be able to pass the
  15038. menu handle to XplatUI.CalculateWindowRect
  15039. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  15040. * XplatUIX11.cs: The critical second leg of the fix
  15041. GetWindowPos needs to use a recalculated client_rect
  15042. so that resizing the window doesn't break layout of child controls.
  15043. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  15044. Lots of \t\n killed
  15045. 2005-08-23 Peter Dennis Bartok <[email protected]>
  15046. * Label.cs: Now properly recalculates width and height on Font and Text
  15047. changes if AutoSize is set
  15048. 2005-08-19 Rafael Teixeira <[email protected]>
  15049. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  15050. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  15051. * ImageList.cs: Makes ToString method compatible with MS
  15052. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  15053. * MenuAPI.cs: fixes bug 75716
  15054. 2005-08-11 Umadevi S <[email protected]>
  15055. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  15056. 2005-08-11 Umadevi S <[email protected]>
  15057. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  15058. 2005-08-10 Umadevi S <[email protected]>
  15059. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  15060. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  15061. * Menu.cs: fixes bug 75700
  15062. * MenuAPI.cs: fixes navigation issues
  15063. 2005-08-09 Umadevi S <[email protected]>
  15064. * CheckedListBox.cs - simple fix for GetItemChecked.
  15065. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  15066. * ComboBox.cs: Serveral fixes
  15067. * ListBox.cs: Serveral fixes
  15068. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  15069. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  15070. * ListBox.cs: Fixes FindString methods
  15071. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  15072. * DataGrid.cs: fixes bugs exposed by new tests
  15073. 2005-08-04 Peter Dennis Bartok <[email protected]>
  15074. * Mime.cs: Compile Mono assembly references only if compiling
  15075. with Mono (Allows to build with VS.Net again)
  15076. 2005-07-28 Marek Safar <[email protected]>
  15077. * Control.cs (PaintControlBackground): Draw background image
  15078. corrrectly.
  15079. (CheckForIllegalCrossThreadCalls): Stubbed.
  15080. * Form.cs (OnCreateControl): Center when should be centered.
  15081. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  15082. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  15083. * Binding.cs: Binding to properties should be case unsensitive
  15084. 2005-07-18 [email protected]
  15085. * DataGrid.cs: fixes setmember order
  15086. 2005-07-07 Alexander Olk <[email protected]>
  15087. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  15088. * FileDialog.cs: FileDialog is now resizable and uses the new
  15089. MimeIconEngine
  15090. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  15091. * DataGridTextBoxColumn.cs: default value
  15092. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  15093. * GridTableStylesCollection.cs: fixes checking MappingName
  15094. * DataGridDrawingLogic.cs: fixes drawing logic issues
  15095. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  15096. * DataGrid.cs: fixes
  15097. 2005-07-06 Alexander Olk <[email protected]>
  15098. * MimeGenerated.cs: Use case sensitive comparer for
  15099. NameValueCollections
  15100. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  15101. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  15102. * ThemeWin32Classic.cs: bug fixes, code refactoring
  15103. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  15104. * DataGrid.cs: bug fixes, code refactoring
  15105. * DataGridTextBox.cs: bug fixes, code refactoring
  15106. * DataGridColumnStyle.cs: bug fixes, code refactoring
  15107. * Theme.cs: bug fixes, code refactoring
  15108. 2005-07-01 Peter Bartok <[email protected]>
  15109. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  15110. and other text box usage
  15111. 2005-07-01 Jackson Harper <[email protected]>
  15112. * TabControl.cs: Make sure the bottom of the tab covers the pages
  15113. border.
  15114. 2005-06-30 Peter Bartok <[email protected]>
  15115. * Form.cs (ShowDialog): Assign owner of the dialog
  15116. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  15117. might have been moved to a tag with different height
  15118. 2005-06-30 Jackson Harper <[email protected]>
  15119. * Form.cs: Don't create an infinite loop when setting focus
  15120. * MenuItem.cs: Don't dirty the parents if we don't have any
  15121. 2005-06-29 Ben Maurer <[email protected]>
  15122. * LibSupport.cs: Rename
  15123. 2005-06-29 Peter Bartok <[email protected]>
  15124. * TextBoxBase.cs: Re-align caret after deleting a character
  15125. * TextControl.cs:
  15126. - DeleteChars(): Ensure that tag covers the provided position
  15127. - StreamLine(): Drop reference for dropped tag
  15128. 2005-06-29 Peter Bartok <[email protected]>
  15129. * TextControl.cs:
  15130. - Selections now work properly, anchoring at the initial location
  15131. and properly extending in either direction (SetSelectionToCaret(),
  15132. SetSelectionStart() and SetSelectionEnd())
  15133. - No longer redraws the whole control on selection change, now
  15134. calculates delta between previous and new selection and only
  15135. invalidates/redraws that area
  15136. - Fixed FindPos() math off-by-one errors
  15137. - Changed DeleteChars() to verify the provided tag covers the
  15138. provided position, selections may have a tag that doesn't cover
  15139. the position if the selection is at a tag border
  15140. - Fixed off-by-one errors in DeleteChars()
  15141. - Added missing streamlining check in DeleteChars() to remove
  15142. zero-length tags
  15143. - Implemented Invalidate() method, now properly calculates exposures
  15144. between two given lines/positions
  15145. - Implemented SetSelection()
  15146. - Obsoleted and removed FixupSelection()
  15147. - Improved RecalculateDocument() logic, removing code duplication
  15148. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  15149. * LibSupport.cs: changes to match different input/output arguments.
  15150. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  15151. * LibSupport.cs: added libsupport.so init routine.
  15152. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  15153. * ControlBindingsCollection.cs
  15154. - Throws an exception on null datasource when adding
  15155. - Checks for duplicated bindings when adding
  15156. 2005-06-28 Jackson Harper <[email protected]>
  15157. * TreeView.cs (OnKeyDown): Support left and right properly
  15158. (navigates as well as expanding and collapsing.
  15159. - Add support for Multiply, this expands all the selected nodes
  15160. children.
  15161. - Fix some tabbing.
  15162. 2005-06-28 Jackson Harper <[email protected]>
  15163. * TreeView.cs: Implement keyboard navigation, currently supports,
  15164. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  15165. support for toggling checkboxes with the space bar.
  15166. 2005-06-28 Jackson Harper <[email protected]>
  15167. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  15168. tree.
  15169. 2005-06-28 Jackson Harper <[email protected]>
  15170. * TreeView.cs: Add missing event.
  15171. 2005-06-27 Peter Bartok <[email protected]>
  15172. * TextControl.cs:
  15173. - Made line ending size configurable (now allows for counting
  15174. lineendings as \n or \r\n)
  15175. - Added margin to viewport to keep caret visible on right side
  15176. - Fixed translation routines for line/pos to documentpos to consider
  15177. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  15178. - Fixed some line-endings to be unix style
  15179. - Fixed Document.FormatText to perform it's calculations 1-based
  15180. - Added descriptions for a few methods that might otherwise get
  15181. used wrong
  15182. - Added NOTE section with some basic conventions to remember at
  15183. the top of the file
  15184. - Major fixup for RichTextBox selection drawing:
  15185. * Fixed crashes when multiple tags on a single line were selected
  15186. * fixed selection box drawing not overlaying text
  15187. * fixed bogus offset calculation for tags not starting at index 1
  15188. * Switched behaviour from using multiple Substrings of a
  15189. StringBuilder.ToString() to using multiple
  15190. StringBuilder.ToString(start, length) statements, hoping this is
  15191. faster (kept original version commented out in the code, in case
  15192. original version was faster)
  15193. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  15194. alignment != Left
  15195. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  15196. call it as well
  15197. 2005-06-27 Jackson Harper <[email protected]>
  15198. * TabControl.cs: Move to the left and right with the arrow
  15199. keys. These keys don't cycle beyond first and last like
  15200. tab. Refresh all the tabs when scrolling them to the left or
  15201. right.
  15202. 2005-06-27 Jackson Harper <[email protected]>
  15203. * TabControl.cs:
  15204. - ToString: Added method
  15205. - CreateParams: Remove TODO and comment
  15206. - OnKeyDown: Cycle through bounds properly.
  15207. - SelectedIndex: Scroll to the right or left if we need to
  15208. display the newly selected tab.
  15209. 2005-06-23 Jackson Harper <[email protected]>
  15210. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  15211. set.
  15212. 2005-06-23 Jackson Harper <[email protected]>
  15213. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  15214. CTRL-SHIFT-TAB, and HOME, END are there any others?
  15215. 2005-06-23 Jackson Harper <[email protected]>
  15216. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  15217. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  15218. * DataGridTextBoxColumn.cs: fixes and enhancements
  15219. * ThemeWin32Classic.cs: fixes and enhancements
  15220. * DataGridBoolColumn.cs: fixes and enhancements
  15221. * DataGridDrawingLogic.cs: fixes and enhancements
  15222. * CurrencyManager.cs: fixes and enhancements
  15223. * DataGrid.cs: fixes and enhancements
  15224. * DataGridColumnStyle.cs: fixes and enhancements
  15225. 2005-06-22 Jackson Harper <[email protected]>
  15226. * TabControl.cs: Add some missing methods that just call into the
  15227. base. Make the TabPageCollection's IList interface behave in the
  15228. same manner as the MS implementation.
  15229. 2005-06-22 Peter Bartok <[email protected]>
  15230. * TextControl.cs: Added sanity check
  15231. * TextBoxBase.cs:
  15232. - Fixed wrapping behaviour, don't set wrap on single line controls
  15233. (this fixes the breakage of colordialog introduced in an earlier
  15234. checkin)
  15235. - Added rudimentary support for autoscrolling right-aligned controls
  15236. (still needs fixing, also, center alignment scroll is missing)
  15237. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  15238. * ScrollBar.cs: Fixes thumbpos on Maximum values
  15239. 2005-06-21 Jonathan Chambers <[email protected]>
  15240. * PropertyGridView.cs: Pass context information to UITypeEditors
  15241. 2005-06-21 Peter Bartok <[email protected]>
  15242. * TextBoxBase.cs:
  15243. - Now calling PositionCaret with absolute space coordinates
  15244. - Enabled vertical scrolling
  15245. - Better tracking of scrollbar changes, tied into WidthChange
  15246. event
  15247. - Improved cursor tracking
  15248. - Removed debug output
  15249. * TextControl.cs:
  15250. - PositionCaret coordinates are now works in absolute space, not
  15251. the canvas
  15252. - Improved tracking of document size
  15253. - Added events for width and height changes
  15254. 2005-06-21 Peter Bartok <[email protected]>
  15255. * Form.cs: Set focus to active control when form is activated
  15256. * TextControl.cs:
  15257. - Added word-wrap functionality to RecalculateLine()
  15258. - Added some short function descriptions for VS.Net to aid in
  15259. writing dependent controls
  15260. - Added Caret property, returning the current coords of the caret
  15261. - Added ViewPortWidth and ViewPortHeight properties
  15262. - Added Wrap property
  15263. - Added CaretMoved event
  15264. - Removed some old debug code
  15265. - Split() can now create soft splits
  15266. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  15267. - Added method to format existing text
  15268. - Fixed size/alignment calculations to use viewport
  15269. - RecalculateDocument now can handle changing line-numbers while
  15270. calculating lines
  15271. * TextBox.cs:
  15272. - Added some wrap logic, we don't wrap if alignment is not left
  15273. - Added casts for scrollbar var, base class switched types to
  15274. also support RichTextBoxA
  15275. - Implemented handling of scrollbar visibility flags
  15276. * TextBoxBase.cs:
  15277. - Switched scrollbars type to RichTextBoxScrollBars to support
  15278. RichTextBox
  15279. - Added tracking of canvas width/height
  15280. - Switched scrollbars to be not selectable (to keep focus on text)
  15281. - Added central CalculateDocument() method to handle all redraw
  15282. requirements
  15283. - Added ReadOnly support
  15284. - Added WordWrap support
  15285. - Fixed handling of Enter key (we now treat it as a DialogKey)
  15286. - Fixed caret positioning when h or v scroll is not zero
  15287. - Fixed placing/generation of vertical scrollbar
  15288. - Added CalculateScrollBars() method to allow updating scrollbar
  15289. limits and visibility
  15290. - Fixed handling of horizontal scroll
  15291. - Added handling of vertical scroll
  15292. - Implemented auto-'jump' when caret moves to close to a left or
  15293. right border and there is text to be scrolled into view (currently
  15294. there's the potential for a stack overflow, until a bug in
  15295. scrollbar is fixed)
  15296. 2005-06-21 Geoff Norton <[email protected]>
  15297. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  15298. 2005-06-19 Alexander Olk <[email protected]>
  15299. * Mime.cs:
  15300. - added inodes.
  15301. - return application/x-zerosize for files with size zero
  15302. (if no extension pattern matches).
  15303. - check matches collection for strings too.
  15304. - return only the first mime type if the name value
  15305. collection has more than one mime type.
  15306. 2005-06-18 Jonathan Chambers <[email protected]>
  15307. * PropertyGrid.cs: Cleaned up some TODOs
  15308. * PropertyGridView.cs: Added support for UITypeEditors
  15309. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  15310. * DataGrid.cs: clears cached value
  15311. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  15312. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  15313. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  15314. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  15315. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  15316. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  15317. * ThemeWin32Classic.cs: fixes colour
  15318. 2005-06-15 Peter Bartok <[email protected]>
  15319. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  15320. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  15321. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  15322. * Control.cs: Added some MWFCategory and MWFDescription attributes
  15323. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  15324. 2005-06-15 Alexander Olk <[email protected]>
  15325. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  15326. usage
  15327. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  15328. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  15329. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  15330. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  15331. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  15332. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  15333. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  15334. 2005-06-13 Jackson Harper <[email protected]>
  15335. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  15336. isn't printed when the user enables dropping. (X11 does accept
  15337. drops).
  15338. 2005-06-13 Jackson Harper <[email protected]>
  15339. * TreeView.cs: Remove some TODOS.
  15340. 2005-06-13 Jackson Harper <[email protected]>
  15341. * Form.cs: Hook into the mdi framework.
  15342. * MdiClient.cs: Use the base control collections add method so
  15343. parents get setup correctly. Set the default back colour and dock
  15344. style.
  15345. * MdiChildContext.cs: New class, this bad actor handles an
  15346. instance of an MDI window. Right now there is only basic
  15347. support. You can drag, close, and resize windows. Minimize and
  15348. Maximize are partially implemented.
  15349. 2005-06-13 Jackson Harper <[email protected]>
  15350. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  15351. freaky when both vals are negative. NOTE: There are probably other
  15352. places in XplatUIX11 that this needs to be done.
  15353. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  15354. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  15355. * DataGridColumnStyle.cs: fixes signature
  15356. 2005-06-12 Jackson Harper <[email protected]>
  15357. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  15358. windows.
  15359. 2005-06-11 Jackson Harper <[email protected]>
  15360. * StatusBarPanel.cs: Signature cleanups. Implement
  15361. BeginInit/EndInit.
  15362. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  15363. * DataGridTextBoxColumn.cs: Honors aligment
  15364. * GridColumnStylesCollection.cs: Contains is case unsensitive
  15365. * GridTableStylesCollection.cs: several fixes
  15366. * DataGridTableStyle.cs: default column creation
  15367. * DataGridDrawingLogic.cs: fixes
  15368. * CurrencyManager.cs: ListName property
  15369. * DataGrid.cs: multiple styles support
  15370. * DataGridColumnStyle.cs: fixes
  15371. 2005-06-10 Peter Bartok <[email protected]>
  15372. * Control.cs(Select): Moved SetFocus call to avoid potential
  15373. loops if controls change the active control when getting focus
  15374. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  15375. the up/down buttons
  15376. 2005-06-10 Matthias Felgner <[email protected]>
  15377. * ImageListConverter.cs: Implemented
  15378. 2005-06-10 John BouAntoun <[email protected]>
  15379. * MonthCalendar.cs: Wired in NumericUpDown control for year
  15380. 2005-06-10 John BouAntoun <[email protected]>
  15381. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  15382. DoubleClick events, since they are not meant to be fired.
  15383. 2005-06-09 Peter Bartok <[email protected]>
  15384. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  15385. Jonathan's standalone controls into MWF, implemented missing
  15386. events, attributes and methods; added xxxAccessible classes
  15387. * AccessibleObject.cs: Made fields internal so other classes
  15388. can change them if needed
  15389. 2005-06-09 Jonathan Gilbert <[email protected]>
  15390. * UpDownBase.cs: Complete implementation
  15391. * NumericUpDown.cs: Complete implementation
  15392. * DomainUpDown.cs: Complete implementation
  15393. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  15394. * DataGridTextBoxColumn.cs: drawing fixes
  15395. * DataGridCell.cs: fixes ToString method to match MSNet
  15396. * DataGridTableStyle.cs: fixes
  15397. * DataGridBoolColumn.cs: fixes, drawing
  15398. * DataGridDrawingLogic.cs: fixes, new methods
  15399. * DataGridTextBox.cs: Keyboard and fixes
  15400. * DataGrid.cs:
  15401. - Keyboard navigation
  15402. - Scrolling fixes
  15403. - Row selection (single, multiple, deletion, etc)
  15404. - Lots of fixes
  15405. 2005-06-07 Jackson Harper <[email protected]>
  15406. * ThemeWin32Classic.cs: Clear the background area when drawing
  15407. buttons.
  15408. 2005-06-06 Peter Bartok <[email protected]>
  15409. * ImageListStreamer.cs: Fixed signature for GetData
  15410. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  15411. * ComboBox.cs:
  15412. - Added missing ChildAccessibleObject class
  15413. - Added missing OnXXXFocus overrides, switched to using those
  15414. instead of the event handler
  15415. * Control.cs:
  15416. - Added Parent property for ControlAccessibleObject
  15417. - Fixed signatures
  15418. - Fixed attributes
  15419. - Added ResetBindings()
  15420. * ListBindingConverter.cs: Implemented some methods
  15421. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  15422. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  15423. * ContainerControl.cs: Fixed signature, now subscribing to the
  15424. ControlRemoved event instead of overriding the handler, LAMESPEC
  15425. * CurrencyManager.cs: Added missing attribute
  15426. * MonthCalendar.cs: Added missing properties
  15427. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  15428. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  15429. 2005-06-06 Gaurav Vaish and Ankit Jain
  15430. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  15431. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  15432. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  15433. * Control.cs: fixes CreateParams Width / Height.
  15434. 2005-06-05 Peter Bartok <[email protected]>
  15435. * Win32DnD.cs: Removed compilation warnings
  15436. 2005-06-05 Peter Bartok <[email protected]>
  15437. * Control.cs (CreateParams): Since we don't know if one of the
  15438. properties we use is overridden, lets make sure if we fail accessing
  15439. we continue with a backup plan
  15440. 2005-06-05 Peter Bartok <[email protected]>
  15441. * Win32DnD.cs:
  15442. - Removed debug output
  15443. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  15444. struct
  15445. - Plugged resource leak
  15446. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  15447. MS size
  15448. 2005-06-05 Peter Bartok <[email protected]>
  15449. * XplatUIWin32.cs: Removed DnD code
  15450. * Win32DnD.cs: Implemented drop source and drop target functionality
  15451. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  15452. * UpDownBase.cs: remove duplicate addition of event, enable some code
  15453. that was commented out.
  15454. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  15455. Validate input when a key is pressed. It works fine now for every
  15456. combination of Hexadecimal. Only missing some drawing love when sharing
  15457. space with other controls.
  15458. 2005-06-04 Peter Bartok <[email protected]>
  15459. * Control.cs:
  15460. - We need to pass a window for DragDrop, so enable callback events
  15461. - Added DnD callback events when being a DragSource
  15462. * XplatUI.cs (StartDrag): Added window handle argument
  15463. * XplatUIDriver.cs (StartDrag): Added window handle argument
  15464. * QueryContinueDragEventArgs: Made fields internally accessible so
  15465. drivers can set them
  15466. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  15467. can set them
  15468. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  15469. * DataGridTextBoxColumn.cs: column text editing
  15470. * DataGridTableStyle.cs: Respect columns styles created by the user
  15471. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  15472. * DataGridBoolColumn.cs: bool column editing
  15473. * DataGrid.cs: fixes to scrolling, properties, etc
  15474. * DataGridTextBox.cs: handle keyboard
  15475. * DataGridColumnStyle.cs: fixes
  15476. 2005-06-02 Jackson Harper <[email protected]>
  15477. * ImageListStreamer.cs: Somewhat broken implementation of
  15478. GetObjectData. The RLE needs some work to match MS properly.
  15479. 2005-06-02 Jackson Harper <[email protected]>
  15480. * X11Dnd.cs: Attempting to keep at least one file in MWF
  15481. monostyled.
  15482. 2005-06-02 Peter Bartok <[email protected]>
  15483. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  15484. that way
  15485. 2005-06-02 Peter Bartok <[email protected]>
  15486. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  15487. * XplatUI.cs: Added DoDragDrop() method
  15488. * XplatUIDriver.cs: Added DoDragDrop() method
  15489. 2005-06-02 Jackson Harper <[email protected]>
  15490. * Splitter.cs: Implement BorderStyle.
  15491. 2005-06-02 Jackson Harper <[email protected]>
  15492. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  15493. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  15494. X11 using XDND.
  15495. 2005-06-02 Peter Bartok <[email protected]>
  15496. * DataObject.cs:
  15497. - Added Data setter
  15498. - Fixed broken insertion code for SetData, now also
  15499. overwrites any existing entry of the same format name
  15500. * Hwnd.cs: Added list of pointers that automatically gets
  15501. freed when the window is disposed
  15502. * XplatUI.cs: Call driver initialization method when loading
  15503. a driver
  15504. * Control.cs:
  15505. - OnDragLeave takes EventArgs, not DragEventArgs
  15506. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  15507. supported
  15508. - Forces style update when drop state changes
  15509. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  15510. not perfect since we cannot (yet) call the IDataObject.GetData()
  15511. method, we keep getting 0x80004005 error, dunno why)
  15512. 2005-06-02 Peter Bartok <[email protected]>
  15513. * DragEventArgs.cs: Make fields internal so we can cache the
  15514. object and re-set the fields from XplatUI
  15515. 2005-06-02 Jackson Harper <[email protected]>
  15516. * Control.cs: Add some internal methods so the DnD subsystem can
  15517. raise DnD events. Also call into the driver when AllowDrop is set.
  15518. * XplatUI.cs:
  15519. * XplatUIDriver.cs: New method for setting whether or not a window
  15520. is allowed to accept drag and drop messages.
  15521. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  15522. * ScrollBar.cs: Make sure that values sent in Scroll events
  15523. are always between Maximum and Minimum.
  15524. 2005-06-01 Marek Safar <[email protected]>
  15525. * Menu.cs: Call MenuChanged when menuitem visibility has been
  15526. changed.
  15527. * MenuItem.cs: Rebuild menu when item is (not) visible.
  15528. * MainMenu.cs: MainMenu has special MenuChanged.
  15529. * Theme.cs: Caption and FrameBorderSize are not fixed.
  15530. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  15531. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  15532. * XplatUIX11.cs,
  15533. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  15534. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  15535. 2005-05-30 Jackson Harper <[email protected]>
  15536. * DataFormat.cs: We can't statically initialize this stuff because
  15537. it calls into the xplatui and could create a loop. So we lazy init
  15538. it.
  15539. 2005-05-28 Jackson Harper <[email protected]>
  15540. * Control.cs: Proper implementation of Product(Name/Version).
  15541. 2005-05-27 Jackson Harper <[email protected]>
  15542. * DataObject.cs: Dont crash if no data is found.
  15543. 2005-05-26 Rafael Teixeira <[email protected]>
  15544. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  15545. as per status page, guessing it should be set to true
  15546. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  15547. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  15548. * DataGridTableStyle.cs: set proper formatting text, def header text
  15549. * ThemeWin32Classic.cs: new themable paramaters
  15550. * DataGridBoolColumn.cs: paint check box, get data, fixes
  15551. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  15552. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  15553. * DataGridColumnStyle.cs: fixes
  15554. * Theme.cs: new themable paramaters
  15555. 2005-05-26 Peter Bartok <[email protected]>
  15556. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  15557. 2005-05-24 Jonathan S. Chambers <[email protected]>
  15558. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  15559. 2005-05-24 Peter Bartok <[email protected]>
  15560. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  15561. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  15562. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  15563. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  15564. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  15565. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  15566. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  15567. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  15568. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  15569. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  15570. missing attributes, etc
  15571. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  15572. 2005-05-24 Peter Bartok <[email protected]>
  15573. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  15574. when user tries to get help
  15575. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  15576. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  15577. to suppress warnings
  15578. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  15579. avoid unreachable code warning
  15580. 2005-05-20 Peter Bartok <[email protected]>
  15581. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  15582. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  15583. * DataGridTextBoxColumn.cs: Basic painting methods
  15584. * DataGridTableStyle.cs: Set table style in the column
  15585. * ThemeWin32Classic.cs: Use Theme for colors
  15586. * DataGridDrawingLogic.cs: Implement more drawing
  15587. * DataGrid.cs: drawing, theming, enhacements, fixes
  15588. * DataGridColumnStyle.cs: fixes, drawing
  15589. * Theme.cs: theming for Datagrid
  15590. 2005-05-20 Peter Bartok <[email protected]>
  15591. * Cursor.cs: Implemented GetObjectData() method
  15592. 2005-05-20 Peter Bartok <[email protected]>
  15593. * Cursors.cs: Added setting of cursor name
  15594. * Cursor.cs:
  15595. - Implemented constructors
  15596. - Implemented Draw and DrawStretched
  15597. - Implemented Current property
  15598. - Implemented == and != operators
  15599. - Implemented Dispose()
  15600. - Implemented ToString
  15601. - Added missing attributes
  15602. * XplatUIX11.cs:
  15603. - Added missing reset for OverrideCursor when DoEvents is called
  15604. - Fixed creation of cursor, logic was wrong
  15605. * XplatUIWin32.cs:
  15606. - Added missing reset for OverrideCursor when DoEvents is called
  15607. - Fixed creation of cursor, bit arrays were swapped
  15608. * Clipboard.cs: Removed obsolete MonoTODO attribute
  15609. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  15610. * ComboBox.cs: fixes OnSelectedItemChanged
  15611. * ControlBindingsCollection.cs: fixes item range check
  15612. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  15613. * UpDownBase.cs:
  15614. - Calc preferred height properly
  15615. - Implement missing properties
  15616. * NumericUpDown.cs: Implement missing events
  15617. 2005-05-19 Jackson Harper <[email protected]>
  15618. * TabControl.cs: New method that resizes the tab pages before
  15619. redrawing them. This as needed as the control is double buffered
  15620. and sizing will not be recalculated unless ResizeTabPages is
  15621. called.
  15622. * TabPage.cs: Set base.Text instead of Text in the constructor so
  15623. that UpdateOwner does not get called. Use the new Redraw method of
  15624. TabControl instead of Refresh so the sizing is recalculated.
  15625. * ThemeWin32Classic.cs: Draw the text for button tabs.
  15626. 2005-05-19 Jackson Harper <[email protected]>
  15627. * Control.cs: Paint control background images. Fix typo where
  15628. PaintControlBackground was not getting called correctly.
  15629. 2005-05-19 Peter Bartok <[email protected]>
  15630. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  15631. I can investigate, apparently I broke FileDialog
  15632. 2005-05-19 Marek Safar <[email protected]>
  15633. * AxHost.cs: Some simple properties.
  15634. * Control.cs: window must be accessible after ctor.
  15635. * Form.cs: Added TransparencyKey property.
  15636. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  15637. * XplatUIWin32.cs: SetBorderStyle implemented.
  15638. 2005-05-18 Peter Bartok <[email protected]>
  15639. * DataObject.cs: Entries are not global but particular to the
  15640. DataObject, now it behaves that way
  15641. * XplatUIWin32.cs: Implemented Clipboard methods
  15642. * Clipboard.cs: Implemented
  15643. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  15644. * XplatUIOSX.cs: Updated to final clipboard prototypes
  15645. * XplatUIX11.cs: Implemented Clipboard methods
  15646. * XplatUIDriver.cs: Updated to final clipboard prototypes
  15647. * XplatUIStructs.cs:
  15648. - Added BITMAPINFOHEADER struct
  15649. - Added ClipboardFormats enum
  15650. * X11Structs.cs:
  15651. - Added ClipboardStruct
  15652. - Added Atom enum items for clipboard types
  15653. - Fixed atom types for Selection event structures
  15654. * DataFormats.cs:
  15655. - Added internal properties and methods for drivers to enumerate
  15656. all known formats
  15657. - Switched initialization method to allow drivers to assign their
  15658. own IDs even for the MS predefined clipboard IDs
  15659. * XplatUI.cs: Updated to final clipboard interface
  15660. 2005-05-18 Jonathan S. Chambers <[email protected]>
  15661. * PropertyGridView.cs: Fixed compiler warnings.
  15662. 2005-05-18 Jonathan S. Chambers <[email protected]>
  15663. * PropertyGrid.cs: Added some event calls
  15664. * PropertyGridView.cs: Change drawing code to use double buffering
  15665. * PropertyGridTextBox.cs: Changed Text property name
  15666. * GridItem.cs: Added Bounds property.
  15667. * GridEntry.cs: Added Bounds property.
  15668. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  15669. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  15670. since GetType() may not return the correct type if the object is
  15671. a remoting proxy.
  15672. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  15673. * TreeNodeCollection.cs: fixes get/set item ranges
  15674. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  15675. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  15676. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  15677. * ComboBox.cs: Fix item range comparation
  15678. * ListView.cs: Fix item range comparation
  15679. 2005-05-03 Alexander Olk <[email protected]>
  15680. * FontDialog.cs:
  15681. - Clear example panel when OnPaint is called
  15682. - Better solution for displaying the example panel text
  15683. - Select default indexes in the ListBoxes
  15684. 2005-05-11 Geoff Norton <[email protected]>
  15685. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  15686. 2005-05-11 Peter Bartok <[email protected]>
  15687. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  15688. * SelectionRangeConverter.cs: Implemented
  15689. * PropertyGrid.cs: Fixed attribute value
  15690. * Control.cs:
  15691. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  15692. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  15693. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  15694. that's common to all drivers. First methods to go there are
  15695. Sebastien Pouliot's CAS Stack Propagation helper methods
  15696. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  15697. Sebastien Pouliot for CAS Stack Propagation
  15698. 2005-05-11 Geoff Norton <[email protected]>
  15699. * OSXStructs.cs:
  15700. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  15701. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  15702. * DataGridTextBoxColumn.cs: fixed some members
  15703. * GridColumnStylesCollection.cs: indexed column is case insensitive
  15704. * DataGridTableStyle.cs: fixes
  15705. * ThemeWin32Classic.cs: add new theme parameter
  15706. * Theme.cs: add new theme parameter
  15707. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  15708. * DataGrid.cs: fixes, new internal properties, etc.
  15709. * DataGridColumnStyle.cs: allows to set grid value
  15710. *
  15711. 2005-05-10 Peter Bartok <[email protected]>
  15712. * AccessibleObject.cs:
  15713. - Removed MonoTODO attribute on help, method is correct
  15714. - Fixed Bounds property
  15715. * AxHost.cs: Moved MonoTODO
  15716. * ButtonBase.cs: Now setting AccessibleObject properties
  15717. * RadioButton.cs: Setting proper AccessibleObject role
  15718. * CheckBox.cs: Setting proper AccessibleObject role
  15719. * ControlBindingsCollection.cs: Added properties, methods and attributes
  15720. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  15721. userdefined DataFormats.Format items as well
  15722. * ListControl.cs: Removed data_member from the public eye
  15723. * OpenFileDialog.cs:
  15724. - Made class sealed
  15725. - Added missing attributes
  15726. * SaveFileDialog.cs: Added missing attributes
  15727. * ImageListStreamer.cs: Fixed code that caused warnings
  15728. * LinkLabel.cs: Removed unreachable code
  15729. * TreeView.cs: Fixed code that caused warnings
  15730. * PropertyGridView.cs: Fixed code that caused warnings
  15731. * GridColumnStylesCollection.cs: Added missing attributes
  15732. * GridTableStylesCollection: Added missing attribute
  15733. * PropertyManager: Added .ctor
  15734. * SecurityIDType: Added
  15735. * DataObject.cs: Implemented class
  15736. * LinkArea.cs: Added missing attribute
  15737. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  15738. * RadioButton.cs: call base method to allow to fire OnClick event
  15739. * UpDownBase.cs: OnMouseUp call base method
  15740. * CheckedListBox.cs: call base method before returning
  15741. * TrackBar.cs: call base method before returning
  15742. 2005-05-10 Peter Bartok <[email protected]>
  15743. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  15744. for messages
  15745. 2005-05-10 Peter Bartok <[email protected]>
  15746. * DataFormats.cs: Implemented
  15747. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  15748. XplatUIX11.cs: Added Clipboard APIs
  15749. * XplatUIWin32.cs: Implemented Clipboard APIs
  15750. * FolderBrowserDialog.cs: Added missing event, attributes
  15751. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  15752. * CheckBox.cs: call base method to allow to fire OnClick event
  15753. 2005-05-09 Sebastien Pouliot <[email protected]>
  15754. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  15755. 2005-05-06 Peter Bartok <[email protected]>
  15756. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  15757. * Screen.cs: Implemented
  15758. * HelpNavigator.cs: Added
  15759. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  15760. property
  15761. * HelpProvider.cs: Implemented all we can do until we have a CHM
  15762. help library (which means that "What's This" does work now)
  15763. 2005-05-06 Jackson Harper <[email protected]>
  15764. * XplatUIX11.cs: Fix waking up the main loop.
  15765. 2005-05-05 Peter Bartok <[email protected]>
  15766. * XplatUI.cs: Updated revision
  15767. * Form.cs: Removed enless loop
  15768. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  15769. * Label.cs (OnPaint): Added call to base.OnPaint()
  15770. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  15771. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  15772. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  15773. * AxHost.cs: Added
  15774. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  15775. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  15776. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  15777. reuse of ToolTipWindow by other controls
  15778. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  15779. * XplatUIX11.cs: Now clipping drawing area (experimental)
  15780. * PictureBox.cs: Moved base.OnPaint() call to end of method
  15781. * Theme.cs: Fixed ToolTip abstracts to match new format
  15782. * ErrorProvider.cs: Implemented
  15783. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  15784. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  15785. * LinkLabel.cs:
  15786. - Adds cursors
  15787. - Handles focus
  15788. - Implements LinkBehavior
  15789. - Fixes many issues
  15790. 2005-05-03 Jackson Harper <[email protected]>
  15791. * ListView.cs: Calculate the scrollbar positioning on resize and
  15792. paint, so they get put in the correct place.
  15793. 2005-05-03 Alexander Olk <[email protected]>
  15794. * ColorDialogs.cs: The small color panels are now handled by
  15795. SmallColorControl. This fixes drawing of the focus rectangle
  15796. and adds a 3D border.
  15797. 2005-05-03 Peter Bartok <[email protected]>
  15798. * Control.cs: Modified version of Jonathan Chamber's fix for
  15799. double-buffering
  15800. 2005-05-03 Jackson Harper <[email protected]>
  15801. * ListView.cs: Remove redraw variable. Control now handles whether
  15802. or not a redraw needs to be done, and will only raise the paint
  15803. event if redrawing is needed.
  15804. 2005-05-03 Jackson Harper <[email protected]>
  15805. * Splitter.cs: No decorations for the splitter form. Cache the
  15806. hatch brush.
  15807. 2005-05-03 Jackson Harper <[email protected]>
  15808. * TreeView.cs: Use dashed lines to connect nodes. Use the
  15809. ControlPaint method for drawing the focus rect instead of doing
  15810. that in treeview.
  15811. 2005-05-02 Peter Bartok <[email protected]>
  15812. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  15813. 2005-04-29 Jackson Harper <[email protected]>
  15814. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  15815. entire image buffer. Just clear the clipping rectangle.
  15816. 2005-04-29 Jackson Harper <[email protected]>
  15817. * ThemeWin32Classic.cs: Don't draw list view items that are
  15818. outside the clipping rectangle.
  15819. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  15820. * ListBox.cs: added horizontal item scroll
  15821. 2005-04-29 Jackson Harper <[email protected]>
  15822. * ThemeWin32Classic.cs: Remove some old debug code that was
  15823. causing flicker with the new double buffering code.
  15824. 2005-04-29 John BouAntoun <[email protected]>
  15825. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  15826. behave like combobox and comboboxlist (still not sure if this is
  15827. correct though).
  15828. 2005-04-28 Jackson Harper <[email protected]>
  15829. * ThemeWin32Classic.cs: Don't fill the middle of progress
  15830. bars. This fills areas outside of the clip bounds that don't need
  15831. to be filled.
  15832. 2005-04-28 Jackson Harper <[email protected]>
  15833. * Control.cs: Don't expose functionality to touch the image buffers.
  15834. * ProgressBar.cs:
  15835. * ListView.cs: We do not need to (and no longer can) manipulate
  15836. the image buffers directly. All of this is handled by Control.
  15837. 2005-04-28 Peter Bartok <[email protected]>
  15838. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  15839. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  15840. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  15841. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  15842. * Combobox:
  15843. - Adjust control's height for non-simple comboboxes (bug fix)
  15844. - Remove dead code
  15845. * MenuAPI.cs: remove unused var
  15846. * ScrollBar.cs: remove unsed var
  15847. * ListBox.cs: unselect items when clearing
  15848. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  15849. * ListControl.cs: honors OnPositionChanged and default Selected Item
  15850. * ListBox.cs: unselect items when clearing
  15851. 2005-04-27 Jackson Harper <[email protected]>
  15852. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  15853. if a "correct" keyboard is not found. This will make us not crash,
  15854. but might give some users bad keyboard layouts...seems to be the
  15855. same thing rewind does.
  15856. 2005-04-27 Jackson Harper <[email protected]>
  15857. * BindingManagerBase.cs: Attach the current/position changed
  15858. handlers to their respective events.
  15859. 2005-04-27 Jackson Harper <[email protected]>
  15860. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  15861. not just a blit.
  15862. * ThemeWin32Classic.cs: Don't fill the background for picture
  15863. boxes. This could overright user drawing.
  15864. * ComboBox.cs: Just fill the clipping rect not the entire client
  15865. rect when drawing the background. This prevents pieces of the
  15866. image buffer from getting overwritten and is theoretically faster.
  15867. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  15868. * ComboBox.cs: Databinding support fixes, fire missing events
  15869. * ListControl.cs: implement missing methods and properties, fixes
  15870. * ThemeWin32Classic.cs: Databiding support on Drawing
  15871. * CheckedListBox.cs: Databinding support fixes, fire missing events
  15872. * ListBox.cs: Databinding support fixes, fire missing events
  15873. 2005-04-25 Peter Bartok <[email protected]>
  15874. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  15875. 2005-04-25 Jackson Harper <[email protected]>
  15876. * TreeView.cs: Use the horizontal scrollbars height not width when
  15877. determining how much of the client area is available.
  15878. 2005-04-25 Jackson Harper <[email protected]>
  15879. * Control.cs: Double buffering is handled differently now. As per
  15880. the spec, the extra buffer is created in the WM_PAINT message and
  15881. passed down to the control's drawing code.
  15882. * GroupBox.cs:
  15883. * Label.cs:
  15884. * CheckBox.cs:
  15885. * ProgressBar.cs:
  15886. * RadioButton.cs:
  15887. * ColorDialog.cs:
  15888. * ComboBox.cs:
  15889. * PropertyGridView.cs:
  15890. * UpDownBase.cs:
  15891. * MessageBox.cs:
  15892. * MenuAPI.cs:
  15893. * ListView.cs:
  15894. * ButtonBase.cs:
  15895. * SizeGrip.cs:
  15896. * ScrollBar.cs:
  15897. * ListBox.cs:
  15898. * TrackBar.cs:
  15899. * ToolBar.cs:
  15900. * PictureBox.cs:
  15901. * DateTimePicker.cs:
  15902. * StatusBar.cs:
  15903. * TreeView.cs: Update to new double buffering system.
  15904. * MonthCalendar.cs: Uncomment block, as Capture is now
  15905. working. Update to new double buffering
  15906. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  15907. * PaintEventArgs.cs: New internal method allows us to set the
  15908. graphics object. This is used for double buffering.
  15909. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  15910. rectangle. The internal paint_area var has been removed from
  15911. StatusBar. The clipping rect should be used instead.
  15912. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  15913. * TabPage.cs: The RefreshTabs method was removed, so just call the
  15914. tab controls Refresh method now.
  15915. * TabControl.cs: Update to new double buffering. Make sure the
  15916. handle is created before sizing the tab pages, otherwise we will
  15917. get stuck in a loop.
  15918. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  15919. * LinkLabel.cs: Fix typo, bug #74719; patch
  15920. from Borja Sanchez Zamorano
  15921. 2005-04-22 Jackson Harper <[email protected]>
  15922. * TreeNode.cs: Implement Handle stuff.
  15923. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  15924. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  15925. * DataGridTextBoxColumn.cs: call base constructors, fixes
  15926. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  15927. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  15928. * DataGridTableStyle.cs: implements create default column styles
  15929. * DataGridBoolColumn.cs: which types can handle
  15930. * DataGrid.cs: missing methods, fixes, new functionality
  15931. * DataGridColumnStyle.cs: fixes
  15932. 2005-04-20 Alexander Olk <[email protected]>
  15933. * FolderBrowserDialog.cs:
  15934. - Use a thread to fill the TreeView
  15935. - Adjusted some sizes
  15936. 2005-04-19 Peter Bartok <[email protected]>
  15937. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  15938. property. Fixes #74360.
  15939. 2005-04-19 Jackson Harper <[email protected]>
  15940. * XEventQueue.cs: Lock when getting the lockqueue size.
  15941. * PictureBox.cs: Call base OnPaint
  15942. 2005-04-19 Peter Bartok <[email protected]>
  15943. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  15944. messages were no longer being processed (this broke BeginInvoke)
  15945. 2005-04-18 Jackson Harper <[email protected]>
  15946. * TreeView.cs: buglet that caused node images to get drawn
  15947. regardless of whether or not they were in the clipping rectangle.
  15948. 2005-04-18 Jackson Harper <[email protected]>
  15949. * CurrencyManager.cs: There are four rules for GetItemProperties:
  15950. - If the type is an array use the element type of the array
  15951. - If the type is a typed list, use the type
  15952. - If the list contains an Item property that is not an object, use
  15953. that property
  15954. - use the first element of the list if there are any elements in
  15955. the list.
  15956. 2005-04-17 Jackson Harper <[email protected]>
  15957. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  15958. click. This handles offsets for scrolling properly and reduces
  15959. memory. Also fixed GetNode to not offset now that TopNode works
  15960. properly.
  15961. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  15962. 2005-04-17 Jackson Harper <[email protected]>
  15963. * CursorConverter.cs: Initial implementation.
  15964. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  15965. * ListControl.cs: work towards complex data binding support on ListControl
  15966. * CurrencyManager.cs: work towards complex data binding support on ListControl
  15967. * ListBox.cs: work towards complex data binding support on ListControl
  15968. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  15969. * GridTableStylesCollection.cs: fixes name and constructor
  15970. * DataGridTableStyle.cs: fixes
  15971. * DataGridBoolColumn.cs: fixes names and constructors
  15972. * DataGrid.cs: define methods and properties. Some init implementations
  15973. * DataGridCell.cs: define methods and properties. Some init implementations
  15974. * GridTablesFactory.cs: Define methods and properties
  15975. 2005-04-15 Geoff Norton <[email protected]>
  15976. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  15977. graphics port changes. We still want the coordinates in global screen
  15978. coordinates.
  15979. 2005-04-14 Jackson Harper <[email protected]>
  15980. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  15981. check plus minus or checkbox clicks unless those features are enabled.
  15982. 2005-04-14 Jackson Harper <[email protected]>
  15983. * TreeView.cs: Add methods for setting the top and bottom visible
  15984. nodes. TreeNode::EnsureVisible uses these methods.
  15985. * TreeNode.cs: Implement EnsureVisible
  15986. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  15987. * Form.cs: Pospone menu assignation if the window has not been created yet
  15988. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  15989. size and position
  15990. 2005-04-12 Jackson Harper <[email protected]>
  15991. * TreeView.cs: Set the TopNode properly when scrolling
  15992. occurs. This has the added benifit of reducing the amount of
  15993. walking that needs to be done when drawing. Also removed an old
  15994. misleading TODO.
  15995. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  15996. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  15997. * Timer.cs: fixes interval setting when the timer is already enabled
  15998. 2005-04-10 Alexander Olk <[email protected]>
  15999. * FolderBrowserDialog.cs: First approach
  16000. 2005-04-09 Peter Bartok <[email protected]>
  16001. * FolderBrowserDialog: Added
  16002. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  16003. * LinkLabel.cs: move drawing code into the theme
  16004. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  16005. * Theme.cs: define DrawLinkLabel method
  16006. 2005-04-05 Jackson Harper <[email protected]>
  16007. * BindingContext.cs: Use weak references so these bad actors don't
  16008. stay alive longer then they need to.
  16009. 2005-04-05 Jackson Harper <[email protected]>
  16010. * ListControl.cs: Basic implementation of complex databinding.
  16011. * ComboBox.cs:
  16012. * ListBox.cs: Add calls to ListControl databinding methods.
  16013. 2005-04-05 Alexander Olk <[email protected]>
  16014. * FileDialog.cs:
  16015. - Don't change PopupButtonState to Normal when the
  16016. PopupButton gets pressed several times.
  16017. - Renamed ButtonPanel to PopupButtonPanel
  16018. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  16019. * ColorDialog.cs: Use cached objects instead of creating them
  16020. * LinkLabel.cs: Use cached objects instead of creating them
  16021. * Splitter.cs: Use cached objects instead of creating them
  16022. * FontDialog.cs: Use cached objects instead of creating them
  16023. * PropertyGridView.cs: Use cached objects instead of creating them
  16024. * MessageBox.cs: Use cached objects instead of creating them
  16025. * FileDialog.cs: Use cached objects instead of creating them
  16026. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  16027. * TreeView.cs: Use cached objects instead of creating them
  16028. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  16029. * Control.cs: use Equals to compare the font since no == op
  16030. * ScrollBar.cs: use Equals to compare the font since no == op
  16031. 2005-04-04 Alexander Olk <[email protected]>
  16032. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  16033. 2005-04-01 Jackson Harper <[email protected]>
  16034. * Binding.cs: Implement IsBinding.
  16035. * BindingManagerBase.cs:
  16036. * PropertyManager.cs:
  16037. * CurrencyManager.cs: Add IsSuspended property.
  16038. 2005-04-01 Jackson Harper <[email protected]>
  16039. * Binding.cs: Had some IsAssignableFrom calls backwards.
  16040. 2005-04-01 Jackson Harper <[email protected]>
  16041. * Binding.cs: Handle null data members when pulling data.
  16042. * PropertyManager.cs: Handle the data member being a property that
  16043. does not exist.
  16044. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  16045. * DataGridTextBoxColumn.cs: fixes signature
  16046. * DataGrid.cs: calls right constructor
  16047. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  16048. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  16049. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  16050. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  16051. * DataGridTableStyle.cs: implements DataGridTableStyle
  16052. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  16053. * DataGridTextBox.cs: implements DataGridTextBox
  16054. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  16055. 2005-03-31 Alexander Olk <[email protected]>
  16056. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  16057. 2005-03-29 Peter Bartok <[email protected]>
  16058. * Application.cs:
  16059. - Properly implemented CompanyName property
  16060. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  16061. returns a path that includes CompanyName, ProductName and
  16062. Version (fixes bug #70330)
  16063. 2005-03-29 Stefan Buehler <[email protected]>
  16064. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  16065. fixes bug #72588.
  16066. 2005-03-28 Alexander Olk <[email protected]>
  16067. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  16068. - Added ReadOnly CheckBox
  16069. - Further refactoring: moved some code from Open-/SaveFileDialog
  16070. to FileDialog
  16071. 2005-03-28 Alexander Olk <[email protected]>
  16072. * OpenFileDialog.cs: Fixed CheckFileExists
  16073. * FileDialog.cs:
  16074. Moved FileView and DirComboBox outside FileDialog class.
  16075. They can now be used outside FileDialog
  16076. 2005-03-27 Alexander Olk <[email protected]>
  16077. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  16078. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  16079. 2005-03-27 Alexander Olk <[email protected]>
  16080. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  16081. - Added missing CreatePrompt property in SaveDialog
  16082. - Overall SaveDialog handling should be better now
  16083. - Added non standard ShowHiddenFiles property
  16084. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  16085. - Added InitialDirectory and RestoreDirectory support
  16086. 2005-03-26 Alexander Olk <[email protected]>
  16087. * FileDialog.cs: Made dirComboBox usable
  16088. 2005-03-24 Alexander Olk <[email protected]>
  16089. * FileDialog.cs: Added Filter support (case sensitiv)
  16090. 2005-03-24 Jackson Harper <[email protected]>
  16091. * TabControl.cs: Need a couple more pixels for the lines.
  16092. 2005-03-23 Jackson Harper <[email protected]>
  16093. * TabControl.cs: Give the tab page focus when it is selected.
  16094. 2005-03-23 Jackson Harper <[email protected]>
  16095. * TabControl.cs: Account for the drawing of tabs borders when
  16096. invalidating. If the slider was clicked dont do click detection on
  16097. the tabs.
  16098. 2005-03-23 Jackson Harper <[email protected]>
  16099. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  16100. 2005-03-22 Jonathan Chambers <[email protected]>
  16101. * CategoryGridEntry.cs: Added
  16102. * GridItem.cs: Added helper properties
  16103. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  16104. * GridEntry.cs: Updated code for collection
  16105. * PropertyGrid.cs: Cleaned up some formatting
  16106. * PropertyGridView.cs: Added drop down functionality for enums.
  16107. * GridItemCollection.cs: Added enumerator logic
  16108. * PropertyGridEntry.cs: Added
  16109. 2005-03-19 Alexander Olk <[email protected]>
  16110. * FileDialog.cs:
  16111. - Removed unnecessary commented code
  16112. - Fixed handling for entering the filename manually in the combobox
  16113. 2005-03-19 Alexander Olk <[email protected]>
  16114. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  16115. 2005-03-18 Peter Bartok <[email protected]>
  16116. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  16117. them being touching the border
  16118. 2005-03-18 Peter Bartok <[email protected]>
  16119. * TextControl.cs: Quick hack to center text better
  16120. 2005-03-18 Peter Bartok <[email protected]>
  16121. * ControlPaint.cs:
  16122. - Don't throw NotImplemented exceptions, just print a notice once
  16123. instead (requested by Miguel). This makes running existing SWF
  16124. apps a bit easier
  16125. * Control.cs:
  16126. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  16127. - Added context menu trigger on right click
  16128. * Panel.cs: Trigger invalidate on resize
  16129. * StatusBar.cs:
  16130. - Removed old double-buffer drawing
  16131. - Added ResizeRedraw style to force proper update of statusbar
  16132. * ListView.cs:
  16133. - Removed debug output
  16134. * ThemeWin32Classic.cs:
  16135. - Fixed drawing of status bar, now draws Text property if there
  16136. are no defined panels
  16137. 2005-03-18 Jackson Harper <[email protected]>
  16138. * ImageList.cs: When the image stream is set pull all the images
  16139. from it.
  16140. * ImageListStreamer.cs: Implement reading image list streams.
  16141. 2005-03-18 Peter Bartok <[email protected]>
  16142. * ThemeWin32Classic.cs (DrawPictureBox):
  16143. - Fixed calculations for centered drawing
  16144. - Fixed drawing for normal mode, not scaling the image on normal
  16145. 2005-03-18 Peter Bartok <[email protected]>
  16146. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  16147. textbox
  16148. * FileDialog.cs:
  16149. - Made Open/Save button the accept button for FileDialog
  16150. - Tied the cancel button to the IButtonControl cancel button
  16151. - Save/Open now properly builds the pathname
  16152. - Now handles user-entered text
  16153. - Preventing crash on right-click if no item is selected
  16154. - Fixed Text property, now uses contents of textbox
  16155. - Fixed SelectedText property, now just returns the text part that
  16156. is selected in the text box
  16157. 2005-03-18 Jackson Harper <[email protected]>
  16158. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  16159. rect, make sure to de-adjust the interior rect after drawing the
  16160. tab text.
  16161. 2005-03-18 Peter Bartok <[email protected]>
  16162. * MenuAPI.cs: Remove menu *before* executing selected action to
  16163. prevent the menu from 'hanging around'
  16164. 2005-03-17 Geoff Norton <[email protected]>
  16165. * XplatUIOSX.cs: Implemented WorkingArea property
  16166. 2005-03-17 Peter Bartok <[email protected]>
  16167. * XplatUIX11.cs: Fixed menu coord calculations
  16168. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  16169. for calculating offsets
  16170. 2005-03-17 Peter Bartok <[email protected]>
  16171. * Hwnd.cs: Do not consider menu presence for default client
  16172. rectangle location/size
  16173. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  16174. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  16175. translation functions
  16176. * FileDialog.cs: Fixed (what I presume is a) typo
  16177. 2005-03-17 Jonathan Gilbert <[email protected]>
  16178. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  16179. X access (avoids X-Async errors)
  16180. 2005-03-16 Jackson Harper <[email protected]>
  16181. * TabControl.cs: Raise the SelectedIndexChanged event.
  16182. 2005-03-16 Alexander Olk <[email protected]>
  16183. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  16184. - Removed vertical ToolBar and replaced it with a custom panel
  16185. (desktop and home button already work)
  16186. - Added Help button (some controls get resized or relocated then)
  16187. - Draw correct text depending on Open or Save.
  16188. - Fixed some typos...
  16189. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  16190. * ScrollBar.cs:
  16191. - Only change Maximum and Minimum when need it (bug fix)
  16192. 2005-03-15 Peter Bartok <[email protected]>
  16193. * Form.cs: Use Handle for icon, to trigger creation if
  16194. the window does not yet exist
  16195. * Control.cs:
  16196. - CanSelect: Slight performance improvement
  16197. - Focus(): Preventing possible recursion
  16198. - Invalidate(): Removed ControlStyle based clear flag setting
  16199. - WM_PAINT: fixed logic for calling OnPaintBackground
  16200. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  16201. EraseWindowBackground if the control doesn't paint background
  16202. * XplatUIWin32.cs:
  16203. - Moved EraseWindowBackground() method to internal methods
  16204. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  16205. is sent via SendMessage on BeginPaint call on Win32
  16206. * XplatUIX11.cs:
  16207. - Added EraseWindowBackground() method
  16208. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  16209. PaintEventStart, which more closely matches Win32 behaviour
  16210. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  16211. - Fixed SetFocus() to properly deal with client and whole windows
  16212. * Hwnd.cs: Added ErasePending property
  16213. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  16214. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  16215. 2005-03-12 Geoff Norton <[email protected]>
  16216. * XplatUIOSX.cs:
  16217. - Fix hard loop when timers exist.
  16218. - Fix bugs with middle and right click for 3 button mice.
  16219. 2005-03-11 Peter Bartok <[email protected]>
  16220. * XplatUIX11.cs:
  16221. - get_WorkingArea: Need to call X directly, GetWindowPos only
  16222. returns cached data now
  16223. - Added sanity check to GetWindowPos hwnd usage
  16224. 2005-03-11 Jackson Harper <[email protected]>
  16225. * BindingManagerBase.cs: This method isn't used anymore as
  16226. PullData now updates the data in the control.
  16227. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  16228. * Form.cs: fixes menu drawing on X11
  16229. * MenuAPI.cs: fixes menu drawing on X11
  16230. 2005-03-11 Peter Bartok <[email protected]>
  16231. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  16232. from Jonathan Gilbert; should fix bug #73606
  16233. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  16234. in Screen coordinates. Thanks, Jordi.
  16235. * Form.cs: Added missing attribute
  16236. 2005-03-11 Peter Bartok <[email protected]>
  16237. * Form.cs:
  16238. - Rudimentary Mdi support
  16239. - Removed outdated FormParent code
  16240. - Implemented lots of missing properties and methods, still missing
  16241. transparency support
  16242. - Added missing attributes
  16243. - Implemented support for MaximumBounds
  16244. - Added firing of various events
  16245. * XplatUI.cs: Added SetIcon() method
  16246. * XplatUIDriver.cs: Added SetIcon() abstract
  16247. * XplatUIOSX.cs: Stubbed out SetIcon() method
  16248. * XplatUIX11.cs:
  16249. - Implemented SetIcon() support
  16250. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  16251. - Switched to unix line endings
  16252. * XplatUIWin32.cs:
  16253. - Made POINT internal so for can access it as part of MINMAX
  16254. - Implemented SetIcon() support
  16255. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  16256. native Mdi support again, might have to go managed)
  16257. * Control.cs: Now fires the StyleChanged event
  16258. * MdiClient.cs: Added; still mostly empty
  16259. 2005-03-10 Peter Bartok <[email protected]>
  16260. * SaveFileDialog.cs: Added emtpy file
  16261. 2005-03-08 Peter Bartok <[email protected]>
  16262. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  16263. in turn triggers OnCreateContro) when creating a handle for the
  16264. first time.
  16265. * TextControl.cs: Fixed endless loop in certain cases when
  16266. replacing the current selection
  16267. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  16268. * ScrollBar.cs:
  16269. - Honors NewValue changes in Scroll events allowing apps to change it
  16270. - Adds First and Last Scroll events
  16271. - Fixes Thumb events
  16272. 2005-03-07 Peter Bartok <[email protected]>
  16273. * Hwnd.cs: Added DefaultClientRectangle property
  16274. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  16275. more detailed debug information
  16276. * XplatUIX11.cs:
  16277. - Fixed size-change feedback loop, where we would pull an old size
  16278. off the queue and mistakenly change our window's size to an
  16279. earlier value
  16280. - Now compressing ConfigureNotify events, to reduce looping and
  16281. redraw issues
  16282. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  16283. is called
  16284. 2005-03-07 Jackson Harper <[email protected]>
  16285. * Binding.cs: Push data pushes from data -> property. Check if the
  16286. property is readonly when attempting to set it.
  16287. 2005-03-07 Jackson Harper <[email protected]>
  16288. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  16289. instead of IsSubclassOf. Pulling data now sets the value on the
  16290. control.
  16291. * PropertyManager.cs:
  16292. * CurrencyManager.cs: Just need to pull data when updating now,
  16293. because PullData will set the value on the control.
  16294. 2005-03-04 Jackson Harper <[email protected]>
  16295. * Binding.cs: Implement data type parsing and converting on pulled
  16296. data. TODO: Are there more ways the data can be converted?
  16297. 2005-03-04 Jackson Harper <[email protected]>
  16298. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  16299. controls Validating method so we can repull the data when the
  16300. control loses focus.
  16301. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  16302. * ColumnHeader.cs:
  16303. - Fixes null string format
  16304. * ListView.cs:
  16305. - Adds enum type checks
  16306. - Fixes redrawing and recalc need after changing some properties
  16307. - Fixes on focus_item set after the event
  16308. - Fixes adding columns after the control has been created
  16309. * ThemeWin32Classic.cs:
  16310. - Fixes CheckBox focus rectangle
  16311. - Fixes ColumnHeader drawing
  16312. 2005-03-03 Jackson Harper <[email protected]>
  16313. * Binding.cs: Bind to <Property>Changed events so we can detect
  16314. when properties are changed and update the data.
  16315. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  16316. * ImageList.cs:
  16317. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  16318. - Fixes ImageList constructor with ImageList container
  16319. - Fixes image scaling (wrong parameters at DrawImage)
  16320. 2005-02-02 Jackson Harper <[email protected]>
  16321. * Binding.cs: Make property searches case-insensitive. Eliminate
  16322. some duplicated code.
  16323. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  16324. * ComboBox.cs:
  16325. - Handle focus event
  16326. - Fix scrollbar events
  16327. - Discard highlighted item if remove it
  16328. - Fixes SelectedItem with strings
  16329. 2005-03-01 Peter Bartok <[email protected]>
  16330. * Control.cs:
  16331. - Fixed Visible property, now follows (once again) parent chain
  16332. to return false if any control in the chain is visible=false
  16333. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  16334. - Fixed several places where is_visible instead of Visible was used
  16335. - Implemented FIXME related to focus selection when setting focused
  16336. control to be invisible
  16337. * XplatUIWin32.cs: Now using proper method to find out if window is
  16338. visible. Thanks to Jordi for pointing it out
  16339. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  16340. * ComboBox.cs: show/hide scrollbar instead of creating it
  16341. 2005-02-27 Jackson Harper <[email protected]>
  16342. * CurrencyManager.cs: Add PositionChanged stuff.
  16343. 2005-02-27 Peter Bartok <[email protected]>
  16344. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  16345. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  16346. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  16347. * XplatUIX11.cs:
  16348. - Implemented GetMenuDC()
  16349. - Implemented GetMenuOrigin()
  16350. - Implemented ReleaseMenuDC()
  16351. - Implemented generation of WM_NCPAINT message
  16352. - Implemented generation and handling of WM_NCCALCSIZE message
  16353. * Form.cs: Added debug helper message for Jordi's menu work
  16354. * Hwnd.cs:
  16355. - Modified ClientRect property; added setter, fixed getter to handle
  16356. setting of ClientRect
  16357. - Added MenuOrigin property
  16358. 2005-02-26 Peter Bartok <[email protected]>
  16359. * XplatUIX11.cs:
  16360. - Destroys the caret if a window that's being destroyed contains it
  16361. - Ignores expose events coming from the X11 queue for windows that
  16362. already are destroyed
  16363. - Now uses the proper variable for handling DestroyNotify, before we
  16364. marked the wrong window as destroyed
  16365. - Improved/added some debug output
  16366. 2005-02-26 Peter Bartok <[email protected]>
  16367. * X11Keyboard.cs: Fixes to work on 64bit systems
  16368. 2005-02-26 Peter Bartok <[email protected]>
  16369. * Control.cs:
  16370. - Now calling OnHandleDestroyed from DestroyHandle()
  16371. instead of Dispose()
  16372. - Removed bogus call to controls.Remove() from DestroyHandle()
  16373. 2005-02-26 Peter Bartok <[email protected]>
  16374. * Control.cs: Properly destroy child windows when our handle is
  16375. destroyed
  16376. 2005-02-25 Peter Bartok <[email protected]>
  16377. * XplatUI.cs:
  16378. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  16379. - Alphabetized Static Methods and Subclasses
  16380. * XplatUIX11.cs:
  16381. - Added XException class to allow custom handling of X11 exceptions
  16382. - Created custom X11 error handler, tied into XException class
  16383. - Added support for MONO_XEXCEPTIONS env var to allow the user
  16384. to either throw an exception on X errors or continue running
  16385. after displaying the error
  16386. - Added handling of DestroyNotify message
  16387. - Added handler for CreateNotify message (still disabled)
  16388. - Improved (tried to at least) Where method to provide file and lineno
  16389. * X11Structs.cs:
  16390. - Added XErrorHandler delegate
  16391. - Added XRequest enumeration (to suppor translation of errors)
  16392. 2005-02-25 Jackson Harper <[email protected]>
  16393. * PropertyManager.cs: Implement editing features
  16394. * CurrencyManager.cs:
  16395. * Binding.cs: First attempt at UpdateIsBinding
  16396. * BindingManagerBase.cs: Call UpdateIsBinding before
  16397. pushing/pulling data.
  16398. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  16399. * MenuAPI.cs: Respect disabled items
  16400. * ThemeWin32Classic.cs
  16401. - Caches ImageAttributes creation for DrawImageDisabled
  16402. - Fixes vertical menu line drawing
  16403. - Draws disabled arrows in disable menu items
  16404. 2005-02-24 Peter Bartok <[email protected]>
  16405. * Hwnd.cs:
  16406. - Added UserData property to allow associating arbitrary objects
  16407. with the handle
  16408. - Fixed leak; now removing Hwnd references from static windows array
  16409. * XplatUIWin32.cs:
  16410. - Fixed Graphics leak in PaintEventEnd
  16411. - Removed usage of HandleData, switched over to Hwnd class
  16412. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  16413. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  16414. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  16415. * ScrollBar.cs: Fixes bug
  16416. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  16417. keyboard navigation enhancements
  16418. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  16419. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  16420. * GroupBox.cs: Add control styles
  16421. * Label.cs: Add control styles
  16422. * UpDownBase.cs: Add control styles
  16423. * ListBox.cs: Add control styles
  16424. * XplatUIWin32.cs: Fixes wrong parameter order
  16425. 2005-02-23 Chris Bacon <[email protected]>
  16426. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  16427. 2005-02-23 Jackson Harper <[email protected]>
  16428. * PropertyManager.cs: Implement property binding. This doesn't
  16429. seem to work yet though as (I think) there are some bugs in
  16430. System.ComponentModel.PropertyDescriptor.
  16431. * BindingContext.cs: Use new PropertyManager constructor.
  16432. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  16433. * ProgressBar.cs: use clip region in ProgressBar
  16434. * ThemeWin32Classic.cs: use clip region in ProgressBar
  16435. 2004-02-22 Jackson Harper <[email protected]>
  16436. * BindingsCollection.cs: Remove some debug code.
  16437. 2005-02-22 Jackson Harper <[email protected]>
  16438. * BindingContext.cs:
  16439. * ControlBindingsCollection.cs:
  16440. * CurrencyManager.cs:
  16441. * Binding.cs:
  16442. * BindingManagerBase.cs: Initial implementation
  16443. * BindingsCollection.cs: Add an internal contains method that the
  16444. BindingManagerBase uses to ensure bindings aren't added twice to
  16445. the collection.
  16446. * PropertyManager.cs: Stubbed out.
  16447. * Control.cs:
  16448. * ContainerControl.cs: Hook up databinding
  16449. 2005-02-22 Geoff Norton <[email protected]>
  16450. * XplatUIOSX.cs:
  16451. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  16452. Fixed Invalidate/Update chain.
  16453. Fixed tons of other minor bugs (this is almost a complete rewrite).
  16454. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  16455. * ComboBox.cs: do subcontrol creation when the control is created
  16456. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  16457. * Label.cs: fixes image drawing (image and imagelist)
  16458. * ThemeWin32Classic.cs: cache brushes
  16459. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  16460. * Form.cs: Move menu drawing code to Theme class
  16461. * ComboBox.cs: Move ComboBox drawing code to Theme class
  16462. * MenuItem.cs: Move menu drawing code to Theme class
  16463. * MenuAPI.cs: Move menu drawing code to Theme class
  16464. * ThemeWin32Classic.cs: New methods
  16465. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  16466. * ListBox.cs: Move Listbox drawing code to Theme class
  16467. * Theme.cs: New methods
  16468. 2005-02-20 Peter Bartok <[email protected]>
  16469. * Control.cs:
  16470. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  16471. only process mnemonics on those)
  16472. - Fixed event sequence for key handling; first calling
  16473. ProcessKeyEventArgs now
  16474. * TextBoxBase.cs:
  16475. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  16476. for processing non-character keys
  16477. - Fixed WM_CHAR to generate proper event sequence before processing
  16478. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  16479. generation
  16480. 2005-02-19 Peter Bartok <[email protected]>
  16481. * UserControl.cs: Added TextChanged event; added attributes
  16482. * SizeGrip.cs: Implemented resizing and optional display of grip
  16483. * Form.cs: Fixed attribute
  16484. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  16485. Changed meaning of ScrollWindow bool argument; instead of the
  16486. clear attribute (which will be true usually anyway), it gives the
  16487. option of moving child controls as well.
  16488. * XplatUIX11.cs:
  16489. - Changed to match new ScrollWindow argument
  16490. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  16491. now handles the implicit parent window a WM puts around us
  16492. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  16493. to work)
  16494. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  16495. * TreeView.cs: Adjusted to new ScrollWindow arguments
  16496. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  16497. * Form.cs: Menu integration with non-client area
  16498. * MenuItem.cs: Menu integration with non-client area
  16499. * MenuAPI.cs: Menu integration with non-client area
  16500. 2005-02-18 Peter Bartok <[email protected]>
  16501. * MethodInvoker.cs: Added
  16502. * MdiLayout.cs: Added
  16503. * SendKeys.cs: Started implementation
  16504. * ErrorIconAlignment.cs: Added
  16505. 2005-02-18 Peter Bartok <[email protected]>
  16506. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  16507. * Form.cs: Added handling for Menu-related Non-client messages
  16508. 2005-02-17 Peter Bartok <[email protected]>
  16509. * UpDownBase.cs: Fixed typo, compilation errors
  16510. * DomainUpDown.cs: Fixed attribute value
  16511. 2005-02-16 Miguel de Icaza <[email protected]>
  16512. * UpDownBase.cs: Attach entry events.
  16513. Propagate events.
  16514. Add ForeColor property, Focused, InterceptArrowKeys (interception
  16515. does not work yet).
  16516. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  16517. * Form.cs:
  16518. - Redraw non client are on Setmenu
  16519. - Calc proper menu starting point
  16520. 2005-02-17 Peter Bartok <[email protected]>
  16521. * Application.cs: Fixed message_filter check
  16522. 2005-02-17 Peter Bartok <[email protected]>
  16523. * Application.cs: Now calls registered message filters
  16524. * DockStyle.cs: Fixed attribute
  16525. * Form.cs: Fixed attribute
  16526. * Menu.cs: Fixed attribute
  16527. * ToolTip.cs: Fixed attribute
  16528. * TreeNode.cs: Added missing attributes and arranged in regions
  16529. * PropertyGrid.cs: Fixed signatures
  16530. * TreeNodeCollection.cs: Added attributes
  16531. * Splitter.cs: Added missing attributes; arranged into regions
  16532. * TabPage.cs: Added missing attributes; arranged into regions
  16533. * TextBoxBase.cs: Added missing attributes
  16534. * TextBox.cs: Added missing attributes
  16535. * ArrangeDirection.cs: Added missing attributes
  16536. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  16537. * ToolBarButton.cs: Fixed attributes
  16538. * AnchorStyles.cs: Fixed attribute
  16539. * TrackBar.cs: Fixed attributes
  16540. * TabControl.cs: Added missing attributes and arranged into regions
  16541. * ToolBar.cs: Fixed attribute
  16542. * StatusBar.cs: Fixed signature, organized into regions and added
  16543. attributes
  16544. * StatusBarPanel.cs: Fixed attributes
  16545. * ContentsResizedEventArgs.cs: Implemented
  16546. * ContentsResizedEventHandler.cs: Implemented
  16547. * DateBoldEventArgs.cs: Implemented
  16548. * DateBoldEventHandler.cs: Implemented
  16549. * UpDownEventArgs.cs: Implemented
  16550. * UpDownEventHandler.cs: Implemented
  16551. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  16552. * Form.cs: first Menu NC refactoring
  16553. * MenuAPI.cs: first Menu NC refactoring
  16554. 2005-02-16 Peter Bartok <[email protected]>
  16555. * ImeMode.cs: Added missing attributes
  16556. * Menu.cs: Fixed attribute
  16557. * GroupBox.cs: Fixed attribute
  16558. * Label.cs: Fixed attribute
  16559. * ColorDialog.cs (RunDialog): Removed TODO attribute
  16560. * ComboBox.cs: Fixed attributes
  16561. * ListControl.cs: Added missing attributes
  16562. * PropertyGrid.cs: Fixed attributes
  16563. * Control.cs: Fixed attributes
  16564. * ListViewItem.cs: Added TypeConverter attribute
  16565. * NotifyIcon.cs: Fixed attributes
  16566. * ListView.cs: Fixed attributes
  16567. * ButtonBase.cs: Fixed attribute
  16568. * ImageList.cs: Added missing attributes
  16569. * ContainerControl.cs: Fixed signature
  16570. * CheckedListBox.cs: Fixed attribute; added missing attributes
  16571. * Panel.cs: Fixed attributes
  16572. * PropertyTabChangedEventArgs.cs: Added missing attribute
  16573. * PropertyValueChangedEventArgs.cs: Added missing attribute
  16574. * Binding.cs: Fixed attribute
  16575. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  16576. * ListBox.cs: Fixed attribute; added missing attributes;
  16577. * ScrollableControl.cs: Added missing attributes
  16578. * PictureBox.cs: Added missing attributes; implemented missing property
  16579. * DateTimePicker.cs: Added missing attributes
  16580. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  16581. * MonthCalendar.cs: Fixed attributes
  16582. * StatusBarPanel.cs: Added missing attributes
  16583. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  16584. 2005-02-16 Peter Bartok <[email protected]>
  16585. * TextBoxBase.cs: The previous method to enforce height yet remember
  16586. the requested high was less than ideal, this is an attempt to do
  16587. it better.
  16588. * Control.cs: Added comment about possible problem
  16589. * Copyright: Updated format
  16590. * GridItemType.cs: Fixed swapped values
  16591. 2005-02-15 Jackson Harper <[email protected]>
  16592. * BaseCollection.cs: Use property so we never access an
  16593. uninitialized list. Also initialize the list in the property.
  16594. 2005-02-15 Peter Bartok <[email protected]>
  16595. * GroupBox.cs (ProcessMnemonic): Implemented
  16596. * Label.cs (ProcessMnemonic): Implemented
  16597. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  16598. hotkeys
  16599. 2005-02-15 Peter Bartok <[email protected]>
  16600. * RadioButton.cs (ProcessMnemonic): Implemented
  16601. * CheckBox.cs (ProcessMnemonic): Implemented
  16602. * Control.cs:
  16603. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  16604. handling
  16605. - Added internal method to allow calling ProcessMnemonic from other
  16606. controls
  16607. * ContainerControl.cs:
  16608. - Started support for handling validation chain handling
  16609. - Implemented ProcessMnemonic support
  16610. - Added Select() call to Active, to make sure the active control
  16611. receives focus
  16612. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  16613. FormParent rewrite)
  16614. * ThemeWin32Classic.cs:
  16615. - DrawCheckBox(): Fixed stringformat to show hotkeys
  16616. - DrawRadioButton(): Fixed stringformat to show hotkeys
  16617. * CommonDialog.cs: Removed WndProc override, not needed
  16618. 2005-02-14 Peter Bartok <[email protected]>
  16619. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  16620. missed those in the rewrite
  16621. 2005-02-14 Miguel de Icaza <[email protected]>
  16622. * NumericUpDown.cs (Increment, ToString): Add.
  16623. (DecimalPlaces): implement.
  16624. Add attributes.
  16625. * UpDownBase.cs: Add the designer attributes.
  16626. 2005-02-13 Peter Bartok <[email protected]>
  16627. * Panel.cs: Removed border_style, now in Control
  16628. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  16629. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  16630. 2005-02-13 Peter Bartok <[email protected]>
  16631. * MouseButtons.cs: Added missing attributes
  16632. * XplatUIStructs.cs: Added enumeration for title styles
  16633. * LeftRightAlignment.cs: Added missing attributes
  16634. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  16635. it compatible with Graphics.FromHwnd()
  16636. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  16637. * Keys.cs: Added missing attributes
  16638. * SelectionRange.cs: Added missing attributes
  16639. * SelectionRangeConverter.cs: Added
  16640. * XplatUI.cs:
  16641. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  16642. ReleaseMenuDC methods
  16643. - Renamed ReleaseWindow to UngrabWindow
  16644. - Added proper startup notice to allow version identification
  16645. * Form.cs:
  16646. - Added missing attributes
  16647. - Removed FormParent concept
  16648. * Label.cs: Removed border_style field, now in Control
  16649. * RadioButton.cs: Now properly selects RadioButton when focus is
  16650. received
  16651. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  16652. * Control.cs:
  16653. - Added missing attributes
  16654. - Added borderstyle handling
  16655. - Removed FormParent concept support
  16656. - Fixed calls to XplatUI to match changed APIs
  16657. - Fixed bug that would case us to use disposed Graphics objects
  16658. - Removed unneeded internal methods
  16659. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  16660. - SelectNextControl(): Fixed to properly check common parents
  16661. * TextBoxBase.cs: Removed border_style field (now in Control)
  16662. * MessageBox.cs:
  16663. - Patch by Robert Thompson ([email protected]): Added icon support,
  16664. fixed calculations for form size
  16665. - Added support for localized strings and icons
  16666. - Improved form size calculations, added border
  16667. * ListView.cs: Removed border_style field (now in Control)
  16668. * X11Structs.cs: Moved several structs from X11 driver here
  16669. * X11Keyboard.cs: Changed debug message
  16670. * Application.cs: Removed FormParent concept support
  16671. * CommonDialog.cs:
  16672. - Resetting end_modal flag
  16673. - Removed FormParent concept support
  16674. * NativeWindow.cs: Removed FormParent concept support
  16675. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  16676. Client area and Non-Client whole window to allow support for WM_NC
  16677. messages
  16678. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  16679. prevent using it until it supports Hwnd as per Geoff Norton's request
  16680. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  16681. * PictureBox.cs: Removed border_style field, now in Control
  16682. * XplatUIWin32.cs: Added new driver methods
  16683. 2005-02-12 Peter Bartok <[email protected]>
  16684. * OpacityConverter.cs: Implemented
  16685. * Hwnd.cs: Internal class to support drivers that need to emulate
  16686. client area/non-client area window behaviour
  16687. 2005-02-11 Peter Bartok <[email protected]>
  16688. * KeysConverter.cs: Implemented
  16689. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  16690. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  16691. * LinkLabel: Added missing attributes
  16692. * MainMenu.cs: fixes ToString
  16693. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  16694. * ListBox.cs: fixes event position
  16695. * TrackBar.cs: adds missing attributes and events
  16696. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  16697. * MenuItem.cs: Use SystemInformation and bug fixes
  16698. * MenuAPI.cs: Use SystemInformation and bug fixes
  16699. 2005-02-09 Jackson Harper <[email protected]>
  16700. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  16701. their keystate otherwise things like VK_MENU get stuck "on".
  16702. 2005-02-09 Kazuki Oikawa <[email protected]>
  16703. * ListBox.cs: Fixes AddRange bug
  16704. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  16705. * ProgressBar.cs
  16706. - Add missing attributes
  16707. - Add missing method
  16708. * CheckedListBox.cs: Added missing attributes
  16709. - Add missing attributes
  16710. - Remove extra method
  16711. * ComboBox.cs: Added missing attributes
  16712. * VScrollBar.cs: Added missing attributes
  16713. * ScrollBar.cs: Added missing attributes
  16714. * ListBox.cs: Fixes signature, add missing consts
  16715. * LinkArea.cs: Added missing attributes
  16716. 2005-02-08 Peter Bartok <[email protected]>
  16717. * Menu.cs: Added missing attributes
  16718. * MainMenu.cs: Added missing attributes
  16719. * GroupBox.cs: Added missing attributes
  16720. * Label.cs: Added missing attributes
  16721. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  16722. * ColorDialog.cs:
  16723. - Added Instance and Options properties
  16724. - Added missing attributes
  16725. * Cursor.cs: Made Serializable
  16726. * NotifyIcon: Added missing attributes
  16727. * MenuItem.cs: Added missing attributes
  16728. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  16729. * Panel.cs: Added Missing attributes
  16730. * MonthCalendar.cs: Fixed CreateParams
  16731. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  16732. * LinkLabel.cs:
  16733. - Fixes signature
  16734. - Fixes issues with links
  16735. - Adds the class attributes
  16736. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  16737. * ComboBox.cs:
  16738. - Fixes button when no items available in dropdown
  16739. - Fixes repainting problems
  16740. - Adds the class attributes
  16741. 2005-02-07 Geoff Norton <[email protected]>
  16742. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  16743. the current theme. Cache these on startup.
  16744. 2005-02-07 Jackson Harper <[email protected]>
  16745. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  16746. the scrollbar buttons when they are depressed.
  16747. 2005-02-07 Geoff Norton <[email protected]>
  16748. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  16749. Get the display size from the main displayid. We currently dont
  16750. support multiple display configurations.
  16751. 2005-02-07 Geoff Norton <[email protected]>
  16752. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  16753. 2005-02-07 Miguel de Icaza <[email protected]>
  16754. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  16755. 2005-02-05 Jonathan Chambers <[email protected]>
  16756. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  16757. 2005-02-04 Jackson Harper <[email protected]>
  16758. * ThemeWin32Classic.cs: Respect the clipping rect when
  16759. drawing. Only fill the intersection of clips and rects so there
  16760. isn't a lot of large fills.
  16761. * ScrollBar.cs: Pass the correct clipping rect to the theme
  16762. engine. Remove some debug code.
  16763. 2005-02-05 John BouAntoun <[email protected]>
  16764. * DateTimePicker.cs:
  16765. - Fixed crash on DateTime.Parse, use Constructor instead
  16766. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  16767. * MenuItem.cs:
  16768. * MenuAPI.cs:
  16769. - Owner draw support (MeasureItem and DrawItem)
  16770. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  16771. * Menu.cs:
  16772. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  16773. - Fixes MenuItems.Add range
  16774. * MenuItem.cs:
  16775. - MergeMenu and Clone and CloneMenu functions
  16776. 2005-02-03 Jackson Harper <[email protected]>
  16777. * ScrollBar.cs: Make abstract
  16778. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  16779. is abstract.
  16780. 2005-02-03 Jackson Harper <[email protected]>
  16781. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  16782. all the unneeded refreshes and uses invalidates with properly
  16783. computed rects.
  16784. 2005-02-03 Peter Bartok <[email protected]>
  16785. * ComponentModel.cs: Added
  16786. * IDataGridEditingService.cs: Added
  16787. * Timer.cs: Added missing attributes
  16788. * ToolTip.cs: Added missing attributes
  16789. 2005-02-03 Jonathan Chambers <[email protected]>
  16790. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  16791. 2005-02-03 Peter Bartok <[email protected]>
  16792. * ListBox.cs: Added missing attributes
  16793. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  16794. * ListBox.cs:
  16795. - Fixes font height after font change
  16796. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  16797. 2005-02-02 Peter Bartok <[email protected]>
  16798. * HandleData.cs: Introduced static methods to allow class
  16799. to be more self-contained and track it's own HandleData objects
  16800. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  16801. HandleData to use new static methods
  16802. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  16803. * Combobox.cs:
  16804. - Fixes default size and PreferredHeight
  16805. - Missing events
  16806. - ObjectCollection.Insert implementation
  16807. * ListControl.cs
  16808. - Fixes signature
  16809. * ListBox.cs:
  16810. - Several fixes
  16811. - ObjectCollection.Insert implementation
  16812. - No selection after clean
  16813. - Small fixes
  16814. 2005-01-31 John BouAntoun <[email protected]>
  16815. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  16816. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  16817. * Combobox.cs:
  16818. - Caches ItemHeight calculation for OwnerDrawVariable
  16819. - Handles dropdown properly
  16820. - Fixes several minor bugs
  16821. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  16822. * ListBox.cs:
  16823. - Fixes 71946 and 71950
  16824. - Fixes changing Multicolumn on the fly
  16825. - Fixes keyboard navigation on Multicolumn listboxes
  16826. 2005-01-31 Geoff Norton <[email protected]>
  16827. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  16828. crash reporter log.
  16829. 2005-01-31 Geoff Norton <[email protected]>
  16830. * XplatUIOSX.cs: Allow applications to actually exit.
  16831. 2005-01-31 Geoff Norton <[email protected]>
  16832. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  16833. their parent at creation time rather than lazily later. Fixes a major
  16834. regression we were experiencing.
  16835. 2005-01-31 John BouAntoun <[email protected]>
  16836. * ThemeWin32Classic.cs: more date time picker painting fixes
  16837. * DateTimePicker.cs: more monthcalendar drop down fixes
  16838. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  16839. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  16840. * ScrollBar.cs:
  16841. - When moving the thumb going outside the control should stop the moving
  16842. - Adds the firing of missing events
  16843. - Fixes no button show if Size is not specified
  16844. - End / Home keys for keyboard navigation
  16845. 2005-01-30 Peter Bartok <[email protected]>
  16846. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  16847. sanity check to prevent theoretical loop
  16848. * XplatUIWin32.cs (SetVisible): Removed debug output
  16849. * XplatUIX11.cs (SystrayChange): Added sanity check
  16850. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  16851. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  16852. behaviour, valid until the X11 client window rewrite is done
  16853. * TextBox.cs (ctor): Setting proper default foreground and background
  16854. colors
  16855. 2005-01-30 John BouAntoun <[email protected]>
  16856. * Theme: Added DrawDateTimePicker to interface
  16857. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  16858. * DateTimePicker.cs: Created (still needs keys and painting code)
  16859. * DateTimePickerFormat.cs: added
  16860. * MonthCalendar.cs: fixed CreateParams for popup window mode
  16861. 2005-01-29 Peter Bartok <[email protected]>
  16862. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  16863. this should also the calculations for ligher/darker
  16864. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  16865. 2005-01-29 Peter Bartok <[email protected]>
  16866. * ArrangeDirection.cs: Added
  16867. * ArrangeStartingPositon.cs: Added
  16868. * SystemInformation.cs: Implemented
  16869. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16870. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  16871. used by SystemInformation class
  16872. * X11Strucs.cs: Added XSizeHints structure
  16873. * MenuAPI.cs:
  16874. - Fixed CreateParams to make sure the menu window is always visible
  16875. - TrackPopupMenu: Added check to make sure we don't draw the
  16876. menu offscreen
  16877. 2005-01-29 Peter Bartok <[email protected]>
  16878. * HandleData.cs: Added method for altering invalid area
  16879. * TextBoxBase.cs: Implemented TextLength
  16880. 2005-01-28 Peter Bartok <[email protected]>
  16881. * XplatUIX11.cs: Improvement over last patch, not sending
  16882. the WM_PAINT directly anymore, instead we scroll any pending
  16883. exposed areas and let the system pick out the WM_PAINT later
  16884. 2005-01-28 Peter Bartok <[email protected]>
  16885. * SWF.csproj: Deleted, no longer used. Instead,
  16886. Managed.Windows.Forms/SWF.csproj should be used
  16887. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  16888. directly, to avoid a potential race condition with the next
  16889. scroll
  16890. 2005-01-28 Peter Bartok <[email protected]>
  16891. * XplatUI.cs: Made class internal
  16892. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  16893. * CheckedListBox.cs:
  16894. - Draw focus
  16895. - Fixed Drawing
  16896. - Missing methods and events
  16897. 2005-01-27 Peter Bartok <[email protected]>
  16898. * Application.cs (Run): Don't use form if we don't have one
  16899. 2005-01-27 Peter Bartok <[email protected]>
  16900. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  16901. 2005-01-27 Peter Bartok <[email protected]>
  16902. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  16903. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  16904. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  16905. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  16906. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  16907. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  16908. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16909. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  16910. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16911. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16912. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  16913. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  16914. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  16915. * Combobox.cs:
  16916. - Draw focus on Simple Combobox
  16917. - Fixes drawing issues
  16918. - fixes 71834
  16919. 2005-01-27 Peter Bartok <[email protected]>
  16920. * Form.cs:
  16921. - Place window in default location, instead of hardcoded 0/0
  16922. - Send initial LocationChanged event
  16923. * Control.cs:
  16924. - UpdateBounds after creation to find out where the WM placed us
  16925. - Make sure that if the ParentForm changes location the Form
  16926. is notified
  16927. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  16928. to the root, but to whatever the WM placed around us.
  16929. Translate to root coordinates before returning toplevel
  16930. coordinates
  16931. * XplatUIWin32.cs: Removed debug output
  16932. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  16933. flag to GetWindowPos, to allow translation of coordinates on X11
  16934. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  16935. * ListBox.cs: connect LostFocus Event
  16936. 2005-01-27 Peter Bartok <[email protected]>
  16937. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  16938. XplatUIX11.cs: Extended the Systray API
  16939. * Form.cs: Removed debug output
  16940. * Application.cs: Fixed focus assignment, always need to call
  16941. XplatUI.Activate() since Form.Activate() has rules that may
  16942. prevent activation
  16943. * NotifyIcon.cs: Should be complete now
  16944. * ToolTip.cs: Worked around possible timer bug
  16945. 2005-01-27 Jackson Harper <[email protected]>
  16946. * TabControl.cs:
  16947. - Only invalidate the effected tabs when the
  16948. selected index changes. This reduces drawing and gets rid of some
  16949. flicker.
  16950. - Only refresh if the tabs need to be shifted, otherwise only
  16951. invalidate the slider button.
  16952. - On windows the tabs are not filled to right if the slider is
  16953. visible.
  16954. 2005-01-27 Jackson Harper <[email protected]>
  16955. * TabControl.cs: Only refresh on mouseup if we are showing the
  16956. slider. Also only invalidate the button whose state has changed.
  16957. 2005-01-26 Peter Bartok <[email protected]>
  16958. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  16959. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  16960. and SystrayRemove() methods
  16961. * XplatUIOSX.cs: Stubbed Systray methods
  16962. * XplatUIX11.cs:
  16963. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  16964. methods
  16965. - Fixed broken XChangeProperty calls (marshalling messed up things)
  16966. * X11Structs.cs: Added enums and structs required for Size hinting
  16967. * NotifyIcon.cs: Added & implemented
  16968. 2005-01-26 Jackson Harper <[email protected]>
  16969. * TabControl.cs: Space vertically layed out tabs properly.
  16970. 2005-01-26 Peter Bartok <[email protected]>
  16971. * Form.cs (CreateClientParams): Always set the location to 0,0
  16972. since we're a child window.
  16973. * Control.cs (SetVisibleCore): Always explicitly setting the location
  16974. of a toplevel window, apparently X11 doesn't like to move windows
  16975. while they're not mapped.
  16976. 2005-01-26 Jackson Harper <[email protected]>
  16977. * TabControl.cs: Implement FillToRight size mode with vertically
  16978. rendered tabs.
  16979. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  16980. * ControlPaint.cs, ThemeWin32Classic.cs
  16981. - Fixes DrawFocusRectangle
  16982. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  16983. * MenuAPI.cs:
  16984. - MenuBar tracking only starts when item is first clicked
  16985. - Fixes menu hidding for multiple subitems
  16986. - Unselect item in MenuBar when item Executed
  16987. - Fixes bug 71495
  16988. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  16989. * ListControl.cs:
  16990. - IsInputKey for ListBox
  16991. * ListBox.cs:
  16992. - Focus item
  16993. - Shift and Control item selection
  16994. - Implement SelectionMode.MultiExtended
  16995. - Fixes RightToLeft
  16996. * ComboBox.cs:
  16997. - IsInputKey implemented
  16998. - Do not generate OnTextChangedEdit on internal txt changes
  16999. 2005-01-23 Peter Bartok <[email protected]>
  17000. * AccessibleObject.cs: Partially implemented Select()
  17001. * MonthCalendar.cs: Added missing attributes and events
  17002. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  17003. form can properly override CreateParams.
  17004. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  17005. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  17006. Control performs Invalidate & Update
  17007. * NativeWindow (CreateHandle): Added special handling for Form
  17008. and Form.FormParent classes to allow overriding of From.CreateParams
  17009. * Control.cs:
  17010. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  17011. name 'owner'
  17012. - ControlNativeWindow: Added Owner property
  17013. - Removed usage of Refresh() on property changes, changed into
  17014. Invalidate(), we need to wait until the queue is processed for
  17015. updates, direct calls might cause problems if not all vars for
  17016. Paint are initialized
  17017. - Added call to UpdateStyles() when creating the window, to set any
  17018. styles that CreateWindow might have ignored.
  17019. - Added support for Form CreateParent overrides to UpdateStyles()
  17020. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  17021. CreateParams are now properly overridable
  17022. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  17023. CreateParams are now properly overridable
  17024. 2005-01-23 Miguel de Icaza <[email protected]>
  17025. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  17026. OnTextBoxChanged.
  17027. Capture LostFocus and OnTextBoxChanged. The later introduces a
  17028. recursive invocation that I have not figured out yet.
  17029. Reset the timer when not using (it was accumulating).
  17030. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  17031. user has made changes that require validation.
  17032. Reset changing to avoid loops.
  17033. 2005-01-22 Miguel de Icaza <[email protected]>
  17034. * NumericUpDown.cs: Display value at startup.
  17035. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  17036. ValidateEditText.
  17037. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  17038. filled in. Added some basic parsing of text.
  17039. Still missing the OnXXX method overrides, and figuring out the
  17040. events that must be emitted.
  17041. * UpDownBase.cs: Handle UserEdit on the Text property.
  17042. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  17043. * ComboBox.cs:
  17044. - Fixes IntegralHeight
  17045. - ToString method
  17046. 2005-01-21 Jackson Harper <[email protected]>
  17047. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  17048. is set so that the page visibility is updated and the tabs are
  17049. sized correctly.
  17050. 2005-01-21 Jackson Harper <[email protected]>
  17051. * TabControl.cs: Use cliping rectangle for blitting. Give the
  17052. theme the clipping rect so we can do clipping while
  17053. drawing. Remove some debug code.
  17054. 2005-01-21 Jackson Harper <[email protected]>
  17055. * TabPage.cs: Add a new method so tab pages can force the tab
  17056. control to recalculate the tab page sizes.
  17057. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  17058. sizes.
  17059. 2005-01-20 Jackson Harper <[email protected]>
  17060. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  17061. 2005-01-20 Jackson Harper <[email protected]>
  17062. * TreeView.cs: Set the bounds for nodes properly. They were
  17063. getting screwed up when checkboxes were not enabled, but images
  17064. were.
  17065. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  17066. * ListBox.cs:
  17067. - Owner draw support
  17068. - Fixes
  17069. 2005-01-20 Jackson Harper <[email protected]>
  17070. * XplatUIStructs.cs: More misc keys
  17071. * X11Keyboard.cs: Ignore some control keys.
  17072. 2005-01-20 Jackson Harper <[email protected]>
  17073. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  17074. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  17075. 2005-01-19 Peter Bartok <[email protected]>
  17076. * Control.cs: Un-selecting the control when it is loosing focus
  17077. 2005-01-19 Jackson Harper <[email protected]>
  17078. * TreeView.cs: Hook up to the text controls leave event so we can
  17079. end editing when the users clicks outside the text box.
  17080. 2005-01-19 Jackson Harper <[email protected]>
  17081. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  17082. get set in the conversion array.
  17083. 2005-01-19 Peter Bartok <[email protected]>
  17084. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  17085. focus is properly set
  17086. * Button.cs:
  17087. - Added missing attributes
  17088. - removed styles, those are already set in the base class
  17089. * ButtonBase.cs:
  17090. - Added missing attributes
  17091. - Added clip window styles
  17092. * CheckBox.cs: Added missing attributes
  17093. * CommonDialog.cs:
  17094. - FormParentWindow.CreateParams: Added required clip styles
  17095. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  17096. also filters modifier keys
  17097. * MessageBox.cs:
  17098. - Added assignment of Accept and Cancel button to enable Enter
  17099. and Esc keys in MessageBox dialogs
  17100. - FormParentWindow.CreateParams: Added required clip styles
  17101. * RadioButton.cs: Added missing attributes
  17102. * TextControl.cs: No longer draws selection if control does not
  17103. have focus
  17104. * TextBoxBase.cs:
  17105. - Now draws simple rectangle around test area to make it obvious
  17106. there's a control. This is a hack until we properly support borders
  17107. - A few simple fixes to support selections better, now erases selected
  17108. text when typing, and resets selection when using movement keys
  17109. 2005-01-19 Miguel de Icaza <[email protected]>
  17110. * UpDownBase.cs: Added some new properties.
  17111. * DomainUpDown.cs: Implement a lot to get my test working.
  17112. 2005-01-19 Geoff Norton <[email protected]>
  17113. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  17114. 2005-01-19 Geoff Norton <[email protected]>
  17115. * OSXStructs (WindowAttributes): Fixed csc complaints
  17116. 2005-01-19 Geoff Norton <[email protected]>
  17117. * XplayUIOSX.cs:
  17118. OSXStructs.cs: Initial refactor to move enums and consts into
  17119. OSXStructs and use them in the driver for greater readability.
  17120. 2005-01-19 Geoff Norton <[email protected]>
  17121. * XplatUIOSX.cs: Initial support for Standard Cursors.
  17122. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  17123. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  17124. * ComboBox.cs: ability to change style when the ctrl is already
  17125. created, missing methods and events, bug fixes, signature fixes
  17126. 2005-01-19 Peter Bartok <[email protected]>
  17127. * Cursors.cs (ctor): Added ctor to fix signature
  17128. 2005-01-18 Peter Bartok <[email protected]>
  17129. * Button.cs: Implemented DoubleClick event
  17130. * ButtonBase.cs:
  17131. - Fixed keyboard handling to behave like MS, where the press of
  17132. Spacebar is equivalent to a mousedown, and the key release is
  17133. equivalent to mouseup. Now a spacebar push will give the same
  17134. visual feedback like a mouse click.
  17135. - Added missing attributes
  17136. - Added ImeModeChanged event
  17137. - Added support for generating DoubleClick event for derived classes
  17138. * CheckBox.cs:
  17139. - Implemented DoubleClick event
  17140. - Added missing attributes
  17141. * CommonDialog.cs: Added missing attribute
  17142. * ContextMenu.cs: Added missing attributes
  17143. * RadioButton.cs:
  17144. - AutoChecked buttons do not allow to be unselected when clicked
  17145. (otherwise we might end up with no selected buttons in a group)
  17146. - Added missing attributes
  17147. - Implemented DoubleClickEvent
  17148. * ThreadExceptionDialog.cs: Enabled TextBox code
  17149. 2005-01-18 Peter Bartok <[email protected]>
  17150. * Form.cs: Removed debug output
  17151. * Button.cs: Added support for DoubleClick method
  17152. 2005-01-18 Peter Bartok <[email protected]>
  17153. * Form.cs:
  17154. - Added method to parent window that allows triggering size
  17155. calculations when a menu is added/removed
  17156. - set_Menu: Cleaned up mess from early days of Form and Control,
  17157. now properly triggers a recalc when a menu is added/removed
  17158. - Added case to select form itself as focused form if no child
  17159. controls exist
  17160. - Added PerformLayout call when showing dialog, to ensure properly
  17161. placed controls
  17162. * Control.cs:
  17163. - Select(): Made internal so Form can access it
  17164. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  17165. status
  17166. * Application.cs (Run): Removed hack and calls PerformLayout instead
  17167. to trigger calculation when Form becomes visible
  17168. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  17169. * ComboBox.cs: fixes for ownerdraw
  17170. 2005-01-18 Peter Bartok <[email protected]>
  17171. * TextControl.cs:
  17172. - Sentinel is no longer static, each Document gets it's own, this
  17173. avoids locking or alternatively overwrite problems when more
  17174. than one text control is used simultaneously.
  17175. - Switched to use Hilight and HilightText brushes for text selection
  17176. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  17177. 2005-01-18 Peter Bartok <[email protected]>
  17178. * Control.cs:
  17179. - Hooked up the following events:
  17180. o ControlAdded
  17181. o ControlRemoved
  17182. o HandleDestroyed
  17183. o ImeModeChanged
  17184. o ParentChanged
  17185. o TabStopChanged
  17186. o Invalidated
  17187. o SystemColorsChanged
  17188. o ParentFontChanged
  17189. o Move
  17190. - Removed debug output
  17191. - Added a call to the current theme's ResetDefaults when a color change
  17192. is detected
  17193. * Form.cs: Now setting the proper ImeMode
  17194. * Theme.cs: Defined a method to force recreation of cached resources
  17195. and rereading of system defaults (ResetDefaults())
  17196. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  17197. 2005-01-17 Peter Bartok <[email protected]>
  17198. * Control.cs: Added missing attributes
  17199. 2005-01-17 Jackson Harper <[email protected]>
  17200. * TreeNode.cs: Implement editing. Add missing properties selected
  17201. and visible.
  17202. * TreeView.cs: Implement node editing. Also some fixes to use
  17203. Invalidate (invalid area) instead of Refresh when selecting.
  17204. 2005-01-17 Peter Bartok <[email protected]>
  17205. * Control.cs:
  17206. - Implemented InvokeGotFocus() method
  17207. - Implemented InvokeLostFocus() method
  17208. - Implemented InvokePaint() method
  17209. - Implemented InvokePaintBackground() method
  17210. - Implemented InvokeClick() method
  17211. - Implemented FindForm() method
  17212. - Implemented RectangleToClient() method
  17213. - Implemented ClientToRectangle() method
  17214. - Implemented ResetBackColor() method
  17215. - Implemented ResetCursor() method
  17216. - Implemented ResetFont() method
  17217. - Implemented ResteForeColor() method
  17218. - Implemented ResetImeMode() method
  17219. - Implemented ResetLeftToRight() method
  17220. - Implemented ResetText() method
  17221. - Implemented Scale() methods
  17222. - Implemented ScaleCore() method
  17223. - Implemented Update() method
  17224. - Removed unused variables
  17225. - Stubbed AccessibilityNotifyClients and
  17226. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  17227. with those yet)
  17228. - Now setting proper default for RightToLeft property
  17229. - Fixed bug in SetClientSizeCore that would cause windows to get
  17230. really big
  17231. - Now sending Click/DoubleClick events
  17232. - Now selecting controls when left mouse button is clicked on
  17233. selectable control
  17234. * AccessibleEvents.cs: Added
  17235. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  17236. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  17237. * XplatUIWin32.cs: Implemented UpdateWindow() method
  17238. * XplatUIX11.cs: Implemented UpdateWindow() method
  17239. * Form.cs: Removed stray semicolon causing CS0162 warning
  17240. * ThemeWin32Classic.cs: Fixed unused variable warnings
  17241. * ScrollableControl.cs: Now calls base method for ScaleCore
  17242. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  17243. style to avoid interference with internal click handler (which is
  17244. different than standard Control click handling)
  17245. * RadioButton.cs:
  17246. - Now unchecks all sibling radio buttons when control is
  17247. selected (Fixes #68756)
  17248. - Removed internal tabstop variable, using the one inherited from
  17249. Control
  17250. 2005-01-17 Jackson Harper <[email protected]>
  17251. * NavigateEventArgs.cs: Fix base type.
  17252. * LinkLabel.cs: Sig fix
  17253. 2005-01-17 Jackson Harper <[email protected]>
  17254. * TreeView.cs: Only invalidate the effected nodes bounds when
  17255. selecting nodes.
  17256. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  17257. * XplatUIWin32.cs: fixes Win32 marshaling
  17258. * XplatUIX11.cs: fixes method signature
  17259. 2005-01-17 Peter Bartok <[email protected]>
  17260. * XplatUIX11.cs: Clean up resources when we no longer need them
  17261. 2005-01-17 Peter Bartok <[email protected]>
  17262. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  17263. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  17264. and DestroyCursor() methods.
  17265. * Cursor.cs: Partially implemented, now supports standard cursors;
  17266. still contains some debug code
  17267. * Cursors.cs: Implemented class
  17268. * Control.cs:
  17269. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  17270. appropriate cursor
  17271. - Implemented Cursor property
  17272. - Replaced break; with return; more straightforwar and possibly
  17273. faster
  17274. - Now properly setting the result for WM_HELP
  17275. * X11Structs.cs: Added CursorFontShape enum
  17276. * XplatUIStructs.cs:
  17277. - Added StdCursor enum (to support DefineStdCursor() method)
  17278. - Added HitTest enum (to support sending WM_SETCURSOR message)
  17279. * XplatUIX11.cs:
  17280. - Now sends the WM_SETCURSOR message
  17281. - Implemented new cursor methods
  17282. * XplatUIOSX.cs: Stubbed new cursor methods
  17283. * XplatUIWin32.cs:
  17284. - Implemented new cursor methods
  17285. - Added GetSystemMetrics function and associated enumeration
  17286. 2005-01-15 Peter Bartok <[email protected]>
  17287. * Control.cs:
  17288. - WndProc(): Now handles EnableNotifyMessage
  17289. - SelectNextControl(): Fixed bug where if no child or sibling
  17290. controls exist we looped endlessly
  17291. 2005-01-14 Jackson Harper <[email protected]>
  17292. * TreeView.cs: Recalculate the tab pages when a new one is added
  17293. so that the proper bounding rects are created.
  17294. 2005-01-14 Jackson Harper <[email protected]>
  17295. * TreeView.cs: Draw a gray box instead of a grip in the lower
  17296. right hand corner when there are both horizontal and vertical
  17297. scroll bars.
  17298. 2005-01-14 Jackson Harper <[email protected]>
  17299. * Control.cs: When erasing backgrounds use FromHwnd instead of
  17300. FromHdc when there is a NULL wparam. This occurs on the X driver.
  17301. * XplatUIX11.cs: Set the wparam to NULL.
  17302. 2005-01-13 Jackson Harper <[email protected]>
  17303. * PictureBox.cs: Implement missing methods (except ToString, need
  17304. to test that on windows) and events. When visibility is changed we
  17305. need to redraw the image because the buffers are killed. When size
  17306. is changed refresh if the sizemode needs it.
  17307. 2005-01-13 Peter Bartok <[email protected]>
  17308. * Control.cs (SelectNextControl): Was using wrong method to select
  17309. a control
  17310. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  17311. * ComboBox.cs: fixes dropstyle
  17312. 2005-01-13 Peter Bartok <[email protected]>
  17313. * Form.cs:
  17314. - Implemented Select() override
  17315. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  17316. - Now sets keyboard focus on startup
  17317. * Control.cs (SelectNextControl): Now properly handles directed=true
  17318. * TextBoxBase.cs:
  17319. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  17320. - Added (really bad) focus rectangle (mostly for testing)
  17321. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  17322. to enforce redraw on focus changes
  17323. * ContainerControl.cs:
  17324. - Fixed detection of Shift-Tab key presses
  17325. - Fixed traversal with arrow keys
  17326. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  17327. gonna keep this or if it's complete yet
  17328. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  17329. * ComboBox.cs: missing properties, fixes
  17330. 2005-01-13 Peter Bartok <[email protected]>
  17331. * Panel.cs (ctor): Setting Selectable window style to off
  17332. * Splitter.cs (ctor): Setting Selectable window style to off
  17333. * GroupBox.cs (ctor): Setting Selectable window style to off
  17334. * Label.cs (ctor): Setting Selectable window style to off
  17335. 2005-01-12 Miguel de Icaza <[email protected]>
  17336. * UpDownBase.cs (InitTimer): If the timer has been already
  17337. created, enable it.
  17338. Use a TextBox instead of a Label.
  17339. 2005-01-12 Jackson Harper <[email protected]>
  17340. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  17341. draw the connecting node lines (when ShowLines is true).
  17342. * TreeNode.cs: The nodes index can now be updated. This is used
  17343. when a node collection is sorted.
  17344. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  17345. insert or an existing unsorted node collection can be sorted.
  17346. 2005-01-12 Peter Bartok <[email protected]>
  17347. * ContainerControl.cs: Implemented ProcessDialogKeys()
  17348. 2005-01-12 Peter Bartok <[email protected]>
  17349. * Control.cs:
  17350. - Implemented SelectNextControl() method
  17351. - Several focus related bug fixes
  17352. - Fixed Docking calculations to match MS documentation and
  17353. behaviour
  17354. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  17355. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  17356. bug fixes
  17357. 2005-01-12 Peter Bartok <[email protected]>
  17358. * Control.cs:
  17359. - Fixed broken Contains() method
  17360. - Implemented GetNextControl() method. Finally. This is the pre-
  17361. requisite for focus handling.
  17362. 2005-01-12 Peter Bartok <[email protected]>
  17363. * OSXStrucs.cs: Added
  17364. 2005-01-12 Peter Bartok <[email protected]>
  17365. * XplatUIWin32.cs:
  17366. - Removed PeekMessageFlags
  17367. - Implemented SetWindowStyle() method
  17368. * XplatUIStructs.cs: Added PeekMessageFlags
  17369. * X11Structs: Added missing border_width field to XWindowChanges struct
  17370. * XplatUIX11.cs:
  17371. - PeekMessage: Now throws exception if flags which are not yet
  17372. supported are passed
  17373. - Implemented SetWindowStyle() method
  17374. - Fixed SetZOrder to handle AfterHwnd properly
  17375. * XplatUI.cs: Added SetWindowStyle() method
  17376. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  17377. * Control.cs:
  17378. - Implemented UpdateStyles() method
  17379. - Implemented UpdateZOrder() method
  17380. * XplatUIOSX.cs: Added SetWindowStyle() stub
  17381. 2005-01-12 Geoff Norton <[email protected]>
  17382. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  17383. button mouse).
  17384. 2005-01-11 Jackson Harper <[email protected]>
  17385. * TreeView.cs: Still need to draw lines to siblings even if out of
  17386. the current node is out of the clip.
  17387. 2005-01-11 Jackson Harper <[email protected]>
  17388. * TreeView.cs: When setting the hbar/vbar/grip position use
  17389. SetBounds so that perform layout is only called once. Also suspend
  17390. and resume layout so layout is only done once for all controls.
  17391. - Removed some debug fluff
  17392. * SizeGrip.cs: Call base implmentation in overriding methods.
  17393. - When visibility is changed the drawing buffers are killed so we
  17394. need to redraw.
  17395. 2005-01-11 Jackson Harper <[email protected]>
  17396. * TreeView.cs: Calculate the open node count while drawing. This
  17397. saves us an entire tree traversal for every paint operation. Use
  17398. a member var for the open node count so less vars are passed around.
  17399. 2005-01-11 John BouAntoun <[email protected]>
  17400. * MonthCalendar.cs:
  17401. - fixed selection to use mousemove, not mouse polling on timer
  17402. * ThemeWin32Classic.cs
  17403. - removed redundant unused variable "no_more_content"
  17404. 2005-01-11 Peter Bartok <[email protected]>
  17405. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  17406. are pending, so it now calls PeekMessage instead of GetMessage;
  17407. implemented a incomplete version of PeekMessage
  17408. 2005-01-11 Peter Bartok <[email protected]>
  17409. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  17410. I18n issues
  17411. * TextBoxBase.cs: Added sending of TextChanged event
  17412. 2005-01-10 Jackson Harper <[email protected]>
  17413. * TreeView.cs: Try not to draw outside the clipping rectangle on
  17414. each node element.
  17415. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  17416. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  17417. 2005-01-10 Jackson Harper <[email protected]>
  17418. * TreeView.cs:
  17419. - Implement fast scrolling. Now only the newly
  17420. exposed nodes are drawn and the old image is moved using the
  17421. XplatUI::ScrollWindow method.
  17422. - Factor in height of nodes when calculating whether or not the
  17423. node is in the clipping rect.
  17424. 2005-01-10 Jackson Harper <[email protected]>
  17425. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  17426. 2005-01-10 Peter Bartok <[email protected]>
  17427. * Application.cs: Added temporary hack to resolve all our resize
  17428. required issues on startup. This will get fixed properly at
  17429. some point in the future
  17430. 2005-01-10 Jackson Harper <[email protected]>
  17431. * SizeGrip.cs: New internal class that is used as a sizing
  17432. grip control...hence the name.
  17433. 2005-01-10 Peter Bartok <[email protected]>
  17434. * Control.cs: Implemented proper TabIndex handling, now assigning
  17435. a tabindex when a control is added to a container
  17436. * GroupBox.cs (ctor): Now sets the Container style bit, required
  17437. for Control.GetNextControl()
  17438. 2005-01-09 Jackson Harper <[email protected]>
  17439. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  17440. 2005-01-09 Peter Bartok <[email protected]>
  17441. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  17442. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  17443. an overload for ScrollWindow to allow only scrolling a rectangle
  17444. 2005-01-09 Peter Bartok <[email protected]>
  17445. * Form.cs:
  17446. - Implemented SetDesktopBounds method
  17447. - Implemented SetDesktopLocation method
  17448. 2005-01-08 Jackson Harper <[email protected]>
  17449. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  17450. the node count has changed, this removes to VScroll::Refresh calls
  17451. when drawing.
  17452. 2005-01-08 Geoff Norton <[email protected]>
  17453. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  17454. 2005-01-07 Jackson Harper <[email protected]>
  17455. * TreeNode.cs: Just update the single node when it is
  17456. checked. Don't refresh after toggling, the Expand/Collapse already
  17457. handles this.
  17458. * TreeView.cs: Respect clipping a little more when drawing. Try
  17459. not to redraw things that don't need to be redrawn. Just hide the
  17460. scrollbars when they are no longer needed instead of removing
  17461. them, so they don't have to be created again and again.
  17462. 2005-01-07 Geoff Norton <[email protected]>
  17463. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  17464. coordinates to window space to place the caret properly, FIXED.
  17465. Implement GetWindowState & SetWindowState
  17466. 2005-01-06 Peter Bartok <[email protected]>
  17467. * Form.cs:
  17468. - Implemented ClientSize property
  17469. - Implemented DesktopBounds property
  17470. - Implemented DesktopLocation property
  17471. - Implemented IsRestrictedWindow property
  17472. - Implemented Size property
  17473. - Implemented TopLevel property
  17474. - Implemented FormWindowState property
  17475. * Control.cs:
  17476. - Implemented GetTopLevel() method
  17477. - Implemented SetTopLevel() method
  17478. * X11Structs.cs (Atom):
  17479. - Added AnyPropertyType definition
  17480. - Added MapState definiton and updated XWindowAttribute struct
  17481. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  17482. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  17483. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  17484. * XplatUIWin32.cs:
  17485. - Implemented GetWindowState() and SetWindowState() methods
  17486. - Fixed Win32GetWindowLong return type
  17487. * XplatUIX11.cs:
  17488. - Introduced central function for sending NET_WM messages
  17489. - Implemented GetWindowState() and SetWindowState() methods
  17490. * TextBoxBase.cs (set_Lines):
  17491. - Now uses Foreground color for text added via Text property (Duh!)
  17492. - Added code to remember programmatically requested size (fixes
  17493. behaviour when Multiline is set after Size)
  17494. - Added AutoSize logic
  17495. 2005-01-06 Jackson Harper <[email protected]>
  17496. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  17497. 2005-01-06 Jackson Harper <[email protected]>
  17498. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  17499. set to less then 0.
  17500. 2005-01-06 Jackson Harper <[email protected]>
  17501. * ScrollableControl.cs: Lazy init the scrollbars.
  17502. 2005-01-06 Jackson Harper <[email protected]>
  17503. * Theme.cs: Speed up getting pens and solid brushes, by using
  17504. their ARGB as a hash instead of tostring and not calling Contains.
  17505. 2005-01-06 Peter Bartok <[email protected]>
  17506. * Form.cs:
  17507. - Implemented OnActivated and OnDeactivate event trigger
  17508. - Implemented Activate() method
  17509. - Fixed ShowDialog() to activate the form that was active before
  17510. the dialog was shown
  17511. * XplatUIX11.cs:
  17512. - Added global active_window var that tracks the currently active
  17513. X11 window
  17514. - Now always grabs Property changes from the root window to always
  17515. catch changes on the active window property
  17516. - Added code to PropertyNotify handler to send Active/Inactive
  17517. messages when state changes. This puts X11 and Win32 en par on
  17518. WM_ACTIVATE notifications (except for double notifications when
  17519. the user clicks away from our modal window to another one of our
  17520. windows)
  17521. 2005-01-05 Jackson Harper <[email protected]>
  17522. * ImageList.cs: Implment ctor
  17523. 2005-01-05 Geoff Norton <[email protected]>
  17524. * XplatUIOSX.cs: Implement Activate/SetTopmost
  17525. 2005-01-05 Geoff Norton <[email protected]>
  17526. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  17527. 2005-01-05 Geoff Norton <[email protected]>
  17528. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  17529. 2005-01-05 Peter Bartok <[email protected]>
  17530. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  17531. XplatUIOSX.cs: Added GetActive method to return the currently
  17532. active window for the application (or null, if none is active)
  17533. * Form.cs:
  17534. - Implemented ActiveForm
  17535. - Commented out owner assignment for modal dialogs (causes problems
  17536. on Win32, since the owner will be disabled)
  17537. - Reworked some Active/Focus handling (still incomplete)
  17538. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  17539. (causes problems on Win32, since the owner will be disabled)
  17540. * IWin32Window: Added ComVisible attribute
  17541. 2005-01-05 Peter Bartok <[email protected]>
  17542. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  17543. required XplatUI functions.
  17544. 2005-01-05 Peter Bartok <[email protected]>
  17545. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  17546. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  17547. to implement focus and activation handling; still incomplete and
  17548. with debug output
  17549. 2005-01-04 Peter Bartok <[email protected]>
  17550. * TextBoxBase.cs: Changed access level for Document property to
  17551. match switch to internal for TextControl
  17552. 2005-01-04 Peter Bartok <[email protected]>
  17553. * AccessibleObject: Added ComVisible attribute
  17554. 2005-01-04 Jackson Harper <[email protected]>
  17555. * X11Keyboard.cs: Remove unneeded var.
  17556. 2005-01-04 Jackson Harper <[email protected]>
  17557. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  17558. but PAINT.
  17559. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  17560. ClientMessage. This makes apps exit cleanly (more often).
  17561. 2005-01-04 Jackson Harper <[email protected]>
  17562. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  17563. handling focus, return correct colors and fonts,
  17564. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  17565. handle selection, horizontal scrolling, and mouse interaction.
  17566. 2005-01-04 Peter Bartok <[email protected]>
  17567. * ICommandExecutor.cs: Added
  17568. * IDataGridColumnStyleEditingNotificationService.cs: Added
  17569. * IFeatureSupport.cs: Added
  17570. * IFileReaderService.cs: Added
  17571. * IDataObject.cs: Added ComVisible attribute
  17572. * AmbientProperties.cs: Added
  17573. * BaseCollection.cs: Added missing attributes
  17574. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  17575. * BaseCollection.cs: Added missing attributes
  17576. * Binding.cs: Added TypeConverter attribute
  17577. * BindingContext.cs: Added DefaultEvent attribute
  17578. * BindingsCollection.cs: Added DefaultEvent attribute
  17579. * Button.cs: Added DefaultValue attribute
  17580. * DragEventArgs.cs: Added ComVisible attribute
  17581. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  17582. * KeyEventArgs.cs: Added ComVisible attribute
  17583. * KeyPressEventArgs.cs: Added ComVisible attribute
  17584. * MouseEventArgs.cs: Added ComVisible attribute
  17585. * NavigateEventArgs.cs: Added
  17586. * NavigateEventHandler.cs: Added
  17587. * FeatureSupport.cs: Added
  17588. * OSFeature.cs: Added
  17589. * Theme.cs: Added abstract Version property to support OSFeature
  17590. * ThemeWin32Classic.cs: Added Version property to
  17591. support OSFeature.Themes
  17592. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  17593. the proper styles to avoid background drawing are set, also doesn't
  17594. match MS signature
  17595. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  17596. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  17597. * ScrollEventArgs.cs: Added ComVisible attribute
  17598. * SplitterEventArgs.cs: Added ComVisible attribute
  17599. * AccessibleSelection.cs: Added Flags attribute
  17600. * Appearance.cs: Added ComVisible attribute
  17601. * Border3DSide.cs: Added ComVisible attribute
  17602. * Border3DStyle.cs: Added ComVisible attribute
  17603. * BorderStyle.cs: Added ComVisible attribute
  17604. * DragAction.cs: Added ComVisible attribute
  17605. * ErrorBlinkStyle.cs: Added
  17606. * ScrollEventType.cs: Added ComVisible attribute
  17607. * AnchorStyles.cs: Added Editor attribute
  17608. * DockStyle.cs: Added Editor attribute
  17609. * HorizontalAlignment.cs: Added ComVisible attribute
  17610. * HelpEventArgs.cs: Added ComVisible attribute
  17611. * PaintEventArgs.cs: Added IDisposable
  17612. 2005-01-04 Peter Bartok <[email protected]>
  17613. * TextControl.cs: Switched Line, LineTag and Document classes to
  17614. internal
  17615. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  17616. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  17617. Simple mode, fixes, IntegralHeight, etc.
  17618. 2005-01-04 Peter Bartok <[email protected]>
  17619. * TextBoxBase.cs: Using proper font variable now
  17620. 2005-01-04 Peter Bartok <[email protected]>
  17621. * Form.cs (ShowDialog): Set parent to owner, if provided
  17622. * GroupBox.cs: Removed unused vars
  17623. * TextControl.cs:
  17624. - Added GetHashCode() for Document and LineTag classes
  17625. - Removed unused variables
  17626. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  17627. to allow translation between continuous char position and line/pos
  17628. * CheckBox.cs: Removed vars that are provided by base class
  17629. * RadioButton.cs: Removed vars that are provided by base class, added
  17630. new keyword where required
  17631. * LinkLabel.cs: Added new keyword where required
  17632. * Control.cs (WndProc): Removed unused variable
  17633. * TextBoxBase.cs:
  17634. - Finished SelectionLength property
  17635. - Implemented SelectionStart property
  17636. - Implemented Text property
  17637. - Removed unused vars
  17638. * MessageBox.cs: Added new keyword where required
  17639. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  17640. WndProc signature
  17641. * MenuAPI.cs: Added new keyword where required
  17642. * ButtonBase.cs: Removed vars that are provided by base class, added
  17643. new keyword where required
  17644. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  17645. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  17646. into this)
  17647. * Application.cs (Run): Now triggers the ThreadExit event
  17648. * CommonDialog.cs: Added new keyword where required; now properly sets
  17649. parent (owner) for dialog
  17650. * XplatUIX11.cs: Commented out unused vars
  17651. * StatusBar.cs: Fixed signature for Text property
  17652. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  17653. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  17654. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  17655. TrackBar.cs, MonthCalendar.cs: remove unused vars
  17656. 2005-01-03 Jackson Harper <[email protected]>
  17657. * ThemeWin32Classic.cs:
  17658. * X11Keyboard.cs: Remove unused vars.
  17659. 2005-01-03 Peter Bartok <[email protected]>
  17660. * TextBox.cs:
  17661. - set_Text: Tied into TextControl
  17662. - set_TextAlignment: Tied into TextControl
  17663. * TextControl.cs:
  17664. - Added alignment properties and implemented alignment handling
  17665. and drawing (still has a bug, not generating proper expose events)
  17666. - Added new Line() constructor to allow passing the line alignment
  17667. - Fixed selection setting, properly handling end<start now
  17668. - Added aligment considerations to RecalculateDocument()
  17669. * TextBoxBase.cs:
  17670. - Now properly enforces control height for single line controls
  17671. - Added support for CharacterCasing
  17672. - Added IsInputKey override
  17673. - Fixed Keys.Enter logic
  17674. - Added SetBoundsCore override
  17675. - Fixed mouse selection handling
  17676. 2005-01-03 Jackson Harper <[email protected]>
  17677. * TreeView.cs:
  17678. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  17679. - Checkboxes are always aligned to the bottom of the node,
  17680. regardless of item height.
  17681. - Use the node bounds to draw the text so we can center it when
  17682. the item height is greater then the font height.
  17683. - Node::Bounds are only the text part of the node.
  17684. * TreeNode.cs: New method to combine collapsing and unchecking all
  17685. nodes recursively.
  17686. 2005-01-02 Jackson Harper <[email protected]>
  17687. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  17688. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  17689. tree when a check is changed. TODO: Only refresh the checked node.
  17690. 2004-12-30 Jackson Harper <[email protected]>
  17691. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  17692. * TreeNode.cs: When collapsing make sure to never collapse the
  17693. root node.
  17694. 2004-12-29 Jackson Harper <[email protected]>
  17695. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  17696. 2004-12-28 Zoltan Varga <[email protected]>
  17697. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  17698. 2004-12-28 Peter Bartok <[email protected]>
  17699. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  17700. not yet assigned
  17701. 2004-12-28 Peter Bartok <[email protected]>
  17702. * Control.cs (WndProc): Added WM_HELP handler, now generates
  17703. HelpRequested event
  17704. * Form.cs: Added HelpButton property and required support code
  17705. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  17706. 2004-12-28 Peter Bartok <[email protected]>
  17707. * CommonDialog.cs:
  17708. - Made DialogForm.owner variable internal
  17709. - Added check to ensure owner form is set before setting
  17710. owner properties in CreateParams
  17711. 2004-12-28 Geoff Norton <[email protected]>
  17712. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  17713. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  17714. GetCursorPos. Fix major visibility issues. Rework the windowing
  17715. system to support borderless/titleless windows (implements menus).
  17716. Fix GetWindowPos. Implement initial background color support for
  17717. views.
  17718. 2004-12-28 Peter Bartok <[email protected]>
  17719. * Form.cs (get_CreateParams): Make sure we have an owner before using
  17720. the owner variable. Implement proper default if no owner exists
  17721. 2004-12-28 Peter Bartok <[email protected]>
  17722. * In preparation for making Managed.Windows.Forms the default build target
  17723. for System.Windows.Forms, the following stubbed files were added.
  17724. Dialogs are currently being implemented by contributors and are only
  17725. short-term place holders.
  17726. * ColorDialog.cs: Initial check-in (minmal stub)
  17727. * DataGrid.cs: Initial check-in (minimal stub)
  17728. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  17729. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  17730. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  17731. * FontDialog.cs: Initial check-in (minimal stub)
  17732. * FileDialog.cs: Initial check-in (minimal stub)
  17733. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  17734. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  17735. * OpenFileDialog: Initial check-in (minimal stub)
  17736. * IComponentEditorPageSite.cs: Initial check-in
  17737. * Splitter.cs: Initial check-in (for Jackson)
  17738. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  17739. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  17740. * TextBox.cs: Initial check-in; still needs some wiring to
  17741. TextControl backend
  17742. * Form.cs: Implemented ControlBox property
  17743. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  17744. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  17745. * TextControl.cs: Added selection functionality; added todo header
  17746. * TextBoxBase.cs:
  17747. - Implemented Lines property
  17748. - Implemented TextHeight property
  17749. - Implemented SelectedText property
  17750. - Implemented SelectionLength property
  17751. - Implemented SelectAll method
  17752. - Implemented ToString method
  17753. - Removed and cleaned up some debug code
  17754. - Implemented (still buggy) mouse text selection
  17755. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  17756. * ComboBox.cs: Complete DropDownList implementation, fixes.
  17757. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  17758. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  17759. * ComboBoxStyle.cs: ComboBoxStyle enum
  17760. * ComboBox.cs: Initial work on ComboBox control
  17761. 2004-12-21 Peter Bartok <[email protected]>
  17762. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  17763. forward so that anything that creates a window gets the default,
  17764. also no longer uses Visible property in CreateParams to avoid
  17765. walking up the parent chain and possibly get the wrong visible
  17766. status. Fixed IsVisible to no longer walk up to the parent.
  17767. 2004-12-21 Peter Bartok <[email protected]>
  17768. * Form.cs (ShowDialog): Unset modality for the proper window
  17769. 2004-12-20 Peter Bartok <[email protected]>
  17770. * CommonDialog.cs: Initial check-in
  17771. 2004-12-20 Peter Bartok <[email protected]>
  17772. * Control.cs (Visible): Now uses the parent window instead of the
  17773. client area window for the property
  17774. * Form.cs
  17775. - ShowDialog(): Now uses the proper window for modality
  17776. - The default visibility state for the form parent is now false. This
  17777. will prevent the user from seeing all the changes to the form and
  17778. its controls before the application hits Application.Run()
  17779. - Removed some stale commented out code
  17780. * NativeWindow.cs:
  17781. - Added FindWindow() method to have a method to check for existence
  17782. of a window handle
  17783. - Added ability to override default exception handling (for example
  17784. when debugging with VS.Net; to do this the ExternalExceptionHandler
  17785. define must be set
  17786. - Removed some useless debug output
  17787. * XplatUIX11.cs:
  17788. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  17789. not working as expected
  17790. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  17791. property to allow switching back to the modal window if focus is
  17792. given to another one of our windows (Application Modal)
  17793. - Now only sets override_redirect if we create a window
  17794. without WS_CAPTION
  17795. - Moved EventMask selection before mapping of newly created window
  17796. so we can catch the map event as well
  17797. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  17798. - Added various Atom related DllImports
  17799. - Implemented Exit() method
  17800. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  17801. in the CreateParams
  17802. * MessageBox.cs: Now properly deals with the FormParent window by
  17803. providing an override the FormParent CreateParams property to
  17804. set as POPUP instead of OVERLAPPED window.
  17805. 2004-12-19 Geoff Norton <[email protected]>
  17806. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  17807. Minor code cleanup.
  17808. 2004-12-19 Geoff Norton <[email protected]>
  17809. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  17810. 2004-12-18 Peter Bartok <[email protected]>
  17811. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  17812. implementing SetModal() method
  17813. 2004-12-18 Peter Bartok <[email protected]>
  17814. * X11Structs.cs (XGCValues): Fixed type of function element
  17815. * XplatUI.cs: Added ScrollWindow() method
  17816. * XplatUIDriver.cs: Added ScrollWindow() abstract
  17817. * XplatUIWin32.cs: Implemented ScrollWindow() method
  17818. * XplatUIX11.cs: Implemented ScrollWindow() method
  17819. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  17820. 2004-12-17 Geoff Norton <[email protected]>
  17821. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  17822. Some more keyboard support (INCOMPLETE)
  17823. 2004-12-17 Peter Bartok <[email protected]>
  17824. * TextControl.cs:
  17825. - Added color attribute to line tags.
  17826. - Added color argument to all functions dealing with tags
  17827. - Added color argument support to various functions
  17828. - Fixed miss-calculation of baseline/shift in certain circumstances
  17829. * TextBoxBase.cs: Added new color option to test code
  17830. 2004-12-17 Jackson Harper <[email protected]>
  17831. * TreeNode.cs:
  17832. * MonthCalendar.cs: Signature fixes
  17833. 2004-12-17 Geoff Norton <[email protected]>
  17834. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  17835. keyboard event moved it. Create a new graphics context for each paint resolves this
  17836. 2004-12-17 Geoff Norton <[email protected]>
  17837. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  17838. Make caret exist and go blink blink. Initial keyboard support.
  17839. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  17840. works.
  17841. 2004-12-17 Jackson Harper <[email protected]>
  17842. * XplatUIStructs.cs: Updated set of virtual keycodes.
  17843. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  17844. 2004-12-17 Jackson Harper <[email protected]>
  17845. * XplatUIX11.cs: Prune old keyboard code.
  17846. 2004-12-17 Jackson Harper <[email protected]>
  17847. * XplatUIX11.cs: When generating mouse wparams get the modifier
  17848. keys from the ModifierKeys property.
  17849. 2004-12-17 Jackson Harper <[email protected]>
  17850. * X11Keyboard.cs: Send up/down input when generating
  17851. messages. Remove some unused vars.
  17852. 2004-12-17 Jackson Harper <[email protected]>
  17853. * TabControl.cs:
  17854. * TreeView.cs: get rid of warnings.
  17855. 2004-12-17 Jackson Harper <[email protected]>
  17856. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  17857. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  17858. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  17859. CheckedListBox.cs: Implementation
  17860. 2004-12-17 Peter Bartok <[email protected]>
  17861. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  17862. 2004-12-16 Peter Bartok <[email protected]>
  17863. * TextControl.cs:
  17864. - InsertCharAtCaret(): Fixed start pos fixup
  17865. - CaretLine_get: No longer derives the line from the tag, the tag
  17866. could be stale if lines in the document have been added or deleted
  17867. - RebalanceAfterDelete(): Fixed bug in balancing code
  17868. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  17869. - Line.Streamline(): Now can also elminate leading empty tags
  17870. - DumpTree(): Added a few more tests and prevented exception on
  17871. uninitialized data
  17872. - Added Debug section for Combining lines
  17873. - Delete(): Now copies all remaining properties of a line
  17874. * TextBoxBase.cs:
  17875. - Left mousebutton now sets the caret (and middle button still acts
  17876. as formatting tester, which must go away soon)
  17877. - Added Debug section for Deleting/Combining lines
  17878. - Fixed calculations for UpdateView after Combining lines
  17879. 2004-12-16 Peter Bartok <[email protected]>
  17880. * TextControl.cs: Now properly aligns text on a baseline, using the
  17881. new XplatUI.GetFontMetrics() method. Simplified several calculations
  17882. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  17883. defined
  17884. 2004-12-16 Peter Bartok <[email protected]>
  17885. * XplatUI.cs: Added GetFontMetrics() method
  17886. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  17887. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  17888. into libgdiplus, our private GetFontMetrics function
  17889. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  17890. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  17891. 2004-12-16 Jackson Harper <[email protected]>
  17892. * XplatUIStruct.cs: Add enum for dead keys
  17893. * X11Keyboard.cs: Map and unmap dead keys.
  17894. 2004-12-16 Jackson Harper <[email protected]>
  17895. * X11Keyboard.cs: Detect and use the num lock mask.
  17896. 2004-12-16 Peter Bartok <[email protected]>
  17897. * Control.cs (CreateGraphics): Added check to make sure the
  17898. handle of the window exists before calling Graphics.FromHwnd()
  17899. 2004-12-16 Peter Bartok <[email protected]>
  17900. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  17901. contains a lot of code that's not supposed to be there for the
  17902. real thing, but required for developing/testing the textbox
  17903. backend.
  17904. 2004-12-16 Peter Bartok <[email protected]>
  17905. * TextControl.cs:
  17906. - Fixed Streamline method
  17907. - Added FindTag method to Line
  17908. - Added DumpTree method for debugging
  17909. - Added DecrementLines() method for deleting lines
  17910. - Fixed UpdateView to update the cursor to end-of-line on single-line
  17911. updates
  17912. - Added PositionCaret() method
  17913. - Fixed MoveCaret(LineDown) to move into the last line, too
  17914. - Added InsertChar overload
  17915. - Fixed InsertChar tag offset calculations
  17916. - Added DeleteChar() method
  17917. - Added Combine() method for folding lines
  17918. - Fixed Delete() method, no longer allocates wasted Line object and
  17919. now copies all properties when swapping nodes
  17920. - Delete() method now updates document line counter
  17921. 2004-12-15 Jackson Harper <[email protected]>
  17922. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  17923. * X11Keyboard.cs: Expose the currently selected modifier keys
  17924. through a property.
  17925. 2004-12-15 Peter Bartok <[email protected]>
  17926. * TextControl.cs: Initial check-in. Still incomplete
  17927. 2004-12-15 Jackson Harper <[email protected]>
  17928. * TreeNode.cs:
  17929. * TreeView.cs: Fix build on csc (second time today ;-))
  17930. 2004-12-15 Jackson Harper <[email protected]>
  17931. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  17932. is calculated and use this for click testing.
  17933. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  17934. 2004-12-15 Jackson Harper <[email protected]>
  17935. * TreeView.cs: Pass the nodes image index to the image list when
  17936. drawing that image.
  17937. 2004-12-15 Jackson Harper <[email protected]>
  17938. * X11Keyboard.cs: Set messages hwnd.
  17939. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  17940. post_message calls.
  17941. 2004-12-15 Jackson Harper <[email protected]>
  17942. * X11Keyboard.cs: Fix to compile with csc.
  17943. 2004-12-15 Jackson Harper <[email protected]>
  17944. * X11Structs.cs: Add key mask values
  17945. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  17946. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  17947. down/up foo into WM_CHAR foo
  17948. * KeyboardLayouts.cs: Common keyboard layouts
  17949. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  17950. post messages into the main queue.
  17951. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  17952. * Button.cs: implement ProcessMnemonic
  17953. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  17954. brushes everytime
  17955. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  17956. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  17957. 2004-12-12 John BouAntoun <[email protected]>
  17958. * MonthCalendar.cs: Implemented click-hold for next/previous month
  17959. and date selection
  17960. 2004-12-11 Peter Bartok <[email protected]>
  17961. * X11Structs.cs:
  17962. - Added XKeyboardState (moved from XplatUIX11.cs)
  17963. - Added XCreateGC related enums and structures
  17964. - Added GXFunction for XSetFunction
  17965. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  17966. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  17967. CaretVisible() calls
  17968. * ToolTip.cs: Added code to prevent stealing focus from app windows
  17969. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  17970. DestroyCaret, SetCaretPos and CaretVisible)
  17971. * XplatUIX11.cs:
  17972. - Added implementation for caret functions
  17973. - Moved hover variables into a struct, to make it a bit easier
  17974. on the eyes and to debug
  17975. - Removed XKeyboardState (moved to XplatUIX11.cs)
  17976. - Moved Keyboard properties into the properties region
  17977. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  17978. call to get a graphics context for our control
  17979. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  17980. * TreeView.cs: Fixed bug. No matter what color was set it would always
  17981. return SystemColors.Window
  17982. * XplatUIWin32.cs: Implemented caret overrides
  17983. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  17984. * ListBox.cs: fire events, implement missing methods and properties,
  17985. sorting.
  17986. 2004-12-10 John BouAntoun <[email protected]>
  17987. * MonthCalendar.cs: invalidation bug fixing
  17988. * ThemeWin32Classic.cs: paint fixing
  17989. 2004-12-09 Geoff Norton <[email protected]>
  17990. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  17991. prepare the CGContextRef there now.
  17992. 2004-12-09 John BouAntoun <[email protected]>
  17993. * MonthCalendar.cs:
  17994. - optimisationL only invalidate areas that have changed
  17995. * ThemeWin32Classic.cs:
  17996. - only paint parts that intersect with clip_area
  17997. 2004-12-09 Peter Bartok <[email protected]>
  17998. * Application.cs: Undid changes from r37004 which cause problems
  17999. on X11
  18000. 2004-12-09 Ravindra <[email protected]>
  18001. * ToolBar.cs: Added support for displaying ContextMenu
  18002. attached to a button on ToolBar.
  18003. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  18004. property.
  18005. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  18006. * Label.cs: autosize works in text change and removes unnecessary
  18007. invalidate
  18008. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  18009. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  18010. remove warnings
  18011. 2004-12-08 Geoff Norton <[email protected]>
  18012. * XplatUIOSX.cs: Added mouse move/click/grab support
  18013. Remove some debugging WriteLines not needed anymore.
  18014. Add window resizing/positioning.
  18015. Fix visibility on reparenting.
  18016. 2004-12-08 Peter Bartok <[email protected]>
  18017. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  18018. 2004-12-07 Geoff Norton <[email protected]>
  18019. * XplatUIOSX.cs: Initial checkin
  18020. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  18021. 2004-12-03 Ravindra <[email protected]>
  18022. * ListView.cs: Added some keybindings and fixed scrolling.
  18023. ScrollBars listen to ValueChanged event instead of Scroll
  18024. Event. This would let us take care of all changes being
  18025. done in the scrollbars' values programmatically or manually.
  18026. * ListView.cs (CanMultiselect): Added a check for shift key.
  18027. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  18028. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  18029. of ListViewSubItemCollection as well.
  18030. 2004-12-06 Peter Bartok <[email protected]>
  18031. * Control.cs (Parent): Added check and exception to prevent
  18032. circular parenting
  18033. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  18034. * ListBox.cs: implemented clipping, selection single and multiple,
  18035. bug fixing
  18036. 2004-12-03 Ravindra <[email protected]>
  18037. * ListView.cs (ListView_KeyDown):
  18038. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  18039. when CTRL key is pressed.
  18040. * ListViewItem.cs (Selected): Fixed setting the property.
  18041. 2004-12-03 Marek Safar <[email protected]>
  18042. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  18043. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  18044. MinimizeBox, ShowInTaskbar, TopMost properties.
  18045. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  18046. will be implemented).
  18047. 2004-12-03 Marek Safar <[email protected]>
  18048. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  18049. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  18050. tests.
  18051. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  18052. * TreeView.cs: BackColor is Colors.Window.
  18053. 2004-12-01 Jackson Harper <[email protected]>
  18054. * TreeView.cs: When resizing the tree if the user is making it
  18055. smaller we don't get expose events, so we need to handle adding
  18056. the horizontal scrollbar in the size changed handler as well as
  18057. the expose handler.
  18058. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  18059. * DrawItemState.cs: fixes wrong enum values
  18060. 2004-12-01 Jackson Harper <[email protected]>
  18061. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  18062. 2004-12-01 Jackson Harper <[email protected]>
  18063. * NodeLabelEditEventArgs.cs:
  18064. * NodeLabelEditEventHandler.cs:
  18065. * OpenTreeNodeEnumerator.cs:
  18066. * TreeNode.cs:
  18067. * TreeNodeCollection.cs:
  18068. * TreeView.cs:
  18069. * TreeViewAction.cs:
  18070. * TreeViewCancelEventArgs.cs:
  18071. * TreeViewCancelEventHandler.cs:
  18072. * TreeViewEventArgs.cs:
  18073. * TreeViewEventHandler.cs: Initial implementation.
  18074. 2004-12-01 Ravindra <[email protected]>
  18075. * ListView.cs (CalculateListView): Fixed scrolling related
  18076. calculations. Also, removed some debug statements from other
  18077. places.
  18078. * ListViewItem.cs: Changed access to 'selected' instance variable
  18079. from private to internal.
  18080. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  18081. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  18082. * ThemeWin32Classic.cs: remove cache of brush and pens for
  18083. specific controls and use the global system, fixes scrollbutton
  18084. bugs (for small sizes, disabled, etc)
  18085. * ScrollBar.cs: does not show the thumb for very small controls
  18086. (as MS) and allow smaller buttons that the regular size
  18087. 2004-12-01 Miguel de Icaza <[email protected]>
  18088. * UpDownBase.cs: Add abstract methods for the interface.
  18089. Add new virtual methods (need to be hooked up to TextEntry when it
  18090. exists).
  18091. Add override methods for most features.
  18092. Computes the size, forces the height of the text entry.
  18093. * NumericUpDown.cs: Put here the current testing code.
  18094. * Set eol-style property on all files that do not have mixed line
  18095. endings, to minimize the future problems. There are still a few
  18096. files with mixed endings, and someone should choose whether they
  18097. want to move it or not.
  18098. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  18099. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  18100. System.Colors
  18101. 2004-11-30 Ravindra <[email protected]>
  18102. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  18103. drawing and replaced use of SystemColors by theme colors.
  18104. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  18105. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  18106. same ListViewItem is being added more than once.
  18107. 2004-11-30 John BouAntoun <[email protected]>
  18108. * MonthCalendar.cs:
  18109. - ControlStyles love to make the control not flicker
  18110. 2004-11-30 Peter Bartok <[email protected]>
  18111. * CharacterCasing.cs: Added
  18112. 2004-11-29 Peter Bartok <[email protected]>
  18113. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  18114. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  18115. I am removing these files as they conflict with already completed
  18116. work. While it is fantastic to get contributions to MWF, I
  18117. respectfully ask that everyone please coordinate their contributions
  18118. through mono-winforms-list or #mono-winforms at this time. We're
  18119. explicitly avoiding stubbing and don't want controls that don't have
  18120. their basic functionality implemented in svn. Please also see
  18121. http://www.mono-project.com/contributing/winforms.html
  18122. 2004-11-29 Marek Safar <[email protected]>
  18123. * Application.cs (ModalRun): Don't hang after exit.
  18124. * Theme.cs: New TreeViewDefaultSize property.
  18125. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  18126. with less hardcoded SystemColors constant.
  18127. Implemented TreeViewDefaultSize.
  18128. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  18129. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  18130. 2004-11-29 John BouAntoun <[email protected]>
  18131. * MonthCalendar.cs:
  18132. - Fix NextMonthDate and PrevMonthDate click moving calendar
  18133. 2004-11-26 John BouAntoun <[email protected]>
  18134. * MonthCalendar.cs:
  18135. - Fix usage of ScrollChange Property when scrolling months
  18136. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  18137. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  18138. - Fixes menu destroying
  18139. - Support adding and removing items on already created menus
  18140. 2004-11-26 John BouAntoun <[email protected]>
  18141. * MonthCalendar.cs:
  18142. - Re-worked all bolded dates handling to match win32
  18143. * ThemeWin32Classic.cs:
  18144. - Fixed rendering with bolded dates
  18145. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  18146. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  18147. - Horizontal scroolbar
  18148. - Multicolumn
  18149. - Fixes
  18150. 2004-11-25 John BouAntoun <[email protected]>
  18151. * MonthCalendar.cs:
  18152. - Fix Usage of MaxSelectionCount from SelectionRange
  18153. - Fixed Shift + Cursor Selection
  18154. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  18155. - Fixed normal cursor selection to be compat with win32
  18156. - Fixed Shift + Mouse Click selection
  18157. 2004-11-24 Peter Bartok <[email protected]>
  18158. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  18159. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  18160. * XplatUIX11.cs:
  18161. - CreatedKeyBoardMsg now updates keystate with Alt key
  18162. - Added workaround for timer crash to CheckTimers, Jackson will
  18163. develop a proper fix and check in later
  18164. - Implemented DispatchMessage
  18165. - Removed calling the native window proc from GetMessage (call
  18166. now moved to DispatchMessage)
  18167. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  18168. the keydata (Fixes bug #69831)
  18169. * XplatUIWin32.cs:
  18170. - (DispatchMessage): Switched to return IntPtr
  18171. - Added DllImport for SetFocus
  18172. 2004-11-24 Ravindra <[email protected]>
  18173. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  18174. background drawing.
  18175. * ListViewItem.cs: Fixed various properties, calculations
  18176. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  18177. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  18178. and some internal properties. Fixed MouseDown handler and Paint
  18179. method.
  18180. 2004-11-24 John BouAntoun <[email protected]>
  18181. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  18182. 2004-11-24 John BouAntoun <[email protected]>
  18183. * ContainerControl.cs: correct accidental check in of local changes
  18184. 2004-11-24 John BouAntoun <[email protected]>
  18185. * ThemeWin32Classic.cs:
  18186. - Fixed Drawing Last month in grid (sometimes not showing)
  18187. * MonthCalendar.cs:
  18188. - Fixed title width calculation bug (makeing title small)
  18189. 2004-11-23 Peter Bartok <[email protected]>
  18190. * XplatUIX11.cs:
  18191. - Added generation of WM_MOUSEHOVER event
  18192. - Added missing assignment of async_method atom
  18193. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  18194. 2004-11-23 John BouAntoun <[email protected]>
  18195. * ThemeWin32Classic.cs:
  18196. - Fixed Drawing of today circle when showtodaycircle not set
  18197. - fixed drawing of first and last month in the grid (gay dates)
  18198. * MonthCalendar.cs:
  18199. - Fixed Drawing of today circle
  18200. - Fixed drawing of grady dates
  18201. - Fixed HitTest for today link when ShowToday set to false
  18202. - Fixed DefaultSize to obey ShowToday
  18203. 2004-11-23 John BouAntoun <[email protected]>
  18204. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  18205. * System.Windows.Forms/Theme.cs
  18206. * MonthCalendar.cs: added for MonthCalendar
  18207. * SelectionRange.cs: added for MonthCalendar
  18208. * Day.cs: added for MonthCalendar: added for MonthCalendar
  18209. * DateRangeEventArgs.cs: added for MonthCalendar
  18210. * DateRangeEventHandler.cs: added for MonthCalendar
  18211. 2004-11-22 Ravindra <[email protected]>
  18212. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  18213. property.
  18214. 2004-11-22 Miguel de Icaza <[email protected]>
  18215. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  18216. event handler.
  18217. * NumericUpDown.cs: Added new implementation.
  18218. * UpDownBase.cs: Added new implementation.
  18219. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  18220. implementations.
  18221. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  18222. implementations.
  18223. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  18224. methods.
  18225. 2004-11-21 Miguel de Icaza <[email protected]>
  18226. * Timer.cs (Dispose): Should call the base dispose when
  18227. overriding.
  18228. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  18229. * ScrollBar.cs: updates thumb position when max, min or increment
  18230. is changed
  18231. 2004-11-21 Ravindra <[email protected]>
  18232. * ListView.cs: Implemented item selection, activation and
  18233. column header style. Fixed properties to do a redraw, if
  18234. required. Added support for MouseHover, DoubleClick, KeyDown
  18235. and KeyUp event handling and some minor fixes.
  18236. * ListViewItem.cs: Fixed constructor.
  18237. * ThemeWin32Classic.cs: Improved drawing for ListView.
  18238. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  18239. * ThemeWin32Classic.cs: initial listbox drawing code
  18240. * DrawMode.cs: new enumerator
  18241. * ListControl.cs: stubbed class
  18242. * ListBox.cs: initial implementation
  18243. * Theme.cs: new methods definitions
  18244. * SelectionMode.cs: new enumerator
  18245. 2004-11-17 Peter Bartok <[email protected]>
  18246. * XplatUIWin32.cs: Added double-click events to the class style
  18247. * Control.cs (WndProc):
  18248. - Added handling of click-count to MouseDown/ MouseUp events.
  18249. - Added handling of middle and right mouse buttons
  18250. - Removed old debug code
  18251. 2004-11-17 Jackson Harper <[email protected]>
  18252. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  18253. 2004-11-17 Ravindra <[email protected]>
  18254. * ListView.cs: Added event handling for MouseMove/Up/Down.
  18255. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  18256. * ThemeWin32Classic.cs: We need to clear the graphics context and
  18257. draw column header in a proper state.
  18258. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  18259. * Menu.cs: fixes signature
  18260. 2004-11-16 Peter Bartok <[email protected]>
  18261. * XplatUIX11.cs (GetMessage): Implemented generation of
  18262. double click mouse messages
  18263. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  18264. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  18265. not by menu
  18266. 2004-11-11 Peter Bartok <[email protected]>
  18267. * HandleData.cs: Added Visible property
  18268. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  18269. HandleData
  18270. * XplatUIX11.cs: Removed old debug leftovers
  18271. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  18272. * Control.cs (WndProc): Removed old debug leftovers,
  18273. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  18274. needed WM_SIZE handling
  18275. 2004-11-11 Jackson Harper <[email protected]>
  18276. * OwnerDrawPropertyBag.cs:
  18277. * TreeViewImageIndexConverter.cs: Initial implementation
  18278. 2004-11-10 Jackson Harper <[email protected]>
  18279. * ThemeWin32Classic.cs:
  18280. * TabControl.cs: instead of moving tabs by the slider pos just
  18281. start drawing at the tab that is offset by the slider. This way
  18282. scrolling always moves by exactly one tab.
  18283. 2004-11-10 Jackson Harper <[email protected]>
  18284. * TabControl.cs: You can only scroll left when the slider has
  18285. already ben moved right.
  18286. 2004-11-10 Jackson Harper <[email protected]>
  18287. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  18288. the clip area.
  18289. 2004-11-10 Jackson Harper <[email protected]>
  18290. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  18291. clip area.
  18292. 2004-11-09 Jackson Harper <[email protected]>
  18293. * TabControl.cs (CalcXPos): New helper method so we can determine
  18294. the proper place to start drawing vertical tabs.
  18295. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  18296. 2004-11-09 Jackson Harper <[email protected]>
  18297. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  18298. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  18299. and Bottom, left and right are illegal values for this and
  18300. multiline is enabled when the alignment is set to left or right.
  18301. (DrawTab): Each alignment block should draw the text itself now
  18302. because Left requires special love. Also add rendering for Left
  18303. aligned tabs.
  18304. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  18305. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  18306. does not destroy the windows, removes debugging messages
  18307. 2004-11-09 jba <[email protected]>
  18308. * ThemeWin32Classic.cs
  18309. (DrawButtonBase): Fix verticle text rect clipping in windows
  18310. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  18311. rendering and incorrect text rect clipping
  18312. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  18313. rendering and incorrect text rect clipping
  18314. 2004-11-08 Jackson Harper <[email protected]>
  18315. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  18316. bottom when they are bottom aligned so the bottoms of the tabs get
  18317. displayed.
  18318. * TabControl.cs (DropRow): Move rows up instead of down when the
  18319. tab control is bottom aligned.
  18320. 2004-11-08 13:59 pbartok
  18321. * XplatUIX11.cs:
  18322. - Added handling for various window styles
  18323. - Added handling for popup windows
  18324. - Added SetTopmost handling
  18325. 2004-11-08 13:55 pbartok
  18326. * XplatUIWin32.cs:
  18327. - Added argument to SetTopmost method
  18328. - Fixed broken ClientToScreen function
  18329. 2004-11-08 13:53 pbartok
  18330. * XplatUIStructs.cs:
  18331. - Added missing WS_EX styles
  18332. 2004-11-08 13:53 pbartok
  18333. * XplatUI.cs, XplatUIDriver.cs:
  18334. - Added argument to SetTopmost
  18335. 2004-11-08 13:52 pbartok
  18336. * X11Structs.cs:
  18337. - Added XSetWindowAttributes structure
  18338. - Improved XWindowAttributes structure
  18339. - Added SetWindowValuemask enum
  18340. - Added window creation arguments enum
  18341. - Added gravity enum
  18342. - Added Motif hints structure
  18343. - Added various Motif flags and enums
  18344. - Added PropertyMode enum for property functions
  18345. 2004-11-08 13:50 pbartok
  18346. * Form.cs:
  18347. - Fixed arguments for updated SetTopmost method
  18348. 2004-11-08 13:49 pbartok
  18349. * ToolTip.cs:
  18350. - Fixed arguments for updated SetTopmost function
  18351. - Fixed usage of PointToClient
  18352. 2004-11-08 13:44 pbartok
  18353. * MenuAPI.cs:
  18354. - Added Clipping of children and siblings
  18355. 2004-11-08 13:41 pbartok
  18356. * MainMenu.cs:
  18357. - Removed SetMenuBarWindow call. We do this in Form.cs
  18358. 2004-11-08 13:40 jackson
  18359. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  18360. scrolling jimmi in the correct location with bottom aligned tabs
  18361. 2004-11-08 13:36 pbartok
  18362. * ContainerControl.cs:
  18363. - Implemented BindingContext
  18364. - Implemented ParentForm
  18365. 2004-11-08 12:46 jackson
  18366. * TabControl.cs: Put bottom rendered tabs in the right location
  18367. 2004-11-08 07:15 jordi
  18368. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  18369. removes dead code
  18370. 2004-11-05 17:30 jackson
  18371. * TabControl.cs: When selected tabs are expanded make sure they
  18372. don't go beyond the edges of the tab control
  18373. 2004-11-05 14:57 jackson
  18374. * TabControl.cs: Reset show_slider so if the control is resized to
  18375. a size where it is no longer needed it's not displayed anymore
  18376. 2004-11-05 13:16 jackson
  18377. * TabControl.cs: Make tab pages non visible when added to the
  18378. control
  18379. 2004-11-05 12:42 jackson
  18380. * TabControl.cs: Implement SizeMode.FillToRight
  18381. 2004-11-05 12:16 jackson
  18382. * Control.cs: Do not call CreateHandle if the handle is already
  18383. created
  18384. 2004-11-05 11:46 jackson
  18385. * TabControl.cs: Remove superflous call to CalcTabRows
  18386. 2004-11-05 09:07 jackson
  18387. * XplatUIX11.cs: Update for Mono.Posix changes
  18388. 2004-11-05 07:00 ravindra
  18389. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  18390. scrolling.
  18391. 2004-11-04 22:47 jba
  18392. * ThemeWin32Classic.cs:
  18393. - Fix Button rendering for FlatStyle = Flat or Popup
  18394. - Fix RadioButton and CheckBox rendering when Appearance = Button
  18395. (normal and flatstyle).
  18396. - Correct outer rectangle color when drawing focus rectangle
  18397. - Adjust button bounds to be 1 px smaller when focused
  18398. - Make button not draw sunken 3d border when pushed (windows compat)
  18399. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  18400. - Offset the text in RadioButton and Checkbox when being rendered as
  18401. a button.
  18402. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  18403. radiobuttons
  18404. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  18405. - Fixed disabled text rendering for normally rendered radiobuttons
  18406. 2004-11-04 10:26 jackson
  18407. * TabControl.cs: Recalculate tab rows when resizing
  18408. 2004-11-04 07:47 jordi
  18409. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  18410. collection completion, drawing issues, missing features
  18411. 2004-11-04 05:03 ravindra
  18412. * ScrollBar.cs:
  18413. - We need to recalculate the Thumb area when
  18414. LargeChange/maximum/minimum values are changed.
  18415. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  18416. than minimum. This is required to handle the case if large_change is
  18417. more than max, and use LargeChange property instead of large_change
  18418. variable.
  18419. - We return max+1 when large_change is more than max, like MS does.
  18420. 2004-11-04 04:29 ravindra
  18421. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  18422. - Changed default value signatures (prefixed all with ListView).
  18423. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  18424. ListView.
  18425. - Fixed calculations for ListViewItem and implemented Clone()
  18426. method.
  18427. 2004-11-04 04:26 ravindra
  18428. * Theme.cs, ThemeWin32Classic.cs:
  18429. - Changed default ListView values signatures (prefixed all with
  18430. ListView).
  18431. - Fixed default size values for VScrollBar and HScrollBar.
  18432. - Fixed DrawListViewItem method.
  18433. 2004-11-04 04:05 ravindra
  18434. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  18435. 2004-11-04 04:04 ravindra
  18436. * ImageList.cs: Implemented the missing overload for Draw method.
  18437. 2004-11-03 19:29 jackson
  18438. * TabControl.cs: Handle dropping rows on selection properly
  18439. 2004-11-03 11:59 jackson
  18440. * TabControl.cs: remove debug code
  18441. 2004-11-03 11:52 jackson
  18442. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  18443. the scrolly widgerywoo
  18444. 2004-11-02 13:52 jackson
  18445. * TabControl.cs: Resize the tab pages and tabs when the tab control
  18446. is resized
  18447. 2004-11-02 13:40 jackson
  18448. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  18449. selected tab to the bottom
  18450. 2004-11-02 13:39 jackson
  18451. * TabPage.cs: Store the tab pages row
  18452. 2004-11-02 12:33 jordi
  18453. * MenuItem.cs: fixes handle creation
  18454. 2004-11-02 11:42 jackson
  18455. * TabControl.cs: signature fix
  18456. 2004-11-02 08:56 jackson
  18457. * TabControl.cs: Calculate whether the tab is on an edge properly.
  18458. Remove top secret debugging code
  18459. 2004-11-01 19:57 jackson
  18460. * TabControl.cs: Add click handling, and proper sizing
  18461. 2004-11-01 19:47 jackson
  18462. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  18463. tab controls
  18464. 2004-11-01 19:39 jackson
  18465. * TabPage.cs: add internal property to store the bounds of a tab
  18466. page
  18467. 2004-10-30 04:23 ravindra
  18468. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  18469. values.
  18470. 2004-10-30 04:21 ravindra
  18471. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  18472. fixed calculations.
  18473. 2004-10-30 03:06 pbartok
  18474. * XplatUIX11.cs:
  18475. - Removed extension of DllImported libs
  18476. 2004-10-29 09:55 jordi
  18477. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  18478. navigation, itemcollection completion, menu fixes
  18479. 2004-10-27 22:58 pbartok
  18480. * XplatUIX11.cs:
  18481. - Now throws a nice error message when no X display could be opened
  18482. 2004-10-26 13:51 jordi
  18483. * ListView.cs: removes warning
  18484. 2004-10-26 03:55 ravindra
  18485. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  18486. ThemeWin32Classic.cs: Some formatting for my last checkins.
  18487. 2004-10-26 03:36 ravindra
  18488. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  18489. control and default values.
  18490. 2004-10-26 03:35 ravindra
  18491. * Theme.cs: Added some default values for ListView control.
  18492. 2004-10-26 03:33 ravindra
  18493. * ToolBar.cs: ToolBar should use the user specified button size, if
  18494. there is any. Added a size_specified flag for the same.
  18495. 2004-10-26 03:33 ravindra
  18496. * ColumnHeader.cs: Added some internal members and calculations for
  18497. ColumnHeader.
  18498. 2004-10-26 03:32 ravindra
  18499. * ListViewItem.cs: Calculations for ListViewItem.
  18500. 2004-10-26 03:31 ravindra
  18501. * ListView.cs: Added some internal members and calculations for
  18502. ListView.
  18503. 2004-10-22 13:31 jordi
  18504. * MenuAPI.cs: speedup menus drawing
  18505. 2004-10-22 13:16 jackson
  18506. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  18507. expose event
  18508. 2004-10-22 11:49 jackson
  18509. * Control.cs: oops
  18510. 2004-10-22 11:41 jackson
  18511. * Control.cs: Check to see if the window should have its background
  18512. repainted by X when drawing.
  18513. 2004-10-22 11:31 jackson
  18514. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  18515. clear is true, this way we do not get flicker from X repainting the
  18516. background
  18517. 2004-10-22 11:28 jackson
  18518. * XEventQueue.cs: Queue properly
  18519. 2004-10-21 09:38 jackson
  18520. * XEventQueue.cs: Fix access modifier
  18521. 2004-10-21 09:36 jackson
  18522. * XEventQueue.cs: Don't loose messages
  18523. 2004-10-21 09:22 jackson
  18524. * XEventQueue.cs: Don't loose messages
  18525. 2004-10-20 04:15 jordi
  18526. * BootMode.cs: enum need it by SystemInfo
  18527. 2004-10-19 21:58 pbartok
  18528. * XplatUIWin32.cs:
  18529. - Small sanity check
  18530. 2004-10-19 21:56 pbartok
  18531. * Form.cs:
  18532. - Added private FormParentWindow class which acts as the container
  18533. for our form and as the non-client area where menus are drawn
  18534. - Added/Moved required tie-ins to Jordi's menus
  18535. - Fixed/Implemented the FormStartPosition functionality
  18536. 2004-10-19 21:52 pbartok
  18537. * Control.cs:
  18538. - Removed unneeded locals
  18539. - Added code to all size and location properties to understand and
  18540. deal with the parent container of Form
  18541. 2004-10-19 21:33 pbartok
  18542. * Application.cs:
  18543. - Fixed to deal with new Form subclasses for menus
  18544. 2004-10-19 17:48 jackson
  18545. * XEventQueue.cs: commit correct version of file
  18546. 2004-10-19 16:50 jackson
  18547. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  18548. 2004-10-19 16:15 jordi
  18549. * MenuAPI.cs: MenuBarCalcSize returns the height
  18550. 2004-10-19 08:31 pbartok
  18551. * Control.cs:
  18552. - Added missing call to PreProcessMessage before calling OnXXXKey
  18553. methods
  18554. 2004-10-19 00:04 ravindra
  18555. * ToolTip.cs: Fixed constructor.
  18556. 2004-10-18 09:31 jordi
  18557. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  18558. 2004-10-18 09:26 jordi
  18559. * MenuItem.cs: fixes MenuItem class signature
  18560. 2004-10-18 08:56 jordi
  18561. * MenuAPI.cs: prevents windows from showing in the taskbar
  18562. 2004-10-18 00:28 ravindra
  18563. * ToolTip.cs: Suppressed a warning message.
  18564. 2004-10-18 00:27 ravindra
  18565. * Control.cs: Default value of visible property must be true.
  18566. 2004-10-17 23:19 pbartok
  18567. * ToolTip.cs:
  18568. - Complete implementation
  18569. 2004-10-17 23:19 pbartok
  18570. * XplatUIX11.cs:
  18571. - Added EnableWindow method
  18572. - Added SetModal stub
  18573. - Added generation of WM_ACTIVATE message (still needs testing)
  18574. - Added SetTopMost stub
  18575. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  18576. 2004-10-17 23:17 pbartok
  18577. * XplatUIWin32.cs:
  18578. - Removed VirtualKeys to XplatUIStructs
  18579. - Implemented SetTopMost method
  18580. - Implemented EnableWindow method
  18581. - Bugfix in ScreenToClient()
  18582. - Bugfixes in ClientToScreen()
  18583. 2004-10-17 22:51 pbartok
  18584. * XplatUIStructs.cs:
  18585. - Added WS_EX styles to WindowStyles enumeration
  18586. 2004-10-17 22:50 pbartok
  18587. * XplatUI.cs, XplatUIDriver.cs:
  18588. - Added method for enabling/disabling windows
  18589. - Added method for setting window modality
  18590. - Added method for setting topmost window
  18591. 2004-10-17 22:49 pbartok
  18592. * ThemeWin32Classic.cs:
  18593. - Added ToolTip drawing code
  18594. 2004-10-17 22:49 pbartok
  18595. * Theme.cs:
  18596. - Added ToolTip abstracts
  18597. 2004-10-17 22:47 pbartok
  18598. * Form.cs:
  18599. - Fixed Form.ControlCollection to handle owner relations
  18600. - Added Owner/OwnedForms handling
  18601. - Implemented Z-Ordering for owned forms
  18602. - Removed unneeded private overload of ShowDialog
  18603. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  18604. so I hope)
  18605. - Fixed Close(), had wrong default
  18606. - Added firing of OnLoad event
  18607. - Added some commented out debug code for Ownership handling
  18608. 2004-10-17 22:16 pbartok
  18609. * Control.cs:
  18610. - Fixed/implemented flat list of controls
  18611. 2004-10-17 22:14 pbartok
  18612. * Application.cs:
  18613. - Added code to simulate modal dialogs on Win32
  18614. 2004-10-17 16:11 jordi
  18615. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  18616. mouse event
  18617. 2004-10-17 13:39 jordi
  18618. * MenuAPI.cs: menu drawing fixes
  18619. 2004-10-15 09:10 ravindra
  18620. * StructFormat.cs: General Enum.
  18621. 2004-10-15 09:09 ravindra
  18622. * SizeGripStyle.cs: Enum for Form.
  18623. 2004-10-15 09:08 ravindra
  18624. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  18625. in Theme for ListView.
  18626. 2004-10-15 09:06 ravindra
  18627. * ColumnHeader.cs: Flushing some formatting changes.
  18628. 2004-10-15 09:05 ravindra
  18629. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  18630. style.
  18631. 2004-10-15 09:03 ravindra
  18632. * ListView.cs: Implemented Paint method and fixed coding style.
  18633. 2004-10-15 07:34 jordi
  18634. * MenuAPI.cs: fix for X11
  18635. 2004-10-15 07:32 ravindra
  18636. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  18637. - Renamed Paint() method to Draw() for clarity. Also, moved
  18638. DrawImage() to OnPaint().
  18639. 2004-10-15 07:25 ravindra
  18640. * CheckBox.cs, RadioButton.cs:
  18641. - Removed Redraw (), we get it from ButtonBase.
  18642. - Implemented Paint (), to do class specific painting.
  18643. 2004-10-15 07:16 ravindra
  18644. * ButtonBase.cs:
  18645. - Redraw () is not virtual now.
  18646. - Added an internal virtual method Paint (), so that
  18647. derived classes can do their painting on their own.
  18648. - Modified OnPaint () to call Paint ().
  18649. 2004-10-15 06:43 jordi
  18650. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  18651. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  18652. 2004-10-15 00:30 ravindra
  18653. * MessageBox.cs:
  18654. - MessageBox on windows does not have min/max buttons.
  18655. This change in CreateParams fixes this on Windows. We
  18656. still need to implement this windowstyle behavior in
  18657. our X11 driver.
  18658. 2004-10-14 05:14 ravindra
  18659. * ToolBar.cs:
  18660. - Changed Redraw () to do a Refresh () always.
  18661. - Fixed the MouseMove event handling when mouse is pressed,
  18662. ie drag event handling.
  18663. - Replaced the usage of ToolBarButton.Pressed property to
  18664. ToolBarButton.pressed internal variable.
  18665. 2004-10-14 05:10 ravindra
  18666. * ToolBarButton.cs:
  18667. - Added an internal member 'inside' to handle mouse move
  18668. with mouse pressed ie mouse drag event.
  18669. - Changed 'Pressed' property to return true only when
  18670. 'inside' and 'pressed' are both true.
  18671. - Some coding style love.
  18672. 2004-10-14 00:17 ravindra
  18673. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  18674. public method.
  18675. 2004-10-14 00:15 ravindra
  18676. * ButtonBase.cs: Redraw () related improvements.
  18677. 2004-10-14 00:14 ravindra
  18678. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  18679. removed unnecessary calls to Button.Show () method.
  18680. 2004-10-13 17:50 pbartok
  18681. * XplatUIX11.cs:
  18682. - Formatting fix
  18683. - Removed destroying of window until we solve the problem of X
  18684. destroying the window before us on shutdown
  18685. 2004-10-13 16:32 pbartok
  18686. * ButtonBase.cs:
  18687. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  18688. 2004-10-13 14:18 pbartok
  18689. * XplatUIX11.cs:
  18690. - Added code to destroy the X window
  18691. 2004-10-13 14:18 pbartok
  18692. * XplatUIWin32.cs:
  18693. - Added code to destroy a window
  18694. 2004-10-13 14:12 pbartok
  18695. * ButtonBase.cs:
  18696. - Added the Redraw on Resize that got dropped in the last rev
  18697. 2004-10-13 09:06 pbartok
  18698. * ThemeWin32Classic.cs:
  18699. - Path from John BouAntoun:
  18700. * Fix check rendering (centre correctly for normal style, offset
  18701. correctly for FlatStyle).
  18702. * Fix border color usage (use backcolor) for FlatStyle.Popup
  18703. * Use checkbox.Capture instead of checkbox.is_pressed when
  18704. rendering flatstyle states.
  18705. 2004-10-12 21:48 pbartok
  18706. * ThemeWin32Classic.cs:
  18707. - Removed all occurences of SystemColors and replaced them with the
  18708. matching theme color
  18709. 2004-10-12 21:41 pbartok
  18710. * ThemeWin32Classic.cs:
  18711. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  18712. him using the function for flatstyle drawing
  18713. - Changed functions to use the new version of CPDrawBorder3D
  18714. 2004-10-12 21:15 pbartok
  18715. * ControlPaint.cs:
  18716. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  18717. match MS documentation. They need to return defined colors if the
  18718. passed color matches the configured control color. Thanks to John
  18719. BouAntoun for pointing this out.
  18720. 2004-10-12 20:57 pbartok
  18721. * Control.cs:
  18722. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  18723. color is changed
  18724. 2004-10-12 20:46 pbartok
  18725. * CheckBox.cs:
  18726. - Fix from John BouAntoun: Now properly sets the Appearance property
  18727. 2004-10-12 20:45 pbartok
  18728. * ThemeWin32Classic.cs:
  18729. - Fixes from John BouAntoun: now handles forecolors and backcolors
  18730. for flatstyle rendered controls much better; It also fixes normal
  18731. checkbox rendering when pushed or disabled.
  18732. 2004-10-08 02:50 jordi
  18733. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  18734. work
  18735. 2004-10-07 08:56 jordi
  18736. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  18737. 2004-10-06 03:59 jordi
  18738. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  18739. XplatUIWin32.cs: removes warnings from compilation
  18740. 2004-10-05 12:23 jackson
  18741. * RadioButton.cs: Fix ctor
  18742. 2004-10-05 11:10 pbartok
  18743. * MessageBox.cs:
  18744. - Partial implementation by Benjamin Dasnois
  18745. 2004-10-05 10:15 jackson
  18746. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  18747. by John BouAntoun
  18748. 2004-10-05 03:07 ravindra
  18749. * ToolBar.cs:
  18750. - Removed a private method, Draw ().
  18751. - Fixed the ButtonDropDown event handling.
  18752. - Fixed MouseMove event handling.
  18753. 2004-10-05 03:04 ravindra
  18754. * ThemeWin32Classic.cs:
  18755. - Added DrawListView method and ListViewDefaultSize property.
  18756. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  18757. - Changed DOS style CRLF to Unix format (dos2unix).
  18758. 2004-10-05 03:03 ravindra
  18759. * Theme.cs:
  18760. - Added DrawListView method and ListViewDefaultSize property.
  18761. 2004-10-05 02:42 ravindra
  18762. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  18763. clicks on DropDown arrow.
  18764. 2004-10-04 22:56 jackson
  18765. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  18766. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  18767. Control handle the buffers, derived classes should not have to
  18768. CreateBuffers themselves.
  18769. 2004-10-04 21:20 jackson
  18770. * StatusBar.cs: The control handles resizing the buffers now.
  18771. 2004-10-04 21:18 jackson
  18772. * Control.cs: When resizing the buffers should be invalidated. This
  18773. should be handled in Control not in derived classes.
  18774. 2004-10-04 14:45 jackson
  18775. * TabPage.cs: oops
  18776. 2004-10-04 02:14 pbartok
  18777. * LeftRightAlignment.cs:
  18778. - Initial check-in
  18779. 2004-10-04 01:09 jordi
  18780. * ThemeWin32Classic.cs: fixes right button position causing right
  18781. button not showing on horizontal scrollbars
  18782. 2004-10-02 13:12 pbartok
  18783. * XplatUIX11.cs:
  18784. - Simplified the Invalidate method by using an X call instead of
  18785. generating the expose ourselves
  18786. - Added an expose when the window background is changed
  18787. - Implemented ClientToScreen method
  18788. 2004-10-02 13:08 pbartok
  18789. * XplatUIWin32.cs:
  18790. - Added Win32EnableWindow method (test for implementing modal
  18791. dialogs)
  18792. - Added ClientToScreen method and imports
  18793. 2004-10-02 13:07 pbartok
  18794. * XplatUI.cs, XplatUIDriver.cs:
  18795. - Added ClientToScreen coordinate translation method
  18796. 2004-10-02 13:06 pbartok
  18797. * KeyPressEventArgs.cs:
  18798. - Fixed access level for constructor
  18799. 2004-10-02 13:06 pbartok
  18800. * NativeWindow.cs:
  18801. - Changed access level for the window_collection hash table
  18802. 2004-10-02 13:05 pbartok
  18803. * Form.cs:
  18804. - Added KeyPreview property
  18805. - Added Menu property (still incomplete, pending Jordi's menu work)
  18806. - Implemented ProcessCmdKey
  18807. - Implemented ProcessDialogKey
  18808. - Implemented ProcessKeyPreview
  18809. 2004-10-02 13:02 pbartok
  18810. * Control.cs:
  18811. - Added private method to get the Control object from the window
  18812. handle
  18813. - Implemented ContextMenu property
  18814. - Implemented PointToScreen
  18815. - Implemented PreProcessMessage
  18816. - Implemented IsInputChar
  18817. - Implemented IsInputKey
  18818. - Implemented ProcessCmdKey
  18819. - Completed ProcessKeyEventArgs
  18820. - Fixed message loop to call the proper chain of functions on key
  18821. events
  18822. - Implemented ProcessDialogChar
  18823. - Implemented ProcessDialogKey
  18824. - Implemented ProcessKeyMessage
  18825. - Implemented ProcessKeyPreview
  18826. - Added RaiseDragEvent stub (MS internal method)
  18827. - Added RaiseKeyEvent stub (MS internal method)
  18828. - Added RaiseMouseEvent stub (MS Internal method)
  18829. - Added RaisePaintEvent stub (MS Internal method)
  18830. - Added ResetMouseEventArgs stub (MS Internal method)
  18831. - Implemented RtlTranslateAlignment
  18832. - Implemented RtlTranslateContent
  18833. - Implemented RtlTranslateHorizontal
  18834. - Implemented RtlTranslateLeftRight
  18835. - Added generation of KeyPress event
  18836. 2004-10-02 05:57 ravindra
  18837. * ListViewItem.cs: Added attributes.
  18838. 2004-10-02 05:32 ravindra
  18839. * ListView.cs: Added attributes.
  18840. 2004-10-01 11:53 jackson
  18841. * Form.cs: Implement the Close method so work on MessageBox can
  18842. continue.
  18843. 2004-09-30 14:06 pbartok
  18844. * XplatUIX11.cs:
  18845. - Bug fixes
  18846. 2004-09-30 11:34 jackson
  18847. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  18848. 2004-09-30 07:26 ravindra
  18849. * ListViewItemConverter.cs: Converter for ListViewItem.
  18850. 2004-09-30 07:26 ravindra
  18851. * SortOrder.cs: Enum for ListView control.
  18852. 2004-09-30 07:25 ravindra
  18853. * ColumnHeader.cs: Supporting class for ListView control.
  18854. 2004-09-30 07:24 ravindra
  18855. * ListView.cs, ListViewItem.cs: Initial implementation.
  18856. 2004-09-30 07:20 ravindra
  18857. * ItemActivation.cs: Enum for ListView Control.
  18858. 2004-09-29 20:29 pbartok
  18859. * XplatUIX11.cs:
  18860. - Added lookup of pixel value for background color; tries to get a
  18861. color 'close' to the requested color, it avoids having to create a
  18862. colormap. Depending on the display this could mean the used color
  18863. is slightly off the desired color. Might have to change it to a more
  18864. resource intensive colormap approach, but it will work as a
  18865. workaround to avoid red screens.
  18866. 2004-09-29 14:27 jackson
  18867. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  18868. 2004-09-28 12:44 pbartok
  18869. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  18870. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  18871. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  18872. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  18873. TrackBar.cs, VScrollBar.cs:
  18874. - Streamlined Theme interfaces:
  18875. * Each DrawXXX method for a control now is passed the object for
  18876. the control to be drawn in order to allow accessing any state the
  18877. theme might require
  18878. * ControlPaint methods for the theme now have a CP prefix to avoid
  18879. name clashes with the Draw methods for controls
  18880. * Every control now retrieves it's DefaultSize from the current
  18881. theme
  18882. 2004-09-28 12:17 jackson
  18883. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  18884. drawing
  18885. 2004-09-24 14:57 jackson
  18886. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  18887. Gives us a nice little performance boost.
  18888. 2004-09-24 12:02 jackson
  18889. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  18890. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  18891. Control and supporting classes. Initial checkin
  18892. 2004-09-23 13:08 jackson
  18893. * Form.cs: Temp build fixage
  18894. 2004-09-23 01:39 ravindra
  18895. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  18896. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  18897. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  18898. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  18899. EventHandlers needed by ListView Control.
  18900. 2004-09-22 14:12 pbartok
  18901. * ScrollableControl.cs:
  18902. - Implemented DockPadding property
  18903. - Implemented AutoScroll property
  18904. - Implemented AutoScrollMargin property
  18905. - Implemented AutoScrollMinSize property
  18906. - Implemented AutoScrollPosition property
  18907. - Implemented DisplayRectangle property (still incomplete)
  18908. - Implemented CreateParams property
  18909. - Implemented HScroll property
  18910. - Implemented VScroll property
  18911. - Implemented OnVisibleChanged property
  18912. 2004-09-22 14:09 pbartok
  18913. * Form.cs:
  18914. - Added Form.ControllCollection class
  18915. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  18916. RemoveOwnedForm (still incomplete, missing on-top and common
  18917. minimize/maximize behaviour)
  18918. - Added StartPosition property (still incomplete, does not use when
  18919. creating the form)
  18920. - Added ShowDialog() methods (still incomplete, missing forcing the
  18921. dialog modal)
  18922. 2004-09-22 14:05 pbartok
  18923. * Application.cs:
  18924. - Added message loop for modal dialogs
  18925. 2004-09-22 14:02 pbartok
  18926. * GroupBox.cs:
  18927. - Fixed wrong types for events
  18928. 2004-09-22 14:00 pbartok
  18929. * Shortcut.cs, FormWindowState.cs:
  18930. - Fixed wrong values
  18931. 2004-09-22 12:01 jackson
  18932. * Control.cs: Text is never null
  18933. 2004-09-20 22:14 pbartok
  18934. * XplatUIWin32.cs:
  18935. - Fixed accessibility level for Idle handler
  18936. 2004-09-20 18:54 jackson
  18937. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18938. XplatUIX11.cs: New message loop that uses poll so we don't get a
  18939. busy loop
  18940. 2004-09-17 10:43 pbartok
  18941. * ScrollBar.cs:
  18942. - Fixed behaviour of arrow buttons. Now properly behaves like
  18943. Buttons (and like Microsoft's scrollbar arrow buttons)
  18944. 2004-09-17 10:14 pbartok
  18945. * ScrollBar.cs:
  18946. - Added missing release of keyboard/mouse capture
  18947. 2004-09-17 06:18 jordi
  18948. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  18949. Theme.cs: Very early menu support
  18950. 2004-09-16 17:45 pbartok
  18951. * XplatUIWin32.cs:
  18952. - Fixed sending a window to the front
  18953. - Added overload for SetWindowPos to avoid casting
  18954. 2004-09-16 17:44 pbartok
  18955. * Control.cs:
  18956. - Added SendToBack and BringToFront methods
  18957. 2004-09-16 07:00 ravindra
  18958. * Copyright: Added Novell URL.
  18959. 2004-09-16 07:00 ravindra
  18960. * ToolBar.cs: Invalidate should be done before redrawing.
  18961. 2004-09-15 21:19 ravindra
  18962. * ColumnHeaderStyle.cs: Enum for ListView Control.
  18963. 2004-09-15 21:18 ravindra
  18964. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  18965. ListView Control.
  18966. 2004-09-13 18:26 jackson
  18967. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  18968. properly
  18969. 2004-09-13 18:13 jackson
  18970. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  18971. a second thread and post messages into the main threads message
  18972. queue. This makes timing much more consistent. Both win2K and XP
  18973. have a minimum timer value of 15 milliseconds, so we now do this
  18974. too.
  18975. 2004-09-13 15:18 pbartok
  18976. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18977. XplatUIX11.cs:
  18978. - Added Z-Ordering methods
  18979. 2004-09-13 10:56 pbartok
  18980. * Form.cs:
  18981. - Fixed #region names
  18982. - Moved properties and methods into their proper #regions
  18983. 2004-09-13 10:51 pbartok
  18984. * Form.cs:
  18985. - Added Accept and CancelButton properties
  18986. - Added ProcessDialogKey() method
  18987. 2004-09-13 08:18 pbartok
  18988. * IWindowTarget.cs:
  18989. - Initial check-in
  18990. 2004-09-10 21:50 pbartok
  18991. * Control.cs:
  18992. - Added DoDragDrop() [incomplete]
  18993. - Properly implemented 'Visible' handling
  18994. - Added SetVisibleCore()
  18995. - Implemented FindChildAtPoint()
  18996. - Implemented GetContainerControl()
  18997. - Implemented Hide()
  18998. 2004-09-10 19:28 pbartok
  18999. * Control.cs:
  19000. - Moved methods into their appropriate #regions
  19001. - Reordered methods within regions alphabetically
  19002. 2004-09-10 18:57 pbartok
  19003. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  19004. - Added method to retrieve text from window
  19005. 2004-09-10 18:56 pbartok
  19006. * Control.cs:
  19007. - Moved some internal functions into the internal region
  19008. - Implemented FontHeight
  19009. - Implemented RenderRightToLeft
  19010. - Implemented ResizeRedraw
  19011. - Implemented ShowFocusCues
  19012. - Implemented ShowKeyboardCues
  19013. - Implemented FromChildHandle
  19014. - Implemented FromHandle
  19015. - Implemented IsMnemonic
  19016. - Implemented ReflectMessage
  19017. - All public and protected Static Methods are now complete
  19018. 2004-09-10 16:54 pbartok
  19019. * Control.cs:
  19020. - Implemented remaining missing public instance properties
  19021. - Alphabetized some out of order properties
  19022. 2004-09-10 05:51 ravindra
  19023. * PictureBox.cs: Added a check for null image.
  19024. 2004-09-10 00:59 jordi
  19025. * GroupBox.cs: remove cvs tag
  19026. 2004-09-09 05:25 ravindra
  19027. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  19028. 2004-09-09 05:23 ravindra
  19029. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  19030. parent redraw.
  19031. 2004-09-09 02:28 pbartok
  19032. * ThemeWin32Classic.cs:
  19033. - Improve disabled string look
  19034. 2004-09-09 01:15 jordi
  19035. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  19036. args and handler
  19037. 2004-09-08 23:56 ravindra
  19038. * ItemBoundsPortion.cs: It's enum, not a class!
  19039. 2004-09-08 23:47 ravindra
  19040. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  19041. Enums for Form.
  19042. 2004-09-08 21:13 ravindra
  19043. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  19044. ListView control.
  19045. 2004-09-08 21:03 ravindra
  19046. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  19047. avoid crash.
  19048. 2004-09-08 21:01 ravindra
  19049. * ScrollableControl.cs: Removed unreachable code.
  19050. 2004-09-08 06:45 jordi
  19051. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  19052. 2004-09-08 01:00 jackson
  19053. * XplatUIX11.cs: Only run the timers when updating the message
  19054. queue. This effectively gives X messages a higher priority then
  19055. timer messages. Timers still need love though
  19056. 2004-09-07 14:01 jackson
  19057. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  19058. this for us and the handle is no longer valid.
  19059. 2004-09-07 13:59 jackson
  19060. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  19061. loop that manages to not crash. TODO: Add poll and cleanup timers
  19062. 2004-09-07 11:12 jordi
  19063. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  19064. 2004-09-07 03:40 jordi
  19065. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  19066. fixes, methods, multiple links
  19067. 2004-09-06 06:55 jordi
  19068. * Control.cs: Caches ClientRectangle rectangle value
  19069. 2004-09-05 02:03 jordi
  19070. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  19071. certain situations
  19072. 2004-09-04 11:10 jordi
  19073. * Label.cs: Refresh when font changed
  19074. 2004-09-02 16:24 pbartok
  19075. * Control.cs:
  19076. - Added sanity check to creation of double buffer bitmap
  19077. 2004-09-02 16:24 pbartok
  19078. * ButtonBase.cs:
  19079. - Fixed selection of text color
  19080. - Fixed handling of resize event; now properly recreates double
  19081. buffering bitmap
  19082. - Added missing assignment of TextAlignment
  19083. - Added proper default for TextAlignment
  19084. 2004-09-02 14:26 pbartok
  19085. * RadioButton.cs:
  19086. - Added missing RadioButton.RadioButtonAccessibleObject class
  19087. 2004-09-02 14:26 pbartok
  19088. * Control.cs:
  19089. - Added missing Control.ControlAccessibleObject class
  19090. - Started to implement Select()ion mechanisms, still very incomplete
  19091. 2004-09-02 14:25 pbartok
  19092. * AccessibleObject.cs:
  19093. - Added missing methods
  19094. 2004-09-02 14:23 pbartok
  19095. * AccessibleNavigation.cs, AccessibleSelection.cs:
  19096. - Initial check-in
  19097. 2004-09-02 10:32 jordi
  19098. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  19099. pool for pens, brushes, and hatchbruses
  19100. 2004-09-01 15:30 jackson
  19101. * StatusBar.cs: Fix typo
  19102. 2004-09-01 14:44 pbartok
  19103. * RadioButton.cs:
  19104. - Fixed state
  19105. 2004-09-01 14:39 pbartok
  19106. * Button.cs, RadioButton.cs:
  19107. - Functional initial check-in
  19108. 2004-09-01 14:01 pbartok
  19109. * CheckBox.cs:
  19110. - Added missing default
  19111. - Added missing region mark
  19112. 2004-09-01 09:10 jordi
  19113. * Label.cs: fixes method signatures, new methods, events, fixes
  19114. autosize
  19115. 2004-09-01 07:19 jordi
  19116. * Control.cs: Init string variables with an empty object
  19117. 2004-09-01 04:20 jordi
  19118. * Control.cs: fires OnFontChanged event
  19119. 2004-08-31 20:07 pbartok
  19120. * ButtonBase.cs:
  19121. - Enabled display of strings
  19122. 2004-08-31 20:05 pbartok
  19123. * Form.cs:
  19124. - Added (partial) implementation of DialogResult; rest needs to be
  19125. implemented when the modal loop code is done
  19126. 2004-08-31 19:55 pbartok
  19127. * CheckBox.cs:
  19128. - Fixed to match the removal of the needs_redraw concept
  19129. 2004-08-31 19:55 pbartok
  19130. * ButtonBase.cs:
  19131. - Removed the rather odd split between 'needs redraw' and redrawing
  19132. - Now handles the events that require regeneration (ambient
  19133. properties and size)
  19134. 2004-08-31 19:41 pbartok
  19135. * Control.cs:
  19136. - Added firing of BackColorChanged event
  19137. - Added TopLevelControl property
  19138. - Fixed handling of WM_ERASEBKGRND message
  19139. 2004-08-31 12:49 pbartok
  19140. * ButtonBase.cs:
  19141. - Removed debug
  19142. - Minor fixes
  19143. 2004-08-31 12:48 pbartok
  19144. * CheckBox.cs:
  19145. - Finished (famous last words)
  19146. 2004-08-31 04:35 jordi
  19147. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  19148. scrolling bugs, adds new methods
  19149. 2004-08-30 14:42 pbartok
  19150. * CheckBox.cs:
  19151. - Implemented CheckBox drawing code
  19152. 2004-08-30 14:42 pbartok
  19153. * ButtonBase.cs:
  19154. - Made Redraw() and CheckRedraw() virtual
  19155. - Improved mouse up/down/move logic to properly track buttons
  19156. 2004-08-30 09:44 pbartok
  19157. * CheckBox.cs:
  19158. - Updated to fix broken build. Not complete yet.
  19159. 2004-08-30 09:28 pbartok
  19160. * CheckState.cs:
  19161. - Initial checkin
  19162. 2004-08-30 09:17 pbartok
  19163. * Appearance.cs:
  19164. - Initial check-in
  19165. 2004-08-27 16:12 ravindra
  19166. * ToolBarButton.cs: Added TypeConverter attribute.
  19167. 2004-08-27 16:07 ravindra
  19168. * ImageIndexConverter.cs: Implemented.
  19169. 2004-08-27 14:17 pbartok
  19170. * Control.cs:
  19171. - Removed unneeded stack vars
  19172. - First attempt to fix sizing issues when layout is suspended
  19173. 2004-08-25 15:35 jordi
  19174. * ScrollBar.cs: more fixes to scrollbar
  19175. 2004-08-25 14:04 ravindra
  19176. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  19177. Added the missing divider code and grip for ToolBar Control.
  19178. 2004-08-25 13:20 pbartok
  19179. * Control.cs:
  19180. - Control now properly passes the ambient background color to child
  19181. controls
  19182. 2004-08-25 13:20 jordi
  19183. * ScrollBar.cs: small bug fix regarding bar position
  19184. 2004-08-25 12:33 pbartok
  19185. * Timer.cs:
  19186. - Now only calls SetTimer or KillTimer if the enabled state has
  19187. changed
  19188. 2004-08-25 12:33 pbartok
  19189. * XplatUIWin32.cs:
  19190. - Fixed timer handling, now seems to work
  19191. - Improved error message for window creation
  19192. 2004-08-25 12:32 pbartok
  19193. * Control.cs:
  19194. - Fixed generation of MouseUp message
  19195. 2004-08-25 12:29 jordi
  19196. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  19197. and fixes for progressbar
  19198. 2004-08-24 18:43 ravindra
  19199. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  19200. in ToolBar control.
  19201. 2004-08-24 17:15 pbartok
  19202. * Panel.cs:
  19203. - Added #region
  19204. - Added missing events
  19205. - Alphabetized
  19206. 2004-08-24 17:14 pbartok
  19207. * StatusBar.cs, PictureBox.cs:
  19208. - Now uses Control's CreateParams
  19209. 2004-08-24 16:36 pbartok
  19210. * XplatUIX11.cs:
  19211. - Fixed background color handling
  19212. - Fixed sending of enter/leave events on a grab
  19213. 2004-08-24 16:35 pbartok
  19214. * X11Structs.cs:
  19215. - Refined definitions for CrossingEvent
  19216. 2004-08-24 12:37 jordi
  19217. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  19218. formmating, methods signature, and adds missing events
  19219. 2004-08-24 12:24 jordi
  19220. * Control.cs: fire OnEnabledChanged event
  19221. 2004-08-24 11:17 pbartok
  19222. * XplatUIWin32.cs:
  19223. - Implemented SetTimer() and KillTimer()
  19224. 2004-08-24 11:16 pbartok
  19225. * XplatUIX11.cs:
  19226. - Now uses Remove instead of Add to kill the timer
  19227. 2004-08-24 10:16 jackson
  19228. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  19229. picture boxes in the theme now. Draw picture box borders and obey
  19230. sizing modes
  19231. 2004-08-24 05:49 jackson
  19232. * Timer.cs: Remove top secret debugging code
  19233. 2004-08-24 05:34 jackson
  19234. * PictureBox.cs: Temp hack to make picture boxes draw their full
  19235. image
  19236. 2004-08-24 05:29 jackson
  19237. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  19238. XplatUIX11.cs: Move timers to the driver level. On X they are
  19239. queued by the driver and checked on idle.
  19240. 2004-08-24 01:07 jackson
  19241. * XplatUIX11.cs: Use a queue for async messages instead of passing
  19242. them as ClientMessages since that was totally broken. Also simply
  19243. check for events and return an idle message if none are found. This
  19244. gives us an idle handler, and prevents deadlocking when no messages
  19245. are in the queue.
  19246. 2004-08-23 18:19 ravindra
  19247. * XplatUIWin32.cs: Removed the unwanted destructor.
  19248. 2004-08-23 17:27 pbartok
  19249. * ButtonBase.cs:
  19250. - Finishing touches. Works now, just needs some optimizations.
  19251. 2004-08-23 16:53 jordi
  19252. * ScrollBar.cs: small fix
  19253. 2004-08-23 16:45 pbartok
  19254. * Application.cs:
  19255. - Removed debug output
  19256. - Simplifications
  19257. 2004-08-23 16:43 jordi
  19258. * ScrollBar.cs: [no log message]
  19259. 2004-08-23 16:10 pbartok
  19260. * Form.cs:
  19261. - Fixed handling of WM_CLOSE message
  19262. - Removed debug output
  19263. 2004-08-23 16:09 pbartok
  19264. * Application.cs:
  19265. - Added handling of Idle event
  19266. - Added handling of form closing
  19267. - Fixed reporting of MessageLoop property
  19268. - Removed some unneeded code, should provide a bit of a speedup
  19269. 2004-08-23 15:22 pbartok
  19270. * Control.cs:
  19271. - Added InitLayout() method
  19272. - Added code to properly perform layout when Anchor or Dock property
  19273. is changed
  19274. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  19275. LAMESPEC, tried to do it in a way that makes sense
  19276. 2004-08-23 14:10 jordi
  19277. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  19278. properties and methods
  19279. 2004-08-23 13:55 pbartok
  19280. * Control.cs:
  19281. - Properly fixed Jordi's last fix
  19282. - Now uses Cursor's Position property instead of calling XplatUI
  19283. directly
  19284. 2004-08-23 13:44 jordi
  19285. * PaintEventHandler.cs: Adding missing attribute
  19286. 2004-08-23 13:39 pbartok
  19287. * Cursor.cs:
  19288. - Implemented Position property
  19289. 2004-08-23 13:39 pbartok
  19290. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  19291. - Added method to move mouse cursor
  19292. 2004-08-23 13:39 pbartok
  19293. * XplatUIX11.cs:
  19294. - Fixed setting of background color
  19295. - Added method to move mouse cursor
  19296. 2004-08-23 13:16 jordi
  19297. * Control.cs: avoids null exception
  19298. 2004-08-22 17:46 jackson
  19299. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  19300. PictureBox
  19301. 2004-08-22 17:40 jackson
  19302. * XplatUIX11.cs: Add some missing locks
  19303. 2004-08-22 15:10 pbartok
  19304. * Control.cs, Form.cs:
  19305. - Removed OverlappedWindow style from Control, instead it's default
  19306. now is child
  19307. - Made form windows OverlappedWindow by default
  19308. 2004-08-22 13:34 jackson
  19309. * ScrollBar.cs: Update the position through the Value property so
  19310. the OnValueChanged event is raised.
  19311. 2004-08-22 12:04 pbartok
  19312. * SWF.csproj:
  19313. - Added Cursor.cs and UserControl.cs
  19314. 2004-08-22 12:03 pbartok
  19315. * Cursor.cs:
  19316. - Started implementation, not usable yet
  19317. 2004-08-22 12:00 pbartok
  19318. * UserControl.cs:
  19319. - Implemented UserControl (complete)
  19320. 2004-08-21 19:20 ravindra
  19321. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  19322. 2004-08-21 18:49 ravindra
  19323. * ToolBar.cs: Probably this completes the missing attributes in
  19324. toolbar control.
  19325. 2004-08-21 18:03 ravindra
  19326. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  19327. Fixed toolbar control signatures.
  19328. 2004-08-21 16:32 pbartok
  19329. * LinkLabel.cs:
  19330. - Signature Fixes
  19331. 2004-08-21 16:30 pbartok
  19332. * Label.cs:
  19333. - Signature fixes
  19334. 2004-08-21 16:19 pbartok
  19335. * Control.cs, Label.cs:
  19336. - Signature fixes
  19337. 2004-08-21 15:57 pbartok
  19338. * ButtonBase.cs:
  19339. - Added loads of debug output for development
  19340. - Fixed typo in method name
  19341. 2004-08-21 15:52 pbartok
  19342. * ToolBarButtonClickEventArgs.cs:
  19343. - Added missing base class
  19344. 2004-08-21 14:53 pbartok
  19345. * Control.cs:
  19346. - Updated to match new GrabWindow signature
  19347. 2004-08-21 14:51 pbartok
  19348. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19349. - Added method to get default display size
  19350. 2004-08-21 14:23 pbartok
  19351. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19352. - Added method to query current grab state
  19353. - Added argument to allow confining a grab to a window
  19354. 2004-08-21 14:22 pbartok
  19355. * Keys.cs:
  19356. - Added [Flags] attribute so that modifiers can be used in bitwise
  19357. ops
  19358. 2004-08-21 14:21 pbartok
  19359. * TrackBar.cs, ScrollBar.cs:
  19360. - Replaced direct XplatUI calls with their Control counterpart
  19361. 2004-08-21 13:32 pbartok
  19362. * Control.cs:
  19363. - Implemented Created property
  19364. 2004-08-21 13:28 pbartok
  19365. * Control.cs:
  19366. - Implemented ContainsFocus
  19367. 2004-08-21 13:26 pbartok
  19368. * Control.cs:
  19369. - Implemented CausesValidation
  19370. 2004-08-21 13:21 pbartok
  19371. * Control.cs:
  19372. - Implemented CanFocus
  19373. - Implemented CanSelect
  19374. - Implemented Capture
  19375. 2004-08-21 12:35 pbartok
  19376. * XplatUIWin32.cs:
  19377. - Fixed bug with Async message handling
  19378. - Implemented getting the ModifierKeys
  19379. 2004-08-21 12:32 jackson
  19380. * AsyncMethodResult.cs: Make sure we have the mutex before we
  19381. release it. Fixes BeginInvoke on windows
  19382. 2004-08-21 11:31 pbartok
  19383. * XplatUIWin32.cs, XplatUIX11.cs:
  19384. - Drivers now return proper mouse state
  19385. 2004-08-21 10:54 jackson
  19386. * Control.cs: Implement EndInvoke
  19387. 2004-08-21 10:48 jackson
  19388. * Timer.cs: Remove unneeded finalizer
  19389. 2004-08-20 19:52 ravindra
  19390. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  19391. in mouse event handling in the ToolBar control.
  19392. 2004-08-20 19:50 ravindra
  19393. * ImageList.cs: Changed draw method to use the arguments passed in
  19394. to draw the image.
  19395. 2004-08-20 18:58 pbartok
  19396. * XplatUIStructs.cs:
  19397. - Added private message for async communication
  19398. 2004-08-20 17:38 ravindra
  19399. * Control.cs: Made RightToLeft property virtual and removed a
  19400. Console.WriteLine.
  19401. 2004-08-20 14:39 jordi
  19402. * ThemeGtk.cs: use style_attach
  19403. 2004-08-20 14:39 pbartok
  19404. * XplatUIWin32.cs:
  19405. - Added jackson's Async code from X11 to Win32
  19406. 2004-08-20 14:09 pbartok
  19407. * SWF.csproj:
  19408. - Added all new files
  19409. 2004-08-20 14:09 pbartok
  19410. * Control.cs:
  19411. - Added call to set window background color
  19412. 2004-08-20 14:03 pbartok
  19413. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  19414. - Added method for setting the window background
  19415. 2004-08-20 14:02 pbartok
  19416. * XplatUIWin32.cs:
  19417. - Added method for setting the background color
  19418. - Added handling for erasing the window background
  19419. 2004-08-20 13:45 jordi
  19420. * TrackBar.cs: fixes timer, new properties and methods
  19421. 2004-08-20 13:34 jackson
  19422. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  19423. correct thread
  19424. 2004-08-20 13:22 jackson
  19425. * Timer.cs: Timer Tick events are now handed through Controls Async
  19426. mechanism so the callbacks are executed in the same thread as X
  19427. 2004-08-20 13:19 jackson
  19428. * XplatUIDriver.cs: Expose functionality to send async messages
  19429. through the driver
  19430. 2004-08-20 13:18 jackson
  19431. * Control.cs: Implement Begininvoke
  19432. 2004-08-20 13:14 jackson
  19433. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  19434. messages through the driver
  19435. 2004-08-20 13:12 jackson
  19436. * XplatUIX11.cs: Lock before all X operations. Also added Async
  19437. method functionality through XSendEvent
  19438. 2004-08-20 13:11 jackson
  19439. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  19440. This will screw up on 64 bit systems)
  19441. 2004-08-20 13:10 jackson
  19442. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  19443. Async messages through X/Win32
  19444. 2004-08-19 19:39 pbartok
  19445. * XplatUIX11.cs:
  19446. - Updated code to match new HandleData.DeviceContext type
  19447. 2004-08-19 19:38 pbartok
  19448. * HandleData.cs:
  19449. - Made DeviceContext a generic object to allow usage from various
  19450. drivers
  19451. - Added support for queueing Windows messages
  19452. 2004-08-19 19:37 pbartok
  19453. * XplatUIWin32.cs:
  19454. - Added generation of MouseEnter, MouseLeave and MouseHover events
  19455. - Added cleanup on EndPaint
  19456. 2004-08-19 19:17 pbartok
  19457. * Control.cs:
  19458. - Added handling of WM_MOUSEHOVER
  19459. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  19460. code
  19461. 2004-08-19 18:55 jordi
  19462. * ThemeGtk.cs: fixes button order
  19463. 2004-08-19 18:12 jordi
  19464. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  19465. 2004-08-19 17:09 pbartok
  19466. * Control.cs:
  19467. - Added Right property
  19468. - Added RightToLeft property
  19469. 2004-08-19 16:27 jordi
  19470. * ThemeGtk.cs: experimental GTK theme support
  19471. 2004-08-19 16:26 jordi
  19472. * ITheme.cs, Theme.cs: move themes from an interface to a class
  19473. 2004-08-19 16:25 jordi
  19474. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  19475. theme enhancaments
  19476. 2004-08-19 16:04 pbartok
  19477. * XplatUIX11.cs:
  19478. - Added colormap basics
  19479. - Added a way to re-initialize with a different display handle
  19480. - Fixed setting of the window background color
  19481. - Added various X11 imports related to colors and colormaps
  19482. 2004-08-19 15:51 pbartok
  19483. * X11Structs.cs:
  19484. - Removed packing hints (Paolo suggested this a while back)
  19485. - fixed colormap type
  19486. - Added default Atom types
  19487. - Added Screen and color structs and enums
  19488. 2004-08-19 15:39 pbartok
  19489. * ImageList.cs:
  19490. - Added missing Draw() method
  19491. - Added missing RecreateHandle event
  19492. 2004-08-19 15:30 pbartok
  19493. * Form.cs:
  19494. - Added handling of WM_CLOSE
  19495. 2004-08-18 13:16 jordi
  19496. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  19497. a table
  19498. 2004-08-18 09:56 jordi
  19499. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  19500. 2004-08-17 15:31 ravindra
  19501. * SWF.csproj: Updated project.
  19502. 2004-08-17 15:25 pbartok
  19503. * Control.cs:
  19504. - Drawing improvement; don't call UpdateBounds if we are not visible
  19505. (or have been minimized)
  19506. 2004-08-17 15:24 pbartok
  19507. * XplatUIWin32.cs:
  19508. - Finished IsVisible
  19509. - Added Win32GetWindowPlacement
  19510. 2004-08-17 15:08 jackson
  19511. * Panel.cs: Initial checkin of the Panel
  19512. 2004-08-17 14:25 pbartok
  19513. * Control.cs:
  19514. - Fixed broken handling of default window sizes
  19515. 2004-08-17 13:29 jackson
  19516. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  19517. has a large startup time.
  19518. 2004-08-17 10:25 jackson
  19519. * HandleData.cs: union areas properly
  19520. 2004-08-17 10:12 jackson
  19521. * HandleData.cs: union areas properly
  19522. 2004-08-16 20:00 ravindra
  19523. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  19524. 2004-08-16 18:48 ravindra
  19525. * ToolBar.cs: Added attributes.
  19526. 2004-08-16 17:17 ravindra
  19527. * SWF.csproj: Updated project.
  19528. 2004-08-16 17:16 jackson
  19529. * XplatUIX11.cs: Check for more expose events before sending a
  19530. WM_PAINT so they can all be grouped together. This makes dragging a
  19531. window across another window redraw in a sane way.
  19532. 2004-08-16 15:47 pbartok
  19533. * Control.cs:
  19534. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  19535. support OnMouseEnter/Leave()
  19536. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  19537. exposure handling
  19538. 2004-08-16 15:46 pbartok
  19539. * XplatUIStructs.cs, XplatUIX11.cs:
  19540. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  19541. OnMouseEnter/Leave()
  19542. 2004-08-16 15:34 jackson
  19543. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  19544. sure messages get the message field set to WM_NULL if they are not
  19545. handled.
  19546. 2004-08-16 15:24 jackson
  19547. * HandleData.cs: HandleData is used for storing message information
  19548. for window handles
  19549. 2004-08-15 17:23 ravindra
  19550. * ColorDepth.cs: Added attribute.
  19551. 2004-08-15 17:23 ravindra
  19552. * SWF.csproj: Updated project for ToolBar Control.
  19553. 2004-08-15 17:20 ravindra
  19554. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  19555. control and also dos2unix format.
  19556. 2004-08-15 17:13 ravindra
  19557. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  19558. ToolBarButtonClickEventArgs.cs,
  19559. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  19560. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  19561. 2004-08-15 15:31 pbartok
  19562. * ButtonBase.cs:
  19563. - First (mostly) working version
  19564. 2004-08-13 16:15 pbartok
  19565. * Control.cs:
  19566. - Fixed Anchor default
  19567. 2004-08-13 15:43 pbartok
  19568. * Control.cs:
  19569. - Changed GetCursorPos signature
  19570. 2004-08-13 15:42 pbartok
  19571. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  19572. - Changed signature for GetCursorPos
  19573. 2004-08-13 15:25 pbartok
  19574. * XplatUIX11.cs:
  19575. - Cleanup
  19576. - Fixed resizing/exposure handling
  19577. 2004-08-13 15:22 jordi
  19578. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  19579. with tickposition
  19580. 2004-08-13 14:55 jordi
  19581. * TrackBar.cs: change from wndproc to events
  19582. 2004-08-13 13:00 jordi
  19583. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  19584. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  19585. 2004-08-13 12:53 pbartok
  19586. * XplatUIWin32.cs:
  19587. - Changed GetWindowPos to also provide client area size
  19588. - Fixed broken prototypes for several win32 functions
  19589. 2004-08-13 12:53 pbartok
  19590. * XplatUI.cs, XplatUIDriver.cs:
  19591. - Changed GetWindowPos to also provide client area size
  19592. 2004-08-13 12:52 pbartok
  19593. * XplatUIX11.cs:
  19594. - Added generation of WM_POSCHANGED
  19595. - Changed GetWindowPos to also provide client area size
  19596. 2004-08-13 12:52 pbartok
  19597. * Control.cs:
  19598. - Added Dispose() and destructor
  19599. - Fixed resizing and bounds calculation
  19600. - Fixed Layout
  19601. - Added memory savings for invisible windows
  19602. 2004-08-13 12:46 jordi
  19603. * TrackBar.cs: adds timer and grap window
  19604. 2004-08-13 10:25 jackson
  19605. * Timer.cs: SWF Timer
  19606. 2004-08-12 16:59 pbartok
  19607. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19608. - Implemented method to get current mouse position
  19609. 2004-08-12 14:29 jordi
  19610. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  19611. enhancement, fix mouse problems, highli thumb, etc
  19612. 2004-08-12 13:31 pbartok
  19613. * Control.cs:
  19614. - Fixed Anchoring bugs
  19615. 2004-08-12 13:01 jackson
  19616. * StatusBar.cs: Don't forget things
  19617. 2004-08-12 12:54 jackson
  19618. * ThemeWin32Classic.cs: Handle owner draw status bars
  19619. 2004-08-12 12:54 jackson
  19620. * StatusBar.cs: Implement missing properties, events, and methods.
  19621. Handle mouse clicking
  19622. 2004-08-12 10:19 jackson
  19623. * StatusBarPanelClickEventArgs.cs,
  19624. StatusBarPanelClickEventHandler.cs: Classes for handling status
  19625. bar panel click events
  19626. 2004-08-12 10:10 jackson
  19627. * Control.cs: Add missing properties
  19628. 2004-08-12 09:46 pbartok
  19629. * BindingsManagerBase.cs:
  19630. - Name changed to BindingManagerBase.cs
  19631. 2004-08-12 09:25 jordi
  19632. * ScrollableControl.cs: calls ctrlbase instead of exeception
  19633. 2004-08-11 16:28 pbartok
  19634. * InputLanguageChangingEventArgs.cs:
  19635. - Never check in before compiling. Fixes the last check-in
  19636. 2004-08-11 16:26 pbartok
  19637. * InputLanguageChangingEventArgs.cs:
  19638. - More signature fixes
  19639. 2004-08-11 16:20 pbartok
  19640. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  19641. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  19642. ImageListStreamer.cs, InputLanguage.cs,
  19643. InputLanguageChangedEventArgs.cs,
  19644. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  19645. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  19646. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  19647. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19648. - Signature fixes
  19649. 2004-08-11 16:16 pbartok
  19650. * Application.cs:
  19651. - Fixed Signature
  19652. - Added .Net 1.1 method
  19653. 2004-08-11 15:25 pbartok
  19654. * SWF.csproj:
  19655. - Fixed BindingManagerBase.cs filename
  19656. 2004-08-11 15:22 pbartok
  19657. * BindingManagerBase.cs:
  19658. - Was checked in with wrong filename
  19659. 2004-08-11 14:50 pbartok
  19660. * SWF.csproj:
  19661. - Updated
  19662. 2004-08-11 13:41 jordi
  19663. * XplatUIWin32.cs: Fixes ClientRect
  19664. 2004-08-11 13:19 pbartok
  19665. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  19666. XplatUIX11.cs:
  19667. - We had SetWindowPos and MoveWindow to set window positions and
  19668. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  19669. keep SetWindowPos as matching counterpart
  19670. - Added some X11 sanity checking
  19671. 2004-08-11 12:59 pbartok
  19672. * Control.cs:
  19673. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  19674. (It seems that SetBounds is just a front for SetBoundsCore and
  19675. SetBoundsCore updates the underlying window system and
  19676. UpdateBounds is responsible for updating the variables associated
  19677. with the Control and sending the events)
  19678. - Major cleanup of Size handling; we now have two sizes, client_size
  19679. and bounds. Bounds defines the window with decorations, client_size
  19680. without them.
  19681. 2004-08-11 12:55 pbartok
  19682. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19683. - Added method to calculate difference between decorated window and
  19684. raw client area
  19685. 2004-08-11 12:54 pbartok
  19686. * Label.cs:
  19687. - Forcing redraw on resize
  19688. 2004-08-11 11:43 pbartok
  19689. * ImageList.cs:
  19690. - Removed disposing of the actual images when the list is disposed
  19691. 2004-08-11 09:13 pbartok
  19692. * Control.cs:
  19693. - Now properly reparents windows
  19694. 2004-08-11 08:37 pbartok
  19695. * Control.cs:
  19696. - Duh!
  19697. 2004-08-11 07:47 pbartok
  19698. * Control.cs:
  19699. - Rewrote the collection stuff. Might not be as fast now, not
  19700. keeping the number of children around and accessible directly, but
  19701. it's more straightforward
  19702. 2004-08-11 07:44 pbartok
  19703. * AccessibleObject.cs:
  19704. - Fixed to match ControlCollection rewrite
  19705. 2004-08-11 07:43 pbartok
  19706. * ImageList.cs:
  19707. - Added missing creation of the collection list
  19708. 2004-08-10 20:08 jackson
  19709. * StatusBar.cs: Get the paint message from WndProc
  19710. 2004-08-10 19:31 jackson
  19711. * ThemeWin32Classic.cs: Create Brushes as little as possible
  19712. 2004-08-10 19:20 jackson
  19713. * UICues.cs: Add Flags attribute
  19714. 2004-08-10 19:19 jackson
  19715. * StatusBarPanel.cs: Signature cleanup
  19716. 2004-08-10 19:10 jackson
  19717. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  19718. Initial implementation of status bar item drawing
  19719. 2004-08-10 17:27 jordi
  19720. * TrackBar.cs: add missing methods, properties, and restructure to
  19721. hide extra ones
  19722. 2004-08-10 16:24 jackson
  19723. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  19724. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  19725. attribute
  19726. 2004-08-10 13:21 jordi
  19727. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  19728. enhancements and standarize on win colors defaults
  19729. 2004-08-10 12:52 jackson
  19730. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  19731. ThemeWin32Classic.cs: Implement DrawItem functionality
  19732. 2004-08-10 12:47 jordi
  19733. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  19734. 2004-08-10 12:32 jordi
  19735. * Control.cs: throw ontextchange event
  19736. 2004-08-10 11:43 pbartok
  19737. * Control.cs:
  19738. - Added more to the still unfinished Dock/Anchor layout code
  19739. 2004-08-10 11:39 pbartok
  19740. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  19741. - Added GetWindowPos method
  19742. 2004-08-10 11:36 pbartok
  19743. * XplatUIWin32.cs:
  19744. - Implemented several methods
  19745. 2004-08-10 09:47 jackson
  19746. * TrackBar.cs: Allow control to handle buffering
  19747. 2004-08-10 09:41 jackson
  19748. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  19749. 2004-08-10 09:24 jackson
  19750. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  19751. 2004-08-10 09:09 jackson
  19752. * StatusBar.cs: Let Control handle all the buffering.
  19753. 2004-08-10 09:08 jackson
  19754. * Control.cs: Control will now handle the buffering code, so each
  19755. control does not have to implement this.
  19756. 2004-08-10 08:34 jackson
  19757. * XplatUIDriver.cs: Use default colors from the theme
  19758. 2004-08-09 17:12 pbartok
  19759. * ImageList.cs:
  19760. - Fixed several bugs Ravindra pointed out
  19761. 2004-08-09 16:11 pbartok
  19762. * Control.cs:
  19763. - Added incomplete dock layout code
  19764. - Added support for mouse wheel
  19765. 2004-08-09 16:09 pbartok
  19766. * XplatUIX11.cs:
  19767. - Added handling for middle and right mousebutton
  19768. - Added handling for mouse wheel
  19769. - Added handling for key state and mouse state and position
  19770. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  19771. messages
  19772. 2004-08-09 15:40 jackson
  19773. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  19774. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  19775. checkin
  19776. 2004-08-09 15:37 jackson
  19777. * StatusBar.cs: Initial implementation of StatusBar
  19778. 2004-08-09 15:36 jackson
  19779. * ITheme.cs: Add support for drawing status bar and getting status
  19780. bar item sizes
  19781. 2004-08-09 15:35 pbartok
  19782. * MouseButtons.cs:
  19783. - Fixed values
  19784. 2004-08-09 15:34 jackson
  19785. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  19786. status bar item sizes
  19787. 2004-08-09 15:21 jackson
  19788. * ThemeWin32Classic.cs: Use known colors for default control
  19789. colours
  19790. 2004-08-09 15:12 jackson
  19791. * ThemeWin32Classic.cs: Make the default font static, it is static
  19792. in control so this doesn't change functionality and creating fonts
  19793. is sloooooow.
  19794. 2004-08-09 14:56 pbartok
  19795. * X11Structs.cs:
  19796. - Added GrabMode enum
  19797. 2004-08-09 14:55 pbartok
  19798. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19799. - Removed Run method, was only required for initial development
  19800. 2004-08-09 14:51 pbartok
  19801. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  19802. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  19803. capture
  19804. 2004-08-09 13:48 pbartok
  19805. * XplatUIX11.cs:
  19806. - Fixed default sizing for child windows
  19807. 2004-08-09 12:56 pbartok
  19808. * XplatUIX11.cs:
  19809. - Added generation of WM_DESTROY message
  19810. - Added handling of window manager induced shutdown
  19811. 2004-08-09 11:31 jackson
  19812. * ThemeWin32Classic.cs: New names for control properties
  19813. 2004-08-09 11:25 jackson
  19814. * Control.cs: Use new color names
  19815. 2004-08-09 11:02 jackson
  19816. * XplatUI.cs: Get default window properties from the theme
  19817. 2004-08-09 11:01 jackson
  19818. * ITheme.cs: The theme engine now controls default window
  19819. properties
  19820. 2004-08-09 11:00 jackson
  19821. * ThemeWin32Classic.cs: Add default window color properties
  19822. 2004-08-09 10:17 jackson
  19823. * ThemeWin32Classic.cs: Use correct default back color
  19824. 2004-08-09 10:05 jackson
  19825. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  19826. the theme now.
  19827. 2004-08-09 09:56 jackson
  19828. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  19829. 2004-08-09 09:54 jackson
  19830. * Control.cs: Get default properties from the theme.
  19831. 2004-08-09 09:53 jackson
  19832. * ITheme.cs: Themes now handle default control properties
  19833. 2004-08-09 09:53 jackson
  19834. * ThemeWin32Classic.cs: Themes now handle default control
  19835. properties so coloring will be consistent
  19836. 2004-08-08 16:54 jordi
  19837. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  19838. 2004-08-08 15:08 jordi
  19839. * XplatUIX11.cs: fixes keyboard crash
  19840. 2004-08-08 13:47 jordi
  19841. * Label.cs: add cvs header info
  19842. 2004-08-08 12:09 jackson
  19843. * ThemeWin32Classic.cs: Add pen_buttonface
  19844. 2004-08-08 11:52 jordi
  19845. * Label.cs, LinkLabel.cs: [no log message]
  19846. 2004-08-08 11:34 jordi
  19847. * ThemeWin32Classic.cs: Use Windows Standard Colours
  19848. 2004-08-07 17:32 jordi
  19849. * TrackBar.cs: throw exceptions of invalid enums values
  19850. 2004-08-07 17:31 jordi
  19851. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  19852. draw method name
  19853. 2004-08-07 16:56 jackson
  19854. * HorizontalAlignment.cs: Initial checkin
  19855. 2004-08-07 13:16 jordi
  19856. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  19857. methods
  19858. 2004-08-07 13:05 jordi
  19859. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  19860. GetSysColor defines
  19861. 2004-08-06 18:01 pbartok
  19862. * ThemeWin32Classic.cs:
  19863. - Fixed some rounding issues with float/int
  19864. 2004-08-06 18:00 jackson
  19865. * DockStyle.cs, AnchorStyles.cs:
  19866. Add flags and serializable attributes.
  19867. 2004-08-06 17:46 pbartok
  19868. * XplatUIX11.cs:
  19869. - Implemented GetParent
  19870. 2004-08-06 17:18 pbartok
  19871. * TrackBar.cs:
  19872. - Fixed some rounding issues with float/int
  19873. 2004-08-06 17:17 pbartok
  19874. * X11Structs.cs, XplatUIX11.cs:
  19875. - Fixed Refresh and Invalidate
  19876. 2004-08-06 15:30 pbartok
  19877. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  19878. - Fixed recursive loop when resizing
  19879. - Improved/fixed redrawing on expose messages
  19880. 2004-08-06 09:53 jordi
  19881. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  19882. keyboard navigation
  19883. 2004-08-06 08:02 pbartok
  19884. * X11Structs.cs, XplatUIX11.cs:
  19885. - Fixed reparenting
  19886. - Fixed window border creation
  19887. 2004-08-05 15:38 pbartok
  19888. * XplatUIX11.cs:
  19889. - Attempted fix for reparenting problems
  19890. 2004-08-04 15:14 pbartok
  19891. * Control.cs:
  19892. - Fixed Invalidation bug (calculated wrong client area)
  19893. - Added ClientSize setter
  19894. 2004-08-04 15:13 pbartok
  19895. * Form.cs:
  19896. - Added AutoScale properties
  19897. 2004-08-04 15:13 pbartok
  19898. * SWF.csproj:
  19899. - Added latest files
  19900. 2004-08-04 14:11 pbartok
  19901. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  19902. XplatUIX11.cs:
  19903. - Added Invalidate handling
  19904. 2004-08-03 17:09 jordi
  19905. * XplatUIDriver.cs: fixes spelling mistake
  19906. 2004-07-27 09:53 jordi
  19907. * TrackBar.cs: fixes trackbar events, def classname, methods
  19908. signature
  19909. 2004-07-27 09:29 jordi
  19910. * ScrollBar.cs: fixes scrollbar events
  19911. 2004-07-27 04:38 jordi
  19912. * Control.cs: changes to be able to run winforms samples
  19913. 2004-07-26 11:42 jordi
  19914. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  19915. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  19916. 2004-07-26 05:41 jordi
  19917. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  19918. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  19919. implementation
  19920. 2004-07-22 09:22 jordi
  19921. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  19922. check link overlapping, implement events, and fixes
  19923. 2004-07-21 10:28 jordi
  19924. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  19925. 2004-07-21 10:19 jordi
  19926. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  19927. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  19928. LinkLabelLinkClickedEventArgs.cs,
  19929. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  19930. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  19931. implementation
  19932. 2004-07-19 13:09 jordi
  19933. * Control.cs, Label.cs: label control re-written: added missing
  19934. functionlity, events, and properties
  19935. 2004-07-19 10:49 jordi
  19936. * Control.cs: fixes SetBounds logic
  19937. 2004-07-19 01:29 jordi
  19938. * Control.cs: Call RefreshWindow only if the window has created
  19939. 2004-07-15 14:05 pbartok
  19940. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  19941. - Implemented ImageList and ImageList.ImageCollection classes
  19942. - Added ColorDepth enumeration
  19943. - Updated SWF VS.Net project
  19944. 2004-07-15 11:06 jordi
  19945. * XplatUIStructs.cs: added MsgButons enum
  19946. 2004-07-15 11:03 jordi
  19947. * Control.cs: added basic mouse handeling events
  19948. 2004-07-15 03:38 jordi
  19949. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  19950. Vertical TrackBar control implementation
  19951. 2004-07-13 09:33 jordi
  19952. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  19953. 2004-07-13 09:31 jordi
  19954. * Control.cs, Form.cs: commit: new properties and fixes form size
  19955. problems
  19956. 2004-07-09 14:13 miguel
  19957. * ProgressBar.cs: Spelling
  19958. 2004-07-09 11:25 pbartok
  19959. * ProgressBar.cs:
  19960. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  19961. faster
  19962. 2004-07-09 11:17 miguel
  19963. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  19964. * ProgressBar.cs: Fixed spelling for `block'
  19965. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  19966. style guidelines.
  19967. Avoid using the += on rect.X, that exposed a bug in the compiler.
  19968. 2004-07-08 23:21 pbartok
  19969. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  19970. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  19971. BaseCollection.cs, Binding.cs, BindingContext.cs,
  19972. BindingMemberInfo.cs, BindingsCollection.cs,
  19973. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  19974. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  19975. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  19976. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  19977. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  19978. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  19979. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  19980. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  19981. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  19982. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  19983. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  19984. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  19985. InputLanguageChangedEventArgs.cs,
  19986. InputLanguageChangedEventHandler.cs,
  19987. InputLanguageChangingEventArgs.cs,
  19988. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  19989. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  19990. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  19991. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  19992. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  19993. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  19994. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  19995. QueryAccessibilityHelpEventArgs.cs,
  19996. QueryAccessibilityHelpEventHandler.cs,
  19997. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  19998. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  19999. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  20000. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  20001. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  20002. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  20003. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  20004. XplatUIX11.cs, lang.cs:
  20005. - Initial check-in