ChangeLog 942 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718
  1. 2007-05-17 Chris Toshok <[email protected]>
  2. * Control.cs (CheckDataBindings): remove the binding_context arg
  3. to binding.Check.
  4. * CurrencyManager.cs (OnItemChanged): fix this now that
  5. BindingManagerBase is fixed. also remove the comment telling where
  6. the fix should go. We set transfering_data to true/false around
  7. the call to PushData to keep UpdateIsBinding from being called.
  8. (ListChangedHandler): remove the extra OnMetaDataChanged call for
  9. PropertyDescriptorAdded in the 1.1 case. The extra call is
  10. actually generated by System.Data generating 2 metadata changed
  11. events of its own per column add. The fix should go there. Add a
  12. comment to that affect in our test's Assert.Ignore.
  13. * BindingManagerBase.cs: Rework PullData and PushData slightly.
  14. we keep a boolean flag (transfering_data) that keeps us from
  15. calling UpdateIsBinding multiple times if we re-enter either of
  16. them.
  17. * ControlBindingsCollection.cs (AddCore): remove the
  18. binding_context arg to binding.Check.
  19. * Binding.cs (IsBinding): don't check if we're binding here, just
  20. return our cached value. we update it in UpdateIsBinding.
  21. (Check): don't take the binding_context arg, we'll just use our
  22. control's. Also, for some reason MS doesn't use the data member
  23. field when getting the bindingmanager for this binding. it just
  24. uses the datasource. Make this method callable multiple times,
  25. and only do the is_null_desc stuff if manager.Position != -1 (so
  26. we don't get an exception accessing manager.Current).
  27. (UpdateIsBinding): move the code from IsBinding here.
  28. (PositionChangedHandler): call Check here to we can initialize
  29. things that require a non- -1 position.
  30. 2007-05-17 Everaldo Canuto <[email protected]>
  31. * Form.cs: When alt keys is pressed send WM_CHANGEUISTATE to top level
  32. control.
  33. 2007-05-17 Andreia Gaita <[email protected]>
  34. * TabControl.cs: Add 2.0 methods and events, including
  35. OnEnter / OnLeave and raises it for tabpages (fixes #79869)
  36. * TabPage.cs: Add 2.0 methods
  37. 2007-05-17 Everaldo Canuto <[email protected]>
  38. * Control.cs: Implement WmUpdateUIState, show_focus_cues and
  39. keyboard_cues is properly handled by message method.
  40. 2007-05-17 Jonathan Pobst <[email protected]>
  41. * TreeViewImageIndexConverter.cs: Add 2.0 methods.
  42. 2007-05-17 Jonathan Pobst <[email protected]>
  43. * ToolStripTextBox.cs: Wire up new 2.0 Textbox methods/properties.
  44. 2007-05-16 Everaldo Canuto <[email protected]>
  45. * Control.cs:
  46. - WmUpdateUIState added to handle state changes, it make call to
  47. OnChangeUICues event.
  48. - Fixed ShowKeyboardCues to check for MenuAccessKeysUnderlined in
  49. SystemInformation.
  50. 2007-05-16 Jonathan Pobst <[email protected]>
  51. * ImageKeyConverter.cs: Added.
  52. * TreeViewImageKeyConverter.cs: Added.
  53. 2007-05-16 Carlos Alberto Cortez <[email protected]>
  54. * ToolTips.cs: Update Text if SetToolTip is called for a control
  55. already showing the tooltip, as well as restarting its timer; show
  56. tooltip if we are inside the control bounds by the time of calling
  57. SetToolTip. Inside ShowTooltip remove the check to not show the
  58. tooltip again for the active control (it is allowed by .Net to
  59. show the tooltip on the same control multiple times).
  60. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  61. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  62. 2007-05-16 Andreia Gaita <[email protected]>
  63. * ContainerControl.cs: only process tab key if there are no
  64. modifier keys present, otherwise the control does the
  65. tab processing, if it needs to. Fixes #81622
  66. * TabControl.cs: Fixes calculation for which tab to select on
  67. shift+ctrl+tab.
  68. 2007-05-16 Rolf Bjarne Kvinge <[email protected]>
  69. * MaskedTextBox.cs: Small fix for Text that fixes a broken test.
  70. 2007-05-15 Jonathan Pobst <[email protected]>
  71. * Control.cs: Make IsInputCharInternal to allow controls to
  72. override it and still match MS API.
  73. * TextBoxBase.cs: Override IsInputCharInternal and always
  74. return true.
  75. [Fixes bug #81616]
  76. 2007-05-15 Jackson Harper <[email protected]>
  77. * TextBox.cs: Disable some of the menu options when using a
  78. readonly textbox.
  79. 2007-05-15 Jackson Harper <[email protected]>
  80. * TextBox.cs:
  81. * TextBoxBase.cs:
  82. * RichTextBox.cs: Some new 2.0 methods
  83. 2007-05-15 Gert Driesen <[email protected]>
  84. * FileDialog.cs: On 1.0 profile, do not support multidotted
  85. extensions.
  86. 2007-05-14 Jackson Harper <[email protected]>
  87. * TextBoxBase.cs: Implement some of the new 2.0 methods.
  88. * RichTextBox.cs: We need to override these methods on 2.0.
  89. * MaskedTextBox.cs: These are implemented now
  90. * TextControl.cs: This was off by one.
  91. 2007-05-14 Jackson Harper <[email protected]>
  92. * TextControl.cs: Because the line endings are including in the
  93. text, we don't need to add them in anymore.
  94. 2007-05-11 Everaldo Canuto <[email protected]>
  95. * ToolBar.cs: Fix autosize and get it working only after hadle is created,
  96. also prevent redraw in set_autosize if handle is not created. Fixes #81523.
  97. 2007-05-11 Everaldo Canuto <[email protected]>
  98. * ToolBar.cs: Adjust size to default size when button theres no text and
  99. image, it fixes remaining issues from #81524.
  100. 2007-05-11 Everaldo Canuto <[email protected]>
  101. * ToolBar.cs:
  102. - When not flat call redraw to recalculate sizes on creare handle to match
  103. win32 behavior.
  104. - Revert 77220 because it causes some regressions in toobar
  105. button.
  106. 2007-05-11 Rolf Bjarne Kvinge <[email protected]>
  107. * MaskedTextBox.cs: Update the base text whenever the text changes. MTB
  108. now actually enters a usable state.
  109. 2007-05-11 Everaldo Canuto <[email protected]>
  110. * ToolBar.cs: Check for handle created in redraw to prevent unneeded size
  111. calculations, it reduces the size cauculation from 7 to 3 on a toolbar with
  112. 3 buttons.
  113. 2007-05-11 Everaldo Canuto <[email protected]>
  114. * ToolBar.cs: Save default_size on create handle to use later for buttons
  115. without text, needed to mimic win32 behavior.
  116. 2007-05-11 Everaldo Canuto <[email protected]>
  117. * ToolBar.cs: Fix button layour to best fit width or height according to
  118. vertical or not. Fixes #81524.
  119. 2007-05-10 Everaldo Canuto <[email protected]>
  120. * ToolBarButton.cs: When change style call ToolBar.Redraw to update
  121. toolbar size info because different styles theres different sizes.
  122. Fixes #81522.
  123. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  124. * ThemeWinClassic.cs: For .Net 2.0 don't draw any image
  125. if we are using checkboxes, checked is true, and we have less
  126. than two images in StateImageList; for the 1.1 in the same scenario
  127. draw the first image if we have at least one image in StateImageList.
  128. Fixes part of #81191.
  129. 2007-05-10 Jonathan Pobst <[email protected]>
  130. * ToolStrip.cs, ToolStripManager.cs: We need to remove items from
  131. the owner's Items collection on merge.
  132. 2007-05-10 Jonathan Pobst <[email protected]>
  133. * ToolStrip.cs: Use new internal ToolStripItemCollection constructor.
  134. * ToolStripItemCollection.cs: Lots of fixes to when events get called
  135. and parent/owner gets changed based on gert's unit tests.
  136. 2007-05-10 Rolf Bjarne Kvinge <[email protected]>
  137. * MaskedTextBox.cs: Started implementing parts of it.
  138. 2007-05-10 Carlos Alberto Cortez <[email protected]>
  139. * ListView.cs: When clicking the checkbox on the items
  140. take into account the double clicks even if we have only
  141. one image in StateImageList (only for 1.0/1.1). Also
  142. generate an extra change of checked state when we receive
  143. the second click on checkbox (match .Net behaviour).
  144. Fixes part of #81191.
  145. 2007-05-10 Everaldo Canuto <[email protected]>
  146. * ThemeWin32Classic.cs: Fix text rectangles in Tooltips.
  147. 2007-05-10 Jonathan Pobst <[email protected]>
  148. * Form.cs: Move some of OnLoad to OnLoadInternal so it gets called
  149. even if OnLoad is overriden and base.OnLoad is not called.
  150. [Fixes bug #81582]
  151. 2007-05-10 Andreia Gaita <[email protected]>
  152. * TableLayoutSettings.cs: A big doh! fix and bowing down of head in
  153. shame. (I blame my ever-persisting and annoying cold)
  154. 2007-05-09 Jonathan Pobst <[email protected]>
  155. * ListView.cs: Don't eat navigation keys. Let them flow through to
  156. KeyDown/KeyPress routines. [Fixes bug #81569]
  157. 2007-05-09 Jonathan Pobst <[email protected]>
  158. * ListView.cs: When handling keys for selecting the item based off
  159. keyboard input, do not consider keys pressed with Alt or Control. Also,
  160. correctly handle keys when the Shift key is down. [Fixes bug #81578]
  161. 2007-05-09 Jonathan Pobst <[email protected]>
  162. * Control.cs: When using UseWaitCursor, we have to store the requested
  163. Cursor to use when UseWaitCursor is turned off.
  164. 2007-05-09 Jonathan Pobst <[email protected]>
  165. * Control.cs: Implement PreProcessControlMessage. Default IsInputChar
  166. to false.
  167. * Application.cs: Use PreProcessControlMessage instead of
  168. PreProcessMessage.
  169. * PreProcessControlMessage.cs: Make internal for 1.1.
  170. 2007-05-08 Carlos Alberto Cortez <[email protected]>
  171. * Control.cs: Add InternalContains focus property, which hast the same
  172. functionality of ContainsFocus, but also including implicit controls.
  173. * ListViewItem.cs: Use InternalContainsFocus instead of ContainsFocus,
  174. since we need to know if the focus is contained in our implicit
  175. ItemControl when calculating Layout. Fixes part of #80888.
  176. 2007-05-08 Everaldo Canuto <[email protected]>
  177. * ToolTip.cs: Remove center form string alignment as it must be align to
  178. left.
  179. 2007-05-08 Jonathan Pobst <[email protected]>
  180. * ToolStripItemCollection.cs: Set the new item's parent and owner
  181. in Insert like we do in Add. [Fixes bug #81568]
  182. 2007-05-08 Jackson Harper <[email protected]>
  183. * TreeView.cs: GotFocus differences between 1.1 and 2.0.
  184. - Off by one error in SetTop
  185. - Disable DoubeBuffering
  186. 2007-05-08 Rolf Bjarne Kvinge <[email protected]>
  187. * ScrollableControl.cs: ScrollIControlntoView: we now only move the
  188. control as much as necessary in order to make it entirely visible,
  189. instead of centering the control in the container (matches MS
  190. behaviour). CalculateCanvasSize: we need to take the current scroll
  191. position into account when calculating the maximum canvas,
  192. otherwise the following scenario will fail: resize so that the
  193. scrollbars appear, use the scrollbars to scroll, resize again
  194. smaller, and now the canvas size is too small. Recalculate: when
  195. showing scrollbars make sure they start off at 0, and try to scroll
  196. the active control into view. Fixes #79540. HandleScrollBar: don't
  197. scroll anywhere if the scrollbar isn't visible.
  198. 2007-05-07 Carlos Alberto Cortez <[email protected]>
  199. * ListView.cs: When focus changed, call Layout/Invalidate
  200. in the focused item to update the selected state (should show
  201. entire label when ListView is focused, and a part of it if is not).
  202. * ListViewItem.cs: When doing layout for LargeIcon, take into account
  203. for displaying the entire label not only the Focused state of the
  204. item, but also the Focused state of the ListView (match .Net
  205. behaviour).
  206. 2007-05-07 Jonathan Pobst <[email protected]>
  207. * Control.cs: Stub CanRaiseEvents, IsMirrored, and NotifyClients.
  208. Implement UseWaitCursor.
  209. 2007-05-07 Jonathan Pobst <[email protected]>
  210. Applying contributed patch from Sergey Volk.
  211. * Clipboard.cs: Implement SetDataObject retry logic and new overload
  212. of SetDataObject.
  213. * XplatUIWin32.cs: Throw an ExternalException if the clipboard set fails.
  214. 2007-05-07 Jonathan Pobst <[email protected]>
  215. * Control.cs: Implement DrawToBitmap.
  216. 2007-05-07 Jonathan Pobst <[email protected]>
  217. Applying contributed patch from Stefan Noack.
  218. * Control.cs: Add [Get|Set]AutoSizeMode.
  219. 2007-05-07 Jonathan Pobst <[email protected]>
  220. * MdiClient.cs: Unmerge menus when the last child is closed.
  221. 2007-05-07 Jonathan Pobst <[email protected]>
  222. * ToolStrip.cs: Do not call BeginMerge on DropDowns.
  223. * ToolStripManager.cs: Call Merge on DropDowns.
  224. [Fixes bug #81477]
  225. 2007-05-07 Rolf Bjarne Kvinge <[email protected]>
  226. * XplatUIWin32.cs: Changed Win32CreateWindow to take enums instead of
  227. uints.
  228. * Form.cs: CreateParams: don't set WS_VISIBLE if we're changing
  229. visibility. We can't create forms visible, since we have to set the
  230. owner before making the form visible (otherwise Win32 will do
  231. strange things with task bar icons). The problem is that we set the
  232. internal is_visible to true before creating the control, so
  233. is_changing_visible_state is the only way of determining if we're
  234. in the process of creating the form due to setting Visible=true -
  235. this works because SetVisibleCore explicitly makes the form
  236. visibile afterwards anyways. Fixes #80775.
  237. 2007-05-04 Carlos Alberto Cortez <[email protected]>
  238. * ThemeWin32Classic.cs: When drawing ListViewItems,
  239. use StringTrimming.EllipsisCharacter if the view is Tile, Details,
  240. or LargeIcon _and_ item is not focused (match .Net behaviour).
  241. 2007-05-04 Jonathan Pobst <[email protected]>
  242. * Control.cs, Form.cs: Fix some obsolete method warnings.
  243. 2007-05-04 Jonathan Pobst <[email protected]>
  244. * Control.cs: Implement GetChildAtPoint and OnParentCursorChanged.
  245. * GetChildAtPointSkip.cs: Make internal for 1.1 profile.
  246. 2007-05-04 Andreia Gaita <[email protected]>
  247. * ContainerControl.cs: Fix active_control attribution when going
  248. up the parent chain so that the first parent container gets the control
  249. and the rest of the parent containers get the child containers (skips
  250. non-containers). Fixes #80729
  251. 2007-05-04 Randolph Chung <[email protected]>
  252. * FileDialog.cs: Implement the SupportMultiDottedExtensions property.
  253. [Fixes bug #81499]
  254. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  255. * XplatUIX11.cs: Add a TranslateWindowSizeToXWindowSize overload that
  256. takes a size parameter, since the CreateParam's size isn't true for
  257. minimized forms. Fixes #81518,
  258. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  259. * Form.cs: Add OnDeactivateInternal.
  260. * MdiClient.cs: Raise Deactivate event. Fixes #81409.
  261. 2007-05-04 Rolf Bjarne Kvinge <[email protected]>
  262. * DateTimePicker.cs: CalculateDropDownLocation: do a null check before
  263. accessing the parent. Fixes #81508.
  264. 2007-05-03 Chris Toshok <[email protected]>
  265. * CurrencyManager.cs (CurrencyManager.ListChangeHandler): in the
  266. 2.0 block, pass listposition + 1 to ChangeRecordState when a row
  267. was added before the current listposition. Fixes the
  268. TestInsertRowBeforeCurrent unit test.
  269. 2007-05-03 Jonathan Pobst <[email protected]>
  270. * Application.cs: Add RaiseIdle.
  271. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  272. XplatUIX11.cs: Implement RaiseIdle.
  273. 2007-05-02 Jonathan Pobst <[email protected]>
  274. corcompare work: N - Z
  275. * NotifyIcon.cs
  276. * ProgressBar.cs
  277. * RadionButton.cs
  278. * ScrollableControl.cs
  279. * SplitContainer.cs
  280. * SplitterPanel.cs
  281. * StatusBar.cs
  282. * SystemInformation.cs
  283. * TabControl.cs
  284. * TableLayoutControlCollection.cs
  285. * TableLayoutPanel.cs
  286. * TabPage.cs
  287. * ToolBar.cs
  288. * ToolBarButton.cs
  289. * ToolStrip.cs
  290. * ToolStripComboBox.cs
  291. * ToolStripContainer.cs
  292. * ToolStripContentPanel.cs
  293. * ToolStripDropDown.cs
  294. * ToolStripDropDownItem.cs
  295. * ToolStripDropDownMenu.cs
  296. * ToolStripItem.cs
  297. * ToolStripItemCollection.cs
  298. * ToolStripMenuItem.cs
  299. * ToolStripPanel.cs
  300. * ToolStripSplitButton.cs
  301. * ToolTip.cs
  302. * TreeNode.cs
  303. * TreeNodeCollection.cs
  304. * TreeNodeMouseHoverEventArgs.cs
  305. * TreeView.cs
  306. 2007-05-01 Everaldo Canuto <[email protected]>
  307. * ContextMenu.cs: Add public method Show with alignment property to 2.0
  308. stuff. Thanks aatdark for the patch.
  309. 2007-05-01 Jonathan Pobst <[email protected]>
  310. * GridItem.cs: Implement 2.0 Tag property.
  311. 2007-05-01 Frederik Carlier <[email protected]>
  312. * TreeNodeCollection.cs: Fix ContainsKey and IndexOfKey methods to use
  313. count instead of Nodes.Length. [Fixes bug #81448]
  314. 2007-05-01 Jonathan Pobst <[email protected]>
  315. * ComboBox.cs: Fix paramName sent to ArgumentOutOfRangeException's.
  316. [Fixes bug #81506]
  317. 2007-05-01 Jonathan Pobst <[email protected]>
  318. corcompare work: A - M
  319. * BindingNavigator.cs
  320. * Button.cs
  321. * ButtonBase.cs
  322. * CheckBox.cs
  323. * Control.cs
  324. * FlowLayoutPanel.cs
  325. * Form.cs
  326. * Label.cs
  327. * LinkLabel.cs
  328. * ListView.cs
  329. 2007-05-01 Jonathan Pobst <[email protected]>
  330. * Application.cs: Give toolstrips a chance to process mnemonics.
  331. * ToolStrip.cs, ToolStripDropDownButton.cs, ToolStripItem.cs,
  332. ToolStripItemTextRenderEventArgs.cs, ToolStripLabel.cs,
  333. ToolStripMenuItem.cs, ToolStripSplitButton.cs: Implement keyboard mnemonics.
  334. 2007-05-01 Jackson Harper <[email protected]>
  335. * TextBoxBase.cs: Better preferred height, FixedSingle gets the
  336. wider area too.
  337. - Don't set the BoundsSpecified
  338. 2007-04-30 Jonathan Pobst <[email protected]>
  339. * Application.cs: When using the toolstrip shortcut mechanism, allow the
  340. message to pass through to a regular control if it hosted by a toolstrip.
  341. * ToolStrip.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  342. ToolStripManager.cs: Enable keyboard navigation for ToolStrips.
  343. 2007-04-30 Jonathan Pobst <[email protected]>
  344. * TextRenderer.cs: Use the flags argument when using the MeasureString
  345. fallback algorithm.
  346. 2007-04-30 Jonathan Pobst <[email protected]>
  347. * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
  348. the MDI menu item. [Fixes bug #81483]
  349. 2007-04-30 Gert Driesen <[email protected]>
  350. * DataGridViewColumn.cs: Initialize value of headercell to zero-length
  351. string. When setting Name to null, use zero-length string instead.
  352. 2007-04-29 Andreia Gaita <[email protected]>
  353. * TabControl.cs: Implement missing 2.0 methods (SelectTab,
  354. DeselectTab). Implement missing 2.0 TabPageCollection methods
  355. (Add, ContainsKey, RemoveByKey, IndexOfKey)
  356. 2007-04-29 Pedro Martínez Juliá <[email protected]>
  357. * DataGridViewColumn.cs: Make HeaderText take preference over Name.
  358. 2007-04-29 Gert Driesen <[email protected]>
  359. * RichTextBox.cs: In LoadFile, use StreamReader to read plain text.
  360. Fixes bug #81479. Include details of exception when LoadFile fails.
  361. 2007-04-28 Alan McGovern <[email protected]>
  362. * DrawListViewSubItemEventArgs.cs: Added missing setter
  363. 2007-04-27 Andreia Gaita <[email protected]>
  364. * ToolTip.cs: Add missing 2.0 properties. Implement 2.0 Show and
  365. Hide methods (not complete). Implement missing 2.0 OnPopup event.
  366. 2007-04-27 Carlos Alberto Cortez <[email protected]>
  367. * ListView.cs: In ItemControl.OnMouseDown restore a pair of braces I
  368. removed in ly last commit (it was breaking the Label edit feature).
  369. * ThemeWin32Classic.cs: When drawing a ListViewItem use
  370. StringAlignment.Near for LineAlignment (match .Net).
  371. 2007-04-27 Andreia Gaita <[email protected]>
  372. * TabControl.cs: Change SetTab so it adds the tabpage to the list
  373. of controls if it isn't already there - was blowing up when doing
  374. tabcontrol.TabPages[i]=new TabPage().
  375. SetTab now does a replace by removing the page at the index.
  376. Add a new InsertTab method that inserts a page in a given index
  377. instead of replacing.
  378. Implements TabPageCollection.Insert(int, TabPage).
  379. 2007-04-27 Chris Toshok <[email protected]>
  380. * BindingManagerBase.cs: fill in CurrentItemChanged (and have an
  381. internal handler that can be invoked from our subclasses.) Also,
  382. add a comment to PushData about how we need to fix it.
  383. * CurrencyManager.cs: tons of changes here. trying to get things
  384. matching the behavior of .net wrt event orders (ItemChanged,
  385. CurrentChanged, PositionChanged.) I've implemented a private .net
  386. symbol (ChangeRecordState) that appears in stack traces because
  387. it's actually easier to do this than to effective inline all its
  388. various behaviors at every call site.
  389. * RelatedPropertyManager.cs: guard against an exception here by
  390. not using parent.Current if the position is set to -1 (if the
  391. parent datasource is cleared, for instance).
  392. * Binding.cs: don't parse data in PushData (this might be wrong,
  393. but it jives with MS's behavior.) Also, don't call PushData when
  394. we get a CurrentChanged event.
  395. 2007-04-27 Andreia Gaita <[email protected]>
  396. * WebBrowser.cs,
  397. WebBrowserBase.cs,
  398. WebBrowserSiteBase.cs,
  399. HtmlDocument.cs: Added stubbed out classes, no real implementations
  400. yet.
  401. 2007-04-27 Everaldo Canuto <[email protected]>
  402. * MainMenu.cs: In draw method without parameters call draw method with
  403. PaintEvent, another one (just rect) adjust rectangle and we dont need it
  404. as Rect property is already adjusted. Fixes #80694.
  405. 2007-04-27 Jonathan Pobst <[email protected]>
  406. * Application.cs: Need to handle keyboard menu deselection here.
  407. * Control.cs: Use WM_SYSKEYUP instead of WM_SYSCOMMAND to start menu keyboard
  408. navigation, allowing keyboard to work on X11.
  409. * ToolStrip.cs: Don't worry about handling the Menu key here anymore.
  410. 2007-04-27 Everaldo Canuto <[email protected]>
  411. * MenuAPI.cs: When deactivate menu verify if hotkey (_) is active and redraw
  412. menu bar. It fixes some drawing issues in menu bar.
  413. 2007-04-27 Everaldo Canuto <[email protected]>
  414. * MenuAPI.cs: Remove unneeded "keynav_state = KeyNavState.Idle" before
  415. Deactivate calls, Deactivate method already do it. Also ser ActiveTracker
  416. when <alt> key is pressed.
  417. 2007-04-26 Everaldo Canuto <[email protected]>
  418. * XplatUIX11.cs: Simplify SystrayRemove to be like other libraries, Gtk as
  419. example just set visible to false and make this prevent from other problems.
  420. In SystrayAdd always remove pending expose. Fixes #81072.
  421. 2007-04-26 Marek Safar <[email protected]>
  422. * TextBoxBase.cs (CaretMoved): Consider scroll maximum when scroll
  423. value is set.
  424. 2007-04-26 Alan McGovern <[email protected]>
  425. * ListView.cs: Added three missing 2.0 events and corresponding
  426. EventHandlers. Added the OwnerDraw property.
  427. * DrawListViewColumnHeaderEventHandler.cs: fixed typo
  428. 2007-04-26 Alan McGovern <[email protected]>
  429. * DrawListViewItemEventArgs.cs
  430. * DrawListViewSubItemEventArgs.cs: Brought classes up to 2.0 status.
  431. 2007-04-26 Alan McGovern <[email protected]>
  432. * TextControl.cs: Fixed typo in constructor
  433. 2007-04-26 Jonathan Pobst <[email protected]>
  434. * Application.cs: Create a shortcut path so that currently selected
  435. MenuStrips can intercept keyboard events without having focus.
  436. * Control.cs: Handle WM_SYSCOMMAND message to activate MenuStrips.
  437. * MenuStrip.cs, ToolStrip.cs, ToolStripDropDown.cs, ToolStripDropDownItem.cs,
  438. ToolStripItem.cs, ToolStripManager.cs, ToolStripMenuItem.cs: Support
  439. keyboard navigation (arrows, tab, enter, esc) on Windows. Still need to
  440. generate WM_SYSCOMMAND message in X11 for other platforms.
  441. * ToolStripProfessionalRenderer.cs: ToolStripMenuItems need to be painted
  442. in OnRenderMenuItemBackground instead of OnRenderButtonBackground.
  443. * ToolStripSplitButton.cs: Add DefaultItem property.
  444. 2007-04-26 Everaldo Canuto <[email protected]>
  445. * MainMenu.cs: In OnMenuChanged pass PaintEventArgs to Draw method, it
  446. fixes some menu draw problem on Windows with border diferent from default
  447. it also fixes #81403.
  448. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  449. * Form.cs: Refactor WndProc into separate methods, just like Control is
  450. doing it.
  451. 2007-04-26 Rolf Bjarne Kvinge <[email protected]>
  452. * Control.cs: set_Text: move the call to the driver into a seperate
  453. virtual method so that Form can override it.
  454. * MaskedTextBox.cs: Corcompare fixes.
  455. * Form.cs: Override UpdateWindowText and only update the styles if the
  456. form has been shown (fixes #81405).
  457. 2007-04-25 Jonathan Pobst <[email protected]>
  458. * Control.cs, Form.cs: Use the better supported WM_?BUTTONDOWN and
  459. WM_ACTIVATE messages instead of WM_MOUSEACTIVATE and
  460. WM_ACTIVATEAPP. This fixes menus not disappearing on X11 when
  461. the form lost focus or another control was clicked.
  462. 2007-04-25 Gert Driesen <[email protected]>
  463. * DataGrid.cs: Uncomment MakeTransparent calls since bug #80151 is
  464. fixed.
  465. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  466. * DrawListViewColumnHeaderEventHandler.cs, DrawToolTipEventArgs.cs,
  467. DrawListViewItemEventHandler.cs,
  468. DrawListViewSubItemEventHandler.cs, DrawToolTipEventHandler.cs:
  469. Added.
  470. * X11Structs.cs: More ToString implementation.
  471. 2007-04-25 Jonathan Pobst <[email protected]>
  472. * ToolStripDropDownItem.cs: Don't lazy create a DropDown in Dispose.
  473. * ToolStripOverflowButton.cs: Don't lazy create a DropDown in HasDropDownItems.
  474. 2007-04-25 Rolf Bjarne Kvinge <[email protected]>
  475. * Control.cs: Only raise OnVisibleChanged if we're not recreating the
  476. handle.
  477. * FormCollection.cs: Don't add a form if it's already in the
  478. collection.
  479. * Form.cs: Change ShowDialog () to call ShowDialog (owner) with a null
  480. according to behaviour and MSDN. The ownerWin32 is the active
  481. window at the moment when we call ShowDialog, not the context's
  482. main form (the context's main form may open another form that opens
  483. a form with ShowDialog, the win32 owner is the second form). Add
  484. and remove forms to the Application.OpenForms in other places to
  485. better match MS behaviour. Add an IsActive property that raises
  486. On(de)Activated only if the active state has changed (we were
  487. raising OnDeactivated before OnActivated while creating forms).
  488. * Application.cs: Refactor Enabling/Disabling of windows for modal
  489. dialog loops out to separate methods, and restore the thread
  490. context when we quit the method. Fixes #81407.
  491. 2007-04-25 Carlos Alberto Cortez <[email protected]>
  492. * ListView.cs: In ItemControl.HandleClicks, also fire
  493. 2.0 MouseClick or MouseDoubleClick events on the parent,
  494. not only the Click/DoubleClick events.
  495. 2007-04-24 Andreia Gaita <[email protected]>
  496. * TableLayoutSettings.cs:
  497. - Added a GetControls method and a support structure to help the
  498. TypeConverter to enumerate the controls for serialization.
  499. - Added a new serialization constructor.
  500. - Added a isSerialized flag initialized to true on the
  501. serialization constructor so that the TableLayoutPanel.LayoutSettings
  502. setter does not throw the designed NotSupportedOperation exception
  503. when the object is built through deserialization.
  504. - Implemented GetObjectData
  505. * TableLayoutPanel.cs: Added check on LayoutSettings.
  506. 2007-04-24 Carlos Alberto Cortez <[email protected]>
  507. * ListView.cs: Report Click and DoubleClick events to the parent
  508. from ItemsMouseUp, instead of ItemsMouseDown. This prevents us
  509. from breaking the click count state when using dialog forms (Control
  510. reports the clicks in a similar fashion). In the previous behaviour
  511. the last WM_LBUTTONUP message in a double click was sent to the
  512. ListView's form, instead of the ListView, which was breaking the click
  513. count for it. Fixes #80387.
  514. 2007-04-24 Alan McGovern <[email protected]>
  515. * BindingNavigator.cs : fixed bugs revealed by new nunit tests
  516. 2007-04-24 Jonathan Pobst <[email protected]>
  517. * ToolStripDropDownItem.cs: Lazy initialize the DropDown. This prevents
  518. us from created dropdowns for menu items that do not have subitems.
  519. * ToolStripItem.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs:
  520. Check HasDropDownItems before calling DropDown so a dropdown will not be
  521. created if it isn't needed.
  522. 2007-04-24 Jackson Harper <[email protected]>
  523. * TreeView.cs: Set the first node to the selected node when we get
  524. focus if there is no selected node.
  525. 2007-04-24 Andreia Gaita <[email protected]>
  526. * MimeIcon.cs: remove using blocks so that image streams are
  527. not disposed of. Fixes #80151
  528. 2007-04-24 Jackson Harper <[email protected]>
  529. * TextBoxBase.cs: Fixup the height of textboxes when the control
  530. is created.
  531. 2007-04-24 Jonathan Pobst <[email protected]>
  532. * ToolStrip.cs: Fully implement GetNextItem. Call OnParentRightToLeftChanged
  533. for each ToolStripItem when the parent's RightToLeftChanged is called.
  534. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  535. * ComboBox.cs: Forward ContextMenu to the underlying textbox, if any.
  536. Fixes #80163.
  537. * Control.cs: Replace GetContextMenuInternal() with ContextMenuInternal
  538. property, so that the setter can be overriden too.
  539. * TextBox.cs: Change GetContextMenuInternal() to use
  540. ContextMenuInternal.
  541. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  542. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  543. #81406.
  544. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  545. * ThemeWin32Classic.cs: Use a black pen to draw checkboxes, fixes
  546. #81406.
  547. 2007-04-24 Rolf Bjarne Kvinge <[email protected]>
  548. * MaskedTextBox.cs: Commit this so nobody else starts working on it and
  549. avoid duplicate work. Mostily skeleton code, it's not working at
  550. all yet.
  551. 2007-04-20 Leszek Ciesielski <[email protected]>
  552. * NotifyIcon.cs : stub for MouseClick event
  553. * Application.cs: stub for SetUnhandledExceptionMode
  554. 2007-04-24 Alan McGovern <[email protected]>
  555. * BindingNavigator.cs : Initial (partial) implementation
  556. 2007-04-23 Jackson Harper <[email protected]>
  557. * TreeView.cs: Do not create the treeview's handle when setting
  558. the scroll position.
  559. - ExpandAll needs to compute the scrollbars so it knows which
  560. position to set the bar too.
  561. * TreeNode.cs:
  562. * TreeNodeCollection.cs: Pass new flag to UpdateScrollBars
  563. 2007-04-23 Jackson Harper <[email protected]>
  564. * TextBoxBase.cs: Non multiline textboxes shouldn't take the enter
  565. key. Fixes #81408.
  566. 2007-04-23 Jonathan Pobst <[email protected]>
  567. * ToolStripItem.cs: Make GetImageSize internal.
  568. * ToolStripMenuItem.cs: Use GetImageSize to determine the size we
  569. need to draw an item. Fixes a reported issue where images on menus
  570. that were not 16x16 were drawing incorrectly.
  571. 2007-04-21 Miguel de Icaza <[email protected]>
  572. * Padding.cs: Use the converter, fixes the resgen2 issue with
  573. XMLNotePad.
  574. 2007-04-21 Jackson Harper <[email protected]>
  575. * TreeView.cs: Dont try to unhighlight the selected node if there
  576. isn't a selected node.
  577. 2007-04-21 Jackson Harper <[email protected]>
  578. * UpDownBase.cs:
  579. * TextBoxBase.cs:
  580. * ListView.cs:
  581. * ListBox.cs:
  582. * TreeView.cs: Use the InternalBorderStyle property to set the
  583. initial border style, this forces the client rectangle to be sized
  584. correctly.
  585. 2007-04-20 Jackson Harper <[email protected]>
  586. * TreeView.cs: Simplify scrolling to the last node after expanding
  587. all.
  588. - Fix some off by ones with setting the bottom.
  589. 2007-04-20 Jonathan Pobst <[email protected]>
  590. * Control.cs: Use DefaultSize for Size, calculate ClientSize from
  591. that. We were incorrectly doing it the other way around. Also,
  592. update ClientSize if we change the BorderStyle before the control
  593. is created.
  594. 2007-04-20 Gert Driesen <[email protected]>
  595. * XplatUI.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  596. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  597. XplatUIDriver.Caption to CaptionHeight. Spaces to tabs.
  598. * XplatUIDriver.cs: Added Border3DSize, BorderSize, CaptionButtonSize,
  599. DoubleClickSize, DoubleClickTime and FixedFrameBorderSize. Renamed
  600. Caption to CaptionHeight.
  601. * XplatUIX11.cs: Renamed Caption to CaptionHeight.
  602. * Theme.cs: Modified Border3DSize, BorderSize, CaptionButtonSize
  603. and FixedFrameBorderSize to return value from current XplatUI driver.
  604. * XplatUIWin32.cs: Implemented Border3DSize, BorderSize,
  605. CaptionButtonSize, DragFullWindows, DoubleClickSize, DoubleClickTime
  606. and FixedFrameBorderSize using win32 API. Renamed Caption to
  607. CaptionHeight.
  608. * XplatUIOSX.cs: Renamed Caption to CaptionHeight.
  609. * SystemInformation.cs: Fixed typo in BorderSize.
  610. 2007-04-20 Gert Driesen <[email protected]>
  611. * XplatUI.cs: Added MenuAccessKeysUnderlined.
  612. * XplatUIDriver.cs: Added MenuAccessKeysUnderlined.
  613. * XplatUIX11.cs: Implemented MenuAccessKeysUnderlined by always
  614. returning false.
  615. * Theme.cs: Modified MenuAccessKeysUnderlined to return corresponding
  616. value from XplatUI driver.
  617. * XplatUIWin32.cs: Implemented MenuAccessKeysUnderlined using
  618. SystemParametersInfo.
  619. * ThemeWin32Classic.cs: Remove obsolete MenuAccessKeysUnderlined
  620. override.
  621. * XplatUIOSX.cs: Implemented MenuAccessKeysUnderlind by always
  622. returning false.
  623. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  624. * XplatUIX11.cs, Hwnd.cs: Remove warnings.
  625. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  626. * MessageBox.cs, XplatUIX11.cs, Hwnd.cs: Remove warnings.
  627. 2007-04-20 Jonathan Pobst <[email protected]>
  628. * ToolStripManager.cs: Fix a reported InvalidCastException when unmerging
  629. MenuStrips that contain ToolStripSeparators.
  630. 2007-04-20 Rolf Bjarne Kvinge <[email protected]>
  631. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Add
  632. DefineStdCursorBitmap.
  633. * Cursor.cs: Add an internal constructor so that the Cursor knows if it
  634. has been created off a standard cursor. This is used to get a
  635. bitmap of the standard cursor when Draw or DrawStretched is called
  636. in order to draw the cursor.
  637. * X11Structs.cs: Added XcursorImage and XcursorImages.
  638. * XplatUIX11.cs, XplatUIWin32.cs: Add and implement
  639. DefineStdCursorBitmap.
  640. * Cursors.cs: Update all relevant creations of Cursor to use the new
  641. internal constructor.
  642. 2007-04-19 Jackson Harper <[email protected]>
  643. * TextBox.cs: Move the has_been_focused into the base control, so
  644. some of the text adding methods can manipulate it (probably time
  645. for a better name for this flag too).
  646. - Call a new version of selectall that doesn't scroll
  647. * TextBoxBase.cs: When we append text, if the document is empty,
  648. don't scroll. If the document has text already, we scroll to the
  649. end of the appended text.
  650. - When the text is changed, we reset the has_been_focused, so the
  651. next time the control gets focused, all the text is selected.
  652. 2007-04-19 Jackson Harper <[email protected]>
  653. * TextControl.cs: Move the margins to the document, add a method
  654. so the margin sizes can be updated.
  655. * TextBoxBase.cs: When the border style is changed, update the
  656. border sizes.
  657. 2007-04-19 Jonathan Pobst <[email protected]>
  658. * Control.cs: Respect DefaultPadding.
  659. * GroupBox.cs: Implement DefaultPadding, DisplayRectangle takes
  660. padding into account.
  661. * ToolStrip.cs: Remove setting padding to DefaultPadding in constructor.
  662. 2007-04-19 Jackson Harper <[email protected]>
  663. * TextControl.cs: Oops, we need to use the ClientRect not the
  664. bounds here.
  665. 2007-04-18 Carlos Alberto Cortez <[email protected]>
  666. * ListView.cs: In ItemControl.ItemsMouseDown, take into
  667. account the double clicks when CheckBoxes are used and
  668. the pointer is inside the checkbox. Fixes part of #81191.
  669. 2007-04-18 Jackson Harper <[email protected]>
  670. * TextControl.cs: Pressing the end key shouldn't move the caret
  671. past the line ending.
  672. * TextBoxBase.cs: We can still delete if we are in the line
  673. ending and the combine will just kill the existing line ending.
  674. 2007-04-18 Jackson Harper <[email protected]>
  675. * TextControl.cs: We can't move lines, then invalidate their
  676. bounds, we need to get the old bounds and combine that with the
  677. new bounds.
  678. * TextBoxBase.cs: Before combining two lines for a delete, we need
  679. to invalidate the area of the old line, since that will be moved
  680. in the combine operation.
  681. 2007-04-18 Everaldo Canuto <[email protected]>
  682. * LinkLabel.cs: In OnPaint invoke draw background to fix problems
  683. with transparent background. Fixes #80482.
  684. 2007-04-18 Jonathan Pobst <[email protected]>
  685. * PictureBox.cs: Refresh on resize when SizeMode = Zoom.
  686. * ThemeWin32Classic.cs: Implement PictureBox.SizeMode = Zoom.
  687. [Fixes bug #81391]
  688. 2007-04-18 Rolf Bjarne Kvinge <[email protected]>
  689. * CreateParams.cs: Add a couple of helper methods and do a less string
  690. concatenation in ToString.
  691. * XplatUIX11.cs: Add an TranslateClientRectangleToXClientRectangle
  692. overload that takes a Control parameter, since this method may be
  693. called before a control is assigned to the hwnd (from
  694. CreateWindow), and update CreateWindow to use the new overload. In
  695. GetMenuOrigin subtract the title bar from the y position if the
  696. form has a window manager (since we're painting it and not X).
  697. * XplatUIWin32.cs: If we can get a form in GetMenuOrigin use the form's
  698. CreateParams to calculate the origin (since border sizes may vary).
  699. In ScreenToMenu only subtract the title height if we actually have
  700. a title.
  701. * MdiWindowManager.cs: Override MenuHeight to always return 0, since
  702. mdi children never have menus of themselves.
  703. * InternalWindowManager.cs: Implement menu handling like form does.
  704. Added GetMenuOrigin to calculate the menu origin, can't use the
  705. CreateParams from the form like normally since it's lying.
  706. * Hwnd.cs: Implement GetBorderSize better (in the sense more
  707. windows-like) and add Inflate and comparison operators to the
  708. Borders type. When calculating MenuOrigin and it's a form with a
  709. window manager, use the window manager to calculate it.
  710. 2007-04-17 Chris Toshok <[email protected]>
  711. * Control.cs (CreateControl): turns out in 2.0 we don't need this
  712. OnBindingContextChanged thing here. It's only generated from
  713. ContainerControl.OnCreateControl. Fixes a newly written unit test
  714. - BindingTest.BindingContextChangedTest4.
  715. 2007-04-17 Jackson Harper <[email protected]>
  716. * ScrollBar.cs: When setting values, make sure the current
  717. position stays within the new values range.
  718. 2007-04-17 Chris Toshok <[email protected]>
  719. * Control.cs (CreateControl): talk about a bizarre corner case.
  720. Don't emit OnBindingContextChanged here if we're a parentless
  721. control (i.e. if we're a form.). Fixes
  722. BindingTest.BindingContextChangedTest2.
  723. 2007-04-17 Everaldo Canuto <[email protected]>
  724. * ButtonBase.cs: Remove TextFormatFlags.WordBreak to mimic same behavior
  725. from win32. Fixes #81255.
  726. 2007-04-17 Everaldo Canuto <[email protected]>
  727. * ThemeWin32Classic.cs: Remove text offset from DrawButtonText as it is
  728. already present in CalculateButtonTextAndImageLayout.
  729. 2007-04-17 Rolf Bjarne Kvinge <[email protected]>
  730. * XplatUIX11.cs: When setting min/max size for a window we need to
  731. translate the coordinates to x coordinates. Create an overload of
  732. SetWindowMinMax that takes a CreateParams handling this, and change
  733. SetWMStyles to call this function (can't use Control.FromHandle in
  734. the SetWindowMinMax to get the control/CreateParams from the handle
  735. because the handle might not have been assigned to the control
  736. yet). Fixes #81371.
  737. 2007-04-16 Carlos Alberto Cortez <[email protected]>
  738. * ListView.cs: In ItemControl.ItemMouseDown, don't change check state
  739. if StateImageList is non-null and it has less than two items (match MS
  740. behaviour). Also, in HandleNavKeys handle the Space key, calling
  741. the new ToggleItemsCheckState method, which tries to change the
  742. checked state of the selected items. Fixes part of #81191.
  743. 2007-04-16 Jackson Harper <[email protected]>
  744. * RichTextBox.cs: namespace cleanup.
  745. 2007-04-16 Everaldo Canuto <[email protected]>
  746. * XplatUIWin32.cs: Back last parameter to true in SetClipRegion.
  747. 2007-04-16 Everaldo Canuto <[email protected]>
  748. [Fixes #79447]
  749. * Control.cs: Call invalidate in set_Region.
  750. * XplatUIX11.cs, XplatUIWin32.cs: Remove invalidate from SetClipRegion as
  751. it dont works here.
  752. 2007-04-16 Jackson Harper <[email protected]>
  753. * TextBoxBase.cs: When enter is pressed, we need to update all
  754. lines below the current.
  755. 2007-04-16 Jonathan Pobst <[email protected]>
  756. * MdiClient.cs: Implement implicit menu merging for MDI
  757. children. When a child form is active, if it has a menustrip
  758. and the parent form has a MainMenuStrip, automatically merge
  759. the menus.
  760. 2007-04-15 Andreia Gaita <[email protected]>
  761. * TabControl.cs: Refactored sizing methods to not repeat
  762. code all over the place. Tab bounds are now calculated
  763. as if alignment is top and single line, and only when
  764. setting the bounds are the positions adjusted according
  765. to alignment. Replaced hardcoded positions, spacings and
  766. paddings by getting the values the ThemeEngine.
  767. Fixes #79619.
  768. * Theme.cs: Change TabControl properties and methods so
  769. that all start with TabControl*. Added more properties
  770. to help remove hardcoded values on tabcontrol.
  771. Add CPDrawBorder3D declaration so the Theming classes
  772. can access it.
  773. * ThemeClearlooks.cs, ThemeNice.cs: Method signature changes from Theme.
  774. * ThemeWin32Classic.cs: Rector TabControl out to the TabControlPainter
  775. on the Theming namespace, and call the appropriate methods here.
  776. Change CPDrawBorder3D to public.
  777. 2007-04-13 Carlos Alberto Cortez <[email protected]>
  778. * Control.cs: In WmRButtonUp, send the WM_CONTEXTMENU message to
  779. the control after firing the OnMouseUp event, instead of sending
  780. the message before the mentioned event. This is so we can match the
  781. MS behaviour. Fixes part of #80385.
  782. 2007-04-13 Jonathan Pobst <[email protected]>
  783. * ToolStripItem.cs: Call the RightToLeftChanged event when setting the
  784. RightToLeft property.
  785. 2007-04-13 Jonathan Pobst <[email protected]>
  786. * ToolStrip.cs: Add properties and internal methods to support merging.
  787. * ToolStripItem.cs: Add MergeAction and MergeIndex.
  788. * ToolStripItemCollection.cs: Add Insert and Remove methods that do
  789. not trigger reparenting or layouts.
  790. * ToolStripManager.cs: Add Merge and RevertMerge methods.
  791. * ToolStripOverflow.cs: Add a convenience method to find the ToolStrip that
  792. is hosting the overflow menu.
  793. 2007-04-13 Jackson Harper <[email protected]>
  794. * TextControl.cs: Set the line ending correctly for the first
  795. inserted line.
  796. 2007-04-13 Sebastien Pouliot <[email protected]>
  797. * Theme.cs: Update GetMethod to get the new definition for
  798. KnownColors.Update (and fix theme color updates).
  799. 2007-04-12 Everaldo Canuto <[email protected]>
  800. * MessageBox.cs: Fix some test and button position.
  801. 2007-04-12 Carlos Alberto Cortez <[email protected]>
  802. * Form.cs: Consider the implicit controls in
  803. GetRealChildAtPoint. We need it since this method
  804. is called on Form when handling the some messages in
  805. WndProc, and need to consider those implicit ones too.
  806. Fixes #80385.
  807. 2007-04-12 Jonathan Pobst <[email protected]>
  808. * ToolStripMenuItem.cs: Display the ShortcutKeyDisplayString even
  809. if there are no ShortcutKeys set.
  810. * ToolStripProfessionalRenderer.cs: If an item has had its BackColor
  811. set, use it when painting.
  812. 2007-04-12 Jackson Harper <[email protected]>
  813. * TextControl.cs: Fix some off-by-one issues in line duplication
  814. and insertion in the undo manager. Also, overwrite the first tag
  815. of a line on insert, if it is just a zero lengthed tag. This
  816. prevents us from getting an extra stranded tag at the beginning of
  817. the first line.
  818. 2007-04-11 Everaldo Canuto <[email protected]>
  819. * Label.cs: Remove check for handle created in CalcAutoSize, we need
  820. to calculated proper size including when handle was not created yet.
  821. 2007-04-11 Rolf Bjarne Kvinge <[email protected]>
  822. * MdiWindowManager.cs: When moving a form, allow the form to be moved
  823. when the mouse is outside of it's parent's client rectangle. Fixes
  824. #79982 (take 3, part 2).
  825. 2007-04-10 Rolf Bjarne Kvinge <[email protected]>
  826. * X11Structs.cs: Add a few ToString() overrides.
  827. * XplatUIX11.cs: Added GetTopLevelWindowLocation to try to calculate
  828. the window location in a window-manager independent way. Reworked
  829. FrameExtents, it now actually works. Reworked AddConfigureNotify
  830. and ReparentNotify handling to use GetTopLevelWindowLocation
  831. instead of the earlier, more hacky solution. Reworked SetWMStyles,
  832. hopefully for the better: we now set _NET_WM_WINDOW_TYPE* for all
  833. windows, DIALOG for modal windows, UTILITY for toolboxes and NORMAL
  834. for all other windows (fixes #81281 part 1), a toolwindow is hidden
  835. from the taskbar if it has a parent (fixes #81281 part 2 for kwin),
  836. and generally refactored to do as few calculations as possible
  837. inside the lock.
  838. 2007-04-09 Sebastien Pouliot <[email protected]>
  839. * Theme.cs: Change "reflective-contract" between MWF and SD to
  840. minimize # of calls, avoid Color serialization and avoid updating
  841. every "known colors" each time a single one is updated.
  842. 2007-04-09 Gert Driesen <[email protected]>
  843. * DataGridTextBoxColumn.cs: Only set IsInEditOrNavigateMode to false
  844. when not readonly and the text is explicitly set. Code style updates.
  845. * DataGridTableStyle.cs: Removed extra line.
  846. * DataGrid.cs: Code style updates. Removed extra whitespace.
  847. * DataGridColumnStyle.cs: Code style updates. Removed extra
  848. whitespace.
  849. 2007-04-09 Rolf Bjarne Kvinge <[email protected]>
  850. * XplatUIX11.cs: Added comment that "fixes" #80021.
  851. 2007-04-09 Jackson Harper <[email protected]>
  852. * TextControl.cs: We don't need this -1 on the line count anymore.
  853. 2007-04-09 Gert Driesen <[email protected]>
  854. * DataGridTextBoxColumn.cs: In Commit, use TypeConverter to convert
  855. entered value to underlying type, and convert it back to a string to
  856. apply formatting. Modified GetFormattedValue to use TypeConverter
  857. if available.
  858. 2007-04-08 Gert Driesen <[email protected]>
  859. * ListViewItem.cs: Added null checks. Avoid duplicating code in ctors.
  860. Use SubItems property when we want to ensure there's at least one
  861. subitem. Modified SubItems property to ensure there's always at least
  862. one subitem. Avoid using ListViewSubItemCollection.AddRange to match
  863. the NRE's reported by MS.
  864. 2007-04-07 Gert Driesen <[email protected]>
  865. * ProgressBar.cs: On 2.0 profile, default forecolor is Highlight. Added
  866. ResetForeColor override on 2.0. Fixed a few API compatibility issues.
  867. Spaces to tabs. Removed extra tabs.
  868. 2007-04-06 Jonathan Pobst <[email protected]>
  869. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  870. infinite loop. (Forgot to copy to the horizontal toolstrip case.)
  871. 2007-04-06 Jackson Harper <[email protected]>
  872. * TextBoxBase.cs: When a delete removes a line, recalculate all
  873. lines below that line (they need to get offsets setup correctly)
  874. and invalidate.
  875. 2007-04-05 Jackson Harper <[email protected]>
  876. * TextControl.cs: We need to invalidate across the width of the
  877. document when we are invalidating multiple lines.
  878. * TextBoxBase.cs: Don't delete into the line ending.
  879. 2007-04-05 Carlos Alberto Cortez <[email protected]>
  880. * ListView.cs: Restore the check for the MouseHover event
  881. in ListView. It looks like the ListView fires more than one MouseHover
  882. event when HoverSelection is true _only_ in weird-corner scenarios, but
  883. in most of the cases it only fires one. Also, add the 2.0 ItemMouseHover
  884. event.
  885. 2007-04-05 Mike Kestner <[email protected]>
  886. * ListView.cs : raise MouseDown before updating selection.
  887. [Fixes #80373 tab 1&3]
  888. 2007-04-05 Jonathan Pobst <[email protected]>
  889. * ToolStripRenderer.cs: Add static method to mirror image.
  890. * ToolStripProfessionalRenderer.cs: Support ImageTransparentColor
  891. and RightToLeftAutoMirrorImage.
  892. * ToolStripItem.cs: Remove MonoTODO from ImageTransparentColor.
  893. 2007-04-05 Jonathan Pobst <[email protected]>
  894. * ToolStripSplitStackLayout.cs: Support Alignment property.
  895. * ToolStripItem.cs: Remove MonoTODO from the Alignment property.
  896. 2007-04-05 Jackson Harper <[email protected]>
  897. * TextControl.cs: Move around the line endings when crossing line
  898. boundaries.
  899. - When combining lines, strip the ending text off the first line.
  900. 2007-04-05 Jackson Harper <[email protected]>
  901. * TextControl.cs:
  902. * TextBoxBase.cs: Try to never move the cursor into the line
  903. ending.
  904. 2007-04-04 Jonathan Pobst <[email protected]>
  905. * ToolStripItem.cs: Make sure we aren't firing mouse events when
  906. the item is disabled. Also add a few missing methods.
  907. 2007-04-04 Carlos Alberto Cortez <[email protected]>
  908. * ListView.cs: We don't need the MouseEnter/MouseLeave check
  909. to fire just one MouseHover event when HoverSelection is true, since
  910. .Net does fire more than one MouseHover event in that scenario. Also,
  911. fix the selection in HoverSelection, by invoking UpdateMultiSelect
  912. if MultiSelect is true, instead of only setting ListViewItem.Selected.
  913. Finally, we need to reset the Hover logic in MouseMove, even when we
  914. don't have a selected item.
  915. 2007-04-04 Jonathan Pobst <[email protected]>
  916. * ToolStrip.cs: Add several missing methods, properties, and events.
  917. 2007-04-04 Chris Toshok <[email protected]>
  918. * DataGridTextBoxColumn.cs: set the bounds of the text box to
  919. (0,0,0,0) in Commit, as MS does.
  920. * DataGrid.cs: call EndEdit() from Select() as microsoft does, and
  921. make sure we set CurrentRow on a row header click *before* calling
  922. Select. This moves the current cell (and the textbox) to the new
  923. row. The call to Select then hides the textbox, giving us the
  924. correct behavior. Fixes #80362.
  925. * CurrencyManager.cs (UpdateIsBinding): raise ItemChanged (-1).
  926. (ListChangedHandler): reorder the position/current changed events,
  927. and call UpdateIsBinding in the ItemAdded case.
  928. * GridColumnStylesCollection.cs: add some columns events, one of
  929. which raises the CollectionChanged event.
  930. 2007-04-04 Jackson Harper <[email protected]>
  931. * TextControl.cs: When we delete multiple selection lines
  932. invalidate the selection area, don't need to do that for single
  933. lines because the final update view will handle it.
  934. 2007-04-04 Jonathan Pobst <[email protected]>
  935. * Control.cs: When we CreateControl, we need to also create all of the
  936. control's children. The child's OnLoad must also fire before the parent's
  937. OnLoad. Fixes the toolbox size in PDN.
  938. 2007-04-04 Jackson Harper <[email protected]>
  939. * TextBoxBase.cs: When the user presses enter, insert a line
  940. ending into the text. (Maybe this would be a good spot for
  941. Environment.NewLine).
  942. * TextControl.cs: Remove undo manager hack, line endings get
  943. inserted properly now.
  944. 2007-04-04 Everaldo Canuto <[email protected]>
  945. * MenuAPI.cs:
  946. - Remove unneeded parameters in UpdateCursor.
  947. - Fix UpdateCursor to check if menu is active.
  948. - Call UpdateCursor when menu deactivate my click.
  949. [Fixes remaining issues from #80410]
  950. 2007-04-04 Everaldo Canuto <[email protected]>
  951. * Control.cs: GetRealChildAtPoint method added, it make an
  952. recursive child control search for the point.
  953. * Form.cs: Makes use of GetRealChildAtPoint in mouse event after closes
  954. menu.
  955. * MenuAPI.cs: Makes use of GetRealChildAtPoint in UpdateCursor.
  956. 2007-04-03 Everaldo Canuto <[email protected]>
  957. * Form.cs: Fix mouse position when send back mouse event after closes
  958. menu.
  959. 2007-04-03 Everaldo Canuto <[email protected]>
  960. * Form.cs: Simplify the BUTTONDOWN for active tracker.
  961. 2007-04-03 Jonathan Pobst <[email protected]>
  962. * Control.cs: Fix an issue where if a user resized a control inside
  963. a sizing method like OnResize, we would overwrite their explicit
  964. value. Also, only call DefaultSize once in the constructor instead
  965. of 4 times. Also, do not call SetBoundsCore from SetBounds if
  966. nothing actually changed.
  967. 2007-04-03 Jackson Harper <[email protected]>
  968. * TextControl.cs: Don't attempt to copy text for lines with no
  969. text in them (technically this shouldn't happen, but we aren't
  970. always inserting line endings when we should be).
  971. 2007-04-03 Jackson Harper <[email protected]>
  972. * TextBoxBase.cs: Calculate the scrollbars before calculating the
  973. document, because this sets some of the document size properties
  974. that are needed.
  975. 2007-04-03 Jackson Harper <[email protected]>
  976. * TextBoxBase.cs: We need to calculate maximums even if this is
  977. not a multiline control, because the maxs are used for scrolling.
  978. - Display the caret after doing a page up/down, we need to
  979. manually display it because a proper CaretMoved event isn't
  980. triggered (this is because of the way the math is done to
  981. determine how far to scroll).
  982. 2007-04-03 Jonathan Pobst <[email protected]>
  983. * ToolBar.cs: Fix some breakage caused by the SetBoundsCore change.
  984. (ToolBar was relying on SetBoundsCore to default the values sent
  985. base off of BoundsSpecified.)
  986. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  987. * DateTimePicker.cs: Change Text so that when a null value or empty
  988. string is assigned to the test we always raise ValueChanged and
  989. TextChanged (earlier implementation would only raise ValueChanged
  990. if the current date value was different from DateTime.Now).
  991. 2007-04-03 Andreia Gaita <[email protected]>
  992. * ButtonBase: Call update after invalidation, fixes #80194
  993. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  994. * ThemeWin32Classic.cs: Draw StatusBar using double buffering. Fixes
  995. #79335.
  996. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  997. * XplatUIX11.cs: SetWMStyles: If the control is a form with
  998. FormBorderStyle = None, don't give the window any decorations.
  999. Fixes #81276.
  1000. 2007-04-03 Rolf Bjarne Kvinge <[email protected]>
  1001. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  1002. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style
  1003. to check for is a mix of several styles (such as WS_CAPTION for
  1004. instance).
  1005. * Control.cs: Don't paint an area bigger than the client area when
  1006. painting the background colour. Add an internal GetCreateParams.
  1007. Update calls to XplatUI.CalculateWindowRect due to API change.
  1008. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole
  1009. window's size, and handle WM_NCCALCSIZE in DefWndProc to calculate
  1010. the size if it hasn't been handled by any windows. When creating
  1011. and moving windows, X wants the location of the entire window, but
  1012. the size of the client window, so add
  1013. TranslateClientRectangleToXClientRectangle,
  1014. TranslateWindowSizeToXWindowSIze and
  1015. TranslatedXWindowSizeToWindowSize to cope with this, and call them
  1016. before every window creation and move. Update CalculateWIndowRect
  1017. to use Hwnd.GetWindowRect (one step towards removing DeriveStyles).
  1018. In AddConfigureNotify don't do anything if the hwnd is a zombie
  1019. (fixes the BadWindow we were getting while running the tests),
  1020. always calculate the offsets when it's a parentless window, not
  1021. only when reparented, and translate the window size, since we're
  1022. getting the client size of the whole window, excluding entire
  1023. window.
  1024. * Theme.cs: Added BorderSizableSize.
  1025. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  1026. anymore. Update calls to XplatUI.CalculateWindowRect due to API
  1027. chang
  1028. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API
  1029. change. Fake the window styles here instead of in XplatUIWin32 so
  1030. that all back-ends get the same window styles (and it's Form that's
  1031. deciding when to use wm, not the Win32 backend anyways)
  1032. * Hwnd.cs: Completely reworked GetWindowRectangle and
  1033. GetClientRectangle - they are now passed a CreateParams and they
  1034. only use Style and ExStyle to determine the rectangles (they should
  1035. now work just like Win32AdjustWindowRectEx - though quite a few
  1036. special cases are probably missing). They should also be 100%
  1037. complimentary (i.e. GetWindowRectangle (GetClientRectangle (rect))
  1038. == rect), and all numbers (borders, menu sizes) are taken from the
  1039. current theme. Added a GetBorders helper function that will return
  1040. the borders for any given CreateParams (including captions and
  1041. menus), and GetBorderSize that returns the given border size only.
  1042. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  1043. Hwnd.GetClientRectangle.
  1044. 2007-04-02 Chris Toshok <[email protected]>
  1045. * DataGridBoolColumn.cs: rewrite things a bit, and fix up the
  1046. logic between the values we present to the user and the values
  1047. which are stored in the column's property. Also, don't call
  1048. GetPreferredSize - it's virtual. Along the way, fix bug #80965.
  1049. 2007-04-02 Jackson Harper <[email protected]>
  1050. * TextBoxBase.cs: Scroll faster!
  1051. 2007-04-02 Jonathan Pobst <[email protected]>
  1052. * StatusStrip.cs: Layout fixes for PDN.
  1053. * ToolStrip.cs: Set item's available to true, and placement to main when
  1054. added.
  1055. * ToolStripItem.cs: Fix an Available issue, check that Parent is really
  1056. changing in setter before doing any work, add InternalVisible.
  1057. * ToolStripPanel.cs: Remove unused variable to fix compiler warning.
  1058. * ToolStripSplitStackLayout.cs: If we run out of things to hide, don't
  1059. infinite loop.
  1060. 2007-04-02 Jackson Harper <[email protected]>
  1061. * TextBox.cs: LBUTTON does not make the textbox select all of it's
  1062. text on focus.
  1063. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  1064. * XplatUIWin32.cs: Use the previous change in SetParent for forms only.
  1065. Makes ToolStripComboBoxes show up again.
  1066. 2007-04-02 Carlos Alberto Cortez <[email protected]>
  1067. * ListView.cs: Add a hover_pending field in ListView
  1068. to fire just one OnMouseHover event for each MouseEnter/MouseLeave
  1069. cycle (we are resetting the MouseHover logic in XplatUI
  1070. to handle HoverSelection). Fixes #80429.
  1071. 2007-04-02 Jackson Harper <[email protected]>
  1072. * TextControl.cs: Make sure the attributes get set on the last
  1073. tag.
  1074. - Still have to do the end tag if we have stepped all the ways to
  1075. the end.
  1076. 2007-04-02 Sebastien Pouliot <[email protected]>
  1077. * XplatUIOSX.cs, XplatUIX11.cs, XplatUIX11GTK.cs: Remove dependency
  1078. on an internal libgdiplus call when the information is already
  1079. available via the public API.
  1080. 2007-04-02 Rolf Bjarne Kvinge <[email protected]>
  1081. * Control.cs: Call ContainerControl.ChildControlRemoved whenever a
  1082. control is removed from a control collecftion.
  1083. * XplatUIX11.cs: The first location for toplevel form is (22, 22).
  1084. Fixes FormPropertyTest (failed on rare occasions).
  1085. * XplatUIWin32.cs: Add a workaround in SetParent for strange behaviour
  1086. of Win32SetParent (when changing from no parent to a parent it
  1087. might add the new parent's location in screen coordinates to this
  1088. window's location).
  1089. * Form.cs: Rework ChangingParent once again, now the handle is
  1090. recreated whenever a FormWindowManager is added or removed (that is
  1091. whenever a normal form is parented or abandoned). Also change
  1092. CreateParams so that all non-toplevel windows always get the
  1093. specified sice (StartupPosition is never considered for
  1094. non-TopLevel forms).
  1095. * ContainerControl.cs: Add ChildControlRemoved, the container control
  1096. needs to be notified when a control is removed from it's
  1097. collection, in the case the removed control is the active control.
  1098. 2007-04-02 Jackson Harper <[email protected]>
  1099. * RichTextBox.cs: Use the new methods for setting the font and
  1100. color, these methods set the specified attribute without
  1101. overriding the other attributes.
  1102. 2007-04-02 Jonathan Pobst <[email protected]>
  1103. * ToolStripPanel.cs: Fixes for better layouts in PDN.
  1104. 2007-03-31 Gert Driesen <[email protected]>
  1105. * TextBox.cs: Added internal ChangeBackColor method to special-case
  1106. Color.Empty. Added check for invalid ScrollBars value.
  1107. * TextBoxBase.cs: Added internal ChangeBackColor method.
  1108. * RichTextBox.cs: Only set backcolor_set on 2.0 profile. Added
  1109. internal ChangeBackColor method to special-case Color.Empty. Added
  1110. check for invalid ScrollBars value.
  1111. 2007-03-30 Everaldo Canuto <[email protected]>
  1112. * MenuItem.cs: On invalidate prevent form to create handle. [Fixes #81272]
  1113. 2007-03-30 Jonathan Pobst <[email protected]>
  1114. * ScollableControl.cs: Add HorizontalScroll and VerticalScroll properties.
  1115. * ScrollProperties.cs, HScrollProperties.cs, VScrollProperties.cs: Added.
  1116. [Based on submitted patch from Olivier Duff.]
  1117. 2007-03-30 Jackson Harper <[email protected]>
  1118. * TextBox.cs: Only select all on initial focus if the user has not
  1119. specified a selection area.
  1120. 2007-03-30 Jonathan Pobst <[email protected]>
  1121. * UserControl.cs: Override CreateParams.
  1122. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  1123. [ Fixes #80995 ]
  1124. * XplatUI.cs, XplatUIDriver.cs: Updated CalculateWindowRect parameters.
  1125. * CreateParams.cs: Fix IsSet, wasn't working correctly when the style to
  1126. check for is a mix of several styles (such as WS_CAPTION for instance).
  1127. * Control.cs: Don't paint an area bigger than the client area when painting
  1128. the background colour. Add an internal GetCreateParams. Update calls to
  1129. XplatUI.CalculateWindowRect due to API change.
  1130. * XplatUIX11.cs: In PerformNCCalc set the initial size to the whole window's
  1131. size, and handle WM_NCCALCSIZE in DefWndProc to calculate the size if it
  1132. hasn't been handled by any windows. When creating and moving windows, X
  1133. wants the location of the entire window, but the size of the client
  1134. window, so add TranslateClientRectangleToXClientRectangle,
  1135. TranslateWindowSizeToXWindowSIze and TranslatedXWindowSizeToWindowSize
  1136. to cope with this, and call them before every window creation and move.
  1137. Update CalculateWIndowRect to use Hwnd.GetWindowRect (one step towards
  1138. removing DeriveStyles). In AddConfigureNotify don't do anything if the
  1139. hwnd is a zombie (fixes the BadWindow we were getting while running the
  1140. tests), always calculate the offsets when it's a parentless window, not
  1141. only when reparented, and translate the window size, since we're getting
  1142. the client size of the whole window, excluding entire window.
  1143. * Theme.cs: Added BorderSizableSize.
  1144. * XplatUIWin32.cs: Fix RECT Height and Width. Don't fake styles here
  1145. anymore. Update calls to XplatUI.CalculateWindowRect due to API change.
  1146. * Form.cs: Update calls to XplatUI.CalculateWindowRect due to API change.
  1147. Fake the window styles here instead of in XplatUIWin32 so that all
  1148. back-ends get the same window styles (and it's Form that's deciding when
  1149. to use wm, not the Win32 backend anyways)
  1150. * Hwnd.cs: Completely reworked GetWindowRectangle and GetClientRectangle -
  1151. they are now passed a CreateParams and they only use Style and ExStyle
  1152. to determine the rectangles (they should now work just like
  1153. Win32AdjustWindowRectEx - though quite a few special cases are probably
  1154. missing). They should also be 100% complimentary (i.e. GetWindowRectangle
  1155. (GetClientRectangle (rect)) == rect), and all numbers (borders, menu
  1156. sizes) are taken from the current theme. Added a GetBorders helper
  1157. function that will return the borders for any given CreateParams
  1158. (including captions and menus), and GetBorderSize that returns the given
  1159. border size only.
  1160. * XplatUIOSX.cs: Update calls to CalculateWindowRect and
  1161. Hwnd.GetClientRectangle.
  1162. 2007-03-30 Rolf Bjarne Kvinge <[email protected]>
  1163. * Form.cs: Don't layout mdi children on MdiParent creation, the initial
  1164. layout of the mdi children is handled by CreateParams. Fixes
  1165. #79964,
  1166. 2007-03-29 Everaldo Canuto <[email protected]>
  1167. * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is
  1168. processed.
  1169. * Form.cs: When active tracker mouse down is not processed, send event
  1170. back to control inside mouse position. [Fixes #81227]
  1171. 2007-03-29 Jonathan Pobst <[email protected]>
  1172. * ComboBox.cs: Override the ComboListBox's ActivateOnShow property and
  1173. remove WS_VISIBLE from CreateParams to prevent combobox dropdowns from
  1174. stealing focus from the active form on Windows. (Control will be made
  1175. visible in ShowWindow.)
  1176. 2007-03-29 Mike Kestner <[email protected]>
  1177. * ImageList.cs : add internal Changed event.
  1178. * ListView.cs : hook up to StateImageList.Changed to perform
  1179. invalidations when the the state icon list changes. [Fixes #81191]
  1180. 2007-03-29 Jonathan Pobst <[email protected]>
  1181. * ToolTip.cs: Override the ToolTipWindow's ActivateOnShow property
  1182. to prevent tooltips from stealing focus from the active form on Windows.
  1183. 2007-03-29 Everaldo Canuto <[email protected]>
  1184. * ThemeWin32Classic.cs: Small stetic fixes in notifyicon balloon.
  1185. * ThemeClearlooks.cs: Implement notifyicon balloon for clearlooks theme.
  1186. 2007-03-29 Everaldo Canuto <[email protected]>
  1187. * NotifyIcon.cs, ThemeWin32Classic.cs: Icon support added to notifyicon
  1188. balloons.
  1189. 2007-03-29 Jackson Harper <[email protected]>
  1190. * TextControl.cs: When deleting text from non multiline textboxes,
  1191. we need to update the entire document, because line offsets will
  1192. be shifting.
  1193. 2007-03-29 Everaldo Canuto <[email protected]>
  1194. * XplatUIX11.cs, ThemeWin32Classic.cs, Theme.cs: ShowBalloonWindow method
  1195. added to theme, now we can create themes that uses diferent notify engines
  1196. like notification-daemon from galago project or growl for Mac OS.
  1197. 2007-03-28 Everaldo Canuto <[email protected]>
  1198. * NotifyIcon.cs: Prevent Balloon to show in task bar.
  1199. 2007-03-28 Everaldo Canuto <[email protected]>
  1200. * XplatUIX11.cs: Prevent system to open more than one balloon.
  1201. * NotifyIcon.cs: Prevent system to open more than one balloon and remove
  1202. some compiler warning messages.
  1203. 2007-03-28 Everaldo Canuto <[email protected]>
  1204. [Fixes #79149]
  1205. * XplatUIX11.cs: Implement SystrayBalloon for X11 systems.
  1206. * ThemeWin32Classic.cs, Theme.cs: DrawBalloonWindow and BalloonWindowRect
  1207. implemented, this methods is used by NotifyIcon.BalloonWindow class.
  1208. * NotifyIcon.cs: BalloonWindow class added to support Balloon in X11
  1209. systems.
  1210. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  1211. * ListViewItem.cs: Forgot to make Invalidate internal.
  1212. 2007-03-28 Carlos Alberto Cortez <[email protected]>
  1213. * ListView.cs: Add a InvalidateSelection method to
  1214. invalidate methods which are currently selected, and call
  1215. it when setting FullRowSelect and HideSelection, instead of
  1216. calling Redraw.
  1217. 2007-03-28 Chris Toshok <[email protected]>
  1218. * XplatUIX11.cs (UnmapWindow): reindent this block.
  1219. * DataGrid.cs (UpdateSelectionAfterCursorMove): we need to update
  1220. the selection_start if we're moving the selection (that is, not
  1221. extending it). Fixes bug #80461.
  1222. 2007-03-28 Jonathan Pobst <[email protected]>
  1223. * ProgressBar.cs: Make the default MarqueeAnimationSpeed = 100.
  1224. * ToolStripPanel.cs: Fix RowMargin, Renderer, RenderMode, and
  1225. create private ControlCollection.
  1226. 2007-03-28 Jonathan Pobst <[email protected]>
  1227. * Control.cs: We need to call OnVisibleChanged for our implicit
  1228. children as well as our normal children. Fixes scrollbars in
  1229. comboboxes not showing up.
  1230. 2007-03-28 Jonathan Pobst <[email protected]>
  1231. * Control.cs, Form.cs: Anywhere we call CreateHandle, we need to do
  1232. the check for IsHandleCreated first. The check in CreateHandle is not
  1233. good enough because CreateHandle can be overriden, and the override
  1234. should not be called if the handle is already created.
  1235. 2007-03-28 Jonathan Pobst <[email protected]>
  1236. * ToolStrip.cs: Remove MonoTODO for tooltips.
  1237. * ToolStripComboBox.cs: Fix MonoTODO for DropDownHeight and events.
  1238. * ToolStripContainer.cs: Add custom ControlCollection class.
  1239. * ToolStripContentPanel.cs: Fix Renderer setting to match MS behavior.
  1240. * ToolStripDropDown.cs: Add some missing properties/methods.
  1241. * ToolStripDropDownMenu.cs: Override OnLayout and SetDisplayedItems.
  1242. * ToolStripItem.cs: Remove MonoTODO for tooltips.
  1243. * ToolStripManager.cs: Add IsShortcutDefined.
  1244. * ToolStripOverflow.cs: Override LayoutEngine.
  1245. * ToolStripProgressBar.cs: Add MarqueeAnimationSpeed.
  1246. * ToolStripSeparator.cs: Add ImageKey.
  1247. 2007-03-28 Jackson Harper <[email protected]>
  1248. * TextControl.cs: If a char delete removes a line ending, we need
  1249. to update the ending style.
  1250. - Make sure the line ending calcs get called.
  1251. 2007-03-28 Rolf Bjarne Kvinge <[email protected]>
  1252. * XplatUIX11.cs: CreateWindow: Remove old default form location code,
  1253. it was making the new code not work. Fixed a typo in the new code
  1254. as well. Fixes #79826.
  1255. 2007-03-27 Everaldo Canuto <[email protected]>
  1256. * XplatUIWin32.cs:
  1257. - NIF_STATE and NIF_INFO added to NotifyIconFlags.
  1258. - NOTIFYICONDATA properties sizes fixed, szTip is 128, not 64.
  1259. - SystrayBalloon method implemented.
  1260. [Add support for notifyicon balloon on win32, #79149]
  1261. 2007-03-27 Mike Kestner <[email protected]>
  1262. * ThemeWin32Classic.cs : update StateImageList selection to mirror
  1263. the ms behavior when only one image is added to the list.
  1264. [Fixes #81191]
  1265. 2007-03-27 Jackson Harper <[email protected]>
  1266. * TextControl.cs: Improvements to non multiline line ending
  1267. drawing/measuing.
  1268. 2007-03-27 Everaldo Canuto <[email protected]>
  1269. * XplatUIX11.cs: Fix the time which tooltip is opened for NotifyIcon.
  1270. 2007-03-27 Everaldo Canuto <[email protected]>
  1271. * NotifyIcon.cs:
  1272. - Balloon message handling added.
  1273. - Call XplatUI.SystrayBalloon in ShowBalloonTip.
  1274. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1275. XplatUIOSX.cs, XplatUIX11-new.cs: ShowBalloonTip method renamed
  1276. to SystrayBalloon to me like other Systray method, also a
  1277. handle parameter added.
  1278. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  1279. * ListView.cs: Show scrollbars even when items.Count == 0
  1280. but the columns Width is bigger than the ListView.Width.
  1281. Also, when columns.Count == 0 set layout_wd and layout_ht
  1282. to the ClientRectangle values, so we don't show any scrollbar
  1283. in that case.
  1284. 2007-03-27 Everaldo Canuto <[email protected]>
  1285. * XplatUIStructs.cs: Balloon (NIN_BALLOON*) constants added.
  1286. 2007-03-27 Jackson Harper <[email protected]>
  1287. * RichTextBox.cs: The RTF library decodes the text properly for us
  1288. now.
  1289. 2007-03-27 Carlos Alberto Cortez <[email protected]>
  1290. * ListView.cs: Display HeaderControl even when columns.Count == 0.
  1291. * ThemeWin32Classic.cs: Use SystemBrushes.Control to draw the
  1292. ListView header (HeaderControl), instead of Control.BackColor.
  1293. 2007-03-27 Jonathan Pobst <[email protected]>
  1294. * Control.cs: Call OnVisibleChanged in SetVisibleCore for non-forms.
  1295. Fixes tab control issues where controls would not show up because they
  1296. never received their OnVisibleChanged call.
  1297. 2007-03-27 Everaldo Canuto <[email protected]>
  1298. * NotifyIcon.cs: Balloon events added (BalloonTipClicked, BalloonTipClosed,
  1299. BalloonTipShown).
  1300. 2007-03-27 Jonathan Pobst <[email protected]>
  1301. * Control.cs: We won't get a WM_SHOWWINDOW when we create a window that
  1302. is maximized or minimized, so move CreateControl to Control.OnVisibleChanged.
  1303. * Form.cs: After we set the form visible, send a fake WM_SHOWWINDOW if we
  1304. are max or min. Remove WS_VISIBLE from CreateParams unless we are recreating
  1305. the handle. Fix WindowState by using the internal variable until we are
  1306. sure that we've been shown.
  1307. * XplatUIX11.cs: Do not generate a WM_SHOWWINDOW message if new form is
  1308. max or min.
  1309. [Fixes bug #81198]
  1310. 2007-03-27 Rolf Bjarne Kvinge <[email protected]>
  1311. * XplatUIX11.cs: Windows without WS_CAPTION can still get decorations
  1312. (at least borders). Fixes #79386 on Linux (with a small difference
  1313. in behaviour: when trying to resize a caption-less window metacity
  1314. shows the sysmenu. Resizing is still possible though).
  1315. * XplatUIWin32.cs: When setting window styles send request an extra
  1316. WM_NCCALCSIZE when it's a form without title (due to no text and no
  1317. caption), since Win32 seems to calculate it wrong the first time we
  1318. get the message, though the second time things work as they should.
  1319. * Form.cs: Reorder a few statements in ChangingParent, otherwise the
  1320. newly reparented window might show up unparented. Update
  1321. CreateParams to exclude WS_DLGFRAME if ControlBox is false and
  1322. there's no title text. Fixes #79386.
  1323. 2007-03-27 Mike Kestner <[email protected]>
  1324. * ListBox.cs : don't perform invalidations if the handle hasn't been
  1325. created. [Fixes #80753]
  1326. 2007-03-27 Mike Kestner <[email protected]>
  1327. * ListBox.cs : don't adjust top item when SelectedIndex is set to -1.
  1328. [Fixes #80428]
  1329. 2007-03-26 Everaldo Canuto <[email protected]>
  1330. * XplatUIWin32.cs: Complete NOTIFYICONDATA structure, additional fields
  1331. needed to implement Balloon.
  1332. 2007-03-26 Carlos Alberto Cortez <[email protected]>
  1333. * ListViewItem.cs: In the constructors that take
  1334. an array of strings, don't use ListViewSubItemCollection.AddRange
  1335. method to add items, since we need to have a different behaviour (in
  1336. the constructors we add an item for each null string, opposed to
  1337. the behaviour of AddRange, which adds nothing).
  1338. 2007-03-26 Andreia Gaita <[email protected]>
  1339. * NumericUpDown.cs: Fix broken 1.1 api for ParseEditText
  1340. 2007-03-26 Jackson Harper <[email protected]>
  1341. * TextControl.cs: Draw and measure line endings when in non
  1342. multiline mode.
  1343. - When searching the text, count the end of the last line as a
  1344. word boundary.
  1345. 2007-03-26 Jackson Harper <[email protected]>
  1346. * RichTextBox.cs: The selection_start and selection_end don't
  1347. really track the correct tags for the selection. So we'll manually
  1348. compute the correct tag here.
  1349. 2007-03-26 Rolf Bjarne Kvinge <[email protected]>
  1350. * ProgressBar.cs, ThemeWin32Classic.cs: Implemented drawing of Marquee
  1351. and Continuous styles. Fixes #79469.
  1352. 2007-03-26 Jonathan Pobst <[email protected]>
  1353. * ToolStrip.cs: Implement Tooltips.
  1354. * ToolStripItem.cs: Create internal method for determining tooltip.
  1355. 2007-03-26 Jonathan Pobst <[email protected]>
  1356. * PropertyGrid.cs: Hide a EditorBrowsable attribute from 1.1 API.
  1357. 2007-03-26 Everaldo Canuto <[email protected]>
  1358. * NotifyIcon.cs: On disposing verify if icon is visible and hide it,
  1359. it prevents a problem thak keeps icon visible after application
  1360. closes on win32.
  1361. 2007-03-26 Everaldo Canuto <[email protected]>
  1362. * NotifyIcon.cs: Balloon properties and methods created.
  1363. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  1364. XplatUIOSX.cs, XplatUIX11-new.cs: Implement ShowBalloonTip method.
  1365. 2007-03-25 Jonathan Pobst <[email protected]>
  1366. * ToolStripComboBox.cs: Default the ComboBox's FlatStyle to Popup.
  1367. 2007-03-24 Jonathan Pobst <[email protected]>
  1368. * Control.cs: Make SetBoundsCore match MS better. The BoundsSpecified
  1369. parameter indicates which aspects were explicit/user-set.
  1370. * ComboBox.cs, ListBox.cs: Call SetBoundsCore correctly. (no 0 parameters).
  1371. 2007-03-24 Jonathan Pobst <[email protected]>
  1372. * ProgressBar.cs: Throw AOORE instead of AE for property Value (2.0).
  1373. * ScrollBar.cs: Throw AOORE instead of AE for properties LargeChange,
  1374. SmallChange, and Value (2.0).
  1375. * Timer.cs: Throw AOORE instead of AE for property Interval (2.0).
  1376. 2007-03-23 Carlos Alberto Cortez <[email protected]>
  1377. * ListView.cs: Always set item_control.Width in LayoutDetails
  1378. if View is Details. Setting it later in CalculateScrollBars
  1379. in a not-so-corner scenario (the sum of columns width is
  1380. not bigger than the ListView width when handle is created, and then
  1381. that sum gets bigger by increasing the width of the columns)
  1382. causes a very weird recursion path (which shouldn't be happening,
  1383. since header_control sets it in CalculateScrollBars too). This bug
  1384. appeared after Chris' fixes for handle created issues, so probably
  1385. it's related to some handle-creation time.
  1386. 2007-03-23 Chris Toshok <[email protected]>
  1387. * DataGrid.cs (GetVisibleRowCount): increase the row count in the
  1388. case where there's an add row, just so we don't end up in a case
  1389. where it's not displayed (this happens when the row is partially
  1390. obscured). Fixes bug #79574.
  1391. 2007-03-23 Jackson Harper <[email protected]>
  1392. * TextControl.cs:
  1393. * TextBoxBase.cs:
  1394. * RichTextBox.cs: Preserve line endings in the lines text buffer,
  1395. also added an enum that represents the line ending type.
  1396. 2007-03-23 Andreia Gaita <[email protected]>
  1397. * NumericUpDown.cs: Fix logic so Text and Value properties are not
  1398. messed with in every method call, but only from DownButton,
  1399. UpButton, UpdateEditText() and ValidateText. Fixes #80346
  1400. 2007-03-23 Chris Toshok <[email protected]>
  1401. * DataGridTextBoxColumn.cs (GetFormattedValue): don't try to
  1402. format objects if the format spec is "". Fixes bug #80889.
  1403. 2007-03-22 Miguel de Icaza <[email protected]>
  1404. * ToolStripPanel.cs (Join): added stubs to build PDN3
  1405. * Control.cs (AutoScrollOffset): Add.
  1406. * SystemInformation.cs (MouseWheelScrollDelta): Expose this
  1407. property, its only implemented for Win32, on X11 it defaults to
  1408. some hardcoded value.
  1409. * ToolStripItem.cs (AllowDrop): Add property
  1410. 2007-03-22 Mike Kestner <[email protected]>
  1411. * ListView.cs : in FullRowSelect Details mode, only enable box
  1412. selection if the user clicks over the "item" column outside of the
  1413. text area. Mmmmm, compatibility. [Fixes #80374 subpart 7]
  1414. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  1415. * Control.cs: ChangeParent: Call Form's ChangingParent even if the
  1416. handle is not created yet.
  1417. * Form.cs: Select: Don't call CreateHandle if the handle is already
  1418. created, avoids a stack overflow on Windows when we are recreating
  1419. controls.
  1420. * ScrollableControl.cs: Set the correct z-order for the scrollbars when
  1421. they are made visible, and override AfterTopMostControl to keep
  1422. them on top when other controls are brought to front.
  1423. CalculateCanvas: Scrollbars are only visible if auto_scroll is true
  1424. or force_*scroll_visible is true (old implementation always shows
  1425. scrollbars when needed, no matter what auto_scroll was set to).
  1426. * InternalWindowManager.cs: UpdateWindowDecorations: Add a
  1427. IsHandleCreated check.
  1428. 2007-03-22 Andreia Gaita <[email protected]>
  1429. * DataGrid.cs: Implement Column and Row auto sizing when double-clicking on
  1430. row or col separator.
  1431. * DataGridTextBoxColumn.cs: Implement GetPreferredHeight and GetPreferredSize
  1432. 2007-03-22 Everaldo Canuto <[email protected]>
  1433. * MenuAPI.cs: Remove unneeded check for grab_control in UpdateCursor.
  1434. 2007-03-22 Everaldo Canuto <[email protected]>
  1435. * MenuAPI.cs: UpdateCursor method added, it is calling in OnMotion to update
  1436. cursor for child controls. In ShowWindow and HideWindow now call SetCursor
  1437. every time. Fixes #80410.
  1438. 2007-03-22 Chris Toshok <[email protected]>
  1439. * BindingSource.cs (AddNew): partially implement.
  1440. remove a couple of NotImplementedException's
  1441. to get bug #81148 closed.
  1442. 2007-03-22 Everaldo Canuto <[email protected]>
  1443. [Fixes #80380]
  1444. * Control.cs:
  1445. - UpdateCursor method added to update the screen cursor.
  1446. - GetAvailableCursor method added to return cursor for enabled tree,
  1447. it searches for cursor on control and it's parent's for enabled control.
  1448. - Call UpdateCursor method on setter of Cursor property.
  1449. - On setter of Enabled call UpdateCursor when it is false, we need to
  1450. change cursor to normal (or to this parent cursor) because cursor
  1451. setting theres no effect to disabled controls.
  1452. - Some minor source changes to follow the coding style guidelines.
  1453. * XplatUIX11.cs: In MotionNotify only dispatch SET_CURSOR event for enabled
  1454. controls.
  1455. 2007-03-22 Chris Toshok <[email protected]>
  1456. * XplatUIX11.cs: ignore the BadPicture errors cairo+render
  1457. generates.
  1458. 2007-03-22 Rolf Bjarne Kvinge <[email protected]>
  1459. * XplatUIX11.cs: Implement default locations for forms.
  1460. * Form.cs: Completely rework startup location for forms. Fixes #79964.
  1461. * Hwnd.cs: Add previous_child_startup_location (to track the current
  1462. startup location for any child forms of the current form) and
  1463. previous_main_startup_location (to track the startup location for
  1464. the current toplevel form).
  1465. 2007-03-21 Jonathan Pobst <[email protected]>
  1466. * Control.cs: Don't trigger a layout if an implicit control is added
  1467. that isn't visible. Also, don't notify the owner when an implicit control
  1468. is added. (Owners shouldn't even know about their implicit controls.)
  1469. 2007-03-21 Jonathan Pobst <[email protected]>
  1470. * ScrollableControl.cs: Add implicit controls with AddRangeImplicit
  1471. to save some re-layouts.
  1472. 2007-03-21 Everaldo Canuto <[email protected]>
  1473. * MenuAPI.cs: In ProcessKeys returns false when key is not processed.
  1474. [Fixes #81203]
  1475. 2007-03-21 Jonathan Pobst <[email protected]>
  1476. * FlowLayoutSettings.cs, ToolStrip.cs, ToolStripPanel.cs,
  1477. ToolStripPanelRow.cs: Lazy instantiate the LayoutEngine.
  1478. 2007-03-21 Mike Kestner <[email protected]>
  1479. * ListView.cs : disable selection update for non-left button clicks
  1480. with mods and over selected items. [Fixes #80524]
  1481. 2007-03-20 Jackson Harper <[email protected]>
  1482. * TextControl.cs:
  1483. * TextBoxBase.cs: Allow different types of line endings. \r, \r\n,
  1484. \r\r\n, \n.
  1485. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1486. * ComboBox.cs: PreferredHeight seems to be ItemHeight + 6, but there is
  1487. very probably a more complicated calculation there. Update the
  1488. textbox' ForeColor and BackColor when the ComboBox' colors are
  1489. changed. Change the border change in LayoutComboBox to only affect
  1490. the textbox, not all the calculations there. Seems to fix most of
  1491. #79436.
  1492. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1493. * ComboBox.cs: Handle Home and End keys as well as all combinations of
  1494. modifiers + navigation keys as input keys, enables advanced text
  1495. selection in the combobox (like Shift+Left Arrow for instance).
  1496. ComboTextBox now overrides Focused and returns whatever
  1497. ComboBox.Focused returns, since it really should be focused
  1498. whenever the ComboBox is. Fixes #80795. Also make the border around
  1499. the text box one pixel bigger, as mentioned in #79436.
  1500. 2007-03-20 Jackson Harper <[email protected]>
  1501. * TreeView.cs: Don't offset the images, this was causing some
  1502. artifacts when expanding/collapsing with images that were the
  1503. exact height of the treenode.
  1504. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1505. * TrackBar.cs: Query the theme for the correct value when the mouse
  1506. moves and the thumb is pressed.
  1507. * Theme.cs: Added TrackBarValueFromMousePosition
  1508. * ThemeWin32Classic.cs: Reworked TrackBar drawing. Earlier
  1509. implementation was updating the trackbar value when drawing, now
  1510. the drawing methods only draw. Fixes #80900. Refactored the
  1511. calculations out to TrackBarValueFromMousePosition and
  1512. GetTrackBarDrawingInfo, so that TrackBar can get the correct value
  1513. according to the mouse position whenever it wants to. Changed the
  1514. light coloured pen when drawing the thumb from ControlLight to
  1515. ControlLightLight, because the ControlLight is the same colour as
  1516. the background so the 3D effect is lost.
  1517. 2007-03-20 Everaldo Canuto <[email protected]>
  1518. * Form.cs: In ShowDialog uses MainForm as transient form when no form is
  1519. defined. Fixes #80784.
  1520. 2007-03-20 Marek Habersack <[email protected]>
  1521. * ContextMenuStrip.cs: align with the change introduced in
  1522. revision 74664.
  1523. 2007-03-20 Everaldo Canuto <[email protected]>
  1524. * XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs,
  1525. XplatUI.cs, Form.cs, ToolTip.cs: Remove unneeded parameter owner
  1526. in SetTopmost.
  1527. 2007-03-19 Chris Toshok <[email protected]>
  1528. * Control.cs (WmPaint): don't make use of the Handle property
  1529. after an event is emitted, as the user could have closed the
  1530. form/destroyed the control. Store the Handle in a local variable
  1531. and make use of that. Fixes bug #80768.
  1532. 2007-03-20 Everaldo Canuto <[email protected]>
  1533. * XplatUIX11.cs: Set _NET_WM_STATE_ABOVE on SetTopmost, it fixes Topmost
  1534. behavior in X11 environments.
  1535. 2007-03-20 Everaldo Canuto <[email protected]>
  1536. * Form.cs: Call SetTopmost in CreateHandle when window is topmost, its
  1537. because on setter of topmost we dont call SetTopmost when handle is not
  1538. created.
  1539. 2007-03-20 Jackson Harper <[email protected]>
  1540. * TextControl.cs: Need to use SelectionLength () not
  1541. selection_length, since that var is reset to -1.
  1542. - Draw the caret when we don't have focus.
  1543. * TextBox.cs: The selectall actually doesn't occur until the first
  1544. focus.
  1545. * TextBoxBase.cs: Need to update the caret position after a
  1546. selectall.
  1547. 2007-03-20 Carlos Alberto Cortez <[email protected]>
  1548. * ListView.cs: Enable scrolling when using Tile view.
  1549. 2007-03-20 Everaldo Canuto <[email protected]>
  1550. [Fixes #80902]
  1551. * XplatUIDriver.cs: Abstract SetOwner method created.
  1552. * XplatUIOSX.cs: Override SetOwner to prevent compilation errors method
  1553. must be implemented and was masked as todo.
  1554. * XplatUIWin32.cs: SetOwner implemented using SetWindowLong with
  1555. GWL_HWNDPARENT.
  1556. * XplatUIX11.cs: SetOwner implemented using same code from SetTopmost but
  1557. cheking for null owner to remove transient. The SetTopmost will be change
  1558. on a decond step.
  1559. * Form.cs: In set_Owner and CreateHandle uses new SetOwner instead of
  1560. SetTopmost. Now owned forms will work properly in win32 and X11.
  1561. 2007-03-20 Rolf Bjarne Kvinge <[email protected]>
  1562. * MdiWindowManager.cs: Update function name.
  1563. * Form.cs: After closing a form MdiParent is always null.
  1564. * MdiClient.cs: Rename CloseChildForm to ChildFormClosed to explain
  1565. better what it should do: necessary book-keeping when the form is
  1566. closed, it should not close the form itself.
  1567. 2007-03-19 Andreia Gaita <[email protected]>
  1568. * ListViewItem.cs: Fix back and fore color. The subitems only
  1569. use their own colors if they are set, otherwise use the listview's
  1570. colors. Don't set default colors on constructor for subitem.
  1571. Fixes #79315.
  1572. 2007-03-19 Mike Kestner <[email protected]>
  1573. * ListView.cs : make box selection for Details views with
  1574. FullRowSelect conform to MS behavior when clicking in the "item"
  1575. column and clicking outside the defined columns.
  1576. [Fixes case 5-6 of #80374]
  1577. 2007-03-19 Chris Toshok <[email protected]>
  1578. * ScrollableControl.cs: create the controls from within the ctor,
  1579. but don't actually add them until our handle is created. this
  1580. fixes a NRE possibility jpobst found (if you override OnLayout in
  1581. a subclass, it's called before your ctor). Also, add a
  1582. IsHandleCreated guard to UpdateSizeGripVisibility as well.
  1583. 2007-03-19 Jackson Harper <[email protected]>
  1584. * TextBox.cs: Reduce the amount of invalidation we do.
  1585. * TextBoxBase.cs: Make shortcuts enabled true by default, at least
  1586. some of them are true by default on MS.
  1587. - Add some functions to reduce the amount of invalidates we do.
  1588. * TextControl.cs: Less invalidation.
  1589. 2007-03-19 Chris Toshok <[email protected]>
  1590. [ Fixes #81773, and *seems* to fix #81553 as well ]
  1591. * XplatUIX11.cs: remove the assignment of hwnd.zombie = true from
  1592. AccumulateDestroyedHandles. We need to do it *after* we send
  1593. WM_DESTROY, as the user's code can access Control.Handle in
  1594. OnHandleDestroyed, and this shouldn't cause a recreation. Also,
  1595. move the WM_DESTROY/zombie handling to before the call to
  1596. XDestroyWindow. For some reason without this ordering
  1597. FormTest.RecreateHandle hangs. This ordering is semantically
  1598. equivalent, however, as XDestroyWindow is async anyway.
  1599. 2007-03-19 Gert Driesen <[email protected]>
  1600. * RichTextBox.cs: Reset backcolor_set after setting default.
  1601. 2007-03-19 Chris Toshok <[email protected]>
  1602. * ScrollableControl.cs: the scroll position should not effect the
  1603. canvas size. commit patch from [email protected], which
  1604. fixes some really bizarre behavior on resizing. Fixes bug #80778.
  1605. 2007-03-19 Chris Toshok <[email protected]>
  1606. * ScrollableControl.cs: clean this up a bit. create the
  1607. scrollbars in the ctor and just show/hide them as needed. Also,
  1608. make hscroll_visible/vscroll_visible internal to Recalculate, and
  1609. just use hscrollbar.VisibleInternal/vscrollbar.VisibleInternal
  1610. everywhere else. This seems to fix the scrollbars appearing
  1611. beneath the content for me (i have *no* idea why that is,
  1612. however.)
  1613. 2007-03-19 Jonathan Pobst <[email protected]>
  1614. * ToolStrip.cs: Don't call DoAutoSize when we change Dock. Also, remove
  1615. some redundacy for stuff in Anchor and Dock that base will take care of.
  1616. [Fixes #80762]
  1617. 2007-03-19 Mike Kestner <[email protected]>
  1618. * ListView.cs : make box selection for Details views without
  1619. FullRowSelect dependent on the text bounds, not item bounds.
  1620. * ListViewItem.cs : add an internal property to obtain the TextBounds
  1621. in Details view. [Fixes case 1-4 of #80374]
  1622. 2007-03-19 Andreia Gaita <[email protected]>
  1623. * PaintEventArgs.cs (Dispose): Only dispose of graphics object if
  1624. we're < 2.0. #78448 && #80316
  1625. 2007-03-19 Jonathan Pobst <[email protected]>
  1626. * FontDialog.cs: Don't crash when we switch to a new font that doesn't
  1627. have the same style available as the previously selected one. Also,
  1628. support FixedPitchOnly property. [Fixes bugs #80918, #80947]
  1629. 2007-03-19 Jackson Harper <[email protected]>
  1630. * TextControl.cs: Add an alignment property that all new lines
  1631. will be given.
  1632. - Make sure to use the align shift when calculating the line's X
  1633. position.
  1634. * TextBox.cs: Set the alignment on the document as well as on all
  1635. the document lines.
  1636. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  1637. * Control.cs: ControlCollection.Add: Remove a couple of duplicated casts and
  1638. throw if setting the parent of an mdichild that already has an
  1639. mdiparent. Update signature for 2.0 profile. ProductName: If there's no
  1640. AssemblyProductAttribute in the assembly, use the type's namespace (as
  1641. MS seems to do). CreateControl: don't create the handle if the control
  1642. is not visible (according to MS behaviour and spec). SetTopLevel: Only
  1643. create handle if the control is not a form. Change FocusInternal to
  1644. virtual so that it can be overriden by Form.
  1645. * TextBox.cs: Update call to FocusInternal.
  1646. * Form.cs: Always create the handle when calling Focus on a MdiChild. The
  1647. form is not a toplevel form when it's a mdi child, so update is_toplevel
  1648. accordingly. ShowIcon/TransparencyKey: avoid creating the handle if it
  1649. hasn't been created. Show (IWin32Window): Don't allow this overload for
  1650. toplevel windows. CenterToParent/CenterToScreen/Select: create the
  1651. handle as MS does. SetVisibleCore: if called on a MdiChild and the
  1652. parent isn't visible yet, save the visibility and restore it when the
  1653. parent is made visible.
  1654. * ScrollableControl.cs: Refactor out scrollbar visibility code to separate
  1655. methods, since the visibility of the scrollbars can be changed from
  1656. several places, not only from AutoScroll.
  1657. [Fixes #81179]
  1658. 2007-03-19 Jackson Harper <[email protected]>
  1659. * RichTextBox.cs: Enable shortcuts by default.
  1660. * TextBoxBase.cs: Add conditional shortcuts.
  1661. 2007-03-19 Everaldo Canuto <[email protected]>
  1662. * MenuItem.cs: Dont call OnDrawItem when OwnerDraw is false (#81182).
  1663. 2007-03-19 Chris Toshok <[email protected]>
  1664. [ Fixes bug #80604]
  1665. * XplatUIX11.cs (WaitForHwndMessage): change this to actually
  1666. swallow the message we're waiting on, instead of delivering it, as
  1667. this is only used for the WM_SHOWWINDOW raised from
  1668. MapWindow/UnmapWindow, and the message needs to be generated
  1669. (MapWindow, UnmapWindow): generate the WM_SHOWWINDOW message
  1670. before doing the Map/Unmap. Also make sure that the Hwnd is still
  1671. alive after the message has been handled.
  1672. *before* the window is shown.
  1673. * Control.cs (CreateControl): guard a few more things inside the
  1674. if (!is_created) block, as we might end up being called again -
  1675. yay .net.
  1676. (WmShowWindow): call CreateControl if we're showing the control.
  1677. 2007-03-19 Rolf Bjarne Kvinge <[email protected]>
  1678. * Control.cs: Fix 2.0 signature for Invoke. Support invoking on
  1679. controls without a handle if they have any parent with a handle. In
  1680. Dispose add a check whether the handle is created or not before
  1681. calling BeginInvoke, this removes the need of the extra disposing
  1682. parameter (which was bogus anyway since it didn't prevent the
  1683. invoke from happening, it only skipped the check for an existing
  1684. handle, meaning that the invoke would call on an inexistent
  1685. handle).
  1686. 2007-03-19 Everaldo Canuto <[email protected]>
  1687. * MessageBox.cs: Remove WS_POPUP from CreateParams style, with it form
  1688. appears in taskbar.
  1689. 2007-03-18 Everaldo Canuto <[email protected]>
  1690. * MessageBox.cs:
  1691. - Fixed a problem that dont show help button for messages with 3 buttons.
  1692. - Refactory button size and position calculations, now dont use fixed
  1693. values, also fixed button sizes (#80043) and form's border space.
  1694. - AddButton method created, now all other AddButton methods call this one.
  1695. - Some other source code cosmetic changes.
  1696. 2007-03-18 Jackson Harper <[email protected]>
  1697. * RichTextBox.cs: Don't do this all fonts must match check if
  1698. there is only one char selected.
  1699. 2007-03-18 Jackson Harper <[email protected]>
  1700. * TreeView.cs: ScrollWindow works properly now, so we don't need
  1701. to screw around with the scroll area. This fixes some artifacts
  1702. when expanding and collapsing.
  1703. 2007-03-18 Jackson Harper <[email protected]>
  1704. * TextBoxBase.cs: Allow updating the selection position when the
  1705. cursor is outside the textarea, but we have a capture.
  1706. * TextControl.cs: A special case for when the cursor is outside
  1707. the bounds of the TB.
  1708. 2007-03-18 Jackson Harper <[email protected]>
  1709. * TextBoxBase.cs: Remove image pasting code for now. There is no
  1710. way to get an image on the clipboard right now anyways.
  1711. * TextControl.cs:
  1712. * RichTextBox.cs: Use the new RTF Picture class for pictures.
  1713. 2007-03-18 Everaldo Canuto <[email protected]>
  1714. * MessageBox.cs:
  1715. - Set window properties in constructor intead of on CreateParams.
  1716. - Remove topmost from Window ExStyle.
  1717. - Set ShowInTaskbar to false.
  1718. - Set form border to FixedDialog.
  1719. - Some cosmetic changes and remove unneeded comments.
  1720. - It fixes itens 2,3 and 4 of bug #80043.
  1721. 2007-03-18 Gert Driesen <[email protected]>
  1722. * TextBoxBase.cs: In setter for ReadOnly, only chance BackColor if
  1723. none was explicitly set. Fixes part of bug #79949.
  1724. 2007-03-16 George Giolfan <[email protected]>
  1725. * ToolStripComboBox.cs: Add AutoComplete*.
  1726. 2007-03-16 George Giolfan <[email protected]>
  1727. * ToolStripComboBox.cs: Add FlatStyle.
  1728. 2007-03-16 Jonathan Pobst <[email protected]>
  1729. * ToolStrip.cs, ToolStripProfessionalRenderer.cs,
  1730. ToolStripSplitStackLayout.cs: Implement some basic vertical toolbar support.
  1731. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  1732. * ButtonBase.cs, ToolStrip.cs, SendKeys.cs, TextRenderer.cs,
  1733. CheckBox.cs, RadioButton.cs, BindingSource.cs,
  1734. DataGridColumnStyle.cs: Remove warnings.
  1735. 2007-03-16 Rolf Bjarne Kvinge <[email protected]>
  1736. * Menu.cs: MergeMenu: Check menu argument for null before looping over
  1737. it.
  1738. * MdiWindowManager.cs: Add IsVisiblePending to track the pending
  1739. visibility of mdi child forms. FormSizeChangedHandler: update the
  1740. maximized size if size has changed while maximized.
  1741. * MdiClient.cs: SizeScrollbars/ArrangeWindows/ActivateChild: Avoid
  1742. creating the handle.
  1743. * InternalWindowManager.cs: UpdateBorderStyle/FormSizeChangedHandler:
  1744. avoid creating the handle if not created.
  1745. * XplatUI.cs: Update debug output.
  1746. * XplatUIStructs.cs: Added ToString's for a couple of structs.
  1747. 2007-03-16 Jonathan Pobst <[email protected]>
  1748. * ContainerControl.cs: Give ToolStripManager the opportunity to handle
  1749. ProcessCmdKey().
  1750. * ToolStripDownItem.cs, ToolStripItem.cs, ToolStripItemCollection.cs,
  1751. ToolStripItemEventType.cs, ToolStripManager.cs, ToolStripMenuItem.cs:
  1752. Implement keyboard shortcuts.
  1753. 2007-03-15 Everaldo Canuto <[email protected]>
  1754. * CommonDialog.cs: Set StartPosition to CenterScreen on form's constructor.
  1755. Fixes #79560 and #80200, it also fix problem in FileDialog, SaveDialog,
  1756. ColorDialog and all derived classes.
  1757. 2007-03-15 Everaldo Canuto <[email protected]>
  1758. [ Fixes bug #79828 ]
  1759. * ToolBar.cs:
  1760. - Rename ToolBarButtonInfor to ToolBarItem.
  1761. - Add all layout and calculation stuff gtom ToolBarButton to ToolBarItem.
  1762. - Maintain an array of ToolBarItem, used instead of ToolBarButton
  1763. collection to be able add same button more than one time on a toolbar.
  1764. - Refactory all properties and methods to use ToolBarItem.
  1765. * ToolBarButton.cs:
  1766. - Remove all propeties and methods that is now in ToolBarItem.
  1767. - Rectangle propery now gets the rectangle from first ToolBarItem to
  1768. mimic win32 behavior.
  1769. - Size calculation and layout methods also removed.
  1770. * ThemeWin32Classic.cs: Change all ToolBar drawing methods to receive
  1771. ToolBarItem instead of ToolBarButton to right drawing buttons when
  1772. same button/separator was added more than one time to ToolBar.
  1773. * ThemeNice.cs: Same as above.
  1774. 2007-03-15 Andreia Gaita <[email protected]>
  1775. * XplatUIX11.cs: Fire extra MouseMove events right after
  1776. MouseDown and MouseUp, emulating win32's <censored> behaviour
  1777. for apps that rely on it.
  1778. 2007-03-15 Jackson Harper <[email protected]>
  1779. * TextControl.cs:
  1780. * TextBoxBase.cs: On MS, a fixed single border is not in NC area,
  1781. it is drawn on the controls client window and there is no NC
  1782. area.
  1783. - Set the background color to gray on 2.0 when we are readonly.
  1784. 2007-03-15 Chris Toshok <[email protected]>
  1785. [ Fixes bug #81144 ]
  1786. * XplatUIX11.cs: implement VirtualScreen independently of
  1787. WorkingArea, by querying the _NET_DESKTOP_GEOMETRY root window
  1788. property.
  1789. 2007-03-15 Chris Toshok <[email protected]>
  1790. * Hwnd.cs: add an internal field for the cached_window_state.
  1791. * XplatUIX11.cs: cache the window state, invalidating the cache
  1792. (and thus re-querying the X server) only when we see an update to
  1793. the _NET_WM_STATE property.
  1794. 2007-03-15 Chris Toshok <[email protected]>
  1795. * BindingSource.cs: get a lot of the unit tests working.
  1796. 2007-03-15 Jonathan Pobst <[email protected]>
  1797. * Control.cs: Modify UpdateStyles to store distances when bounds >=
  1798. 0 instead of just bounds > 0. [Fixes bug #80912]
  1799. 2007-03-15 Jonathan Pobst <[email protected]>
  1800. * ToolStrip.cs, ToolStripItem.cs: Implement several new properties
  1801. and methods.
  1802. 2007-03-15 Ivan N. Zlatev <[email protected]>
  1803. * ComboBox.cs, Control.cs, XplatUIStructs.cs, XplatUIX11GTK.cs,
  1804. XplatUIX11.cs, XplatUIWin32.cs, InternalWindowManager.cs,
  1805. XplatUIOSX.cs, TextControl.cs: Replaces all uses of the custom
  1806. WM_MOUSE_LEAVE with the system WM_MOUSELEAVE message.
  1807. 2007-03-15 Chris Toshok <[email protected]>
  1808. [ Fixes #81101 ]
  1809. * Control.cs: add Ivan's fix for 81101, with a slight modification
  1810. - you can set control.Target to null.
  1811. 2007-03-14 Jonathan Pobst <[email protected]>
  1812. * ToolStripItem.cs: If our OwnerItem is null, we can't use
  1813. HideDropDown, use Hide instead to prevent an NRE.
  1814. [Fixes bug #81147]
  1815. 2007-03-14 Jackson Harper <[email protected]>
  1816. * TextBoxBase.cs: Mess with the creation stuff a little. We need
  1817. to calculate the document before the handle is created, in some
  1818. cases. (Actually just one case).
  1819. 2007-03-14 Jackson Harper <[email protected]>
  1820. * TextBoxBase.cs: Need to display the caret after letting the base
  1821. wndproc handle the focus methods, because the caret display
  1822. methods check the focus state.
  1823. - Try to display the caret after updating it's position with SelectWord.
  1824. - Don't need to do an immediate update on this recalc, since there
  1825. will be an invalidate anyways.
  1826. 2007-03-14 Jackson Harper <[email protected]>
  1827. * TreeView.cs: Some workarounds so that we can match event order a
  1828. little better.
  1829. 2007-03-14 Gert Driesen <[email protected]>
  1830. * ErrorProvider.cs: Invoke default ctor from 2.0-only ctor. Fixes bug
  1831. #80803. Avoid NullReferenceException when Control does not have
  1832. parent. Fixed different blinkstyle issues. Only subscribe to Tick
  1833. event a single time. Only draw error icon when control is created and
  1834. visible. Fixes failing unit tests.
  1835. 2007-03-14 Andreia Gaita <[email protected]>
  1836. * TabControl.cs: Add support for 2.0 Deselecting, Deselected and
  1837. Selecting events. Fire Leave and Enter events when changing tabs.
  1838. 2007-03-14 George Giolfan <[email protected]>
  1839. * TreeView.cs: Add TreeViewNodeSorter.
  1840. * TreeNodeCollection.cs: Add sorter parameter to Sort method.
  1841. 2007-03-14 Chris Toshok <[email protected]>
  1842. * Form.cs: go ahead and remove the RecreateHandles that jpobst
  1843. removed earlier and I had him add back it. It turns out metacity
  1844. *does* in fact handle the MOTIF_WM_HINTS property changing, it
  1845. just doesn't redraw the window titlebar until you resize the
  1846. window. This also means we aren't recreating the entire window
  1847. hierarchy on X when you change this property. And it looks better
  1848. on windows, too.
  1849. 2007-03-14 Carlos Alberto Cortez <[email protected]>
  1850. * ListViewItem.cs:
  1851. * ListView.cs: Collecting selection information
  1852. is now done in SelectedIndexCollection rather than in
  1853. SelectedListViewItemCollection. This is done so we can
  1854. have the selection information code in one single place
  1855. (virtual mode selection information entirely depends on
  1856. SelectedIndexCollection).
  1857. 2007-03-13 Miguel de Icaza <[email protected]>
  1858. * ErrorProvider.cs: Add stubs for ISupportInitialize
  1859. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  1860. * ListViewItem.cs: Trigger the ItemCheck and ItemChecked events
  1861. in the right order with the right values, from the Checked property,
  1862. just as MS does (instead of triggering them from ListView).
  1863. * ListView.cs: Make OnItemCheck and OnItemChecked internal.
  1864. 2007-03-13 Carlos Alberto Cortez <[email protected]>
  1865. * ListView.cs: Implement ItemChecked 2.0 event. Also cast to
  1866. the correct handler in OnItemCheck method (ItemCheckEventHandler
  1867. instead of EventHandler). This used to throw an InvalidCastException.
  1868. 2007-03-13 Jackson Harper <[email protected]>
  1869. * TextBoxBase.cs: Calculate the document before the handle is
  1870. created, so there isn't an extra invalidate called.
  1871. 2007-03-13 Jonathan Pobst <[email protected]>
  1872. * Form.cs: Don't set owner in ShowDialog until we are sure
  1873. that we aren't going to throw an exception. [Fixes bug #80773]
  1874. 2007-03-12 George Giolfan <[email protected]>
  1875. * TreeView.cs: Make it compile.
  1876. 2007-03-12 Jonathan Pobst <[email protected]>
  1877. * Control.cs: Another place we don't call SizeFromClientSize.
  1878. * Form.cs: Another place we don't call SizeFromClientSize.
  1879. [Fixes bug #81125]
  1880. 2007-03-12 Jackson Harper <[email protected]>
  1881. * TreeView.cs: Basically emulating some strangness here with
  1882. exanding nodes and setting node positions when windows aren't
  1883. created.
  1884. - Also attempting to walk the node tree less than previously, and
  1885. just use visible order calculations for determining offsets.
  1886. - oops made scrolling backwards.
  1887. * TreeNode.cs: We need to start nodes with a zero visible order,
  1888. because the order calcs are based on the first nodes order.
  1889. 2007-03-12 Jonathan Pobst <[email protected]>
  1890. * Form.cs: Don't exit the program if RecreateHandle is called on
  1891. the main form.
  1892. 2007-03-12 Chris Toshok <[email protected]>
  1893. * XEventQueue.cs: remove the use of PostQuitState.
  1894. * XplatUIX11.cs: remove the use of PostQuitState. If we get a
  1895. WM_QUIT message in GetMessage, return false (and if we're in the
  1896. nested WaitForHwndMessage, repost the WM_QUIT message).
  1897. 2007-03-12 Jonathan Pobst <[email protected]>
  1898. * Form.cs: Don't call RecreateHandle when we change the MinimizeBox
  1899. or the MaximizeBox properties. [Part of bug #80640]
  1900. 2007-03-12 Everaldo Canuto <[email protected]>
  1901. * LinkLabel.cs: When calculate pieces make LinkArea empty if theres
  1902. no links.
  1903. 2007-03-12 Jonathan Pobst <[email protected]>
  1904. * ToolStripItem.cs: Fix some tests I broke by checking Visible
  1905. instead of visible.
  1906. 2007-03-12 Gert Driesen <[email protected]>
  1907. * FileDialog.cs: Use text of File name combobox to determine what
  1908. files the user selected. Added tokenizer to parse the file names.
  1909. Fixes bug #81123.
  1910. 2007-03-12 Jonathan Pobst <[email protected]>
  1911. * Control.cs: We can't call SizeFromClientSize in the constructor,
  1912. but we still need to do the same work, so make an internal version.
  1913. [Fixes bug #80621]
  1914. 2007-03-12 Jackson Harper <[email protected]>
  1915. * TreeView.cs:
  1916. * TreeNode.cs:
  1917. * OpenTreeNodeEnumerator: Match MS better for IsVisible and
  1918. IsExpanded.
  1919. 2007-03-12 Jackson Harper <[email protected]>
  1920. * TextBoxBase.cs: Now that the handles are being created a little
  1921. later, we need to make sure that the document is recalculated when
  1922. the handle is created.
  1923. 2007-03-11 Everaldo Canuto <[email protected]>
  1924. * Theme.cs: GetLinkFont abstract method added.
  1925. * LinkLabel.cs:
  1926. - Remove CalcTrimRectangle, no longer needed.
  1927. - Factor also remove, position issues must be fixed in libgdiplus.
  1928. - Move GetPieceColor to ThemeWin32Classic.cs as it is theme related.
  1929. - GetPieceFont, CreateLinkFont and link_font removed, theme must be
  1930. care about font used to draw links.
  1931. - Set TabStop to true when control is "Selectable", control is selectable
  1932. when have one or more links. Fixes #80501 (test case is also added).
  1933. - Set the LinkArea values after links change, LinkArea values must be
  1934. based in first link position and size, a test case was created.
  1935. - Fix ControlStyles.Selectable value, now is based on LinkArea value,
  1936. the attribute must be true LinkArea.Length > 0. The same was applied to
  1937. TabStop.
  1938. * ThemeWin32Classic.cs:
  1939. - LinkLabelGetPieceColor and LinkLabelGetPieceFont created and used
  1940. in draw method.
  1941. - Use CPDrawStringDisabled to draw disabled text instead of hard code
  1942. color change.
  1943. - Draw focus rectangle for every parts focused, including parts that
  1944. is on another line, its because regions returns various rectangles
  1945. and not only one. Needed to mimic W32 look.
  1946. - Uses Graphics.Clip to delimite region painted, it mean that now
  1947. complete text is passed to DrawString, with this we solve layout
  1948. issues without create another text renderer.
  1949. - Uses Region.Intersect to fix some flickers problems, now only needed
  1950. parts will redrawed.
  1951. - This changes fixes #79614 and some other unreported issues, on Linux
  1952. some layout problems still remain, the problem is under
  1953. MeasureCharacterRanges but it is an libgdiplus bug.
  1954. 2007-03-10 Gert Driesen <[email protected]>
  1955. * TextBox.cs: Set for foreground color.
  1956. * TextBoxBase.cs: Remove Invalidate when setting BackColor, since
  1957. this is already done in Control.
  1958. 2007-03-10 Jackson Harper <[email protected]>
  1959. * TextBox.cs: Set the background color, but reset the
  1960. backcolor_set flag which is just for the user setting the
  1961. background color.
  1962. 2007-03-09 Chris Toshok <[email protected]>
  1963. * Control.cs: really remove the call to XplatUI.SetVisible from
  1964. CreateHandle(), like I said I did when I merged the branch.
  1965. * BindingSource.cs: implement some more of this stuff.
  1966. 2007-03-09 Jackson Harper <[email protected]>
  1967. * TextBox.cs: Don't explicitly set our background colors.
  1968. * TextControl.cs:
  1969. * TextBoxBase.cs: Draw readonly text.
  1970. - Need to invalidate when backcolor or readonly are changed.
  1971. 2007-03-09 Jackson Harper <[email protected]>
  1972. * TextBoxBase.cs: Don't set the forecolor until the handle is
  1973. created.
  1974. - Do not raise OnPaint, and removed some old debug code.
  1975. 2007-03-09 George Giolfan <[email protected]>
  1976. * ScrollableControl.cs: Fix mouse wheel scrolling.
  1977. 2007-03-09 Jonathan Pobst <[email protected]>
  1978. * Control.cs: Wire up MouseDoubleClick event.
  1979. 2007-03-09 Jonathan Pobst <[email protected]>
  1980. * ToolStrip.cs: Rework AutoSize to adjust height when docked to the
  1981. top or bottom.
  1982. * ToolStripItem.cs: Make Image drawing take ImageScaling into account.
  1983. * ToolStripItemCollection.cs: Don't call owner.PerformLayout when a new
  1984. item is added. This logic was moved to ToolStrip.OnItemAdded.
  1985. [Fixes bug #81090]
  1986. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  1987. * ListVieItem.cs: SetIndex is only valid for 2.0 profile by now.
  1988. 2007-03-08 Jackson Harper <[email protected]>
  1989. * TreeView.cs: Show the correct image for selected node (this used
  1990. to work, not sure how the code got deleted). Also implemented 2.0 feature
  1991. SelectedImageKey.
  1992. 2007-03-08 Carlos Alberto Cortez <[email protected]>
  1993. * ListView.cs:
  1994. * ListViewItem.cs: Cache index in items when retrieving them
  1995. in VirtualMode.
  1996. 2007-03-08 Jonathan Pobst <[email protected]>
  1997. * ToolStripItem.cs: Don't return the explicit_size if we are using
  1998. AutoSize. Fixes invalidation issue when user has explicitly set a
  1999. size and has AutoSize = true.
  2000. 2007-03-08 Jonathan Pobst <[email protected]>
  2001. * XplatUIX11.cs: Hardcode FrameBorderSize value temporarily to fix MWF.
  2002. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2003. * DataGridView.cs: Remove event handler from DataView when a
  2004. DataTable is used as DataSource.
  2005. 2007-03-08 Jonathan Pobst <[email protected]>
  2006. * Control.cs: Create internal setter for client_size to allow it to be
  2007. set without triggering resizing code.
  2008. * Form.cs: Calculate client_size in constructor, only change client_size
  2009. in FormBorderStyle property if Handle has been created.
  2010. [Fixes #80574, #80791]
  2011. 2007-03-08 George Giolfan <[email protected]>
  2012. * SystemInformation.cs: Add TerminalServerSession.
  2013. 2007-03-07 Jonathan Pobst <[email protected]>
  2014. * TreeViewDrawMode.cs: Make internal for 1.1 to allow for consolidated
  2015. TreeView code.
  2016. 2007-03-07 Jonathan Pobst <[email protected]>
  2017. * XplatUIWin32.cs: The no_activate stuff was forcing us to create a
  2018. Handle before we were supposed to. Now checks ActivateOnShow property
  2019. in Control.
  2020. * Control.cs: Add internal ActivateOnShow property.
  2021. * ComboBox.cs, Form.cs, MenuAPI.cs, ToolStripDropDown.cs: Return false
  2022. for ActivateOnShow.
  2023. * Hwnd.cs Remove no longer needed no_activate field.
  2024. 2007-03-07 Jackson Harper <[email protected]>
  2025. * TreeView.cs: Implement owner draw tree nodes. And a couple more
  2026. 2.0 properties
  2027. * DrawTreeNodeEventHandler.cs: Add
  2028. * DrawTreeNodeEventArgs.cs: Correct default value.
  2029. 2007-03-07 Chris Toshok <[email protected]>
  2030. * XplatUIWin32.cs: create InternalWndProc so that we're guaranteed
  2031. to be called before NativeWindow.WndProc. Put the HwndCreating
  2032. magic there to hook up our Hwnd's to handles.
  2033. 2007-03-07 Gert Driesen <[email protected]>
  2034. * DataGridView.cs: Comment out debug code.
  2035. 2007-03-07 Chris Toshok <[email protected]>
  2036. [merge -r72718:73765 from mwf-handle-branch, and include 2 changes
  2037. to make the rest of the world happy]
  2038. * Control.cs (CreateHandle): there's no need to call
  2039. XplatUI.SetVisible here, it's effectively done by
  2040. XplatUI.CreateWindow on X now, and always was on windows.
  2041. * XplatUIX11.cs (WaitForHwndMessage): only use the PostQuitState
  2042. shortcircuit out of the loop if we have a message loop running on
  2043. this thread.
  2044. [Changelog from merge]
  2045. 2007-03-05 Chris Toshok <[email protected]>
  2046. * Control.cs (AccessibilityNotifyClients): turns out in 1.1 this
  2047. causes handle creation.
  2048. 2007-02-28 Chris Toshok <[email protected]>
  2049. * ApplicationContext.cs: Add a flag to make sure we only raise the
  2050. ThreadExit event once (ExitThreadCore can be indirectly called
  2051. from a few places.) I don't like the additional flag, but it
  2052. makes the event ordering/count correct.
  2053. * Application.cs (MWFThread.LoopCount): don't use an enumerator
  2054. without locking the collection. An enumerator doesn't give us any
  2055. protection from modification anyway. Lock the thread hash and
  2056. replace the complicated enumerator loop with a foreach.
  2057. (Application.CloseForms): make internal so it can be called from
  2058. ApplicationContext. This should probably be moved to MWFThread.
  2059. (Application.ExitThread): don't call MWFThread.Current.Exit()
  2060. here. just call XplatUI.PostQuitMessage. We'll exit the thread
  2061. when the runloop exits (in response to WM_QUIT.)
  2062. (Application.RunLoop): add a comment (and check) for
  2063. context.MainForm being null after setting context.MainForm.Visible
  2064. = true. This is because you're perfectly free to dispose of a
  2065. form in VisibilityChanged. Chalk this up to another case where we
  2066. need to synchronously generate WM_ACTIVATE from Control.Show.
  2067. Also, add handling for WM_QUIT here so we'll exit the loop.
  2068. * XplatUIX11.cs: clean up MapWindow and UnmapWindow a bit. The
  2069. fact that we don't wait if we're only unmapping the whole_window
  2070. makes me a bit nervous, but it doesn't seem to cause any problems
  2071. yet.
  2072. also, add a comment about the stupid, broken and wrong resetting
  2073. of PostQuitState to false in GetMessage().
  2074. In PostQuitMessage, we need to add a WM_QUIT message to the
  2075. thread's queue. We use the FosterParent to get the right
  2076. handle/hwnd/queue.
  2077. Lastly, in SetVisible, we need to unmap both windows, since the
  2078. waiting only happens when we're unmapping the client window. So
  2079. now, the *only* time we unmap just the whole_window is in the hack
  2080. for resizing a control to 0,0.
  2081. 2007-02-21 Chris Toshok <[email protected]>
  2082. * Application.cs (CloseForms): rewrite this so that we don't
  2083. modify the list while we're traversing it.
  2084. 2007-02-20 Chris Toshok <[email protected]>
  2085. * ListBox.cs (.ctor): move the Control.AddImplicits here instead
  2086. of OnHandleCreated.
  2087. (HorizontalScrollEvent): only call XplatUI.ScrollWindow if the
  2088. handle is created. otherwise we'll create it here.
  2089. (VerticalScrollEvent): same here.
  2090. * Application.cs (CloseForms): call Form.Dispose, don't post
  2091. WM_CLOSE_INTERNAL.
  2092. * Form.cs (WndProc): we don't need to use CLOSE_INTERNAL
  2093. here. Application should Dispose() of the Form's.
  2094. * XplatUIX11.cs (WaitForHwndMessage): break out of the loop on
  2095. WM_DESTROY as well.
  2096. (MapWindow,UnmapWindow): only actually do the waiting for
  2097. SHOWWINDOW if the control we're dealing with is a Form.
  2098. (CreateWindow): if the control isn't a form, SendMessage
  2099. WM_SHOWWINDOW here (if the WS_VISIBLE style is set).
  2100. * Control.cs (SetVisibleCore): always use is_visible here, not
  2101. value. If we use value, we can end up re-setting something
  2102. visible if, for instance, you do Control.Hide() in a delegate
  2103. attached to VisibleChanged as we do in FormTest.ShowDialogTest.
  2104. 2007-02-20 Chris Toshok <[email protected]>
  2105. * XplatUIX11.cs (WaitForHwndMessage): we need to loop until we get
  2106. the message we need. PeekMessage returning false should not be a
  2107. condition under which we exit the loop.
  2108. 2007-02-15 Chris Toshok <[email protected]>
  2109. * Control.cs (Refresh): only refresh if we've got a handle and are
  2110. visible.
  2111. (CreateAccessibilityInstance): CreateControl() here.
  2112. (UpdateChildrenZOrder): complicate the code loop even more by
  2113. taking into account controls that haven't had their handle
  2114. created, and those that aren't visible. But on the flip side,
  2115. simplify the code by splitting it into two loops. one which
  2116. builds up the list of child controls we're interested in, and the
  2117. other that sets the z order of those children.
  2118. 2007-02-14 Chris Toshok <[email protected]>
  2119. * Control.cs: Control.AccessibilityObject causes the control to be
  2120. created, not just the handle.
  2121. 2007-02-14 Chris Toshok <[email protected]>
  2122. * Control.cs: rework UpdateChildrenZOrder to correctly handle the
  2123. problem on X where a window might have its handle created (and be
  2124. visible) while the window is unmapped. calling XConfigureWindow
  2125. on an unmapped window is bad, and generates X errors.
  2126. 2007-02-13 Chris Toshok <[email protected]>
  2127. * Control.cs (CreateHandle): don't loop over our children setting
  2128. their parent here. do it when in WndProc when we're shown.
  2129. (UpdateChildrenZOrder): make this internal so we can call it from
  2130. ScrollableControl.
  2131. (WndProc): for WM_SHOWWINDOW, reparent the child control after
  2132. creating its handle. Also, remove the calls to PerformLayout from
  2133. here. they're done in ScrollableControl.OnVisibleChanged. Also,
  2134. OnVisibleChanged only seems to be called directly here for the
  2135. toplevel control. It's propagated down the window hierarchy by
  2136. calls to child.OnParentVisibleChanged.
  2137. (OnVisibleChanged): don't do layout here - it's done (oddly
  2138. enough, according to a glance at stack traces on ms.net..) in
  2139. ScrollableControl.
  2140. * ScrollableControl.cs (OnVisibleChanged): make sure we update the
  2141. z order of our children before calling PerformLayout.
  2142. 2007-02-12 Chris Toshok <[email protected]>
  2143. [big change, fixes #80020]
  2144. * AccessibleObject.cs: we need to make owner internal again to fix
  2145. some of ControlAccessibleObject.
  2146. * Control.cs: lots of changes here. add support for WM_CREATE,
  2147. for which we generate OnHandleCreated. Remove the OnHandleCreated
  2148. call from CreateHandle. Also add support for WM_SHOWWINDOW where
  2149. we create child controls. leave the MonoTODO's for the
  2150. accessibility calls, but fix the exceptions so the tests pass.
  2151. Add the InvalidOperationExceptions to Invoke methods, and remove a
  2152. couple of InvokeInternal methods we aren't using.
  2153. Also, add a couple of CreateHandle calls in places where we know
  2154. the handles are being created but our code doesn't reference
  2155. .Handle.
  2156. Make SetVisibleCore call OnVisibleChange if the handle isn't
  2157. created. If the handle is created, we rely on XplatUI.SetVisible
  2158. generating the event synchronously.
  2159. Lastly, make sure we don't use this.Handle inside CreateHandle,
  2160. because we can call back into client (and that code can dispose of
  2161. the control).
  2162. * XplatUIStructs.cs: misc/cleanup.
  2163. * XplatUIX11.cs: Map/Unmap X events correspond to WM_SHOWWINDOW,
  2164. although we don't populate the wParam properly.
  2165. (CreateWindow): generate WM_CREATE.
  2166. (MapWindow,UnmapWindow): make these calls synchronous, at great
  2167. performance expense (particularly in the unmap case), to match
  2168. win32 behavior.
  2169. * Form.cs (.ctor): remove the call to UpdateBounds. we don't need
  2170. to call it.
  2171. (set_MdiParent): don't recreate the handle unless it's been
  2172. created already.
  2173. * MdiClient.cs (OnResize): don't InvalidateNC Parent.Handle unless
  2174. it's created.
  2175. * NativeWindow.cs: this is probably the weirdest part of the
  2176. patch. We need a way to link up the window being created to the
  2177. WM_CREATE message. Since we can only be creating one window at a
  2178. time on a given thread, we keep track of a per-thread reference so
  2179. we can dispatch it properly. We also need to keep track of the
  2180. Hwnd currently being created so that the win32 backend doesn't
  2181. have problems.
  2182. * XplatUIWin32.cs: a similar change to the one we made in
  2183. NativeWindow.cs.
  2184. 2007-03-07 Jonathan Pobst <[email protected]>
  2185. * ToolStripItem.cs: Make CalculatePreferredSize virtual.
  2186. * ToolStripMenuItem.cs: Modify CalculatePreferredSize and OnPaint
  2187. to draw the menu shortcut string.
  2188. 2007-03-07 Jackson Harper <[email protected]>
  2189. * TreeNode.cs: Add the 2.0 collapse method.
  2190. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2191. * DataGridViewColumn.cs: Fix HeaderText behaviour (Bug #80746).
  2192. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2193. * DataGridView.cs: Change DataSource will clear column and row
  2194. lists. Call Invalidate() to reflect DataSource change.
  2195. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2196. * DataGridView.cs: Add rows when DataSource is System.Data.DataView
  2197. and a new row is added to it.
  2198. 2007-03-07 Pedro Martínez Juliá <[email protected]>
  2199. * DataGridView.cs: Add columns when DataSource is en empty list but
  2200. is a System.Data.DataView (from a System.Data.DataTable).
  2201. 2007-03-06 Andreia Gaita <[email protected]>
  2202. * Label.cs: Implement AutoEllipsis (2.0)
  2203. 2007-03-06 Jackson Harper <[email protected]>
  2204. * TreeView.cs: Implement 2.0 TopNode setter property.
  2205. - Use a local var instead of the skipped_nodes field for computing
  2206. how many nodes to skip. Otherwise we won't scroll because the
  2207. valuechanged handler checks if skipped_nodes is equal to the new
  2208. value.
  2209. - Implement 2.0 Sort method.
  2210. - Add useless 2.0 DoubleBuffer property
  2211. - Implement 2.0 LineColors property. Lets you change the color of
  2212. the lines in the tree. Terribly useful for creating non cohesive
  2213. desktops.
  2214. - Implement 2.0 image key feature.
  2215. 2007-03-06 Jackson Harper <[email protected]>
  2216. * TreeView.cs: We can't get the bounds of the nodes before raising
  2217. the AfterSelect event, because that event could change the node's
  2218. bounds (scrolling, font change, etc).
  2219. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  2220. * XplatUIWin32.cs: When faking styles don't remove the WS_VISIBLE flag.
  2221. * Form.cs: Don't recreate handle when creating FormWindowManager, just
  2222. update window styles. In CreateParams us VisibleInternal instead of
  2223. VIsible to get the actual visible flag set for this form.
  2224. * FormWindowManager.cs: Activate the form whenever the mouse clicks on
  2225. the nc area. Fixes #81042. Also fix HandleTitleBarDoubleClick to
  2226. handle the case when the form is already maximized, in which case
  2227. it should be restored. Fixes #81043.
  2228. 2007-03-06 Rolf Bjarne Kvinge <[email protected]>
  2229. * XplatUIX11.cs: Tool windows still get wm styles. Fixes toolwindows showing up with double decorations.
  2230. 2007-03-05 Jackson Harper <[email protected]>
  2231. * TreeViewHitTestInfo.cs: implement.
  2232. 2007-03-05 Jackson Harper <[email protected]>
  2233. * InternalWindowManager.cs: class status fix.
  2234. 2007-03-05 Rolf Bjarne Kvinge <[email protected]>
  2235. * InternalWindowManager.cs: All windows that have a parent
  2236. are confined to their parent when they're being moved.
  2237. Fixes #80822.
  2238. 2007-03-04 Gert Driesen <[email protected]>
  2239. * SystemInformation.cs: Marked KeyboardDelay and KeyboardSpeed public
  2240. on 2.0 profile. Fixes bug #81018. Small code formatting fixes.
  2241. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  2242. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations: Make all
  2243. buttons invisible before deciding which ones should be visible
  2244. (fixes minimize/maximize buttons showing up in toolwindows). Remove
  2245. an unused variable.
  2246. * InternalWindowManager.cs: Remove warning.
  2247. 2007-03-02 Carlos Alberto Cortez <[email protected]>
  2248. * ListView.cs: Add a check in ListViewItemCollection.RemoveAt
  2249. to throw an InvalidOperationException is virtual mode is being used.
  2250. 2007-03-02 Jonathan Pobst <[email protected]>
  2251. * SplitContainer.cs, SplitterPanel.cs, StatusStrip.cs, TableLayoutPanel.cs,
  2252. ToolStrip.cs, ToolStripContainer.cs, ToolStripContentPanel.cs,
  2253. ToolStripControlHost.cs, ToolStripDropDownItems.cs, ToolStripItem.cs,
  2254. ToolStripMenuItem.cs, ToolStripOverflowButton.cs, ToolStripPanel.cs,
  2255. ToolStripPanelRow.cs, ToolStripProfessionalRenderer.cs, ToolStripSplitButton.cs,
  2256. ToolStripStatusLabel.cs, ToolStripTextBox.cs: Corcompare work.
  2257. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  2258. * XplatUI.cs: Fixed returning driver.KeyboardSpeed instead of
  2259. driver.KeyboardDelay from XplatUI.KeyboardDelay
  2260. * XplatUIW in32.cs: Implemented KeyboardSpeed/KeyboardDelay properties
  2261. (patch by Sergey Volk)
  2262. 2007-03-02 Rolf Bjarne Kvinge <[email protected]>
  2263. * ToolWindowManager.cs: Added, contains logic for
  2264. tool windows.
  2265. * CreateParams.cs: Add a few helper methods and an
  2266. internal variable to know which control the CreateParams belongs
  2267. to.
  2268. * Control.cs: Call Form.ChangingParent when the
  2269. parent is about to be changed.
  2270. * XplatUIX11.cs: DeriveStyles (): Set
  2271. caption_height for all windows that have captions and are children.
  2272. Update to use ToolWindowManager instead of InternalWindowManager
  2273. for ToolWindows.
  2274. * XplatUIWin32.cs: Set fake window styles for all
  2275. windows that have window managers.
  2276. * MdiWindowManager.cs: Added MaximizedTitleButtons (buttons are
  2277. now duplicated for mdi windows when they are
  2278. maximized, first for the buttons the window itself has, then for
  2279. the buttons that appear in the menu bar. Makes things a little
  2280. easier). Updated UpdateWindowDecorations, SetWindowState and the
  2281. mouse eventhandlers accordingly.
  2282. * Form.cs: Add ChangingParent (), contains the
  2283. logic of what should happen when the parent changes. In MdiParent
  2284. don't set things that ChangingParent () is doing. When handling
  2285. WM_CLOSE, we can close the form if there are any other modal forms
  2286. and the current form is a descendent of the modal form.
  2287. * InternalWindowManager.cs: A lot of refactoring,
  2288. the title buttons are now extracted to a separate container class
  2289. that takes care of all button code (clicks, tooltips, etc). Moved
  2290. Iconic|Maximized|Normal Bounds properties to this class from
  2291. MdiWindowManager, so that the window state logic can succeed for
  2292. other than mdi wm's. Implemented general window state change logic.
  2293. Moved CreateButtons to ThemeWin32Classic, since the theme might
  2294. override which buttons are available when as well as the exact
  2295. location.
  2296. * FormWindowManager.cs: Added, contains logic for
  2297. normal forms.
  2298. * ThemeWin32Classic.cs: ManagedWindowSetButtonLocations now decides
  2299. which buttons go where (and if they are at all visible).
  2300. Removed special handling of maximized windows, since they aren't special.
  2301. In DrawManagedWindowDecorations don't try to draw the text if it is
  2302. empty.
  2303. * MdiClient.cs: ArrangeIconicWindows: Don't calculate any sizes,
  2304. use whatever the wm gives us.
  2305. 2007-03-02 Jonathan Pobst <[email protected]>
  2306. * ButtonBase.cs: Add 2.0 properties.
  2307. * Button.cs: Override Draw for 2.0.
  2308. * Control.cs: Add Entered and Selected properties.
  2309. * FlatButtonAppearance.cs, TextFormatFlags.cs, TextImageRelation.cs,
  2310. TextRenderer.cs: Make internal for 1.1 to unify drawing code.
  2311. * Theme.cs: New abstract functions for drawing Standard, Flat, Popup
  2312. buttons.
  2313. * ThemeWin32Classic.cs: Implement layout calculations for 2.0 buttons.
  2314. 2007-03-01 Jonathan Pobst <[email protected]>
  2315. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code. :/
  2316. 2007-03-01 Jonathan Pobst <[email protected]>
  2317. * XplatUIWin32.cs: Register a new class with Windows each time we get
  2318. a new ClassStyle. [Fixes bugs #79432, #80817]
  2319. * Controls.cs: Set the correct ClassStyle in CreateParams.
  2320. * ToolStripDropDown.cs: Don't request an invalid ClassStyle.
  2321. 2007-03-01 Gert Driesen <[email protected]>
  2322. * ListView.cs: Add fireEvent argument to ReorderColumn since the
  2323. ColumnReordered event must not be signaled when modifying DisplayIndex
  2324. of a ColumnHeader. Added internal ReorderColumns method which takes
  2325. care of drawing, and updating the internal DisplayIndex of the
  2326. ColumnHeader. Added AddColumn method which is invoked from
  2327. ColumnHeaderCollection when adding or inserting columns, and which
  2328. ensures that reorder_columns_indices is kept in sync. Avoid redrawing
  2329. after adding each ColumnHeader in ColumnHeaderCollection.AddRange.
  2330. Recalculated dispay indices after removing a ColumnHeader.
  2331. * ColumnHeader.cs: Save DisplayIndex separately from ListView to
  2332. match MS. Allows last display index to be returned after ListView
  2333. is disposed. Update actual location of ColumnHeader when DisplayIndex
  2334. is modified.
  2335. 2007-03-01 Everaldo Canuto <[email protected]>
  2336. * LinkLabel.cs: Improve CalcTrimRectangle.
  2337. * ThemeWin32Classic.cs: Fix some compilation problem under VS 2003.
  2338. 2007-02-28 Everaldo Canuto <[email protected]>
  2339. * LinkLabel.cs: Rename CalcMeasurementFactor as CalcTrimRectangle and
  2340. get rectangle as a result value.
  2341. 2007-02-28 Everaldo Canuto <[email protected]>
  2342. * LinkLabel.cs: Theres some diferences between rectangle return from
  2343. MeasureCharacterRanges and the area used for DrawString to fix this
  2344. CalcMeasurementFactor method was created, it calcules the diferences
  2345. to be use later to adjust rectangle in draw operations. Fixes #80473.
  2346. * ThemeWin32Classic.cs: Use factor calculated by CalcMeasurementFactor
  2347. to adjust draw rectangle.
  2348. 2007-02-27 Everaldo Canuto <[email protected]>
  2349. * ThemeWin32Classic.cs: In DrawLinkLabel draw focus rectangle before draw
  2350. text and some other changes to reduce and optimize source code.
  2351. 2007-02-27 Jonathan Pobst <[email protected]>
  2352. * RadioButton.cs: Implement 2.0 event.
  2353. * RelatedImageListAttribute.cs: Implement new class.
  2354. 2007-02-27 Everaldo Canuto <[email protected]>
  2355. * MenuAPI.cs: Change keynav_state before call SelectItem. Fixes #80901.
  2356. 2007-02-27 Jonathan Pobst <[email protected]>
  2357. * CheckBox.cs: Implement 2.0 functionality.
  2358. 2007-02-27 Carlos Alberto Cortez <[email protected]>
  2359. * ListView.cs: Refactor Add and AddRange methods of
  2360. ListViewItemCollection, to not update the ListView
  2361. everytime an item is added in AddRange. Also move the update
  2362. code to a new CollectionChanged method, and call it
  2363. from other methods that need it as well (this should also fix some
  2364. bugs when Sorting is used).
  2365. 2007-02-27 Jackson Harper <[email protected]>
  2366. * TextControl.cs: Try to never let the caret stay in a non-text
  2367. tag.
  2368. * TextBoxBase.cs: Update the caret.
  2369. 2007-02-26 Jonathan Pobst <[email protected]>
  2370. * XplatUIStructs.cs: Add some convenience methods for POINT structure.
  2371. * XplatUIWin32.cs: Add some convenience methods for RECT structure,
  2372. delete POINT structure, duplicate of one in XplatUIStructs.
  2373. * TextRenderer.cs: Use XplatUIWin32.RECT instead of UXTheme.RECT.
  2374. 2007-02-26 Gert Driesen <[email protected]>
  2375. * ListView.cs: Initialize LabelEditEventArgs after setting Text of
  2376. edit box since otherwise the Label would immediately be set (even if
  2377. the user did not modify the label). In OnKeyDown set Handled to true
  2378. if Return or Escape was pressed. In ColumnHeaderCollection unlink
  2379. columns that are to be removed. In ListViewItemCollection unlink items
  2380. that are to be removed.
  2381. 2007-02-24 Jonathan Pobst <[email protected]>
  2382. * TextRenderer.cs: If we set a GDI clip region, we need to clear
  2383. it when we are done. [Fixes bug #80949]
  2384. 2007-02-23 Jonathan Pobst <[email protected]>
  2385. * Form.cs: Wrap checking ShowWithoutActivation in a NET_2_0 block.
  2386. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  2387. * ListView.cs: I forgot to commit the changes for ListView
  2388. in my previous patch.
  2389. 2007-02-23 Jonathan Pobst <[email protected]>
  2390. * Clipboard.cs: Partially implement an overload of SetDataObject.
  2391. * Form.cs: Implement ShowWithoutActivation.
  2392. * XPlatUIWin32.cs: Fix for WM_SHOWNOACTIVATE for forms.
  2393. 2007-02-23 Carlos Alberto Cortez <[email protected]>
  2394. This is a first set of changes to make the Virtual mode works,
  2395. by avoiding the retrieval of ListViewItem instances until
  2396. draw time.
  2397. * ListView.cs: Store item position in the ListView instead of the
  2398. ListViewItem, this way we don't request the Bounds property of
  2399. ListViewItem inside the ListView calculations, as well as cache the item
  2400. size in item_size field. Store indexes instead of ListViewItem
  2401. instances in the matrix used by icon view. Add a ItemMatrixLocation
  2402. struct to hold the row and col info of the matrix info.
  2403. * ListViewItem.cs: Don't store the location anymore, and only cache
  2404. the rectangles for GetBounds. Use the ListView.GetItemLocation
  2405. method to retrieve the actual location.
  2406. 2007-02-23 Jonathan Pobst <[email protected]>
  2407. * TextRenderer.cs: Add clipping support, thanks to George.
  2408. [Fixes bug #80949]
  2409. 2007-02-23 Gert Driesen <[email protected]>
  2410. * ListViewItem.cs: Cancel label edit when item is removed from
  2411. ListView.
  2412. * ListView.cs: Move setting of focus to EndEdit. Fire BeforeLabelEdit
  2413. event before the edit textbox is displayed. Added CancelEdit method
  2414. which is used end to editing while ignoring the value set by the
  2415. user. In EndEdit, set focus to ListView to avoid losing focus to
  2416. other controls. In ListViewItemCollection.Clear, cancel editing of
  2417. any of the items. In Remove, cancel editing of item being removed.
  2418. Avoid udplicate code by modifing RemoveAt to invoke Remove.
  2419. 2007-02-23 Gert Driesen <[email protected]>
  2420. * FileDialog.cs: Update FSEntry when move is successful. Fixes
  2421. bug #80948.
  2422. 2007-02-23 Everaldo Canuto <[email protected]>
  2423. * MainMenu.cs: Change Draw method to take care about MenuOrigin to be
  2424. compatible with non X11 systems. Fixes #80901.
  2425. 2007-02-23 Gert Driesen <[email protected]>
  2426. * ListView.cs: Added bool argument to UpdateMultiSelection to specify
  2427. whether the item should be unselected and reselect. We do no want this
  2428. when we're starting to edit the label. Do not fire the
  2429. SelectedIndexChanged event from ListView when its already been fired
  2430. by modifying ListViewItem.Selected. Fixes bug #80943.
  2431. 2007-02-23 Jonathan Pobst <[email protected]>
  2432. * TextRenderer.cs: Previos commit logic was backwards.
  2433. 2007-02-23 Jonathan Pobst <[email protected]>
  2434. * TextRenderer.cs: Don't add padding on MeasureText if we were
  2435. sent the NoPadding flag.
  2436. 2007-02-23 Everaldo Canuto <[email protected]>
  2437. * ThemeWin32Classic.cs: Invert order of drawing operation with DrawImage
  2438. after DrawButton. To prevent image overlaps button borders SetClip and
  2439. ResetClip added before and after draw image. Fixes #79129.
  2440. 2007-02-23 Everaldo Canuto <[email protected]>
  2441. * FolderBrowserDialog.cs: Use ClientSize instead of Size to specify
  2442. window size, it fix problem when you run under win32 that theres
  2443. Size diferent than ClientSize. Also fix controls size and positions
  2444. to mimic Win32. Fixes #80837.
  2445. 2007-02-22 Everaldo Canuto <[email protected]>
  2446. * Form.cs: Handle WM_NCHITTEST and return HTMENU when point is on
  2447. menu area to fix some problems for non X11 systems. Fixes #80613.
  2448. 2007-02-22 Jackson Harper <[email protected]>
  2449. * TreeNode.cs: When a node is expanded, set its is_expanded flag
  2450. even if it doesn't have any children.
  2451. 2007-02-22 Jackson Harper <[email protected]>
  2452. * TreeView.cs: Calculate the top node 'on the fly', this
  2453. eliminates issues where you need to click on the tree before
  2454. scrolling it to get the top node computed correctly.
  2455. * TreeNodeCollection.cs: We don't need to mess with the top node
  2456. anymore.
  2457. 2007-02-22 Jackson Harper <[email protected]>
  2458. * DataGridViewRow.cs: Fix typo so height can actually be set.
  2459. Patch by Peter Grimm.
  2460. 2007-02-22 Gert Driesen <[email protected]>
  2461. * FileDialog.cs: Fixed support for renaming files and directories.
  2462. * ListView.cs: Do not lose focus when edit is canceled. Process
  2463. Escape as regular key (to prevent closing of dialogs).
  2464. 2007-02-22 Gert Driesen <[email protected]>
  2465. * ListView.cs: Removed TODO for LabelEdit. Removed extra tabs and
  2466. spaces. Changed spaces to tabs. Removed unnecessary init of bools.
  2467. 2007-02-22 Gert Driesen <[email protected]>
  2468. * FileDialog.cs: LabelEditEventArgs.Label now returns null when user
  2469. did not modify label.
  2470. * ListView.cs: Only set LabelEditEventArgs.Label if user actually
  2471. modified the text. Reset Label when user presses Escape in edit mode.
  2472. Move focus to ListView after having cancelled or finished editing the
  2473. label.
  2474. 2007-02-21 Gert Driesen <[email protected]>
  2475. * ComboBox.cs: Removed unnecessary initializations. Marked items field
  2476. private. Clear textbox when Text is set to null and SelectedIndex is
  2477. already -1.
  2478. * FileDialog.cs: Removed unnecessary initializations. Removed
  2479. workarounds for ComboBox bugs that are now fixed. Modified
  2480. DefaultExt, InitialDirectory and Title property to change null to
  2481. zero-length string in getters. Avoid directly accessing fields.
  2482. 2007-02-20 Jackson Harper <[email protected]>
  2483. * TextControl.cs: Remove RecalAlignments call, that was some
  2484. debugging leftovers.
  2485. - Don't use the line indent when we shouldn't.
  2486. * RichTextBox.cs: Add support for paragraph left indents.
  2487. 2007-02-20 Rolf Bjarne Kvinge <[email protected]>
  2488. * Control.cs: Fix BeginInvoke signature for 2.0 profile.
  2489. Seems like the class status pages doesn't catch params differences.
  2490. 2007-02-19 Gert Driesen <[email protected]>
  2491. * ComboBox.cs: Removed extra tabs. Changes spaces to tabs.
  2492. 2007-02-19 Gert Driesen <[email protected]>
  2493. * ComboBox.cs: Setting Text should have no effect if item text of
  2494. selected item exactly matches value. First lookup text using
  2495. case-sensitive comparison, and fallback to case-insensitive comparison.
  2496. FindString(Exact) returns -1 if search string is null. On 2.0 profile,
  2497. allow startIndex to be last index. Changed ArgumentOutOfRangeException
  2498. paramname to match MS. Restart from first item if string is not found
  2499. after startIndex. Fixed paramname of ArgumentNullException that is
  2500. thrown for null value in ObjectCollection.Contains.
  2501. 2007-02-19 Everaldo Canuto <[email protected]>
  2502. * XplatUIStructs.cs: WM_XXX UISTATE elements uncommented.
  2503. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  2504. * ListControl.cs: In SelectedValue use value.Equals to compare for
  2505. equality instead of ==, otherwise it will fail for strings.
  2506. Fixes #80794.
  2507. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  2508. * ComboBox.cs: Switch the order to ShowSelection and ActivateCaret,
  2509. since the caret won't show up unless ShowSelection is true.
  2510. Fixes #80795.
  2511. 2007-02-19 Rolf Bjarne Kvinge <[email protected]>
  2512. * Application.cs: When disabling all forms but the main form, do not
  2513. disable any descendants of the main form (such as mdi children or
  2514. other parented forms). Fixes #80822 on Windows.
  2515. * Form.cs: If we have a parent, set the WS_CHILD style.
  2516. * Control.cs: Update the window styles if the control whose parent has
  2517. changed is a form (the WS_CHILD style has to be switched).
  2518. 2007-02-19 Everaldo Canuto <[email protected]>
  2519. * XplatUIStructs.cs: MsgUIState structure added.
  2520. 2007-02-18 Gert Driesen <[email protected]>
  2521. * FileDialog.cs: Removed need for separate fileName field. On 2.0
  2522. profile, do not check filename(s) for illegal character if filename(s)
  2523. were set non-interactively but always check on 1.0 profile. Fixed NRE
  2524. in DefaultExt and only strip off first leading dot. Improve exception
  2525. message when invalid Filter is set. Do not ignore InitialDirectory if
  2526. it does no exist. Store specified Title, and if empty use default
  2527. title (depending on type of dialog). Added an internal DialogTitle
  2528. property for retrieving dialog title. Fixed logic of displayed dir to
  2529. more closely match MS. Avoid setting ComboBox.Text to a zero-length
  2530. string as its buggy.
  2531. * OpenFileDialog.cs: In OpenFile, throw ArgumentNullException if
  2532. FileName is a zero-length string (it can never be null). Override
  2533. DialogTitle property to set default title of dialog box.
  2534. * SaveFileDialog.cs: Override DialogTitle property to set default
  2535. title of dialog box.
  2536. 2007-02-18 Gert Driesen <[email protected]>
  2537. * FileDialog.cs: Modify default text of filename and filetype labels
  2538. to match that of MS. Reset do_not_call_OnSelectedIndexChanged...
  2539. after we've updated the SelectedIndex. Fixes part of bug #80887.
  2540. * SaveFileDialog.cs: Set text of filetype label.
  2541. 2007-02-16 Carlos Alberto Cortez <[email protected]>
  2542. * LabelEditEventArgs.cs: New internal SetLabel method, to set the
  2543. label field. Needed by latest Jackson's fixes for ListView.
  2544. 2007-02-16 Andreia Gaita <[email protected]>
  2545. * PrintPreviewControl/PrintPreviewDialog: Properly dispose of
  2546. print preview images.
  2547. 2007-02-16 Jackson Harper <[email protected]>
  2548. * ListView.cs: Make AfterLabelEdit work correctly.
  2549. * FileDialog.cs: After changing the name of the folder, we have to
  2550. make sure that it is created, or that we pop up an error because
  2551. it already exists.
  2552. 2007-02-16 Jackson Harper <[email protected]>
  2553. * X11Dnd.cs: Implement aliases on mime handlers, so things like
  2554. System.String are mapped to text.
  2555. - Handle dataobjects, getting all the possible formats out of them
  2556. - We dont need the drag event args before we give feedback. This
  2557. allows feedback cursors to be immediate before selections have
  2558. been converted.
  2559. 2007-02-16 Jackson Harper <[email protected]>
  2560. * TextBoxBase.cs: Modified the method for inserting images to
  2561. taking a line and position instead of tag and position.
  2562. * RichTextBox.cs: Handle PngBlip data by inserting the png image
  2563. into the RTF file.
  2564. * TextControl.cs: Allow images to be inserted as the first tag of
  2565. a line.
  2566. - Fix some off by one issues when we assume the first tag is a
  2567. text tag, not an image tag.
  2568. 2007-02-15 Carlos Alberto Cortez <[email protected]>
  2569. * ListView.cs: Set focus to ListView when ItemControl gets a
  2570. WM_RBUTTONDOWN message, to mimic .Net behaviour.
  2571. Fixes part of #80467.
  2572. 2007-02-15 Rolf Bjarne Kvinge <[email protected]>
  2573. * DateTimePicker.cs: Call RecreateHandle if the Format changes and
  2574. validate Text input (if null or empty string reset Value to default
  2575. value). Fixes #80830.
  2576. 2007-02-14 Carlos Alberto Cortez <[email protected]>
  2577. * ListView.cs: Set owner as null for columns and items when
  2578. Dispose is invoked. Fixes #80607.
  2579. 2007-02-14 Jonathan Pobst <[email protected]>
  2580. * ToolStrip.cs: Allow LayoutStyle.Flow, make sure to call OnOpening when
  2581. showing DropDowns, don't show a Grip when doing Flow layout.
  2582. [This fixes the toolbox in PDN 2.72.]
  2583. * ToolStripItem.cs: Add Anchor property and some internal properties to
  2584. reduces needed changes to FlowLayout.
  2585. * ToolStripOverflow.cs: Remove unused variable.
  2586. * ToolStripSplitStackLayout.cs: If a ToolStripItem isn't visible, don't
  2587. use it in the layout calculations.
  2588. 2007-02-13 Everaldo Canuto <[email protected]>
  2589. * ToolTip.cs: Add HotkeyPrefix.Hide to MeasureString format, it fix an issue
  2590. reported in #79640.
  2591. * ThemeWin32Classic.cs: Uses format for MeasureString in ToolTipSize to fiz
  2592. size calculation.
  2593. 2007-02-13 Everaldo Canuto <[email protected]>
  2594. * ToolBar.cs, ToolBarButton.cs: Revert and remove HotkeyPrefix from
  2595. MeasureString format, it can make button very large in some cases, it is
  2596. strange but is what win32 do.
  2597. 2007-02-13 Everaldo Canuto <[email protected]>
  2598. * ToolBar.cs, ToolBarButton.cs: Uses format in MeasureString to fix string
  2599. size calculation.
  2600. * ThemeWin32Classic.cs: Set HotkeyPrefix in toolbar text format to fix text
  2601. rendering, the value is based on MenuAccessKeysUnderlined.
  2602. 2007-02-13 Everaldo Canuto <[email protected]>
  2603. * Theme.cs: Change MenuAccessKeysUnderlined to "true" that is value used
  2604. for most themes.
  2605. * ThemeWin32Classic.cs: Override MenuAccessKeysUnderlined as false.
  2606. * ThemeNice.cs, ThemeGtk.cs, ThemeClearlooks.cs: Remove always_draw_hotkeys
  2607. and use MenuAccessKeysUnderlined instead.
  2608. 2007-02-13 Andreia Gaita <[email protected]>
  2609. * ContainerControl.cs: Focus fix for nunit treeview selection bug.
  2610. A selected control would not get a Focus call if:
  2611. - the default active control of the container is the same as
  2612. the one that was selected
  2613. - we are switching from one container to another
  2614. Under these conditions, the container being selected already has
  2615. an active_control, which is the same as the one being activated,
  2616. so set_ActiveControl would always return and not send the Focus
  2617. call. Fix to check if the currently active control of the container
  2618. is actually focused.
  2619. 2007-02-13 Jonathan Pobst <[email protected]>
  2620. * StatusStrip.cs: Implement the spring layout.
  2621. * ToolStripControlHost.cs: Make sure the hosted control's visibility
  2622. always matches the host.
  2623. * ToolStripItem.cs: Write a more accurate layout for TextBeforeImage
  2624. and TextAfterImage.
  2625. 2007-02-13 Andreia Gaita <[email protected]>
  2626. * Control.cs: Code reorganization only.
  2627. - Reorganize the WndProc cases so that each case has it's own handling method,
  2628. to help with the no-line-numbering stack traces.
  2629. - Formatting changes (it's vstudio's fault, really :p)
  2630. 2007-02-13 Rolf Bjarne Kvinge <[email protected]>
  2631. * MonthCalendar.cs: Switch to using Thread.CurrentCulture instead of
  2632. Thread.CurrentUICulture to match DateTimePicker's (and MS)
  2633. behaviour.
  2634. 2007-02-12 Jackson Harper <[email protected]>
  2635. * RichTextBox.cs:
  2636. * TextBox.cs: By default we have a non multiline document
  2637. - use the multiline property instead of the internal variable
  2638. * TextBoxBase.cs: Treat multiline and non multiline the same in
  2639. most places.
  2640. - Use the documents multiline flag instead of tracking it ourself
  2641. * TextControl.cs: Attempt at getting multiline to match MS
  2642. behavior. Lines now track an offset, which is either their X or Y
  2643. offset depending on whether or not we are in multiline mode.
  2644. - Update all the methods to understand that lines have an X value.
  2645. - Fix crash in Undo::Duplicate when empty lines are deleted.
  2646. 2007-02-12 Everaldo Canuto <[email protected]>
  2647. * Label.cs: CalcPreferredHeight and CalcPreferredWidth methods removed and
  2648. code moved to properties PreferredHeight and PreferredWidth. It solve the
  2649. all problems when preferred sizes must be recalculated. Fixes #80801.
  2650. 2007-02-12 Everaldo Canuto <[email protected]>
  2651. * Label.cs: Fix CalcPreferredHeight for 2.0 that must return only
  2652. font height when compatible_text_rendering is false. Partially fix #80801.
  2653. 2007-02-09 Gert Driesen <[email protected]>
  2654. * Form.cs: Fixed typo in exception message. Fixes bug #80779.
  2655. 2007-02-09 Gert Driesen <[email protected]>
  2656. * Form.cs: Improved exception messages in ShowDialog.
  2657. 2007-02-09 Gert Driesen <[email protected]>
  2658. * PrintDialog.cs: On 1.0 profile, throw ArgumentException in RunDialog if
  2659. PrinterSettins has not been set. On 2.0 profile, initialize PrinterSettings
  2660. if not set. Fixes bug #80764. Avoid accessing current_settings field
  2661. directly.
  2662. 2007-02-08 Everaldo Canuto <[email protected]>
  2663. * Theme.cs: An new property MenuAccessKeysUnderlined added with default value
  2664. false.
  2665. * SystemInformation.cs: An new property MenuAccessKeysUnderlined added, it is
  2666. public in 2.0 and for easy maintenance and dont break compatibility it is
  2667. internal in 1.1.
  2668. 2007-02-08 Jonathan Pobst <[email protected]>
  2669. * ToolStripItem.cs: Implement using images from ImageList.
  2670. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2671. * DateTimePicker.cs: Change default date-formatting culture from
  2672. CurrentThread.CurrentUICulture to CurrentThread.CurrentCulture,
  2673. seems to be the way MS does it.
  2674. 2007-02-08 Andreia Gaita <[email protected]>
  2675. * PrintPreviewControl.cs: rewrite toolbar code to fix #80725. Correct 6-up image
  2676. (the 6 was cut off on the right side)
  2677. 2007-02-08 Jonathan Pobst <[email protected]>
  2678. * Form.cs: Tell MenuStrips to close when the form is clicked.
  2679. * MenuStrip.cs, ToolStrip.cs, ToolStripControlHost.cs,
  2680. ToolStripDropDown.cs, ToolStripDropDownItem.cs, ToolStripItem.cs,
  2681. ToolStripItemCollection.cs, ToolStripMenuItem.cs, ToolStripProfessionalRenderer.cs,
  2682. ToolStripSplitButton.cs, ToolStripSplitStackLayout.cs: Add
  2683. support for Overflow, where items that do not fit are automatically
  2684. reparented to a drop down menu.
  2685. * ToolStripOverflow.cs, ToolStripOverflowButton.cs: Added.
  2686. Also: fixes bug #80747.
  2687. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2688. * ComboBox.cs: Remove warning (unused code).
  2689. * ScrollableControl.cs: Remove warning for 1.1 profile.
  2690. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2691. * Form.cs: Remove a warning.
  2692. 2007-02-08 Rolf Bjarne Kvinge <[email protected]>
  2693. * DateTimePicker.cs: Fixed a NRE if CustomFormat was null. Handles the
  2694. 'g' specifier, not documented anywhere, but seems to always show up
  2695. as a single space (might have something to do with the DateTime 'g'
  2696. specifier, which is the era format, but since DateTimePicker can't
  2697. go earlier than 1753 it wouldn't matter) . Fixed quote handling,
  2698. won't crash if the format has an unmatched quote. Now shows
  2699. single-character formats correctly. Fixes #80744.
  2700. 2007-02-08 Jonathan Pobst <[email protected]>
  2701. * StatusStrip.cs: Stretch property needs to call base.Stretch,
  2702. not this.Stretch to fix stack overflow. [Fixes bug #80760]
  2703. 2007-02-07 Chris Toshok <[email protected]>
  2704. * ThemeWin32Classic.cs (DrawButtonBase): don't clear to the
  2705. background color. it overwrites the background image we've
  2706. already painted. Fixes #80599.
  2707. 2007-02-07 Chris Toshok <[email protected]>
  2708. * DataGrid.cs: return immediately from Edit() when there are no
  2709. columns. Fixes #80662.
  2710. 2007-02-07 Chris Toshok <[email protected]>
  2711. * MessageBox.cs: fix #80625. don't always show the Help button in
  2712. 2.0. use the displayHelpButton parameter to determine if we
  2713. should show it. Also, make the internal show_help field private.
  2714. 2007-02-07 Chris Toshok <[email protected]>
  2715. * Control.cs (SetVisibleCore): check in the proposed patch for
  2716. 80604, and set is_visible before calling CreateControl.
  2717. 2007-02-07 Jonathan Pobst <[email protected]>
  2718. * ListView.cs: UseCompatibleStateImageBehavior setter changed from NIEX to
  2719. MonoInternalNote. This is added automagically by VS2005, so let's not crash
  2720. on it.
  2721. 2007-02-06 Everaldo Canuto <[email protected]>
  2722. * MenuAPI.cs: hotkey_active internal field added, it is required because
  2723. we need to know when hotkeys must be draw, before this change a keystate
  2724. Navigating was used but we can have menu in navigating state without
  2725. hotkeys. Fixes #80694.
  2726. * ThemeWin32Classic.cs: Only draw hot keys when hotkey_active is true.
  2727. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  2728. * Control.cs: Handle WM_CAPTURECHANGED in 1.1 code as well, and change
  2729. corresponding events and methods to be internal for 1.1 profile and
  2730. public for 2.0 profile (required by SizeGrip).
  2731. * Form.cs: Use SizeGrip as a virtual SizeGrip (and don't add it to the
  2732. implicit control list). Don't set the size nor the location of the
  2733. SizeGrip anymore as it's not needed.
  2734. * SizeGrip.cs: Rewrote large parts, it now supports a virtual mode to
  2735. draw directly on the captured control (fixes #80656). Removed
  2736. ShowGrip (it wasn't used anywhere), redraw (always true), added
  2737. GetDefaultSize and GetDefaultRectangle to calculate defaults.
  2738. * ScrollableControl.cs: Make UpdateSIzeGripVisible internal so it can
  2739. be called from SizeGrip.
  2740. 2007-02-06 Rolf Bjarne Kvinge <[email protected]>
  2741. * Timer.cs: Throw ArgumentException if Interval <= 0.
  2742. 2007-02-05 Jackson Harper <[email protected]>
  2743. * TreeView.cs: We need to check scrollbar visibility when window
  2744. visibility is updated, because non visible trees don't ever add
  2745. scrollbars.
  2746. * Cursor.cs: We want the override cursor to be reset to NULL when
  2747. we set current cursor to the default cursor.
  2748. 2007-02-05 Jackson Harper <[email protected]>
  2749. * TextControl.cs: Don't have crlfs when we are non multiline.
  2750. - Consolidate the line position.
  2751. 2007-02-05 Jackson Harper <[email protected]>
  2752. * X11Keyboard.cs: BACK+CTRL gets a special char code.
  2753. 2007-02-03 Rolf Bjarne Kvinge <[email protected]>
  2754. * XplatUIX11.cs: Implemented WM_CAPTURECHANGED support, we're now
  2755. handling LeaveNotify->NotifyUngrab in order to send
  2756. WM_CAPTURECHANGED. However sometimes the NotifyUngrab arrives late
  2757. after calling XUngrabPointer, so we call WindowUngrabbed directly
  2758. from UngrabWindow in order to send WM_CAPTURECHANGED immediately.
  2759. * Control.cs: Handle WM_CAPTURECHANGED in order to raise
  2760. MouseCaptureChanged correctly. Also create handles if changing
  2761. Capture (matches MS behaviour).
  2762. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2763. * SizeGrip.cs: Make the last change 2.0 only.
  2764. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2765. * SizeGrip.cs: If resizing and the capture is lost, revert any size
  2766. changes to initial size (fixes #80597).
  2767. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2768. * SizeGrip.cs: Use the normal icon for SizeGrip if it is disabled.
  2769. 2007-02-02 Rolf Bjarne Kvinge <[email protected]>
  2770. * SizeGrip.cs: Only draw sizegrip if enabled (but always draw
  2771. background) and only allow dragging if enabled. This way the
  2772. sizegrip can be used to fill the open square that otherwise would
  2773. have been shown in the bottom right corner of ScrollableControl
  2774. when ScrollableControl is not suppose to support sizing.
  2775. * ScrollableControl.cs: Create UpdateSizeGripVisible to decide when the
  2776. sizegrip is shown and enabled, and hook up with necessary events.
  2777. 2007-02-01 Chris Toshok <[email protected]>
  2778. * DataGridTextBoxColumn.cs: clean up the
  2779. GetFormattedString/GetColumnValueAtRow combination of functions.
  2780. Also fix UpdateUI, and the initial state of
  2781. IsInEditOrNavigateMode.
  2782. * DataGridTextBox.cs: don't chain up to base.OnMouseWheel - we
  2783. aren't supposed to scroll the textbox here, we're supposed to
  2784. scroll the datagrid.
  2785. 2007-02-01 Chris Toshok <[email protected]>
  2786. * ComboBox.cs: use vscrollbar_ctrl.Dock instead of explicitly
  2787. setting the position.
  2788. 2007-02-01 Chris Toshok <[email protected]>
  2789. * DataGrid.cs (OnLeave): we can now do the CancelCurrentEdit thing
  2790. here, since the most recent focus fixes keep us from generating
  2791. the Leave event when our textbox gets focus.
  2792. (Edit): we should be passing null for the column style's
  2793. instantText parameter.
  2794. 2007-02-01 Jonathan Pobst <[email protected]>
  2795. * ToolStripDropDownItem.cs: Make sure DropDownOpening event is
  2796. raised. Fixes menu text/icons not showing up in PDN.
  2797. 2007-02-01 Rolf Bjarne Kvinge <[email protected]>
  2798. * Control.cs: Remove code in constructor that makes every
  2799. control with WS_CHILD set have initial location -1, -1.
  2800. 2007-01-31 Jackson Harper <[email protected]>
  2801. * X11Dnd.cs: Take the keyboard on init to reduce coupling with
  2802. XplatUIX11.
  2803. * XplatUIX11.cs: Give teh keyboard to teh dnd.
  2804. 2007-01-31 Jackson Harper <[email protected]>
  2805. * X11Dnd.cs: Use IDataObject instead of the DataObject class.
  2806. - Remove some debug code.
  2807. 2007-01-31 Jackson Harper <[email protected]>
  2808. * XplatUIX11.cs: If you set the override cursor during a grab, it
  2809. should actually override the grab cursor. This comes into play
  2810. when you are setting custom cursors in a DND feedback method.
  2811. 2007-01-31 Jackson Harper <[email protected]>
  2812. * X11Dnd.cs: Add support for handling the QueryContinue and
  2813. GiveFeedback events.
  2814. - Cancel drag and drop actions when the escape key is clicked.
  2815. * XplatUIX11.cs: Let the dnd subsystem get key events, so that it
  2816. can handle the ESCAPE key.
  2817. - Allow dnd to swallow BUTTONUP messages if it needs to. This is
  2818. done when dnd events are continued after the button is released.
  2819. - Add a new helper method so that dnd can translate key events.
  2820. 2007-01-31 Alexander Olk <[email protected]>
  2821. * FileDialog.cs: Rewrite of Jacksons OnClickCancelButton patch to
  2822. make it more obvious what is happening.
  2823. 2007-01-30 Jackson Harper <[email protected]>
  2824. * XplatUIX11.cs: Don't break when handling button release in drag
  2825. and drop operations. We need that BUTTONUP message to get through
  2826. so capture is released.
  2827. * X11Dnd.cs: We don't need to manually grab the pointer anymore,
  2828. this is handled automatically when the mouse is down.
  2829. 2007-01-30 Jackson Harper <[email protected]>
  2830. * FileDialog.cs: OnClickCancelButton gets called whenever the dialog
  2831. is closed, so we need to make sure that we aren't changing the
  2832. dialog result when the OK (Open or Save) button has been clicked
  2833. and we are closing the window ourselves. Note we don't need to
  2834. worry about the cache being written in this case, because it was
  2835. already done in the previous FilOk call.
  2836. 2007-01-30 Rolf Bjarne Kvinge <[email protected]>
  2837. * DateTimePicker.cs: Remove a warning.
  2838. * ComboBox.cs: Remove a couple of warnings.
  2839. 2007-01-29 Chris Toshok <[email protected]>
  2840. * XplatUIX11.cs: don't crash, and remove the icon if the user has
  2841. set one, if SetIcon is passed a null icon.
  2842. 2007-01-29 Andreia Gaita <[email protected]>
  2843. * TextBox.cs: Redraw when the password characters changes
  2844. * TextControl.cs: Check if textbox has a password char and draw
  2845. a line of password chars instead of the text in the line. LineTag gets
  2846. an extra Draw() method which allows document.Draw to override the text
  2847. that will be drawn. Removes 1024 char limitation on length of passworded
  2848. lines.
  2849. 2007-01-29 Jackson Harper <[email protected]>
  2850. * TextBoxBase.cs: Deleting sections of text is undoable. Deleting
  2851. single chars is not.
  2852. 2007-01-28 Jonathan Pobst <[email protected]>
  2853. * TextRenderer.cs: Fix cutting off the bottom of letters like "j" by
  2854. one pixel. Fix a StackOverflowException caused by an overload wrongly
  2855. calling itself.
  2856. 2007-01-26 Everaldo Canuto <[email protected]>
  2857. * MenuAPI.cs: Fixed kerboard grab problem when "enter"key is pressed,
  2858. also remove ProcessArrowKey and put the code inside ProcessKeys.
  2859. 2007-01-26 Jonathan Pobst <[email protected]>
  2860. * PaddingConverter.cs: Added.
  2861. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  2862. * ThemeWin32Classic.cs: Only draw the text of a StatusBar if
  2863. ShowPanels is false (fixes #80600). Only draw up to 127 characters
  2864. of text (fixes #80601). For panels clip the text to draw to the
  2865. panel (fixes #80603).
  2866. 2007-01-26 Rolf Bjarne Kvinge <[email protected]>
  2867. * ComboBox.cs: Fixed implementation of ResetText.
  2868. 2007-01-25 Jackson Harper <[email protected]>
  2869. * TextControl.cs: For the last char of a line we need to use the
  2870. line size, not that chars width, since it won't actually be
  2871. computed since the right side of a char is based on the start of
  2872. the left side of the next char, and the next char does not exist.
  2873. 2007-01-25 Chris Toshok <[email protected]>
  2874. * Splitter.cs: fix the new unit tests, and reindent some switch
  2875. statements.
  2876. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2877. * ComboBox.cs: Implemented 2.0 methods and events.
  2878. * TextBoxBase.cs: Added OnTextUpdate, so that
  2879. ComboBox.ComboTextBox can inform ComboBox of it.
  2880. 2007-01-25 Jackson Harper <[email protected]>
  2881. * TextControl.cs: Respect ShowSelection when deciding whether or
  2882. not to display the caret, this allows comboboxes to have carets
  2883. when the combotextbox does not have focus.
  2884. 2007-01-25 Jackson Harper <[email protected]>
  2885. * TextControl.cs: Add a Suspend/Resume for updating, basically the
  2886. same as the Suspend/Resume for recalc, except this will do actual
  2887. Invalidates.
  2888. - New Undo manager, works much like the MS version.
  2889. - Implemented Redo
  2890. * TextBoxBase.cs: The Cut operation is undoable.
  2891. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2892. * TextBoxBase.cs: Don't antialias text. Makes it look way better
  2893. on Windows (no difference on Linux).
  2894. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2895. * XplatUIWin32.cs: Set SWP_NOACTIVATE in RequestNCRecalc as well,
  2896. we don't want to activate any windows. Fixes #79433.
  2897. 2007-01-25 Jonathan Pobst <[email protected]>
  2898. - ButtonBase.cs: Fix capitalization of parameter: disposing.
  2899. [Fixes bug #80609]
  2900. 2007-01-25 Alexander Olk <[email protected]>
  2901. * FileDialog.cs:
  2902. - Move to using System.ComponentModel.EventHandlerList
  2903. - Replace Refresh with Invalidate
  2904. - Clear the mime filecache on closing
  2905. - Some other memory reducing work. After beeing closed FD now uses
  2906. only about 300 KB for the fdo mime stuff plus the memory of the
  2907. cached icons.
  2908. * Mime.cs: Changed coding style and removed unnecessary commented
  2909. code. Some more memory memory reducing work.
  2910. 2007-01-25 Rolf Bjarne Kvinge <[email protected]>
  2911. * ComboBox.cs: Implemented FlatStyle and DropDownHeight, and added
  2912. a few other missing 2.0 properties.
  2913. * Theme.cs: Added DrawFlatStyleComboBox.
  2914. * ThemeWin32Classic.cs: Implemented DrawFlatStyleComboBox.
  2915. 2007-01-24 Chris Toshok <[email protected]>
  2916. * XplatUIX11.cs: fix the wake_waiting logic - we always clear the
  2917. wake_waiting flag, not just when there's data to be read. if we
  2918. don't, then future wakeup's won't reach us and we'll be doomed to
  2919. wait for the entire 1 second timeout forever (unless there are X
  2920. events to be had).
  2921. 2007-01-24 Jonathan Pobst <[email protected]>
  2922. * ComboBox.cs: FindStringExactMaxException doesn't throw AOORE on 2.0
  2923. until you pass Items.Count, not Items.Count - 1 like 1.1.
  2924. 2007-01-24 Gert Driesen <[email protected]>
  2925. * ColumnHeader.cs: Fixed ParamName in ArgumentOutOfRangeException.
  2926. 2007-01-24 Jonathan Pobst <[email protected]>
  2927. * ToolStripContainer.cs: The recent Dock fix exposed that I was
  2928. adding the panels in the wrong order.
  2929. 2007-01-24 Jackson Harper <[email protected]>
  2930. * TextBoxBase.cs: When we move the caret we also need to move the
  2931. selection, this fixes some random crashing after doing select
  2932. text, unselect, delete a char, paste.
  2933. 2007-01-24 Rolf Bjarne Kvinge <[email protected]>
  2934. * Form.cs: Update SizeGrip's location even if it's not visible (fixes #80592).
  2935. 2007-01-23 Everaldo Canuto <[email protected]>
  2936. * Control.cs: In OnParentBackgroundImageChanged remove conditions to call
  2937. OnBackgroundImageChanged, it mimics win32 behavior. Fixes #80553.
  2938. * ToolBar.cs: Force redraw in BackgroundImageChanged.
  2939. 2007-01-23 Everaldo Canuto <[email protected]>
  2940. * ToolBar.cs:
  2941. - Implement support for vertical toolbars. Fixes #80539;
  2942. - Call LayoutToolBar when resize, it fix some other problems in layout.
  2943. - Rename requested_height to requested_size, as we can have width on it
  2944. when toolbar is vertical.
  2945. - Create a private property "Vertical" that uses Dock to verify when
  2946. toolbar is vertical or not.
  2947. - Set ControlStyles when change Dock property.
  2948. - Refactory in LayoutToolBar to have better variables names and to support
  2949. vertical toolbars.
  2950. - Fixes default value for ButtonSize when button count is equal zero, size
  2951. must be (39, 36) test case writed.
  2952. 2007-01-23 Chris Toshok <[email protected]>
  2953. * Control.cs: fix the checks so that they work correctly for mdi
  2954. parents/children.
  2955. 2007-01-23 Chris Toshok <[email protected]>
  2956. * Control.cs: ControlCollection seems to have super-secret
  2957. abstraction breaking knowledge of Mdi containers. allow MdiClient
  2958. to add toplevel controls.
  2959. 2007-01-23 Chris Toshok <[email protected]>
  2960. * Control.cs: throw an ArgumentException if a toplevel control is
  2961. added to our control collection from ControlCollection.Add, as
  2962. well as from ControlCollection.IList.Add. This fixes the
  2963. ControlSetTopLevelTest.TestTopLevelAdd unit test.
  2964. Also, in ControlCollection.IList.Add, don't through an
  2965. ArgumentNullException, throw an ArgumentException, when value ==
  2966. null. This matches MS.
  2967. 2007-01-23 Chris Toshok <[email protected]>
  2968. * BindingSource.cs: initial, incomplete, implementation of
  2969. BindingSource.
  2970. 2007-01-23 Jackson Harper <[email protected]>
  2971. * TextControl.cs:
  2972. * TextBoxBase.cs: Checking in some pieces of the undo stuff so
  2973. that I can fix a broken unit test (TextBoxTest::ClearUndo)
  2974. 2007-01-23 Everaldo Canuto <[email protected]>
  2975. * ToolBar.cs: Add status fields to ToolBarButtonInfo.
  2976. 2007-01-23 Andreia Gaita <[email protected]>
  2977. * TreeNode.cs: Add new 2.0 ImageKey and SelectedImageKey properties.
  2978. * TreeNodeCollection.cs: New Add() methods, ContainsKey and
  2979. IndexOfKey() for 2.0
  2980. 2007-01-23 Rolf Bjarne Kvinge <[email protected]>
  2981. * XplatWin32.cs: In RequestNCRecalc call SetWindowPos with SWP_NOZORDER
  2982. to prevent it from changing z-order.
  2983. * MdiWindowManager.cs: Refactor part of SetWindowState to MdiClient, only
  2984. leave UI updates in MdiWindowManager.
  2985. * InternalWindowManager.cs: Check for 0 sized nc areas and make them
  2986. 1 sized (NC handling goes weird on Linux otherwise).
  2987. * MdiClient.cs: Add missing ExStyle (WS_EX_CLIENTEDGE), so it's no longer
  2988. necessary to handle WM_NCCALCSIZE anymore. This also made it possible to
  2989. remove a few NCRequestRecalcs. Changed calculations in IconicBounds
  2990. to use ClientSize of MdiClient instead of entire size. Refactored ActivateChild
  2991. and SetWindowState(s) to allow for changing the size of an activated child
  2992. before activating it (reduces a lot of flicker).
  2993. 2007-01-22 Jonathan Pobst <[email protected]>
  2994. * Form.cs: Changing FormBorderStyle has different semantics based
  2995. on whether the Form is visible or not. If not visible, don't change
  2996. the Size. But InvalidateNC needs to be called to force the window
  2997. to pick up the changes and redraw itself. [Fixes bug #80574]
  2998. 2007-01-22 Jonathan Pobst <[email protected]>
  2999. [Moma work]
  3000. * ContainerControl.cs: ProcessCmdKey.
  3001. * ErrorProvider.cs: new constructor.
  3002. * Form.cs: fix AutoValidateEvent compiler warning.
  3003. * Label.cs: fix OnAutoSizeChanged compiler warning.
  3004. * MenuStrip.cs: fix CanOverflow compiler warning.
  3005. * TabControl.cs: SelectTab, OnSelected methods, Selected event.
  3006. * TextBox.cs: Dispose.
  3007. * ToolStrip.cs: CanOverflow, re-enable double buffering.
  3008. * ToolStripControlHost.cs: fix CausesValidation compiler warning.
  3009. * ToolStripDropDown.cs: fix ContextStripMenu compiler warning.
  3010. * ToolStripItem.cs: Overflow, RightToLeft properties.
  3011. 2007-01-22 Rolf Bjarne Kvinge <[email protected]>
  3012. * Form.cs: Move the layout of the main form to MdiWindowManager.
  3013. * MdiWindowManager.cs: If WindowState changes from or to Maximized,
  3014. do a layout of the main window to update MdiClient's client area to
  3015. the right area. Fixes #80533. Remove the calculation of nc size,
  3016. it was just wrong and the correct one is the same as for
  3017. InternalWindowManager.
  3018. 2007-01-20 Jonathan Pobst <[email protected]>
  3019. * Control.cs: Setting Anchor or Dock needs to reset the other
  3020. to its default. [Fixes bug #80556]
  3021. 2007-01-20 Chris Toshok <[email protected]>
  3022. * CheckedListBox.cs: class status changes.
  3023. * ScrollableControl.cs: same.
  3024. * RichTextBox.cs: same.
  3025. * ContainerControl.cs: same.
  3026. * ListView.cs: same.
  3027. * NotifyIcon.cs: same.
  3028. * MenuStrip.cs: same.
  3029. * RadioButton.cs: same.
  3030. * CheckBox.cs: same.
  3031. * PrintPreviewDialog.cs: same.
  3032. * Form.cs: same.
  3033. 2007-01-19 Jonathan Pobst <[email protected]>
  3034. * TreeNode.cs: Apply Alan's patch for Name property.
  3035. 2007-01-19 Rolf Bjarne Kvinge <[email protected]>
  3036. * Form.cs: Implemented SizeGripStyle.
  3037. * SizeGrip.cs: Check for minimum and maximum size for the
  3038. control being resized and only resize if size has actually
  3039. changed.
  3040. 2007-01-19 Chris Toshok <[email protected]>
  3041. * DataGridColumnStyle.cs: stop setting _readonly in the
  3042. PropertyDescriptor setter. fixes a unit test failure.
  3043. also, rename ParentReadOnly to TableStyleReadOnly, and have it
  3044. just consult our table style (if we have one). We don't need to
  3045. consult the datagrid readonly attribute because that's passed in
  3046. as the _ro arg to Edit. this simplifies things a little.
  3047. * DataGrid.cs: use CurrentColumn instead of
  3048. current_cell.ColumnNumber just to simplify some of the code.
  3049. switch the order of some things in the CurrentCell setter to keep
  3050. the previous cell from getting a textbox again -
  3051. EnsureCellVisibility causes scrolling to happen, which calls Edit.
  3052. So we need to set the new cell before calling it.
  3053. call Edit in OnEnter, as does Microsoft.
  3054. also, make sure the current table style isn't the one we create
  3055. initially when checking to see if it's different than the one
  3056. we're setting it to in BindColumns (this fixes #80421).
  3057. * GridTableStylesCollection.cs: table styles can have "" for a
  3058. mapping name. part of the fix for #80421.
  3059. * DataGridTextBoxColumn.cs: simplify the readonly calculation in
  3060. Edit significantly.
  3061. 2007-01-18 Jonathan Pobst <[email protected]>
  3062. * TextRenderer.cs: Rewrote to be complete-er, more MS-matching-er,
  3063. and less GDI object leaky-er.
  3064. 2007-01-18 Andreia Gaita <[email protected]>
  3065. * LinkLabel.cs: Add opaque control style
  3066. 2007-01-18 Jackson Harper <[email protected]>
  3067. * TextControl.cs: Calculate width properly.
  3068. - Don't store the tag's X offset, this can be figured out very
  3069. easily.
  3070. - When getting the caret tag make sure to get the last empty tag.
  3071. 2007-01-18 Jonathan Pobst <[email protected]>
  3072. * Form.cs: Recalculate our size after setting a new FormBorderStyle.
  3073. [Fixes bug #79959]
  3074. * Control.cs: Color.Empty shouldn't count for previous transparent
  3075. redraw changes.
  3076. 2007-01-18 Jackson Harper <[email protected]>
  3077. * TextBox.cs:
  3078. * RichTextBox.cs:
  3079. * TextControl.cs: Starting to merge in some pieces of my older
  3080. undo work. Basically just some slight cleanup of the undo API.
  3081. 2007-01-18 Rolf Bjarne Kvinge <[email protected]>
  3082. * TrackBar.cs: Fix signature of RightToLeftLayout.
  3083. * StatusBar.cs: Implemented missing 2.0 methods and attributes.
  3084. * StatusBarPanel.cs: Implemented missing 2.0 methods and attributes.
  3085. * Application.cs: Implemented UseWaitCursor.
  3086. 2007-01-18 Jackson Harper <[email protected]>
  3087. * TextControl.cs: We can't skip tags if any part of the tag is
  3088. visible.
  3089. 2007-01-18 Jonathan Pobst <[email protected]>
  3090. * ContainerControl.cs: Override OnLayout.
  3091. 2007-01-18 Jonathan Pobst <[email protected]>
  3092. * NotifyIcon.cs: Add ContextMenuStrip and Tag properties.
  3093. * ContextMenuStrip.cs: Make sure context menu is shown on top of
  3094. everything else.
  3095. 2007-01-18 Chris Toshok <[email protected]>
  3096. * ContainerControl.cs: remove the partial handling of LBUTTONDOWN
  3097. (leftover from the container_selected days, I'd wager). fixes bug
  3098. #80546.
  3099. 2007-01-18 Jonathan Pobst <[email protected]>
  3100. * Control.cs: Apply patch from George to fix the new testcase on
  3101. bug #80451. We can't just check for Color.Transparent, we need
  3102. to check if the back color's alpha channel is < 255.
  3103. 2007-01-18 Jonathan Pobst <[email protected]>
  3104. * Form.cs: Move setting show_icon = true to before the constructor
  3105. so that the base constructor has that information when it calculates
  3106. the form's size. Was causing forms to be (6, 6) bigger than they
  3107. were supposed to be. Thanks for catching this Rolf!
  3108. 2007-01-18 Jackson Harper <[email protected]>
  3109. * TextControl.cs: When replacing a selection we need to invalidate
  3110. from the initial selection start, because selection start is moved
  3111. to the end of the replacement.
  3112. 2007-01-18 Andreia Gaita <[email protected]>
  3113. * LinkLabel.cs: Missing ControlStyles. Fixes #80482
  3114. 2007-01-18 Chris Toshok <[email protected]>
  3115. * DataGridTextBoxColumn.cs: fix most of the NotWorking unit tests
  3116. I just added.
  3117. 2007-01-17 Everaldo Canuto <[email protected]>
  3118. * ToolBar.cs: Add layout methods to ToolBarButtonInfo class, every
  3119. layout methods and properties from ToolBarButton must be available
  3120. into ToolBarButtonInfo.
  3121. 2007-01-17 Jonathan Pobst <[email protected]>
  3122. * Control.cs: If the control has a transparent background, we
  3123. need to refresh it when it moves and when it's parent's background
  3124. image changes. [Fixes bug #80451]
  3125. 2007-01-17 Jonathan Pobst <[email protected]>
  3126. * XplatUIWin32.cs: Don't use 2.0 methods in 1.1 code! Doh!
  3127. 2007-01-17 Jonathan Pobst <[email protected]>
  3128. * XplatUIWin32.cs: Implement proper double buffering for Windows.
  3129. [Fixes bug #80447, and probably speeds up things as well]
  3130. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3131. * XplatUIX11.cs: Caption height for MDI children is 19, not 26.
  3132. * XplatUIWin32.cs: We need to recalculate NC size after changing
  3133. window style to toolwindow (otherwise the client rectangle will be
  3134. 3 pixels to small for some reason).
  3135. * MdiWindowManager.cs: Revert NC size calculations to match how
  3136. they are calculated only based on window styles (to match
  3137. Win32AdjustWindowRectEx, since otherwise when setting size or
  3138. location, Control will call Win32AdjustWindowRectEx to update client
  3139. size, which would provoke a paint, then we'd get a NCCALCSIZE and
  3140. calculate a different value of client size causing another paint
  3141. (and flickering))
  3142. * InternalWindowManager.cs: When moving or resizing a window only
  3143. update size or location if they actually changed.
  3144. * ThemeWin32Classic.cs: ManagedWindowsBorderWidth is now 4 instead of 3
  3145. (seems to match Windows behaviour better). Cleaned up
  3146. ManagedWindowDecorations to draw what's needed and nothing else
  3147. (was drawing borders and lines where they shouldn't be)
  3148. * Hwnd.cs: GetWindowRectangle now knows about MDI border sizes
  3149. (style = 0xFFFF) and takes into account caption height when
  3150. calculating window rectangle.
  3151. 2007-01-16 Everaldo Canuto <[email protected]>
  3152. * ToolBar.cs: Internal ToolBarButtonInfo class added, Because same button
  3153. can be added to toolbar multiple times, we need to maintain a list of
  3154. button information for each positions.
  3155. 2007-01-16 Everaldo Canuto <[email protected]>
  3156. * ToolBar.cs: Some small stetic changes.
  3157. 2007-01-16 Jackson Harper <[email protected]>
  3158. * TextBoxBase.cs: Use the new SuspendRecalc/ResumeRecalc methods
  3159. that allow us to have nested recalc = false blocks.
  3160. - Add paste support for images in the RichTextBox
  3161. * RichTextBox.cs: flush the text after the color is changed, so
  3162. the change takes effect.
  3163. - Use SuspendRecalc
  3164. - Some extra debugging info
  3165. * TextControl.cs: Tags no longer track their length, it is just
  3166. computed from the next tags length, this makes things a little
  3167. simpler and reduces places that we have to track length changes.
  3168. - Refactored the linetag class a little so we could make it
  3169. a base class for different kinds of tags
  3170. - Created a image tag, a tag that can have a single image inserted
  3171. into it
  3172. - Replace the norecalc flag with a Suspend/Resume Recalc pair, so
  3173. that we can call suspend multiple times.
  3174. - Add some debugging methods
  3175. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3176. * MdiClient.cs: Add ActivatePreviousChild for
  3177. mdi child window navigation.
  3178. * Form.cs: Use MdiClient.ActivateNextChild/
  3179. ActivatePreviousChild instead of Form.SelectNextControl
  3180. to select the next/previous child since
  3181. SelectNextControl doesn't do it in the same order
  3182. as mdi children should do it.
  3183. 2007-01-16 Chris Toshok <[email protected]>
  3184. * Control.cs: remove container_selected field.
  3185. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3186. * MdiClient.cs: Update main form's ActiveChild when
  3187. updating keyboard focus for the mdi child.
  3188. 2007-01-16 Jonathan Pobst <[email protected]>
  3189. * Control.cs: PreferredSize fix.
  3190. * Form.cs: Add several 2.0 events, properties, and methods.
  3191. 2007-01-16 Gert Driesen <[email protected]>
  3192. * Form.cs: Provide meaningful message when MdiParent is assigned a
  3193. Form that is not an MdiContainer.
  3194. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3195. * MdiClient.cs: Update main form's ActiveChild when
  3196. activating a mdi child.
  3197. 2007-01-16 Rolf Bjarne Kvinge <[email protected]>
  3198. * MdiWindowManager.cs: Fix NRE when merging menus and main form
  3199. doesn't have a menu.
  3200. * Form.cs: Request NCRecalc after creating a mdi child window.
  3201. Implement mdi key handling (Ctrl+F4, Ctrl+Shift+F4, Ctrl+Tab,
  3202. Ctrl+Shift+Tab, Ctrl+F6 and Ctrl+Shift+F6).
  3203. * MdiClient.cs: Add new method SendFocusToActiveChild that either
  3204. sends keyboard focus to the active child, or to the MdiClient
  3205. if there are no child forms.
  3206. 2007-01-15 Chris Toshok <[email protected]>
  3207. * ListView.cs: drop the *Internal overrides, just do our work in
  3208. ItemControl's WndProc instead.
  3209. * UpDownBase.cs: a few large changes. Fix up the Selectable state
  3210. of the various controls, and forward the events properly (in the
  3211. same manner as MS) from the textbox to the UpDown. Also the
  3212. ActiveControl of the UpDownBase gets set properly now. Finally,
  3213. we don't call UpdateEditText from the ctor. Fixes bug #79957.
  3214. * NumericUpDown.cs: set Text in the ctor.
  3215. * DomainUpDown.cs: call UpdateEditText in the ctor.
  3216. * TextBox.cs: on ms.net, WM_LBUTTONDOWN sets focus on the textbox,
  3217. so even a Selectable = false textbox can be focused if you click
  3218. in it. Go figure.
  3219. * Control.cs: remove On{Got,Lost}FocusInternal. Subclasses can
  3220. just add their handling in their respective WndProc's. Also add
  3221. an explicit FocusInternal method that doesn't consult CanFocus
  3222. before calling Select(this).
  3223. * TextBoxBase.cs: deal with removal of the FocusInternal calls -
  3224. do our work in WndProc instead.
  3225. * TabControl.cs: same.
  3226. * ComboBox.cs: same.
  3227. 2007-01-15 Everaldo Canuto <[email protected]>
  3228. * Menu.cs: implement MergeItems and Replace for MenuMerge method.
  3229. Fixes #80006.
  3230. 2007-01-15 Carlos Alberto Cortez <[email protected]>
  3231. * ListViewItem.cs:
  3232. * ThemeWin32Classic.cs: Don't draw the item text outside
  3233. item bounds in Details view, as well as use trimming.
  3234. Fixes bug #80376.
  3235. 2007-01-15 Jonathan Pobst <[email protected]>
  3236. * Form.cs: Implement Form.ShowIcon.
  3237. * XplatUIWin32.cs: Allow the SetIcon win32 call to set the icon to
  3238. null, which when combined with the DlgModalFrame window style removes
  3239. the icon from the title bar.
  3240. 2007-01-15 Jonathan Pobst <[email protected]>
  3241. * Control.cs: Call OnMouseClick after OnClick. (2.0)
  3242. 2007-01-15 Everaldo Canuto <[email protected]>
  3243. * MdiWindowManager.cs: In CreateMaximizedMenu fix a position of icon
  3244. menu when mdi child windows theres a menu, uses insert to get icon
  3245. at first position. Partially fix #80006.
  3246. 2007-01-15 Jonathan Pobst <[email protected]>
  3247. * Clipboard.cs: Implement 2.0 methods.
  3248. 2007-01-15 Everaldo Canuto <[email protected]>
  3249. * Menu.cs: Implement Insert method of MenuItemCollection class
  3250. to fix MenuMerge.
  3251. 2007-01-14 Carlos Alberto Cortez <[email protected]>
  3252. * ListView.cs: Implement 2.0 FindItemWithText method.
  3253. 2007-01-11 Everaldo Canuto <[email protected]>
  3254. * Form.cs: When process WM_NCCALCSIZE message use ClienSize.Width
  3255. to calculate menu bar size. Fixes #80290.
  3256. 2007-01-11 Everaldo Canuto <[email protected]>
  3257. * ThemeWin32Classic.cs: Fix position of menuitem check mark.
  3258. 2007-01-11 Chris Toshok <[email protected]>
  3259. * XplatUIX11.cs: don't send duplicate WM_ACTIVATE messages to the
  3260. initial form.
  3261. 2007-01-11 Chris Toshok <[email protected]>
  3262. * LinkLabel.cs: make sure to call base.Select in our Select method
  3263. if it turns out we're going to be selected (i.e. if we have a link
  3264. that is going to receive focus). That way our container's
  3265. ActiveControl is updated properly.
  3266. 2007-01-11 Chris Toshok <[email protected]>
  3267. * LinkLabel.cs: turns out that LinkLabels are only Selectable if
  3268. they have 1 or more links. this fixes the crash gert reported.
  3269. 2007-01-11 Andreia Gaita <[email protected]>
  3270. * ContainerControl.cs: Remove ContainerSelected flag, not needed
  3271. anymore.
  3272. * Control.cs (Controls.Add): Check if control to be added to the collection
  3273. is a top level control, and throw an ArgumentException if it is.
  3274. Remove ContainerSelectedFlag, not needed anymore.
  3275. * XplaUIWin32.cs (SetTopMost): Add flag SWP_NOACTIVATE so that setting the
  3276. top most control doesn't activate the form. This fixes a problem in the
  3277. MessageBox, where the default button wouldn't get focus because the form
  3278. was activated before being Loaded - when the Owner is set, SetTopMost is
  3279. called, and it would activate it.
  3280. 2007-01-11 Jonathan Pobst <[email protected]>
  3281. * Button.cs: When clicked and setting the parent form's DialogResult,
  3282. use FindForm instead of Parent, since parent could be a container
  3283. control and not the Form. Fixes bug #80495.
  3284. 2007-01-10 Chris Toshok <[email protected]>
  3285. * Form.cs: move the call to SendControlFocus into the same
  3286. is_loaded check.
  3287. 2007-01-10 Chris Toshok <[email protected]>
  3288. * UpDownBase.cs (.ctor): remove the ActiveControl assignment here.
  3289. It breaks in the face of the new ActiveControl stuff, and should
  3290. be unnecessary.
  3291. * Form.cs (WndProc): in the WM_ACTIVATE case, we need to set the
  3292. activecontrol's focus if it's not already set, after we set
  3293. ActiveControl, but before we call OnActivated. Re-fixes #79667
  3294. after the previous focus/active control fixes regressed it.
  3295. * Control.cs: reindent some code.
  3296. 2007-01-10 Chris Toshok <[email protected]>
  3297. * Splitter.cs: clearing some outstanding changes from my tree.
  3298. Replace all accesses (not writes) to the internal dock_style field
  3299. with the Dock property.
  3300. 2007-01-10 Chris Toshok <[email protected]>
  3301. * Control.cs: make FireEnter, FireLeave, FireValidating, and
  3302. FireValidated virtual.
  3303. * Form.cs: override and don't chain up calls to FireEnter and
  3304. FireLeave.
  3305. 2007-01-10 Carlos Alberto Cortez <[email protected]>
  3306. * ListView.cs: Add more text padding space when using
  3307. auto resize for columns (the previous value didn't work fine).
  3308. * ThemeWin32Classic.cs: Update text position inside columns,
  3309. to match the appeareance of .Net.
  3310. * ColumnHeader.cs: When using auto resize, only the Width should
  3311. depend on the sub items, not the Height. Also, set width after
  3312. auto resizing (the value of Width should never remain as -1 or -2).
  3313. 2007-01-10 Chris Toshok <[email protected]>
  3314. * Application.cs: fix compilation errors when debug is enabled.
  3315. 2007-01-10 Chris Toshok <[email protected]>
  3316. * ContainerControl.cs (set_ActiveControl): rework this a bit (and
  3317. add some nice ascii art pictures and explanation of the process).
  3318. (GetMostDeeplyNestedActiveControl): new utility function we need
  3319. because our ActiveControl can refer to a child container with its
  3320. own ActiveControl.
  3321. * Form.cs (OnActivated): remove the call to SelectActiveControl
  3322. from here, since you can override this method and not chain up,
  3323. and winforms still sets the active control.
  3324. (OnCreateControl): also remove the unnecessary SelectActiveControl
  3325. call from here.
  3326. (WndProc): it's actually called from the WM_ACTIVATE block, just
  3327. before calling OnActivated.
  3328. * Control.cs (Select (Control)): move the call to XplatUI.SetFocus
  3329. inside the else. the ActiveControl setter will end up setting
  3330. focus on @control. This keeps us from setting it again (and
  3331. generating an extra LostFocus/GotFocus pair).
  3332. (Select (bool, bool)): reindent.
  3333. 2007-01-10 Jonathan Pobst <[email protected]>
  3334. * FlowLayoutPanel.cs, MenuStrip.cs, SplitContainer.cs, SplitterPanel.cs,
  3335. StatusStrip.cs, TableLayoutPanel.cs, TableLayoutStyleCollection.cs,
  3336. ToolStrip.cs, ToolStripComboBox.cs, ToolStripContainer.cs,
  3337. ToolStripContentPanel.cs, ToolStripControlHost.cs, ToolStripDropDown.cs,
  3338. ToolStripDropDownButton.cs, ToolStripDropDownItem.cs, ToolStripDropDownMenu.cs,
  3339. ToolStripItem.cs, ToolStripMenuItem.cs, ToolStripPanel.cs, ToolStripPanelRow.cs,
  3340. ToolStripSeparator.cs, ToolStripSplitButton.cs, ToolStripStatusLabel.cs
  3341. ToolStripTextBox.cs: Another wave of corcompare work.
  3342. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  3343. * ColumnHeader.cs: Implement 2.0 AutoResize method using
  3344. the Width property.
  3345. * ListView.cs: Implement 2.0 AutoResizeColumn and AutoResizeColumns
  3346. methods by callling Column.AutoResize method on columns.
  3347. 2007-01-09 Jonathan Pobst <[email protected]>
  3348. * Control.cs: Provide proper implementations of PreferredSize
  3349. and GetPreferredSize (2.0).
  3350. 2007-01-09 Jonathan Pobst <[email protected]>
  3351. * Form.cs: Remove one character (!) to make my previous OnClosing
  3352. stuff work for modal windows like MessageBox.
  3353. 2007-01-09 Carlos Alberto Cortez <[email protected]>
  3354. * ListView.cs:
  3355. * ThemeWin32Classic.cs: Use ListView.GetReorderedColumn instead of
  3356. ListView.Columns to get the last displayed column. Fixes #80452.
  3357. 2007-01-09 Everaldo Canuto <[email protected]>
  3358. * Label.cs, LinkLabel.cs: Source code identation fixes.
  3359. 2007-01-08 Everaldo Canuto <[email protected]>
  3360. * ToolBarButton.cs: Remove InvalidateBorder and use Invalidate instead,
  3361. we dont need to invalidate only borders because when we invalidate four
  3362. border lines the invalidate's generates a complete redraw of button,
  3363. because it now invalidate a complete rect some other redraws operations
  3364. are fixed. Fixes #80196.
  3365. * Theme.cs, ThemeNice.cs, ThemeClearLooks.cs, ThemeWin32Classic.cs:
  3366. Remove ToolBarInvalidateEntireButton as it is not used.
  3367. 2007-01-08 Jonathan Pobst <[email protected]>
  3368. * Form.cs: Make sure that both OnClosing and OnFormClosing are
  3369. called for 2.0 profile.
  3370. * CloseReason.cs: Make class internal for 1.1.
  3371. 2007-01-08 Jonathan Pobst <[email protected]>
  3372. * ToolStripManager.cs: Implement FindToolStrip functionality.
  3373. * ToolStrip.cs: Register and unregister with ToolStripManager.
  3374. 2007-01-07 Jonathan Pobst <[email protected]>
  3375. * Control.cs: This was messy. 2.0 moves much of ControlCollection
  3376. to ArrangedElementCollection. Implemented this with as few #if's as
  3377. possible (which is still too many).
  3378. 2007-01-07 Jonathan Pobst <[email protected]>
  3379. * Control.cs: Implement SizeFromClientSize() [2.0].
  3380. 2007-01-07 Everaldo Canuto <[email protected]>
  3381. * Hwnd.cs: On GetClientRectangle add a new parameter border_static,
  3382. use Theme.BorderSize to calculate area instead of static value 1,
  3383. by the way use new BorderStaticSize instead Border3DSize when
  3384. border_static is true. Fixes #79537.
  3385. * XplatUIOSX.cs: Fix call to GetClientRectangle.
  3386. * ThemeWin32Classic.cs: On CPDrawBorder3D dont draw inner border when
  3387. it is not needed.
  3388. 2007-01-06 Everaldo Canuto <[email protected]>
  3389. * Hwnd.cs: Gives more code legibility to GetWindowRectangle.
  3390. 2007-01-06 Everaldo Canuto <[email protected]>
  3391. * Label.cs: Override CreateParams to use WS_EX_STATICEDGE instead of
  3392. WS_EX_CLIENTEDGE in ExStyles when BorderStyle is Fixed3D, it is
  3393. * Hwnd.cs:
  3394. - border_static field added, it will used to define when a control
  3395. theres 3D border but it must be static (thin).
  3396. - In GetWindowRectangle use Theme.BorderSize to calculate area
  3397. instead of static value 1, by the way use new BorderStaticSize instead
  3398. Border3DSize when border_static is true.
  3399. * XplatUIX11.cs, XplatUIOSX.cs:
  3400. - When WS_EX_STATICEDGE ExStyle is set define border_static as true.
  3401. * Theme.cs: BorderStaticSize field added.
  3402. 2007-01-05 Everaldo Canuto <[email protected]>
  3403. * XplatUIX11.cs: Removed unused hwnd var in SetBorderStyle.
  3404. 2007-01-05 Everaldo Canuto <[email protected]>
  3405. * Control.cs: Under InternalBorderStyle call RecreateHangle to
  3406. mimic same behavior than win32 that set border only in CreateParams,
  3407. it fix problems under CreateParams overrides. Fix #79442 and partial
  3408. fix #79537.
  3409. * XplatUIX11.cs: Dont set hwnd.border_style in SetBorderStyle instead
  3410. of thi control you must call recreate handle.
  3411. * XplatUIWin32.cs: Remove all SetBorderStyle code, for win32 we dont
  3412. need to do anything as RecreateHangle will take care about borders.
  3413. 2007-01-05 Mike Kestner <[email protected]>
  3414. * ListView.cs: hack to eliminate Lost/Got focus notifications on
  3415. cycles between the ItemControl and parent. Fixes #80388.
  3416. 2007-01-05 Gert Driesen <[email protected]>
  3417. * Control.cs: Lazy init layout engine. Do not directly use
  3418. layout_engine since LayoutEngine may be overridden (on 2.0 profile).
  3419. 2007-01-05 Chris Toshok <[email protected]>
  3420. * DataGrid.cs: don't forceably rebind columns in SetDataSource
  3421. unless our list manager has changed (i.e. unless we have reason to
  3422. believe our columns have changed). Fixes #80422.
  3423. also, disable the call do BindColumns in
  3424. OnListManagerMetaDataChanged. this breaks this test in 2.0 (in
  3425. 1.1 the event isn't raised in response to a column addition on a
  3426. table.)
  3427. 2007-01-05 Jonathan Pobst <[email protected]>
  3428. * Control.cs: Move LayoutEngine.Layout to the OnLayout method, so
  3429. that inheritors can not call it if they choose. Fixes bug #80456.
  3430. 2007-01-05 Andreia Gaita <[email protected]>
  3431. * XplatUIWin32.cs: Initialize MSG.refobject at 0 so it
  3432. doesn't blow up with a null exception on marshalling.
  3433. 2007-01-05 Jonathan Pobst <[email protected]>
  3434. * Control.cs: Implement several 2.0 protected properties and methods.
  3435. Ensure that all necessary events are being called when properties
  3436. are set.
  3437. 2007-01-05 Mike Kestner <[email protected]>
  3438. * ListView.cs: implement PgUp/PgDn for Details view. Also
  3439. fixes First/LastVisibleIndex to use the item_control.ClientRect
  3440. instead of the parent control. Fixes #80378.
  3441. 2006-01-05 Atsushi Enomoto <[email protected]>
  3442. * PageSetupDialog.cs : cosmetic refactoring; use RegionInfo to
  3443. determine whether to use yard-pound or not (bug #78399).
  3444. 2006-01-04 Alexander Olk <[email protected]>
  3445. * FileDialog.cs: Sebastien fixed the libgdiplus png alpha
  3446. problems. So it is time to bring back the old popupbutton colors.
  3447. 2006-01-04 Carlos Alberto Cortez <[email protected]>
  3448. * ColumnHeader.cs:
  3449. * ListView.cs: Implement 2.0 ColumnHeader.DisplayIndex
  3450. property by using the internal information of the
  3451. columns order in ListView.
  3452. 2007-01-04 Jonathan Pobst <[email protected]>
  3453. * CommonDialog.cs, Cursor.cs, ErrorProvider.cs, HelpProvider.cs:
  3454. Add 2.0 Tag properties.
  3455. * LinkArea.cs: Add 2.0 ToString method.
  3456. 2007-01-03 Chris Toshok <[email protected]>
  3457. * DataGrid.cs: the Alt+0 handling was wrong, it should have been
  3458. Ctrl+0. Fixes bug #80367. Also, don't eat the Delete keypress
  3459. when we're editing, which fixes #80047.
  3460. 2007-01-03 Chris Toshok <[email protected]>
  3461. * Form.cs: apply patch contributed by Dominik Seichter. fixes
  3462. #80404.
  3463. 2007-01-03 Jonathan Pobst <[email protected]>
  3464. * MenuStrip.cs, ToolStripMenuItem.cs: Add MdiWindowListItem
  3465. property and implementation.
  3466. * Form.cs, MdiClient.cs, MdiWindowManager.cs: Add needed hooks
  3467. for MdiWindowListItem property.
  3468. * ToolStripDropDown.cs: Don't consider hidden menu items while
  3469. laying out the menu.
  3470. 2007-01-03 Andreia Gaita <[email protected]>
  3471. * SendKeys.cs: window handle is not needed in win32, so just
  3472. get the active window for X after parsing keys and don't use
  3473. it when building the message; it is passed by parameter to the
  3474. Xplat method and used there to build the message instead. Also,
  3475. wait for events to be processed on SendWait, as opposed to Send,
  3476. which doesn't wait :) Playing with threads and Send() completely
  3477. hangs on ms.net, only SendWait() works.
  3478. XplatUIX11.cs
  3479. X11Display.cs: Check for valid window handle.
  3480. 2007-01-03 Jackson Harper <[email protected]>
  3481. * TextControl.cs: Need to prevent wrap calculations when replacing
  3482. text (this was there before i removed it accidently).
  3483. - Don't update the cursor during the positioning, just set it to
  3484. selection_start at the end of the operaion.
  3485. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  3486. * Control.cs:
  3487. * NotifyIcon.cs: corcompare work, no more X's in 1.1 class status.
  3488. 2007-01-03 Rolf Bjarne Kvinge <[email protected]>
  3489. * MonthCalendar.cs: Added Click and DoubleClick events again,
  3490. but this time they only hide Control's Click and DoubleClick.
  3491. 2007-01-03 Gert Driesen <[email protected]>
  3492. * Theme.cs: Re-enabled DefaultFont change. Use const to refer to
  3493. System.Drawing assembly. Spaces to tabs. Removed extra tabs.
  3494. 2007-01-02 Jackson Harper <[email protected]>
  3495. * TextBoxBase.cs: We move the caret with the split now, so we
  3496. don't need to explicitly move the caret after splitting. This
  3497. fixes the caret bumping down an extra line on Enter.
  3498. 2007-01-02 Miguel de Icaza <[email protected]>
  3499. * ContainerControl.cs: Add AutoValidateChanged event (for PDN
  3500. 2.72).
  3501. * ScrollableControl.cs: Add Scroll event.
  3502. 2007-01-02 Mike Kestner <[email protected]>
  3503. * ListView.cs: one more try with help from [email protected]
  3504. to fix all hdr height padding codepaths. Fixes #80207.
  3505. 2007-01-02 Chris Toshok <[email protected]>
  3506. * StatusBar.cs (.ctor): remove the Anchor setting, as it's just
  3507. setting it to the Control defaults anyway, and it being after the
  3508. Dock set was screwing up layout.
  3509. (set_Dock): don't short circuit out of setting base.Dock. Also,
  3510. no need to call UpdateStatusBar here, as it'll be re-layed out if
  3511. it needs to be.
  3512. 2007-01-02 Mike Kestner <[email protected]>
  3513. * ListView.cs: patch from [email protected] to add padding
  3514. to header height for width == -1. Fixes the rest of #80207.
  3515. 2007-01-02 Mike Kestner <[email protected]>
  3516. * ListView.cs: rework the mouse event forwarding everaldo added
  3517. to translate the coordinates to the parent control not
  3518. raise the parent events until after we've done our work. Hover
  3519. needs more work, in the case where HoverSelection is on, because
  3520. the item control receives more than one MouseHover per Enter
  3521. event, so we need to ensure only the "first" hover gets forwarded.
  3522. Opening a minor bug for that.
  3523. 2007-01-02 Gert Driesen <[email protected]>
  3524. * CheckedListBox.cs: Fixed SelectionMode to match MS.
  3525. * ListControl.cs: Implemented AllowSelection property. Removed extra
  3526. tabs.
  3527. * ListBox.cs: Implemented AllowSelection property.
  3528. 2007-01-02 Everaldo Canuto <[email protected]>
  3529. * MenuItem.cs: In MdiWindowClickHandler uses sender instead of
  3530. SelectedItem, it prevent for errors when you must disable item
  3531. before perform click. Fixes #80409.
  3532. 2007-01-02 Everaldo Canuto <[email protected]>
  3533. * MenuAPI.cs: Prevent second level and beyond submenus to close
  3534. until first level when move out side of popup.
  3535. 2007-01-02 Everaldo Canuto <[email protected]>
  3536. * MenuAPI.cs:
  3537. - Down submenu positin in three pixels.
  3538. - Closes sub menu when mouse leaves from menu. Fixes #80402.
  3539. 2007-01-02 Everaldo Canuto <[email protected]>
  3540. * ThemeWin32Classic.cs:
  3541. - Fix popup menu size adding one pixel on the top.
  3542. - Down menu item border from two to one to mimic Win32.
  3543. - Some source identation fixes.
  3544. 2007-01-01 Everaldo Canuto <[email protected]>
  3545. * ThemeWin32Classic.cs: Use float numbers to calculate size and
  3546. position of menu arrows, it fix wrong arrow size.
  3547. 2007-01-01 Everaldo Canuto <[email protected]>
  3548. * ThemeWin32Classic.cs: Uses CPDrawBorder3D to draw menu borders
  3549. instead of line, it simplify draw operation and fix it using 3D
  3550. borders to mimic Win32.
  3551. 2007-01-01 Jonathan Pobst <[email protected]>
  3552. * StatusStrip.cs: Add implementation of the sizing grip.
  3553. * ToolStripRenderer.cs, ToolStripProfessionalRenderer.cs: Add
  3554. StatusStrip rendering.
  3555. 2006-12-31 Chris Toshok <[email protected]>
  3556. * ToolBar.cs: don't assign to dock_style in the .ctor. it doesn't
  3557. override the layout style (anchor/dock) of the control. assign to
  3558. Dock instead. Fixes bug #80416.
  3559. * ToolStrip.cs: same.
  3560. 2006-12-31 Andreia Gaita <[email protected]>
  3561. * ContainerControl.cs: Use ContainerSelected flag to check if
  3562. a Container is directly selected, or if Select is called on a
  3563. non-container. If a container is directly selected, focus events
  3564. should not be raised.
  3565. Apply #80411 patch to throw exception on set_ActiveControl if
  3566. control is the same as the current one.
  3567. * Control.cs: Use ContainerSelected flag (see above).
  3568. Add invalidation check to raise event but not invalidate if
  3569. dimensions are 0.
  3570. Apply #80411 patch.
  3571. 2006-12-31 Everaldo Canuto <[email protected]>
  3572. * MenuAPI.cs: After click, dont close popup menu when menu is
  3573. ContextMenu. Fixes #80399.
  3574. 2006-12-30 Chris Toshok <[email protected]>
  3575. * ContainerControl.cs: make sure we throw the exception if the
  3576. container control doesn't contain the control we're setting
  3577. ActiveControl to.
  3578. 2006-12-30 Chris Toshok <[email protected]>
  3579. * Control.cs (SetTopLevel): fix the exception raised by
  3580. SetTopLevel for child controls.
  3581. (set_Anchor): call UpdateDistances when setting the anchor type.
  3582. This fixes bug #80336.
  3583. 2006-12-29 Gert Driesen <[email protected]>
  3584. * Theme.cs: For now, revert back to 8pt font.
  3585. 2006-12-29 Everaldo Canuto <[email protected]>
  3586. * MenuAPI.cs: Set popup as active when open a ContextMenu.
  3587. Fixes #80395.
  3588. 2006-12-29 Chris Toshok <[email protected]>
  3589. * Control.cs: reorder the code in OnResize to give the same event
  3590. ordering as MS.
  3591. 2006-12-29 Rolf Bjarne Kvinge <[email protected]>
  3592. * MdiClient.cs: Implemented MdiLayout for ArrangeIcons,
  3593. TileHorizontally and TileVertically.
  3594. 2006-12-29 Alexander Olk <[email protected]>
  3595. * ColorDialog.cs, FileDialog.cs, FolderBrowserDialog.cs,
  3596. FontDialog.cs, Mime.cs, MimeIcon.cs, OpenFileDialog.cs,
  3597. SaveFileDialog.cs, ThemeClearlooks.cs, ThemeNics.cs:
  3598. Corrected copyright and email adress.
  3599. 2006-12-29 Gert Driesen <[email protected]>
  3600. * TreeNode.cs: On 2.0 profile, throw InvalidOperationException instead
  3601. of Exception in FullPath property if no TreeView is associated with
  3602. the TreeNode.
  3603. 2006-12-29 Gert Driesen <[email protected]>
  3604. * Theme.cs: Marked default_font as private, and initialize it in ctor
  3605. with MS Sans Sarif 8.25 on 1.0 profile, and SystemFonts.DefaultFont
  3606. on 2.0 profile.
  3607. * ThemeGtk.cs: Removed default_font intialization.
  3608. * ThemeWin32Classic.cs: Removed default_font initialization.
  3609. 2006-12-28 Chris Toshok <[email protected]>
  3610. * Control.cs: fix a couple of place where we were creating handles
  3611. more aggressively than we should be. Fixes ControlRefresh unit
  3612. tests.
  3613. 2006-12-28 Chris Toshok <[email protected]>
  3614. * Control.cs: contrary to what the comment said, Control.Dock does
  3615. not supercede Control.Anchor - the last one you assign to decides
  3616. the layout behavior. so we need to keep track of which was the
  3617. last set. Also, fix some of the affected property arguments in
  3618. PerformLayout calls, and remove an redundant parent.PerformLayout
  3619. call in OnResized.
  3620. Add a VisibleInternal property, which returns is_visible. We
  3621. can/should get rid of all the usage of this field elsewhere.
  3622. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3623. * Control.cs: DoubleBuffered property reflects the OptimizedDoubleBuffer
  3624. control style, not DoubleBuffer. Added UseDoubleBuffering property
  3625. that indicates whether doublebuffering is enabled and supported.
  3626. (comment from and code based on Gert Driesen's patch in #80324).
  3627. Fixes #80324.
  3628. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3629. * Control.cs: Fixed a NRE.
  3630. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3631. * TrackBar.cs: Fix SmallChange and LargeChange exceptions
  3632. for 2.0.
  3633. 2006-12-28 Rolf Bjarne Kvinge <[email protected]>
  3634. * Control.cs: Rewrote double buffering, now a seperate
  3635. class handles all the buffering, no Graphics is disposed of
  3636. until the painting is finished (earlier implementation
  3637. would crash if the control was resized in the OnPaint,
  3638. since it would cause the double buffer to be recreated
  3639. and the old one disposed), a separate Graphics is
  3640. created for every paint (MS behaviour and anyways the state
  3641. of the Graphics would have to be saved and restored otherwise)
  3642. * XplatUIDriver.cs:
  3643. * XplatUIX11.cs:
  3644. * XplatUI.cs: Added and implemented GetOffscreenGraphics
  3645. so that we can get the graphics for the back buffer without
  3646. having to create a new one and remove the offscreen_dc parameter
  3647. from CreateOffscreenDrawable and DestroyOffscreenDrawable.
  3648. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  3649. * ListView.cs: Add key-related 2.0 methods for CheckedItemCollection.
  3650. Also make virtual all the key-related methods.
  3651. * ListViewItem.cs: Make virtual the key related methods for
  3652. ListViewSubItemCollection.
  3653. 2006-12-27 Carlos Alberto Cortez <[email protected]>
  3654. * ListView.cs:
  3655. * ListViewItem.cs:
  3656. * ThemeWin32Classic.cs:
  3657. * Theme.cs: Initial support for Tile view in ListView,
  3658. as well as the implementation of the required bits for it (Item
  3659. and Subitem).
  3660. 2006-12-27 Gert Driesen <[email protected]>
  3661. * MonthCalendar.cs: On 2.0, throw ArgumentOutOfRangeException instead
  3662. of ArgumentException in MaxSelectionCount, MaxDate and MinDate.
  3663. Provide useful exception messages.
  3664. 2006-12-27 Rolf Bjarne Kvinge <[email protected]>
  3665. * TrackBar.cs: Remove a warning.
  3666. * MonthCalendar.cs: Moved back to using Capture to hide the calendar
  3667. when used by DateTimePicker, fixes #80287. This also requires that
  3668. MonthCalendar implements it's own drawing for the yearly updown control,
  3669. otherwise the Capture tracking would be too complicated. Removed the Click
  3670. and DoubleClick events (according to comments they were hiding the base class
  3671. event to prevent them from beeing fired - MSDN only says MonthCalendar doesn't
  3672. raise these events, not that they cannot be raised. It is possible to raise
  3673. them by calling OnClick and OnDoubleClick). Added two internal fields in
  3674. HitTestInfo in order to track give more tracking info needed by MonthCalendar.
  3675. * ThemeWin32Classic.cs: Implement drawing of MonthCalendar's updown part.
  3676. * DateTimePicker.cs: Removed handling of MonthCalendar's LostFocus
  3677. event, no longer needed.
  3678. 2006-12-27 Gert Driesen <[email protected]>
  3679. * ScrollableControl.cs: In AutoScrollMinSize, only set AutoScroll to
  3680. true if new value differs from current value.
  3681. 2006-12-27 Gert Driesen <[email protected]>
  3682. * Control.cs: ControlCollection.Count must be public. Fixed build of
  3683. unit tests.
  3684. 2006-12-27 Gert Driesen <[email protected]>
  3685. * ListView.cs: Redraw when FullRowSelect is changed. Fixes bug #80379.
  3686. 2006-12-27 Gert Driesen <[email protected]>
  3687. * ComboBox.cs: Mergable=>MergableProperty. Fixes build.
  3688. 2006-12-26 Everaldo Canuto <[email protected]>
  3689. * Control.cs: Invalidates control including when Width and Height is
  3690. equal zero or is not visible, only Paint event must be care about
  3691. this. Fixes #79913.
  3692. 2006-12-26 Chris Toshok <[email protected]>
  3693. * CurrencyManager.cs, PropertyManager.cs, BindingManagerBase.cs:
  3694. more corcompare work.
  3695. * DataGridView.cs: fix compiler warning.
  3696. * ColumnHeader.cs: some corcompare work, and also take the
  3697. opportunity to make the internal fields private.
  3698. * ListView.cs: fix the fallout from the above field change.
  3699. 2006-12-26 Jonathan Pobst <[email protected]>
  3700. * ToolStripButton.cs, ToolStripComboBox.cs, ToolStripControlHost.cs,
  3701. ToolStripItem.cs, ToolStripProgressBar.cs, ToolStripSplitButton.cs,
  3702. ToolStripTextBox.cs: Fixes to events and corcompare.
  3703. 2006-12-26 Everaldo Canuto <[email protected]>
  3704. * ListView.cs: Call owner.OnMousexx event to propagate events from
  3705. item to ListView. Fixes #80367.
  3706. 2006-12-26 Gert Driesen <[email protected]>
  3707. * ComboBox.cs: On 2.0, DropDownWidth throws ArgumentOutOfRangeException
  3708. if value is less than one. ItemHeight should not be set to a value
  3709. less than 1, and throw ArgumentOutOfRangeException on 2.0 profile.
  3710. Removed extra tabs.
  3711. 2006-12-26 Jonathan Pobst <[email protected]>
  3712. * ToolStripMenuItem.cs: Add ShortcutDisplayString for Moma.
  3713. * ToolStripStatusLabel.cs: Add Spring for Moma.
  3714. 2006-12-26 Gert Driesen <[email protected]>
  3715. * DataGridView.cs: Fixed several NullReferenceException in On* methods.
  3716. Fixed code formatting. Removed debug code.
  3717. * DataGridViewTextBoxEditingControl.cs: Removed debug code.
  3718. 2006-12-26 Gert Driesen <[email protected]>
  3719. * DataGridView.cs: Fixed GridColor, DefaultSize, DefaultCellStyle,
  3720. RowHeadersDefaultStyle, RowHeadersWidth to match MS. Throw
  3721. ArgumentOutOfRangeException if ColumnCount is negative. In
  3722. ColumnHeadersHeight, throw ArgumentOutOfRangeException if height is
  3723. less than 4 or higher than 32768.
  3724. * DataGridViewCellStyle.cs: Fixed default value for NullValue.
  3725. Fixed FormatProvider to return CurrentCulture unless explicitly set.
  3726. Fixed IsFormatProviderDefault to return true if FormatProvider has
  3727. not been explicitly set.
  3728. 2006-12-25 Chris Toshok <[email protected]>
  3729. * Application.cs: add a couple of 2.0 events.
  3730. 2006-12-25 Chris Toshok <[email protected]>
  3731. * Control.cs: fix compiler warning.
  3732. * AxHost.cs: corcompare fixes.
  3733. * ApplicationContext.cs: corcompare fixes.
  3734. 2006-12-25 Chris Toshok <[email protected]>
  3735. * Control.cs: only update dist_right/dist_bottom if the
  3736. width/height is > 0. this fixes anchored controls being resized
  3737. smaller until they disappear and then resized larger again.
  3738. 2006-12-25 Chris Toshok <[email protected]>
  3739. * Control.cs: a couple of changes. Remove dist_left and dist_top,
  3740. since they're nothing more than X/Left and Y/Top, respectively.
  3741. Also, move back to a per-control Bitmap/Graphics for
  3742. DeviceContext, since using the static Hwnd.bmp/bmp_g is bad in the
  3743. MT case. Go with a tiny bitmap though, 1x1, instead of Width x
  3744. Height.
  3745. 2006-12-25 Miguel de Icaza <[email protected]>
  3746. * MessageBox.cs: Implemented overload that takes a new "bool
  3747. displayHelpButton" by adding a new internal field "show_help".
  3748. When clicked this will raise the HelpRequested on the owner or the
  3749. main form.
  3750. From: 007dbe3ff0ca4729a4f5fcd1d8ab2a2e.txt
  3751. From: c935e12b95fe4dc1ae670e7f4dc5fd68.txt
  3752. * ListView.cs: Add support ColumnWidthChanged and
  3753. ColumnWidthChanging.
  3754. Add support for ColumnReordered event.
  3755. (ReorderColumn): Add NET_2_0 specific support for cancelling the
  3756. reorder.
  3757. Very nice codebase!
  3758. * TextBoxBase.cs (GetLineFromCharIndex): Implement this method.
  3759. This is used by report f4ae0a88a0a244558aaadf017c9b9efe.
  3760. 2006-12-24 Chris Toshok <[email protected]>
  3761. * GridTablesFactory.cs: 2.0 corcompare work.
  3762. * ToolStripContainer.cs: add "override" to
  3763. ContextMenuStripChanged, and remove the local event object.
  3764. * ToolStripDropDown.cs: same with a couple properties.
  3765. * ToolStripPanel.cs: same with AutoSizeChanged event.
  3766. * TextBoxBase.cs: add "override" to AutoSizeChanged.
  3767. * Form.cs: add the remaining 2.0 events, and do some corcompare
  3768. attribute work.
  3769. * DateTimePicker.cs: add "new" to padding.
  3770. * ButtonBase.cs: use Control's use_compatible_text_rendering.
  3771. * ToolStripContentPanel.cs: use base.AutoSizeChanged.
  3772. * DataGridView.cs: PaddingChanged is overridden.
  3773. 2006-12-24 Chris Toshok <[email protected]>
  3774. * Control.cs: corecompare work here too.
  3775. * DataGridViewElement.cs, DataGridView.cs,
  3776. DataGridViewButtonCell.cs, DataGridViewRowCollection.cs,
  3777. DataGridViewImageColumn.cs, DataGridViewComboBoxColumn.cs,
  3778. DataGridViewImageCell.cs, DataGridViewCheckBoxCell.cs,
  3779. DataGridViewHeaderCell.cs, DataGridViewCell.cs: more corcompare
  3780. work.
  3781. 2006-12-24 Miguel de Icaza <[email protected]>
  3782. * Control.cs: Switched the error message on the console for a
  3783. todo. A review of the code will have to cope with this anyways
  3784. (since its a large feature, it is in our radar) and it was
  3785. producing too much output when running PDN.
  3786. * ToolStripComboBox.cs: Set the text when the SelectedIndex
  3787. changes. Applications depend on this (PDN 2.72)
  3788. 2006-12-23 Chris Toshok <[email protected]>
  3789. * TableLayoutSettings.cs: finish up the corcompare work for this
  3790. class.
  3791. 2006-12-23 Chris Toshok <[email protected]>
  3792. * Control.cs: make SetImplicitBounds internal, do some futzing
  3793. with LayoutEngine so that it's available in 1.1, and remove the
  3794. entire duplicated code mess from PerformLayout. Use
  3795. System.Windows.Forms.Layout.DefaultLayout instead.
  3796. * LayoutEngine.cs: make this class internal in 1.1, public in 2.0.
  3797. 2006-12-23 Jonathan Pobst <[email protected]>
  3798. * Form.cs: Add MainMenuStrip property.
  3799. 2006-12-23 Jonathan Pobst <[email protected]>
  3800. * Control.cs: Add ContextMenuStrip property and implementation.
  3801. Fix ContextMenu implementation to show menu centered on control when
  3802. activated using the keyboard instead of showing at screen (0,0).
  3803. * ToolStripDropDown.cs: Fix needed overload of Show ().
  3804. 2006-12-23 Everaldo Canuto <[email protected]>
  3805. * Menu.cs: Name property added for 2.0 profile.
  3806. 2006-12-23 Everaldo Canuto <[email protected]>
  3807. * Menu.cs: Update information about FindMenuItem, method to be
  3808. implemented soon.
  3809. 2006-12-23 Everaldo Canuto <[email protected]>
  3810. * MenuAPI.cs: When deselect items deselect also selected subitems.
  3811. 2006-12-23 Everaldo Canuto <[email protected]>
  3812. * MenuAPI.cs: When hides menu set Wnd to null, it prevents
  3813. FindSubItemByCoord to found itens that is not active, also an
  3814. cheking added to FindSubItemByCoord to search for items only
  3815. in visible popup windows. Fixes #80274.
  3816. 2006-12-22 Everaldo Canuto <[email protected]>
  3817. * UserControl.cs: Remove MonoTodo and use InternalBorderStyle,
  3818. internal property, it be care about change ExStyle.
  3819. 2006-12-22 Andreia Gaita <[email protected]>
  3820. * ContainerControl.cs: set activeControl for parent forms up the
  3821. tree when the new activecontrol is a container.
  3822. When validating the active control, if it is a container, also
  3823. raise up the validation for it's active control. Fixes #80280
  3824. * Control.cs: Add internal property flag and check to prevent
  3825. Focus events from getting raised when Select() is called for
  3826. a ContainerControl. There are still too many focus events being
  3827. raised at the moment though.
  3828. Cleaned up the code a bit.
  3829. 2006-12-22 Rolf Bjarne Kvinge <[email protected]>
  3830. * Control.cs: Added all missing 2.0 events.and
  3831. fixed a couple of corcompare issues.
  3832. * TrackBar.cs: Implemented missing 2.0 bits.
  3833. * MonthCalendar.cs,
  3834. * DateTimePicker.cs,
  3835. * MdiClient.cs: Fixed some corcompare issues.
  3836. 2006-12-21 Jonathan Pobst <[email protected]>
  3837. * ContextMenuStrip.cs, FlowLayoutPanel.cs, SplitContainer.cs,
  3838. SplitterPanel.cs: corecompare work.
  3839. 2006-12-21 Jonathan Pobst <[email protected]>
  3840. * ToolStripContainer.cs, ToolStripDropDown.cs, StatusStrip.cs:
  3841. Clean up warnings for BackgroundImageChanged and PaddingChanged
  3842. events now that they are implemented in Control.cs.
  3843. 2006-12-21 Jonathan Pobst <[email protected]>
  3844. * Control.cs: Make sure layout_engine isn't null before using it (2.0).
  3845. * TableLayoutControlCollection.cs, TableLayoutPanel.cs, TableLayoutCellPosition.cs,
  3846. TableLayoutSettings.cs, TableLayoutStyleCollection.cs: Initial implementation
  3847. of TableLayoutPanel and supporting cast.
  3848. 2006-12-21 Rolf Bjarne Kvinge <[email protected]>
  3849. * XplatUIWin32.cs:
  3850. - GrabWindow now confines the mouse pointer to the confine window.
  3851. - Added Win32ClipCursor and Win32GetClipCursor.
  3852. * Control.cs:
  3853. - Added CaptureWithConfine to be able to capture and confine
  3854. mouse pointer.
  3855. * InternalWindowManager.cs:
  3856. - Call CaptureWithConfine instead of Capture if we're an
  3857. MdiChild (fixes #79982).
  3858. 2006-12-21 Chris Toshok <[email protected]>
  3859. * DataGrid.cs: guard against the initial state of selection, where
  3860. selection_start == -1. make sure we only select from index >= 0.
  3861. Fixes bug #80291.
  3862. 2006-12-21 Chris Toshok <[email protected]>
  3863. * Control.cs: we don't need to be so draconian with
  3864. UpdateDistances, and we thusly don't need to call it before
  3865. calling PerformLayout in ResumeLayout. Fixes bug #80289.
  3866. 2006-12-21 Daniel Nauck <[email protected]>
  3867. * ComboBox.cs,
  3868. TextBox.cs: Implemented AutoComplete properties.
  3869. 2006-12-20 Chris Toshok <[email protected]>
  3870. * DataGridView*.cs: some corecompare work.
  3871. 2006-12-20 Jackson Harper <[email protected]>
  3872. * XplatUIX11.cs: We need to hide the caret when deleting it,
  3873. otherwise you get carets left lying around everywhere.
  3874. * TextBoxBase.cs: Kill then redraw the caret when scrolling. This
  3875. prevents getting some weird half drawn caret tracers when
  3876. scrolling.
  3877. * TextControl.cs: Attempt to reduce the number of times we need to
  3878. recreate the caret.
  3879. 2006-12-20 Gert Driesen <[email protected]>
  3880. * MonthCalendar.cs: Fixed previous month button. Removed extra tabs.
  3881. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  3882. * DateTimePicker.cs:
  3883. - Implemented missing 2.0 bits.
  3884. - Changed some default values to match MS.
  3885. 2006-12-20 Jackson Harper <[email protected]>
  3886. * TextBoxBase.cs: When changing the font across the document we
  3887. can't recalculate after changing each line, since that will cahnge
  3888. the line count.
  3889. - PreferredHeight is a little different than i thought.
  3890. - When backspacing, move the caret before we do the actual char
  3891. delete, because when that delete crosses a wrap boundary the
  3892. positional information will change.
  3893. 2006-12-19 Rolf Bjarne Kvinge <[email protected]>
  3894. * Control.cs: Added some missing 2.0 bits:
  3895. BackgroundImageLayout, BackgroundImageLayoutChanged,
  3896. OnPaddingChanged, MouseClick, MouseDoubleClick, PaddingChanged and
  3897. add IBindableComponent and IDropTarget implementation.
  3898. * MonthCalendar.cs:
  3899. - Added all missing 2.0 features:
  3900. BackgroundImageLayout, RightToLeftLayout,
  3901. OnHandleDestroyed, RightToLeftLayoutChanged,
  3902. BackgroundImageLayoutChanged, MouseClick, MouseDoubleClick,
  3903. PaddingChanged.
  3904. - Rewrote all the BoldDate code, it was completely broken.
  3905. - Fixed all the tests (the tests can now be re-enabled, the
  3906. problems were not with the tests, but with the control, it was
  3907. mostly broken).
  3908. * DateTimePicker.cs: Changed the location where the
  3909. MonthCalendar is shown.
  3910. 2006-12-19 Chris Toshok <[email protected]>
  3911. * DataGridView.cs: add IDropTarget implementation.
  3912. * ToolStripPanel.cs: add IDropTarget implementation.
  3913. 2006-12-19 Jackson Harper <[email protected]>
  3914. * TextControl.cs: soft now means something different than what it
  3915. used to mean, we want to move the caret regardless of whether or
  3916. not this break was soft (would we really have wanted the caret
  3917. to not move with the break in the old context?)
  3918. * TreeView.cs: Make sure we factor in the vert scrollbar when
  3919. calculating the horizontal scrollbar's maximum.
  3920. 2006-12-19 Andreia Gaita <[email protected]>
  3921. * SendKeys.cs: Fix Send() behaviour, clear keys after sending,
  3922. check for keywords in alternate casing, close bug #80049.
  3923. 2006-12-19 Chris Toshok <[email protected]>
  3924. * ToolStripItem.cs: add the implementation of the 4 IDropTarget
  3925. methods (which all do nothing).
  3926. * IDropTarget.cs: add the 4 missing methods.
  3927. 2006-12-19 Chris Toshok <[email protected]>
  3928. * TableLayoutRowStyleCollection.cs: corcompare work.
  3929. * TableLayoutSettings.cs: same.
  3930. * TableLayoutStyle.cs: same.
  3931. * TableLayoutColumnStyleCollection.cs: same.
  3932. 2006-12-19 Jonathan Pobst <[email protected]>
  3933. * ColumnStyle.cs, RowStyle.cs, TableLayoutStyle.cs: Plumbing for
  3934. TableLayoutPanel I've had in my local tree for way too long.
  3935. 2006-12-19 Miguel de Icaza <[email protected]>
  3936. * TableLayoutSettings.cs: Finish the public API (still needs all
  3937. the logic to update on changes).
  3938. * TableLayoutPanelCellPosition.cs: new file.
  3939. * TableLayoutRowStyleCollection.cs,
  3940. TableLayoutColumnStyleCollection, TableLayoutStyle.cs,
  3941. TableLayoutSettings.cs: Track the final 2.0 table api.
  3942. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  3943. * ColumnHeader.cs: Add Tag, Name, ImageKey, ImageIndex,
  3944. and Image List 2.0 members for ColummnHeader.
  3945. * ListView.cs: Add key-related 2.0 methods for
  3946. ColumnHeaderCollection.
  3947. 2006-12-19 Gert Driesen <[email protected]>
  3948. * ListViewItem.cs: Changed AddRange overloads to match MS: throw
  3949. ArgumentNullException if items argument is null. Ignore null item in
  3950. arrays. Removed extra tabs.
  3951. 2006-12-19 Gert Driesen <[email protected]>
  3952. * MonthCalendar.cs: Fixed InvalidCastException.
  3953. 2006-12-19 Jackson Harper <[email protected]>
  3954. * TextControl.cs: Don't increment the position here.
  3955. - When calculating char positions only add in the line break size
  3956. for hard line breaks.
  3957. 2006-12-19 Andreia Gaita <[email protected]>
  3958. * SendKeys.cs: Changed some things to match ms.net behaviour
  3959. when parsing shifted capital letters.
  3960. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32, XplatUIOSX:
  3961. Add window handle as parameter to SendInput. X11 needs the
  3962. window handle, and the handle being passed to it in the keys
  3963. queue is the active control handle (which windows needs), not
  3964. the window handle.
  3965. XplatUIX11.cs, XplaUIX11-new.cs, X11Display: Implement SendInput
  3966. to support SendKeys on X.
  3967. * X11Keyboard: Implement helper method to lookup a linux keycode
  3968. given the virtual keycode. Added table of keycode-2-virtualkey
  3969. values to support this.
  3970. 2006-12-19 Carlos Alberto Cortez <[email protected]>
  3971. * ListView.cs: Add support for SelectedIndexCollection
  3972. and SelectedItemCollection 2.0 methods. Implement support
  3973. for ImageKey too.
  3974. * ListViewItem.cs: Add support for ListViewSubItemCollection
  3975. 2.0 methods. Also, fix an incorrect behavior of AddRange method
  3976. (it shouldn't call Clear).
  3977. * ThemeWin32Classic.cs: Support for ListView.ImageKey 2.0 property.
  3978. 2006-12-19 Jackson Harper <[email protected]>
  3979. * RichTextBox.cs:
  3980. * TextBoxBase.cs: New args for FormatText
  3981. * TextControl.cs: Rewrote the main drawing method, this version
  3982. feels a little easier to understand and debug to me. Hopefully it
  3983. does to others also
  3984. - Fix FormatText to OR in the new formating values. Added
  3985. FormatSpecified param, basically this works in the same way as
  3986. BoundsSpecified in Control.
  3987. - Set the caret properties when the caret is positioned.
  3988. - When wrapping text make sure that we calculate the width of the
  3989. last character
  3990. - when calculating alignments we might have wrapped down to the
  3991. next line, so don't search for an individual tag, search for the
  3992. end of the line
  3993. - We need to invalidate the selection area when we replace the
  3994. selection.
  3995. 2006-12-19 Daniel Nauck <[email protected]>
  3996. * Application.cs: add Restart () 2.0 support
  3997. 2006-12-18 Everaldo Canuto <[email protected]>
  3998. * MenuItem.cs: Invalidate menu item rectangle after change Enable
  3999. property. Fixes #80268.
  4000. 2006-12-18 Everaldo Canuto <[email protected]>
  4001. * MenuAPI.cs: Dont trigger select event when closes top menu
  4002. item. Fixes #80270.
  4003. 2006-12-18 Everaldo Canuto <[email protected]>
  4004. * MenuAPI.cs: When you click on menuitem only trigger onselect
  4005. event for top menu itens. Fixes #80271.
  4006. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  4007. * MdiWindowManager.cs: Make IconicBounds depend on
  4008. the bottom of MdiClient, not the top (fixes #80267)
  4009. 2006-12-18 Rolf Bjarne Kvinge <[email protected]>
  4010. * MdiClient.cs: Added missing 2.0 attribute
  4011. 2006-12-18 Carlos Alberto Cortez <[email protected]>
  4012. * ListViewItem.cs: Add Name and Tag 2.0 properties, as well
  4013. as IndexOfKey, ContainsKey, RemoveByKey and indexer 2.0.
  4014. 2006-12-18 Everaldo Canuto <[email protected]>
  4015. * MenuAPI.cs: Fix click when menuitem is not popup,
  4016. this regression was caused by last commit (#80272).
  4017. 2006-12-17 Everaldo Canuto <[email protected]>
  4018. * MenuAPI.cs: When a non-toplevel menuitem is clicked dont
  4019. fire click event or close menu. Fixes #80272.
  4020. 2006-12-17 Daniel Nauck <[email protected]>
  4021. * ListViewHitTestInfo.cs: add
  4022. 2006-12-17 Daniel Nauck <[email protected]>
  4023. * ButtonBase.cs: Added FlatButtonAppearance 2.0 support.
  4024. * FlatButtonAppearance.cs: add
  4025. * DockingAttribute.cs: add
  4026. 2006-12-17 Chris Toshok <[email protected]>
  4027. * DataGrid.cs: hook up MetaDataChanged event on the list manager,
  4028. and rebind our columns when it does - this way, if you make
  4029. changes to the DataTable (or set the Table attribute on a DataView
  4030. after setting it as the DataGrid's DataSource, the changes are
  4031. made visible.) Fixes bug #80107.
  4032. 2006-12-17 Daniel Nauck <[email protected]>
  4033. * ListViewGroup.cs: add internal Location property for layouting.
  4034. * Theme.cs: add abstract ListViewGroupHeight function.
  4035. * ThemeWin32Classic.cs: implement ListViewGroupHeight function.
  4036. 2006-12-16 Andreia Gaita <[email protected]>
  4037. * TabControl.cs: Fixed checks for NET_2_0-specific exceptions.
  4038. Added reset of selected index to 0 when adding first tab page.
  4039. Fixes #80264
  4040. * NumericUpDown.cs: Fix NET_2_0 check
  4041. 2006-12-16 Daniel Nauck <[email protected]>
  4042. * ListViewGroup.cs: fixed DefaultValueAttribute value
  4043. 2006-12-16 Daniel Nauck <[email protected]>
  4044. * AutoCompleteStringCollection.cs: add new AutoCompleteStringCollection 2.0 class
  4045. 2006-12-15 Miguel de Icaza <[email protected]>
  4046. * Button.cs, ComboBox.cs, ScrollBar.cs, UserControl.cs,
  4047. TextBoxBase.cs, ListView.cs, ContainerControl.cs,
  4048. ScrollableControl.cs: Add a handful of methods that are
  4049. overwritten in 2.0
  4050. 2006-12-15 Chris Toshok <[email protected]>
  4051. * XplatUIWin32.cs: initial implementation of the Reversible
  4052. drawing functions. there are some problems. DrawReversibleFrame
  4053. doesn't seem to work at all for Dashed FrameStyle, and in the
  4054. Thick case there are drawing errors at the corners (we probably
  4055. need to bind Rectangle instead of doing moveto/lineto's.)
  4056. 2006-12-16 Andreia Gaita <[email protected]>
  4057. * SendKeys.cs: Implemented. SendKeys uses a new method in XPlatUI, SendInput,
  4058. to send blocks of key messages. Send accumulates keys to send with Flush,
  4059. while SendWait sends all keys immediately.
  4060. * XplaUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  4061. XplatUIX11.cs, XplatUIX11-new.cs:
  4062. - Define SendInput and stubs for OSX and X11, implements Win32 with a call
  4063. to Win32 SendInput.
  4064. - Added INPUT support structures to XplatUIWin32 for Win32SendInput
  4065. Tests: It seems ms.net is hooking the keyboard to implement this, so doing unit
  4066. testing for ms.net on this class is very tricky, as the tests run too fast
  4067. to allow the hook to release, essentially freezing the keyboard and the
  4068. test. So, barring a win32 miracle, they'll be commited in the ms-notworking
  4069. category :p
  4070. 2006-12-16 Daniel Nauck <[email protected]>
  4071. * Padding.cs: fixed serialization compability to MS ("_var" field names),
  4072. added missing attributes.
  4073. 2006-12-15 Daniel Nauck <[email protected]>
  4074. * ListViewGroup.cs: Added missing attributes.
  4075. * ListViewGroupCollection.cs: Added missing attributes.
  4076. 2006-12-15 Daniel Nauck <[email protected]>
  4077. * ListViewItem.cs: fixed ListViewSubItem text property.
  4078. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4079. * Control.cs: Added missing 2.0 attributes
  4080. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4081. * MdiClient.cs: Added missing 2.0 attribute.
  4082. * MonthCalendar.cs: Added some missing 2.0 attributes
  4083. and properties.
  4084. 2006-12-15 Daniel Nauck <[email protected]>
  4085. * ListView.cs: implemented ListViewItemCollection Add 2.0 support.
  4086. 2006-12-15 Jonathan Pobst <[email protected]>
  4087. * MainMenu.cs: Add the new 2.0 constructor to help out people
  4088. using the MainMenu in VS2005.
  4089. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4090. * MdiChildContext.cs: Removed it, no longer used.
  4091. * MdiClient.cs: Added missing 2.0 attributes.
  4092. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4093. * InternalWindowManager.cs: Fix a NullRef with previous
  4094. changes for toolwindows.
  4095. 2006-12-15 Rolf Bjarne Kvinge <[email protected]>
  4096. * Control.cs:
  4097. - Added AfterTopMostControl to allow for certain controls
  4098. to always stay on top when normal controls are brought to
  4099. front.
  4100. * XplatUIWin32.cs:
  4101. - (DrawInversibleRectangle): Get window rectangle from Win32
  4102. in stead of from control, since Win32 doesn't calculate
  4103. screen coords correctly from control's Location if it
  4104. have docked siblings.
  4105. * MdiWindowManager.cs:
  4106. - Correct the control menu popup location when clicked on
  4107. the maximized form icon. (fixes #80223.1)
  4108. - Don't show moving rectangle if mouse hasn't moved from
  4109. the original clicked point.
  4110. - Removed FormGotFocus handler (not used).
  4111. - Calculate the control buttons location from the main
  4112. window's size and not client size (fixes #79770).
  4113. - Form is now closed when the form icon is double-clicked
  4114. (fixes #79775).
  4115. - Correct NCCalcSize numbers a little bit (fixes #80223.2)
  4116. * InternalWindowManager.cs:
  4117. - Moved some MDI-only methods to MdiWindowManager.
  4118. - Removed unused properties and methods.
  4119. - Unified method naming for methods handling wm messages.
  4120. - Moved all message handling to seperate methods for
  4121. each message.
  4122. * ThemeWin32Classic.cs:
  4123. - DrawManagedWindowDecorations now draws the title bar
  4124. with a gradient brush.
  4125. - Add a CPDrawButtonInternal that allows us to specify
  4126. light, normal and dark colors for the buttons (control
  4127. buttons for MDI children were drawn with the same light
  4128. color as the background, therefore loosing the 3D effect).
  4129. * SizeGrip.cs:
  4130. - Add a CapturedControl property that is used to
  4131. determine the control to resize (defaults to parent).
  4132. Needed for MdiClient, since its SizeGrip's parent is
  4133. MdiClient, but the control to resize is the main form.
  4134. * MdiClient.cs:
  4135. - Set SizeGrip's CapturedControl to the main form in order
  4136. to resize the main form and not the MdiClient.
  4137. - Override AfterTopMostControl to leave the scrollbars
  4138. always on top.
  4139. 2006-12-15 Daniel Nauck <[email protected]>
  4140. * ListView.cs: fixed ListViewItemCollection AddRange and
  4141. implemented ListViewItemCollection AddRange 2.0 support.
  4142. 2006-12-15 Daniel Nauck <[email protected]>
  4143. * ListViewGroup.cs: Add.
  4144. * ListViewGroupCollection.cs: Add
  4145. * ListView.cs: Add ListViewGroup (Group) and ShowGroups 2.0 support.
  4146. * ListViewItem.cs: Add ListViewgroup (Group), ListViewGroups constructors and
  4147. stub for ImageKey 2.0 support.
  4148. 2006-12-14 Mike Kestner <[email protected]>
  4149. * ListView.cs: add text padding to the autocalculation for columns
  4150. of width -2. Fixes #80207.
  4151. 2006-12-14 Mike Kestner <[email protected]>
  4152. * ListView.cs: add some index guarding for partial row navigation
  4153. logic. Fixes #80250.
  4154. 2006-12-14 Mike Kestner <[email protected]>
  4155. * ListView.cs: throw ArgumentExceptions when parented ListViewItems
  4156. are added or inserted to the collection. Fixes #81099.
  4157. 2006-12-13 Everaldo Canuto <[email protected]>
  4158. * MenuAPI.cs: Closes menu when right click out side of popup
  4159. it fix problem in ContextMenu and MainMenu. Fixes #80252.
  4160. 2006-12-13 Carlos Alberto Cortez <[email protected]>
  4161. * ListViewItem.cs: Fix dumb error.
  4162. * ListView.cs: Add Find and ContainsKey methods in
  4163. ListViewItemCollection, and also return true for IsReadOnly
  4164. and IsFixedSize (changes for 2.0).
  4165. 2006-12-13 Gert Driesen <[email protected]>
  4166. * Control.cs: Allow Region to be set to null.
  4167. 2006-12-13 Rolf Bjarne Kvinge <[email protected]>
  4168. * MdiWindowManager.cs: Remove unused (commented out) code.
  4169. * Form.cs: When the MdiChild is maximized, the form needs
  4170. WM_NCMOUSELEAVE, so request it.
  4171. * InternalWindowManager.cs:
  4172. - Added tooltips to control buttons.
  4173. - Removed duplicated control button handling code.
  4174. - Removed unused (commented out) code.
  4175. 2006-12-12 Everaldo Canuto <[email protected]>
  4176. * MenuAPI.cs: Set cursor to default in popup menus, a XplatUI.SetCursor
  4177. was used because we must set cursor without trigger ChangeCursor event
  4178. and without change Cursor control property. Fixes #79963.
  4179. 2006-12-12 Andreia Gaita <[email protected]>
  4180. * Control.cs: Check if Region setter value is null, and ignore
  4181. 2006-12-12 Jackson Harper <[email protected]>
  4182. * TextControl.cs: We were almost always drawing one more line then
  4183. needed, since the GetLineByPixel will return the last line found
  4184. at that pixel. In most cases though, we were invalidating up to
  4185. the junction between two lines.
  4186. - Improve debug code.
  4187. 2006-12-12 Chris Toshok <[email protected]>
  4188. * XplatUI.cs: add static DrawReversibleFrame, DrawReversibleLine,
  4189. and FillReversibleRectangle.
  4190. * XplatUIDriver.cs: add abstract DrawReversibleFrame, DrawReversibleLine,
  4191. and FillReversibleRectangle.
  4192. * XplatUIWin32.cs: add stubs which do nothing for
  4193. DrawReversibleFrame, DrawReversibleLine, and
  4194. FillReversibleRectangle.
  4195. * XplatUIOSX.cs: add stubs which raise NIE for
  4196. DrawReversibleFrame, DrawReversibleLine, and
  4197. FillReversibleRectangle.
  4198. * XplatUIX11.cs: add working implementation for
  4199. DrawReversibleFrame, DrawReversibleLine, and
  4200. FillReversibleRectangle.
  4201. * ControlPaint.cs: implement DrawReversibleFrame,
  4202. DrawReversibleLine, and FillReversibleRectangle, by calling into
  4203. the appropriate XplatUI method.
  4204. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4205. * Form.cs: Make MdiClient have the focus even if it's
  4206. not selectable, since it should receive WM_KEY* and WM_MOUSE
  4207. messages. Fixes #79907.
  4208. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4209. * Hwnd.cs: Save the CreateParams.ExStyle so that it can be
  4210. queried after the window is created.
  4211. * XplatUIX11.cs: Added SendParentNotify to implement
  4212. WM_PARENTNOTIFY logic. Fixes #79965.
  4213. * Control.cs: Added MakeParam.
  4214. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4215. * MdiClient.cs: Resume Layout before setting window
  4216. states (fixes #80201).
  4217. 2006-12-11 Rolf Bjarne Kvinge <[email protected]>
  4218. * MenuAPI.cs: Deselect a menu item after performing
  4219. the click (fixes #80197).
  4220. 2006-12-11 Jackson Harper <[email protected]>
  4221. * TextBoxBase.cs: We need to cap this value, since Maximum -
  4222. ViewPortHeight can be less than zero.
  4223. - Only do selection with the left mouse button.
  4224. * TextBox.cs: Don't tell the world that we have a context menu.
  4225. * Control.cs: New method so that we can control whether or not the
  4226. context menu is visible outside MWF.
  4227. 2006-12-11 Everaldo Canuto <[email protected]>
  4228. * ToolBarButton.cs: Fix text positon.
  4229. 2006-12-11 Miguel de Icaza <[email protected]>
  4230. * ProgressBar.cs (MarqueeAnimationSpeed): Add stub.
  4231. * Control.cs (DoubleBuffered): Add implementation.
  4232. * Application.cs (OpenForms): Add.
  4233. 2006-12-11 Jonathan Pobst <[email protected]>
  4234. * Form.cs: Use opacity instead of Opactiy to determine if we need
  4235. to set the WS_EX_LAYERED bit. [Fixes bug #80185]
  4236. 2006-12-11 Jonathan Pobst <[email protected]>
  4237. * Control.cs: Fix NRE if Control.Site was set to null.
  4238. 2006-12-11 Chris Toshok <[email protected]>
  4239. * Control.cs: ControlCollection.Remove should return if the arg is
  4240. null, and ControlCollection.SetChildIndex should raise a ANE.
  4241. 2006-12-11 Gert Driesen <[email protected]>
  4242. * Control.cs: Verify value set for Dock property. Code formatting
  4243. updates.
  4244. 2006-12-11 Jackson Harper <[email protected]>
  4245. * TextControl.cs: Draw the caret and the selection when a flag is
  4246. set on the owner.
  4247. * TextBoxBase.cs: We want to draw the caret and the selection for
  4248. TextBox but not for TextBoxBase.
  4249. - If the window is resized and scrolling is no longer needed (the
  4250. whole doc is visible) set the scroll position to zero.
  4251. - The default SelectWord (the one TextBox uses) should move the
  4252. caret to the end of the word.
  4253. - SelectAll moves the caret to the end of the selection.
  4254. * TextBox.cs: We don't selectall on focus, we just do it when the
  4255. control is created.
  4256. 2006-12-11 Mike Kestner <[email protected]>
  4257. * ComboBox.cs: stub in a 2.0 override for ProcessKeyEventArgs.
  4258. 2006-12-11 Carlos Alberto Cortez <[email protected]>
  4259. * ListView.cs: Add Insert, IndexOfKey, RemoveByKey and indexer
  4260. 2.0 support.
  4261. * ListViewItem.cs: Add Name 2.0 property.
  4262. 2006-12-11 Andreia Gaita <[email protected]>
  4263. * TabControl.cs: Set visibility on selected or default tab
  4264. when tabcontrol handle is created, so that it's contents
  4265. actually show up (duh). Fixes #80193
  4266. Don't redraw the control if there is no handle created, as
  4267. the selected index might be completely invalid. Added some tests
  4268. to check for this.
  4269. 2006-12-11 Everaldo Canuto <[email protected]>
  4270. * ToolBar.cs: Uses maximun width and height of all buttons as
  4271. button rectangle when ButtonSize specified, it looks strange but
  4272. is what happens in Win32. Fixes #80189.
  4273. 2006-12-11 Jackson Harper <[email protected]>
  4274. * TextControl.cs: Need to track undo levels ourself, since
  4275. compound actions will mess them up.
  4276. 2006-12-10 Andreia Gaita <[email protected]>
  4277. * TabControl.cs: Raise SelectedIndexChanged for 1.1 if the
  4278. SelectedIndex value is changed (even if it's not valid).
  4279. Reset SelectedIndex to 0 when the handle is created and if
  4280. the current index is invalid.
  4281. Fixes SelectdeIndex unit tests and #80128
  4282. 2006-12-08 Chris Toshok <[email protected]>
  4283. * DataGrid.cs (set_CurrentCell): because EnsureCellVisibility
  4284. calls EndEdit, it needs to be called before we set current_cell to
  4285. its new value. Otherwise, we end up committing the value in the
  4286. textbox to the new cell as well. Fixes bug #80160.
  4287. 2006-12-08 Chris Toshok <[email protected]>
  4288. * Form.cs (set_CancelButton): if the button's DialogResult is
  4289. None, set it to Cancel. Fixes bug 80180.
  4290. 2006-12-08 Jackson Harper <[email protected]>
  4291. * TextBoxBase.cs: Ugh, ClientSize can be 0,0 sometimes, so we need
  4292. to watch ourselves when setting the canvas size and setting the
  4293. scrollbar values.
  4294. 2006-12-08 Chris Toshok <[email protected]>
  4295. * DataGrid.cs: comment out the two MakeTransparent calls for the
  4296. time being so people using trunk (and not 1.2.2) on windows can
  4297. actually use the datagrid. This deals with bug #80151.
  4298. 2006-12-08 Jonathan Pobst <[email protected]>
  4299. * ThemeWin32Classic.cs: Change ButtonBase_DrawImage to use the
  4300. Graphics.DrawImage (image, int, int, int, int) overload instead
  4301. of Graphics.DrawImage (image, int, int). GDI+ can't figure out
  4302. the dpi difference and was blurring images it drew.
  4303. [Fixes bug #79960]
  4304. 2006-12-08 Chris Toshok <[email protected]>
  4305. * ThemeWin32Classic.cs (DataGridPaintRows): handle case where
  4306. rowcnt is 0 (such as with an empty datasource), and make sure we
  4307. initialize not_usedarea.Y to cells.Y, so we don't draw over the
  4308. other areas (caption, parent row, etc, etc). Fixes bug #80095.
  4309. 2006-12-08 Chris Toshok <[email protected]>
  4310. * DataGridColumnStyle.cs (SetDataGrid): don't try to access a null
  4311. grid.
  4312. 2006-12-08 Chris Toshok <[email protected]>
  4313. [ Fixes bug #80167 ]
  4314. * ThemeWin32Classic.cs: don't draw the image if the button's flat
  4315. style is FlatStyle.System.
  4316. * ButtonBase, ThemeClearlooks.cs, ThemeGtk.cs, ThemeNice.cs: make
  4317. ButtonBase.flat_style private, and switch uses of it to the public
  4318. property.
  4319. 2006-12-08 Chris Toshok <[email protected]>
  4320. [ Fixes bug #80121 ]
  4321. * ThemeWin32Classic.cs: center the caption text in the datagrid
  4322. when we draw it.
  4323. * DataGrid.cs: lessen the amount we add to the caption height from
  4324. 6 to 2. 6 was making it huge.
  4325. 2006-12-08 Andreia Gaita <[email protected]>
  4326. * UpDownBase: Handle MouseWheel call directly instead of capturing
  4327. the inner textbox's OnMouseWheel. Fixes #80166
  4328. 2006-12-08 Jackson Harper <[email protected]>
  4329. * TextControl.cs: We need to invalidate the textbox when we empty
  4330. it (how had this not been discovered before?)
  4331. 2006-12-08 Jackson Harper <[email protected]>
  4332. * TextBoxBase.cs: Reworked the mouse down code so I could get it
  4333. to behave like MS, we now ignore the eventargs.Click and just
  4334. track state ourself, which we were already doing anyways.
  4335. - Constrain the double click handler to the double click size.
  4336. 2006-12-08 Chris Toshok <[email protected]>
  4337. * DataGrid.cs: the mousewheel code shouldn't try to scroll in a
  4338. direction if that scrollbar isn't shown. fixes bug #80158.
  4339. 2006-12-08 Andreia Gaita <[email protected]>
  4340. * NumericUpDown.cs: Update value on getter. Fixes #79950
  4341. 2006-12-08 Chris Toshok <[email protected]>
  4342. * MenuItem.cs: add back in the event cloning code. I didn't know
  4343. how to do it in the face of the EventHandlerList work i'd done
  4344. last week. Fixes bug #80183.
  4345. 2006-12-08 Jonathan Pobst <[email protected]>
  4346. * Control.cs: Add an invalidate to the BackgroundImage setter.
  4347. [Fixes 80184]
  4348. 2006-12-07 Jonathan Pobst <[email protected]>
  4349. * ToolStrip*: Add some small properties reported by MoMA, fix event
  4350. firing and default properties based off of unit tests, and add some
  4351. attributes based off of the class status page.
  4352. 2006-12-07 Jackson Harper <[email protected]>
  4353. * TextBoxBase.cs: Take HideSelection into account when determining
  4354. whether or not to show the selection.
  4355. * RichTextBox.cs: After inserting the RTF into the document move
  4356. the cursor to the beginning of the document.
  4357. 2006-12-07 Jonathan Pobst <[email protected]>
  4358. * Control.cs: Remove static ArrayList "controls" which maintained
  4359. a reference to every control created.
  4360. * Application.cs: Create a static FormCollection to maintain a reference
  4361. to every form created. Use it in places that formerly enumerated through
  4362. the controls one looking for forms.
  4363. * Form.cs: Add and remove self from above FormCollection.
  4364. 2006-12-07 Alexander Olk <[email protected]>
  4365. * MimeIcon.cs: gdk_pixbuf_save_to_buffer is part of libgdk-pixbuf,
  4366. not libgdk (though it makes me wonder why I didn't have any
  4367. problems)
  4368. 2006-12-07 Chris Toshok <[email protected]>
  4369. [ you had to know this was coming after that last commit...]
  4370. * XplatUIX11.cs: implement the 3 Offscreen functions in terms of
  4371. XPixmaps (CreateOffscreenDrawable maps to XCreatePixmap,
  4372. DestroyOffscreenDrawable to FreePixmap, and BlitFromOffscreen to
  4373. XCopyArea).
  4374. 2006-12-07 Chris Toshok <[email protected]>
  4375. * XplatUI.cs: add 3 calls (CreateOffscreenDrawable,
  4376. DestroyOffscreenDrawable, and BlitFromOffscreen) that encompass
  4377. all the behavior we need for double buffering.
  4378. * XplatUIDriver.cs: implement the 3 double buffer methods using a
  4379. client side Bitmap, just like the old Control-based double buffer
  4380. code did. The methods are virtual, so each XplatUI driver
  4381. subclass can replace the implementation to use a faster, platform
  4382. specific approach.
  4383. * Control.cs: make use of the 3 Offscreen XplatUI calls in the
  4384. double buffer code, and clean things up a bit in the process.
  4385. 2006-12-06 Chris Toshok <[email protected]>
  4386. * Control.cs: reindent WndProc.
  4387. 2006-12-06 Chris Toshok <[email protected]>
  4388. [ I wanna be like BenM when I grow up ]
  4389. * Hwnd.cs: create a single static Graphics object on the static
  4390. Bitmap we create. use this for our text measurements.
  4391. * Control.cs (DeviceContext): stop using the backbuffer's dc_mem.
  4392. This was causing us to allocate a backbuffer for every control,
  4393. even when it wasn't flagged as double buffered. Instead use the
  4394. single graphics instance. This might have implications for
  4395. multithreaded applications. If we run into problems we can switch
  4396. to creating 1 Graphics per control, on the static Hwnd bitmap.
  4397. this change nets us a 7M savings in private dirty mappings when
  4398. running FormsTest.exe.
  4399. 2006-12-06 Chris Toshok <[email protected]>
  4400. * ListView.cs: the BackgroundImage override is just to set
  4401. attributes. chain up to base.BackgroundImage.
  4402. * RichTextBox.cs: same.
  4403. * ToolBar.cs: same, but we need to also redraw the toolbar when it
  4404. changes, so instead a handler for BackgroundImageChanged.
  4405. * Control.cs: make background_image private.
  4406. 2006-12-06 Chris Toshok <[email protected]>
  4407. * ScrollBar.cs: change the assignment of cursor to Cursor. not
  4408. sure we even need this assignment, but roll with it for now.
  4409. * Control.cs: make the cursor field private.
  4410. 2006-12-06 Chris Toshok <[email protected]>
  4411. * Form.cs: we don't need to explicitly set ImeMode to
  4412. ImeMode.NoControl - that's a natural fallout of Control.ImeMode's
  4413. behavior in the face of ImeMode.Inherit.
  4414. * ButtonBase.cs: change DefaultImeMode to ImeMode.Disable, and
  4415. change the ctor's assignment to use ImeMode instead of ime_mode.
  4416. * Control.cs (get_ImeMode): don't assume DefaultImeMode ==
  4417. ImeModeInherit. Only check for the parent's imemode (and return
  4418. NoControl if there is no parent) if ime_Mode == ImeMode.Inherit.
  4419. This fixes the button unit test, which sets both ImeMode and
  4420. DefaultImeMode to ImeMode.Disable.
  4421. also make the ime_mode field private.
  4422. 2006-12-06 Chris Toshok <[email protected]>
  4423. * Control.cs: make control_style private.
  4424. * TextBoxBase.cs: fix the HandleClick override. it was explicitly
  4425. setting the styles to true, then setting them to false instead of
  4426. reverting to their previous values.
  4427. also, call SetStyle on the scrollbars instead of using
  4428. control_style directly.
  4429. 2006-12-06 Jonathan Pobst <[email protected]>
  4430. * FormCollection.cs: Implement. [2.0]
  4431. 2006-12-06 Chris Toshok <[email protected]>
  4432. * Control.cs: make tab_stop private.
  4433. * Label.cs: set TabStop, not tab_stop. reformat some event
  4434. add/remove methods to make them more compact.
  4435. 2006-12-06 Chris Toshok <[email protected]>
  4436. * RadioButton.cs: fix TabStop handling.
  4437. 2006-12-06 Chris Toshok <[email protected]>
  4438. * TextBox.cs: remove the explicit assignments to has_focus.
  4439. Control does that.
  4440. * ButtonBase.cs: remove the assignment to has_focus. Control will
  4441. manage that.
  4442. 2006-12-06 Chris Toshok <[email protected]>
  4443. * ButtonBase.cs: remove all uses of is_enabled from this code.
  4444. it's always true when any of the code containing the checks is
  4445. executed.
  4446. 2006-12-06 Chris Toshok <[email protected]>
  4447. * ImageList.cs: reinstate the ShouldSerialize*/Reset* methods,
  4448. with different semantics (some are present in both 1.1 and 2.0
  4449. profiles) so that we match MS's behavior in our unit tests.
  4450. 2006-12-06 Jackson Harper <[email protected]>
  4451. * TextControl.cs: Make this operation undoable.
  4452. * TextBoxBase.cs: Factor the border width into the preferred
  4453. height.
  4454. - implement Modified as per the spec.
  4455. 2006-12-06 Chris Toshok <[email protected]>
  4456. * Timer.cs, Control.cs, Menu.cs: make control_tag private.
  4457. 2006-12-06 Chris Toshok <[email protected]>
  4458. * Control.cs: make right_to_left and context_menu fields private.
  4459. 2006-12-06 Chris Toshok <[email protected]>
  4460. * AccessibleObject.cs, Control.cs, XplatUIX11GTK.cs,
  4461. XplatUIX11.cs, Form.cs, RadioButton.cs, ScrollableControl.cs: make
  4462. Control.child_controls private. switch all uses over to
  4463. Control.Controls.
  4464. 2006-12-06 Chris Toshok <[email protected]>
  4465. * System.Windows.Forms/GroupBox.cs,
  4466. System.Windows.Forms/AccessibleObject.cs,
  4467. System.Windows.Forms/ErrorProvider.cs,
  4468. System.Windows.Forms/Control.cs,
  4469. System.Windows.Forms/UpDownBase.cs,
  4470. System.Windows.Forms/ScrollBar.cs,
  4471. System.Windows.Forms/DateTimePicker.cs,
  4472. System.Windows.Forms/Form.cs, System.Windows.Forms/Label.cs,
  4473. System.Windows.Forms/ToolTip.cs,
  4474. System.Windows.Forms/RadioButton.cs,
  4475. System.Windows.Forms/LinkLabel.cs,
  4476. System.Windows.Forms/Splitter.cs,
  4477. System.Windows.Forms/TextBoxBase.cs,
  4478. System.Windows.Forms/ToolStripTextBox.cs,
  4479. System.Windows.Forms/ContainerControl.cs,
  4480. System.Windows.Forms/ThemeWin32Classic.cs,
  4481. System.Windows.Forms/SizeGrip.cs,
  4482. System.Windows.Forms/ToolStripDropDown.cs,
  4483. System.Windows.Forms/ScrollableControl.cs: Make Control.parent
  4484. private. switch all uses over to Control.Parent.
  4485. 2006-12-06 Chris Toshok <[email protected]>
  4486. * RichTextBox.cs: don't assign to has_focus in GotFocus/LostFocus.
  4487. Control does this before calling emitting these events.
  4488. * TabControl.cs: same.
  4489. * ThemeWin32Classic.cs: use Control.ClientRectangle instead of
  4490. Control.client_rect.
  4491. * ButtonBase.cs: use the ClientSize property instead of the
  4492. client_size field.
  4493. * ScrollableControl.cs: same.
  4494. * Control.cs: another pass at making properties private. also,
  4495. move the initialization of tab_stop to the ctor.
  4496. 2006-12-05 Andreia Gaita <[email protected]>
  4497. * TabControl.cs: Let the selected index be set freely if the
  4498. control handle is not yet created.
  4499. 2006-12-05 Jonathan Pobst <[email protected]>
  4500. * Control.cs: Revert dist_top, dist_right, and dist_bottom to
  4501. internal until I can rewrite DefaultLayout.
  4502. * ToolStrip.cs: Fix build error and some general cleaning.
  4503. * ToolStripControlHost.cs, SplitterPanel.cs, DataGridView.cs:
  4504. Fix build errors caused by making some of Control's fields private.
  4505. 2006-12-05 Jackson Harper <[email protected]>
  4506. * TextControl.cs: Redo Insert a little so that it use IndexOf
  4507. instead of Split, this prevents it from messing up on things like
  4508. \n\n\n. Also more effecient since the split array doesn't need to
  4509. be created.
  4510. * TextBoxBase.cs: AppendText doesnt handle multiline and non
  4511. multiline text differently, this is the first of many fixes that
  4512. will make multiline/non-multiline the same thing as far as the
  4513. TextBoxBase is concerned.
  4514. - Don't split the text and insert lines, this can lose some line
  4515. endings (like is the last line a soft or hard break). Instead use
  4516. the new Insert.
  4517. - Fix an off by one when combining all the lines in the Text
  4518. getter.
  4519. - Remove separate multiline handling from the Text getter/setter.
  4520. 2006-12-05 Chris Toshok <[email protected]>
  4521. * ButtonBase.cs: a few changes:
  4522. - don't reinitialize internal Control fields in the ctor when they
  4523. have the same values as Control sets them.
  4524. - don't set has_focus in OnGotFocus/OnLostFocus. Control does
  4525. this before calling those methods.
  4526. - we don't need to call Refresh for anything. use Invalidate
  4527. instead.
  4528. - OnEnabledChanged doesn't need to redraw at all - Control.cs
  4529. calls Refresh in its OnEnabledChanged.
  4530. - several of the events we were registered for in the ctor to
  4531. redraw ourselves already include calls to Invalidate in the
  4532. property setters that raise the events. remove the extra
  4533. invalidation.
  4534. - reformat a switch statement that was 83274658 columns wide.
  4535. 2006-12-05 Mike Kestner <[email protected]>
  4536. * ComboBox.cs: fix a unit test regression from a TextBox
  4537. SelectionLength return of -1 when there's no selection.
  4538. 2006-12-05 Chris Toshok <[email protected]>
  4539. * Control.cs, Button.cs, ThemeGtk.cs, Form.cs, ListView.cs,
  4540. ThemeWin32Classic.cs, SizeGrip.cs, ToolBar.cs: first pass at
  4541. cleaning up some of the internal Control fields being used by
  4542. subclasses.
  4543. 2006-12-05 Mike Kestner <[email protected]>
  4544. * ComboBox.cs: fix some Simple mode regressions. Set Visible on the
  4545. listbox after AddImplicit calls since it defaults to hidden. Add a
  4546. hack to preserve requested heights across DropDownStyle changes.
  4547. 2006-12-05 Jonathan Pobst <[email protected]>
  4548. * PropertyGrid.cs: Hide FindFirstItem method from public API.
  4549. 2006-12-05 Chris Toshok <[email protected]>
  4550. * DataGridView.cs: fix compiler warnings.
  4551. * PrintControllerWithStatusDialog.cs: same.
  4552. * ToolBar.cs: same.
  4553. * FolderBrowserDialog.cs: same.
  4554. * Splitter.cs: same.
  4555. * DataGridViewComboBoxCell.cs: same.
  4556. * XplatUIWin32.cs: same.
  4557. * PictureBox.cs: same.
  4558. * Win32DnD.cs: same.
  4559. * PageSetupDialog.cs: same.
  4560. * FileDialog.cs: same.
  4561. * PrintDialog.cs: same.
  4562. * DataGridTextBoxColumn.cs: same.
  4563. * DrawTreeNodeEventArgs.cs: same (and fix corcompare)
  4564. 2006-12-05 Chris Toshok <[email protected]>
  4565. * TextBox.cs, CheckedListBox.cs, MonthCalendar.cs, Menu.cs,
  4566. MainMenu.cs, ListView.cs, LabelEditTextBox.cs, ToolBar.cs: more
  4567. System.ComponentModel.EventHandlerList work.
  4568. 2006-12-05 Jonathan Chambers <[email protected]>
  4569. * DrawTreeNodeEventArgs.cs: Added.
  4570. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4571. * InternalWindowManager.cs: Remove an unused field.
  4572. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4573. * InternalWindowManager.cs:
  4574. - Save the point where the title bar is clicked.
  4575. * MdiWindowManager.cs:
  4576. - Only allow moving of the window as long as the
  4577. clicked point on the title bar does not get out of
  4578. MdiClient's rectangle. Fixes #79982.
  4579. * MdiClient.cs:
  4580. - Added Horizontal/VerticalScrollbarVisible.
  4581. - Simplified the scrollbar sizing algorithm.
  4582. - Cache the difference in scrolled value in
  4583. H/VBarValueChanged and move the calculation out
  4584. of the for loop.
  4585. 2006-12-05 Rolf Bjarne Kvinge <[email protected]>
  4586. * Control.cs: Make the Console.WriteLine in WndProc
  4587. write more info.
  4588. 2006-12-05 Chris Toshok <[email protected]>
  4589. * ToolStripManager.cs, ToolStripButton.cs,
  4590. ToolStripContentPanel.cs, ToolStripComboBox.cs, ToolStrip.cs,
  4591. ToolStripMenuItem.cs, ToolStripItem.cs, ToolStripControlHost.cs,
  4592. ToolStripSplitButton.cs, ToolStripSeparator.cs,
  4593. ToolStripRenderer.cs, ToolStripDropDownItem.cs,
  4594. ToolStripProgressBar.cs, ToolStripContainer.cs,
  4595. ToolStripTextBox.cs, ToolStripPanel.cs, ToolStripDropDown.cs: move
  4596. to using System.ComponentModel.EventHandlerList.
  4597. 2006-12-04 Chris Toshok <[email protected]>
  4598. * LinkLabel.cs: fix up compiler warnings.
  4599. * TableLayoutSettings.cs: same.
  4600. * TreeView.cs: same.
  4601. * ToolBar.cs: same.
  4602. * TabControl.cs: same.
  4603. * RichTextBox.cs: same.
  4604. * ListViewItem.cs: same.
  4605. * PropertyGrid.cs: same.
  4606. * DataGridViewRowPostPaintEventArgs.cs: corcompare fix.
  4607. * ToolTip.cs same.
  4608. * TextRenderer.cs: fix up compiler warnings.
  4609. * Label.cs: same.
  4610. * Form.cs: corcompare fixes.
  4611. * PictureBox.cs: fix up compiler warnings.
  4612. * ImageListStreamer.cs: same.
  4613. * TrackBar.cs: corcompare fix.
  4614. * Control.cs: fix up compiler warnings.
  4615. * SplitterPanel.cs: same.
  4616. * NumericTextBox.cs: same.
  4617. * ImageList.cs: same.
  4618. * StatusStrip.cs: same.
  4619. * ProgressBar.cs: corcompare fix.
  4620. * ToolStripButton.cs: fix up compiler warnings.
  4621. * ToolStripStatusLabel.cs: same.
  4622. * ToolStripSplitButton.cs: same.
  4623. * ToolStripSeparator.cs: same.
  4624. * ToolStripProgressBar.cs: same.
  4625. * ToolStripDropDownMenu.cs: same
  4626. * ToolStripDropDown.cs: same.
  4627. * ToolStripDropDownButton.cs: same.
  4628. * ToolStrip.cs: same.
  4629. * ToolStripControlHost.cs: same.
  4630. * ToolStripContentPanel.cs: same.
  4631. * ToolStripDropDown.cs: same.
  4632. * ToolStripContainer.cs: same.
  4633. * ToolStripPanel.cs: same, and add "new" where we need it to work
  4634. with the new ArrangedElementCollection.
  4635. * ToolStripItemCollection.cs: add "new" where we need it to work
  4636. with the new ArrangedElementCollection.
  4637. 2006-12-04 Andreia Gaita <[email protected]>
  4638. * TabControl.cs: Fix default tab selection to after TabControl
  4639. gets focus and not before. Fixes #80128
  4640. 2006-12-04 Chris Toshok <[email protected]>
  4641. * DataGridTableStyle.cs: remove the gross calling of
  4642. datagrid.Refresh from here. It's a broken idea and it doesn't
  4643. work anyway.
  4644. * DataGrid.cs: instead, just register/unregister from the
  4645. DataGridTableStyle events in CurrentTableStyle. we play it
  4646. conservatively and EndEdit + CalcAreasAndInvalidate on any event,
  4647. even though some would most likely not require it. Fixes bug
  4648. #80115 (and one portion of #80117 as a side effect).
  4649. 2006-12-04 Chris Toshok <[email protected]>
  4650. * DataGrid.cs (set_CaptionVisible): EndEdit before doing the work
  4651. so the textbox (if any) goes away. Fixes bug #80117.
  4652. 2006-12-04 Chris Toshok <[email protected]>
  4653. * DataGridColumnStyle.cs: set the column's readonly property
  4654. initially based on the property descriptor's IsReadOnly. Fixes
  4655. bug #80044.
  4656. 2006-12-04 Chris Toshok <[email protected]>
  4657. * ComboBox.cs: wrap the dropdown style changing work in
  4658. SuspendLayout/ResumeLayout. Fixes bug #79968.
  4659. 2006-12-04 Jackson Harper <[email protected]>
  4660. * TextBoxBase.cs: Fix off by one, since these are one-based.
  4661. * TextBox.cs: Select all the text when we get focus. The TextBox
  4662. does this but the RTB does not.
  4663. 2006-12-04 Chris Toshok <[email protected]>
  4664. * DataGridTextBoxColumn.cs: remove some spew.
  4665. * DataGridColumnStyle.cs (SetColumnValueAtRow): this seems right
  4666. but some part of me is saying "it shouldn't be here.." At any
  4667. rate, it fixes bug #80046. Call IEditableObject.EndEdit after
  4668. setting the value.
  4669. 2006-12-04 Chris Toshok <[email protected]>
  4670. * DataGridColumnStyle.cs (SetDataGrid): call CheckValidDataSource
  4671. to reassign the propertydescriptor.
  4672. 2006-12-04 Jackson Harper <[email protected]>
  4673. * TextBoxBase.cs:
  4674. * TextControl.cs: Remove some unused variables. Maybe this will
  4675. patch things up between mike and I.
  4676. - don't split lines less then one char wide, if the viewport is
  4677. that small text won't be visible anyways.
  4678. 2006-12-04 Jackson Harper <[email protected]>
  4679. * TextBoxBase.cs: Default selection length is -1, need to do some
  4680. more testing on windows to see when this is used for the property.
  4681. - Redid the Lines [] property to that we properly remove soft line
  4682. breaks
  4683. - added support for preserving carriage returns
  4684. - CanUndo is not a variable like 'is undo enabled' it just returns
  4685. true if there is undo operations available.
  4686. - AppendText doesn't need to grab the last tag itself anymore,
  4687. this happens automatically when we move the cursor.
  4688. * TextControl.cs: Add CompoundActions to the undo class. This
  4689. allows combining the other operations into one big option. ie a
  4690. paste will combine { delete old, insert new, move cursor }
  4691. - Add InsertString undo operation
  4692. - New method for deleting multiline text
  4693. - Add carriage returns to lines. So we can preserve carriage
  4694. returns when text is 'roundtripped'
  4695. 2006-12-04 Chris Toshok <[email protected]>
  4696. * DataGrid.cs (CalcCellsArea): cells_area.Width/Height are at a
  4697. minimum 0. Fixes the scrollbar exception in bug #80136.
  4698. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4699. * MdiClient.cs:
  4700. * MdiWindowManager: Removed unused fields and methods.
  4701. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4702. * StatusBar.cs: Update all panels when a AutoSize=Contents
  4703. panel needs updating.
  4704. * StatusBarPanel.cs: Remove twidth and only use initialize.
  4705. Fixes #80031.
  4706. 2006-12-04 Rolf Bjarne Kvinge <[email protected]>
  4707. * Form.cs: When a form's MdiParent is set add it directly
  4708. on top of the z-order in stead of relying on MdiClient's
  4709. ActivateChild to do it. Fixes #80135.
  4710. * MdiClient.cs:
  4711. - Remove original_order, mdi_child_list is already doing
  4712. the same thing.
  4713. - Create mdi_child_list on construction in
  4714. stead of first use (avoids a few null checks).
  4715. * MenuItem.cs: Use an already existing list of mdi children
  4716. to get the correct order of children and remove the other
  4717. redundant list.
  4718. 2006-12-04 Chris Toshok <[email protected]>
  4719. * PropertyGridView.cs: cached_splitter_location is only used in
  4720. !DOUBLEBUFFER code.
  4721. * PropertyGrid.cs: implement the ComComponentNameChanged event
  4722. using Events, hoping that would fix the warning. Looks like a
  4723. compiler bug instead (#80144).
  4724. * PropertyManager.cs: remove unused method.
  4725. 2006-11-04 Everaldo Canuto <[email protected]>
  4726. * ThemeWin32Classic.cs: Dont draw arrow when menuitem on menubar,
  4727. include parentesis to fix expression evaluation. Fixes #79634.
  4728. 2006-11-02 Everaldo Canuto <[email protected]>
  4729. * MenuAPI.cs:
  4730. - Changes to fix behavior in Menu control, some reported in #80097
  4731. and other detected during behavior refactory like a select event
  4732. problems.
  4733. - Remove unneded "if's" conditions.
  4734. - Created an internal to flag when popup is active in control, we need
  4735. it because in .NET you can have menu active but without popup active
  4736. when you active menu using popup without visible items.
  4737. - Mimic win32 behavior for Select and Popup events.
  4738. - Dont open popup menu when you dont have visible subitems.
  4739. - Do nothing when click on disabled menu item.
  4740. - Some small changes to follow the coding style guidelines.
  4741. - Unselect menu only when another control gives focus. Fixes #80097.
  4742. - Remove unused code.
  4743. * MenuItem.cs: internal VisibleItems method to check if menu
  4744. theres visible subitems, it will be usefull to fix some
  4745. behavior in Menu control.
  4746. 2006-11-01 Everaldo Canuto <[email protected]>
  4747. * Timer.cs: Tag property for 2.0 profile.
  4748. 2006-12-01 Chris Toshok <[email protected]>
  4749. [ after removing all warning suppressions, this cleans up over 100 warnings. ]
  4750. * Win32DnD.cs: comment out some unused fields.
  4751. * XplatUIWin32.cs: comment out some unused pinvokes, and remove
  4752. some unused properties/methods.
  4753. * XplatUIX11.cs: fix MousePosition so we override the base class's
  4754. property instead of conflicting with it.
  4755. * PictureBox.cs: comment out some unused fields
  4756. * OSXStructs.cs: make some struct fields public.
  4757. * XplatUIOSX.cs: comment out some unused pinvokes, and fix
  4758. MousePosition so we override the base class's property instead of
  4759. conflicting with it.
  4760. * X11Dnd.cs: comment out some unused fields
  4761. * X11DesktopColors.cs: fix some struct field visibility to quiet
  4762. the compiler.
  4763. * X11Dnd.cs: remove some debug code.
  4764. * ThemeClearlooks.cs: comment out unused field.
  4765. * ThemeNice.cs: mark some methods as overriding ThemeWin32Classic as needed.
  4766. * ThemeGtk.cs: comment out some unused pinvokes.
  4767. * Timer.cs: remove some unused fields.
  4768. * ThemeClearlooks.cs: comment out unused field.
  4769. * UpDownBase.cs: comment out unused field.
  4770. * DataObject.cs: comment out unused field.
  4771. * DataGridBoolColumn.cs: reomve unused field.
  4772. * DataGrid.cs: remove unused field.
  4773. * Cursor.cs: remove old ToBitmap code.
  4774. * ControlPaint.cs: remove unused method.
  4775. * ScrollBar.cs: remove unused fields.
  4776. * ComboBox.cs: remove unused field, and chain up to
  4777. AccessibleObject ctor.
  4778. * ListBox.cs: remove unused field.
  4779. * ButtonBase.cs: wrap a couple fields in NET_2_0.
  4780. * GridEntry.cs: remove unused fields.
  4781. * Binding.cs: remove unused fields.
  4782. * AxHost.cs: remove unused method.
  4783. * ContainerControl.cs: remove unused field.
  4784. * ScrollableControl.cs: remove unused fields.
  4785. 2006-12-01 Chris Toshok <[email protected]>
  4786. * XplatUI.cs, XplatUIWin32.cs, XplatUIGTK.cs: nuke
  4787. the Where/WhereString stuff. it's easy enough to CWL
  4788. Environment.StackTrace.
  4789. * XplatUIX11.cs: same, but also fix up a lot of mcs warnings about
  4790. unused private fields.
  4791. 2006-12-01 Jackson Harper <[email protected]>
  4792. * TextControl.cs: Do not update the view while inserting multiline
  4793. text. If we update the view we might wrap lines, before entering
  4794. the new lines, which causes the new line insertion calculations to
  4795. be totally fubared.
  4796. - Remove an old TODO
  4797. - Make debug output a little nicer
  4798. 2006-12-01 Chris Toshok <[email protected]>
  4799. * ToolBar.cs: revert the ImeMode fix here and add an XXX comment.
  4800. 2006-12-01 Chris Toshok <[email protected]>
  4801. [ fix the majority of the CS0108 warnings we've been suppressing ]
  4802. * TreeView.cs: mark BackgroundImageChanged as 'new'.
  4803. * ToolBar.cs: ImeMode just passes stuff to Control. Rename Layout
  4804. to "LayoutToolBar" to quiet mcs.
  4805. * TabControl.cs: mark our ControlCollection class as 'new'.
  4806. * TextBoxBase.cs: mark some events as 'new'.
  4807. * Splitter.cs: TabStop is 'new'.
  4808. * ControlBindingsCollection.cs: mark a few methods as new since
  4809. they change the visibility from protected to public.
  4810. * RadioButton.cs: DoubleClick -> base class, and remove unused
  4811. HaveDoubleClick.
  4812. * MonthCalendar.cs: ImeMode property -> base class, and mark many
  4813. events as new.
  4814. * NumericUpDown.cs: TextChanged -> base class.
  4815. * CheckedListBox.cs: mark our ObjectCollection class as new to
  4816. quiet mcs.
  4817. * FolderBrowserDialog.cs: make HelpRequest event new and have it
  4818. muck with the base class.
  4819. * StatusBar.cs: fix some mcs warnings about Update being the same
  4820. name as a base class method.
  4821. * RichTextBox.cs: mark some events as new, and make them do things
  4822. to the base class impl.
  4823. * UserControl.cs: mark TextChanged as new, and have it manipulate
  4824. base.TextChanged.
  4825. * UpDownBase.cs: mark some things new.
  4826. * CheckBox.cs: mark DoubleClick "new", and add some text about
  4827. what we need to look at.
  4828. * Panel.cs: make the events "new", and manipulate the base
  4829. version. these are just here for attributes.
  4830. * AccessibleObject.cs: make owner private.
  4831. * Control.cs: deal with AccessibleObject.owner being private.
  4832. cache our own copy if we need it.
  4833. * Button.cs: add "new" to the DoubleClickEvent.
  4834. * ListBox.cs: no need to track our own has_focus here. let
  4835. Control.has_focus do it for us. Also some other work to clear up
  4836. warnings about not overriding base class methods of the same name.
  4837. * ComboBox.cs: clear up some warnings about not override base
  4838. class methods of the same name.
  4839. 2006-12-01 Chris Toshok <[email protected]>
  4840. * Form.cs: flag a few things as "new" to quiet some of the mcs
  4841. warnings.
  4842. * AxHost.cs: same.
  4843. * PrintPreviewDialog.cs: same.
  4844. * DataGridView.cs: fix a ton of corcompare warnings. not all, but
  4845. now DGV isn't so horrible on the class status page. also, move
  4846. all events to using System.ComponentModel.EventHandlerList. my
  4847. wrists hurt.
  4848. 2006-12-01 Rolf Bjarne Kvinge <[email protected]>
  4849. * MdiWindowManager.cs:
  4850. - Set form to active mdi child if shown,
  4851. and update the active mdi child to the next
  4852. remaining child in the z-order if the form is hidden.
  4853. * Form.cs:
  4854. - Track if the form has been visible and if its
  4855. visibility is beeing changed, so that the MdiClient
  4856. can properly decide the ActiveMdiChild. The MdiClient
  4857. cannot track this since the form can change visibility
  4858. before MdiClient is created.
  4859. * MdiClient.cs:
  4860. - Don't activate anything of the parent form is changing
  4861. its visibility.
  4862. - Rework ActiveMdiChild to only return visible mdi
  4863. children and take into account several other corner
  4864. cases.
  4865. 2006-12-01 Chris Toshok <[email protected]>
  4866. * IBindableComponent.cs: new 2.0 interface.
  4867. 2006-12-01 Gert Driesen <[email protected]>
  4868. * DataGrid.cs: Font for caption area is bold by default.
  4869. 2006-12-01 Everaldo Canuto <[email protected]>
  4870. * Menu.cs: Tag property for 2.0.
  4871. 2006-11-01 Everaldo Canuto <[email protected]>
  4872. * ThemeWin32Classic.cs: Adjust menu separator drawing.
  4873. 2006-12-01 Chris Toshok <[email protected]>
  4874. * TreeView.cs: doh, the Begin* events should be
  4875. TreeViewCancelEventHandler.
  4876. 2006-12-01 Chris Toshok <[email protected]>
  4877. * Form.cs: Form.ControlCollection already stores off the
  4878. form_owner field. don't access the base class's internal "owner"
  4879. field.
  4880. * Control.cs: make all the fields in Control.ControlCollection
  4881. private. there's no need for any internal fields here.
  4882. 2006-12-01 Chris Toshok <[email protected]>
  4883. * DataGrid.cs: call SetDataSource instead of CalcGridAreas in
  4884. OnHandleCreated. Fixes bug #80109.
  4885. 2006-12-01 Chris Toshok <[email protected]>
  4886. * Button.cs, PropertyGridTextBox.cs, ComboBox.cs,
  4887. SplitContainer.cs, Control.cs, StatusStrip.cs,
  4888. DataGridTableStyle.cs, MenuItem.cs, DomainUpDown.cs, ImageList.cs,
  4889. NumericTextBox.cs, NumericUpDown.cs, Panel.cs, CommonDialog.cs,
  4890. DataGrid.cs, ScrollBar.cs, TrackBar.cs, PictureBox.cs,
  4891. DateTimePicker.cs, StatusBar.cs, Form.cs, PrintPreviewDialog.cs,
  4892. Label.cs, UserControl.cs, CheckBox.cs, RadioButton.cs,
  4893. LinkLabel.cs, ListControl.cs, PropertyGrid.cs, Splitter.cs,
  4894. MenuStrip.cs, FolderBrowserDialog.cs, NotifyIcon.cs,
  4895. TextBoxBase.cs, ListView.cs, DataGridBoolColumn.cs,
  4896. PrintPreviewControl.cs, RichTextBox.cs, ListBox.cs, TabControl.cs,
  4897. DataGridColumnStyle.cs, ContextMenu.cs, TreeView.cs:
  4898. do most of the work to convert our code over to use
  4899. System.ComponentModel.Component.Events for
  4900. adding/removing/dispatching events.
  4901. 2006-11-30 Jonathan Pobst <[email protected]>
  4902. * DataGridView.cs: Fix an ArgumentNullException reported
  4903. twice today in IRC.
  4904. 2006-11-30 Mike Kestner <[email protected]>
  4905. * ComboBox.cs: fix the scrollbar mouse event forwarding in the
  4906. grabbed listbox. Fixes #80036 and #80101.
  4907. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  4908. * Message.cs: Changed ToString() to match MS.
  4909. 2006-11-30 Jackson Harper <[email protected]>
  4910. * TextBoxBase.cs: You can still change the selected text on a read
  4911. only textbox.
  4912. * TextControl.cs: Lower magic number for wrap calculations. This
  4913. lets text get closer to the right (far) edge.
  4914. 2006-11-30 Jonathan Pobst <[email protected]>
  4915. * Control.cs: Tweak 2.0 layout properties.
  4916. * Form.cs: Switch ToolStripMenuTracker hooks to ToolStripManager.
  4917. * TextRenderer.cs: Add a new overload.
  4918. * ToolStrip*: Huge amount of changes and new features.
  4919. 2006-11-30 Mike Kestner <[email protected]>
  4920. * ComboBox.cs: fixes for LargeChange and Maximum to get the
  4921. scroll range correct. Fixes #79994.
  4922. 2006-11-30 Rolf Bjarne Kvinge <[email protected]>
  4923. * MdiWindowManager.cs: Update main form's text when
  4924. a form is closed. (fixes #80038)
  4925. 2006-11-30 Everaldo Canuto <[email protected]>
  4926. * ToolBar.cs:
  4927. - Fix an regression in ButtonSize.
  4928. - Get ImeMode default value change to "Disable".
  4929. - Get ShowTooltips default value change to true, default value is
  4930. "false" but after make a test in .NET we get "true" result as default.
  4931. 2006-11-29 Jonathan Pobst <[email protected]>
  4932. * ToolStripDropDown.cs: Fix for SupportsTransparency change.
  4933. 2006-11-29 Chris Toshok <[email protected]>
  4934. * XplatUIWin32.cs (GetWindowTransparency): check return value of
  4935. GetLayeredWindowAttributes. if it's 0, return 1.0, as
  4936. SetWindowTransparency hasn't been called.
  4937. 2006-11-29 Chris Toshok <[email protected]>
  4938. * Form.cs (set_TransparencyKey): only call SetWindowTransparency
  4939. if it's supported.
  4940. (set_AllowTransparency): reorder things a little so that the
  4941. WS_EX_LAYERED style is removed properly.
  4942. 2006-11-29 Chris Toshok <[email protected]>
  4943. [ totally cosmetic eye-candy feature, fixes bug #80089 ]
  4944. * Form.cs: only call the XplatUI transparency method (get/set) if
  4945. SupportsTransparency says it's supported. Otherwise fallback to
  4946. doing nothing (in the set case) or returning the instance field we
  4947. cache (in the get case).
  4948. * XplatUIStructs.cs: add TransparencySupport flag enum.
  4949. * XplatUIDriver.cs: add abstract GetWindowTransparency, and track
  4950. change to SupportsTransparency.
  4951. * XplatUIOSX.cs: stub out GetWindowTransparency, and return
  4952. TransparencySupport.None from SupportsTransparency.
  4953. * XplatUIX11.cs: Stub out GetWindowTransparency, and return
  4954. TransparencySupport.Set from SupportsTransparency.
  4955. * XplatUIWin32.cs: implement GetWindowTransparency calling
  4956. GetLayeredWindowAttributes, and implement SupportsTransparency by
  4957. checking whether or not both
  4958. GetWindowTransparency/SetWindowTransparency are available
  4959. entrypoints. We need to do this since SetWindowTransparency is
  4960. available as of win2k, but GetWindowTransparency requires winxp.
  4961. yay win32 api.
  4962. * XplatUI.cs: Add GetWindowTransparency, and change
  4963. SupportsTransparency to allow for either/both Get/Set.
  4964. 2006-11-29 Chris Toshok <[email protected]>
  4965. * DataGrid.cs: keep from going into an infinite loop redrawing a
  4966. datagrid that has no datasource. Fixes bug #80033.
  4967. 2006-11-29 Chris Toshok <[email protected]>
  4968. * MenuItem.cs: fix the NRE when we assign text (and therefore call
  4969. Invalidate) before the mainmenu has been assigned to a control.
  4970. 2006-11-29 Chris Toshok <[email protected]>
  4971. * DataGrid.cs: detect when we should be double the double click
  4972. row/column autosize stuff, although that codepath has yet to be
  4973. written. part of the work for bug #79891.
  4974. 2006-11-29 Chris Toshok <[email protected]>
  4975. * Binding.cs (SetControl): fix unit test.
  4976. 2006-11-29 Carlos Alberto Cortez <[email protected]>
  4977. * PageSetupDialog.cs: Validate the margins and set them in
  4978. PageSettings.
  4979. * NumericTextBox.cs: New class to mimic the behavior of the
  4980. textboxes used in the printing dialogs.
  4981. 2006-11-29 Andreia Gaita <[email protected]>
  4982. * Form.cs: Revert previous change (remove call UpdateBounds
  4983. from form constructor), because it messes with the handle creation
  4984. order, and that one needs lots and lots of love.
  4985. * PrintPreviewDialog.cs: Revert change to CreateHandle (add check
  4986. for valid printer and throw InvalidPrinterException if document
  4987. is set but printer not valid), adding a MonoTODO. Once
  4988. handle creation is done properly, we can put this back in.
  4989. 2006-11-28 Everaldo Canuto <[email protected]>
  4990. * MenuItem.cs: Create a invalidate method for menu item, to be
  4991. calling from set text, it make text changes to imadiate update
  4992. on screen. Fixes #80013.
  4993. 2006-11-28 Everaldo Canuto <[email protected]>
  4994. * ToolBar.cs: Fixes and simplify toolbar button layout, it
  4995. fixes bug #80070 and some other problem on toolbar buttons
  4996. layout.
  4997. 2006-11-28 Everaldo Canuto <[email protected]>
  4998. * ThemeWin32Classic.cs: Paint toolbar toggle button background
  4999. with dotted brush. Fixes #79564
  5000. 2006-11-28 Andreia Gaita <[email protected]>
  5001. * Form.cs: Removed call to UpdateBounds on Form
  5002. constructor, it was causing a call to CreateHandle
  5003. before it was supposed to.
  5004. * PrintControllerWithStatusDialog: Applied patch
  5005. by Chris Toshok to hide controller when there are
  5006. no printers available.
  5007. PrintDialog.cs: initialize printer settings to
  5008. null - correct DefaultValues test #5
  5009. * PrintPreviewControl.cs: Move PrintController
  5010. initialization to GeneratePreview
  5011. * PrintPreviewDialog.cs:
  5012. - Remove Preview generation from Document_set(). It is
  5013. called on OnPaint
  5014. - Throw InvalidPrinterException on CreateHandle if
  5015. a Document is set but there are no printers or
  5016. printer is not valid.
  5017. * ThemeWin32Classic: don't paint PrintPreviewControl
  5018. if there is nothing to paint
  5019. 2006-11-28 Miguel de Icaza <[email protected]>
  5020. * Form.cs: Add another popular method.
  5021. * TabPage.cs: ditto.
  5022. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5023. * MenuItem.cs: Fixed a warning.
  5024. * InternalWindowManager: Fixed a warning.
  5025. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5026. * MenuItem.cs:
  5027. - When cloning a menu also clone MdiList and clone the
  5028. window menu items properly (as the forms and menuitems
  5029. are kept in an internal hashtable, these need updating
  5030. as well)
  5031. - Rewrote the window menu code, menu items are added in the
  5032. order the forms were added to their parent, and they are
  5033. updated every time the window menu is shown (before the
  5034. list was only generated once, in the current order of the
  5035. forms, and would never be updated). A checkmark is shown
  5036. next to the item corresponding to the active mdi child.
  5037. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5038. * XplatUIStructs.cs:
  5039. - Added WM_NCMOUSEHOVER and WM_NCMOUSELEAVE.
  5040. * XplatUIWin32.cs:
  5041. - Added TME_NONCLIENT to TMEFlags.
  5042. - Handles WM_NCMOUSEMOVE in GetMessage to
  5043. generate WM_NCMOUSEHOVER and WM_NCMOUSELEAVE messages.
  5044. * MdiWindowManager:
  5045. - Now merges mdi child menu to parent menu when maximized.
  5046. - Recalculate NC areas of both mdi child and mdi parent.
  5047. Fixes #79757 (4).
  5048. on window state and size changes.Fixes #79844 (3).
  5049. - Handle WM_NCCALCSIZE to properly calculate borders.
  5050. * Form.cs:
  5051. - Add/remove to the mdi containers list of mdi children
  5052. in the order they are added.
  5053. - Pass on WM_NCLBUTTONUP, WM_NCMOUSEMOVE and WM_NCMOUSELEAVE
  5054. to the maximized mdi child.
  5055. * InternalWindowManager.cs:
  5056. - Only execute a click on the control buttons on the mouse up,
  5057. not on the mouse down. Show the state of the button
  5058. (was only showing Normal state, never Pressed state). The
  5059. pressed button now follows the mouse (if you click the Close
  5060. button and move the mouse over the Maximize button, the
  5061. Maximize button will be shown as pressed). Since Win32 does
  5062. not generate WM_NCLBUTTONUP if you release the button outside
  5063. of the nc area, we need to handle WM_NCMOUSELEAVE and treat
  5064. it as a mouse up.
  5065. * ThemeWin32Classic.cs:
  5066. - Draw a missing border around mdi child forms. Fixes #79844 (2).
  5067. * MdiClient.cs:
  5068. - Added a list of forms which contains the order the forms are
  5069. added to the mdi parent.
  5070. - Handle WM_NCPAINT to properly draw a 3D border. Fixes #79844 (2).
  5071. - Handle WM_NCCALCSIZE to properly calculate the 3D border.
  5072. - If the active form changes set the scrollbars to the top
  5073. of the Z order, otherwise the form could hide them.
  5074. - Scrollbars are now sized according to ClientSize, not
  5075. to Size, and they take into account the other scrollbar
  5076. to determine maximum.
  5077. 2006-11-28 Rolf Bjarne Kvinge <[email protected]>
  5078. * XplatUI.cs:
  5079. * XplatUIDriver.cs:
  5080. * XplatUIX11.cs:
  5081. * XplatUIWin32.cs:
  5082. * XplatUIOSX.cs:
  5083. - Added RequestAdditionalWM_NCMessages for windows to
  5084. opt in for WM_NCMOUSELEAVE and WM_NCMOUSEHOVER.
  5085. Currently only implemented in XplatUIWin32.
  5086. 2006-11-27 Chris Toshok <[email protected]>
  5087. * Hwnd.cs: only add the hwnd to the windows hash in
  5088. set_WholeWindow and set_ClientWindow if whole_window/client_window
  5089. are not IntPtr.Zero. also, remove the unused SetObjectWindow.
  5090. 2006-11-27 Mike Kestner <[email protected]>
  5091. * ComboBox.cs: remove redundant OnDropDown call. It is called
  5092. from the ComboListBox.ShowWindow code. Fixes #79969.
  5093. 2006-11-27 Chris Toshok <[email protected]>
  5094. * Hwnd.cs: remove the setters for ExposePending and
  5095. NCExposePending - noone uses them.
  5096. 2006-11-27 Jackson Harper <[email protected]>
  5097. * TextControl.cs: new param for ReplaceSelection which determines
  5098. whether we select the new selection, or set the cursor to the end
  5099. of the new selection.
  5100. * TextBoxBase.cs: Use new param for ReplaceSelection. When
  5101. pasting, select the new text.
  5102. * RichTextBox.cs: Use new param for ReplaceSelection.
  5103. 2006-11-27 Jackson Harper <[email protected]>
  5104. * TextBoxBase.cs: Set the selection to the caret after the caret
  5105. is moved, otherwise they get out of sync.
  5106. 2006-11-26 Everaldo Canuto <[email protected]>
  5107. * ToolBar.cs: Fixe size of ToolBar when AutoSize is false,
  5108. it fixes #80015
  5109. 2006-11-26 Everaldo Canuto <[email protected]>
  5110. * ThemeWin32Classic.cs:
  5111. - Fix toolbar drop down arrow position.
  5112. - Fix drop down appearance when ToolBar.Appearance is normal,
  5113. it fixes #80018.
  5114. 2006-11-26 Gert Driesen <[email protected]>
  5115. * ProgressBar.cs: GetStyle fixes for 2.0 profile.
  5116. * Control.cs: Same.
  5117. * UpDownBase.cs: Same.
  5118. * ButtonBase.cs: Same.
  5119. * ScrollBar.cs: Same.
  5120. * TrackBar.cs: Same.
  5121. * PictureBox.cs: Same.
  5122. * UserControl.cs: Same.
  5123. * Label.cs: Same.
  5124. * ListControl.cs: Same.
  5125. * TextBoxBase.cs: Same.
  5126. * ListView.cs: Same.
  5127. * RichTextBox.cs: Same.
  5128. * TreeView.cs: Same.
  5129. 2006-11-25 Jordi Mas i Hernandez <[email protected]>
  5130. * PrintDialog.cs:
  5131. - Text label for where
  5132. - Text label comment was not shown
  5133. 2006-11-23 Everaldo Canuto <[email protected]>
  5134. * ThemeWin32Classic.cs: Fix toolbar drop down arrow size.
  5135. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  5136. * InternalWindowManager.cs:
  5137. - Handle WM_PARENTNOTIFY to activate the form
  5138. if any child control is clicked.
  5139. - The form is only sizable if not minimized.
  5140. * MdiWindowManager.cs:
  5141. - Save the IconicBounds if the form is moved.
  5142. - Rework SetWindowState, now the window bounds
  5143. are stored only if the old window state is Normal.
  5144. * MdiClient.cs:
  5145. - In SetWindowStates store the old window state if
  5146. the window is maximized and restore window state if
  5147. the window looses focus.
  5148. - Don't handle any scrollbar value changes if
  5149. initializing the scroll bars. Fixes #79771.
  5150. - Reworked ArrangeIconicWindows. Current algorithm
  5151. tests bounds agains all other minimized windows, if
  5152. any intersections create new bounds (going left to
  5153. right, bottom to top) and then test again. When
  5154. successful the bounds are saved and never computed
  5155. again. Fixes #79774.
  5156. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  5157. * InternalWindowManager.cs: Added HandleTitleBarUp.
  5158. 2006-11-23 Gert Driesen <[email protected]>
  5159. * NumericUpDown.cs: In .NET 1.1, user entered text is still
  5160. hexadecimal in ParseUserEdit.
  5161. 2006-11-23 Rolf Bjarne Kvinge <[email protected]>
  5162. * MdiWindowManager.cs:
  5163. - Handle a click on the form's icon to show the
  5164. system menu (when maximized). Fixes #79775.
  5165. - Change the existing click handler for the form's
  5166. icon when not maximized to show on MouseUp.
  5167. Fixes #79776.
  5168. * Form.cs: In OnResize only layout the mdi child's
  5169. parent if it actually has a parent. Might not if
  5170. the window is closing.
  5171. 2006-11-23 Gert Driesen <[email protected]>
  5172. * MdiClient.cs: Ignore active MDI client for text of parent, if
  5173. child has no text set.
  5174. 2006-11-23 Gert Driesen <[email protected]>
  5175. * ToolBar.cs: Fixed ToString to match MS.
  5176. 2006-11-22 Andreia Gaita <[email protected]>
  5177. * NumericUpDown:
  5178. - Fix DecimalPlaces, Hexadecimal and ThousandsSeparator to
  5179. update inner values on set. Fixes #79966.
  5180. - Override OnLostFocus to update value on NET 2. Fixes #79950.
  5181. - Fix hexadecimal parsing.
  5182. * UpDownBase: Override OnGotFocus and OnLostFocus to notify
  5183. parent. Fixes #79957
  5184. 2006-11-22 Rolf Bjarne Kvinge <[email protected]>
  5185. * Control.cs: After calling SetWindowsPos in SetBoundsCore
  5186. the actual size has to be queried, since if height /
  5187. width is negative Win32 changes it to 0.
  5188. Fixes #79999 on Windows.
  5189. * XplatUIX11.cs: Set height / width to 0 if negative
  5190. in SetWindowPos. Fixes #79999 on Linux.
  5191. 2006-11-22 Everaldo Canuto <[email protected]>
  5192. * ThemeWin32Classic.cs: Fix text redenring when button is
  5193. pressed.
  5194. 2006-11-22 Everaldo Canuto <[email protected]>
  5195. * MenuAPI.cs: Fixes behavior when menu is opened by kerboard
  5196. and later navigate by mouse. Fixes #79528.
  5197. 2006-11-21 Everaldo Canuto <[email protected]>
  5198. * ToolBar.cs: Set default value for TabStop to false in
  5199. constructor, it fixes remaining behavior of bug #79863.
  5200. 2006-11-21 Rolf Bjarne Kvinge <[email protected]>
  5201. * MdiWindowManager.cs:
  5202. * InternalWindowManager.cs:
  5203. - Moved a few methods specific to Mdi from
  5204. InternalWindowManager to MdiWindowManager.
  5205. Fixes #79996.
  5206. 2006-11-21 Chris Toshok <[email protected]>
  5207. * XplatUIOSX.cs: stub out InvalidateNC.
  5208. * XplatUIWin32.cs: implement InvalidateNC using the call I found
  5209. at http://www.dotnet247.com/247reference/msgs/58/292037.aspx.
  5210. * XplatUIX11.cs: rename InvalidateWholeWindow to InvalidateNC.
  5211. * XplatUIDriver.cs: add InvalidateNC abstract method.
  5212. * XplatUI.cs: add InvalidateNC.
  5213. 2006-11-21 Everaldo Canuto <[email protected]>
  5214. * ToolBar.cs: Invalidate complete button area when pressed status
  5215. was changed.
  5216. * ToolButton.cs: Fix InvalidateBorder for DropDown buttons.
  5217. * ThemeWin32Classic.cs: Increase vertical and horizontal position
  5218. by 1 when button is pressed.
  5219. 2006-11-20 Everaldo Canuto <[email protected]>
  5220. * ToolButton.cs: Invalidate middle of DropDown button when
  5221. ToolBar theres DropDownArrows.
  5222. * ThemeWin32Classic.cs: Change position of DropDown arrow and
  5223. fix DropDown drawing operations.
  5224. 2006-11-20 Chris Toshok <[email protected]>
  5225. * NativeWindow.cs: fix the formatting of functions ('{' on the
  5226. following line), and enable the thread exception dialog.
  5227. * Application.cs: remove the duplicate exception catching from
  5228. here.
  5229. 2006-11-20 Everaldo Canuto <[email protected]>
  5230. * Toolbar.cs: Triggers button click event when click on icon
  5231. of dropdown ToolBarButton. Fixes #79912.
  5232. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  5233. * Theme.cs:
  5234. * ThemeWin32Classic.cs:
  5235. - Added a property WindowBorderFont to enable themeing
  5236. of mdi child windows' Text.
  5237. 2006-11-20 Rolf Bjarne Kvinge <[email protected]>
  5238. * InternalWindowManager.cs:
  5239. * Form.cs:
  5240. * MdiClient.cs:
  5241. * MdiWindowManager.cs:
  5242. - If mdi child is maximized, set mdi parent's
  5243. text to "Parent - [Child]". Fixes #79770.
  5244. - If there is any maximized mdi child windows, only the active
  5245. window (and any new windows) is maximized, the rest are normal.
  5246. - On a WindowState change only save mdi child's window bounds
  5247. if the old window state was normal. Fixes #79774.
  5248. - The scroll bars are now calculated on hopefully all
  5249. necessary events. Fixed #79771 / #79844->6 / #79906.
  5250. - MdiClient.SizeScrollBars() now takes into account docked
  5251. controls in the parent when calculating available space.
  5252. - InternalWindowManager now always repaints the entire title
  5253. area. Fixes #79844->1/4/5.
  5254. - Added RequestNCRecalc on mdi child windowstate changes.
  5255. Fixes #79772.
  5256. 2006-11-20 Mike Kestner <[email protected]>
  5257. * ComboBox.cs: setup LargeChange on the scrollbar. Invoke FireMouseUp
  5258. in the MouseUp handler of the listbox and move the return handling
  5259. code to FireMouseUp to avoid scrolling on ups. Fixes #79952.
  5260. 2006-11-20 Everaldo Canuto <[email protected]>
  5261. * Toolbar.cs: Ignore right mouse clicks in toolbar. Fixes #79855.
  5262. 2006-11-17 Alexander Olk <[email protected]>
  5263. * MimeIcon.cs: Seems that DllImports that were fine in 1.2 are not
  5264. working in 1.2.x anymore. So, updated.
  5265. 2006-11-19 Gert Driesen <[email protected]>
  5266. * NumericUpDown.cs: Use NegativeSign, NumberDecimalSeparator and
  5267. NumberGroupSeparator of current culture instead of assuming en-US.
  5268. Fixed bug #79967.
  5269. 2006-11-17 Mike Kestner <[email protected]>
  5270. * Control.cs: Add the concept of implicit bounds setting so that
  5271. dock/undock round trips preserve explicitly set size/locations.
  5272. Fixes #79313.
  5273. 2006-11-17 Alexander Olk <[email protected]>
  5274. * FileDialog.cs: Trim all filters, otherwise DirInfo.GetFiles
  5275. can't handle those filters. (Fixes bug #79961)
  5276. 2006-11-17 Chris Toshok <[email protected]>
  5277. [ fixes the exit/crashes associated with #79835. it's clearly
  5278. suboptimal though, we need to figure out a better way to solve
  5279. this. ]
  5280. * PrintPreviewControl.cs: deal with the new invalid printer
  5281. exceptions.
  5282. * PageSetupDialog.cs: if the printer is invalid, pop up a dialog
  5283. and return false (so CommonDialog.ShowDialog doesn't actually show
  5284. the form.)
  5285. * PrintDialog.cs: enable/disable the Ok button depending on
  5286. whether or not the printer is valid.
  5287. * CommonDialog.cs (ShowDialog): only actually show the form if
  5288. RunDialog returns true.
  5289. 2006-11-17 Jackson Harper <[email protected]>
  5290. * TextControl.cs: When soft splitting a line, mark it as a soft
  5291. split line. Also carry over the current line break to the next
  5292. line.
  5293. 2006-11-17 Chris Toshok <[email protected]>
  5294. * XplatUIX11.cs: when scrolling a window with an invalid area, we
  5295. only want to shift the part of the invalid area that overlaps the
  5296. area we're scrolling. we also don't want to clear the invalid
  5297. area unless the invalid area was entirely contained within the
  5298. scrolling area.
  5299. 2006-11-16 Chris Toshok <[email protected]>
  5300. * XplatUIX11.cs: remove the handling of the TimerEvent stuff, and
  5301. also make sure to free the memory returned by XGetWindowProperty
  5302. in GetText().
  5303. * X11Structs.cs: remove the TimerEvent stuff, it's unused.
  5304. 2006-11-16 Chris Toshok <[email protected]>
  5305. * XplatUI.cs: add a new super secret way to get at the totally
  5306. unsupported X11 backend.
  5307. 2006-11-16 Gert Driesen <[email protected]>
  5308. * NumericUpDown.cs: Allow lowercase letters when in hex-mode.
  5309. 2006-11-16 Jackson Harper <[email protected]>
  5310. * TreeView.cs: Allow more explicit setting of top node position
  5311. for scrollbars. Slower algo, but more accurate.
  5312. - CollapseAll should maintain the current top node.
  5313. * TextBoxBase.cs: When positioning the caret, use the line, pos
  5314. method, since the x, y method does not grab the correct tag, and
  5315. the caret height never gets set correctly. (Maybe I should just do
  5316. away with the caret having its own height, and always use the
  5317. carets current tag for height).
  5318. 2006-11-16 Jonathan Pobst <[email protected]
  5319. [Fixes 79778, 79923]
  5320. * XplatUIWin32.cs: Don't allow a parent to be set to IntPtr.Zero.
  5321. Parent to the FosterParent instead.
  5322. 2006-11-16 Jackson Harper <[email protected]>
  5323. * TreeView.cs: Need to recalc the topnode when we expand or
  5324. collapse. The scrolling methods can't handle this on their own,
  5325. since they use differences between the last scroll position, and
  5326. those difference get completely messed up since we are expanding
  5327. nodes. This problem should probably be fixed in the scrolling
  5328. methods, so they can figure out exactly where they are, but this
  5329. will slow things down a little.
  5330. * ThemeWin32Classic.cs: Special case for groupboxes with empty
  5331. strings, makes nunit-gui look a lot nicer.
  5332. 2006-11-16 Chris Toshok <[email protected]>
  5333. * XplatUIX11.cs: nasty, nasty, nasty changes required because of
  5334. the broken multithreaded event handling we have in here. File
  5335. this entry under "Why we should move to the new X11 backend".
  5336. Any thread can make it into UpdateMessageQueue, which gets events
  5337. from the X socket - some of which could belong to hwnds being
  5338. managed by a different thread. We can also have multiple threads
  5339. in UpdateMessageQueue at the same time, with each one reading from
  5340. the X socket. This leads to many problems, with the following
  5341. solutions:
  5342. We can't use hwnd.Queue.Enqueue anywhere in here and must use
  5343. EnqueueLocked.
  5344. The MotionNotify compression we do can't work across threads
  5345. (without locking the entire queue, perhaps) since we call
  5346. hwnd.Queue.Peek, so we just punt and don't compress motion events
  5347. unless the owning thread is the one which got the X event.
  5348. ConfigureNotify is another fun one, since it modifies the hwnd's
  5349. bounds and then enqueues the event. We add a lock to Hwnd which
  5350. is held when setting configure_pending to true (and enqueuing the
  5351. event).
  5352. There is a race wrt the wake socket. we need to make sure that
  5353. only 1 thread is waiting on that socket, or else a thread could
  5354. sleep waiting for data that never comes. It's difficult (but not
  5355. impossible) to make happen, because it seems to require something
  5356. like the following:
  5357. 1. Thread 1 polls on wake_receive
  5358. 2. poll returns saying there's data to be read on
  5359. wake_receive.
  5360. 3. Thread 2 polls on wake_receive and immediately returns
  5361. saying there's data to be read.
  5362. 4. Thread 2 reads the wakeup byte from wake_receive
  5363. 5. Thread 1 attempts to read the wakeup byte from
  5364. wake_receive.
  5365. 6. Thread 2 exits (due to a form closing, perhaps).
  5366. 7. Thread 1 blocks forever.
  5367. Fun, eh?
  5368. Fixing the Expose handling isn't done yet, and the races inherent
  5369. in that piece of code are responsible for the drawing mistakes you
  5370. see when generating expose events in a MT app (like NPlot). This
  5371. one is the likely to be the hardest to bandaid, and it doesn't
  5372. appear to cause anything but drawing problems. The other issues
  5373. caused apps to exit or hang.
  5374. * XEventQueue.cs: output some spew when Dequeue/Enqueue/Peek are
  5375. called from a different thread than the one that should be calling
  5376. these functions.
  5377. * Hwnd.cs: add some locks to be used by the XplatUIX11 code.
  5378. 2006-11-15 Chris Toshok <[email protected]>
  5379. * Application.cs: null out the context's MainForm when we exit
  5380. RunLoop. Fixes a newly checked in unit test as well as the last
  5381. ODE from bug #79933.
  5382. 2006-11-15 Chris Toshok <[email protected]>
  5383. * Form.cs (set_Owner): allow a null value so we can clear the
  5384. form's owner.
  5385. (Dispose): set all our owned_form's Owner properties to null, and
  5386. clear the owned_forms collection.
  5387. (WM_CLOSE): clean up this a little bit.. still not right though.
  5388. * ApplicationContext.cs: OnMainFormClosed should only call
  5389. ExitThreadCore if the main form isn't recreating. Fixes unit
  5390. test.
  5391. 2006-11-15 Jonathan Pobst <[email protected]>
  5392. [Fixes 78346]
  5393. * ComboBox.cs: Set the Hwnd.no_activate flag for the ComboListBox.
  5394. 2006-11-15 Jonathan Pobst <[email protected]>
  5395. [Fixes 79433]
  5396. * Hwnd.cs: Add a flag to show a window, but not activate it, to
  5397. keep popup window types from stealing focus from the main form
  5398. on Windows.
  5399. * XPlatUIWin32.cs: Use SW_SHOWNOACTIVATE if above field is true.
  5400. * MenuAPI.cs: Set above flag to true.
  5401. 2006-11-15 Chris Toshok <[email protected]>
  5402. * XplatUIX11.cs: mimic win32 behavior on BUTTONUP events, where
  5403. the button being released is not in wParam.
  5404. 2006-11-15 Jonathan Pobst <[email protected]>
  5405. * Form.cs: Add the released button to MouseEventArgs.Button
  5406. for the OnMouseUp call to the MenuTracker. Fixes menu clicking
  5407. on Win32.
  5408. 2006-11-15 Chris Toshok <[email protected]>
  5409. * XplatUIX11.cs: add (untested) a _NET_WM_NAME implementation of
  5410. GetText(). untested because it's unused in our implementation.
  5411. Control.Text always caches the text, even if
  5412. ControlStyles.CacheText is not set.
  5413. fixes bug #79939.
  5414. 2006-11-15 Chris Toshok <[email protected]>
  5415. [ fixes #79933 ]
  5416. * Form.cs: in Close() don't do anything after we send the WM_CLOSE
  5417. message. no hiding, no disposing.
  5418. in the WM_CLOSE handler, hide the form if it's modal.
  5419. 2006-11-15 Chris Toshok <[email protected]>
  5420. * XplatUIX11.cs: use AddExpose instead of sending a message.
  5421. fixes textbox border drawing.
  5422. 2006-11-15 Chris Toshok <[email protected]>
  5423. * PropertyGridView.cs: keep from crashing on mouse move/down when
  5424. the property grid is empty.
  5425. 2006-11-14 Jackson Harper <[email protected]>
  5426. * TextControl.cs: Make PageUp and PageDown more like the MS
  5427. versions.
  5428. * TextBoxBase.cs: When we set the text property position the
  5429. cursor at the beginning of the document.
  5430. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  5431. * Form.cs: if a mdi child's WindowState has changed
  5432. before it's creation, it would display wrong control
  5433. buttons.
  5434. 2006-11-14 Alexander Olk <[email protected]>
  5435. * TreeView.cs: De-uglify TreeView checkbox checkmarks.
  5436. (Fixes bug #79927)
  5437. 2006-11-14 Rolf Bjarne Kvinge <[email protected]>
  5438. * XplatUIX11.cs: send a WM_NCPAINT on WM_NCCALCSIZE so that
  5439. the window gets to paint its borders even if the window is
  5440. getting smaller.
  5441. * Form.cs: on a WM_NCPAINT invalidate the entire menu,
  5442. otherwise the old control buttons would still be painted
  5443. if the window gets bigger.
  5444. * PaintEventArgs.cs: add an internal method so that the clip
  5445. rectangle can be changed.
  5446. 2006-11-13 Chris Toshok <[email protected]>
  5447. [ fixes bug #79745 ]
  5448. * NotifyIcon.cs: lots of cleanup.
  5449. * X11Structs.cs: add an enum for XEMBED messages.
  5450. * XplatUIX11.cs: reindent one of the giant switch statements, it
  5451. was taking up an additional tab stop, and this file is already way
  5452. too wide for my laptop's screen.
  5453. Also, add handling for the XEmbed EMBEDDED_NOTIFY message. When
  5454. we get it, resize the hwnd to the WMNormalHints max_width/height.
  5455. 2006-11-13 Jackson Harper <[email protected]>
  5456. * TextBoxBase.cs: Compute the value changes for the mouse wheel
  5457. teh simple way.
  5458. 2006-11-13 Chris Toshok <[email protected]>
  5459. * XplatUIX11.cs, XplatUIStructs.cs: kind of a gross fix for
  5460. #79898. force a reference to the Region to stick around so the
  5461. unmanaged object isn't collected (rendering our handle in the MSG
  5462. stale).
  5463. 2006-11-13 Chris Toshok <[email protected]>
  5464. * XplatUIX11.cs: fix #79917 for window managers which support
  5465. using XStoreName on the raw utf8, and we need to convert to
  5466. COMPOUND_TEXT if it's non-latin1.
  5467. 2006-11-13 Chris Toshok <[email protected]>
  5468. * Form.cs (set_DialogResult): we need to set closing to false if
  5469. we're setting our result to None. fixes bug #79908.
  5470. 2006-11-13 Jackson Harper <[email protected]>
  5471. * TextControl.cs: When formatting text, compute the adjusted tag
  5472. lengths correctly, using FindTag for the end tag instead of trying
  5473. to figure it out outselves.
  5474. * TreeNode.cs: Use ActualItemHeight, which is the actual height of
  5475. the item, ItemHeight doesn't work, because trees with large
  5476. imagelists use those for their height
  5477. * TreeView.cs: ActualItemHeight factors in the image height
  5478. - compute left edge of checkboxes correctly
  5479. - when expanding/collapsing move the bottom down one pixel, so we
  5480. aren't moving part of the node
  5481. 2006-11-13 Rolf Bjarne Kvinge <[email protected]>
  5482. * XplatUIX11.cs: The PaintEventArgs is also added to the drawing
  5483. stack in PaintEventStart so that it won't get disposed by the gc
  5484. before reaching PaintEventEnd.
  5485. 2006-11-13 Jackson Harper <[email protected]>
  5486. * TextBoxBase.cs: Don't select the word if we are on a line with
  5487. no text.
  5488. - We don't need to position the caret on mouse up, since the mouse
  5489. move handler should be doing this
  5490. - When double clicking a blank line, the caret is advanced to the
  5491. next line.
  5492. 2006-11-13 Gert Driesen <[email protected]>
  5493. * TreeNodeCollection.cs: Avoid duplicating indexer code.
  5494. 2006-11-12 Gert Driesen <[email protected]>
  5495. * ColorDialog.cs: Reset size of dialog between calls to ShowDialog.
  5496. Fixes part of bug #79910.
  5497. 2006-11-11 Alexander Olk <[email protected]>
  5498. * ColorDialog.cs: Fix a NRE when adding a color to custom colors
  5499. (bug #79903). Some minor string updates to match ms.
  5500. 2006-11-10 Alexander Olk <[email protected]>
  5501. * FileDialog.cs: Don't add an extension if the filename
  5502. already ends with that extension.
  5503. 2006-11-10 Jackson Harper <[email protected]>
  5504. * TreeView.cs: Use the currently highlighted node for the
  5505. BeforeSelect event.
  5506. * TextBoxBase.cs: There is no need to expand selection on
  5507. MouseMove.
  5508. - CanUndo means 'is there any undo operations', not 'is undo
  5509. allowed on this textcontrol. Fixed ClearUndo unit test.
  5510. 2006-11-10 Andreia Gaita <[email protected]>
  5511. * Button.cs: only perform click when button is Selectable (so as
  5512. not to activate default buttons when they're disabled)
  5513. * Control.cs: Rewrite of the SelectNextControl and related
  5514. methods. HandleClick now selects next control if the current one
  5515. is being disabled.
  5516. * Form.cs: OnActivated selects next active control only if Load
  5517. has already occurred. If Load hasn't run, there's no point in
  5518. selecting here, Load might change the state of controls.
  5519. * FocusTest.cs: Tests marked as working again for these fixes
  5520. 2006-11-10 Chris Toshok <[email protected]>
  5521. * XplatUIX11.cs: a couple of fixes.
  5522. - use XInternAtoms with almost all the atoms we need to register,
  5523. instead of many, many calls to XInternAtom. should help a bit on
  5524. startup time, at the expense of making the code look a little
  5525. worse.
  5526. - fall back to setting TransientFor on TOOLWINDOW's if their hwnd
  5527. isn't reparented (which seems to be a clue that we're running fon
  5528. compiz) and they have an Owner form. This fixes the tool windows
  5529. in paint.net when running under compiz.
  5530. - when setting the opacity of a window, support both the case
  5531. where the window has been reparented and also when it hasn't been.
  5532. Since compiz/beryl doesn't seem to reparent windows, and these are
  5533. the only window managers which support translucency, I'm not sure
  5534. why we need the hwnd.reparented case at all.. but leave it in.
  5535. now we get translucent windows in paint.net under compiz/beryl.
  5536. 2006-11-10 Alexander Olk <[email protected]>
  5537. * FileDialog.cs: Always return the value for FilterIndex that
  5538. was set. Internally convert it to values that make sense.
  5539. 2006-11-10 Everaldo Canuto <[email protected]>
  5540. * ThemeWin32Classic.cs: Fix drowp down arrow borders.
  5541. 2006-11-10 Everaldo Canuto <[email protected]>
  5542. * Toolbar.cs: Change default value of DropDownArrows to true, the
  5543. signature still using false to make it compatible with MS but the
  5544. initial value is true. Fixes #79855.
  5545. 2006-11-10 Alexander Olk <[email protected]>
  5546. * MimeIcon.cs: Don't throw an exception on windows. Mime stuff is
  5547. only available on Linux.
  5548. 2006-11-09 Everaldo Canuto <[email protected]>
  5549. * Toolbar.cs, ToolBarButton.cs: Fix wrong separator size and
  5550. reduce number of calls to redraw method during toolbar creation.
  5551. 2006-11-09 Mike Kestner <[email protected]>
  5552. * ListView.cs : raise SelectedIndexChanged when an item is selected
  5553. programmatically via the Item.Selected property. Gert's nice
  5554. ListViewSelectedIndexChanged test fixture now runs clean.
  5555. 2006-11-09 Mike Kestner <[email protected]>
  5556. * ListView.cs : raise SelectedIndexChanged when a selected item is
  5557. removed from the item collection using Remove or RemoveAt.
  5558. 2006-11-09 Mike Kestner <[email protected]>
  5559. * ListView.cs : raise SelectedIndexChanged once per selected item
  5560. for compat with MS. Fixes #79849+.
  5561. 2006-11-09 Chris Toshok <[email protected]>
  5562. * TabControl.cs: initialize row_count to 0, and set it to 1 when
  5563. we need to (if we have any tab pages). Fixes unit test.
  5564. 2006-11-09 Chris Toshok <[email protected]>
  5565. * Label.cs (CalcPreferredWidth): if Text == "", our preferred
  5566. width is 0, not 3. Fixes a unit test.
  5567. 2006-11-09 Mike Kestner <[email protected]>
  5568. * ListView.cs : use Implicit scrollbars so that focus isn't
  5569. stolen from the listview when they are clicked. Fixes #79850.
  5570. 2006-11-09 Chris Toshok <[email protected]>
  5571. * PropertyGridView.cs (OnPaint): only call DrawGridItems if we
  5572. have a root item. Fixes #79879.
  5573. 2006-11-09 Alexander Olk <[email protected]>
  5574. * FileDialog.cs:
  5575. - Fix ToString ()
  5576. - An ArgumentException is now thrown if a wrong filter
  5577. is applied (matches ms). The previous filter doesn't change
  5578. anymore if an exception is thrown.
  5579. - Changing the FileName property also affects FileNames
  5580. * ColorDialog.cs: The length of the CustomColors array is always
  5581. 16. It doesn't matter if we use a smaller array or null to update
  5582. or change the custom colors property.
  5583. * FolderBrowserDialog.cs: Throw an InvalidEnumArgumentException if
  5584. for RootFolder if we get a undefined value.
  5585. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  5586. * StatusBarPanel.cs:
  5587. - Width is set to MinWidth if Width is smaller than
  5588. MinWidth. Fixes #79842.
  5589. - MinWidth now always overrides Width (MSDN says MinWidth
  5590. is set to Width when AutoSize = None, but they do not
  5591. behave like that).
  5592. - Style has now the the correct default value.
  5593. 2006-11-09 Rolf Bjarne Kvinge <[email protected]>
  5594. * TrackBar.cs:
  5595. - The control is completely invalidated on
  5596. Got/LostFocus to draw the focus rectangle correctly.
  5597. - When AutoSize then height is always 45 (width for
  5598. vertical controls).
  5599. * ThemeWin32Classic.cs: The TrackBar thumb is now centered
  5600. on the mouse when moved and it doesn't move when grabbed
  5601. until the mouse moves as well. Also fixed some wrong
  5602. calculations when clicking on the thumb (control thought
  5603. click was outside of thumb and didn't grab it).
  5604. Fixes some of the issues in #79718.
  5605. 2006-11-08 Everaldo Canuto <[email protected]>
  5606. * Toolbar.cs: Prevent disabled button to highlight. Fixes #79868.
  5607. 2006-11-08 Chris Toshok <[email protected]>
  5608. * PropertyGridView.cs: only call ToggleValue if the item is not
  5609. readonly.
  5610. 2006-11-08 Jackson Harper <[email protected]>
  5611. * TextBoxBase.cs: The RichTextBox and textbox have very different
  5612. word selection methods. Implement the textbox's simple word
  5613. selection here, and let the RichTextBox override and provide it's
  5614. own.
  5615. - Don't do extra selection on mouseup
  5616. * RichTextBox.cs: Use the documents word selection algorithm, I
  5617. think ideally, this function will be pulled into the
  5618. RichTextBox.cs code someday.
  5619. 2006-11-08 Chris Toshok <[email protected]>
  5620. * RootGridEntry.cs: new class to represent GridItemType.Root.
  5621. * CategoryGridEntry.cs: reformat, and add boilerplate.
  5622. * GridEntry.cs: remove the UIParent stuff - turns out .Parent
  5623. returns the UI parent anyway, and we need special handling to
  5624. implement the GetTarget method in the face of it. Also, implement
  5625. Select().
  5626. * PropertyGrid.cs, PropertyGridView.cs: a number of fixes. create
  5627. a root grid item, and use that instead of PropertyGrid.grid_items.
  5628. Also, make use of TypeConverters (and add limitted support for
  5629. ICustomTypeDescriptors) when initially populating the grid.
  5630. Arrays now show up more or less properly.
  5631. 2006-11-08 Chris Toshok <[email protected]>
  5632. * Application.cs: set the modal dialog to non modal after we close
  5633. it. Fixes bug #79866.
  5634. 2006-11-08 Jackson Harper <[email protected]>
  5635. * TextControl.cs: When combining lines carry over the line end
  5636. style from the end line.
  5637. - Invalidate the selected area when setting it, if it is visible.
  5638. * TextBoxBase.cs: Only rich text box can do full line selects.
  5639. - Make sure to set the cursor position when there is a click,
  5640. otherwise two clicks in separate areas could cause a large chunk
  5641. to be selected.
  5642. 2006-11-07 Everaldo Canuto <[email protected]>
  5643. * Toolbar.cs: Release flat button borders when Toolbar lost focus.
  5644. Fixes #79863.
  5645. 2006-11-07 Everaldo Canuto <[email protected]>
  5646. * Toolbar.cs: Prevent toolbar to open more than one tooltip at same
  5647. time. Remove tooltips when ToolButton click events. Fixes #79856.
  5648. 2006-11-07 Everaldo Canuto <[email protected]>
  5649. * MenuAPI.cs: Ignore right click for menu actions and fixes
  5650. menu border when clicked. Fixes #79846.
  5651. 2006-11-07 Everaldo Canuto <[email protected]>
  5652. * XplatUIX11.cs, XplatUIX11.cs: Fix MouseRelease to only release
  5653. MouseState after create wParam for message, this fixes mouse button
  5654. equal none in mouse up events.
  5655. 2006-11-07 Andreia Gaita <[email protected]>
  5656. * Control.cs : Focus() now calls Select to set the Container's
  5657. Active Control and to give it focus. To avoid infinite recursion
  5658. (because ActiveControl also calls Focus at one point), a check
  5659. is made in Focus with the help of a new internal variable
  5660. is_focusing.
  5661. 2006-11-07 Mike Kestner <[email protected]>
  5662. * ListView.cs : raise OnSelectedIndexChanged in CreateHandle
  5663. if there's a selection. Fixes #79849.
  5664. 2006-11-07 Gert Driesen <[email protected]>
  5665. * PropertyGrid.cs: Avoid fixed height of help description label.
  5666. Fixes part of bug #79829.
  5667. 2006-11-07 Chris Toshok <[email protected]>
  5668. * XplatUIX11.cs: fix #79790 again, by using the
  5669. _NET_WM_STATE_SKIP_TASKBAR atom to implement Form.ShowInTaskbar.
  5670. 2006-11-07 Everaldo Canuto <[email protected]>
  5671. * ToolBar.cs: Fix left click checking.
  5672. 2006-11-07 Chris Toshok <[email protected]>
  5673. * ProgressBar.cs: fix a typo in ToString(). fixes a unit test.
  5674. 2006-11-07 Chris Toshok <[email protected]>
  5675. * RelatedPropertyManager.cs: set property_name in our ctor. fixes
  5676. PropertyManager unit tests.
  5677. * PropertyManager.cs: make property_name internal.
  5678. 2006-11-07 Chris Toshok <[email protected]>
  5679. * ButtonBase.cs: initialize base.ime_mode to ImeMode.Disable to
  5680. pass a unit test. Also, don't set image_index to anything in
  5681. response to setting the ImageList property.
  5682. 2006-11-07 Everaldo Canuto <[email protected]>
  5683. * ToolBar.cs: Ignore click events when mouse button is not a
  5684. left button, only accepts other button for dropdown menus.
  5685. Fixes #79854.
  5686. 2006-11-07 Chris Toshok <[email protected]>
  5687. * DataGrid.cs: make the back and parent row buttons a little less
  5688. ugly.
  5689. 2006-11-07 Jackson Harper <[email protected]>
  5690. * TextBoxBase.cs: When converting to Text don't put line breaks in
  5691. for soft line breaks.
  5692. * TextControl.cs: There is an initial "fake" line in the document,
  5693. this is now a soft break line, so that an extra line feed doesn't
  5694. get added to the end of documents.
  5695. 2006-11-07 Chris Toshok <[email protected]>
  5696. [ fix bug #79778 ]
  5697. * CurrencyManager.cs: if the list is readonly, don't bother
  5698. checking if IBindingList.AllowNew is true.
  5699. * ThemeWin32Classic.cs (DataGridPaintParentRow): make this work
  5700. for non-DataRowView datasources.. or rather, make it not crash.
  5701. (DataGridPaintRelationRow): make sure we limit the row painting to
  5702. the area not covered by the row header, and make our cell width at
  5703. least large enough to cover the relation area. This allows grids
  5704. that have relations but no rows to render correctly.
  5705. (DataGridPaintRowContents): same type of changes here.
  5706. (SetDataSource): move back to always calling
  5707. CalcAreasAndInvalidate. this fixes a crash/drawing problem when
  5708. navigating back through relations.
  5709. (HitTest): handle the case where we have no cells but have
  5710. relations. Right now we generate a hit in cell 0 of whatever the
  5711. row is, not sure if this is strictly correct, but it works for our
  5712. purposes.
  5713. * DataGrid.cs (EndEdit, CancelEdit): if we have no columns, don't
  5714. bother doing anything.
  5715. 2006-11-07 Jonathan Pobst <[email protected]>
  5716. * StatusStrip.cs, ToolStripStatusLabel.cs: By request, an
  5717. early version of StatusStrip. Not responsible for eaten
  5718. application or firstborn children.
  5719. 2006-11-06 Chris Toshok <[email protected]>
  5720. * TabControl.cs: in OnGotFocusInternal/OnLostFocusInternal don't
  5721. call GetTabRect with a -1 index. Fixes #79847.
  5722. 2006-11-06 Jackson Harper <[email protected]>
  5723. * TreeNodeCollection.cs: Update scrollbars after clearing.
  5724. 2006-11-06 Chris Toshok <[email protected]>
  5725. * NumericUpDown.cs: fix the ToString method for some unit test
  5726. love.
  5727. 2006-11-06 Chris Toshok <[email protected]>
  5728. * PropertyGrid.cs:
  5729. - set the initial SelectedGridItem if we can.
  5730. - Exclude non-mergable properties only if we're merging > 1
  5731. object. Merging 1 object isn't really merging, obviously.
  5732. - Handle PropertySort.NoSort just like Alphabetical, which is
  5733. wrong of course, but at least gets things on the screen.
  5734. * PropertyGridView.cs:
  5735. - Add method "FindFirstItem" which finds the first property grid
  5736. item, so we can select it by default.
  5737. - make use of GridEntry.CanResetValue.
  5738. - Don't call RedrawBelowItemOnExpansion here anymore, the
  5739. individual GridEntry's will do that.
  5740. - Remove the ITypeDescriptorContextImpl internal class.
  5741. * GridEntry.cs:
  5742. - this class needs to implement ITypeDescriptorContext, as it's
  5743. what MS's PropertyDescriptorGridEntry does, which means we can
  5744. remove the ITypeDescriptorContextImpl internal class from
  5745. PropertyGrid.cs. This fixes the crashing portion of bug #79829.
  5746. - keep a reference to our PropertyGridView, and move the call to
  5747. RedrawBelowItemOnExpansion here from PGV. This means
  5748. programmaticly setting Expanded actually does something visible.
  5749. - add a CanResetValue() function which takes into account our
  5750. possibly multiple "selected_objects" in the merged case. Shifting
  5751. PropertyGridView to use this method fixes another unreported
  5752. crasher found running the test for #79829.
  5753. - when Top or Bounds is updated, make sure the PropertyGridTextBox
  5754. is updated to reflect this.
  5755. * CategoryGridEntry.cs: the ctor takes the PGV now.
  5756. 2006-11-06 Jackson Harper <[email protected]>
  5757. * TextControl.cs: These are 1 based.
  5758. * TextBoxBase.cs: When setting the selected text, don't change the
  5759. selected text tags, this is done by ReplaceText, just position the
  5760. cursor at the end of the new text.
  5761. 2006-11-06 Alexander Olk <[email protected]>
  5762. * ListView.cs: Allow label edit only when, when LabelEdit is
  5763. set to true.
  5764. 2006-11-06 Jackson Harper <[email protected]>
  5765. * TextControl.cs: If a suitable wrapping position isn't found,
  5766. just wrap right in the middle of a word.
  5767. 2006-11-06 Alexander Olk <[email protected]>
  5768. * ListView.cs, ListViewItem.cs: Implement LabelEdit. Fixes
  5769. bug #79820.
  5770. 2006-11-06 Jackson Harper <[email protected]>
  5771. * TreeView.cs: Can't use the VisibleCount property when setting
  5772. scrollbar heights, because this doesn't take into account whether
  5773. or not the horz scrollbar just came visible.
  5774. 2006-11-05 Everaldo Canuto <[email protected]>
  5775. * MenuAPI.cs: Deactivate menu on mouse up when menus it is already
  5776. activated. Fixes #79369, #79832.
  5777. 2006-11-05 Alexander Olk <[email protected]>
  5778. * FileDialog.cs: *sigh* Because of recent runtime changes (r67043) I
  5779. had to remove support for links that point to a directory. FileInfo
  5780. returns no usefull information (means, the directory they point to)
  5781. for such links. Replaced some empty string ("") with String.Empty.
  5782. 2006-11-04 Gert Driesen <[email protected]>
  5783. * TreeNodeCollection.cs: To match MS, in 1.0 profile throw
  5784. NullReferenceException when attempting to remove node that is not in
  5785. collection. Throw NullReferenceException when null is passed to
  5786. Remove. Allow first element of the collection to be removed. Fixes
  5787. bug #79831. In GetEnumerator ().Current return null if positioned
  5788. before the first element of the collection. In GetEnumerator ().Reset,
  5789. position before first element of the collection.
  5790. 2006-11-04 Gert Driesen <[email protected]>
  5791. * PropertyGrid.cs: To match MS, remove default title and description
  5792. for panel. Fixed tooltips for Categorized and Alphabetic toolbar
  5793. buttons.
  5794. 2006-11-04 Chris Toshok <[email protected]>
  5795. * Theme.cs: add a Clamp method, just for kicks.
  5796. * ThemeWin32Classic.cs: clamp all color components to [0..255].
  5797. 2006-11-04 Chris Toshok <[email protected]>
  5798. * Form.cs: if the form isn't visible, Close() does nothing.
  5799. 2006-11-03 Chris Toshok <[email protected]>
  5800. * Form.cs (Close): if the form is modal, don't Dispose of it, only
  5801. Hide it.
  5802. (WndProc): don't Dispose after handling the WM_CLOSE message.
  5803. * Application.cs (RunLoop): toplevels is a list of Forms, so treat
  5804. them as such, instead of using casts from Control to Form. Also,
  5805. don't Dispose of the modal dialog when we fall out of the loop -
  5806. Close() it instead.
  5807. fixes bug #79813.
  5808. 2006-11-03 Chris Toshok <[email protected]>
  5809. * Control.cs (Dispose): only go through the dispose thing if we're
  5810. @disposing, and we haven't already been disposed. Fixes bug
  5811. #79814.
  5812. * Form.cs: no reason to call "base.Dispose()" here instead of
  5813. "Dispose()".
  5814. 2006-11-03 Mike Kestner <[email protected]>
  5815. * ComboBox.cs : use ToString instead of casts in AddItem for
  5816. sorting functionality. Fixes #79812.
  5817. 2006-11-03 Chris Toshok <[email protected]>
  5818. * Application.cs: pave the way for actually using the thread
  5819. exception dialog. it's ifdefed out at the moment.
  5820. 2006-11-03 Chris Toshok <[email protected]>
  5821. * ThreadExceptionDialog.cs: until we get a better layout, actually
  5822. hide the details textbox and label when we shouldn't see them.
  5823. 2006-11-03 Jackson Harper <[email protected]>
  5824. * TextBoxBase.cs: Don't bail from the scrollbar calcs for non
  5825. multiline textboxes anymore. This method also determines the
  5826. width/height of a textboxes canvas area.
  5827. - Sorta a revert of the last patch. For multiline just position
  5828. the controls, then bail. This way the scrollbar width won't be
  5829. altered.
  5830. 2006-11-03 Everaldo Canuto <[email protected]>
  5831. * ThemeWin32Classic.cs: Dont paint inner lines of 3D border when
  5832. it dont need. Fixes #79537.
  5833. 2006-11-02 Jackson Harper <[email protected]>
  5834. * X11Dnd.cs: We always allow copy, since XDND implies Copy. Also
  5835. send the status after firing the DndOver event.
  5836. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  5837. * TrackBar.cs: Now orientation only switches height / width if
  5838. the control's handle is created (Win32 does it like this). Also
  5839. fixed a typo in ToString() for a test to pass, changed the
  5840. exception thrown in set_LargeChange and set_SmallChange to
  5841. match Win32 behaviour, and added TrackBar tests to the unit
  5842. tests.
  5843. 2006-11-02 Chris Toshok <[email protected]>
  5844. * XplatUIX11.cs: the atom we want is _NET_WM_STATE_SKIP_TASKBAR,
  5845. not _NET_WM_STATE_NO_TASKBAR.
  5846. 2006-11-02 Jackson Harper <[email protected]>
  5847. * TextControl.cs: Increment count by one, since in the update view
  5848. count - 1 is used.
  5849. 2006-11-02 Jackson Harper <[email protected]>
  5850. * TextBoxBase.cs: Use client rectangle not bounds for checking if
  5851. the mouse is in the client rectangle (duh).
  5852. 2006-11-02 Rolf Bjarne Kvinge <[email protected]>
  5853. * TrackBar.cs: Fixed trackbar jumping around when clicking
  5854. on it - the trackbar was not detecting correctly at which
  5855. side of the thumb the click was done. (fixes #79718)
  5856. 2006-11-02 Everaldo Canuto <[email protected]>
  5857. * ListBox.cs: scroll visible area when change SelectedIndex to
  5858. a non visible area. Fixes #79481.
  5859. 2006-11-01 Jackson Harper <[email protected]>
  5860. * TextControl.cs: When replacing the selection move the selection
  5861. start/end/anchor to the end of the new text.
  5862. 2006-11-01 Jackson Harper <[email protected]>
  5863. * XplatUIWin32.cs: When setting the parent change the controls
  5864. visibility to it's visibility flag, not to it's old parents
  5865. visibility (.Visible walks the parent chain).
  5866. 2006-11-01 Chris Toshok <[email protected]>
  5867. * XplatUIX11.cs: revert the #79790 fix, as the simple.
  5868. XSetTransientForHint fix breaks paint .net's tool windows. more
  5869. work needed for that one.
  5870. 2006-11-01 Chris Toshok <[email protected]>
  5871. * ScrollBar.cs: throw ArgumentException instead of Exception in
  5872. LargeChange/SmallChange setters. fixes unit tests.
  5873. 2006-10-31 Andreia Gaita <[email protected]>
  5874. * ContainerControl.cs: reverted rev.67183 (which was itself
  5875. a reversion of rev.66853... eh).
  5876. * Control.cs: Fixes Reflector hang by changing Focus() call
  5877. to what it was before rev.66643 (calling Select() here sets
  5878. ActiveControl, which in some situations calls back Focus and
  5879. eventually does a stack overflow). Temp fix.
  5880. Changes to GetNextControl() to not look for children to select when
  5881. parent cannot be selectable (so it looks for siblings instead)
  5882. 2006-10-31 Mike Kestner <[email protected]>
  5883. * CheckedListBox.cs : off by one error in returned index from
  5884. ObjectCollection.Add. Fixes #79758.
  5885. 2006-10-31 Chris Toshok <[email protected]>
  5886. * UpDownBase.cs: remove the OnGotFocusInternal/OnLostFocusInternal
  5887. calls for the textbox/spinner, to keep from recursing to the point
  5888. where we crash. Fixes #79760.
  5889. 2006-10-31 Chris Toshok <[email protected]>
  5890. * ListControl.cs (set_SelectedValue): don't throw exceptions on
  5891. null/"" value, just return. matches ms's behavior and fixes some
  5892. failing tests.
  5893. 2006-10-31 Chris Toshok <[email protected]>
  5894. * Control.cs (set_Capture): make a logic a little easier to
  5895. follow.
  5896. * XplatUIX11.cs (CleanupCachedWindows): zero out the Grab window
  5897. if it's being destroyed. A necessary fix surely, but a bandaid
  5898. also, to fix the stuck capture problem in bug #78413.
  5899. 2006-10-31 Chris Toshok <[email protected]>
  5900. * XplatUIX11.cs: fix a couple of compiler warnings, and follow the
  5901. convention of clearing hwnd.ClientRect when we set the
  5902. width/height (so it'll be recalculated by Hwnd).
  5903. 2006-10-31 Andreia Gaita <[email protected]>
  5904. * ContainerControl.cs: reversed Contains check from
  5905. ActiveControl due to hanging problems. This fix
  5906. partly regresses #79667 (button does not have
  5907. initial focus), so this might be a symptom for
  5908. a larger parenting problem (set_ActiveControl
  5909. is being called but the child control does
  5910. not have the parent set yet?)
  5911. 2006-10-31 Mike Kestner <[email protected]>
  5912. * MenuAPI.cs : fix keynav when menu is click activated.
  5913. 2006-10-31 Jonathan Pobst <[email protected]>
  5914. * ToolStrip*: Version 0.2.
  5915. * MenuStrip.cs: Version 0.1.
  5916. * Form.cs: Add a 2.0 MenuStrip tracker like the 1.1 Menu one.
  5917. 2006-10-30 Chris Toshok <[email protected]>
  5918. [ fixes the oversized notify icon issue in bug #79745 ]
  5919. * NotifyIcon.cs: scale the icon down to the size we're given by
  5920. the XplatUI layer (this would be faster if we did it once instead
  5921. of whenever we paint..) Also, remove the WM_NCPAINT handling,
  5922. since it's never invoked.
  5923. * XplatUIX11.cs: the gnome and kde systrays use icons that are 24
  5924. pixels high by default, so let's hardcode our systray icon to that
  5925. size. The SYSTEM_TRAY protocol should really have a way for
  5926. client apps to query for the correct icon size.. but oh well. A
  5927. couple of patches to deal with the screwy client_window ==
  5928. whole_window notifyicon stuff (we don't want to PerformNCCalc, for
  5929. instance, and also make sure we don't XSelectInput twice).
  5930. 2006-10-30 Chris Toshok <[email protected]>
  5931. * Control.cs: ugh, the unit test fix (CH11, yesterday) breaks when
  5932. recreating forms. Control recreation is the bane of my existence.
  5933. Fix it in a way that keeps everyone happy.
  5934. 2006-10-30 Chris Toshok <[email protected]>
  5935. * XplatUIX11.cs: use StructureNotifyMask on all whole_windows, not
  5936. just non-CHILD ones. otherwise sometimes scrollbars end up with
  5937. client_windows not being resized to the proper size (ReportBuilder
  5938. shows this extremely well).
  5939. 2006-10-30 Chris Toshok <[email protected]>
  5940. * XplatUIX11.cs (SetWMStyles): reinstate the XSetTransientForHint
  5941. for non-WS_EX_APPWINDOW windows. This is what keeps them from
  5942. showing up in the gnome taskbar. Fixes bug #79790.
  5943. 2006-10-30 Chris Toshok <[email protected]>
  5944. * ApplicationContext.cs: guard against a NRE.
  5945. * Application.cs: null out the old MainForm for the context, so we
  5946. don't try to use it again once it's disposed. Fixes bug #79783.
  5947. 2006-10-30 Chris Toshok <[email protected]>
  5948. * DataGrid.cs (set_DataSource, set_DataMember): if we have a
  5949. BindingContext, set the data source directly, otherwise do the
  5950. lazy approach - the actual ListManager will be created when we get
  5951. a BindingContext. Fixes bug #79700.
  5952. 2006-10-30 Jonathan Pobst <[email protected]>
  5953. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  5954. XplatUIX11.cs: Remove old 2 parameter SetVisible.
  5955. * Control.cs: Use the new 3 parameter SetVisible with activate = true.
  5956. 2006-10-30 Jonathan Pobst <[email protected]>
  5957. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Add an overload
  5958. of SetVisible that allows a window to be shown, but not activated.
  5959. This is needed on Windows for MenuStrip, and can probably be used
  5960. with MainMenu and ComboBox to fix the focus stealing issues on
  5961. Windows.
  5962. * XplatUIOSX.cs, XplatUIX11.cs: Not needed, call existing SetVisible.
  5963. 2006-10-30 Alexander Olk <[email protected]>
  5964. * PictureBox.cs: Fix the output of the ToString method.
  5965. 2006-10-29 Chris Toshok <[email protected]>
  5966. * Control.cs (get_TopLevelControl): fix bug #79781.
  5967. 2006-10-29 Chris Toshok <[email protected]>
  5968. * ListControl.cs (set_DataSource): throw Exception here, not
  5969. ArgumentException, to match MS behavior.
  5970. 2006-10-29 Chris Toshok <[email protected]>
  5971. * Form.cs: remove the try-catch's around calls to GetWindowState.
  5972. We can just check the return value.
  5973. * XplatUIX11.cs: don't throw exceptions from GetWindowState.
  5974. Instead return -1.
  5975. * XplatUI.cs: Add note about additional return value for
  5976. GetWindowState.
  5977. 2006-10-29 Chris Toshok <[email protected]>
  5978. * Control.cs (CreateHandle): when we create our handle, we also
  5979. create the handles of our child controls. Fixes one of the
  5980. Control unit tests (CH11).
  5981. 2006-10-28 Alexander Olk <[email protected]>
  5982. * MimeIcon.cs: If a gnome icon doesn't exist add a default icon.
  5983. 2006-10-28 Alexander Olk <[email protected]>
  5984. * ThemeClearlooks.cs: A little speedup.
  5985. 2006-10-27 Chris Toshok <[email protected]>
  5986. * Control.cs: implement Control.FromChildHandle in a way that
  5987. matches the docs (and fixes the failed test.)
  5988. 2006-10-27 Chris Toshok <[email protected]>
  5989. * DataGridTableStyle.cs: reproduce buggy MS behavior (with
  5990. comments).
  5991. * DataGrid.cs: implement ResetForeColor such that the tests
  5992. succeed.
  5993. 2006-10-27 Chris Toshok <[email protected]>
  5994. * ToolBarButton.cs: setting text/tooltiptext to null results in it
  5995. being set to "". Fixes bug #79759.
  5996. 2006-10-27 Jackson Harper <[email protected]>
  5997. * TextControl.cs: We need to clear the entire selection area when
  5998. setting the start, otherwise multiline selections are still
  5999. visible.
  6000. 2006-10-26 Chris Toshok <[email protected]>
  6001. * PropertyGridView.cs:
  6002. - ifdef all the code specific to the double
  6003. buffer case, and provide some alternatives in the non-doublebuffer
  6004. code, which makes heavy use of XplatUI.ScrollWindow to move things
  6005. around without having to invalidate (and cause flicker). There
  6006. are still some drawing problems in the non-doublebuffered case, so
  6007. DOUBLEBUFFER is defined by default.
  6008. - Fix the way dropdowns are handled. now we explicitly watch for
  6009. the events which might cause the dropdown to close, and break out
  6010. of the nested event loop there. This gets rid of all Capture
  6011. code, at the expense of the Msg special casing. Seems to work,
  6012. though, and fixes bug #79743.
  6013. 2006-10-27 Rolf Bjarne Kvinge <[email protected]>
  6014. * Control.cs: SetIsRecreating now recreates implicitly added
  6015. child controls as well. Finally fixes #79629. The flag passed to
  6016. SetIsRecreating has also been removed since it wasn't used.
  6017. 2006-10-26 Carlos Alberto Cortez <[email protected]>
  6018. * PageSetupDialog.cs: Clean some code, fix some bits,
  6019. add some checks, and add a printer sub-dialog.
  6020. 2006-10-26 Chris Toshok <[email protected]>
  6021. * PropertyGrid.cs: make set_SelectedObject call
  6022. set_SelectedObjects, and move the duplicate logic to the
  6023. SelectedObjects setter. Also, raise SelectedObjectsChanged.
  6024. * PropertyGridView.cs: hide the textbox when we get a
  6025. SelectedObjectsChanged event.
  6026. Fixes bug #79748.
  6027. 2006-10-26 Chris Toshok <[email protected]>
  6028. * PropertyGridView.cs: deal with the type converter not supporting
  6029. GetStandardValues() or GetStandardValues() returning null, which
  6030. is does in the default case. Fixes #79742.
  6031. 2006-10-25 Andreia Gaita <[email protected]>
  6032. * CheckedListBox.cs: nunit no longer crashes when selecting
  6033. Project/Edit menu option
  6034. 2006-10-25 Andreia Gaita <[email protected]>
  6035. * MenuAPI.cs: prevent ExecFocusedItem from blowing up if there
  6036. is no menu selected. fixes #79739
  6037. 2006-10-25 Chris Toshok <[email protected]>
  6038. * PropertyGridView.cs: factor out the splitter invalidation code
  6039. into the SplitterPercent setter, and for kicks implement the
  6040. Ctrl-Left/Ctrl-Right handling that moves the splitter by a small
  6041. amount in either direction.
  6042. 2006-10-25 Chris Toshok <[email protected]>
  6043. * PropertyGridView.cs: do some cleanup of the brush used to draw
  6044. text - read only fields should be grayed out. not sure how to do
  6045. this with the textbox, though. but the textbox's should also be
  6046. readonly now at least. Also, hide/show the textbox when resizing
  6047. the control.
  6048. * CursorConverter.cs: use System.Reflection when getting the
  6049. properties of Cursors, as TypeDescriptor.GetProperties isn't
  6050. returning static properties.
  6051. 2006-10-25 Chris Toshok <[email protected]>
  6052. * PropertyGridView.cs: factor out the up/down handling, and reuse
  6053. it for page up/down. also add End/Home support.
  6054. 2006-10-25 Chris Toshok <[email protected]>
  6055. * PropertyGridView.cs:
  6056. - ensure the selected grid item is visible in the scrolled area,
  6057. fixes bug #79572.
  6058. - fix Keys.Down handling when you're on the last item in the
  6059. propertygrid.
  6060. 2006-10-25 Mike Kestner <[email protected]>
  6061. * MenuAPI.cs : set the ActiveTracker for MainMenu non-popup
  6062. clicks too. Fixes #79725.
  6063. 2006-10-24 Chris Toshok <[email protected]>
  6064. * PropertyGrid.cs: use property.Converter instead of
  6065. TypeDescriptor.GetConverter(property.PropertyType), so we catch
  6066. TypeConverters declared on the property as well as on the
  6067. PropertyType. Fixes bug #79678.
  6068. 2006-10-24 Alexander Olk <[email protected]>
  6069. * MimeIcon.cs, Mime.cs:
  6070. Fallback to the default platform handler if no shared mime info
  6071. stuff exists (fixes #79693).
  6072. 2006-10-20 Andreia Gaita <[email protected]>
  6073. * ContainerControl.cs: Incorrect contains check in ActiveControl
  6074. from previous fix (duh).
  6075. 2006-10-20 Chris Toshok <[email protected]>
  6076. * PropertyGridView.cs: the dropdown should be MIN(number of items
  6077. in list, 15). Fixes #79551.
  6078. 2006-10-20 Andreia Gaita <[email protected]>
  6079. Fixes #79384, #79394, #79652, #79667
  6080. * Application.cs:
  6081. - Modal windows are now destroyed in the proper order for windows
  6082. * ContainerControl.cs:
  6083. - ActiveControl setter has more conditions on when to return:
  6084. - if we're reselecting the active control, but it actually
  6085. didn't have focus (window hidden or some such), it runs
  6086. - if the active control being selected doesn't actually
  6087. exist in the container, it returns
  6088. * Form.cs
  6089. - The ShowDialog now gets the current form as the owner when
  6090. invoking without parameters, and correctly activates the owner
  6091. when returning
  6092. * MessageBox.cs
  6093. - MessageBox now catches the Escape key to exit
  6094. 2006-10-20 Chris Toshok <[email protected]>
  6095. * PropertyGridView.cs: fix a number of issues (bug #78565, and
  6096. most of bug #79676):
  6097. - you can navigate around the property grid with the arrow keys.
  6098. - the dropdown is sized properly when the pg has a vertical
  6099. scrollbar.
  6100. - fix the indentation for subentries, and properly select the
  6101. entire label rect.
  6102. - fix the gray bar's drawing (only draw it to the last element,
  6103. not for the height of the control. Also make sure we draw that
  6104. last horizontal grid line.
  6105. - use the same mechanism the datagrid uses wrt the editing textbox
  6106. when scrolling/resizing/etc. Namely, we hide it first, do the
  6107. operation, then show it again (if it's still visible).
  6108. - aggressively remove a lot of unnecessary refreshes (and also
  6109. calls to Invalidate(). call more limited variants, and only redraw
  6110. what we need.)
  6111. * PropertyGrid.cs:
  6112. - when we're populating the merged collection, fill in the UI
  6113. parent with either the passed in item, or the category item we
  6114. create.
  6115. - remove the Refresh call from the BorderHelpControl.OnSizeChanged.
  6116. * GridItem.cs: drop some fully qualified names.
  6117. * GridEntry.cs: add a "UIParent", which is basically the parent
  6118. treenode.
  6119. * GridItemCollection.cs: add an IndexOf method.
  6120. 2006-10-20 Mike Kestner <[email protected]>
  6121. * MainMenu.cs : go back to Draw in OnMenuChanged. Until we get
  6122. a working win32 NC invalidation mechanism, we can't invalidate
  6123. menus. [Fixes #79705]
  6124. 2006-10-20 Mike Kestner <[email protected]>
  6125. * ListBox.cs : don't update the VScrollbar if the list is empty,
  6126. just hide it. [Fixes #79692]
  6127. 2006-10-20 Jackson Harper <[email protected]>
  6128. * RichTextBox.cs: Handle some special chars better, and don't skip
  6129. the entire group when we encounter a special char that we don't
  6130. handle correctly.
  6131. 2006-10-18 Chris Toshok <[email protected]>
  6132. * PropertyGridView.cs: address a number of issues from bug #79676,
  6133. mostly of the cosmetic variety.
  6134. - The highlight rectangle for indented items not extends all the
  6135. way to the left.
  6136. - Indented items aren't indented so much.
  6137. - the dropdown is properly sized width-wise if the pg has a
  6138. vertical scrollbar.
  6139. 2006-10-18 Chris Toshok <[email protected]>
  6140. * XplatUIX11.cs (SystrayAdd): a rather convoluted change, but the
  6141. systray stuff is rather convoluted to begin with.
  6142. systray icons are a single window for some reason (that I haven't
  6143. figured out yet), and for them, client_window == whole_window.
  6144. Given the way the tests are structured elsewhere to determine
  6145. which paints are pending (client vs. nc), that situation will
  6146. always yield PAINT, not NCPAINT. So, if we have a pending
  6147. nc_expose and no pending expose, remove the hwnd from the paint
  6148. queue, and also set nc_expose_pending to false, to keep us from
  6149. blocking further expose's adding the hwnd to the paint queue.
  6150. phew. like i said, a rather convoluted change. Fixes the
  6151. notifyicon repaint issues in bug #79645.
  6152. 2006-10-18 Chris Toshok <[email protected]>
  6153. * Form.cs: when getting the backcolor of the form, don't get
  6154. base.BackColor, as this allows parents to influence the background
  6155. color. This breaks mdi forms. Instead, if the background_color
  6156. is empty, return the default.
  6157. 2006-10-18 Chris Toshok <[email protected]>
  6158. * XplatUIX11.cs: change some debug ifdefs, and return XGetParent
  6159. to being private instead of internal static.
  6160. * Control.cs: remove all the stupid ParentWaitingOnRecreation
  6161. crap, it wasn't working for more deeply nested controls anyway,
  6162. and we already have the is_recreating flag - use that instead.
  6163. Before calling DestroyHandle in RecreateHandle, recurse through
  6164. the control tree setting it to true. this returns the recreate
  6165. code to much of its original simplicity, while now guaranteeing we
  6166. actually recreate everything we're supposed to. This change gets
  6167. fyireporting actually showing mdi children.
  6168. 2006-10-17 Chris Toshok <[email protected]>
  6169. * Form.cs: remove some debug spew, and collapse some duplicate
  6170. code at the end of SetClientSizeCore.
  6171. * XplatUIX11.cs:
  6172. - add some more debug spew here too wrt Destroy handling.
  6173. - don't call hwnd.Dispose in DestroyWindow, it's effectively done
  6174. in Control's handling of WM_DESTROY.
  6175. - Remove the handling of zombie window DestroyNotifies from the
  6176. event loop - we don't need it. Now the only DestroyNotifies we
  6177. actually handle are ones generated by X.
  6178. - When sending _NET_ACTIVE_WINDOW, the first param should be 1, to
  6179. match gtk's (functioning) handling of this. This keep metacity
  6180. from leaving droppings in the form of wm borders with no window
  6181. contents all over the place.
  6182. * Control.cs:
  6183. - add a bunch of debug spew wrt control recreation.
  6184. - fix a bug where we weren't tracking Visible properly on
  6185. recreated hwnds.
  6186. - fixed the WM_PAINT double buffer handling to support re-entrant
  6187. calls (yes, i know it's gross, but it's happening to us).
  6188. 2006-10-17 Rolf Bjarne Kvinge <[email protected]>
  6189. * ThemeWin32Classic.cs: changed drawing of selected days
  6190. to make them look better.
  6191. 2006-10-16 Chris Toshok <[email protected]>
  6192. * Hwnd.cs: replace the user_data/client_dc/non_client_dc with
  6193. drawing_stack. Nuke the ClientDC/NonClientDC properties.
  6194. * XplatUIX11.cs: move away from using hwnd.client_dc and
  6195. hwnd.non_client_dc and on to a stack of dc's (and in window's
  6196. case, PAINTSTRUCT's), so we can deal with nested Paint calls
  6197. without puking or not disposing of Graphics objects.
  6198. * XplatUIOSX.cs: same.
  6199. * XplatUIWin32.cs: same.
  6200. 2006-10-03 Alexander Olk <[email protected]>
  6201. * FileDialog.cs: Don't call on_directory_changed inside
  6202. OnSelectedIndexChanged (it changes the SelectedIndex too).
  6203. Instead move it to OnSelectionChangeCommitted.
  6204. 2006-10-13 Chris Toshok <[email protected]>
  6205. * XplatUIX11.cs: more Destroy work. the current code does the
  6206. following things, in order:
  6207. 1. Enumerates all handles of all controls at or below the one
  6208. being destroyed, in pre-order. As it is doing this, it marks the
  6209. handles as zombie and clears all references to them.
  6210. 2. calls XDestroyWindow on the window passed in.
  6211. 3. SendMessage's WM_DESTROY to all he handles in the accumulated
  6212. list.
  6213. 2006-10-13 Chris Toshok <[email protected]>
  6214. * XplatUIX11.cs: set hwnd.zombie to true before calling
  6215. SendMessage (WM_DESTROY). this keeps us from marking the new
  6216. window a zombie, and also keeps us from calling sendmessage at
  6217. all.
  6218. 2006-10-13 Jackson Harper <[email protected]>
  6219. * TextControl.cs: Do not show the caret and selection at the same
  6220. time. Reduces ugliness by 35%.
  6221. 2006-10-13 Chris Toshok <[email protected]>
  6222. * XplatUIX11.cs (SendWMDestroyMessages): set the hwnd to be a
  6223. zombie after we do the recursive call, so we actually do call
  6224. SendMessage on the children controls.
  6225. (GetMessage): if we find a pending paint event for a zombie hwnd,
  6226. remove the hwnd from the paint queue, or else it will always be
  6227. there (and we'll effectively loop infinitely)
  6228. 2006-10-13 Mike Kestner <[email protected]>
  6229. * MenuItem.cs : add Selected format under keynav too.
  6230. Fixes #79528.
  6231. 2006-10-13 Gert Driesen <[email protected]>
  6232. * PropertyGrid.cs: Fixed some NRE's and small difference between our
  6233. implementation and that of MS.
  6234. 2006-10-13 Chris Toshok <[email protected]>
  6235. * Control.cs (OnInvalidated) only futz with the invalid_region if
  6236. the control is double buffered. this fixes the apparent hang in
  6237. the ListView unit tests. Someone needs to make the
  6238. BeginEndUpdateTest not call OnInvalidated 15004 times, though..
  6239. 2006-10-13 Chris Toshok <[email protected]>
  6240. * PropertyGridView.cs:
  6241. - do a little refactoring so that only one place calls
  6242. dropdown_form.Hide, and that is CloseDropDown. make everywhere
  6243. else call that. Also make it Refresh, since there are redraw bugs
  6244. otherwise (we should take a look at that...)
  6245. - do a little more refactoring work to share the body of code
  6246. involved with the drop down. it was duplicated in the code
  6247. dealing with the listbox handling and in the code dealing with the
  6248. UITypeEditors.
  6249. - add a Capture to the dropdown form's control once it's
  6250. displayed, and add a MouseDown handler that checks to make sure
  6251. the position is inside the control. If it's not, close the
  6252. dropdown. This fixes #78190.
  6253. - in SetPropertyValueFromUITypeEditor, only call SetPropertyValue
  6254. if the value is different than the initial value.
  6255. 2006-10-13 Andreia Gaita <[email protected]>
  6256. * Control.cs: see #78650
  6257. - Fixed GetNextControl for several cases:
  6258. - Changed FindFlatForward to return
  6259. correct sibling control when more than one
  6260. control has same TabIndex as the currently
  6261. focused one.
  6262. - Changed FindFlatBackward to loop children
  6263. from last to first and apply same logic as in
  6264. FindFlatForward
  6265. - Changed FindControlForward to search for
  6266. children when control is not a container
  6267. but has children, or search for siblings if
  6268. control is a container...
  6269. - Changed FindControlBackward to continue
  6270. searching for child controls when hitting
  6271. Panel-like parents
  6272. - Fixed Focus method to update ActiveControl
  6273. (FocusTest.FocusSetsActive failure)
  6274. * TabControl.cs:
  6275. - Focus rectangle now refreshes when gaining
  6276. or losing focus
  6277. - Removed grab for Tab key on IsInputKey that
  6278. was keeping tab navigation from working (#78650)
  6279. 2006-10-13 Chris Toshok <[email protected]>
  6280. * PropertyGridView.cs:
  6281. - Rewrite SetPropertyValue to loop over SelectedGridItem's
  6282. SelectedObjects.
  6283. - Deal with GridItem.Value == null a few places.
  6284. * PropertyGrid.cs:
  6285. - replace the PopulateGridItemCollection with a pair of methods
  6286. which compute the intersection of all the properties in the
  6287. SelectedObjects array. Fixes #79615.
  6288. - Throw ArgumentException from set_SelectedObjects if there's a
  6289. null in the array.
  6290. - Add GetTarget method which can be used to traverse up the
  6291. GridItem.Parent chain. It depends on the assumption that
  6292. selected_objects for different GridEntries are always in the same
  6293. order (a safe assumption). Use this method and loop over all the
  6294. selected objects in the entry when calling RemoveValueChanged and
  6295. AddValueChanged.
  6296. * GridEntry.cs: Make this handle multiple selected objects.
  6297. .Value returns null if not all the selected objects share the same
  6298. value.
  6299. 2006-10-12 Jonathan Pobst <[email protected]>
  6300. * ToolStrip.cs, ToolStripButton.cs, ToolStripComboBox.cs,
  6301. ToolStripControlHost.cs, ToolStripItem.cs, ToolStripLabel.cs,
  6302. ToolStripProfessionalRenderer.cs, ToolStripProgressBar.cs,
  6303. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs,
  6304. ToolStripTextBox.cs: Add accessibility, fix attributes/API and
  6305. add additional functionality.
  6306. 2006-10-12 Mike Kestner <[email protected]>
  6307. * ErrorProvider.cs : new ToolTipWindow ctor sig.
  6308. * HelpProvider.cs : new ToolTipWindow ctor sig.
  6309. * ToolTip.cs : remove ToolTip param from Window sig since it is
  6310. not used.
  6311. * ToolBar.cs : add tooltip support. Fixes #79565.
  6312. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  6313. * ComboBox.cs: move the events in set_SelectedIndex to
  6314. after the call to HighlightIndex in order to avoid
  6315. possible recursion and subsequent problems with the call
  6316. to HighlightIndex and include a range check in
  6317. set_HighlightIndex. Fixes #79588
  6318. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  6319. * MonthCalendar.cs: When FirstDayOfWeek is default set firstday
  6320. to ui thread's settings instead of sunday.
  6321. * ThemeWin32Classic.cs: Localize the day string. Fixes #79563
  6322. 2006-10-12 Rolf Bjarne Kvinge <[email protected]>
  6323. * DateTimePicker.cs
  6324. * MonthCalendar.cs
  6325. * ThemeWin32Classic.cs: rewrote DateTimePicker to fix bug #78364
  6326. and implement missing functionality (selecting different parts
  6327. of the date and edit them individually with the keyboard).
  6328. 2006-10-11 Chris Toshok <[email protected]>
  6329. * Control.cs (OnInvalidated): fix NRE relating to last change.
  6330. 2006-10-11 Chris Toshok <[email protected]>
  6331. * XplatUIX11.cs (SetWMStyles): make sure we include the MAXIMIZED
  6332. atoms in _NET_WM_STATE here if the window is maximized. We need
  6333. to do this because we're *replacing* the existing _NET_WM_STATE
  6334. property, so those atoms will be lost otherwise, and any further
  6335. call to GetWindowState will return Normal for a window which is
  6336. actually maximized. Fixes #79338.
  6337. 2006-10-11 Jackson Harper <[email protected]>
  6338. * TextControl.cs: Special case for setting selection end to
  6339. selection start, we basically kill the anchor.
  6340. - some todo comments.
  6341. 2006-10-11 Chris Toshok <[email protected]>
  6342. * Control.cs: switch to using an "invalid_region" to track which
  6343. parts of the image buffer need updating. This is more code than
  6344. the simple fix from r66532. That version just attempted to always
  6345. fill the entire buffer on redraw, which turns out to be
  6346. inefficient when invalidating small rectangles. This version
  6347. simply adds the invalid rectangle to the invalid region. When we
  6348. get any WM_PAINT message we see if it can be filled using the
  6349. image buffer, and if it can't (if the paint event's clip rectangle
  6350. is visible in the invalid region) we first fill the image buffer.
  6351. So, the image buffer is still a cache, we just fill it lazily.
  6352. * PaintEventArgs.cs: remove the SetClipRectangle method, we don't
  6353. need it any longer.
  6354. 2006-10-11 Chris Toshok <[email protected]>
  6355. * XplatUIX11.cs (SetWindowPos): we need to update both position as
  6356. well as size after calling XMoveResizeWindow. This keeps us from
  6357. ignoring future SetWindowPos calls. Fixes the disappearing
  6358. DateTimePicker in the ToolBarDockExample from bug #72499.
  6359. 2006-10-11 Chris Toshok <[email protected]>
  6360. * TextBoxBase.cs: reorder things a bit when it comes to
  6361. resizing-causing-recalculation. we were recalculating the
  6362. document when our position was changed, which shouldn't happen.
  6363. We only care about size changes. Clear up some more redundant
  6364. recalculation calls while I'm at it. This makes the toolbar dock
  6365. example snappy when you're just dragging toolbars around (since it
  6366. causes a relayout whenever you move one.)
  6367. 2006-10-11 Chris Toshok <[email protected]>
  6368. * ToolBarButton.cs (get_Rectangle): this only returns
  6369. Rectangle.Empty if Visible == false, or Parent == null.
  6370. Parent.Visible doesn't matter.
  6371. 2006-10-10 Chris Toshok <[email protected]>
  6372. * Control.cs, PaintEventArgs.cs: "internal set { .. }" isn't loved
  6373. by .net 1.1, so switch to an internal method instead.
  6374. 2006-10-10 Chris Toshok <[email protected]>
  6375. * Control.cs (WM_PAINT): when a control is double buffered we draw
  6376. initially to the ImageBuffer and then copy from there. But when a
  6377. parent control which has child controls is double buffered, the
  6378. initial drawing doesn't encompass the entire ClientRectangle of
  6379. the parent control, so we end up with uninitialized bits (this is
  6380. easily seen by dragging the top toolbar in
  6381. wf-apps/ToolBarDockExample to the right, quickly). The fix is to
  6382. manually set the ClipRectangle of the paint_event (only the one we
  6383. use to populate the ImageBuffer) to ClientRectangle. Fixes more
  6384. of the nastiness in bug #72499.
  6385. * PaintEventArgs.cs: Add an internal setter for ClipRectangle,
  6386. which we use in Control.cs's WM_PAINT handling.
  6387. 2006-10-10 Jackson Harper <[email protected]>
  6388. * TextBoxBase.cs: Finish off the autoscrolling stuff.
  6389. 2006-10-10 Chris Toshok <[email protected]>
  6390. * Cursor.cs: Apply a slightly different patch to the one suggested
  6391. in #79609.
  6392. 2006-10-10 Jackson Harper <[email protected]>
  6393. * MenuItem.cs: Make sure to put the mdi child in the hashtable,
  6394. not the parent form.
  6395. * TextControl.cs: use difference in old line count vs new count to
  6396. calculate how many lines were added, this takes into account soft
  6397. line breaks properly.
  6398. 2006-10-10 Chris Toshok <[email protected]>
  6399. * LinkLabel.cs: don't call MeasureCharacterRanges against a
  6400. rectangle located at 0,0 and the size of the text. Use
  6401. ClientRectangle instead. This fixes rendering of non-left aligned
  6402. link labels.
  6403. 2006-10-10 Jackson Harper <[email protected]>
  6404. * TextBoxBase.cs: When we set the selection start position the
  6405. caret.
  6406. * TextControl.cs: Need to update the caret when we decrement it to
  6407. zero.
  6408. - Make sure that the selection_visible flag gets reset to false if
  6409. the selection isn't visible. Before this you could get it set to
  6410. visible by changing the selection start, then changing the end to
  6411. equal the start.
  6412. 2006-10-09 Jackson Harper <[email protected]>
  6413. * TreeView.cs: Don't update scrollbars when we aren't visible.
  6414. * TreeNodeCollection.cs: Only need to update scrollbars if being
  6415. added to an expanded visible node or the root node.
  6416. 2006-10-09 Chris Toshok <[email protected]>
  6417. * XplatUIX11.cs (SendMessage): fix NRE.
  6418. 2006-10-09 Jackson Harper <[email protected]>
  6419. * TextBoxBase.cs: Implement horizontal autoscrolling.
  6420. * TextControl.cs: Add a movement types that allows moving forward
  6421. and backwards without wrapping.
  6422. 2006-10-09 Mike Kestner <[email protected]>
  6423. * ListViewItem.cs : layout changes for wrapped LargeIcon labels
  6424. with focus "expansion" of labels. Fixes #79532 and then some.
  6425. * ThemeWin32Classic.cs : add LineLimit to ListView label format
  6426. when wrapping.
  6427. 2006-10-09 Jackson Harper <[email protected]>
  6428. * TextBoxBase.cs: Set the default max values to MaxValue since
  6429. we use the scrollbar for autoscrolling and the default value is
  6430. 100. If we don't do this the caret won't keep up with typing
  6431. after about 18 characters.
  6432. * TextControl.cs: Make sure the selection is offset by the
  6433. viewport x. This fixes selection when using auto scrolling.
  6434. 2006-10-07 Andreia Gaita <[email protected]>
  6435. * Form.cs: The active control should be selected after the
  6436. OnLoad so that any child control initialization that affects
  6437. the selection is done. Fixes #79406
  6438. 2006-10-06 Chris Toshok <[email protected]>
  6439. * XplatUIX11.cs: This is perhaps a dangerous change, but it seems
  6440. to have no evil effects.
  6441. - Stop selecting StructureNotifyMask on non-toplevel windows.
  6442. The only way children should be resized is by using the SWF api,
  6443. and we already send WM_WINDOWPOSCHANGED messages in those cases.
  6444. Toplevel windows can be interacted with via the window manager,
  6445. and so we keep the input mask there.
  6446. The other event StructureNotifyMask gives us (that we care
  6447. about) is DestroyNotify. The code is already structured such
  6448. that it assumes we won't be getting a DestroyNotify event for
  6449. the window we pass to XDestroyWindow (which is what
  6450. StructureNotifyMask is supposed to guarantee.) So, that code
  6451. shouldn't be affected by this either.
  6452. - Stop selecting VisibilityChangeMask altogether.
  6453. We weren't doing anything with the resulting events anyway.
  6454. This vastly reduces the number of X requests and events we see
  6455. when resizing/laying out a large ui.
  6456. 2006-10-06 Chris Toshok <[email protected]>
  6457. * ScrollableControl.cs (DisplayRectangle): we need to take into
  6458. account the DockPadding regardless of whether or not auto_scroll
  6459. == true. rework this slightly to this effect, and fix bug #79606,
  6460. and part of #72499 (you can now see the drag handles and drag
  6461. toolbars around).
  6462. 2006-10-06 Gert Driesen <[email protected]>
  6463. * ListViewItem.cs: Collections of selected and checked items are now
  6464. dynamically rebuilt. Whenever an item is (un)checked or (de)selected
  6465. we mark the collection "dirty".
  6466. * ListView.cs: Marked collections readonly. Modified UpdateSelection
  6467. to only clear SelectedItems when a new item is selected and MultiSelect
  6468. is enabled. CheckedItems and SelectedItems now subscribe to Changed
  6469. event of ListViewItemCollection, and mark its list dirty whenever
  6470. that event is fire. This allows us to return selected/checked items
  6471. in the same order as they are in the Items collection. This matches
  6472. the MS behavior.
  6473. 2006-10-06 Chris Toshok <[email protected]>
  6474. * NotifyIcon.cs (HandleMouseUp): only show the context menu on
  6475. right mouse clicks. Fixes bug #79593.
  6476. 2006-10-06 Chris Toshok <[email protected]>
  6477. * Splitter.cs: doh, fix splitters that don't want to cancel the
  6478. movement when you drag them. Also, impose the limits on the
  6479. values we send to the SplitterMovingEvent. Fixes #79598.
  6480. 2006-10-06 Jackson Harper <[email protected]>
  6481. * TextBoxBase.cs: Ignore whether or not the scrollbar is enabled,
  6482. since we use this for auto scrolling also.
  6483. 2006-10-05 Chris Toshok <[email protected]>
  6484. * DataGridBoolColumn.cs: Nuke the code from ConcedeFocus. I'm
  6485. beginning to think that most datagrid column types don't need this
  6486. method. Fixes bug #79392.
  6487. 2006-10-05 Chris Toshok <[email protected]>
  6488. * DataGrid.cs: move back to a more lazy scheme for creating the
  6489. CurrencyManager, so we aren't updating it every time you set
  6490. either DataSource or DataMember. Also, don't call
  6491. RecreateDataGridRows if the currency manager hasn't changed.
  6492. 2006-10-05 Chris Toshok <[email protected]>
  6493. * ComboBox.cs: by the time the OnSelectionChangeCommitted event is
  6494. emitted, SelectedIndex should already be updated. Fixes bug
  6495. #78929.
  6496. 2006-10-05 Jonathan Pobst <[email protected]>
  6497. * ToolStripComboBox.cs, ToolStripControlHost.cs, ToolStripProgressBar,
  6498. ToolStripTextBox.cs: Initial commit.
  6499. * ToolStripItem.cs: Fixes for OnLayout, BackColor, Parent.
  6500. 2006-10-05 Jackson Harper <[email protected]>
  6501. * TabControl.cs: We need to invalidate the tab control area when
  6502. new ones are added (duh).
  6503. 2006-10-03 Chris Toshok <[email protected]>
  6504. * Form.cs (ProcessDialogKey): if the focused control is in this
  6505. form and is a button, call its PerformClick method here. Fixes
  6506. #79534.
  6507. 2006-10-04 Jackson Harper <[email protected]>
  6508. * TabPage.cs: Ignore setting of Visible, and add an internal
  6509. method for setting the controls visibility. TabPage's Visible
  6510. property is a little strange on MS, this seems to make us
  6511. compatible, and fixes cases where people set all the tab pages to
  6512. visible.
  6513. * TabControl.cs: Use the new internal setting on tab pages
  6514. visibility.
  6515. 2006-10-03 Mike Kestner <[email protected]>
  6516. * ComboBox.cs : raise Click on ComboTextBox clicks. Fixes #79555.
  6517. 2006-10-03 Mike Kestner <[email protected]>
  6518. * ListView.cs : use is_visible instead of Visible to check if
  6519. scrollbars should be placed/sized. Also some max_wrap_width
  6520. love for LargeIcon view. [Fixes #79533]
  6521. 2006-10-03 Atsushi Enomoto <[email protected]>
  6522. * TextControl.cs :
  6523. Make set_TextAlign() do actually update the align. Fixed #78403.
  6524. 2006-10-03 Chris Toshok <[email protected]>
  6525. * DataGrid.cs: fix a crash when switching datasources if the
  6526. vertical scrollbar is at someplace other than Value = 0. Also,
  6527. reduce the number of recalculation passes we do in SetDataSource
  6528. from 2 to 1.
  6529. 2006-10-03 Jackson Harper <[email protected]>
  6530. * TextBoxBase.cs: Move the if value the same bail check up, we
  6531. don't want to empty the document if it is already empty, this
  6532. seems to severly mess up the caret. TODO: I should probably fix
  6533. the empty statement to update teh caret somehow.
  6534. 2006-10-03 Chris Toshok <[email protected]>
  6535. * ThemeWin32Classic.cs, DataGrid.cs: some changes so that the
  6536. incredibly hacky Windows.Forms FAQ autosize rows entry (it uses
  6537. reflection, an internal row type, properties on said type, etc.)
  6538. will work with our datagrid. Fixes #79531.
  6539. 2006-10-03 Alexander Olk <[email protected]>
  6540. * FileDialog.cs: Don't crash if a path is not accessible
  6541. (System.UnauthorizedAccessException). Fixes #79569.
  6542. * MimeIcon.cs: Workaround for a Uri bug. Unix paths/files can have
  6543. a ':' too. Return unknown icon for those paths/files.
  6544. 2006-10-03 Sebastien Pouliot <[email protected]>
  6545. * ToolTip.cs: Fix rare, but possible, NRE on MouseEnter when
  6546. GetContainerControl returns null.
  6547. 2006-10-02 Chris Toshok <[email protected]>
  6548. * XplatUIX11.cs (GetWindowState): use hwnd.client_window in the
  6549. call to XGetWindowAttributes instead of "handle". fixes an X
  6550. error using notifyicon after the NotifyIconWindow to Form base
  6551. class switch.
  6552. 2006-10-02 Chris Toshok <[email protected]>
  6553. * XplatUIX11.cs (QueryPointer): new function, encapsulating the
  6554. server grab and looping we need to do to get down to the most
  6555. deeply nested child window.
  6556. (SetCursorPos): use QueryPointer instead of GetCursorPos, and call
  6557. QueryPointer again after the WarpPointer so we can generate a
  6558. proper (fake) MotionNotify event to be enqueued in the destination
  6559. window's queue.
  6560. (GetCursorPos): call QueryPointer.
  6561. Fixes #79556.
  6562. 2006-10-02 Jackson Harper <[email protected]>
  6563. * NotifyIcon.cs: Derive the notify icon from a form, so things
  6564. like FindForm work on it.
  6565. - Swallow the WM_CONTEXTMENU message, since that is generated on
  6566. mouse down, and context menu is a mouse up kinda guy. I believe
  6567. the correct fix here is probably to make the notify icon entirely
  6568. NC area, but this seems to work fine for anyone not manipulating
  6569. WndProc.
  6570. 2006-10-02 Jonathan Pobst <[email protected]>
  6571. * ToolStrip.cs, ToolStripButton.cs, ToolStripItem.cs,
  6572. ToolStripItemCollection.cs, ToolStripLabel.cs,
  6573. ToolStripProfessionalRenderer.cs, ToolStripRenderer.cs,
  6574. ToolStripSeparator.cs, ToolStripSplitStackLayout.cs:
  6575. Initial implementation.
  6576. * TextRenderer.cs: Provide padding to MeasureText.
  6577. 2006-10-02 Sebastien Pouliot <[email protected]>
  6578. * ButtonBase.cs: Fix CreateAccessibilityInstance to return an instance
  6579. of ButtonBaseAccessibleObject. Fix bug #79552.
  6580. 2006-10-02 Jackson Harper <[email protected]>
  6581. * MdiWindowManager.cs: When maximizing use the containers client
  6582. rect, not it's bounds, so nc area is accounted correctly.
  6583. - Use the parent form's size for the menu position, since the
  6584. client isn't always the full form size.
  6585. 2006-10-01 Chris Toshok <[email protected]>
  6586. * ScrollableControl.cs: make sure neither right_edge or
  6587. bottom_edge are < 0, since they're used as LargeChange for the
  6588. horiz/vert scrollbars respectively. Fixes #79539.
  6589. 2006-10-01 Chris Toshok <[email protected]>
  6590. * NotifyIcon.cs: add NotifyIconWindow.InternalRecreateHandle, so
  6591. the xplatuix11 code can cause us to destroy/recreate our handle.
  6592. * XplatUIX11.cs
  6593. (SystrayAdd):
  6594. - this code can be invoked many times for the same Hwnd. Make
  6595. sure we only destroy the client window once (the first time this
  6596. method is called). This fixes bug #79544.
  6597. - Remove the call to the improperly bound XSync. why we had two
  6598. bindings to this, I will never know, but this call resulted in
  6599. events being discarded from the queue(!).
  6600. - correct a misunderstanding of _XEMBED_INFO - the second atom is
  6601. not our current state but the state we wish to be in. So, 0 if
  6602. we don't want to be mapped. Change it to 1.
  6603. (SystrayRemove): The XEMBED spec makes mention of the fact that
  6604. gtk doesn't support the reparent of client windows away from the
  6605. embedder. Looking at gtksocket-x11.c seems to agree with this.
  6606. The only avenue we have for removing systray icons is to destroy
  6607. them. We don't want the handle to go away for good, though, so
  6608. call InternalRecreateHandle on the NotifyIconWindow. Fixes
  6609. #79545.
  6610. 2006-10-01 Chris Toshok <[email protected]>
  6611. * Form.cs (WndProc): inline the native_enabled variable usage into
  6612. the cases in which it's used. Fixes #79536.
  6613. 2006-09-29 Mike Kestner <[email protected]>
  6614. * ListView.cs : toggle the selection state for ctrl clicks in
  6615. multiselect mode. [Fixes #79417]
  6616. 2006-09-29 Mike Kestner <[email protected]>
  6617. * ListView.cs : kill CanMultiSelect and refactor the selection
  6618. code to support multiselection in the absence of mod keys. Steal
  6619. arrow/home/end keys by overriding InternalPreProcessMessage to
  6620. restore regressed keynav behavior.
  6621. [Fixes #79416]
  6622. 2006-09-29 Jackson Harper <[email protected]>
  6623. * MdiClient.cs: Repaint the titlebars when the active window is
  6624. changed.
  6625. 2006-09-29 Chris Toshok <[email protected]>
  6626. * Application.cs: when entering a runloop with a modal, make sure
  6627. the hwnd is enabled. Fixes #79480.
  6628. 2006-09-29 Chris Toshok <[email protected]>
  6629. * DataGrid.cs (CurrentCell): if we try to navigate to the add row
  6630. when ListManager.CanAddRows == false, bump us back one.
  6631. * DataGridColumnStyle.cs (ParentReadOnly): remove the
  6632. listmanager.CanAddRows check. This makes ArrayLists uneditable
  6633. using a datagrid, which is not right.
  6634. (SetColumnValueAtRow): call IEditable.BeginEdit if source[rowNum]
  6635. is an IEditable, but call property_descriptor.SetValue regardless.
  6636. fixes #79435.
  6637. 2006-09-29 Chris Toshok <[email protected]>
  6638. * DataGridBoolColumn.cs: we need to test equality in the face of
  6639. possible null values (as is the case with the default NullValue).
  6640. This patch keeps us from crashing in that case.
  6641. 2006-09-29 Jackson Harper <[email protected]>
  6642. * TreeNodeCollection.cs: Don't do a recalculate/updatescrollbars
  6643. here, since it will get called for every node collection in the
  6644. tree. This is now done in the treeview once the sorting is
  6645. finished.
  6646. * TreeView.cs: Recalculate the visible order, and update the
  6647. scrollbars after sorting, set the top nope to the root so that the
  6648. recalc actually works.
  6649. 2006-09-29 Chris Toshok <[email protected]>
  6650. * LinkLabel.cs: more handling of the default link collection in
  6651. the face of LinkArea manipulation. The default link collection
  6652. contains 1 element (start=0,length=-1). If the user sets LinkArea
  6653. to anything and the links collection is the default, clear it.
  6654. Then only add the link if its nonempty. Fixes #79518.
  6655. 2006-09-29 Chris Toshok <[email protected]>
  6656. * LinkLabel.cs (CreatePiecesFromText): calculate the length of a
  6657. piece correctly when we hit a '\n'. Fixes #79517.
  6658. 2006-09-29 Chris Toshok <[email protected]>
  6659. * MimeIcon.cs, ThemeGtk.cs, X11DesktopColors.cs, XplatUIX11GTK.cs:
  6660. change the binding of gdk_init_check to take two IntPtr's, and
  6661. pass IntPtr.Zero for both of them. Fixes #79520.
  6662. 2006-09-29 Mike Kestner <[email protected]>
  6663. * ComboBox.cs : raise TextChanged on ComboTextBox.TextChanged.
  6664. [Fixes #78779]
  6665. 2006-09-28 Jackson Harper <[email protected]>
  6666. * XplatUIX11.cs: When translating NC messages make sure we go from
  6667. whole window to screen, not client window to screen.
  6668. * MdiClient.cs: Remove the calls to PaintWindowDecorations, this
  6669. method doesn't exist
  6670. - Skip over controls that aren't forms when arranging.
  6671. 2006-09-28 Jackson Harper <[email protected]>
  6672. * XplatUIWin32.cs: Clip the rect to the parent window.
  6673. * XplatUIStructs.cs: Add clipping modes struct.
  6674. * InternalWindowManager.cs: New private method that factors title
  6675. bar heights in when calculating the pos of an NC mouse message.
  6676. - Use SendMessage to force a paint when the form's size is changed
  6677. instead of painting the decorations immediately.
  6678. - Don't let the NC button click messages get to DefWndProc,
  6679. because they will attempt to handle windowing themself, and this
  6680. messes up z-order (it will put them in front of the scrollbars).
  6681. * XplatUIX11.cs: Make sure that we don't reset window managers if
  6682. we already have one (ie the window is an MDI window).
  6683. 2006-09-28 Chris Toshok <[email protected]>
  6684. * MainMenu.cs: fix #79405 by way of a disgusting hack. all the
  6685. menu code really needs going over.
  6686. 2006-09-27 Chris Toshok <[email protected]>
  6687. * XplatUIX11.cs (SetWMStyles): more metacity wonderment. turns
  6688. out metacity ignores the MAXIMIZE_HORZ/VERT messages unless the
  6689. window is maximizable. So, we need to make sure that even if we
  6690. clear the border/wm frame of those functions, they're still
  6691. available (basically, we remove the decoration without removing
  6692. the function). Half the fix for #79338.
  6693. 2006-09-27 Chris Toshok <[email protected]>
  6694. * DataGrid.cs (ProcessGridKey): implement Shift-Tab handling.
  6695. Fixes bug #79515.
  6696. 2006-09-27 Chris Toshok <[email protected]>
  6697. * Splitter.cs: reorder things a bit so that we don't actually
  6698. draw/move the splitter until after calling OnSplitterMoving. This
  6699. lets users cancel/disallow the movement by explicitly setting
  6700. event.SplitX/SplitY. Fixes #79372.
  6701. 2006-09-27 Jackson Harper <[email protected]>
  6702. * XplatUIX11.cs: Don't hide the caret when it is being destroyed,
  6703. because it is most likely on a window being destroyed, and that
  6704. will give us an X11 error.
  6705. 2006-09-27 Chris Toshok <[email protected]>
  6706. * PropertyGridView.cs: half of the fix for #78190. Clicking on
  6707. the dropdown button now toggles between showing and hiding the
  6708. dropdown. Also, get rid of dropdown_form_showing and just use
  6709. dropdown_form.Visible. We still don't do a grab, but I'll leave
  6710. that part to someone who has handled Capture-fu before.
  6711. 2006-09-27 Chris Toshok <[email protected]>
  6712. * DataGrid.cs: return false if alt isn't pressed when '0' is
  6713. pressed. this keeps the '0' key from being swallowed, and fixes
  6714. bug #79350.
  6715. 2006-09-27 Chris Toshok <[email protected]>
  6716. * ComboBox.cs: use Invalidate when scrolling the dropdown list.
  6717. Calling Refresh (in response to a scrollbar event) screws up the
  6718. scrollbar painting. Fixes bug #78923.
  6719. 2006-09-27 Chris Toshok <[email protected]>
  6720. * Theme.cs (SystemResPool): make the "if hashtable[key] == null
  6721. then insert into hashtable" blocks threadsafe.
  6722. 2006-09-27 Chris Toshok <[email protected]>
  6723. * MessageBox.cs (CreateParams): the styles should be |'ed with our
  6724. baseclass's, since otherwise the
  6725. ControlBox/MinimizeBox/MaximizeBox assignments above have no
  6726. effect. This gets the close button back in messageboxes.
  6727. 2006-09-27 Chris Toshok <[email protected]>
  6728. * XplatUIX11.cs: make StyleSet and ExStyleSet check == with the
  6729. flag, not just != 0. this makes flags that are actually multiple
  6730. bits (like WS_CAPTION) work. fixes bug #79508.
  6731. 2006-09-27 Jordi Mas i Hernandez <[email protected]>
  6732. * PageSetupDialog.cs: add support for getting and settings the
  6733. paper size, source and orientation.
  6734. 2006-09-26 Chris Toshok <[email protected]>
  6735. * XplatUIX11.cs (SetWMStyles): turns out when SYSMENU is not set
  6736. and caption == "", we need to remove the resize handles as well as
  6737. the title bar.
  6738. * Control.cs (set_Text): turns out that setting Text on a form
  6739. should change the WM styles on the window, since if ControlBox ==
  6740. false, the only way to get a window border is to have a non-""
  6741. Text property. check winforms/forms/text.cs for an example. so,
  6742. call both XplatUI.SetWindowStyle and XplatUI.Text here to properly
  6743. update both window styles and title. This fixes a lot of dialogs
  6744. (including the preferences dialog in MonoCalendar.)
  6745. 2006-09-26 Chris Toshok <[email protected]>
  6746. * XplatUIWin32.cs (SetParent): if parent == IntPtr.Zero (and the
  6747. control isn't a Form), call Win32ShowWindow to hide the window,
  6748. but don't update the control Visible property. When we reparent
  6749. back to a parent control, call SetVisible in order for the
  6750. window's visibility to be reinstated.
  6751. * XplatUIX11.cs (SetParent): if hwnd.parent == null, reparent to
  6752. the FosterParent.
  6753. * Control.cs (ControlCollection.Remove): remove that value.Hide()
  6754. call for good, since it breaks MonoCalendar (and other things I'm
  6755. sure.) Also, set all_controls to null *after* the owner calls,
  6756. which end up regenerating it.
  6757. (ChangeParent): allow new_parent to be == null, passing
  6758. IntPtr.Zero down to XplatUI.
  6759. this fixes #79294 the right way.
  6760. 2006-09-26 Mike Kestner <[email protected]>
  6761. * GridEntry.cs : internal SetParent method.
  6762. * PropertyGrid.cs : attach to property changed on the proper
  6763. target if we have a hierarchical grid with subobjects. Setup
  6764. GridItem.Parent for hierarchical items.
  6765. * PropertyGridView.cs : Set value on the correct target for
  6766. hierarchical grids. [Fixes #78903]
  6767. 2006-09-26 Chris Toshok <[email protected]>
  6768. * Control.cs (ChildNeedsRecreating): this should return true if
  6769. either we're being recreated and the child is in our list, or our
  6770. parent is waiting for our recreation.
  6771. 2006-09-26 Chris Toshok <[email protected]>
  6772. * Control.cs (ControlCollection.Remove): reinstate the
  6773. value.Hide() call as suggested in bug #79294.
  6774. 2006-09-26 Sebastien Pouliot <[email protected]>
  6775. * XplatUIX11.cs: Fixed SetCursorPos to move the cursor to screen
  6776. coordinates (versus a relative move).
  6777. 2006-09-26 Chris Toshok <[email protected]>
  6778. * Control.cs: rework child recreation a little bit. It turns out
  6779. that we race between the DestroyNotify the WM_DESTROY message. If
  6780. the parent gets its DestroyNotify before the child gets the
  6781. WM_DESTROY message, the child ends up not recreating (since the
  6782. parent finishes its recreation on DestroyNotify, and the child
  6783. checks ParentIsRecreating.)
  6784. So, instead we store off a list of all the child controls which
  6785. need to be recreated when the parent control starts to recreate
  6786. itself. Then, when child controls get their WM_DESTROY message we
  6787. check to see if they're in the parent's pending recreation list,
  6788. and if so, we recreate. This removes all dependency on ordering
  6789. from the code and fixes the initial MonoCalendar upgrade dialog.
  6790. 2006-09-26 Jackson Harper <[email protected]>
  6791. * TextControl.cs: Use the Line to get the length of the line,
  6792. since soft line breaks can change the end line.
  6793. 2006-09-26 Chris Toshok <[email protected]>
  6794. * Control.cs (ControlCollection.AddImplicit): don't add the
  6795. control again if it's already in one of our lists. This keeps us
  6796. from adding controls over and over again for comboboxes when their
  6797. handle gets recreated (as the combobox adds implicit controls in
  6798. OnHandleCreated). Fixes the X11 errors in bug #79480.
  6799. 2006-09-26 Jackson Harper <[email protected]>
  6800. * TextControl.cs: When deleting characters make sure that any
  6801. orphaned zero lengthed tags get deleted.
  6802. - Fix ToString for zero lengthed tags.
  6803. 2006-09-25 Jackson Harper <[email protected]>
  6804. * TextControl.cs: When getting a tag at the location there can be
  6805. multiple tags at the same spot, these are 0-lengthed tags that
  6806. appear when extra formatting has been stuck in a location. We
  6807. need to pull out the last of these 0 lengthed tags.
  6808. 2006-09-25 Jackson Harper <[email protected]>
  6809. * TextControl.cs: Fix print out in debug method.
  6810. * TextBoxBase.cs: When text is set bail if we are setting to the
  6811. previous value.
  6812. 2006-09-24 Alexander Olk <[email protected]>
  6813. * FontDialog.cs: Fixed the up/down arrow keys issue from bug #79478.
  6814. It is now possible to change the selected index in a FontXXXListBox
  6815. with the up and down arrow keys from the FontXXXTextBoxes.
  6816. Also, send the FontXXXTextBox mouse wheel event to the corresponding
  6817. FontXXXListBoxes to match ms.
  6818. 2006-09-22 Sebastien Pouliot <[email protected]>
  6819. * SystemInformation.cs: Return a clone of the theme's MenuFont because
  6820. anyone can dispose it, anytime. All other properties returns enums,
  6821. structs or basic types so they don't need such tricks.
  6822. 2006-09-22 Jackson Harper <[email protected]>
  6823. * XplatUI.cs:
  6824. * XplatUIWin32.cs:
  6825. * Clipboard.cs:
  6826. * DataFormats.cs:
  6827. * XplatUIOSX.cs:
  6828. * XplatUIDriver.cs: Update interface to add a primary selection
  6829. flag, so the driver can use the primary selection buffer if
  6830. needed.
  6831. * XplatUIX11.cs: Allow the clipboard to retrieve from PRIMARY.
  6832. * RichTextBox.cs: We need to supply the data object to paste now
  6833. (so we can choose to supply CLIPBOARD or PRIMARY).
  6834. * TextBoxBase.cs: Supply data object to paste (see above).
  6835. - Middle click uses the primary selection data object.
  6836. 2006-09-21 Chris Toshok <[email protected]>
  6837. * XplatUIX11.cs: first little cleanup of the StyleSet (...) block
  6838. of SetWMStyles. It's still a rat's nest and is largely
  6839. order-dependent which I dislike immensely. This also fixes the X
  6840. button disappearing from toplevel forms.
  6841. 2006-09-21 Mike Kestner <[email protected]>
  6842. * ListBox.cs: move Jordi's click/dblclick raising code to the
  6843. mouse up handler.
  6844. 2006-09-21 Jordi Mas i Hernandez <[email protected]>
  6845. * ListBox.cs: Fixes 79450
  6846. 2006-09-21 Mike Kestner <[email protected]>
  6847. * TreeView.cs: guard against disposed conditions in UpdateScrollbars
  6848. to deal with people updating the TreeNodeCollection after the tree
  6849. is disposed. "Fixes" 79330.
  6850. 2006-09-20 Jackson Harper <[email protected]>
  6851. * TextControl.cs: Push the cursor record onto the undo stack
  6852. before the delete action. This fixes 78651.
  6853. 2006-09-20 Jonathan Chambers <[email protected]>
  6854. * PropertyGridView.cs: Remove WindowStyles.WS_VISIBLE from
  6855. CreateParams. Fixes 79329.
  6856. 2006-09-19 Chris Toshok <[email protected]>
  6857. * XplatUIX11.cs: a couple of blanket code massage passes to clean
  6858. things up a bit. First, get rid of the NetAtoms array (and the NA
  6859. enum), and just embed the atoms as static fields. Also, add a
  6860. couple of functions (StyleSet and ExStyleSet) to clean up all the
  6861. bitmask testing of styles.
  6862. * X11Structs.cs: remove the NA enum, not needed anymore.
  6863. 2006-09-19 Chris Toshok <[email protected]>
  6864. * XplatUIX11.cs: apply Alexander's tool window fix for bug #79245
  6865. (mapping them to _NET_WM_WINDOW_TYPE_UTILITY). and add a little
  6866. added cleanup to get MessageBox titles appearing again, which were
  6867. broken by my earlier fix for caption-less/ControlBox-less windows.
  6868. 2006-09-18 Jonathan Pobst <[email protected]>
  6869. * ToolStripArrowRenderEventArgs.cs, ToolStripArrowRenderEventHandler.cs,
  6870. ToolStripContentPanelRenderEventArgs.cs, ToolStripContentPanelRenderEventHandler.cs,
  6871. ToolStripGripRenderEventArgs.cs, ToolStripGripRenderEventHandler.cs,
  6872. ToolStripItemClickedEventArgs.cs, ToolStripItemClickedEventHandler.cs,
  6873. ToolStripItemEventArgs.cs, ToolStripItemEventHandler.cs,
  6874. ToolStripItemImageRenderEventArgs.cs, ToolStripItemImageRenderEventHandler.cs,
  6875. ToolStripItemRenderEventArgs.cs, ToolStripItemRenderEventHandler.cs,
  6876. ToolStripItemTextRenderEventArgs.cs, ToolStripItemTextRenderEventHandler.cs,
  6877. ToolStripPanelRenderEventArgs.cs, ToolStripPanelRenderEventHandler.cs,
  6878. ToolStripRenderEventArgs.cs, ToolStripRenderEventHandler.cs,
  6879. ToolStripSeparatorRenderEventArgs.cs, ToolStripSeparatorRenderEventHandler.cs:
  6880. Inital import.
  6881. * ToolStripPanel.cs, ToolStripContentPanel.cs, ToolStripSeparator.cs,
  6882. ToolStripButton.cs: Stubs needed for above.
  6883. * ToolStrip.cs, ToolStripItem.cs: Stub a few variables/properties for above.
  6884. 2006-09-15 Chris Toshok <[email protected]>
  6885. * XplatUIX11.cs:
  6886. - make the MessageQueues hashtable Synchronized.
  6887. - SendMessage: if the Hwnd is owned by a different thread, use the
  6888. AsyncMethod stuff to dispatch the SendMessage on the hwnd's
  6889. thread. Fixes bug #79201.
  6890. 2006-09-15 Chris Toshok <[email protected]>
  6891. * XplatUIX11.cs (SetWMStyles): rework the #79368 fix slightly. If
  6892. ControlBox == false, we disallow maximize/minimize/close. If the
  6893. form Caption is "" we also disallow move (and get rid of the Title
  6894. decoration). Unfortunately, regardless of how things are set,
  6895. we're stuck with the Title and WM menu.
  6896. 2006-09-15 Chris Toshok <[email protected]>
  6897. * Application.cs: add locking around the static message_filters
  6898. ArrayList, part of #79196.
  6899. 2006-09-15 Chris Toshok <[email protected]>
  6900. * XplatUIX11.cs (SetWMStyles): if Form.Text == "" and
  6901. Form.ControlBox == false, the window has no titlebar nor resize
  6902. handles. fixes bug #79368.
  6903. 2006-09-15 Chris Toshok <[email protected]>
  6904. * TextBoxBase.cs: in CalculateScrollBars make sure LargeChange is
  6905. >= 0. Fixes bug #79370.
  6906. 2006-09-15 Jonathan Pobst <[email protected]>
  6907. * FlowLayoutPanel.cs, FlowLayoutSettings.cs: Initial commit.
  6908. * Control.cs:
  6909. Add properties: LayoutEngine, Margin, DefaultMargin.
  6910. Add method: GetPreferredSize.
  6911. Move layout logic from PerformLayout to layout engines.
  6912. 2006-09-13 Chris Toshok <[email protected]>
  6913. * XplatUIX11.cs: more destroy work. Jackson pointed out that my
  6914. fix for #79326 broke #78718, so this change addresses that.
  6915. - in SendWMDestroyMessages remove the call to
  6916. CleanupCachedWindows, since we might be recreating the control and
  6917. need to maintain the references to right Hwnd handles. Also, set
  6918. the zombie flag to true for each of the children in the hierarchy
  6919. instead of calling hwnd.Dispose. This will cause GetMessage to
  6920. ignore all events for the window except for DestroyNotify.
  6921. - In GetMessage, ignore messages except for DestroyNotify for
  6922. zombie hwnds.
  6923. * Control.cs: revert the is_recreating fix from the last
  6924. ChangeLog. It's definitely "right", but it breaks switching from
  6925. an MDI form to a non-MDI form. Will need to revisit that.
  6926. * Hwnd.cs: add a zombie flag, which means "the
  6927. client_window/whole_window handles are invalid, but we're waiting
  6928. for the DestroyNotify event to come in for them". Set the flag to
  6929. false explicitly if setting WholeWindow/ClientWindow, and also
  6930. when Disposing.
  6931. 2006-09-13 Chris Toshok <[email protected]>
  6932. * XplatUIX11.cs: rework window destruction slightly.
  6933. - when destroying the windows associated with a control, we don't
  6934. need 2 separate XDestroyWindow calls. Just the one for the
  6935. whole_window (or for client_window if whole_window is somehow
  6936. IntPtr.Zero -- can this happen?) is enough.
  6937. - reworked SendWMDestroyMessages slightly, so we always dispose
  6938. the child control hwnd's after sending the messages.
  6939. - refactored out the ActiveWindow/FocusWindow/Caret clearing from
  6940. the two places it was used (one was even using hwnd.Handle and the
  6941. other hwnd.client_window. ugh), adding another call in
  6942. SendWMDestroyMessages. We need this new call because now the
  6943. DestroyNotify events in the queue will be ignored for the child
  6944. controls (as their hwnd's were disposed, and the window id's
  6945. removed from the hashtable in SendWMDestroyMessages.) fun, eh?
  6946. - this fixes bug #79326.
  6947. 2006-09-13 Chris Toshok <[email protected]>
  6948. * Control.cs: don't always set is_recreating to false at the end
  6949. of RecreateHandle, since sometimes we're not done (and won't be
  6950. until WndProc handles the WM_DESTROY message). Also, set
  6951. is_recreating to false in the WM_DESTROY handling code. Part of
  6952. the fix for bug #79326.
  6953. 2006-09-13 Miguel de Icaza <[email protected]>
  6954. * X11DesktopColors.cs: Start the droppage of debugging messages.
  6955. * FileDialog.cs: Store the configuration file in ~/.mono/mwf_config
  6956. 2006-09-13 Jonathan Pobst <[email protected]>
  6957. * SplitContainer.cs, SplitterPanel.cs: Initial implementation [2.0].
  6958. 2006-09-12 Chris Toshok <[email protected]>
  6959. * DataGrid.cs (get_ListManager): if the list_manager is null, try
  6960. to create it using SetDataSource. Fixes bug #79151.
  6961. 2006-09-11 Chris Toshok <[email protected]>
  6962. * XEventQueue.cs: add a DispatchIdle property.
  6963. * XplatUIX11.cs (UpdateMessageQueue): only emit the Idle event if
  6964. either the queue is null, or the queue has DispatchIdle set to
  6965. true.
  6966. (DoEvents): set queue.DispatchIdle to false around the
  6967. peek/translate/dispatch message loop in this method. This keeps
  6968. Application.Doevents from emitting idle events. Part of the fix
  6969. for #78823.
  6970. 2006-09-11 Chris Toshok <[email protected]>
  6971. * DataGrid.cs (set_DataSource): make this work for both the
  6972. winforms/datagrid test and ReportBuilder. It seems as though when
  6973. we've created a ListManager (or maybe it's if we have a
  6974. BindingContext?), when we set the DataSource it clears the
  6975. DataMember to "". otherwise we reuse the datamember. Fixes bug
  6976. #79333.
  6977. 2006-09-11 Chris Toshok <[email protected]>
  6978. * XplatUIX11.cs: deal with queue being null, which happens in all
  6979. the Clipboard functions. Fixes one of the two problems mentioned
  6980. in #78612.
  6981. 2006-09-11 Chris Toshok <[email protected]>
  6982. * MenuAPI.cs: rework OnMouseUp a bit so that releasing the mouse
  6983. button on various spots (including outside the menu) works closer
  6984. to MS, and doesn't crash. Fixes #79343.
  6985. 2006-09-11 Gert Driesen <[email protected]>
  6986. * ListView.cs: Do not initialize item_sorter in init. To match MS,
  6987. return null for ListViewItemSorter if View is SmallIcon or LargeIcon
  6988. and the internal comparer is set. When a new ListViewItemSorter is set,
  6989. sort the items. Use Enum.IsDefined to verify whether a valid SortOrder
  6990. was specified. No further processing is necessary if SortOrder is set
  6991. to it's current value. If Sorting is modified to None, and View is
  6992. neither SmallIcon nor LargeIcon then: on 2.0 profile set item_sorter
  6993. (either custom or our internal ItemComparer) to null, on 1.0 profile
  6994. only set item_sorter to null if its our internal IComparer. If Sorting
  6995. is modified to Ascending or Descending, then use our internal IComparer
  6996. if none is set, and if the current IComparer is our internal one then:
  6997. on 2.0 profile always replace it with one for new Sorting, and on 1.0
  6998. profile only use new Sorting if view is not SmallIcon or LargeIcon. Use
  6999. Enum.IsDefined to verify whether a valid View value is specified in
  7000. its setter. Automatically sort listview items when listview is
  7001. created. In Sort, do nothing if ListView is not yet created, or if
  7002. no item_sorter is set (no Sorting was set, Sorting was explicitly set
  7003. to None or ListViewItemSorter was set to null). Added Sort overload
  7004. taking a bool to indicate whether the ListView should be redrawn when
  7005. items are sorted (we use this in ListViewItemCollection to avoid double
  7006. redraws). Modified our internal IComparer to take the sort order into
  7007. account. In Add and AddRange methods of ListViewItemCollection, also
  7008. call Sort if Sorting is None (necessary for SmallIcon and LargeIcon
  7009. view), but use overload with noredraw option to avoid double redraw.
  7010. On 2.0 profile, throw NotSupportedException when setting CheckBoxes to
  7011. true when View is Tile, and do the same when attempting to set View to
  7012. Tile when CheckBoxes is true. Avoid maintaining separate ArrayLists
  7013. for selected/checked indices, as it involves overhead when sorting is
  7014. done while these collections are not used all that often. Instead
  7015. we'll build the indices on demand. Modified IList implementation of
  7016. CheckedIndexCollection to use public methods if object is int.
  7017. Modified CheckedListViewItemCollection to hide checked items if
  7018. ListView.CheckBoxes is false. Removed LAMESPEC remark in
  7019. ListViewItemCollection as the .NET SDK docs have been fixed. Modified
  7020. IList implementation in SelectedIndexCollection to use public methods
  7021. if object is int. Modified SelectedListViewItemCollection to hide
  7022. selected items if listview is not yet created.
  7023. * ListViewItem.cs: CheckedIndices list no longer needs to be
  7024. maintained separately (see ListView changes). Also clone font, fixes
  7025. test failure.
  7026. 2006-09-11 Mike Kestner <[email protected]>
  7027. * ComboBox.cs: if we are updating the contents of the currently
  7028. selected index, refresh the control or the textbox selection.
  7029. [Fixes #79066]
  7030. 2006-09-11 Mike Kestner <[email protected]>
  7031. * ComboBox.cs (UpdateBounds): use SetBounds not SetBoundsCore since
  7032. the 'specified' logic has been moved there. This seems like a bug
  7033. in Control.cs, since our current SetBoundsCore completely ignores
  7034. the specified parameter. Peter's commit seems to indicate that is
  7035. the way the MS control implementation works. [Fixes #79325]
  7036. 2006-09-10 Jonathan Chambers <[email protected]>
  7037. * XplatUI.cs: Set default_class_name to be composed
  7038. of current domain id. This allows MWF to be loaded in multiple
  7039. domains on Win32.
  7040. 2006-09-09 Miguel de Icaza <[email protected]>
  7041. * X11Keyboard.cs: If we are unable to obtain the input method, do
  7042. not call CreateXic to create the input context. Should fix
  7043. #78944/79276.
  7044. 2006-09-08 Alexander Olk <[email protected]>
  7045. * MimeIcon.cs: Rewrote major parts. Dropped KDE support for now.
  7046. Simplified gnome support by adding more pinvokes to get the
  7047. icon for a file or mime type.
  7048. 2006-09-08 Jackson Harper <[email protected]>
  7049. * MenuAPI.cs: Deslect popup context menu items before closing the
  7050. window, so that you don't see the previously selected item
  7051. selected when you reopen the menu.
  7052. * TextControl.cs: Update the cursor position even if we don't have
  7053. focus. This fixes typing in things like the ComboBox. I'm not
  7054. totally sure we should always set the visibility if we don't have
  7055. focus, but couldn't find any corner cases where the cursor showed
  7056. up when it shouldn't.
  7057. 2006-09-08 Chris Toshok <[email protected]>
  7058. * X11Keyboard.cs: In UpdateKeyState vkey can be any integer, but
  7059. our arrays are length 256. & 0xff before indexing. Fixes the
  7060. crash in bug #78077.
  7061. 2006-09-08 Carlos Alberto Cortez <[email protected]>
  7062. * ThemeWin32Classic.cs:
  7063. * DateTimePicker.cs: Draw check box if DateTimePicker.ShowCheckBox
  7064. is true. Handle that check box too.
  7065. 2006-09-07 Chris Toshok <[email protected]>
  7066. * MenuAPI.cs: move the PerformClick call to OnMouseUp. Fixes bug
  7067. 79244.
  7068. 2006-09-07 Chris Toshok <[email protected]>
  7069. * Control.cs: in set_BackColor only do the work if
  7070. background_color != value.
  7071. * XplatUIX11.cs: move the clearing of invalid areas (both client
  7072. and nc) to the same block of code where we set (nc_)expose_pending
  7073. to false. That is, move it from PaintEventEnd to PaintEventStart,
  7074. so things that cause invalidates from within OnPaint will trigger
  7075. another call to OnPaint. Fixes bug #79262.
  7076. 2006-09-07 Alexander Olk <[email protected]>
  7077. * Theme.cs: Use correct icon for UIIcon.PlacesPersonal
  7078. * FileDialog.cs: Fix typo
  7079. 2006-09-07 Jackson Harper <[email protected]>
  7080. * ThemeWin32Classic.cs: oops, forgot to commit. Draw the images
  7081. for tab pages if they have any.
  7082. 2006-09-06 Mike Kestner <[email protected]>
  7083. * Splitter.cs: use the "current" rect when finishing drag handle
  7084. to avoid an artifact demonstrated by resedit.exe. [Fixes #79251]
  7085. 2006-09-06 Mike Kestner <[email protected]>
  7086. * Splitter.cs: draw the drag handle at X or Y instead of 0 to deal
  7087. support offset splitters. [Fixes #79298]
  7088. 2006-09-06 Alexander Olk <[email protected]>
  7089. * Mime.cs: Fixed a bug that could override the global mime type
  7090. result.
  7091. 2006-09-05 Jackson Harper <[email protected]>
  7092. * TabControl.cs: Better calculation method for setting the slider
  7093. pos. Prevents crashes on really wide tabs.
  7094. - Draw Image on tab pages if an image list is used.
  7095. 2006-09-02 Carlos Alberto Cortez <[email protected]>
  7096. * MonthCalendar.cs: When Font changes, the Size should be
  7097. updated to fit the new font's space requirements.
  7098. 2006-09-02 Alexander Olk <[email protected]>
  7099. * ListBox.cs: If the items are cleared with Items.Clear set
  7100. top_index to 0.
  7101. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  7102. * MonthCalendar.cs: Handle arrow keys as input keys. Also
  7103. fire DateChanged event instead of DateSelected event when
  7104. the date was changed by keyboard interaction.
  7105. 2006-09-01 Carlos Alberto Cortez <[email protected]>
  7106. * DateTimePicker.cs: Handle DateChanged for the associated
  7107. month_calendar control, and set month_calendar.Font from
  7108. OnFontChanged method, as well as resize the height of the
  7109. control when needed. Make PreferredHeight proportional.
  7110. 2006-09-01 Chris Toshok <[email protected]>
  7111. * DataGrid.cs: grr, stop overthinking the DataMember/DataSource
  7112. properties.
  7113. * BindingContext.cs (HashKey.GetHashCode): use ^ instead of +.
  7114. 2006-09-01 Peter Dennis Bartok <[email protected]>
  7115. * FileDialog.cs: Set ClientSize instead of window size, to allow space
  7116. for decorations (Fixes #79219)
  7117. 2006-09-01 Mike Kestner <[email protected]>
  7118. * ComboBox.cs: first stab at sorting plus some selection handling
  7119. fixes to bring us more in line with MS behavior. Also switches back
  7120. to index based selection. Alternative patches for index-based
  7121. selection were provided by Jackson Harper, Carlos Alberto Cortez,
  7122. and [email protected] on bug 78848. I assume they were similar to this
  7123. code I've had simmering in my tree forever.
  7124. [Fixes #78848]
  7125. 2006-09-01 Chris Toshok <[email protected]>
  7126. * CurrencyManager.cs (ListChangedHandler): in the ItemAdded case,
  7127. when setting list position guard against ending up with a -1 index
  7128. (the other part of the fix for #78812). Should probably make sure
  7129. we don't need the analogous fix in the ItemDeleted case.
  7130. * DataGrid.cs:
  7131. - in SetDataSource, work around the fact that the way
  7132. OnBindingContextChanged is invoked will cause us to re-enter this
  7133. method. I'll remove the hack once I investigate
  7134. OnBindingContextChanged.
  7135. - fix the logic in set_DataSource and set_DataMember (basically
  7136. what to do if the other of the two is null.)
  7137. - in OnListManagerItemChanged, we need to take into account the
  7138. edit row when deciding whether or not to call RecreateDataGridRows
  7139. (part of the fix for #78812).
  7140. 2006-09-01 Jackson Harper <[email protected]>
  7141. * Splitter.cs: Don't do anything if there is no control to affect
  7142. (prevents us from crashing in weird tet cases).
  7143. * TreeView.cs: Bounding box for the mouse movement reverting
  7144. focus/selection back to previously selected node. This matches
  7145. MS, and makes the tree a lot more useable.
  7146. * GroupBox.cs: Instead of drawing over the lines of the groupbox,
  7147. use clipping so they are not drawn. This fixes when the control
  7148. is set to have a transparent background, or if it was over an
  7149. image.
  7150. 2006-09-01 Alexander Olk <[email protected]>
  7151. * MimeIcon.cs: Improved handling for reading default icons when
  7152. using gnome (2.16 made it necessary). Check and read svg icons
  7153. first, then 48x48 and then 32x32 icons.
  7154. 2006-08-31 Chris Toshok <[email protected]>
  7155. * DataGridTextBoxColumn.cs: only hide the textbox if it's still
  7156. visible.
  7157. * DataGridTextBox.cs: Pass Tab's up to the datagrid by calling
  7158. ProcessKeyPreview. Fixes part of #77806.
  7159. * DataGrid.cs: big patch.
  7160. - revert the queueing up of DataSource/DataMember if inside
  7161. BeginInit/EndInit calls. That's not the way the datagrid achieves
  7162. its delayed databinding. Instead, call SetDataSource in
  7163. OnBindingContextChanged. This mimic's MS's behavior, and fixes
  7164. #78811.
  7165. - Also, it wasn't mentioned in #78811, but the test case exhibits
  7166. behavior that was lacking in our datagrid implementation - Columns
  7167. that have mapping names that don't exist in the datasource's
  7168. properties aren't shown. Yuck. To fix this I added the bound
  7169. field to the column style, and basically any calculation to figure
  7170. out anything about columns uses a loop to find the bound columns.
  7171. still need to investigate if I can cache an array of the bound
  7172. columns or if the indices must be the same.
  7173. - When setting CurrentCell, we no longer abort if the cell being
  7174. edited was in the add row. This fixes the other part of #77806.
  7175. - The new code also fixes #78807.
  7176. * ThemeWin32Classic.cs: perpetrate the same disgusting
  7177. column.bound field hack, and only render bound fields.
  7178. 2006-08-31 Chris Toshok <[email protected]>
  7179. * DataGridColumnStyle.cs: add bound field. this field is true if
  7180. the datasource has a property corresponding to the mapping name.
  7181. * DataGridTableStyle.cs: set the bound field on the column styles
  7182. depending on whether or not we have a column for that property.
  7183. 2006-08-31 Peter Dennis Bartok <[email protected]>
  7184. * Splitter.cs (SetBoundsCore): Don't ignore width/height of the
  7185. splitter control (fixes #79228)
  7186. 2006-08-31 Chris Toshok <[email protected]>
  7187. * DataGridColumnStyle.cs: we need to delay the assignment of
  7188. property descriptor until the last possible moment due to the lazy
  7189. databinding stuff in the datagrid. Also, fix the exceptions
  7190. thrown by CheckValidDataSource to match MS.
  7191. 2006-08-31 Jackson Harper <[email protected]>
  7192. * Form.cs: When activated select the active control, if there is
  7193. no active control, we select the first control.
  7194. * XplatUIX11.cs: If there is no focus control when we get a
  7195. FocusIn event, find the toplevel form and activate it. This
  7196. occurs when you popup a window, it becomes the focus window, then
  7197. you close that window, giving focus back to the main window.
  7198. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  7199. * MonthCalendar.cs:
  7200. * ThemeWin32Classic.cs: Cache Font in bold style, as well
  7201. as StringFormat with Center alignments in MonthCalendar,
  7202. instead of creating new ones when drawing the control.
  7203. Also, draw the month name in bold style.
  7204. 2006-08-30 Peter Dennis Bartok <[email protected]>
  7205. * Control.cs:
  7206. - PerformLayout(): It would seem MS performs the fill even if the
  7207. control is not visible (part of #79218 fix)
  7208. - ResetBackColor(): Use the setter to reset the color, to allow
  7209. overriders to catch the change.
  7210. * Form.cs:
  7211. - .ctor: Call UpdateBounds to adjust client rectangle (part of #79218 fix)
  7212. - CreateHandle(): dito (part of $79218 fix)
  7213. - Don't set an icon if we have a dialog
  7214. * ScrollableControl.cs:
  7215. - set_AutoScrollMinSize: Setting the property enables AutoScroll (#79218)
  7216. - ScrollIntoView(): No need to scroll if control is already visible
  7217. (resolves fixme and fixes #79218)
  7218. 2006-08-30 Carlos Alberto Cortez <[email protected]>
  7219. * MonthCalendar.cs: Change proportions in SingleMonthSize
  7220. to match the aspect of the original control.
  7221. 2006-08-29 Alexander Olk <[email protected]>
  7222. * XplatUIX11.cs: Fix for a metacity/X problem where windows don't
  7223. get updated when they get maximized.
  7224. 2006-08-29 Peter Dennis Bartok <[email protected]>
  7225. * XplatUIX11.cs: Handle windows with no border (Fixes part of #79160)
  7226. 2006-08-29 Chris Toshok <[email protected]>
  7227. * XplatUIX11.cs: when destroying the FocusWindow, send KILLFOCUS.
  7228. 2006-08-29 Jackson Harper <[email protected]>
  7229. * TreeView.cs: Need to track selected node and highlighted node,
  7230. they aren't always the same thing, when the mouse is down on a
  7231. node it is hilighted, but not selected yet.
  7232. - Do the HideSelection stuff right
  7233. - Need to focus on rbutton mouse down. And redraw selection when
  7234. right click is mouse upped.
  7235. 2006-08-29 Mike Kestner <[email protected]>
  7236. * ThemeWin32Classic.cs: draw selections for columns in FullRowSelect
  7237. when SubItems.Count < Columns.Count. [Fixes #79167]
  7238. 2006-08-28 Peter Dennis Bartok <[email protected]>
  7239. * TextControl.cs (FindCursor): Fix math error (Fixes #78402)
  7240. 2006-08-28 Peter Dennis Bartok <[email protected]>
  7241. * XplatUIX11.cs: Preempt the roundtrip for getting the location back
  7242. from X. Only send based on ConfigureNotify if we don't have the
  7243. correct location in hwnd (if the window manager moved us)
  7244. 2006-08-28 Mike Kestner <[email protected]>
  7245. * ListView.cs: remove a TODO.
  7246. * ThemeWin32Classic.cs: implement HideSelection support for ListView.
  7247. [Fixes ListView part of #79166]
  7248. 2006-08-28 Mike Kestner <[email protected]>
  7249. * ListView.cs: move wheel handler to parent since it is focused
  7250. instead of the item_control now. [Fixes #79177]
  7251. 2006-08-28 Mike Kestner <[email protected]>
  7252. * ThemeWin32Classic.cs: only highlight subitems in fullrowselect
  7253. when the control is focused. [Fixes #79171]
  7254. 2006-08-28 Mike Kestner <[email protected]>
  7255. * ListView.cs: size the item and header controls for empty and
  7256. unscrollable views.
  7257. * ThemeWin32Classic.cs: draw disabled backgrounds.
  7258. [Fixes #79187]
  7259. 2006-08-28 Chris Toshok <[email protected]>
  7260. * Form.cs: remove unused "active_form" static field.
  7261. * Hwnd.cs: lock around accesses to static windows collection.
  7262. * Application.cs: lock threads in Exit ().
  7263. 2006-08-28 Chris Toshok <[email protected]>
  7264. * NativeWindow.cs: lock around accesses to window_collection.
  7265. 2006-08-28 Chris Toshok <[email protected]>
  7266. * Control.cs: err, fix this the right way, by locking on controls
  7267. when using it. not by making it synchronized.
  7268. 2006-08-28 Chris Toshok <[email protected]>
  7269. * Control.cs: make the static "controls" field synchronized, as it
  7270. gets updated from multiple threads.
  7271. 2006-08-27 Peter Dennis Bartok <[email protected]>
  7272. * XplatUIX11.cs: PostQuitMessage is thread-specific not app-specific.
  7273. Prevent other threads from exiting when calling thread sets quit state.
  7274. * XEventQueue.cs: Added PostQuitState property
  7275. 2006-08-27 Chris Toshok <[email protected]>
  7276. * AsyncMethodData.cs: add a slot for the window handle.
  7277. * XplatUIX11.cs (SendAsyncMethod): send the event to the right
  7278. window (the destination control's window, not the foster window).
  7279. * Control.cs (BeginInvokeInternal): store the window's handle in
  7280. the AsyncMethodData.
  7281. 2006-08-27 Peter Dennis Bartok <[email protected]>
  7282. * XplatUIX11.cs:
  7283. - PostQuitMessage: Removed resetting S.D display handle, we might have
  7284. another loop started after calling PostQuitMessage (Fixes #79119)
  7285. - Created destructor to reset S.D handle
  7286. 2006-08-27 Peter Dennis Bartok <[email protected]>
  7287. * XplatUIX11.cs (SetCursor): Issue flush after setting the cursor (#79168)
  7288. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7289. * TextControl.cs (Insert): Update the caret position even if we don't
  7290. have a handle yet, just don't call the driver in that case.
  7291. * TextBoxBase.cs (set_SelectedText): Set the Start and End selection
  7292. to the end of the new selection text (Fixes #79184)
  7293. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7294. * Form.cs (Activate): Only activate if the handle is created)
  7295. * Control.c:
  7296. - Mark window as invisible when it's disposed
  7297. - Check if window handle is created when setting window visible,
  7298. instead of relying just on the is_created variable
  7299. - Check if object is disposed when creating the control (Fixes #79155)
  7300. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7301. * ScrollableWindow.cs (ScrollWindow): Don't actually perform layouting
  7302. when allowing layout again. Otherwise we re-generate the anchoring
  7303. distance to the border again and actually alter what the user wanted
  7304. This is ugly, it'd be better if we used DisplayRectangle instead of
  7305. ClientRectangle for Control.UpdateDistances, but that causes us to
  7306. have other problems (initial anchoring positons would be wrong)
  7307. (Fixes #78835)
  7308. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7309. * Control.cs:
  7310. - The size and location setters shouldn't go directly to
  7311. SetBoundsCore, but to SetBounds, which triggers layout on the
  7312. parent, then calls SetBoundsCore. (Related to fix for #78835)
  7313. - SetBounds: Moved actual location update code into this function
  7314. from SetBoundsCore, to match MS. Added call to PerformLayout if
  7315. we have a parent (to trigger resizing of anchored parents if the
  7316. child size has changed (see testcase for #78835)
  7317. * ListBox.cs, Form.cs: Call SetBounds instead of SetBoundsCore to match
  7318. new control code
  7319. * ScrollableControl.cs (CalculateCanvasSize): Use shortcut variable
  7320. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7321. * XplatUIX11.cs: Don't reset the DisplayHandle that's stored in
  7322. System.Drawing when a toplevel window gets closed; there might
  7323. be other toplevel windows belonging to the same app (Fixes #78052)
  7324. 2006-08-26 Alexander Olk <[email protected]>
  7325. * FileDialog.cs: After reading FileDialog settings from mwf_config
  7326. use Desktop prefix only if a real folder doesn't exist anymore.
  7327. * FontDialog.cs: Added char sets.
  7328. It is now possible to select the font, size or style with the
  7329. textboxes.
  7330. 2006-08-25 Kornél Pál <[email protected]>
  7331. * PrintPreviewDialog.cs: Use assembly name constants.
  7332. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7333. * XplatUIWin32.cs (ScrollWindow): Use clipping rectangle arg (prevents
  7334. scrollbar from whacking it's buttons)
  7335. 2006-08-24 Chris Toshok <[email protected]>
  7336. * ScrollableControl.cs: fix #78271. There's a lot of misc stuff
  7337. in this patch (aggregating setting Left/Top/Width/Height to
  7338. setting Bounds on the scrollbars), but the crux of the fix is in
  7339. Recalculate, where we scroll by the remaining scroll_position if
  7340. we're hiding a scrollbar. The 2*$5 reward in the comment is
  7341. serious.
  7342. 2006-08-24 Jackson Harper <[email protected]>
  7343. * MdiClient.cs:
  7344. * MdiWindowManager.cs: If the form is made a non-mdi window we
  7345. need to remove the form closed event so that closing forms works
  7346. correctly.
  7347. 2006-08-24 Jackson Harper <[email protected]>
  7348. * Control.cs: Make IsRecreating internal so that the driver can
  7349. check it
  7350. - Temporarily remove the Hide when controls are removed, its
  7351. making a whole bunch of things not work because visibility isn't
  7352. getting reset elsewhere correctly
  7353. * Form.cs: Need to do a full handle recreation when the mdi parent
  7354. is set.
  7355. * XplatUIX11.cs: If we are recreating handles don't dispose the
  7356. HWNDs. What was happening is the handles were being recreated in
  7357. SendWMDestroyMessages, but then flow continued on in that method
  7358. and destroyed the new handles.
  7359. 2006-08-23 Jackson Harper <[email protected]>
  7360. * Form.cs: MdiClient is always at the back of the bus
  7361. * Control.cs: When the order of items in the collection is changed
  7362. we need to reset the all_controls array
  7363. - do the same sorta setup thats done when adding a control when a
  7364. control is set on the collection.
  7365. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7366. * TextBoxBase.cs (get_Text): Return an empty array if our document
  7367. is empty (fixes #79052)
  7368. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7369. * Control.cs: We should call IsInputChar on only on WM_CHAR but not
  7370. on WM_SYSCHAR messages (fixes #79053)
  7371. 2006-08-23 Chris Toshok <[email protected]>
  7372. * DataGrid.cs: fix flickering when scrolling vertically.
  7373. 2006-08-23 Chris Toshok <[email protected]>
  7374. * DataGrid.cs (EndEdit): only invalidate the row header when we
  7375. need to.
  7376. 2006-08-23 Chris Toshok <[email protected]>
  7377. * ThemeWin32Classic.cs: fix the clip munging of the datagrid paint
  7378. methods. fixes the flicker when scrolling around.
  7379. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7380. * FileDialog.cs: Making sure the control is created before we get a
  7381. chance to use it with BeginInvoke (Fixes #79096)
  7382. 2006-08-23 Chris Toshok <[email protected]>
  7383. * ThemeWin32Classic.cs (DataGridPaintRows): calculate the proper
  7384. width to use when painting the rows.
  7385. 2006-08-23 Peter Dennis Bartok <[email protected]>
  7386. * TextBoxBase.cs:
  7387. - Throw ArgumentException if a negative value is passed to SelectionLength
  7388. - Update the selection end if start is moved. end needs to be always
  7389. after start. (Fixes #79095)
  7390. - Track selection length; MS keeps the selection length even if start
  7391. is changed; reset on all other operations affection selection
  7392. 2006-08-22 Jackson Harper <[email protected]>
  7393. * TreeView.cs: Make sure both scrollbars get displayed and sized
  7394. correctly when the other bar is visible.
  7395. - Use the original clip rectangle for checking if the area between
  7396. the two scrollbars is visible, not the viewport adjusted clipping
  7397. rectangle.
  7398. 2006-08-22 Jackson Harper <[email protected]>
  7399. * Binding.cs: We don't use IsBinding because it requires the
  7400. control to be created, which really shouldn't be necessary just to
  7401. set a property on the control.
  7402. 2006-08-21 Carlos Alberto Cortez <[email protected]>
  7403. * ComboBox.cs: Some CB.ObjectCollection methods must throw
  7404. ArgumentNullReferenceException when the argument is null.
  7405. 2006-08-21 Jackson Harper <[email protected]>
  7406. * Timer.cs: Track the thread that the timer is started in (NOT
  7407. CREATED), this way messages for it will only be triggered on its
  7408. queue.
  7409. * XEventQueue.cs: Track the timers here, this makes timers per
  7410. thread, like MS.
  7411. * XplatUIX11.cs: The timers are moved to the XEventQueue.
  7412. 2006-08-19 Chris Toshok <[email protected]>
  7413. * XplatUIX11.cs: after further communication with pdb, we get the
  7414. best of both worlds. SetZOrder working for un-Mapped windows, and
  7415. no X errors for un-mapped windows.
  7416. 2006-08-19 Chris Toshok <[email protected]>
  7417. * XplatUIX11.cs (SetZOrder): remove the if (!hwnd.mapped) check,
  7418. as it was causing pdn toolbars to not have the correct stacking.
  7419. 2006-08-18 Mike Kestner <[email protected]>
  7420. * ListView.cs : guard against negative ClientArea.Width in scrollbar
  7421. calculation. Not sure why control should ever be setting a negative
  7422. width though. Fixes #78931.
  7423. 2006-08-18 Carlos Alberto Cortez <[email protected]>
  7424. * ComboBox.cs: Throw ArgumentNullException when adding/modifyng
  7425. null items in ObjectCollection class.
  7426. * ListBox.cs.: Likewise.
  7427. 2006-08-18 Atsushi Enomoto <[email protected]>
  7428. * ThemeNice.cs, ThemeClearlooks.cs : remove RadioButton_DrawFocus()
  7429. as the base method in ThemeWin32Classic should work fine.
  7430. Fixed bug #78607.
  7431. 2006-08-18 Jackson Harper <[email protected]>
  7432. * Binding.cs: When validating if the value entered doesn't convert
  7433. properly reset to the old value.
  7434. * RadioButton.cs: Don't fire click when we get focus.
  7435. 2006-08-18 Jackson Harper <[email protected]>
  7436. * FileDialog.cs: Paint the selection on the directory combobox the
  7437. same way as on MS.
  7438. 2006-08-17 Jackson Harper <[email protected]>
  7439. * ErrorProvider.cs: Don't allow the error control to be selected.
  7440. * Control.cs: Don't send the SetFocus messages, the control
  7441. activation will do this, and if we do it blindly here validation
  7442. does not work.
  7443. 2006-08-17 Jackson Harper <[email protected]>
  7444. * Control.cs:
  7445. * ContainerControl.cs: Make validation events fire in the correct
  7446. order. TODO: For some reason the first validation event is not
  7447. getting fired.
  7448. 2006-08-17 Mike Kestner <[email protected]>
  7449. * ComboBox.cs : some null guarding for ComboListBox.Scroll.
  7450. 2006-08-17 Mike Kestner <[email protected]>
  7451. * ComboBox.cs : implement scroll wheel support for popped-down
  7452. state. Fixes #78945.
  7453. 2006-08-17 Jackson Harper <[email protected]>
  7454. * TreeView.cs: Specify treeview actions (old patch that didn't get
  7455. committed for some reason).
  7456. - Don't let the mouse wheel scroll us too far. Just want to make
  7457. the bottom node visible, not scroll it all the ways to the top.
  7458. 2006-08-17 Jackson Harper <[email protected]>
  7459. * XplatUIX11.cs: Mouse wheel events go to the focused window.
  7460. 2006-08-17 Mike Kestner <[email protected]>
  7461. * ComboBox.cs : don't do mouseover selection in simple mode.
  7462. 2006-08-16 Jackson Harper <[email protected]>
  7463. * Form.cs: Fire the closing events for all the mdi child windows
  7464. when a window is closed. If the cancel args are set to true, the
  7465. main window still gets the event fired, but it doesn't not close.
  7466. * MdiWindowManager.cs: Do this closing cleanup in a Closed
  7467. handler, instead of when the button is clicked, so cancelling the
  7468. close works correctly.
  7469. * ComboBox.cs: Send the mouse down to the scrollbar.
  7470. 2006-08-16 Carlos Alberto Cortez <[email protected]>
  7471. * ListBox.cs: When passing 'null' to SelectedItem,
  7472. set SelectedIndex to -1, to unselect items. This is the
  7473. observed behaviour in .Net.
  7474. 2006-08-16 Peter Dennis Bartok <[email protected]>
  7475. * TextBoxBase.cs: Overriding HandleClick to get clicks in spite of
  7476. MS flags saying there won't be any. (fixes #78800)
  7477. * Control.cs (HandleClick): Made virtual
  7478. 2006-08-16 Atsushi Enomoto <[email protected]>
  7479. * PageSetupDialog.cs : use Yard-Pound units only in en-GB and en-US
  7480. cultures. Fixed bug #78399.
  7481. 2006-08-16 Jackson Harper <[email protected]>
  7482. * Form.cs: Use the MdiClients MdiChildren property to access
  7483. MdiChildren instead of creating the array from the child controls.
  7484. * MdiClient.cs: Maintain a separate array of the mdi children, so
  7485. that insertion order is maintained when the Z-order is changed.
  7486. 2006-08-16 Mike Kestner <[email protected]>
  7487. * ListView.cs : add an ItemComparer and default to it for sorting.
  7488. Fixes #79076, but sorting needs a complete overhaul to be compat with
  7489. MS.
  7490. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7491. * XplatUIX11.cs (SetZOrder): Fix debugging leftover (fixes #79080)
  7492. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7493. * Hwnd.cs (Mapped): Properly traverse the tree
  7494. 2006-08-15 Chris Toshok <[email protected]>
  7495. * Binding.cs: fix PullData/SetPropertyValue. We don't want to
  7496. pass manager.Current.GetType() to ParseData. It has to be the
  7497. property type. So, hold off doing the ParseData until we're in
  7498. SetPropertyValue where we know the type. This fixes the crash in
  7499. #78821 but the textbox is still empty.
  7500. 2006-08-15 Chris Toshok <[email protected]>
  7501. * DataGrid.cs:
  7502. - when we're scrolling, only call Edit() again if the
  7503. current cell is still unobscured. Fixes bug #78927.
  7504. - when handling mousedown on a cell, ensure the cell is visible
  7505. before calling Edit.
  7506. - remove the properties from DataGridRow, and remove the
  7507. DataGridParentRow class altogether.
  7508. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7509. * TextBoxBase.cs (set_Text): Don't use base.Text, instead just
  7510. fire OnTextChanged by ourselves. There's no point calling base,
  7511. we don't set the base value anywhere else. Fixes #78773.
  7512. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  7513. * ListBox.cs: Call CollectionChanged when modifying
  7514. an item from Items indexer, to update the actual items
  7515. in the list box.
  7516. 2006-08-15 Carlos Alberto Cortez <[email protected]>
  7517. * PrintDialog.cs: Small fixes for focus and a pair of checks,
  7518. to match .Net behaviour.
  7519. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7520. * XplatUIX11.cs (SetZOrder): Handle raising toplevel windows
  7521. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7522. * Control.cs: Handle BringToFront for toplevel windows (Fixes #78737)
  7523. 2006-08-15 Peter Dennis Bartok <[email protected]>
  7524. * MessageBox.cs: Prevent potential NRE exception.
  7525. * TextBoxBase.cs: AutoSize only applies if MultiLine is false. Fixes #78889
  7526. 2006-08-14 Peter Dennis Bartok <[email protected]>
  7527. * MessageBox.cs: Calculate the owner of a messagebox, also make
  7528. it topmost. Fixes #78753
  7529. 2006-08-14 Chris Toshok <[email protected]>
  7530. * XplatUIX11.cs: A couple of fixes so that metacity will let us
  7531. programmatically move windows. first, set the PPosition hint as
  7532. well as the USPosition hint. Second include some code from pdb
  7533. that sets the window type to NORMAL when we set the transient for
  7534. hint. This is because, in the absence of a window type, metacity
  7535. thinks any window with TransientFor set is a dialog, and refuses
  7536. to let us move it programmatically. fascists.
  7537. 2006-08-14 Peter Dennis Bartok <[email protected]>
  7538. * XplatUIX11.cs: When setting normal hints, take into consideration
  7539. an different hints previously set so we don't delete them (fixes #78866)
  7540. 2006-08-12 Chris Toshok <[email protected]>
  7541. * ToolBarButton.cs: make Layout return a boolean, if something to
  7542. do with the button's layout changed.
  7543. * ToolBar.cs:
  7544. - add another parameter to Redraw, @force, which all existing
  7545. calls set to true.
  7546. - make the Layout function return a boolean which is true if the
  7547. layout has actually changed. Redraw now uses this (and @force)
  7548. to determine when to invalidate. At present the only place
  7549. where @force can be false is the call from OnResize, when
  7550. background_image == null. So, resizing a toolbar when the
  7551. layout doesn't change results in no drawing.
  7552. 2006-08-12 Chris Toshok <[email protected]>
  7553. * ThemeWin32Classic.cs: fix the bottom right corner painting. had
  7554. the VScrollBar and HScrollbar reversed. oops.
  7555. * DataGrid.cs: fix the logic that assigns sizes to the implicit
  7556. scrollbars. we were assigning them twice (once in
  7557. Calc{Horiz,Vertical}Scrollbar, and once in CalcGridAreas),
  7558. therefore causing two scrollbar resizes (and redraws?) to happen
  7559. per grid resize.
  7560. 2006-08-12 Chris Toshok <[email protected]>
  7561. * ToolBarButton.cs: redraw the entire button if the theme tells us
  7562. to.
  7563. * Theme.cs: add ToolBarInvalidateEntireButton.
  7564. * ThemeWin32Classic.cs: we don't need to redraw the entire toolbar
  7565. buttons, just the border.
  7566. * ThemeNice.cs: redraw the entire toolbar button since we need to
  7567. draw the highlight image.
  7568. * ThemeClearlooks.cs: the rounded corners of toolbar buttons mean
  7569. we need to redraw the entire button (not just the border).
  7570. 2006-08-11 Peter Dennis Bartok <[email protected]>
  7571. * TextBoxBase.cs (CalculateScrollbars): Set the proper thumb size
  7572. for vertical bars. Fixes the mismatches shown by #78513
  7573. 2006-08-11 Alexander Olk <[email protected]>
  7574. * FileDialog.cs: If a saved/remembered path doesn't exist
  7575. anymore, fall back to "Desktop".
  7576. 2006-08-11 Peter Dennis Bartok <[email protected]>
  7577. * Form.cs (CreateParams): Don't use Parent.Handle unless we have a
  7578. parent. It's apparently legal to not have one
  7579. * XplatUIX11.cs:
  7580. - SetZOrder: Don't try to set Z-Order on an unmapped window
  7581. - CreateWindow: 0,0 are legal coordinates for a window. don't move
  7582. it unless the coordinates are negative
  7583. 2006-08-10 Mike Kestner <[email protected]>
  7584. * ListControl.cs: allow null for DataSource. Clear DisplayMember
  7585. when setting to null per msdn docs. Fixes #78854.
  7586. 2006-08-10 Chris Toshok <[email protected]>
  7587. * Menu.cs, MainMenu.cs, MenuAPI.cs: get rid of most of the
  7588. flickering by setting a clip rectangle on the Graphics when we
  7589. need to redraw just a particular menuitem. Also, rename "OnClick"
  7590. to "OnMouseDown" to reflect what it actually is.
  7591. * Form.cs: track the OnMouseDown change.
  7592. 2006-08-10 Peter Dennis Bartok <[email protected]>
  7593. * CommonDialog.cs: Properly inherit the CreateParams from the form
  7594. and only change what we need. Fixes #78865
  7595. 2006-08-10 Chris Toshok <[email protected]>
  7596. * ToolBar.cs, ToolBarButton.cs: fix the redraw-on-highlight
  7597. flickering in flat mode (and most of the flickering in general) by
  7598. only invalidating the button border (and not the entire rectangle)
  7599. when the state changes. A couple of cases still flicker:
  7600. ToggleButtons, and the dropdown arrow case when the user mouse
  7601. ups.
  7602. 2006-08-10 Alexander Olk <[email protected]>
  7603. * X11Keyboard.cs: Fixed handling of the Del key on the cursorblock
  7604. for german keyboards. Numlock state shouldn't affect the behaviour
  7605. of the Del key. Fixes bug #78291.
  7606. 2006-08-10 Chris Toshok <[email protected]>
  7607. * ListControl.cs: remove the items.Clear line from BindDataItems,
  7608. as this is the first thing done by both subclasses in their
  7609. SetItemsCore overrides. Also, add a ItemChanged handler, and when
  7610. passed -1, refresh the list. This gets databinding working when
  7611. the datasource is set on the list before the datasource is
  7612. populated (as in wf-apps/ReportBuilder.)
  7613. * ComboBox.cs: remove the argument to BindDataItems. This call
  7614. should really go away, and be initiated by the ListControl code.
  7615. * ListBox.cs: same.
  7616. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7617. * TextControl.cs (Document.ctor): Initialize caret so we don't crash
  7618. if no data is in the document when the control is displayed
  7619. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7620. * TextBoxBase.cs: Don't try moving the caret if we don't have a window
  7621. yes (fixes #78806)
  7622. * TextControl.cs:
  7623. - PositionCaret: Allow positioning of caret but don't call methods
  7624. requiring a handle if the window isn't created yet
  7625. - CharIndexToLineTag: Fix ending loop early error. Lines is 1 based
  7626. - owner_HandleCreated: Don't position the caret, just update it's
  7627. location. User might have already set a different position
  7628. 2006-08-09 Peter Dennis Bartok <[email protected]>
  7629. * XplatUIWin32.cs: Don't use the desktop as basis for foster-parented
  7630. windows. Screws up the returned coordinates for child windows.
  7631. Fixes #78825. I'm hoping this doesn't break something, since the
  7632. code was explicitly put in 8 months ago, but no bug was attached.
  7633. Menus still seem to work properly.
  7634. 2006-08-08 Chris Toshok <[email protected]>
  7635. * DataGrid.cs: make BeginInit/EndInit actually do what they're
  7636. supposed to do - delay data binding until the EndInit call. Also,
  7637. make the table style collection's CollectionChangeAction.Refresh
  7638. work properly.
  7639. * GridTableStylesCollection.cs: raise a CollectionChangeEvent
  7640. (with action = Refresh) when a consituent table's MappingName is
  7641. changed.
  7642. 2006-08-08 Chris Toshok <[email protected]>
  7643. * ToolBarButton.cs: in set_Text, call Parent.Redraw, not
  7644. Invalidate, since changing the text can change the size of the all
  7645. toolbar buttons.
  7646. 2006-08-08 Peter Dennis Bartok <[email protected]>
  7647. * Form.cs (AddOwnedForm): Still need to add the form to our listif
  7648. we don't have it yet
  7649. 2006-08-08 Chris Toshok <[email protected]>
  7650. * PrintControllerWithStatusDialog.cs: don't .Close() the status
  7651. dialog, as this causes X errors later on, since we actually
  7652. destroy the window. Instead, .Hide() it.
  7653. 2006-08-08 Peter Dennis Bartok <[email protected]>
  7654. * ComboBox.cs: Added focus reflection for popup window
  7655. * XplatUIX11.cs:
  7656. - Removed transient setting for non-app windows for now, not sure it
  7657. was needed
  7658. - Fixed logic checking if we have captions when deciding
  7659. override_redirect, WS_CAPTION is two bits and a 0 check was not
  7660. sufficient
  7661. - Removed the WINDOW_TYPE stuff, it was unneeded and making things
  7662. complicated
  7663. * Form.cs:
  7664. - AddOwnedForm: Don't just add the form to the list, call the property
  7665. to ensure the driver is informed about the ownership as well
  7666. - CreateHandle: Set the TopMost status in the driver if we have an owner
  7667. * XplatUI.cs: Fixed debug statement
  7668. 2006-08-08 Jonathan Pobst <[email protected]>
  7669. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  7670. GroupBoxRenderer.cs, ProgressBarRenderer.cs, RadioButtonRenderer.cs,
  7671. ScrollBarRenderer.cs, TabRenderer.cs, TextBoxRenderer.cs,
  7672. TrackBarRenderer.cs: Make constructor private.
  7673. * ProfessionalColors.cs, ProfessionalColorTable.cs: Fix misnamed properties.
  7674. * ProfessionalColorTable.cs: Make properties virtual.
  7675. 2006-08-06 Duncan Mak <[email protected]>
  7676. * NumericUpDown.cs (Value): Don't call OnValueChanged if the value
  7677. is not changing.
  7678. 2006-08-04 Jonathan Pobst <[email protected]>
  7679. * ButtonRenderer.cs, CheckBoxRenderer.cs, ComboBoxRenderer.cs
  7680. GroupBoxRenderer.cs, ProfessionalColors.cs, ProfessionalColorTable.cs,
  7681. ProgressBarRenderer.cs, RadioButtonRenderer.cs, ScrollBarRenderer.cs,
  7682. TabRenderer.cs, TextBoxRenderer.cs, TextRenderer.cs, TrackBarRenderer.cs:
  7683. Initial import of new 2.0 classes.
  7684. 2006-08-04 Jonathan Pobst <[email protected]>
  7685. * Application.cs: Add 2.0 VisualStyles properties.
  7686. 2006-08-04 Jonathan Pobst <[email protected]>
  7687. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  7688. XplatUIX11.cs: Create property to allow access to existing private
  7689. variable "themes_enabled"
  7690. 2006-08-04 Gonzalo Paniagua Javier <[email protected]>
  7691. * ImageListStreamer.cs: generate the MemoryStreams with the exact BMP
  7692. file size, as otherwise our class libraries fail using windows. Fixes
  7693. bug #78759.
  7694. 2006-08-04 Jackson Harper <[email protected]>
  7695. * Form.cs:
  7696. * XplatUIX11.cs: Move the toolwindow window manager creation into
  7697. the X11 driver, this way on win32 we can let windows create/handle
  7698. the toolwindows.
  7699. 2006-08-04 Carlos Alberto Cortez <[email protected]>
  7700. * PrintDialog.cs: Remove some redundant checks, add some others,
  7701. clean some code, and move the focus to the text boxes when the
  7702. values are incorrect.
  7703. 2006-08-04 Alexander Olk <[email protected]>
  7704. * FontDialog.cs: Remove Form.MinimumSize. It's not needed.
  7705. 2006-08-03 Alexander Olk <[email protected]>
  7706. * NumericUpDown.cs: Setting the Minimum and Maximum is now
  7707. handled correctly. Fixes bug #79001.
  7708. 2006-08-03 Carlos Alberto Cortez <[email protected]>
  7709. * PrintDialog.cs: The "Copies" numeric up down must have
  7710. set the Minimum property to 1; only if the value is bigger
  7711. than 1, activate "Collate" check box. This is the behaviour of .Net.
  7712. Also modify the Document elements only if it is not null.
  7713. 2006-08-03 Jackson Harper <[email protected]>
  7714. * TreeNodeCollection.cs: Fix copyto to use the correct nodes
  7715. length. (We have a larger array then actual node count).
  7716. 2006-08-03 Jackson Harper <[email protected]>
  7717. * ComboBox.cs: Don't show selection by default.
  7718. - The SelectAll isn't needed here, since the focus code should do
  7719. that
  7720. - DDL style lists to manual selection drawing, so when they
  7721. get/lose focus they have to invalidate.
  7722. 2006-08-03 Peter Dennis Bartok <[email protected]>
  7723. * TextBoxBase.cs: Don't always show all selections by default.
  7724. 2006-08-03 Jonathan Pobst <[email protected]>
  7725. * ControlUpdateMode.cs, DataSourceUpdateMode.cs,
  7726. HelpNavigator.cs, WebBrowserEncryptionLevel.cs:
  7727. Fixed various typos.
  7728. 2006-08-03 Alexander Olk <[email protected]>
  7729. * Control.cs: Removing the controls in a ControlCollection with
  7730. Clear now hides the controls as expected. Fixes bug #78804.
  7731. 2006-08-03 Jackson Harper <[email protected]>
  7732. * Control.cs: Revert previous focus patch, it breaks reflector.
  7733. 2006-08-03 Jackson Harper <[email protected]>
  7734. * ComboBox.cs: Cleanup selection and focus with the combobox.
  7735. This also eliminates some duplicated keyboard code, since now
  7736. everything is handled by the main class.
  7737. - Make list selection work on mouse up instead of down, to match
  7738. MS.
  7739. 2006-08-02 Jackson Harper <[email protected]>
  7740. * Control.cs: Setting focus needs to go through the whole
  7741. selection mechanism.
  7742. 2006-08-02 Chris Toshok <[email protected]>
  7743. * PrintPreviewDialog.cs: change MinimumSize to use
  7744. base.MinimumSize so it works.
  7745. 2006-08-02 Peter Dennis Bartok <[email protected]>
  7746. * TextControl.cs:
  7747. - UpdateCaret: Added sanity check in case caret isn't defined yet
  7748. - Line.Delete: Now updating selection and caret markers if we're
  7749. transfering a node (Properly fixes #78323)
  7750. - SetSelectionEnd: Added sanity check
  7751. * TextBoxBase.cs: Removed broken attempt to fix #78323
  7752. 2006-08-01 Chris Toshok <[email protected]>
  7753. * PrintPreviewDialog.cs: the CancelEventArgs stuff surrounding the
  7754. Close() call is handled in Form, not here.
  7755. 2006-08-01 Chris Toshok <[email protected]>
  7756. * Theme.cs, ThemeWin32Classic.cs: fix the PrintPreviewControl
  7757. layout/rendering.
  7758. * PrintPreviewDialog.cs: add scrollbars, and add an image cache
  7759. for sizes < 100% zoom. The code now aggressively attempts to keep
  7760. from calling document.Print (), and tries not to use the scaling
  7761. g.DrawImage whenever possible (it still does if you scale to >
  7762. 100%, since usually that involves huge images).
  7763. * PrintPreviewControl.cs: hook up the close button.
  7764. 2006-08-01 Jonathan Pobst <[email protected]>
  7765. * ColumnClickEventHandler.cs, DrawItemEventHandler.cs,
  7766. ItemChangedEventHandler.cs, ItemCheckEventHandler.cs,
  7767. ItemDragEventHandler.cs, LabelEditEventHandler.cs,
  7768. LinkClickedEventHandler.cs, LinkLabelLinkClickedEventHandler.cs,
  7769. MeasureItemEventHandler.cs, MethodInvoker.cs, PaintEventHandler.cs,
  7770. PropertyTabChangedEventHandler.cs, PropertyValueChangedEventHandler.cs,
  7771. SelectedGridItemChangedEventHandler.cs, ToolBarButtonClickEventHandler.cs:
  7772. Removed [Serializable] for 2.0 Event Handlers.
  7773. 2006-07-31 Jackson Harper <[email protected]>
  7774. * TextBoxBase.cs: Make ShowSelection invalidate when changed.
  7775. * TextControl.cs: Uncomment out the body of this method.
  7776. 2006-07-31 Alexander Olk <[email protected]>
  7777. * XplatUIX11.cs: Use the correct cursor shapes for arrow and default
  7778. standard cursors.
  7779. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7780. * TextBoxBase.cs: Added internal property ShowSelection to allow controls
  7781. that embed TextBox and need selections visible even if textbox is not
  7782. focused to enforce that behaviour.
  7783. * TextControl.cs (Draw): Use ShowSelection instead of has_focus to determine
  7784. selection drawing
  7785. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7786. * TextControl.cs:
  7787. - Added new SetSelectionStart/SetSelectionEnd overloads
  7788. - Fixed viewport width assignment to be accurate
  7789. - Adjusted alignment line shift calculations to allow cursor on right
  7790. aligned lines to be always visible at the right border (like MS)
  7791. * TextBoxBase.cs:
  7792. - SetBoundsCore: Re-adjust caret location after resize (Fixes #78323)
  7793. - TextBoxBase_SizeChanged: recalculating canvas on size changes
  7794. - CalculateScrollBars: Use ViewPort size instead of window size, to
  7795. properly consider space occupied by the border and scrollbars
  7796. (Fixes #78661)
  7797. - hscroll_ValueChanged, vscroll_ValueChanged: Fixed scroll
  7798. calculations; no longer leaves artifacts
  7799. - CaretMoved: Adjusted window scrolling to match MS and fixed several
  7800. calculation bugs (Still missing right/center align calculations)
  7801. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7802. * XPlatUIWin32.cs: Made ScrollRectEx a bit more flexible, and removed
  7803. use of both scroll rect and clip rect, as they do the same.
  7804. 2006-07-31 Peter Dennis Bartok <[email protected]>
  7805. * Control.cs (WM_CHAR WndProc): 2.0 profile allows changing the key
  7806. in the event handler (fixes #78912)
  7807. 2006-07-31 Chris Toshok <[email protected]>
  7808. * ThemeWin32Classic.cs: use grid.RowsCount here instead of
  7809. grid.ListManager.Count, since grid.ListManager might be null.
  7810. This of course begs the question "why are we drawing rows for a
  7811. grid with no list manager (and therefor no rows)?" Fixes the
  7812. crash in bug #78929.
  7813. 2006-07-31 Chris Toshok <[email protected]>
  7814. * RelatedPropertyManager.cs: Don't always chain up to the parent
  7815. ctor. instead, call SetDataSource if the parent's position is !=
  7816. -1. Fixes the crash in #78822.
  7817. 2006-07-31 Chris Toshok <[email protected]>
  7818. * DataGrid.cs (get_ListManager): use field instead of property
  7819. accessors for datasource and datamember.
  7820. (RowsCount): make internal again.
  7821. (OnMouseDown): end edits before resizing columns/rows.
  7822. (OnMouseUp): restart edits after resizing columns/rows.
  7823. 2006-07-30 Peter Dennis Bartok <[email protected]>
  7824. * XplatUIX11.cs: Default cursor cannot be 0 or it will not get set.
  7825. This fixes the situation where the last set cursor is displayed
  7826. whenever the mouse is over scrollbars.
  7827. 2006-07-30 Carlos Alberto Cortez <[email protected]>
  7828. * PrintDialog.cs: Fix the behaviour of PrinterSettings and
  7829. Document properties, as well as initial values.
  7830. 2006-07-29 Peter Dennis Bartok <[email protected]>
  7831. * XplatUIWin32.cs (SetBorderStyle): Setting both border
  7832. and ClientEdge results in a 3-pixel border, which is
  7833. wrong.
  7834. 2006-07-28 Jackson Harper <[email protected]>
  7835. * TreeNodeCollection.cs: Fix the clear method.
  7836. - Fix the Shrink also
  7837. 2006-07-27 Jackson Harper <[email protected]>
  7838. * TreeView.cs: Make sure the visible order is computed when we
  7839. attempt to size the scrollbars (for trees that mess with the
  7840. scrolling when they shouldn't.
  7841. - Make sure to give the scrollbars valid values.
  7842. 2006-07-26 Peter Dennis Bartok <[email protected]>
  7843. * XplatUIX11.cs: Move motion compression code to where it
  7844. has less performance impact
  7845. 2006-07-26 Jackson Harper <[email protected]>
  7846. * UpDownBase.cs: When the control is selected make the child
  7847. controls non selectable, so that a click on them won't do a
  7848. focus/unfocus cycle.
  7849. - Don't give focus to the text box when the spinner is selected.
  7850. * XEventQueue.cs: Peek on both the x11 queue and the lock queue.
  7851. 2006-07-26 Chris Toshok <[email protected]>
  7852. * ThemeWin32Classic.cs: add print preview rendering. I'm not
  7853. satisfied with this solution. If the bitmaps are small, we should
  7854. just cache them in the PrintPreviewDialog and draw them here.
  7855. Also, the layout is broken for the 2-up and 3-up cases.
  7856. * Theme.cs: add PrintPReviewControlPaint.
  7857. * PrintPreviewDialog.cs: first pass implementation.
  7858. * PrintPreviewControl.cs: first pass implementation. No
  7859. scrollbars yet.
  7860. * PrintDialog.cs: only validate fields if that particular portion
  7861. of the UI is enabled. Also, set the document's controller to a
  7862. PrintControllerWithStatusDialog wrapping the document's print
  7863. controller.
  7864. * PrintControllerWithStatusDialog.cs: if we're printing to a file,
  7865. bring up a SaveFileDialog (i hope we don't want to match the
  7866. behavior of the crappy windows file entry) and set the
  7867. PrinterSettings.PrintFileName accordingly.
  7868. 2006-07-26 Jackson Harper <[email protected]>
  7869. * ContainerControl.cs: Add a field that disables auto selecting
  7870. the next control in a container when the container is activated.
  7871. * UpDownBase.cs: Don't select the text box when the up down is
  7872. selected.
  7873. 2006-07-26 Peter Dennis Bartok <[email protected]>
  7874. * XEventQueue.cs: Added methods for peeking (used for compression
  7875. of successive events)
  7876. * XplatUIX11.cs (GetMessage): We're now compressing consecutive
  7877. mouse move events (fixes #78732)
  7878. 2006-07-25 Jackson Harper <[email protected]>
  7879. * UpDownBase.cs: Use an internal class for the textbox so that we
  7880. can control focus. the updown control should always have focus,
  7881. if either the text area or the buttons are clicked.
  7882. - Send the key messages to the textbox, since it never actually
  7883. has focus
  7884. - Activate and decativate the textbox caret.
  7885. 2006-07-24 Jackson Harper <[email protected]>
  7886. * Control.cs: Use the directed select when selecting a control,
  7887. this way the container controls override will get called and the
  7888. whole ActiveControl chain will get triggered. TODO: probably need
  7889. to make sure this gets done everywhere instead of the old
  7890. Select(Control).
  7891. * ContainerControl.cs: Implement the directed Select method to
  7892. find and activate the correct child control.
  7893. 2006-07-22 Mike Kestner <[email protected]>
  7894. * Form.cs: use Control.MousePosition for NCLBUTTONDOWN in the menu
  7895. menu handling code so that clicks without a grab work too.
  7896. [Fixes #78914]
  7897. 2006-07-22 Alexander Olk <[email protected]>
  7898. * FileDialog.cs: Enable the BackButton when dirstack has one element.
  7899. Added some small optimizations.
  7900. 2006-07-21 Matt Hargett <[email protected]>
  7901. * Control.cs: Implemented 2.0 MinimumSize/MaximumSize properties
  7902. 2006-07-21 Peter Dennis Bartok <[email protected]>
  7903. * Control.cs (GetNextControl): Fixes to make all of Jackson's unit
  7904. tests pass and match MS in some strange border cases.
  7905. 2006-07-21 Chris Toshok <[email protected]>
  7906. * ThemeWin32Classic.cs: handle drawing of the relation links and
  7907. parent row buttons.
  7908. * Theme.cs: change args to DataGridPaintParentRow.
  7909. * DataGrid.cs: Don't use controls for the relation links and
  7910. parent buttons, so we have to handle all their interactions in
  7911. MouseMove, MouseDown, MouseUp, etc. Also, store a lot more stuff
  7912. when we're navigating through child tables, so we can reinstate
  7913. selection, expanded state, current cell, etc.
  7914. 2006-07-20 Chris Toshok <[email protected]>
  7915. * ToolBar.cs: When we redraw a button, for whatever reason,
  7916. there's no reason to redraw the entire toolbar. Also, don't call
  7917. Control.Refresh from within Redraw, as it's much heavier than
  7918. Invalidate (which is really what we want).
  7919. 2006-07-20 Chris Toshok <[email protected]>
  7920. * DataGrid.cs, CurrencyManager.cs, DataGridColumnStyle.cs,
  7921. DataGridTextBoxColumn.cs, DataGridTextBox.cs,
  7922. ThemeWin32Classic.cs, ListControl.cs: After staring at stack
  7923. traces from within a debug IBindingList datasource
  7924. (in mono/winforms/datagrid) for *days*, I've finally gotten things
  7925. to work in a similar fashion.
  7926. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  7927. * ListBox.cs: Don't call Sort () when setting
  7928. the Sorted property to false (avoid an unnecessary sort).
  7929. 2006-07-20 Carlos Alberto Cortez <[email protected]>
  7930. * ListControl.cs: DataSource should throw an ArgumentException
  7931. instead of a normal exception when the argument is not of the
  7932. correct type.
  7933. 2006-07-20 Mike Kestner <[email protected]>
  7934. * Control.cs: add InternalPreProcessMessage to allow us to steal
  7935. key events before MWF gets its paws on them. Adapted from a
  7936. suggestion by eno.
  7937. * ToolBar.cs: add GotLostFocus handing for flat toolbars, with
  7938. up/down/left/right navigation. Override the new internal control
  7939. method to steal the events since they never make it to WndProc.
  7940. * ToolBarButton.cs: don't worry about pushed when setting hilight
  7941. since the drawing code prefers pushed to hilight. Invalidate on
  7942. Hilight changes. Fixes #78547 and #78525.
  7943. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7944. * ScrollableControl.cs: Consider AutoScrollMinSize when calculating
  7945. the canvas size. Fixes #78868
  7946. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7947. * Splitter.cs: Track requested split position until first layout
  7948. is performed. Fixes #78871
  7949. 2006-07-20 Peter Dennis Bartok <[email protected]>
  7950. * Application.cs: Removed code that forces 1.x for the version
  7951. number if the version started with 0. Not sure why that code was
  7952. there and I couldn't find any bugs that indicated we needed it.
  7953. Fixes #78869
  7954. 2006-07-20 Alexander Olk <[email protected]>
  7955. * ThemeWin32Classic.cs: Don't throw a NotImplementedException in
  7956. ResetDefaults(), just write some output to the console until it's
  7957. implemented. Fixes bug #78907 for now. Eliminated two warnings.
  7958. 2006-07-19 Jonathan Chambers <[email protected]>
  7959. * PropertyGridView.cs: set StartPosition of drop down forms
  7960. so they appear in correct initial spot. Fixes #78190.
  7961. 2006-07-19 Mike Kestner <[email protected]>
  7962. * ThemeWin32Classic.cs: use parent background color when drawing
  7963. flat toolbars. Restructure the conditionals to make sure non-flat
  7964. non-Divider toolbars are filled too. Fixes #78837.
  7965. 2006-07-19 Mike Kestner <[email protected]>
  7966. * ListBox.cs: Sort on collection changes even if the handle
  7967. isn't created yet. Fixes #78813.
  7968. 2006-07-18 Carlos Alberto Cortez <[email protected]>
  7969. * ListControl.cs: DisplayMember should never be null,
  7970. and now we assign String.Empty when null is passed to it (this
  7971. is the .Net way).
  7972. 2006-07-17 Mike Kestner <[email protected]>
  7973. * ListViewItem.cs: restructure Font and subitem Font handling
  7974. to hold a specific font and refer back to owner on null.
  7975. Fixes #78761.
  7976. 2006-07-17 Mike Kestner <[email protected]>
  7977. * ToolBar.cs: bandaid for side-effect of previous patch which was
  7978. discarding explicit heights for non-AutoSize toolbars. Need to
  7979. extend my format tester to deal with AutoSize=false. Fixes #78864.
  7980. 2006-07-15 Jackson Harper <[email protected]>
  7981. * LabelEditTextBox.cs:
  7982. * TreeView.cs: Use a new LabelEdit class for node editing, this
  7983. class automatically 'closes' itself when it gets the enter key or
  7984. loses focus.
  7985. - Use the client rectangle when setting the trees scrollbars, so
  7986. border style is taken into account.
  7987. 2006-07-14 Jackson Harper <[email protected]>
  7988. * TreeNode.cs:
  7989. * TreeView.cs: Make the editing work similar to MSs, firing the
  7990. events correctly and ending edits correctly.
  7991. 2006-07-14 Mike Kestner <[email protected]>
  7992. * ToolBarButton.cs:
  7993. * ToolBar.cs: layout restructuring and redraw enhancements to support
  7994. formatting changes gracefully, like setting TextAlign, ImageList,
  7995. ButtonSize, and Appearance. Handles explicit button sizing quirks
  7996. of the MS controls. Things like flat toolbars ignoring button size
  7997. but becoming constant sized at the largest button's size. Normal
  7998. toolbars with an image set cannot be shrunk smaller than the image,
  7999. but text can be clipped/ignored.
  8000. * ThemeWin32Classic.cs: don't draw text if text_rect height or width
  8001. is zero. Seems like DrawString should be smart enough to not put
  8002. anything on screen though. Also trim labels and ellipsize at the char
  8003. boundary, not word.
  8004. Fixes #78711 and #78483.
  8005. 2006-07-14 Alexander Olk <[email protected]>
  8006. * FolderBrowserDialog.cs: Disable "New Folder" button and
  8007. "New Folder" contextmenu menuitem if a folder like "My Computer"
  8008. is selected.
  8009. 2006-07-14 Alexander Olk <[email protected]>
  8010. * FileDialog.cs: Don't create a new folder in "MyComputer" folder.
  8011. * FolderBrowserDialog.cs:
  8012. - Use MWFConfig to store and read size and position settings
  8013. - Added code to create a new folder (button or context menu).
  8014. Use TreeView labeledit to change the name of the new folder.
  8015. 2006-07-14 Jackson Harper <[email protected]>
  8016. * TreeView.cs: Raise the OnAfterLabelEdit event correctly. Also,
  8017. when the tree is scrolled we end editing.
  8018. 2006-07-14 Alexander Olk <[email protected]>
  8019. * ThemeWin32Classic.cs: Fixed position of CPDrawScrollButton Up and
  8020. Down arrows
  8021. 2006-07-14 Jonathan Pobst <[email protected]>
  8022. WebBrowserProgressChangedEventHandler.cs, BindingCompleteEventArgs.cs,
  8023. BindingCompleteEventHandler.cs, BindingManagerDataErrorEventArgs.cs,
  8024. BindingManagerDataErrorEventHandler.cs, CacheVirtualItemsEventArgs.cs,
  8025. CacheVirtualItemsEventHandler.cs, ColumnReorderedEventArgs.cs,
  8026. ColumnReorderedEventHandler.cs, ColumnWidthChangedEventArgs.cs,
  8027. ColumnWidthChangedEventHandler.cs, ColumnWidthChangingEventArgs.cs,
  8028. ColumnWidthChangingEventHandler.cs, FormClosedEventArgs.cs,
  8029. FormClosedEventHandler.cs, FormClosingEventArgs.cs,
  8030. FormClosingEventHandler.cs, ItemCheckedEventArgs.cs,
  8031. ItemCheckedEventHandler.cs, ListControlConvertEventArgs.cs,
  8032. ListControlConvertEventHandler.cs, ListViewItemMouseHoverEventArgs.cs,
  8033. ListViewItemMouseHoverEventHandler.cs, ListViewItemSelectionChangedEventArgs.cs,
  8034. ListViewItemSelectionChangedEventHandler.cs,
  8035. ListViewVirtualItemsSelectionRangeChangedEventArgs.cs,
  8036. ListViewVirtualItemsSelectionRangeChangedEventHandler.cs,
  8037. MaskInputRejectedEventArgs.cs, MaskInputRejectedEventHandler.cs,
  8038. PopupEventArgs.cs, PopupEventHandler.cs, PreviewKeyDownEventArgs.cs,
  8039. PreviewKeyDownEventHandler.cs, RetrieveVirtualItemEventArgs.cs,
  8040. RetrieveVirtualItemEventHandler.cs, SearchForVirtualItemEventArgs.cs,
  8041. SearchForVirtualItemEventHandler.cs, SplitterCancelEventArgs.cs,
  8042. SplitterCancelEventHandler.cs, TabControlCancelEventArgs.cs,
  8043. TabControlCancelEventHandler.cs, TabControlEventArgs.cs,
  8044. TabControlEventHandler.cs, TableLayoutCellPaintEventArgs.cs,
  8045. TableLayoutCellPaintEventHandler.cs, ToolStripDropDownClosedEventArgs.cs,
  8046. ToolStripDropDownClosedEventHandler.cs, ToolStripDropDownClosingEventArgs.cs,
  8047. ToolStripDropDownClosingEventHandler.cs, TreeNodeMouseClickEventArgs.cs,
  8048. TreeNodeMouseClickEventHandler.cs, TreeNodeMouseHoverEventArgs.cs,
  8049. TreeNodeMouseHoverEventHandler.cs, TypeValidationEventArgs.cs,
  8050. TypeValidationEventHandler.cs, WebBrowserDocumentCompletedEventArgs.cs,
  8051. WebBrowserDocumentCompletedEventHandler.cs, WebBrowserNavigatedEventArgs.cs,
  8052. WebBrowserNavigatedEventHandler.cs, WebBrowserNavigatingEventArgs.cs,
  8053. WebBrowserNavigatingEventHandler.cs,
  8054. WebBrowserProgressChangedEventArgs.cs: New 2.0 Event Handlers
  8055. 2006-07-14 Jonathan Pobst <[email protected]>
  8056. MergeAction.cs, PowerLineStatus.cs, PowerState.cs, PreProcessControlState.cs,
  8057. RichTextBoxLanguageOptions.cs, ScreenOrientation.cs, ScrollOrientation.cs,
  8058. SearchDirectionHint.cs, SystemParameter.cs, TabControlAction.cs,
  8059. TableLayoutPanelCellBorderStyle.cs, TextDataFormat.cs, TextImageRelation.cs,
  8060. ToolStripDropDownCloseReason.cs, ToolStripDropDownDirection.cs,
  8061. ToolStripGripDisplayStyle.cs, ToolStripGripStyle.cs,
  8062. ToolStripItemAlignment.cs, ToolStripItemDisplayStyle.cs,
  8063. ToolStripItemImageScaling.cs, ToolStripItemOverflow.cs,
  8064. ToolStripItemPlacement.cs, ToolStripLayoutStyle.cs,
  8065. ToolStripManagerRenderMode.cs, ToolStripRenderMode.cs,
  8066. ToolStripStatusLabelBorderSides.cs, ToolStripTextDirection.cs,
  8067. ToolTipIcon.cs, TreeNodeStates.cs, TreeViewDrawMode.cs,
  8068. TreeViewHitTestLocations.cs, UnhandledExceptionMode.cs, ValidationConstraints.cs,
  8069. WebBrowserEncryptionLevel.cs, WebBrowserReadyState.cs, WebBrowserRefreshOption.cs,
  8070. ArrowDirection.cs, AutoCompleteMode.cs, AutoCompleteSource.cs, AutoSizeMode.cs,
  8071. AutoValidate.cs, BatteryChargeStatus.cs, BindingCompleteContext.cs,
  8072. BindingCompleteState.cs, CloseReason.cs, ColumnHeaderAutoResizeStyle.cs,
  8073. ControlUpdateMode.cs, DataSourceUpdateMode.cs, DockingBehavior.cs,
  8074. FixedPanel.cs, FlowDirection.cs, GetChildAtPointSkip.cs,
  8075. HtmlElementInsertionOrientation.cs, InsertKeyMode.cs, ListViewHitTestLocations.cs,
  8076. ListViewItemStates.cs, MaskFormat.cs: Added
  8077. 2006-07-13 Jonathan Chambers <[email protected]>
  8078. * PropertyGridView.cs: Fix keyboard navigation of drop down.
  8079. Patch from eno for bug 78558.
  8080. 2006-07-13 Jackson Harper <[email protected]>
  8081. * TreeView.cs: When an edit is finished make sure that the
  8082. selected node is visible.
  8083. - When setting the top/bottom use the scrollbars is_visible, so
  8084. everything will be set correctly even if the tree isn't visible
  8085. yet.
  8086. 2006-07-13 Jackson Harper <[email protected]>
  8087. * ComboBox.cs: Revert the item->index part of my previous patch.
  8088. * TreeView.cs: Use LostFocus instead of Leave for detecting when
  8089. the edit box has lost focus (duh).
  8090. - Just make the edit box not visible when we get return, that will
  8091. take the focus, which will call EndEdit
  8092. * TreeNode.cs When we start editing, notify the treeview.
  8093. 2006-07-12 Jackson Harper <[email protected]>
  8094. * ComboBox.cs: Clear out old items before setting the item list.
  8095. This prevents databound controls from having their items added
  8096. twice.
  8097. - Switch the combobox to use indices whereever possible instead of
  8098. using Item's. This allows usto navigate through lists that have
  8099. more then one item with the same string value (ie a, b, b, a).
  8100. - Scroll the listboxes scrollbar when a non visible item is
  8101. highlighted
  8102. - Allow keypress to cycle through all the possible values. For
  8103. example if you have b1, b2, b3 and hold down the B key all the
  8104. values will be cycled through.
  8105. 2006-07-12 Jackson Harper <[email protected]>
  8106. * TextBoxBase.cs:
  8107. * ListView.cs: Don't need to override SETFOCUS anymore, we can do
  8108. this using the internal methods.
  8109. * Control.cs: Add OnGotFocusInternal. A new method that allows
  8110. controls to "override" OnGotFocus and change focus behavior if
  8111. needed.
  8112. - Same thing for LostFocus
  8113. * ComboBox.cs: Pass off focus to the text control properly.
  8114. 2006-07-12 Alexander Olk <[email protected]>
  8115. * FileDialog.cs: Added GetFoldersOnly to MWFVFS
  8116. * FolderBrowserDialog.cs: Almost a complete rewrite.
  8117. - Better support for Environment.Specialfolders
  8118. - Added support for MWFVFS
  8119. - Made setting SelectedPath work
  8120. 2006-07-12 Jackson Harper <[email protected]>
  8121. * Control.cs: Optimze getting all the controls.
  8122. 2006-07-11 Jackson Harper <[email protected]>
  8123. * ContainerControl.cs: Override SETFOCUS in the container control,
  8124. so that it is not selected on mouse click.
  8125. 2006-07-11 Peter Dennis Bartok <[email protected]>
  8126. * LinkLabel.cs: Hack to handle Shift-Tabbing to the linklabel.
  8127. Hopefully we will have a better way once all of focus is complete.
  8128. 2006-07-11 Peter Dennis Bartok <[email protected]>
  8129. * ThemeWin32Classic.cs: Commented out some debug code and fixed
  8130. a compile error with csc.
  8131. 2006-07-11 Jackson Harper <[email protected]>
  8132. * Control.cs: When hiding a control only select the next control
  8133. if the current control was focused.
  8134. - Don't handle enter/leave when setting/killing focus, this is
  8135. done by the container control.
  8136. - Remove is_selected, it's not needed anymore.
  8137. - Add utility methods for selecting a child control, and for
  8138. firing the Enter/Leave events.
  8139. * ContainerControl.cs: When a control is activated fire the
  8140. enter/leave events.
  8141. - Don't wrap when processing the tab key, so that focus can be
  8142. moved outside of the container.
  8143. - Use the correct active control
  8144. 2006-07-11 Jackson Harper <[email protected]>
  8145. * ComboBox.cs: Remove some debug code that was blinding me.
  8146. * UpDownBase.cs: These controls actually aren't implicit, they are
  8147. visible to the user.
  8148. 2006-07-10 Chris Toshok <[email protected]>
  8149. * DataGrid.cs: move back to the is_adding boolean field. god i
  8150. hate this is_editing/is_adding/is_changing stuff.
  8151. 2006-07-10 Chris Toshok <[email protected]>
  8152. * DataGridTableStyle.cs: just check if the property type is bool.
  8153. if it is, use DataGridBoolColumn, otherwise DataGridTextBoxColumn.
  8154. Don't use CanRenderType.
  8155. * DataGridTextBoxColumn.cs: set the value to DBNull.Value, not "",
  8156. if our text == NullText. Remove CanRenderType.
  8157. * DataGridBoolColumn.cs: nuke CanRenderType.
  8158. * DataGrid.cs: reenable some code to end the current edit inside
  8159. of set_CurrentCell. This fixes the other 1.1.16 regression.
  8160. Also, remove rowhdrs_maxheight and just use rowhdrs_area.Height.
  8161. Also, remove the visible_row_count arg from CalcRowHeaders, since
  8162. we don't need to worry about the actual height of the area.
  8163. 2006-07-10 Chris Toshok <[email protected]>
  8164. * DataGridTextBoxColumn.cs: if when we Commit we're in navigate
  8165. mode, just return.
  8166. * DataGridTextBox.cs: change "isedit" to "isnavigating" to reflect
  8167. the real sense of the IsInEditOrNavigateMode property (true =
  8168. navigate, false = edit). Also, update OnKeyPress to reflect this.
  8169. * DataGridTableStyle.cs (CreateColumnsForTable): even if the
  8170. column style exists, we still need to set its property descriptor
  8171. to match up with our list manager.
  8172. 2006-07-10 Chris Toshok <[email protected]>
  8173. * ThemeWin32Classic.cs: implement the new row/header painting
  8174. approach. The parent row painting will likely go away and
  8175. replaced with label controls, but the rest seems to work ok (and
  8176. efficiently).
  8177. * Theme.cs: change the way we draw datagrid rows. we don't draw
  8178. the row headers as a block now. Instead we draw them in the
  8179. normal draw-row loop. Add some calls for drawing parent rows and
  8180. relation rows.
  8181. * DataGridTableStyle.cs: add tons of ArgumentExceptions if this is
  8182. a default table style. Set the defaults from ThemeEngine.Current,
  8183. not SystemColors. Fix lots of misc issues with property setters.
  8184. * DataGrid.cs: move loads of style information out of this class
  8185. as it's being duplicated with DataGridTableStyle. keep track of a
  8186. special DataGridTableStyle for the properties we used to mirror
  8187. here. Switch all the style properties to access this table style
  8188. instead of instance fields of this class. Also add a internal
  8189. class to represent parent rows (more needs to be stored here, like
  8190. the selection state from the parent table, as well as the
  8191. expansion state.) Also, for datasources with relations, do the
  8192. right thing for collapse/expand, and add support for the
  8193. navigation/parent row buttons.
  8194. Lastly, fix the crash in the 1.1.16 build.
  8195. * GridTableStylesCollection.cs: make the explicit interface
  8196. implementations call the class's methods as opposed to duplicating
  8197. them.
  8198. * DataGridTextBoxColumn.cs: set the x/y offset of the textfield to
  8199. 0 so the text doesn't jump around when we move the cursor.
  8200. 2006-07-10 Jackson Harper <[email protected]>
  8201. * TextBoxBase.cs:
  8202. * ListBox.cs: Match MS's ToString (this makes debugging focus
  8203. stuff infinitely easier).
  8204. 2006-07-10 Jackson Harper <[email protected]>
  8205. * Control.cs (SelectNextControl): When checking the control's
  8206. parent use this instead of ctrl.parent so that null can be passed
  8207. to SelectNextControl. (I have unit tests for this).
  8208. - Remove unused var.
  8209. 2006-07-10 Chris Toshok <[email protected]>
  8210. * CurrencyManager.cs: correct one regression, the removal of the
  8211. finalType field. Also, add a MonoTODO on CanAddRows, implement
  8212. Refresh() correctly, and fix some event emission in
  8213. ListChangedHandler.
  8214. 2006-07-07 Alexander Olk <[email protected]>
  8215. * FileDialog.cs: Don't use brackets for new folders if they exist
  8216. under *nix. Instead use -(number of existing folders +1).
  8217. 2006-07-07 Alexander Olk <[email protected]>
  8218. * FileDialog.cs:
  8219. - Fixed really nasty bug #78771
  8220. - Don't block the whole GUI when reading directories with a lot of
  8221. entries. Use an other thread instead and call BeginInvoke to
  8222. update the ListView in MWFFileView
  8223. 2006-07-07 Chris Toshok <[email protected]>
  8224. * Control.cs (Dispose): release any Capture when disposing.
  8225. 2006-07-07 Chris Toshok <[email protected]>
  8226. * LinkLabel.cs (Select): if we chain up to the parent, set
  8227. focused_index to -1 so we'll search for the first available link
  8228. the next time the user tabs into us. Also, if the direction is
  8229. backward and focused_index == -1, start the search from the last
  8230. element.
  8231. 2006-07-07 Chris Toshok <[email protected]>
  8232. * LinkLabel.cs (CreatePiecesFromText): if the link's range piece
  8233. is beyond the end of the text, don't do anything.
  8234. (CreateLinkPieces): set our ControlStyles.Selectable based on
  8235. whether or not we have any links.
  8236. (Link.Invalidate): use a loop instead of foreach.
  8237. (Link.set_Start): null out owner.sorted_links so it'll be
  8238. recreated by CreateLinkPieces.
  8239. 2006-07-06 Chris Toshok <[email protected]>
  8240. * LinkLabel.cs: revert the SetStyle change.
  8241. 2006-07-06 Chris Toshok <[email protected]>
  8242. * LinkLabel.cs (.ctor): SetStyle Selectable to true.
  8243. (OnEnableChanged): s/Refresh/Invalidate
  8244. (OnGotFocus): if we have a focused index already, refocus it (so
  8245. if we mouse out/in to the window it'll focus the right link).
  8246. (OnKeyDown): move the tab handling out of here.
  8247. (OnLostFocus): don't set focused_index to -1, so we can refocus it
  8248. when we lose focus.
  8249. (OnMouseDown): don't Capture here - Control handles it. Also,
  8250. focus the active link.
  8251. (OnMouseUp): don't deal with Capture.
  8252. (OnPaintBackgroundInternal): remove.
  8253. (OnTextAlignChanged): CreateLinkPieces before calling the
  8254. superclass's method.
  8255. (OnTextChanged): call CreateLinkPieces before calling superclass's
  8256. method.
  8257. (ProcessDialogKey): handle Tab here, and call Select(bool,bool) to
  8258. move around.
  8259. (Select): implement this, moving the selection between different
  8260. links, and call parent.SelectNextControl if we don't have another
  8261. link to focus in the given direction.
  8262. (CreateLinkPieces): call Invalidate instead of Refresh.
  8263. 2006-07-06 Chris Toshok <[email protected]>
  8264. * ThemeWin32Classic.cs: DrawLinkLabel changes to accomodate the
  8265. new LinkLabel internals.
  8266. * LinkLabel.cs: fairly major rewrite. get rid of all the loops
  8267. over pieces looking for active/focused/etc links. also, deal with
  8268. runs of text (and links) with embedded \n's in them, and use
  8269. MeasureCharacterRanges instead of MeasureString to figure out the
  8270. regions text occupies. Lastly, do the usual s/Refresh/Invalidate
  8271. two-step.
  8272. 2006-07-04 Jackson Harper <[email protected]>
  8273. * XplatUIX11.cs: Enable key auto repeat. If the user doesn't have
  8274. XKB or key auto repeat, do it manually. Without key auto repeat,
  8275. when a key is held down we get key press, key release, key press,
  8276. key release, ... with auto repeat we get key press, key press, key
  8277. press ..., and then a release when the key is actually released.
  8278. 2006-07-03 Jackson Harper <[email protected]>
  8279. * TabControl.cs:
  8280. * ThemeWin32Classic.cs: Tabs do not obey normal background color
  8281. rules, they are always control color regardless of the background
  8282. color.
  8283. 2006-07-02 Alexander Olk <[email protected]>
  8284. * FileDialog.cs: Added internal class MWFConfig.
  8285. Removed Registry support and replaced it with support for the new
  8286. MWFConfig class. See MWFConfig comments for more information.
  8287. 2006-06-30 Alexander Olk <[email protected]>
  8288. * ThemeWin32Classic.cs: Added RadioButton and CheckBox focus
  8289. rectangle. Added some patches from eno from bug #78490 and fixed
  8290. the arrow position for small up and down CPDrawScrollButtons.
  8291. 2006-06-30 Jackson Harper <[email protected]>
  8292. * InternalWindowManager.cs: Remove some debug code.
  8293. * Form.cs: When an MdiParent is set to null, the window is
  8294. "detatched" and becomes a normal window.
  8295. * MdiClient.cs: Don't bring the new child form to the front until
  8296. it is activated (setting it as active does this), this makes the
  8297. previously active forms titlebar get redrawn as inactive.
  8298. 2006-06-29 Peter Dennis Bartok <[email protected]>
  8299. * PrintDialog.cs: Labels need a tab index too, otherwise they overlap
  8300. with later controls
  8301. 2006-06-29 Mike Kestner <[email protected]>
  8302. * MenuAPI.cs: handle arrow keys in keynav state. Go active on down
  8303. arrow in keynav state. Fixes #78682.
  8304. 2006-06-28 Atsushi Enomoto <[email protected]>
  8305. * PrintDialog.cs: Reorder, relayout, remove extra code, set tab
  8306. order (fixes #78393)
  8307. 2006-06-28 Jonathan Pobst <[email protected]>
  8308. * AccessibleRole.cs, AccessibleStates.cs, AnchorStyles.cs,
  8309. ArrangeDirection.cs, ArrangeStartingPosition.cs, ColorDepth.cs,
  8310. ControlStyles.cs, DataGridViewImageCellLayout.cs, DrawMode.cs,
  8311. FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs,
  8312. GridItemType.cs, HelpNavigator.cs, ImeMode.cs, ItemActivation.cs,
  8313. ItemBoundsPortion.cs, Keys.cs, ListViewAlignment.cs,
  8314. PictureBoxSizeMode.cs, PropertySort.cs, SelectionMode.cs,
  8315. Shortcut.cs, SizeGripStyle.cs, SortOrder.cs, StructFormat.cs,
  8316. TextFormatFlags.cs, ToolBarAppearance.cs, ToolBarButtonStyle.cs,
  8317. ToolBarTextAlign.cs, View.cs: 2.0 Changes to existing 1.x
  8318. enumerations (FlagsAttribute, SerializableAttribute, added/removed
  8319. values)
  8320. 2006-06-28 Mike Kestner <[email protected]>
  8321. * ComboBox.cs: implement scroll wheel support. Fixes #78360.
  8322. 2006-06-28 Atsushi Enomoto <[email protected]>
  8323. * PropertyGrid.cs,
  8324. PropertyGridTextBox.cs : explicitly set BackColor to differentiate
  8325. item lines from other area (It also makes BackColor consistent and
  8326. compatible with .NET). Fixed bug #78564.
  8327. 2006-06-28 Jonathan Chambers <[email protected]>
  8328. * PropertyGrid.cs: refresh toolbar when PropertySort is set.
  8329. Patch from Eno for #78555.
  8330. 2006-06-27 Chris Toshok <[email protected]>
  8331. * ThemeWin32Classic.cs: s/grid.grid_drawing/grid
  8332. * DataGridColumnStyle.cs: same.
  8333. * DataGrid.cs: Roll DataGridDrawingLogic.cs into this file.
  8334. * DataGridDrawingLogic.cs: nuke.
  8335. 2006-06-27 Chris Toshok <[email protected]>
  8336. * DataGridTableStyle.cs: clean up the constructors, and build the
  8337. list of child relations for this table. I have no idea if this is
  8338. where we should be doing it (it probably isn't), but since we're
  8339. already iterating over the properties..
  8340. * DataGrid.cs: add row resizing. for now we add a DataGridRow
  8341. struct and array for keeping track of row information, similar to
  8342. what's shown in a hack on
  8343. http://www.syncfusion.com/FAQ/WindowsForms/FAQ_c44c.aspx.
  8344. * Theme.cs: be consistent about the naming of DataGrid methods,
  8345. prefering ColumnWidths and RowHeights over columnsWidths and
  8346. RowsHeights.
  8347. * ThemeWin32Classic.cs: same, and also add support for variable
  8348. sized rows (and the +/- expansion icons for related rows).
  8349. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8350. * TextBoxBase.cs: Applied Eno's patch from #78660
  8351. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8352. * Form.cs (ScaleCore): We don't want to scale our form if it's
  8353. state is minimized or maximized, but we still need to scale our
  8354. child windows. Also, added try/finally block to ensure layout
  8355. gets reset (Fixes #78697)
  8356. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8357. * Control.cs: Added 2.0 Scale(SizeF) method (Fixes 78700)
  8358. 2006-06-27 Peter Dennis Bartok <[email protected]>
  8359. * Form.cs: Fixed c+p error and added check to resize form if minimum
  8360. size is bigger than current size (Fixes #78709)
  8361. 2006-06-26 Peter Dennis Bartok <[email protected]>
  8362. * ThemeEngine.cs (..ctor): Properly use ToLower() (Fixes #78704)
  8363. 2006-06-26 Mike Kestner <[email protected]>
  8364. * ComboBox.cs: only do Keypress handling in the combo when there
  8365. are items in the collection. Fixes #78710.
  8366. 2006-06-26 Chris Toshok <[email protected]>
  8367. * Binding.cs: make this work bi-directionally. also, clear up
  8368. other mixups between Push/Pull Data (e.g. we're supposed to pull
  8369. data when validating).
  8370. * BindingManagerBase.cs: trim some fully qualified collection
  8371. types.
  8372. * PropertyManager.cs (get_IsSuspended): oops, fix this check.
  8373. 2006-06-23 Chris Toshok <[email protected]>
  8374. * PropertyManager.cs: It appears (according to the unit tests)
  8375. that PropertyManager doesn't use
  8376. PropertyDescriptor.AddValueChanged to track propery value changes
  8377. in its datasource, but uses the same scheme as Binding, where it
  8378. looks for a <Property>Changed event and binds to it.
  8379. Also, according to the docs, IsSuspended always returns false for
  8380. a property manager with a non-null datasource.
  8381. 2006-06-22 Peter Dennis Bartok <[email protected]>
  8382. * Form.cs: (ShowDialog): If we're returning a forced cancel we still
  8383. need to update the actual DialogResult. (Fixes #78613)
  8384. 2006-06-22 Peter Dennis Bartok <[email protected]>
  8385. * Form.cs (ShowDialog): Release any captures before running the
  8386. new message pump (fixes #78680)
  8387. 2006-06-22 Mike Kestner <[email protected]>
  8388. * ListView.cs: Layout column widths properly in details mode even
  8389. if HeaderStyle.None is set. Fixes #78691.
  8390. 2006-06-21 Peter Dennis Bartok <[email protected]>
  8391. * FileDialog.cs: Fixed taborder to match MS. Fixes #77873 partially.
  8392. 2006-06-21 Peter Dennis Bartok <[email protected]>
  8393. * Control.cs (ContainsFocus): Using new driver method to get focused
  8394. window, instead of trying to use internal tracking var, which can
  8395. recursion issues (Fixes #78685)
  8396. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  8397. XplatUIWin32.cs: Added GetFocus method to return focused window
  8398. 2006-06-21 Gonzalo Paniagua Javier <[email protected]>
  8399. * ColorDialog.cs: when the mouse button is pressed inside the color
  8400. matrix, don't let the cursor move out of it until the button is
  8401. released, which is the behavior on windows. Changed 'colours' by
  8402. 'colors' to use the same word consistently.
  8403. 2006-06-21 Chris Toshok <[email protected]>
  8404. * DataGrid.cs: add in some basic navigation stuff (navigating to a
  8405. child relation and back, using a stack). Also, remove
  8406. GetDataSource and the code that calls it - it's not needed. Also,
  8407. track CurrencyManager.ListName's removal.
  8408. 2006-06-21 Chris Toshok <[email protected]>
  8409. * CurrencyManager.cs: push some of the original type checking from
  8410. BindingContext.CreateBindingManager to here, and remove some of
  8411. the finalType stuff. Need more tests to make sure I've got the
  8412. ListName part right, and we might need more in SetDataSource.
  8413. * PropertyManager.cs: add a ctor that takes just the datasource,
  8414. and no property name. Make SetDataSource work with a null
  8415. property_name, and make Current return the data_source if the
  8416. property descriptor is null. this makes 'string foo = "hi";
  8417. BindingContext[foo].Current' return "hi" as it should.
  8418. * RelatedCurrencyManager.cs: make this code more generic - there's
  8419. no reason the parent manager has to be CurrencyManager, and
  8420. there's no reason to pass the DataRelation. It suffices to use a
  8421. BindingManagerBase and PropetyDescriptor.
  8422. * RelatedPropertyManager.cs: make a similar change here.
  8423. * BindingContext.cs: make CreateBindingManager the beautiful, tiny
  8424. flower I knew it could be.
  8425. 2006-06-20 Chris Toshok <[email protected]>
  8426. * PropertyManager.cs: the PropertyChangedHandler is invoked when
  8427. data in the source has changed and we need to update the control,
  8428. so s/PullData/PushData.
  8429. * CurrencyManager.cs: Refresh is meant to update the control from
  8430. data in the datasource. So, s/PullData/PushData.
  8431. * BindingContext.cs: add more ugliness (we weren't handling the
  8432. case where data_source = DataTable and data_member = column_name).
  8433. * Binding.cs: fix PushData/PullData mixup. Both are interpreted
  8434. from the perspective of the datasource. PullData pulls from the
  8435. control, PushData pushes to the control.
  8436. 2006-06-20 Chris Toshok <[email protected]>
  8437. * BindingContext.cs: rewrite the CreateBindingManager code to
  8438. handle navigation paths more or less properly. This could
  8439. definitely stand some more work, in particular to push the
  8440. recursion up to the toplevel. But that relies on fixes in other
  8441. places (System.Data comes to mind).
  8442. Also, move to a flat hashtable (and encode the twolevel nature of
  8443. the dictionary into the hash key). This lets us implement the
  8444. IEnumerable.GetEnumerator method.
  8445. * RelatedCurrencyManager.cs: new class. Update our view based on
  8446. our relation and our parent CurrencyManager's position.
  8447. * CurrencyManager.cs: split out some logic from the ctor into
  8448. SetView, so it can be called from the new RelatedCurrencyManager
  8449. subclass.
  8450. * RelatedPropertyManager.cs: new class. Update our datasource
  8451. based on the position of our parent CurrencyManager.
  8452. * PropertyManager.cs: split out some logic from the ctor into
  8453. SetDataSource, so it can be called from the new RelatedDataSource
  8454. subclass. Also, make the Current getter return the value
  8455. of the PropertyDescriptor, not the data_source.
  8456. * Binding.cs: no need to duplicate the string splitting code here.
  8457. 2006-06-19 Peter Dennis Bartok <[email protected]>
  8458. * Control.cs:
  8459. - set_Enabled: OnEnabledChanged is not called if the inherited state
  8460. of the control is not altered, even though we might be changing the
  8461. internal state of the control (#78458)
  8462. - set_Enabled: (Re)Moved the enabling/disabling of the window to
  8463. OnEnabledChanged, to allow easy altering of any child window state
  8464. - OnEnabledChanged: Added code to enable/disable driver window state
  8465. - OnParentEnabledChanged: Instead of firing the event, call
  8466. OnEnabledChanged, which will fire the event and also a) set driver
  8467. window state and pass the enabled state to any grandchildren (#78458)
  8468. 2006-06-19 Jackson Harper <[email protected]>
  8469. * InternalWindowManager.cs: We don't set the cursor explicitly
  8470. thats done via the response to NCHITTESTs.
  8471. - Don't need to adjust for titlebar heights anymore, the
  8472. coordinates are coming in the correct coordinates now (see peters
  8473. last patch).
  8474. 2006-06-19 Peter Dennis Bartok <[email protected]>
  8475. * XplatUIX11.cs (GetMessage): WM_NCxBUTTONx messages were wrongly
  8476. being translated relative to whole window, instead of client window.
  8477. That caused broken offsets on mouseclick (and caused gas for our
  8478. InternalWindowManager)
  8479. 2006-06-15 Peter Dennis Bartok <[email protected]>
  8480. * TextControl.cs:
  8481. - MoveCaret: Implemented PgUp, PgDown, CtrlPgUp and CtrlPgDown
  8482. - Undo(): Added replay of cursor move on DeleteChars action; added
  8483. calling Undo() again if a recorded cursor move is invalid (to
  8484. ensure that some action is performed on Undo)
  8485. * TextBoxBase.cs (ProcessKey): Added handling of PgUp and PgDown (#78482)
  8486. 2006-06-16 Jackson Harper <[email protected]>
  8487. * MdiClient.cs: Instead of just sizing maximized windows when
  8488. there is a resize we also have to adjust the Y of minimized
  8489. windows, so they stay pinned to the bottom of the mdi container.
  8490. - Eliminate separate tracking of the active control, we can just
  8491. get this from the controls collection.
  8492. - Paint the decorations for the newly activated titlebar so we get
  8493. a pretty blue bar.
  8494. * InternalWindowManager.cs:
  8495. * ThemeWin32Classic.cs: Minimized windows get all three buttons
  8496. even if they are a tool window.
  8497. 2006-06-15 Peter Dennis Bartok <[email protected]>
  8498. * TextControl.cs (Undo): Handle non-existent cursor locations in the
  8499. undo buffer, these can happen when text was deleted and the cursor
  8500. was recorded first. Since we will also have a recorded cursor
  8501. after the delete this is not an issue. (Fixes #78651)
  8502. 2006-06-14 Peter Dennis Bartok <[email protected]>
  8503. * AccessibleObject.cs: Remove dependence on Control.is_selected;
  8504. instead properly track control states internally (allows us to
  8505. remove is_selected from Control)
  8506. 2006-06-14 Gonzalo Paniagua Javier <[email protected]>
  8507. * ImageListStreamer.cs: correctly generate the 1bpp mask for images
  8508. whose width is not a multiple of 8.
  8509. 2006-06-13 Jackson Harper <[email protected]>
  8510. * MdiClient.cs: Only maximize the next child if the current one
  8511. is maximized.
  8512. 2006-06-13 Chris Toshok <[email protected]>
  8513. * DataGridColumnStyle.cs: Invalidate the column when HeaderText is
  8514. modified. Also, guard against grid or grid_drawing being null in
  8515. Invalidate.
  8516. * DataGrid.cs: Reformat tons of getters/setters. In the
  8517. DataMember setter, just call SetNewDataSource instead of
  8518. duplicating some of its functionality. In SetNewDataSource, don't
  8519. check ListManager for null, since the property getter creates the
  8520. object if needed.
  8521. * DataGridTableStyle.cs: don't set TableStyle or call
  8522. SetDataGridInternal on the column here, it's done in
  8523. GridColumnStylesCollection.Add.
  8524. * GridColumnStylesCollection.cs: fix all the explicit interface
  8525. implementations to just call our methods. Nuke AddInternal() and
  8526. move the body of it to Add(). Also, add a call to
  8527. column.SetDataGridInternal to Add().
  8528. * DataGridTextBoxColumn.cs (.ctors): call this() instead of
  8529. base()+duplicate code. Also, use the Format property instead of
  8530. format to generate an Invalidate ala MS. Lastly, create the
  8531. textbox here, unconditionally.
  8532. (set_Format): call Invalidate.
  8533. (get_TextBox): no need to call EnsureTextBox.
  8534. (Commit): remove the message box.
  8535. (Edit) remove the call to EnsureTextBox.
  8536. (EndEdit): call HideEditBox instead of ReleaseHostedControl.
  8537. (EnterNullValue): no need to check textbox for null.
  8538. (HideEditBox): no need to check textbox for null.
  8539. (SetDataGridInColumn): add the textbox to the grid's controls.
  8540. (EnsureTextBox): nuke.
  8541. 2006-06-13 Jackson Harper <[email protected]>
  8542. * MdiWindowManager.cs: Hook up to the maximized menus paint event
  8543. and redraw the buttons when needed. Unhook when the window is
  8544. unmaximized.
  8545. * MainMenu.cs: Add an internal Paint event, the mdi window manager
  8546. needs this so that it can redraw its buttons when the menu is
  8547. repainted.
  8548. * InternalWindowManager.cs:
  8549. * Form.cs: The method order has changed for DrawMaximizedButtons,
  8550. so that it can be a PaintEventHandler.
  8551. 2006-06-13 Jackson Harper <[email protected]>
  8552. * MdiClient.cs: When we close a maximized mdi window, the next mdi
  8553. window is activated and maximized, even if it wasn't before.
  8554. - When a new window is activated repaint the decorations of the
  8555. old one, so that it no longer has the Active "look" (the blue
  8556. titlebar).
  8557. * InternalWindowManager.cs: Open up CreateButtons to base classes
  8558. so they can recreate the buttons on state changes.
  8559. - If a window is maximized give it all three buttons
  8560. * MdiWindowManager.cs: Create the titlebar buttons when the state
  8561. is changed, this is needed because a toolwindow will not have all
  8562. three buttons until it is maximized.
  8563. 2006-06-13 Atsushi Enomoto <[email protected]>
  8564. * ProgressBar.cs : PerformStep() shouldn't exceed Maximum.
  8565. Fixed bug #78609.
  8566. 2006-06-12 Jackson Harper <[email protected]>
  8567. * KeysConverter.cs: Make sure we handle the Ctrl special case
  8568. if its the only key.
  8569. 2006-06-12 Jackson Harper <[email protected]>
  8570. * Theme.cs: Add a method to get the size of a managed window
  8571. toolbar button.
  8572. * InternalWindowManager.cs: Remove the ButtonSize property, this
  8573. should be retrieved from the theme.
  8574. * MdiWindowManager.cs: Get the button size from the theme
  8575. * ThemeWin32Classic.cs: Make the method to get the managed window
  8576. titlebar button size public.
  8577. - Handle the different button sizes of maximized toolwindows
  8578. (should match any maximized window).
  8579. - Get the titlebar height from the theme, not the WM (which gets
  8580. it from the theme).
  8581. 2006-06-12 Jackson Harper <[email protected]>
  8582. * InternalWindowManager.cs: Handle NC Double Clicks, passing the
  8583. event down to the mdi window manager.
  8584. - Expose some extra stuff to base classes
  8585. - Make sure to end the Capture on an NC Mouse up, so that we can
  8586. get double clicks properly, and the sizing doens't stick.
  8587. - When doing PointToClient contain it in the workable desktop
  8588. area, this prevents windows from changing size when the cursor is
  8589. pulled outside of the working area while sizing.
  8590. * MdiWindowManager.cs: When we get a double click maximize the
  8591. window.
  8592. - Reset the cursor after handling mode changes.
  8593. 2006-06-12 Peter Dennis Bartok <[email protected]>
  8594. * XplatUIX11.cs (WorkingArea): Read the actual workarea for the
  8595. current desktop, instead of just assuming a 0, 0 origin. This
  8596. is needed for our internal window manager, to know the top
  8597. margin of the desktop
  8598. 2006-06-12 Chris Toshok <[email protected]>
  8599. * DataGrid.cs (set_CurrentCell): concede focus as we move around.
  8600. we need this to get rid of the selected background in the bool
  8601. column.
  8602. (CancelEditing): move the ConcedeFocus call to above the Abort
  8603. call. Also, set is_changing to false and invalidate the row
  8604. header if we were changing before.
  8605. (ProcessKeyPreviewInternal): remove, since noone outside this
  8606. class calls it anymore. Roll the code into ProcessKeyPreview.
  8607. (EndEdit): remove the internal version.
  8608. (InvalidateCurrentRowHeader): make private.
  8609. * DataGridBoolColumn.cs: simplify this class a bunch. remove the
  8610. Keys.Escape handling (and with it the last call to
  8611. DataGrid.EndEdit from outside the class.)
  8612. 2006-06-12 Chris Toshok <[email protected]>
  8613. * DataGridTextBox.cs (.ctor): isedit defaults to false.
  8614. (OnKeyPress): set isedit to true.
  8615. (ProcessKeyMessage): remove Keys.Enter handling from here. it's
  8616. already handled by the grid.
  8617. * DataGrid.cs (set_CurrentCell): more work here. it's still not
  8618. right. ugh.
  8619. (set_DataSource): SetDataSource always returns true, so stop
  8620. putting it in an if statement.
  8621. (EndEdit): get rid of some {}'s
  8622. (ProcessGridKey): return true in case Keys.Escape.
  8623. (ProcessKeyPreviewInternal): only handle KEYDOWN messages.
  8624. (ConnectListManagerEvents,DisconnectListManagerEvents): connect to
  8625. PositionChanged, stopped connecting to CurrentChanged.
  8626. (GetDataSource): simplify this a bunch.
  8627. (SetDataSource): change return type from bool to void.
  8628. (OnListManagerPositionChanged): rename OnListManagerCurrentChanged
  8629. to this, and make sure we don't set ListManager.Position inside
  8630. set_CurrentCell.
  8631. (OnListManagerItemChanged): if we're passed an actual index,
  8632. redraw that row.
  8633. * CurrencyManager.cs (set_Position): don't call PullData here.
  8634. 2006-06-09 Jackson Harper <[email protected]>
  8635. * TreeNode.cs: Recalculate the visible order before doing the
  8636. Expand/Collapse Below calls, because those calls generate an
  8637. expose.
  8638. - Reduce calls to the TreeView property, which is mildly expensive
  8639. by using a local var.
  8640. * Form.cs: Layout the MDI child windows when creating the parent
  8641. form.
  8642. - Don't use the internal constructor anymore
  8643. * MdiClient.cs: use the parent form width/height (if available)
  8644. when laying out the child windows, we do this because the
  8645. mdiclient isn't docked yet when the initial layout is done.
  8646. - Don't need an internal constructor anymore.
  8647. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  8648. * FileDialog.cs: handle access errors when trying to create a folder
  8649. or changing to a directory. No need to initialize out parameters.
  8650. 2006-06-08 Alexander Olk <[email protected]>
  8651. * FileDialog.cs: Append a number when creating a new folder if the
  8652. folder already exists (use parenthesis instead of square brackets)
  8653. 2006-06-08 Alexander Olk <[email protected]>
  8654. * FileDialog.cs:
  8655. - Disabled registry support for windows and added better registry
  8656. error checking for other systems (need to investigate why it
  8657. works perfectly on my system)
  8658. - If a folder already exist show an error MessageBox instead of
  8659. trying to create an indexed name.
  8660. - Fixed a non intentional typo.
  8661. 2006-06-08 Gonzalo Paniagua Javier <[email protected]>
  8662. * FileDialog.cs: (SetFileName) don't crash if CurrentRealFolder is null.
  8663. 2006-06-08 Alexander Olk <[email protected]>
  8664. * FileDialog.cs: When creating a new folder don't crash if the
  8665. folder already exists.
  8666. 2006-06-08 Alexander Olk <[email protected]>
  8667. * FileDialog.cs: Allmost a complete rewrite.
  8668. - added a "virtual" file system that handles the differences
  8669. between unix and windows file systems (especially the directory
  8670. structure). Moved most of the directory and file handling code
  8671. into the vfs.
  8672. Added vfs classes: MWFVFS, FileSystem, WinFileSystem,
  8673. UnixFileSystem and FSEntry.
  8674. - Recently used folder/directory, size, location and used file names
  8675. (file name ComboBox) are now stored in the registry and get read
  8676. before the dialog shows up (fixes part 6 of bug #78446).
  8677. - Creation of new folders/directories is now possible (context menu
  8678. or ToolBar). Added TextEntryDialog for this that fills in the gap
  8679. until ListView.LabelEdit works.
  8680. - Fixed cursor handling (bug #78527) and focus handling for
  8681. PopupButtonPanel
  8682. - Various "Search in" ComboBox enhancements. The content of the
  8683. dropdown listbox now almost matches ms.
  8684. - Changed the behaviour when the user switches to SpecialFolder
  8685. Recent to show the ListView in View.Details.
  8686. - Beside using the ToolBar to change the View property of the
  8687. file ListView it is now possible to use the context menu too.
  8688. 2006-06-08 Alexander Olk <[email protected]>
  8689. * ComboBox.cs: Don't create a new ObjectCollection when an item
  8690. gets inserted. Just insert the item in the existing object_items
  8691. ArrayList.
  8692. 2006-06-08 Jackson Harper <[email protected]>
  8693. * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
  8694. that the treeview and root node checks are done also, this fixes a
  8695. regression i caused in the unit tests.
  8696. 2006-06-07 Wade Berrier <[email protected]>
  8697. * RichTextBox.cs: More ISO8859-1 -> unicode
  8698. 2006-06-07 Mike Kestner <[email protected]>
  8699. * ComboBox.cs : use items to hold highlight/selection so that
  8700. collection insertions don't require synchronization.
  8701. 2006-06-07 Jackson Harper <[email protected]>
  8702. * InternalWindowManager.cs: Simplify (and FIX) the window sizing
  8703. routine. We now always keep the sized edge at the cursor instead
  8704. of computing movement and adjusting rects. There is one buglet
  8705. with this method though when the cursor is moved over area that
  8706. the window can not expand too (such as the toolbars on the desktop).
  8707. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  8708. * XplatUIX11.cs: (IsEnabled,IsVisible) the window handler can be null
  8709. here. Fixes crash on startup in AlbumSurfer.
  8710. 2006-06-07 Peter Dennis Bartok <[email protected]>
  8711. * RichTextBox.cs: Replaced embedded ISO8859-1 chars with proper unicode
  8712. values
  8713. 2006-06-07 Gonzalo Paniagua Javier <[email protected]>
  8714. * XplatUIX11.cs: call XPending and XNextEvent inside the same lock()
  8715. statement to avoid calling XNextEvent which will block if another thread
  8716. took the event that we were expecting. Fixes bug #78605.
  8717. 2006-06-07 Mike Kestner <[email protected]>
  8718. * ListView.cs : isolated checkbox clicking from the selection logic.
  8719. Toggle check state on item doubleclicks. Really fixes #78454 part2.
  8720. 2006-06-06 Carlos Alberto Cortez <[email protected]>
  8721. * Form.cs: Check that the value passed to Form.DialogResult
  8722. is a valid enum value.
  8723. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  8724. * FileDialog.cs: disable the up button when in 'Recently Used' or 'My
  8725. Computer'. Clicking it in the network view goes to 'My Computer'.
  8726. Added CIFS filesystem type. Display the mount point of filesystems.
  8727. Avoid duplicate mount points (happens for me with CIFS);
  8728. 2006-06-06 Jackson Harper <[email protected]>
  8729. * InternalWindowManager.cs: Draw the maximized windows buttons
  8730. when resizing.
  8731. 2006-06-06 Gonzalo Paniagua Javier <[email protected]>
  8732. * Form.cs: when running a modal dialog, ignore WM_CLOSE requests for
  8733. all other dialogs. Fixes bug #78585.
  8734. 2006-06-06 Mike Kestner <[email protected]>
  8735. * CheckedListBox.cs : apply CheckOnClick behavior to unchecking too.
  8736. Only invalidate checkbox on checkstate changes to avoid flicker.
  8737. * ListBox.cs : avoid unselect/select when clicking selected item.
  8738. avoid reselection flicker for already multiselected items.
  8739. Fixes #78382.
  8740. 2006-06-06 Jackson Harper <[email protected]>
  8741. * MdiWindowManager.cs: When the window is closed do an NCRecalc on
  8742. the parent form so that the menu is removed if needed.
  8743. 2006-06-06 Mike Kestner <[email protected]>
  8744. * ListBox.cs : add ScrollWindow call to UpdateTopItem. fix
  8745. Prev/Next/PrevPage/NextPage/Home/End index calculation. Fixes #78559.
  8746. 2006-06-06 Mike Kestner <[email protected]>
  8747. * CheckedListBox.cs : rebuild check collection on Add. Fixes #78426.
  8748. 2006-06-06 Jackson Harper <[email protected]>
  8749. * Control.cs: Use the property (instead of the field) to get the
  8750. default cursor so it is instantiated correctly.
  8751. * InternalWindowManager.cs: The OS doesn't give us an NCPAINT with
  8752. resizes so we need to manually repaint the window decorations here.
  8753. - Set the titlebar button locations as soon as they are created,
  8754. otherwise they are not set correctly on win32.
  8755. 2006-06-06 Chris Toshok <[email protected]>
  8756. * CurrencyManager.cs (set_Position): call PullData before
  8757. OnCurrentChanged.
  8758. (AddNew): after calling IBindingList.AddNew, update our
  8759. listposition, and call OnCurrentChanged/OnPositionChanged (without
  8760. calling PullData).
  8761. (OnCurrentChanged): remove the call to PullData from here.
  8762. (OnItemChanged): remove the call to PushData from here.
  8763. (OnPositionChanged): change the test from == null to != null to
  8764. match the other methods.
  8765. (ListChangedHandler): the grossest part of the patch. Implement
  8766. this such that it passes the unit tests in CurrencyManagerTest and
  8767. the output more or less matches that of MS's implementation.
  8768. 2006-06-06 Mike Kestner <[email protected]>
  8769. * ListView.cs : only update check state on single click.
  8770. * ThemeWin32Classic.cs : fix focus drawing for details view without
  8771. fullrowselect. Fixes #78454.
  8772. * XplatUIX11.cs : fix for double click emission.
  8773. 2006-06-05 Jonathan Chambers <[email protected]>
  8774. * PropertyGridView.cs : Applied Atsushi's patch to fix
  8775. font dialog bug (#78197).
  8776. 2006-06-05 Jackson Harper <[email protected]>
  8777. * TreeNode.cs: Compute the next node for expanding/collapsing
  8778. correctly. We now factor in nodes without a NextNode
  8779. correctly. (Fixes somes cases in nunit-gui).
  8780. * InternalWindowManager.cs: Set the bounds when updating the
  8781. virtual position of a tool window.
  8782. 2006-06-05 Chris Toshok <[email protected]>
  8783. * DataGrid.cs: rename cached_currencymgr to list_manager.
  8784. (set_CurrentCell): move SetCurrentCell code here, and clean it up
  8785. some.
  8786. (CurrentRow, CurrentColumn): single accessors so we can make the
  8787. cursor movement code a lot easier to understand.
  8788. (CurrentRowIndex): implement this in terms of CurrentRow.
  8789. (BeginEdit): clean this up a bit.
  8790. (CancelEditing): sort out the is_editing/is_changing/is_adding
  8791. stuff a little.
  8792. (EndEdit): minor changes.
  8793. (OnKeyDown): add a comment about a (most likely) unnecessary
  8794. check.
  8795. (OnMouseDown): cancel editing when we click on a row header. And
  8796. use the CurrentRow setter, not CurrentCell.
  8797. (ProcessDialogKey): directly call ProcessGridKey.
  8798. (UpdateSelectionAfterCursorMove): factor out this common block of
  8799. code (it's used everywhere that we move the cursor by updating row
  8800. or column).
  8801. (ProcessGridKey): pretty substantial overhaul. Use the
  8802. CurrentRow/CurrentColumn properties to make the code a lot more
  8803. readable. Only use the CurrentCell property when we have to
  8804. modify both row and column at once. Tab behavior is still broken,
  8805. and Delete is untested.
  8806. (Select): if we have no selected rows, set selection_start to
  8807. @row.
  8808. (EditCurrentCell): rename EditCell this. It was only ever invoked
  8809. with CurrentCell as the arg, so drop the arg and rename it.
  8810. * DataGridColumnStyle.cs: clean up the constructors a little, and
  8811. drop CommonConstructor().
  8812. * DataGridTextBox.cs (.ctor): set accepts_return to true so we
  8813. actually get notified when the user hits it.
  8814. (ProcessKeyMessage): *substantially* simplify this method.
  8815. There's no reason (that I can see) for the textbox to be making
  8816. calls into the datagrid at all. Remove all of them but the ones
  8817. for Enter handling. those will take some more work.
  8818. * DataGridTextBoxColumn.cs (ConcedeFocus): implement this by
  8819. calling HideEditBox.
  8820. (HideEditBox): if we have an active textbox, render it invisible
  8821. without causing a re-layout of the datagrid.
  8822. 2006-06-05 Mike Kestner <[email protected]>
  8823. * ListView.cs : fix NRE crasher when focuseditem is cleared by
  8824. collection changes by resetting it to Items[0]. Fixes #78587.
  8825. 2006-06-05 Gonzalo Paniagua Javier <[email protected]>
  8826. * MessageBox.cs: if the height of the text is larger than the icon_size,
  8827. use that. Fixes bug #78575.
  8828. 2006-06-05 Jackson Harper <[email protected]>
  8829. * TreeView.cs: Fix line drawing when scrolling. To do this each
  8830. node is basically responsible for drawing its entire horizontal
  8831. area. When drawing a node it draws its parent node lines if
  8832. needed.
  8833. - Adjust the clip area to the viewport rectangle
  8834. - Fix Left/Right key handling to match MS. (It expand/collapses
  8835. and moves to parents/first child but does not move selection to
  8836. sibling nodes).
  8837. - Fix SetTop to work with new bound calculation code
  8838. - When scrollbars are no longer needed we need to reset scrolling
  8839. vars and recalculate the visible order so the redraw is correct
  8840. * TreeNode.cs: We can't expand/collapse nodes with no children.
  8841. 2006-06-03 John Luke <[email protected]>
  8842. * X11DesktopColors.cs: dllimport the exact gtk and gdk versions
  8843. so the colors work without dev packages
  8844. 2006-06-02 Peter Dennis Bartok <[email protected]>
  8845. * Control.cs
  8846. - Select: Implemented to just use activate. Seems to match MS
  8847. behaviour closest. Documented to only do actual control walking
  8848. based on it's parameters if in a container control so I moved
  8849. the code there.
  8850. - Removed selection check logic from our internal Select() method
  8851. * ContainerControl.cs:
  8852. - Select: Moved selection logic from Control here, since MS documents
  8853. that containers obey the bool arguments. No longer calling base
  8854. 2006-06-02 Jackson Harper <[email protected]>
  8855. * TreeView.cs: If the selected node isn't changed when we get
  8856. focus update the previously selected node so that we see the
  8857. selection box.
  8858. 2006-06-02 Mike Kestner <[email protected]>
  8859. * ComboBox.cs: restructure grab and general mouse event handling.
  8860. Make the composite control raise mouse events like it was a single
  8861. control for leaves/enters/motion/up/down events. fix dropdown list
  8862. coordinate mangling and refactor it into the scrollbar subclass to
  8863. reduce code duplication. Fixes #78282 #78361 and #78457.
  8864. 2006-06-02 Mike Kestner <[email protected]>
  8865. * ScrollBar.cs: remove Capture setting/clearing, as it happens
  8866. automatically in the Control.WndProc.
  8867. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  8868. * FileDialog.cs: fix crash when running SharpChess, which sets the
  8869. FilterIndex to 2 with only one Filter.
  8870. 2006-06-01 Gonzalo Paniagua Javier <[email protected]>
  8871. * ToolBar.cs: add SizeSpecified property.
  8872. * ToolBarButton.cs: when the ButtonSize is calculated by the container,
  8873. try to figure out our real size, otherwise fallback to what the
  8874. container says.
  8875. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8876. * XplatUIX11.cs (DefWndProc): WM_MOUSEWHEEL needs to be passed up
  8877. * Control.cs (WndProc): MS always calls the DefWndProc to pass
  8878. up the event
  8879. 2006-06-01 Mike Kestner <[email protected]>
  8880. * ListView.cs: revamp the focus management in ListView. It still
  8881. causes churn of LostFocus/GotFocus emissions on clicks, but it's
  8882. better than not handling focus at all. Will revisit when pdb feels
  8883. the general focus handling is solid. Fixes #78526.
  8884. 2006-06-01 Jackson Harper <[email protected]>
  8885. * TreeView.cs: Set the default border style in the constructor.
  8886. - Move painting to use OnPaintInternal instead of capturing
  8887. WM_PAINT, this is the correct way of doing things
  8888. - UpdateBelow shouldn't invalidate the scrollbar area
  8889. - Cap the top on update below in case the node was above the top
  8890. of the viewport rectangle.
  8891. - ExpandBelow and Collapse below need to obey Begin/End Update.
  8892. * TreeNode.cs: Make is_expanded internal so the treenode
  8893. collection can change it without firing the whole event chain.
  8894. * TreeNodeCollection.cs: When clearing all the child nodes make
  8895. sure to recalc the visible order.
  8896. - Improve algo for remove the top node
  8897. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8898. * XplatUIX11.cs (SetFocus): Make sure we can handle re-entrancy due to
  8899. SendMessage directly calling window procedures, which in turn might
  8900. call SetFocus()
  8901. 2006-06-01 Peter Dennis Bartok <[email protected]>
  8902. * Control.cs: Don't handle WM_SETFOCUS if the same window already
  8903. has focus (works around X11 sending a FocusIn after our SetFocus)
  8904. * XplatUIX11.cs: Send KILLFOCUS before setting SETFOCUS on new window
  8905. 2006-06-01 Alexander Olk <[email protected]>
  8906. * Mime.cs: Fix for the NET_2_0 build.
  8907. NameValueCollection needs StringComparer now.
  8908. 2006-05-31 Chris Toshok <[email protected]>
  8909. * DataGridDrawingLogic.cs (FromPixelToColumn): modify this to also
  8910. return (via an out parameter) the starting X of the column.
  8911. (UpdateVisibleColumn): track change to FromPixelToColumn.
  8912. (HitTest): add a ColumnResize case here.
  8913. (DrawResizeLine): new function, probably poorly named.
  8914. * DataGrid.cs (.ctor): get rid of cached_currencymgr_events. We
  8915. only need to keep one reference.
  8916. (set_ListManager): same.
  8917. (OnMouseDown): call HitTest instead of grid_drawing.HitTest.
  8918. Also, add support for HitTestType.ColumnResize.
  8919. (OnMouseMove): add column resize behavior here, and change the
  8920. cursor to the correct one as we move around the datagrid.
  8921. (OnMouseUp): terminate the column resize if we're resizing.
  8922. (ProcessGridKey): from the MS docs, Alt-0 enters the null value
  8923. for the current cell.
  8924. (ConnectListManagerEvents): use cached_currencymgr.
  8925. (DisconnectListManagerEvents): fill this in, using
  8926. cached_currencymgr.
  8927. (SetCurrentCell): remove cached_currencymgr_events handling.
  8928. (SetDataMember): only call DisconnectListManagerEvents if
  8929. cached_currencymgr is != null.
  8930. (SetDataSource): same.
  8931. (OnListManagerCurrentChanged): cached_currencymgr_events ->
  8932. cached_currencymgr.
  8933. 2006-05-31 Jackson Harper <[email protected]>
  8934. * BindingManagerBase.cs: Remove somedebug code that creeped into
  8935. SVN.
  8936. * TreeNode.cs: We get the indent level dynamically right now, so
  8937. don't track it as a member.
  8938. * TreeNodeCollection.cs: Make sure all nodes added to the list
  8939. have parents, treeviews/topnodes setup properly.
  8940. - Don't attempt to track indent level.
  8941. 2006-05-30 Jackson Harper <[email protected]>
  8942. * BindingContext.cs: Create the currency manager tables here.
  8943. This allows us to more easily create null tables (when bad data
  8944. members are used), and more easily create related currency
  8945. managers.
  8946. * CurrencyManager.cs: All the table creation stuff is done by the
  8947. binding context now.
  8948. - Current should throw an exception if listposition is -1.
  8949. - CancelCurrentEdit/EndCurrentEdit, do nothing if the list hasn't
  8950. been bound yet.
  8951. 2006-05-30 Mike Kestner <[email protected]>
  8952. * ListView.cs: allow reexpansion of zero-width column headers.
  8953. Fixes #78528.
  8954. 2006-05-28 Chris Toshok <[email protected]>
  8955. * CurrencyManager.cs (get_Current): after the late binding
  8956. listposition = -1 fix, we need to guard against it here and return
  8957. null, otherwise we raise an exception (which is swallowed
  8958. elsewhere, and breaks datagrid databinding.)
  8959. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8960. * MenuAPI.cs (ProcessMenuKey): We can legally get msg types other
  8961. than WM_SYSKEY, don't throw if get something unexpected (#78507)
  8962. 2006-05-26 Jackson Harper <[email protected]>
  8963. * ControlPaint.cs:
  8964. * ThemeWin32Classic.cs: For color comparisons just use the ARGB
  8965. values, it's faster and it's all we care about (we don't care if
  8966. the names aren't equal).
  8967. * KeyboardLayouts.cs: Eliminate some dead code.
  8968. - Lazy init things
  8969. * X11Keyboard.cs: Lazy init keyboard detection.
  8970. - Cleanup access modifiers a little.
  8971. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8972. * XplatUIX11.cs: Once again, attempting to get layout just right.
  8973. 2006-05-26 Peter Dennis Bartok <[email protected]>
  8974. * LinkLabel.cs (CreateLinkPieces): Use MeasureString to calculate
  8975. the sizes of each link section, that will result in sizes that
  8976. match DrawString's layout (Fixes #78391)
  8977. 2006-05-27 Alexander Olk <[email protected]>
  8978. * FileDialog.cs: If AddExtension property is true autocomplete the
  8979. extensions in SaveFileDialog correctly. Fixes bug #78453.
  8980. Set MyNetwork and MyComputer to "C:\" for windows. This should
  8981. fix part 8 of bug #78446 for now.
  8982. 2006-05-26 Chris Toshok <[email protected]>
  8983. * DataGrid.cs (ColumnStartedEditing): fill these in. for now just
  8984. invalidate the current row header if we need to, but presumably
  8985. we'll invalidate the row corrsponding to the bounds or
  8986. editingControl.
  8987. (GridHScrolled): switch back to this method, as it's part of the
  8988. public api. *sigh*.
  8989. (GridVScrolled): same.
  8990. (OnMouseWheel): hack up something that more or less works. Call
  8991. GridHScrolled/GridVScrolled directly, instead of duplicating much
  8992. of their code here.
  8993. (EnsureCellVisibility): reinstate a bunch of this code, since we
  8994. can't just set the scrollbar Value and expect to do all the work
  8995. in the ValueChanged handler. Also, Call Update() after scrolling
  8996. in one direction so the other XplatX11.ScrollWindow call has the
  8997. proper stuff in the proper places.
  8998. (EditCell): set is_editing to true before calling .Edit.
  8999. * DataGridTextBox.cs (set_IsInEditOrNavigateMode): just set it,
  9000. don't bother comparing first.
  9001. (OnKeyPress): call grid.ColumnStartedEditing before calling
  9002. base.OnKeyPress. this will set is_changing and invalidate the row
  9003. header if necessary.
  9004. (ProcessKeyMessage): for WM_CHAR messages, call
  9005. ProcessKeyEventArgs directly. swallow anything other than WM_CHAR
  9006. and WM_KEYDOWN.
  9007. * DataGridBoolColumn.cs (Edit): don't set is_editing to true here.
  9008. it's done in the DataGrid.
  9009. (NextState): call grid.ColumnStartedEditing, which takes care of
  9010. invalidating the row header (and setting is_changing).
  9011. * DataGridTextBoxColumn.cs (Edit): don't set is_editing to true
  9012. here. it's done in the DataGrid.
  9013. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  9014. * Control.cs: allow changing the cursor when the mouse position is
  9015. out of bounds but Capture is set.
  9016. * LinkLabel.cs: handle the case when the mouse button is pressed on the
  9017. linklabel but released somewhere else.
  9018. 2006-05-25 Jackson Harper <[email protected]>
  9019. * TreeView.cs: When we get focus if there is no selected node make
  9020. it the top node
  9021. - Remove some uneeded setup code from Draw.
  9022. * TreeNodeCollection.cs: If the tree doesn't have a top node when
  9023. a new node is inserted make the new node the top.
  9024. * XplatUIX11.cs:
  9025. * Timer.cs: Use Utc time so that no local time zone stuff needs to
  9026. be used (should be faster).
  9027. 2006-05-25 Chris Toshok <[email protected]>
  9028. * DataGrid.cs (EnsureCellVisibility): remove some code to fix a
  9029. problem with the last commit.
  9030. 2006-05-25 Chris Toshok <[email protected]>
  9031. * DataGridTextBoxColumn.cs (ReleaseHostedControl): turns out we do
  9032. need the invalidate call here, while scrolling right-to-left via
  9033. the left arrow key (i.e. moving the editing cell while scrolling).
  9034. * DataGrid.cs (.ctor): remove the initialization of
  9035. ctrl_pressed/shift_pressed. We no longer track them using key
  9036. up/down handlers, but by using Control.ModifierKeys. Also, switch
  9037. to using ValueChanged handlers on the scrollbars instead of
  9038. Scrolled event handlers. This simplifies a bunch of the scrolling
  9039. code.
  9040. (GridHValueChanged): rename from GridHScrolled, and change it to
  9041. work with the new event args.
  9042. (GridVValueChanged): same.
  9043. (OnMouseDown): initialize ctrl_pressed/shift_pressed here.
  9044. (OnMouseWheel): actually scroll the datagrid. Don't change the
  9045. selected cell.
  9046. (ProcessGridKey): correct all the keyboard navigation stuff I
  9047. could find. Ctrl up/down/left/right/home/end work now.
  9048. (EnsureCellVisibility): correct method name spelling. Also,
  9049. simplify this a touch by not explicitly calling the
  9050. ScrollToRow/ScrollToColumnInPixels methods. We just set the
  9051. scrollbar value.
  9052. (OnKeyUpDG): no need for this method now.
  9053. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  9054. * LinkLabel.cs: display the OverrideCursor when hovering the label.
  9055. Fixes bug #78392.
  9056. 2006-05-25 Chris Toshok <[email protected]>
  9057. * ThemeWin32Classic.cs: fix datagrid clipping problems caused by
  9058. r61019.
  9059. 2006-05-25 Peter Dennis Bartok <[email protected]>
  9060. * Application.cs: Moved setting of is_modal and closing to before
  9061. we create the control, to allow the event handlers called as a
  9062. result of creation affect closing. Also removed Gonzalo's previous
  9063. change to setting DialogResult, the behaviour has been moved to
  9064. Form.ShowDialog()
  9065. * Form.cs:
  9066. - ShowDialog(): Removed explicit creation of the form, let RunLoop
  9067. handle it instead
  9068. - ShowDialog(): If no dialog result is set, we need to return Cancel
  9069. - WM_CLOSE: Fire Closing/Closed events, and reset dialog result if
  9070. the close is cancelled
  9071. 2006-05-25 Jackson Harper <[email protected]>
  9072. * StatusBar.cs: We only need to update the sizes of the other
  9073. panels when we have auto size contents. Also we are only updating
  9074. the contents of the panel, not the borders, so compensate for the
  9075. border width (TODO: get this width from the theme somehow).
  9076. * TreeView.cs: Scrollable is true by default
  9077. - Use invalidate instead of refresh where needed
  9078. - Factor the scrollable value into scrollbar updating
  9079. - Update the scrollbars if the Scrollable property is altered
  9080. - Update the selected node if its ImageIndex is changed
  9081. - Handle null nodes in UpdateNode (mainly so we don't have to
  9082. check if selected is null when updating it
  9083. - Fix VisibleCount to use the ViewportRectangle so that scrollbars
  9084. are factored into the visible count
  9085. - Use VisibleCount for clarity in the code
  9086. - When the font is changed we need to recurse through all the
  9087. nodes and invalidate their sizes
  9088. 2006-05-25 Gonzalo Paniagua Javier <[email protected]>
  9089. * Application.cs: set the DialogResult to fixed when the main form is
  9090. hidden or destroyed while being modal.
  9091. 2006-05-25 Miguel de Icaza <[email protected]>
  9092. * Theme.cs: Use Tangoified messagebox icons.
  9093. (GetSizedResourceImage): Also cope with width = 0 and do not
  9094. trigger a warning in that case (0 means "give me your icon from
  9095. the resouce, no special size needed).
  9096. 2006-05-25 Peter Dennis Bartok <[email protected]>
  9097. * Application.cs: Leave runloop if the the main modal form is
  9098. hidden (fixes #78484)
  9099. 2006-05-25 Atsushi Enomoto <[email protected]>
  9100. * BindingContext.cs : reject null datasource in Contains() and
  9101. Item[].
  9102. * CurrencyManager.cs : check data_member validity when data_source
  9103. is dataset. When it is late binding, the initial position is -1.
  9104. 2006-05-24 Jackson Harper <[email protected]>
  9105. * TreeNodeCollection.cs: Dont't recalculate the visible order on
  9106. inserted nodes that aren't visible. This changes the
  9107. max_visible_order which confuses scrollbar settings.
  9108. - Use the enumerator to get the prev node instead of duplicating
  9109. code.
  9110. * TreeView.cs: Use new method for setting scrollbar values
  9111. - Don't set the bounds every time the scrollbar is updated
  9112. - When updating below the root node use an invalidate instead of a
  9113. refresh to prevent the child controls (scrollbars) from being
  9114. refreshed. (UpdateBelow still needs to be reworked anyways).
  9115. - Reenable SetBottom now that visible orders are set correctly,
  9116. added some debug code incase we ever get bad values there again.
  9117. - Set the scrollbar max to 2 less then the max value, this
  9118. compensates for the max value being one above the node count, and
  9119. for scrollbars adding one extra "notch".
  9120. - When drawing image nodes if there is an imagelist we draw the
  9121. first image in the list if the supplied image index is out of the
  9122. image list's bounds.
  9123. 2006-05-24 Peter Dennis Bartok <[email protected]>
  9124. * XplatUIX11.cs: Don't blindly cache hwnd.ClientRect, reset it when
  9125. we receive a size change from the WM (Fixes #78503)
  9126. 2006-05-24 Peter Dennis Bartok <[email protected]>
  9127. * XplatUIWin32.cs, XplatUIX11.cs: Refresh when setting the Clip
  9128. rectangle (Fixes #78501)
  9129. 2006-05-24 Peter Dennis Bartok <[email protected]>
  9130. * ButtonBase.cs:
  9131. - Fixed MouseUp, MouseDown and MouseMove to treat mouseevent.Button
  9132. as a bitfield.
  9133. - Fixed MouseMove to no longer switch pressed state unless the left
  9134. mouse button is pressed. Atsushi provided the original patch (#78485)
  9135. 2006-05-24 Jackson Harper <[email protected]>
  9136. * ScrollBar.cs: New internal methods that allow us to change a
  9137. couple values on the scrollbar (the most common case is maximum
  9138. and large change) without getting multiple invalidates.
  9139. 2006-05-24 Chris Toshok <[email protected]>
  9140. * DataGridBoolColumn.cs (Abort): revert back to the saved setting.
  9141. (Edit): save off the original state in oldState, and set
  9142. grid.is_editing to true.
  9143. (OnKeyDown): abort editing if escape is pressed. also, call
  9144. NextState if space is pressed.
  9145. (OnMouseDown): call NextState.
  9146. (NextState): factor out shared code from OnKeyDown and OnMouseDown
  9147. here. Also, only invalidate the row header once (on the initial
  9148. is_changing switch) to save on redraws.
  9149. 2006-05-24 Chris Toshok <[email protected]>
  9150. * DataGridTextBoxColumn.cs (Commit): only call SetColumnValueAtRow
  9151. if the value in the cell is different than it was before. This
  9152. keeps us from triggering a layout when we move around a datarid
  9153. with a highlighted cell.
  9154. (Edit): suspend layout when creating/positining the text box, and
  9155. resume passing false so we don't ever actually re-layout.
  9156. (ReleaseHostedControl): same.
  9157. (EnsureTextBox): reformat slightly, and set WordWrap to false.
  9158. * DataGridTextBox.cs (ProcessKeyMessage): it's not true that all
  9159. control-key sequences should go to the datagrid - remove that
  9160. lock. Also, modify the conditions under which we move between
  9161. cells when moving the cursor within a cell, and remove the "this"
  9162. and "base" from field accesses. We weren't even consistent, given
  9163. they all were in the base class.
  9164. 2006-05-24 Atsushi Enomoto <[email protected]>
  9165. * Binding.cs : (.ctor)
  9166. An obvious NRE fix for BindingTest.CtorNullTest().
  9167. 2006-05-23 Chris Toshok <[email protected]>
  9168. * TextBoxBase.cs (get_Text): don't add a trailing newline, add
  9169. them between lines. This fixes some quirks editing cells in the
  9170. datagrid.
  9171. 2006-05-23 Jackson Harper <[email protected]>
  9172. * TreeView.cs: Use begin/end update when doing expand/collapse all
  9173. so that we don't get flicker on the scrollbar.
  9174. 2006-05-23 Jackson Harper <[email protected]>
  9175. * TreeNode.cs: Bounds are computed 'on the fly' now. This allows
  9176. treenode calculations to be independant of the painting code. To
  9177. do this nodes track a visible order which is calculated by the
  9178. treeview.
  9179. - Call new methods for expanding/collapsing nodes. These methods
  9180. use scrollwindow so we don't have to update everything below the
  9181. node.
  9182. * TreeView.cs: Refactored drawing and scrolling code. We don't
  9183. need to update nodes when drawing anymore or calculate scrollbar
  9184. stuff.
  9185. - Added new methods for expanding/collapsing nodes. These methods
  9186. use ScrollWindow so as to not have to redraw all the nodes below.
  9187. * TreeNodeCollection.cs: Recalc visible order and scrollbars when
  9188. we add/remove nodes or sort.
  9189. - Handle removing the selected and the top node properly.
  9190. 2006-05-23 Chris Toshok <[email protected]>
  9191. * DataGridTextBoxColumn.cs (Edit): set grid.is_editing to true.
  9192. maybe this should actually happen in the datagrid code?
  9193. (EndEdit): no need to invalidate anything, given that
  9194. ReleaseHostedControl causes the datagrid to relayout, which
  9195. invalidates everything anyway.
  9196. * DataGrid.cs (set_CurrentCell): remove duplicate check (it's also
  9197. in SetCurrentCell).
  9198. (set_SelectionBackColor): call InvalidateSelection instead of
  9199. Refresh.
  9200. (set_SelectionForeColor): same.
  9201. (BeginEdit): Flesh this out a bit.
  9202. (CancelEditing): only do any of this if we're editing/adding.
  9203. (EndEdit): same.
  9204. (OnMouseDown): there's no need to cancel editing here, it's done
  9205. in SetCurrentCell.
  9206. (SetCurrentCell): only invalidate the current row header if it's a
  9207. different row than the new one.
  9208. (ShiftSelection): fix this to work like MS does.
  9209. (ResetSelection): factor out the invalidation of selected_rows to
  9210. InvalidateSelection.
  9211. (SetDataSource): cancel any editing that's going on.
  9212. * DataGridColumnStyle.cs
  9213. (IDataGridColumnStyleEditingNotificationService.ColumnStartedEditing):
  9214. call the non-interface version.
  9215. * ThemeWin32Classic.cs (DataGridPaintColumsHdrs): intersect the
  9216. header rectangle with the clip rectangle so we don't redraw the
  9217. entire header for just a small area. Gets rid of the last flicker
  9218. when horizontally scrolling.
  9219. (DataGridPaintRow): same.
  9220. 2006-05-23 Mike Kestner <[email protected]>
  9221. * ListViewItem.cs: remove size for line hack from LargeIcon layout.
  9222. * ThemeWin32Classic.cs: don't draw line. it's really the top of a
  9223. poorly placed checkbox on the MS control. Fixes Alex's unfiled
  9224. Critical bug report.
  9225. 2006-05-23 Peter Dennis Bartok <[email protected]>
  9226. * PictureBox.cs: Fixed broken ControlStyles. Unit test no longer fails,
  9227. and this fixes #78493
  9228. 2006-05-23 Miguel de Icaza <[email protected]>
  9229. * Theme.cs (GetSizedResourceImage): Scale images if the proper
  9230. size is not found.
  9231. * FileDialog.cs: Do not change the background for the side bar as
  9232. it wont work nicely with the theme, and also reduces the artifacts
  9233. in rendering the icons (which I want to fix too).
  9234. * MimeIcon.cs (ResourceImageLoader): Load images from assembly
  9235. resources, not resgen resources.
  9236. (PlatformDefaultHandler): Pull images using the new API.
  9237. 2006-05-23 Peter Dennis Bartok <[email protected]>
  9238. * Hwnd.cs (Dispose): Remove any pending exposures. XEventQueue holds
  9239. a reference to the hwnd and will not remove it unless there are
  9240. no pending exposures (fixes #78341)
  9241. * XplatUI.cs: Improved debug
  9242. 2006-05-23 Atsushi Enomoto <[email protected]>
  9243. * MenuAPI.cs : don't handle OnClick event when it was not the left
  9244. button. Fixed bug #78487.
  9245. 2006-05-23 Mike Kestner <[email protected]>
  9246. * MenuAPI.cs: fix placement of submenus for multi-row menu bars, and
  9247. prefer submenus to the top menu for item lookup, to avoid popping down
  9248. top-row items.
  9249. 2006-05-23 Alexander Olk <[email protected]>
  9250. * ThemeWin32Classic.cs: Rewrote CPCPDrawScrollButton to drop
  9251. Graphics.FillRectangle as the visual results are really bad (even
  9252. on win). We now draw perfect arrows (and perfect shadows when the
  9253. scrollbar is disabled). Simplified CPDrawGrid. CPDrawGrid now uses
  9254. Pen.DashPattern to draw the dots of each line.
  9255. 2006-05-22 Alexander Olk <[email protected]>
  9256. * FileDialog.cs: Update the filename combobox when navigating through
  9257. the ListView with the cursor keys. Fixes part 7 of bug #78446.
  9258. 2006-05-22 Mike Kestner <[email protected]>
  9259. * ListView.cs: raise SelectedIndexChanged on keyboard selection.
  9260. Fixes #78463.
  9261. 2006-05-22 Mike Kestner <[email protected]>
  9262. * ComboBox.cs: Refresh in EndUpdate to pick up all the dropped Paint
  9263. requests. Fix a misspelled parameter and a copy paste exception error
  9264. in Select.
  9265. 2006-05-22 Peter Dennis Bartok <[email protected]>
  9266. * ThemeWin32Classic.cs: Changed DefaultFont emSize from 8.25 to 8
  9267. to get the same width/height (5/13) on X11 as the default font has on
  9268. win32. This means that our DefaultFont emSize is smaller than the
  9269. the MS SWF equivalent (even thought the width/height stays the same)
  9270. 2006-05-20 Jackson Harper <[email protected]>
  9271. * MdiClient.cs:
  9272. * MdiWindowManager.cs:
  9273. * InternalWindowManager.cs: Make sure to use the border width from
  9274. the theme.
  9275. 2006-05-20 Jordi Mas i Hernandez <[email protected]>
  9276. * PrintDialog.cs: Implements printer details
  9277. 2006-05-19 Alexander Olk <[email protected]>
  9278. * FileDialog.cs: Added focus handling for PopupButtonPanel.
  9279. Fixes part 1 and 2 of bug #78446
  9280. 2006-05-19 Peter Dennis Bartok <[email protected]>
  9281. * XplatUIX11.cs (SetWindowPos): Recalculate client area size on resizes
  9282. instead of sticking to the first ever calculated value
  9283. 2006-05-19 Mike Kestner <[email protected]>
  9284. * ComboBox.cs: fix mouse motion selection to use MousePosition and
  9285. PointToClient, since Capture is set. Fixes #78344.
  9286. 2006-05-19 Mike Kestner <[email protected]>
  9287. * ListView.cs: match MS behavior in Details view where items are not
  9288. drawn if Columns.Count == 0.
  9289. * ThemeWin32Classic.cs: only highlight ListView selection if focused.
  9290. Use a separate pen to draw the check, since changing the width affects
  9291. the box as well. Fixes #78454.
  9292. 2006-05-18 Miguel de Icaza <[email protected]>
  9293. * ListView.cs: ArgumentOutOfRangeException, single versions of the
  9294. exception should throw the name of the invalid argument.
  9295. * FileDialog.cs (OnClickOpenSaveButton): Avoid crash in open if
  9296. there are no files listed.
  9297. 2006-05-18 Jackson Harper <[email protected]>
  9298. * ThemeWin32Classic.cs: Don't use endcaps, they mess the drawing
  9299. up.
  9300. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9301. * Control.cs: Brought back our old UpdateZOrder method as a private
  9302. function and switched our calls from UpdateZOrder to the new one.
  9303. This fixes the Paint.Net canvas disappearing bug.
  9304. 2006-05-18 Jackson Harper <[email protected]>
  9305. * Theme.cs:
  9306. * ThemeWin32Classic.cs:
  9307. * InternalWindowManager.cs: Move the drawing into the theme,
  9308. expose everything the theme should need from the window manager.
  9309. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9310. * XplatUIX11.cs (DefWndProc): WM_SETCURSOR: Assign the return value
  9311. from the call to NativeWindow to avoid walking up the parent chain
  9312. further than needed (speeds up setting cursors and avoids setting
  9313. the wrong cursor if a parent has another cursor defined)
  9314. * Cursor.cs: When loading an icon as cursor, MS uses the center of
  9315. the icon as hotspot, not what's contained as hotspot in the icon
  9316. file. This fixes the perceived drawing offset seen with Paint.Net
  9317. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9318. * XplatUIX11.cs:
  9319. - Store the calculated rectangle in Hwnd object and use it when
  9320. setting the client size
  9321. - Force Toolwindows to always be type Dock, to ensure they're on top
  9322. 2006-05-18 Mike Kestner <[email protected]>
  9323. * ComboBox.cs: first pass at ComboBox rework. Layout is more
  9324. consistent with MS positioning. IntegralHeight, ItemHeight, Sizing.
  9325. Correctly initialize textcontrol and ListBox on DropDownStyle changes.
  9326. Substantial refactoring to remove confusing nested classes. Coding
  9327. standard and Get+Set->property refactorings. Shift to index based
  9328. highlighting in ComboListBox instead of constantly using IndexOf and
  9329. Items[]. Add invalidations on resize for DropDownList to fix ugliness
  9330. in FileDialog growth. Draw borders manually since Simple mode needs
  9331. to look like two independent controls. Make listbox border
  9332. conditional to DropDownStyle. Improved OwnerDraw support.
  9333. 2006-05-18 Sebastien Pouliot <[email protected]>
  9334. * PaintEventArgs.cs: For 2.0, check for a null Graphics in the .ctor.
  9335. Don't set the disposed graphics to null, so we can throw the "right"
  9336. exception if the graphics is reused later (added a flag to avoid
  9337. double disposing). Some behaviours are different under 2.0 and are
  9338. filled under bug #78448.
  9339. 2006-05-18 Peter Dennis Bartok <[email protected]>
  9340. * Control.cs: When double-buffering is enabled, we need to reset
  9341. our graphics context between paint calls. Otherwise, any
  9342. transformations and other alterations on the context will
  9343. become cumulative (#77734)
  9344. 2006-05-18 Mike Kestner <[email protected]>
  9345. * ListView.cs: do focused item selection like MS on clicks.
  9346. Rework focus handling for ItemControl so LostFocus invalidates as
  9347. well.
  9348. * ThemeWin32Classic.cs: only draw focus rectangle for ListViewItems if
  9349. the ListView ItemControl has focus.
  9350. 2006-05-17 Peter Dennis Bartok <[email protected]>
  9351. * XplatUIX11.cs: If client_window ends up being width or height zero
  9352. due to border settings, move it off window inside whole_window (#78433)
  9353. 2006-05-17 Alexander Olk <[email protected]>
  9354. * Mime.cs: Shrink the mime file cache correctly.
  9355. 2006-05-17 Alexander Olk <[email protected]>
  9356. * ThemeWin32Classic.cs: Readded button focus drawing code. (#78429)
  9357. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9358. * XplatUIX11.cs (AddExpose): More sanity checks
  9359. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9360. * XplatUIX11.cs:
  9361. - AddExpose: Don't add expose ranges outside the size of our
  9362. window
  9363. - Cast opacity values to Int32 to avoid crashes with certain
  9364. values
  9365. - Added disabled code paths that protect against illegal cross-
  9366. thread painting (Developers.exe)
  9367. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9368. * ProgressBar.cs: Invalidate the control when it's resized
  9369. since block size is based on control size. (#78388)
  9370. 2006-05-16 Miguel de Icaza <[email protected]>
  9371. * DataGrid.cs (SetDataBinding): per the discussion on irc, instead
  9372. of setting the incoming argument to the "reset" value, we set the
  9373. this.datamember to string.empty (before we were invalidating the
  9374. incoming data).
  9375. Fixes 78420
  9376. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9377. * Form.cs: Only apply transparency settings after the form
  9378. is created. (Fixes #77800)
  9379. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9380. * ApplicationContext.cs: Grab the HandleDestroyed event so
  9381. we know when to fire OnMainFormClosed
  9382. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9383. * Application.cs: Introduced sub-class to allow tracking of
  9384. threads and centralized triggering of the event mess for
  9385. ThreadExit, AppExit, etc.. (#76156)
  9386. 2006-05-16 Alexander Olk <[email protected]>
  9387. * MimeIcon.cs:
  9388. - Do not return a null icon index value for a mime subclass.
  9389. Instead try the main mime type class too.
  9390. - Seems that some newer distributions don't have a link to some
  9391. gnome default icons anymore. So check the default gnome dir too.
  9392. 2006-05-16 Jackson Harper <[email protected]>
  9393. * MdiClient.cs: Don't paint the parent background image if we have
  9394. our own background image.
  9395. 2006-05-16 Peter Dennis Bartok <[email protected]>
  9396. * Control.cs:
  9397. - PerformLayout: Do not shrink space filled by DockStyle.Fill
  9398. controls, all filled controls are supposed to overlap (#78080)
  9399. - UpdateZOrder is supposed to update the control's z-order in the
  9400. parent's z-order chain. Fixed to behave like that
  9401. - BringToFront: Removed obsolete code
  9402. - SendToBack: Simplyfied
  9403. - SetChildIndex: Trigger layout calculations when Z-order changes
  9404. since layout is done by z-order
  9405. 2006-05-16 Chris Toshok <[email protected]>
  9406. [ fixes bug #78410 ]
  9407. * DataGrid.cs (set_AlternatingBackColor): use
  9408. grid_drawing.InvalidateCells instead of Refresh().
  9409. (set_BackColor): call grid_drawing.InvalidateCells.
  9410. (set_BackgroundColor): use Invalidate instead of Refresh.
  9411. * DataGridDrawingLogic.cs (InvalidateCells): new function, just
  9412. invalidate the cell area.
  9413. 2006-05-15 Chris Toshok <[email protected]>
  9414. [ fixes bug #78011 ]
  9415. * ThemeWin32Classic.cs (DataGridPaintRows): pass the clip argument
  9416. on to DataGridPaintRow.
  9417. (DataGridPaintRow): take a clip argument, and only draw the cells
  9418. which intersect it. same with the not_usedarea.
  9419. * Theme.cs (DataGridPaintRow) add @clip parameter.
  9420. * DataGrid.cs (ScrollToColumnInPixels): simplify, use
  9421. XplatUI.ScrollWindow.
  9422. (ScrollToRow): same.
  9423. * DataGridDrawingLogic.cs (UpdateVisibleColumn): fix corner case
  9424. with last column which was causing a gray swath to appear with the
  9425. XplatUI.ScrollWindow code.
  9426. 2006-05-15 Chris Toshok <[email protected]>
  9427. * ListBox.cs (HorizontalScrollEvent): in the non-multicolumn case,
  9428. use XplatUI.ScrollWindow.
  9429. (VerticalScrollEvent): use XplatUI.ScrollWindow.
  9430. 2006-05-15 Peter Dennis Bartok <[email protected]>
  9431. * TextBoxBase.cs: Added handling of middle-button paste for X11. (#78375)
  9432. 2006-05-15 Peter Dennis Bartok <[email protected]>
  9433. * Cursors.cs: For X11, read NWSE and NESW cursors from our resource
  9434. file since there are no equivalent X11 cursors
  9435. 2006-05-15 Atsushi Enomoto <[email protected]>
  9436. * MonthCalendar.cs : DateTimePicker should reflect selected date
  9437. on mouse*up*, not mouse*down*. Fixed originally reported part of
  9438. bug #76474.
  9439. 2006-05-15 Atsushi Enomoto <[email protected]>
  9440. * TabControl.cs : When argument index is equal or more than tab
  9441. count, just ignore. Fixed bug #78395.
  9442. 2006-05-15 Peter Dennis Bartok <[email protected]>
  9443. * Control.cs: Dispose all child controls when control is diposed (#78394)
  9444. 2006-05-14 Alexander Olk <[email protected]>
  9445. * ColorDialog.cs: Finally it is possible to select the color with
  9446. the text boxes
  9447. 2006-05-14 Alexander Olk <[email protected]>
  9448. * PrintDialog.cs: Fix typo
  9449. 2006-05-14 Alexander Olk <[email protected]>
  9450. * PrintDialog.cs: PrintDialog is not resizable
  9451. * ThemeWin32Classic.cs: Draw non links in LinkLabel with the correct
  9452. color. Made some ToolBar drawing methods protected virtual.
  9453. 2006-05-13 Jordi Mas i Hernandez <[email protected]>
  9454. * PrintDialog.cs: Implementation of the PrintDialog
  9455. 2006-05-12 Chris Toshok <[email protected]>
  9456. * ScrollBar.cs (set_Value): don't use Dirty/Invalidate to move the
  9457. thumb, instead use MoveThumb. This has the side effect of making
  9458. most of the other thumb moving machinery use MoveThumb as well.
  9459. (OnHandleCreated): pass false for @dirty to UpdateThumbPos, as we
  9460. need to actually invalidate the rectangle where the new thumb will
  9461. go.
  9462. (MoveThumb): use XplatUI.ScrollWindow to move the thumb around.
  9463. We force an Update() after, so it's not as fast as it could be,
  9464. but at least there's zero flicker and no droppings.
  9465. (OnMouseMoveSB): in the thumb dragging case, use MoveThumb.
  9466. (UpdateThumbPos): add another argument (dirty), which says whether
  9467. or not to calculate/add dirty regions which we later invalidate.
  9468. For cases where we know we're going to use MoveThumb, we pass
  9469. false for this. Otherwise, pass true.
  9470. 2006-05-12 Jackson Harper <[email protected]>
  9471. * ThemeWin32Class.cs: Fixes for alignment and icon rendering in
  9472. the status bar.
  9473. 2006-05-12 Peter Dennis Bartok <[email protected]>
  9474. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new SetClipRegion
  9475. and GetClipRegion methods and UserClipWontExposeParent property.
  9476. * XplatUIWin32.cs: Implemented SetClipRegion/GetClipRegion methods,
  9477. overriding UserClipWontExposeParent property, setting to false, since
  9478. Win32 handles the required expose messages to draw our clipped parent
  9479. areas internally
  9480. * XplatUIX11.cs: Implemented SetClipRegion and GetClipRegion; updated
  9481. PaintEventStart to set the user clip region if set.
  9482. * Control.cs:
  9483. - Now internally tracking the Region for the control since we need to
  9484. store it if the handle is not yet created and only set it when it
  9485. becomes created. Before setting the region forced handle creation
  9486. - Added code to draw the parents underneath a user-clipped region
  9487. * Hwnd.cs: Added UserClip property
  9488. 2006-05-12 Chris Toshok <[email protected]>
  9489. * ScrollBar.cs (set_LargeChange): Refresh() -> InvalidateDirty()
  9490. (set_Maximum): same.
  9491. (set_Minimum): same.
  9492. (set_SmallChange): same.
  9493. (OnMouseUpSB): remove the call to refresh when releasing the
  9494. thumb. We shouldn't need it.
  9495. 2006-05-12 Miguel de Icaza <[email protected]>
  9496. * StatusBar.cs (UpdatePanel): If the panel being refreshes has the
  9497. AutoSize set to None, we do not need to relayout everything, we
  9498. just need to invalidate the current region.
  9499. (Draw): Do not draw the entire ClientArea, just redraw the
  9500. clip area being passed.
  9501. * MdiClient.cs: Make MdiClient constructor with the Form argument
  9502. internal.
  9503. 2006-05-12 Jackson Harper <[email protected]>
  9504. * ThemeWin32Classic.cs (DrawToolBar): Flat toolbars get their
  9505. parents background image, but strangely not their own.
  9506. - (DrawStatusBarPanel): Take into account horizontal alignment
  9507. when drawing the strings and icons.
  9508. 2006-05-12 Mike Kestner <[email protected]>
  9509. * ListBox.cs: avoid invalidations for focus when the collection is
  9510. empty.
  9511. 2006-05-12 Chris Toshok <[email protected]>
  9512. * ScrollBar.cs (OnMouseMoveSB): when dragging the thumb, don't
  9513. invalidate the entire thumb area. Call InvalidateDirty which
  9514. limits the redraw to the thumb itself and surrounding pixels.
  9515. * XplatUIX11.cs (ScrollWindow): optimize copying.
  9516. 2006-05-12 Chris Toshok <[email protected]>
  9517. * DataGridDrawingLogic.cs: make CalcGridAreas non-reentrant.
  9518. Figure out the positioning/layout in a single pass instead of
  9519. multiple recursive invocations. Speeds up the initial display of
  9520. the data grid. Also, make many things private that were
  9521. originally public but unused outside this class.
  9522. 2006-05-11 Jackson Harper <[email protected]>
  9523. * MdiClient.cs: Improved layout code.
  9524. 2006-05-11 Jonathan Chambers <[email protected]>
  9525. * PropertyGrid.cs : Only check GetPropertiesSupported for properties,
  9526. not SelectedObject.
  9527. 2006-05-11 Chris Toshok <[email protected]>
  9528. * Hwnd.cs (Invalid): don't start off with Rectangle.Empty, as
  9529. union of that will always be {0,0,width,height}.
  9530. 2006-05-11 Jackson Harper <[email protected]>
  9531. * Form.cs: Match MS's DefaultSize for forms (they must have
  9532. changed the size in sp2).
  9533. 2006-05-11 Atsushi Enomoto <[email protected]>
  9534. * TextBoxBase.cs : implement CTRL+A (select all). Fixed bug #78368.
  9535. 2006-05-11 Atsushi Enomoto <[email protected]>
  9536. * TextControl.cs : Fixed bug #78109. This incorrect position
  9537. comparison caused crash on automatic line split.
  9538. * TextBoxBase.cs : reduce duplicate code.
  9539. 2006-05-10 Jackson Harper <[email protected]>
  9540. * MdiClient.cs: Active form is only sent to the back when using
  9541. the Next form functionality, when a form is clicked the current
  9542. active shouldn't be sent to the back.
  9543. - Layout the mdi windows when the container is first made visible.
  9544. * Form.cs: Give the MdiClient a ref to the containing form when we
  9545. create it.
  9546. 2006-05-10 Atsushi Enomoto <[email protected]>
  9547. * LinkLabel.cs : link_font could be uninitialized, so populate one
  9548. before actual use. Fixed bug #78340.
  9549. 2006-05-10 Atsushi Enomoto <[email protected]>
  9550. * XplatUIX11.cs : clipboard format native value is IntPtr.
  9551. Fixed bug #78283.
  9552. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9553. * Control.cs:
  9554. - Instead of showing context menus directly we send WM_CONTEXTMENU,
  9555. which is passed up the parent chain by DefWndProc
  9556. - We now handle WM_CONTEXTMENU to display any menu, or pass it
  9557. to DefWndProc (#77956)
  9558. * XplatUIX11.cs: Added handling of WM_CONTEXTMENU (pass up) to DefWndProc
  9559. 2006-05-10 Jackson Harper <[email protected]>
  9560. * MdiClient.cs: We need to remove the controls from the mdi
  9561. collection, when we close the window.
  9562. * MdiWindowManager.cs: Special handling of closing mdi windows.
  9563. * InternalWindowManager.cs: Make the close method virtual so the
  9564. mdi window manager can handle it specially.
  9565. 2006-05-10 Jordi Mas i Hernandez <[email protected]>
  9566. * DataGrid.cs:
  9567. - Recalculate grid when the data source has changed
  9568. - Matches styles provided by user from all data sources types
  9569. * DataGridTableStyle.cs: For columns that provided by the user set the
  9570. with the preferred value is there was unassigned.
  9571. * CurrencyManager.cs: throw OnItemChanged event
  9572. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9573. * PictureBox.cs: Don't animate until handle is created. Start animation
  9574. when handle is created.
  9575. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9576. * XplatUIX11.cs, Hwnd.cs: Adopted Mike's patch from #77979 to match
  9577. current codebase.
  9578. * XEventQueue.cs: We don't need to provide the extra info
  9579. 2006-05-10 Jackson Harper <[email protected]>
  9580. * MdiClient.cs: If the mdi clients parent form has a background
  9581. image set, we draw that background image for the mdi area's
  9582. background.
  9583. 2006-05-10 Peter Dennis Bartok <[email protected]>
  9584. * TextBoxBase.cs: Set IBeam cursor (#78347)
  9585. 2006-05-10 Mike Kestner <[email protected]>
  9586. * ToolBar.cs: fix some text padding issues with ButtonSize
  9587. calculation. Update the default size to match MS documentation.
  9588. * ToolBarButton.cs: use ToolBar.ButtonSize for layout of unspecified
  9589. button size. Fixes #78296.
  9590. 2006-05-10 Mike Kestner <[email protected]>
  9591. * ListBox.cs: use is_visible for scrollbar positioning in case the
  9592. control isn't on screen yet. Fix off by one with Right vs Width
  9593. usage. Update Scrollbars in SetBoundsCore. Fixes #78188 and #78258.
  9594. 2006-05-10 Jackson Harper <[email protected]>
  9595. * X11Dnd.cs: Drop to a control with another control on top of it.
  9596. * ToolBar.cs: Work on a copy of the buttons list, so that it can
  9597. be modified in click handlers. TODO: Look for similar problems in
  9598. other controls.
  9599. 2006-05-09 Jackson Harper <[email protected]>
  9600. * Form.cs: Window managers need the old window state when setting
  9601. window state now.
  9602. * InternalWindowManager.cs: Allow the base mdi window manager to
  9603. handle more of the MDI only stuff (like maximize buttons).
  9604. * MdiWindowManager.cs: Fix some snafus in changing the window
  9605. state. Add all the menu functionality, for both popup and
  9606. maximized menus.
  9607. * MdiClient.cs: When a new form is selected the currently
  9608. activated form is sent to the back, this matches MS.
  9609. - Implement a new method to activate the next mdi child window.
  9610. 2006-05-08 Peter Dennis Bartok <[email protected]>
  9611. * Control.cs:
  9612. - Added new InternalCapture method to allow controls to prevent
  9613. the capture behaviour on the click handlers
  9614. - Switched to use InternalCapture
  9615. * ComboBox.cs:
  9616. - Using InternalCapture to prevent mouse captures from being released
  9617. on mouse button release (Fixes #78100)
  9618. * XplatUIX11.cs (DeriveStyles): Now checks caption state and only
  9619. returns Form borders if a caption is present. (Fixes #78310)
  9620. 2006-05-08 Peter Dennis Bartok <[email protected]>
  9621. * TreeNode.cs: Changed serialization .ctor to not require every field
  9622. to be present. (#78265)
  9623. * OwnerDrawPropertyBag.cs: Added serialization .ctor
  9624. 2006-05-05 Alexander Olk <[email protected]>
  9625. * MimeIcon.cs: for is faster than foreach for strings.
  9626. 2006-05-05 Mike Kestner <[email protected]>
  9627. * CheckedListBox.cs: update check handling code to not use selected.
  9628. * ListBox.cs: rewrite of mouse selection handling to correspond to MS
  9629. behavior for visual feedback, motion response, shift/ctrl handling,
  9630. and properly deal with all 4 selection modes. Updates to bounds
  9631. handling logic. Add scroll wheel support. [Fixes #77842]
  9632. 2006-05-05 Peter Dennis Bartok <[email protected]>
  9633. * ListView.cs:
  9634. - Moved adding of Implicit controls into .ctor. That way, subsequent
  9635. creation of the controls will not cause them to think they are
  9636. toplevel windows (fixes #78200 header problem)
  9637. - Added 2.0 ShowGroups and UseCompatibleStateImageBehaviour
  9638. - Switched visibility setting of header control to use internal field
  9639. to avoid triggering handle creation
  9640. - Now checking if handle is created before causing a refresh when items
  9641. are added (This makes us now match handle creation time with MS)
  9642. * Splitter.cs: Removed loading of private splitter cursor, switched to
  9643. Cursors version now that that is loading the right ones
  9644. * Cursors.cs: Load proper splitter cursors from resources
  9645. * Cursor.cs: Added second method of loading resource cursors for the
  9646. VS.Net users amongst us
  9647. 2006-05-05 Mike Kestner <[email protected]>
  9648. * ListView.cs: give header_control a minimum size based on the
  9649. ListView size.
  9650. 2006-05-05 Peter Dennis Bartok <[email protected]>
  9651. * XplatUIX11.cs: WS_EX_TOPMOST requires window to be on top. A dock
  9652. window seems to do that with metacity, so set that type. (#78120)
  9653. 2006-05-05 Mike Kestner <[email protected]>
  9654. * ListViewItem.cs: fix Details mode checkbox layout bug.
  9655. * ThemeWin32Classic.cs: draw a ListView column header for unused space
  9656. at the end of the header, if it exists. [Fixes for #78200]
  9657. 2006-05-04 Jackson Harper <[email protected]>
  9658. * MdiClient.cs: Add a helper property to get the container form.
  9659. * MdiWindowManager.cs: We have to make sure to use the menu origin
  9660. when drawing the icons and buttons, this fixes maximized window
  9661. icons/buttons on win32.
  9662. * InternalWindowManager.cs: Reset the restore captions when a
  9663. window goes from Maximized to Minimized and vice versa. Move the
  9664. DrawMaximizedButtons into the MdiWindowManager source, tool
  9665. windows can't be maximized. NOTE: This could use a little
  9666. refactoring if time ever permits.
  9667. 2006-05-03 Jonathan Chambers <[email protected]>
  9668. * TextBox.cs: Add MWFCategoryAttributes
  9669. * TextBoxBase.cs: Add MWFCategoryAttributes
  9670. * Form.cs: Add MWFCategoryAttributes
  9671. 2006-05-03 Jonathan Chambers <[email protected]>
  9672. * Control.cs: Add MWFCategoryAttributes
  9673. * ScrollableControl.cs: Add MWFCategoryAttributes
  9674. 2006-05-03 Alexander Olk <[email protected]>
  9675. * ThemeWin32Classic.cs: Draw the ToolBar top border only if
  9676. Divider is true. Fix a little glitch in PropertyToolBar
  9677. drawing code
  9678. 2006-05-02 Peter Dennis Bartok <[email protected]>
  9679. * Control.cs:
  9680. - Dispose: Call base.Dispose, this causes the disposed event
  9681. to be fired (and probably other, more important stuff)
  9682. - SetVisibleCore: Set is_visible to true after creating the
  9683. window so that the window still gets created invisible (if
  9684. WM_VISIBLE isn't set). That will cause the ShowWindow afterwards
  9685. to generate a WM_ACTIVE message
  9686. * Form.cs: Call Dispose when we want to destroy the window, instead of
  9687. just destroying the handle (Dispose will do that for us)
  9688. * XplatUIX11.cs:
  9689. - RootWindow also needs a queue, so we can properly process the
  9690. property change events from RootWindow (like Activate)
  9691. - Generatic synthetic WM_ACTIVE message when the active window is
  9692. being destroyed
  9693. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9694. * LinkLabel.cs: Trigger a recalc of our label dimensions when
  9695. bounds are changed
  9696. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9697. * ThemeWin32Classic.cs (ButtonBase_DrawImage): Use the proper image
  9698. for determining width and height (image might not be assigned if
  9699. we're drawing an imagelist)
  9700. 2006-05-01 Peter Dennis Bartok <[email protected]>
  9701. * XplatUI.cs, XplatUIDriver.cs: Added MenuHeight property
  9702. * XplatUIWin32.cs: Overriding new MenuHeight property, retrieving
  9703. height from system
  9704. * Theme.cs: No longer returns hardcoded menu height, instead calls
  9705. new driver method
  9706. * Form.cs (OnLoad): Scaling happens before triggering Load events
  9707. on MS (# 78257)
  9708. 2006-05-01 Mike Kestner <[email protected]>
  9709. * MenuItem.cs: fix NRE for text == null. Fixes #78250.
  9710. 2006-04-30 Peter Dennis Bartok <[email protected]>
  9711. * TextBoxBase.cs: Removed Fixme
  9712. * RichTextBox.cs (set_RTF): Invalidate document after update (#78247)
  9713. 2006-04-30 Peter Dennis Bartok <[email protected]>
  9714. * XplatUIX11.cs:
  9715. - ScrollWindow: We were passing hwnd.ClientRectangle which returns
  9716. the rectangle relative to the parent, considering borders. We
  9717. don't really want that.
  9718. - ScrollWindow: Fixed warning to be more understandable
  9719. * TextBoxBase.cs: Fixed ScrollWindow calculations to consider our
  9720. scrollbars and scroll only the visible area
  9721. * RichTextBox.cs: Removed debug output
  9722. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9723. * NumericUpDown.cs (Text): Just use base
  9724. * UpDownBase.cs: Ensure txtView is created before using it
  9725. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9726. * XplatUIX11.cs (SetWindowTransparency): Casting opacity to int before
  9727. casting to IntPtr to avoid 64bit overflow errors
  9728. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9729. * Control.cs:
  9730. - AllowDrop: Don't force handle creation.
  9731. - CreateHandle: Added call to tell driver if we're allowed to drop
  9732. 2006-04-27 Alexander Olk <[email protected]>
  9733. * FileDialog.cs: Remember the last directory not only for the
  9734. current instance but also for new FileDialog instances.
  9735. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9736. * XplatUIX11.cs: Forgot to set the queue on the foster parent. That
  9737. broke sending async messages
  9738. 2006-04-29 Peter Dennis Bartok <[email protected]>
  9739. * XplatUIX11.cs:
  9740. - ScrollWindow: Fixed method. We finally generate expose events again
  9741. for scrolled areas. This was causing 'garbage' when scrolling
  9742. textbox and other controls that used ScrollWindow
  9743. - Switched from using the regular queue for paint events to the MS
  9744. model of 'generating' paint events when the queue is empty.
  9745. We use the new XQueueEvent.Paint subclass to store which windows
  9746. need painting.
  9747. - AddExpose now takes the x/y/width/height of the exposed area
  9748. and inserts the window into the paint queue if not already there
  9749. - InvalidateWholeWindow: Switched to use new AddExpose method
  9750. - UpdateMessageQueue: Added which queue to monitor for paint events
  9751. - DefWndProc: Added default handler for WM_PAINT and WM_NCPAINT in
  9752. the unlikely case nothing above handles it. We reset the expose
  9753. pending states to get them off the queue.
  9754. - GetMessage: Now pulls a paint event if no other events are in the
  9755. queue
  9756. - Invalidate: Switched to new AddExpose method
  9757. - PeekMessage: Updated to understand pending paint events
  9758. - UpdateWindow: Fixed logic bug. We were only updating if the window
  9759. didn't need updating. Also switched to sending WM_PAINT directly,
  9760. like MS does.
  9761. * XEventQueue.cs: Added Paint queue support. Allows enqueue/dequeue
  9762. and random access Remove(). The random access is needed to handle
  9763. UpdateWindow() where a WM_PAINT is sent directly without accessing
  9764. the queue.
  9765. * ScrollBar.cs: Added Update() calls to cause immediate updates to
  9766. allow for better feedback when scrolling. Scrollbars are small and
  9767. the immediate update should make it 'feel' more responsive without
  9768. slowing things down. ScrollBar still needs it's invaliate logic
  9769. updated to not always invalidate the whole bar on certain changes.
  9770. 2006-04-28 Gonzalo Paniagua Javier <[email protected]>
  9771. * Control.cs:
  9772. (BackColor): if the control does not support a transparent background,
  9773. return the default backcolor when the parent backcolor is transparent.
  9774. 2006-04-28 Peter Dennis Bartok <[email protected]>
  9775. * Application.cs: Updated to new StartLoop/GetMessage API
  9776. * RichTextBox.cs: Provide some output on RTF parsing errors
  9777. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs: Added
  9778. new queue_id argument to GetMessage and PeekMessage to allow faster
  9779. handling of per-thread queues in drivers.
  9780. * Hwnd.cs: Added Queue tracking and property
  9781. * MenuAPI.cs: Updated to new StartLoop/GetMessage API
  9782. * XEventQueue.cs: Added thread trackingA
  9783. * PropertyGridView.cs: Updated to new StartLoop/GetMessage API
  9784. * XplatUIX11.cs:
  9785. - Implemented new per-thread queue
  9786. - GetMessage: Fixed return/break behaviour on several cases. We were
  9787. returning stale messages in some cases, instead of just processing
  9788. the next message
  9789. 2006-04-27 Jonathan Chambers <[email protected]>
  9790. * PropertyGrid.cs: Call GetPropertiesSupported on TypeConverter.
  9791. 2006-04-27 Peter Dennis Bartok <[email protected]>
  9792. * ThemeWin32Classic.cs (DrawToolBar): Refactored, simplified the logic,
  9793. fixed off-by-one comparisons between Width/Height and Right/Bottom.
  9794. 2006-04-27 Jonathan Chambers <[email protected]>
  9795. * PropertyGridView.cs: Fix drop down width.
  9796. 2006-04-27 Alexander Olk <[email protected]>
  9797. * ThemeWin32Classic.cs: Peter thinks that three additional lines are
  9798. a mess in DrawToolBar, so I removed one of them.
  9799. 2006-04-27 Alexander Olk <[email protected]>
  9800. * ThemeWin32Classic.cs: Draw the ToolBar border lines only if
  9801. needed (clip). Otherwise we get artifacts.
  9802. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9803. * FixedSizeTextBox.cs: Added constructor to allow specifying which
  9804. dimension is fixed
  9805. * UpDownBase.cs: Set the spinner control to be fixed height vertical,
  9806. and switched FixedSizeTextBox to only be fixed vertical (#78116)
  9807. * Form.cs: Not applying the 'MS 0.08 fudge factor' for a given dimension
  9808. if it matches the scale base font (avoids unneeded scaling)
  9809. 2006-04-26 Alexander Olk <[email protected]>
  9810. * X11DesktopColors.cs: One gtk_init_check should be enough
  9811. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9812. * TextBoxBase.cs: Moved Backspace handling into WM_CHAR block to
  9813. match MS behaviour
  9814. 2006-04-26 Peter Dennis Bartok <[email protected]>
  9815. * TextBoxBase.cs:
  9816. - Generate OnTextChanged for Backspace even if we're only deleting
  9817. the current selection
  9818. - When setting the Text property, only select all text if the
  9819. control does not have focus when it is being set. Otherwise
  9820. just place the cursor at the beginning of the control
  9821. 2006-04-26 Alexander Olk <[email protected]>
  9822. * ThemeWin32Classic.cs: ToolBars get drawn with two lines at the top.
  9823. Added a little helper to draw PropertyGrid ToolBar with a different
  9824. border and a different BackColor.
  9825. * PropertyGrid.cs: Some background parts didn't get painted with the
  9826. correct background color. Added a class that helps us to draw the
  9827. correct border for PropertyGridView and a class that helps us to
  9828. draw ToolBars with a different backcolor
  9829. * PropertyGridView.cs: Draw PlusMinus with the correct colors.
  9830. 2006-04-25 Jonathan Chambers <[email protected]>
  9831. * PropertyGrid.cs: Bug 78196, font size, and splitter location.
  9832. * PropertyGridView.cs: Bug 78196, font size, and splitter location.
  9833. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9834. * XplatUIWin32.cs (DIBtoImage): ORing instead of ANDing the alpha
  9835. into the palette entries. Also, since we're working on a copy
  9836. we needed to copy the palette back onto the bitmap.
  9837. * Cursor.cs: Same fix as XplatUIWin32.cs.
  9838. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9839. * ImageListStreamer.cs: Need to read the var (or we're off)
  9840. 2006-04-25 Peter Dennis Bartok <[email protected]>
  9841. * TextControl.cs, ComboBox.cs, CommonDialog.cs, Theme.cs,
  9842. XplatUIWin32.cs, RichTextBox.cs, ImageListStreamer.cs,
  9843. TextBoxBase.cs: Unused var fixes
  9844. * AxHost.cs: Small 2.0 fix
  9845. * XplatUIX11.cs: Switched to IntPtr from int for XA_CARDINAL atoms
  9846. as it seems that is what at least Metacity expects. This will make
  9847. icons show up on 64bit platforms. We still have some 64bit size
  9848. issues, though, since the startup app window size still won't match.
  9849. 2006-04-25 Mike Kestner <[email protected]>
  9850. * *.cs: cleanup newly reported exception var unused warnings.
  9851. 2006-04-25 Alexander Olk <[email protected]>
  9852. * ThemeWin32Classic.cs: Button image alignment now matches exactly
  9853. ms
  9854. 2006-04-25 Alexander Olk <[email protected]>
  9855. * ThemeWin32Classic.cs: Fixed drawing code for buttons with an
  9856. image. The image position is always the same, no matter if the
  9857. button is pressed or not.
  9858. 2006-04-25 Alexander Olk <[email protected]>
  9859. * FileDialog.cs: SaveFileDialog shouldn't rely on a MWFFileView
  9860. selection and set the correct filename for SaveFileDialog.
  9861. Patch by Emery Conrad.
  9862. 2006-04-24 Mike Kestner <[email protected]>
  9863. * ListView.cs (LastVisibleIndex): when in List mode of Alignment.Left,
  9864. check for item.X outside the ClientRect instead of item.Y. Fixes
  9865. #78151.
  9866. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  9867. * ImageListStreamer.cs: some images store a wrong grow factor, so don't
  9868. trust that value blindly and do some sanity check. Fixes bug #77814.
  9869. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  9870. * ImageListStreamer.cs: save the mask as a 1bpp image.
  9871. 2006-04-21 Mike Kestner <[email protected]>
  9872. * CheckedListBox.cs: maintain CheckStatus here. Use DrawItemState to
  9873. pass Checked and Indeterminate to the Theme Engine. Improve
  9874. encapsulation with ListBox.
  9875. * ListBox.cs: Keep a StringFormat instead of calculating it every item
  9876. draw. Kill ListBoxItem. Refactor away the ListBoxInfo and ListBoxItem
  9877. nested types. Move all CheckState functionality to CheckedListBox.
  9878. Make IntegralHeight work like MS. Rewrite of Layout engine. Fix
  9879. OwnerDrawVariable layout/rendering. Fix multicolumn rendering. Fix
  9880. ScrollAlwaysVisible handling. Refactor "selected" collections to use a
  9881. single base list. Fix scrollbar sizing and placement to mirror MS.
  9882. * Theme.cs: remove CheckedListBoxCheckRectangle. It wasn't really
  9883. used.
  9884. * ThemeWin32Classic.cs: implement Indeterminate CheckState rendering
  9885. for CheckedListBox by using new DrawItemState info. Center the
  9886. checkboxes on the items. Use new StringFormat property.
  9887. 2006-04-18 Jackson Harper <[email protected]>
  9888. * Form.cs: MdiChildren don't do default locations the same way as
  9889. regular forms. This prevents a crash when trying to position the
  9890. mdi windows.
  9891. 2006-04-17 Jonathan Chambers <[email protected]>
  9892. * PropertyGridTextBox.cs: Formatting, copyright
  9893. * PropertiesTab.cs: Formatting
  9894. * PropertyGrid.cs: Formatting
  9895. * PropertyGridView.cs: Formatting, fix drop down, enabled double
  9896. click toggling of values
  9897. 2006-04-17 Peter Dennis Bartok <[email protected]>
  9898. * KeyPressEventArgs: Added 2.0 only setter for KeyChar
  9899. * Control.cs (.ctor): verify_thread_handle is static, don't reset
  9900. every time a control is created
  9901. * Application.cs: Removed obsolete EnableRTLMirroring method
  9902. 2006-04-18 Gert Driesen <[email protected]>
  9903. * TabControl.cs: Avoid ArgumentOutOfRangeException when setting
  9904. SelectedIndex to -1. Fixes bug #78121.
  9905. 2006-04-17 Jackson Harper <[email protected]>
  9906. * Binding.cs: Handle null values for Current and BindingContext.
  9907. This occurs when binding is a little delayed.
  9908. * CurrencyManager.cs: return null for Current when there are no
  9909. items in the list.
  9910. - Hookup to the listchanged event on the DataView and update
  9911. bindings when the list is changed. This fixes late binding of
  9912. controls.
  9913. 2006-04-17 Jackson Harper <[email protected]>
  9914. * X11Dnd.cs:
  9915. * XplatUIX11.cs: Drops should not create a mousedown. Patch by Tim
  9916. Ringenbach.
  9917. 2006-04-15 Alexander Olk <[email protected]>
  9918. * ThemeWin32Classic.cs: Draw disabled combo button in the correct
  9919. place
  9920. * ComboBox.cs: If the combobox is disabled call CPDrawComboButton
  9921. with the correct ButtonState
  9922. 2006-04-14 Peter Dennis Bartok <[email protected]>
  9923. * XplatUIX11.cs: Improved distinguishing between window types to
  9924. tell the WM a type closer to what the app wants (Fixes #78107)
  9925. 2006-04-14 Alexander Olk <[email protected]>
  9926. * ThemeWin32Classic.cs: Fixed drawing of ContainerGrabHandle and
  9927. GrabHandle
  9928. 2006-04-14 Alexander Olk <[email protected]>
  9929. * ThemeWin32Classic.cs: Fixed size grip drawing and updated StatusBar
  9930. drawing code to reflect the size grip changes
  9931. 2006-04-13 Gonzalo Paniagua Javier <[email protected]>
  9932. * ImageListStreamer.cs: fix handling of the mask that follows the main
  9933. bitmap when deserializing and serialize it properly. The generated mask
  9934. should better be a 1bpp image, but I'll do that later.
  9935. 2006-04-13 Alexander Olk <[email protected]>
  9936. * FileDialog.cs: Show something in the DirComboBox on *nix if the
  9937. path doesn't fit into some of our Current.Places
  9938. 2006-04-13 Jackson Harper <[email protected]>
  9939. * ComboBox.cs: Use borders instead of drawing our own decorations,
  9940. try to obey correct rules for heights.
  9941. * Theme.cs:
  9942. * ThemeNice.cs:
  9943. * ThemeClearLooks.cs:
  9944. * ThemeWin32Classic.cs: Remove combobox decoration drawing code,
  9945. this is now handled by borders.
  9946. - Remove unused DrawListBoxDecorationSize method.
  9947. 2006-04-13 Mike Kestner <[email protected]>
  9948. * MenuAPI.cs: null guarding for the disbled click check fixes crash
  9949. reported by Alex.
  9950. 2006-04-13 Alexander Olk <[email protected]>
  9951. * ThemeWin32Classic.cs:
  9952. - Fixed CPDrawStringDisabled
  9953. - Corrected drawing of disabled menu items
  9954. - Fixed drawing of disabled radio buttons (bug #78095)
  9955. - Draw check in a disabled CheckBox with color ControlDark
  9956. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9957. * Form.cs: Use the provided width when calculating the menu size;
  9958. when being maximized we get WM_NCCALCSIZE before WM_WINDOWPOSCHANGED
  9959. and ClientSize.Width won't be updated yet
  9960. * Application.cs: Use Visible instead of Show() to make form visible,
  9961. this way we create the handle later and menusize is considered
  9962. 2006-04-12 Mike Kestner <[email protected]>
  9963. * MenuAPI.cs: ignore clicks on disabled menu items. Thanks to Alex for
  9964. reporting.
  9965. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9966. * TextBox.cs: Implemented context menu
  9967. 2006-04-12 Mike Kestner <[email protected]>
  9968. * ListView.cs: implement box selection. fixes #77838.
  9969. * ThemeWin32Classic.cs: draw box select rect, remove a ResetClip.
  9970. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9971. * XplatUIX11.cs: Added setting of window type when transient window
  9972. is created (metacity would move it otherwise)
  9973. * X11Structs.cs: Added WINDOW_TYPE atoms
  9974. * LinkLabel.cs: Override OnPaintBackgroundInternal and draw the
  9975. background (the control is Opaque but still wants transparent
  9976. backgrounds)
  9977. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9978. * Control.cs: Added OnPaintBackgroundInternal to allow controls
  9979. that set Opaque but don't mean it (like all ButtonBase-derived
  9980. controls) to still draw their background
  9981. * ButtonBase.cs: Override OnPaintBackgroundInternal and draw
  9982. the background
  9983. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9984. * Control.cs (PaintControlBackground): Set the graphics object
  9985. on our PaintEvent to null to prevent it from being disposed
  9986. when the PaintEvent gets disposed
  9987. 2006-04-12 Alexander Olk <[email protected]>
  9988. * ThemeWin32Classic.cs: Use even more SystemBrushes and SystemPens
  9989. * ThemeNice.cs, ThemeClearlooks.cs: fix typo
  9990. 2006-04-12 Peter Dennis Bartok <[email protected]>
  9991. * Control.cs:
  9992. - Added transparency check to BackColor property. Transparent
  9993. backgrounds are only allowed if the control styles permit it
  9994. - Added recursive painting of parent control background and
  9995. foreground if a control with a transparent backcolor is drawn
  9996. (Thanks to Tim Ringenback for providing his 'hack' as a base
  9997. for this patch) Fixes #77985 and #78026.
  9998. - Added Opaque style check before calling OnPaintBackground, no
  9999. need to draw the background if the control is opaque
  10000. - Removed ControlAccessibleObject owner variable (inherited from
  10001. base, no need to define again)
  10002. - Added some documentation links explaining the drawing events
  10003. and styles
  10004. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10005. * Splitter.cs (CalculateSplitPosition): Corrected the bad assumption
  10006. that the affected control is the located at the left border of our
  10007. parent (Fixes #77936)
  10008. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10009. * TextBoxBase.cs: When rendering disabled or readonly controls,
  10010. draw the background with 'Control' instead of 'Window' color as
  10011. long as the user hasn't specifically set a color
  10012. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10013. * TextBoxBase.cs: Don't try to shortcut by checking against base.Text
  10014. since that won't be updated if the user types text (only if it's
  10015. programatically set)
  10016. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10017. * ScrollableControl.cs: Calculate DisplayRect dynamically, so that
  10018. layout changes do to app-triggered resizes will have the proper
  10019. display rectangle for layout
  10020. 2006-04-11 Alexander Olk <[email protected]>
  10021. * ThemeWin32Classic.cs:
  10022. - Make use of the SystemBrushes and SystemPens wherever possible
  10023. - Corrected some highlight colors
  10024. - Corrected RadioButton and CheckBox FlatStyle.Flat and Popup
  10025. drawing
  10026. * Theme.cs: Added Empty field to CPColor struct
  10027. 2006-04-11 Peter Dennis Bartok <[email protected]>
  10028. * ScrollabeControl.cs: We need to consider whether or not a scrollbar
  10029. is displayed when calculating the display rectangle. Thanks to Mike
  10030. for teaching me the err of my ways.
  10031. 2006-04-10 Peter Dennis Bartok <[email protected]>
  10032. * ScrollableControl.cs:
  10033. - Rewrote DisplayRectangle code, now returning the proper x/y coords
  10034. (instead of 0,0) and we now return the real width/height instead of
  10035. just the clientrectangle, adjusted for padding. The rectangle is
  10036. now cached and created by the new CalculateDisplayRectangle method.
  10037. - Created new CalculateDisplayRectange method, which basically does
  10038. what get_DisplayRectangle() did originally, but now using the
  10039. right edge instead of DisplayRectangle to determine the size of
  10040. our scrollbars
  10041. - get_Canvas(): Fixed it to properly calculate canvas for
  10042. right/bottom controls which seem to be placed to the right/bottom
  10043. of any controls that have a fixed location
  10044. - Removed TODO that's taken care of
  10045. - Removed NotImplementeds and attempted to implement AdjustFormScrollBars
  10046. and SetDisplayRectLocation according to new MSDN2 docs
  10047. - Added call to PerformLayout in OnVisibleChanged, MS causes a layout
  10048. event when that is called, this is added for compatibility
  10049. - ScrollControlIntoView(): Implemented.
  10050. - Switched scrollbars to be implicit, they shouldn't be selectable
  10051. * ContainerControl: Now that ScrollControlIntoView is implemented, we
  10052. call it when the active control is set/changed
  10053. * ScrollBar.cs: Added support for generating Win32 scrollbar messages
  10054. * ImplicitHScrollBar.cs, ImplicitVScrollBar.cs: Now setting new base
  10055. implicit_control variable (used for native Win32 message generation)
  10056. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs: Added new
  10057. HorizontalScrollBarHeight and VerticalScrollBarWidth properties
  10058. * ThemeWin32Classic.cs: Now calling the driver for the scrollbar sizes
  10059. * XplatUIStructs.cs: Added ScrollBarCommands enum
  10060. 2006-04-10 Jackson Harper <[email protected]>
  10061. * ButtonBase.cs:
  10062. * CheckedListBox.cs:
  10063. * ComboBox.cs:
  10064. * DataGrid.cs:
  10065. * DataGridView.cs:
  10066. * Form.cs:
  10067. * GroupBox.cs:
  10068. * ListBox.cs:
  10069. * PrintPreviewControl.cs:
  10070. * ProgressBar.cs:
  10071. * PropertyGrid.cs:
  10072. * Splitter.cs:
  10073. * StatusBar.cs:
  10074. * TrackBar.cs:
  10075. * UpDownBase.cs: Fixup base event overrides.
  10076. 2006-04-06 Mike Kestner <[email protected]>
  10077. * ScrollBar.cs: fix "new event" declarations (#76509) and bounds check
  10078. all user-initiated value changes to min <= value <= max-thumbsz+1.
  10079. (set_Value): check for vert/horiz when calculating new thumb position.
  10080. (LargeIncrement): bounds check to stop pos at max - thumb_size + 1
  10081. like MS does.
  10082. (OnMouseMoveSB): refactor the thumb dragging code and refine
  10083. invalidation logic to reduce flicker.
  10084. (SetEndPosition): bounds check to stop pos at max - thumb_size + 1
  10085. (SmallIncrement): bounds check to stop pos at max - thumb_size + 1
  10086. (UpdateThumbPosition): small code readability cleanup
  10087. 2006-04-10 Alexander Olk <[email protected]>
  10088. * ThemeNice.cs: Small UI polishing. Draw borders a little bit
  10089. different
  10090. 2006-04-08 Alexander Olk <[email protected]>
  10091. * ThemeNice.cs: Use a better graphics effect when a button is pressed
  10092. 2006-04-08 Alexander Olk <[email protected]>
  10093. * Theme.cs: Added GetDashPen and GetSizedPen to SystemResPool
  10094. * ThemeWin32Classic.cs: Make use of the new SystemResPool methods.
  10095. This dramatically reduces the number of Pen.Dispose calls.
  10096. Where possible call ResPool methods only once instead of calling it
  10097. over and over again (for example for the same color).
  10098. 2006-04-06 Mike Kestner <[email protected]>
  10099. * TabControl.cs: fix for SelectedIndex updating on TabPage removals.
  10100. Also remove an unused private field on the collection. Fixes #77972.
  10101. 2006-04-06 Alexander Olk <[email protected]>
  10102. * ThemeNice.cs: Added ToolBar drawing code
  10103. 2006-04-06 Mike Kestner <[email protected]>
  10104. * Form.cs (ShowDialog): MS allows IWin32Window param to be a non-form.
  10105. I'm assuming that means we need to look up the toplevel for the
  10106. provided control. Fixes the crash trace in #77911 but exposes another
  10107. crash in some strange reflection usage in NDocGui.
  10108. 2006-04-06 Alexander Olk <[email protected]>
  10109. * ThemeNice.cs: Gave it a little silver touch and added Images
  10110. method
  10111. * FontDialog.cs: FontDialog is not resizable
  10112. * FileDialg.cs: Added SizeGripStyle.Show
  10113. 2006-04-05 Jackson Harper <[email protected]>
  10114. * KeyboardLayouts.cs: Remove warning.
  10115. 2006-04-05 Jackson Harper <[email protected]>
  10116. * Control.cs: Enable OnPaintInternal so we can use it for drawing
  10117. all of our controls instead of Paint +=.
  10118. * ListBox.cs:
  10119. * ListView.cs:
  10120. * MenuAPI.cs:
  10121. * MessageBox.cs:
  10122. * NotifyIcon.cs:
  10123. * ProgressBar.cs:
  10124. * ScrollBar.cs:
  10125. * Splitter.cs:
  10126. * StatusBar.cs:
  10127. * TabControl.cs:
  10128. * TextBoxBase.cs:
  10129. * ToolBar.cs:
  10130. * TrackBar.cs:
  10131. * UpDownBase.cs:
  10132. * ComboBox.cs: Remove handling of WM_PAINT and WM_ERASEBKGND and
  10133. use OnPaintInternal. Remove Width/Height and Visible checks in
  10134. paint handler, this is done at a higher level now.
  10135. * GroupBox.cs: Don't need to handle WM_ERASEBKGND anymore.
  10136. * PaintEventArgs.cs: Add a handled flag so controls that don't
  10137. want anymore painting after OnPaintInternal can make sure OnPaint
  10138. isn't called.
  10139. 2006-04-05 Mike Kestner <[email protected]>
  10140. * Form.cs: fix the menu WndProc hacks to respect the native enabled
  10141. state of the form, so that we don't process events when Modal dialogs
  10142. are up. Fixes #77922.
  10143. 2006-04-05 Alexander Olk <[email protected]>
  10144. * Mime.cs: Default for range length is 1 not 0. If set to 0 no match
  10145. checking is done.
  10146. 2006-04-05 Mike Kestner <[email protected]>
  10147. * XplatUIX11.cs: fix typo in the EX_APPWINDOW transient patch.
  10148. 2006-04-05 Mike Kestner <[email protected]>
  10149. * ListView.cs (HeaderMouseMove): null guarding for the over column
  10150. when setting up the drag_to_index. Fixes #78015.
  10151. 2006-04-04 Peter Dennis Bartok <[email protected]>
  10152. * XplatUIX11.cs: If WS_EX_APPWINDOW isn't set we don't want to show up
  10153. in the taskbar. Transient windows seem to accomplish that.
  10154. 2006-04-04 Peter Dennis Bartok <[email protected]>
  10155. * Form.cs:
  10156. - Re-enabled CreateParams.X/Y code for FormStartPosition
  10157. - Added code for manual placement when creating the Control
  10158. - Incomplete patch to treat MDI forms differently when
  10159. setting the ClientSizeCore. (Still need to figure out handling
  10160. x/y coords there)
  10161. * XplatUIX11.cs:
  10162. - When we're explicitly setting the X/Y position of a non-Child
  10163. window, let the WM know. Metacity really wants this.
  10164. 2006-04-04 Alexander Olk <[email protected]>
  10165. * ThemeNice.cs: Added CPDrawButton
  10166. 2006-04-04 Alexander Olk <[email protected]>
  10167. * ThemeNice.cs: Changed the color for focused buttons and activated
  10168. the arrows for small scroll buttons.
  10169. 2006-04-04 Alexander Olk <[email protected]>
  10170. * ThemeWin32Classic.cs: Removed DrawFlatStyleButton, not needed
  10171. anymore. Changed some method modifiers to protected (virtual)
  10172. * ThemeClearlooks.cs: Updated to reflect the ThemeWin32Classic
  10173. changes
  10174. * ThemeNice.cs: Updated to reflect the ThemeWin32Classic changes.
  10175. Updated drawing of menus, buttons and progressbars; added
  10176. CPDrawBorder3D
  10177. 2006-04-03 Gonzalo Paniagua Javier <[email protected]>
  10178. * ImageListStreamer.cs: implemented serialization/deserialization
  10179. of the images.
  10180. 2006-04-03 Alexander Olk <[email protected]>
  10181. * ThemeWin32Classic.cs:
  10182. - Removed all the DrawFrameControl stuff; CPDrawButton,
  10183. CPDrawCheckBox and CPDrawRadioButton are now handled directly
  10184. inside the methods
  10185. - Updated and corrected the drawing code of CPDrawButton,
  10186. CPDrawCheckBox and CPDrawRadioButton to better match ms
  10187. - Updated theme checkbox and radiobutton code to use the CP*
  10188. methods
  10189. 2006-03-31 Peter Dennis Bartok <[email protected]>
  10190. * XplatUIX11.cs: Enable clipping again now that the libgdiplus
  10191. bug is fixed
  10192. 2006-03-31 Jackson Harper <[email protected]>
  10193. * XplatUIX11.cs: Somehow we get SETCURSORS for bad windows
  10194. sometimes.
  10195. * UpDownBase.cs: Don't CreateGraphics manually, use a
  10196. Refresh. Ideally we would invalidate the correct areas here.
  10197. 2006-03-31 Peter Dennis Bartok <[email protected]>
  10198. * XplatUIX11.cs:
  10199. - We now track the mapping state of windows. If a window (or
  10200. one of it's parents) is not mapped we no longer permit
  10201. WM_PAINT messages to be generated since we'd otherwise get
  10202. lots of BadMatch X errors. Jackson did all the work figuring
  10203. out the problem.
  10204. - Destroying the caret if the window it's contained in is
  10205. destroyed. Can't use regular DestroyCaret method since it
  10206. might fall into a drawing function (trying to remove the
  10207. caret) and with that generate new BadMatch errors. Again,
  10208. Jackson tracked this down.
  10209. - Changed DestroyChildWindows to SendWMDestroyMessages, we now
  10210. make sure we send the messages to all windows. (The old code
  10211. would send the WM_DESTROY to the window, and then all child
  10212. windows would be 'gone' because the WM_DESTROY handle lookup
  10213. would no longer find the destroyed window)
  10214. * Hwnd.cs: Added Mapping property to track mapping state of hwnd
  10215. * X11Structs.cs: Added WindowType enum for MapWindow/UnmapWindow
  10216. 2006-03-31 Jackson Harper <[email protected]>
  10217. * ScrollableControl.cs: Dont recalc if we are not visible.
  10218. 2006-03-31 Mike Kestner <[email protected]>
  10219. * Control.cs (SetVisibleCore): move the CreateControl call up ahead of
  10220. the visibility branch.
  10221. 2006-03-31 Jackson Harper <[email protected]>
  10222. * ScrollBar.cs: Cap values when incrementing/decrementing.
  10223. 2006-03-31 Mike Kestner <[email protected]>
  10224. * MenuAPI.cs: setup menu.tracker for popup/context menus.
  10225. * ToolTip.cs: guard against timer expirations with no active control.
  10226. Not sure why it happened.
  10227. 2006-03-31 Mike Kestner <[email protected]>
  10228. * ThemeWin32Classic.cs: add some horizontal padding space for the tip
  10229. text.
  10230. * ToolTip.cs: Position the tooltip based on where the cursor is at
  10231. popup time, not at MouseEnter time. Add a Down state so that we don't
  10232. redisplay tips without a Leave. Use faked XplatUI.GetCursorInfo for
  10233. positioning offset. Lookup DisplaySize at positioning time, since it
  10234. can theoretically change during invocation.
  10235. * XplatUIWin32.cs: fake GetCursorInfo until pdb can do it properly.
  10236. * XplatUIX11.cs: fake GetCursorInfo until pdb can do it properly.
  10237. 2006-03-31 Alexander Olk <[email protected]>
  10238. * ThemeWin32Classic.cs: Use CPDrawBorder3D to draw a GroupBox.
  10239. Fixes behaviour when the Text property of the box is String.Empty
  10240. 2006-03-31 Peter Dennis Bartok <[email protected]>
  10241. * XplatUIX11.cs: Only send mouseleave for our client windows, not
  10242. for the whole window (otherwise we get WM_MOUSE_LEAVE twice for
  10243. a window)
  10244. 2006-03-31 Alexander Olk <[email protected]>
  10245. * FileDialog.cs: Visual enhancement for the popup buttons in
  10246. PopupButtonPanel
  10247. 2006-03-31 Alexander Olk <[email protected]>
  10248. * ColorDialog.cs, FontDialog.cs: Make use of the updated 3D border
  10249. code
  10250. 2006-03-30 Alexander Olk <[email protected]>
  10251. * ThemeWin32Classic.cs: Updated MainMenu drawing of selected and
  10252. highlighted menu items to match ms
  10253. 2006-03-30 Peter Dennis Bartok <[email protected]>
  10254. * XplatUIX11.cs: Don't set a clip rectangle unless it's not empty
  10255. 2006-03-30 Mike Kestner <[email protected]>
  10256. * Menu.cs (SelectedItem): use new MenuItem.Selected prop.
  10257. * MenuAPI.cs: use new MenuItem.Selected prop. redraw MainMenu when we
  10258. go active to account for HotLight to Selected transition.
  10259. * MenuItem.cs: add internal Selected prop. Fill out the Status
  10260. property by calculating it from item info. Add HotLight,
  10261. NoAccelerator, Checked, Grayed, and Disabled flags where appropriate.
  10262. 2006-03-30 Mike Kestner <[email protected]>
  10263. * MenuItem.cs: only emit DrawItem and MeasureItem for OwnerDraw.
  10264. 2006-03-29 Jackson Harper <[email protected]>
  10265. * Form.cs: Implement TODO.
  10266. 2006-03-29 Peter Dennis Bartok <[email protected]>
  10267. * PrintPreviewDialog.cs: Implemented missing methods and events; still
  10268. missing proper dialog setup in the constructor
  10269. 2006-03-29 Peter Dennis Bartok <[email protected]>
  10270. * ProgressBar.cs: Added 2.0 Style property that apps seem to use
  10271. * Control.cs:
  10272. - Implemented CheckForIllegalCrossThreadCalls, removed TODO
  10273. - Fixed ResetBindings and removed TODO
  10274. - Added check for cross-thread calls to get_Handle()
  10275. - Added Marshaller attribute for set_Font to satisfy class status
  10276. * FontDialog.cs: Removed TODOs that seemed implemented
  10277. * UpDownBase.cs: Removed unneeded TODO and Fixme
  10278. * MessageBox.cs: Implemented support for Default button and removed TODO
  10279. * FileDialog.cs: Removed obsolete TODO
  10280. * DomainUpDown.cs: Removed obsolete TODO
  10281. * ButtonBase.cs: Removed obsolete TODO
  10282. * XplatUIWin32.cs: Removed obsolete TODO
  10283. * Form.cs:
  10284. - Removed obsolete TODO
  10285. - Calling CheckAcceptButton when the acceptbutton is changed to allow
  10286. internal status updates
  10287. - Making sure the active control is selected when the control is created
  10288. * CurrencyManager.cs: Removed obsolete TODO
  10289. 2006-03-29 Mike Kestner <[email protected]>
  10290. * *.cs: fix remaining corcompare issues for 1.1 API with the exception
  10291. of PrintPreviewDialog and RichTextBox.
  10292. 2006-03-29 Alexander Olk <[email protected]>
  10293. * Theme.cs: Added a little helper to SystemResPool to get the Dark,
  10294. DarkDark, Light and LightLight colors for a specific color
  10295. * ThemeWin32Classic.cs:
  10296. - Use Button drawing code to draw RadioButtons and CheckBoxes with
  10297. Appearance = Button
  10298. - Make use of the new ResPool helper CPColor
  10299. - Draw ProgressBar and StatusBar with correct 3D borders
  10300. 2006-03-29 Alexander Olk <[email protected]>
  10301. * ColorDialog.cs: Return selected color. Fixes bug #77940.
  10302. 2006-03-28 Mike Kestner <[email protected]>
  10303. * ListView.cs: fix Icon layout to plan for scrollbar widths when
  10304. calculating col/row counts.
  10305. 2006-03-28 Mike Kestner <[email protected]>
  10306. * ColumnHeader.cs:
  10307. * ListView.cs:
  10308. * ListViewItem.cs:
  10309. * Menu.cs:
  10310. switch to explicit interface method implementation for some methods
  10311. corcompare identifies as inconsistent with MS.
  10312. 2006-03-28 Mike Kestner <[email protected]>
  10313. * MainMenu.cs:
  10314. * Menu.cs:
  10315. add a few missing methods from the class status output.
  10316. 2006-03-28 Alexander Olk <[email protected]>
  10317. * ControlPaint.cs: Fixed ControlPaint.Light method. Results are now
  10318. correct.
  10319. 2006-03-28 Mike Kestner <[email protected]>
  10320. * MenuAPI.cs: Deactivate on MainMenu item click. Fixes #77917.
  10321. 2006-03-27 Mike Kestner <[email protected]>
  10322. * ThemeWin32Classic.cs: Switch flat toolbars to use RaisedInner for
  10323. the Hilight state to adapt to Alex's CPDrawBorder3D changes.
  10324. 2006-03-27 Alexander Olk <[email protected]>
  10325. * ThemeWin32Classic.cs: Rewrote Button drawing code to match ms.
  10326. 2006-03-25 Alexander Olk <[email protected]>
  10327. * ThemeWin32Classic.cs:
  10328. - GroupBox: Inserted a little gap between the text and the lines
  10329. on the right side
  10330. - Made the code in CPDrawBorder3D more readable
  10331. - Corrected the drawing location of the up and down arrows in
  10332. CPDrawScrollButton
  10333. 2006-03-25 Alexander Olk <[email protected]>
  10334. * ControlPaint.cs: Corrected line widths in DrawBorder for
  10335. ButtonBorderStyle Inset and Outset
  10336. 2006-03-25 Alexander Olk <[email protected]>
  10337. * ThemeWin32Classic.cs:
  10338. - Rewrote the totally broken CPDrawBorder3D method. That was
  10339. one of the main problems for the terrific ThemeWin32Classic
  10340. look
  10341. - Updated and corrected Button drawing
  10342. - Correct the dimensions of the SizeGrip to match ms ones
  10343. - Removed a small drawing glitch in DrawComboBoxEditDecorations
  10344. * XplatUIX11.cs: Draw borders with BorderStyle = Fixed3D with
  10345. Border3DStyle.Sunken to match ms.
  10346. 2006-03-25 Alexander Olk <[email protected]>
  10347. * ThemeWin32Classic.cs: First small part of the "de-uglify
  10348. ThemeWin32Classic" effort, SizeGrip
  10349. 2006-03-24 Jackson Harper <[email protected]>
  10350. * XplatUIX11.cs: Give a max idle time of one second, this matches
  10351. MS and forces an Idle event every second when there are no other
  10352. events in the queue.
  10353. 2006-03-24 Mike Kestner <[email protected]>
  10354. * ListView.cs: Handle (Large|Small)ImageList == null more robustly.
  10355. * ListView.Item.cs: fix layout issues with null image lists and images
  10356. smaller than checkbox size.
  10357. * ThemeWin32Classic.cs: Draw a 12 pixel line in ListView LargeIcon
  10358. mode like MS does. It's weird, but consistent. ;-)
  10359. Fixes #77890.
  10360. 2006-03-24 Mike Kestner <[email protected]>
  10361. * ListView.cs: Scroll wheel support for the item control. Fixes
  10362. #77839.
  10363. 2006-03-23 Jackson Harper <[email protected]>
  10364. * ScrollableControl.cs: Special case negative sized areas, not
  10365. zero.
  10366. * MonthCalendar.cs: Save the rect of the clicked date so we can
  10367. use it for invalidation.
  10368. - Try to cut down on the number of invalidates
  10369. - Invalidate the rect the mouse is over and was over when moving
  10370. the mouse, so we get the focus box following the cursor.
  10371. 2006-03-23 Mike Kestner <[email protected]>
  10372. * ThemeWin32Classic.cs: fix FullRowSelect selection background and
  10373. focus rectangle drawing. Fixes #77835.
  10374. 2006-03-23 Mike Kestner <[email protected]>
  10375. * XplatUIX11.cs: rework the fix for #77828 by changing the order of
  10376. the if and else if and reverting back to the original == check on the
  10377. None conditional.
  10378. 2006-03-23 Alexander Olk <[email protected]>
  10379. * FontDialog.cs: Update the example panel if the selected index of
  10380. the fontListBox changes.
  10381. 2006-03-23 Alexander Olk <[email protected]>
  10382. * FileDialog.cs: Make FileDialog remember which directory it was in
  10383. last in the same execution.
  10384. 2006-03-22 Mike Kestner <[email protected]>
  10385. * FileDialog.cs: make the DropDownMenu on the toolbar display
  10386. RadioChecks since they are mutually exclusive and that's what MS does.
  10387. 2006-03-22 Mike Kestner <[email protected]>
  10388. * Theme.cs: add Color param to CPDrawMenuGlyph.
  10389. * ThemeWin32Classic.cs: do color specific menu glyph rendering so that
  10390. checks and radio marks and arrows are visible on highlighted items.
  10391. * ControlPaint.cs: update to use new Theme signature.
  10392. 2006-03-22 Mike Kestner <[email protected]>
  10393. * MenuAPI.cs: only process Enter and arrow keypresses if the tracker
  10394. is active. Fixes #77870.
  10395. 2006-03-22 Alexander Olk <[email protected]>
  10396. * FileDialog.cs: Corrected TabIndex order and set fileNameComboBox
  10397. to be focused/selected after startup
  10398. 2006-03-22 Alexander Olk <[email protected]>
  10399. * ColorDialog.cs:
  10400. - Corrected behaviour of Color, AllowFullOpen, FullOpen,
  10401. CustomColors and ShowHelp properties
  10402. - Some internal rewrites to get better results when using the
  10403. ColorMatrix
  10404. 2006-03-22 Mike Kestner <[email protected]>
  10405. * ListView.cs: hook into Peter's new ResetMouseHover capability to fix
  10406. HoverSelection. Fixes #77836.
  10407. 2006-03-22 Mike Kestner <[email protected]>
  10408. * FileDialog.cs: bugfixes for the toolbar. Use PushButtons instead of
  10409. ToggleButtons. (De)Sensitize the Back button around a stack count of
  10410. 1, not 0. Update ButtonSize based on a pixel count of the win32
  10411. control. Adjust the toolbar size/location for new button size.
  10412. 2006-03-22 Jackson Harper <[email protected]>
  10413. * XplatUIX11.cs: Don't handle configurenotifys if PostQuitState is
  10414. true.
  10415. * ScrollBar.cs: When doing increments and decrements we need to
  10416. set the Value property so that ValueChanged gets raised. A
  10417. possible optimization here would be to make an internal SetValue
  10418. that doesn't invalidate immediately.
  10419. * ToolTip.cs: Tooltips get added to their container (when
  10420. supplied) so they get disposed when the container is disposed.
  10421. - Don't create tooltips for String.Empty. This prevents all these
  10422. little 2-3 pixel windows from showing up when running nunit-gui
  10423. and driving me mad.
  10424. * Form.cs: Don't set topmost when setting the owner if the handles
  10425. haven't been created yet. The topmost set will happen when the
  10426. handles are created.
  10427. 2006-03-22 Peter Dennis Bartok <[email protected]>
  10428. * XplatUIX11.cs:
  10429. - DeriveWindowStyles: Fixed typo in borderstyle generation (#77828)
  10430. - SetVisible: Sending WINDOWPOSCHANGED for all controls when made
  10431. visible (to allow them to recalculate their sizes)
  10432. 2006-03-21 Mike Kestner <[email protected]>
  10433. * ThemeWin32Classic.cs: major refactoring of the ToolBar rendering
  10434. methods. Removed a ton of redundant code. Still not really happy with
  10435. the border rendering, but I think that's mainly because of the
  10436. ControlDarkDark being black instead of a dark grey. Depending on how
  10437. close we want to be, we might want to revisit those color choices.
  10438. Among the new features added during the refactor were DropDownArrow
  10439. pressed rendering, Disabled image rendering. Proper flat appearance
  10440. boundary rendering. Removed the Divider and Wrapping dividers since I
  10441. can't figure out any combination of themes and conditions to make the
  10442. MS control draw a horizontal line on a toolbar despite what the
  10443. Divider property docs indicate.
  10444. * ToolBar.cs: rewrite the layout engine. Fixes numerous flicker
  10445. conditions and incorrect layout. Updated to coding standard.
  10446. * ToolBarButton.cs: refactored layout and positioning code from
  10447. ToolBar to here. Invalidate wherever possible instead of forcing
  10448. redraws of the whole toolbar.
  10449. (Known remaining issues: explicit ButtonSize smaller than provided
  10450. images.)
  10451. 2006-03-21 Mike Kestner <[email protected]>
  10452. * ContextMenu.cs (Show): use the position parameter instead of just
  10453. showing at the MousePosition.
  10454. 2006-03-21 Jackson Harper <[email protected]>
  10455. * TabControl.cs: Remove the call to ProcessKeyEventArgs and let
  10456. control handle this.
  10457. * TreeNodeCollection.cs: If we are clearing the root node we need
  10458. to reset top_node so calcs can still happen.
  10459. * ThemeWin32Classic.cs: This is a Flags so we need to check
  10460. properly.
  10461. 2006-03-21 Jackson Harper <[email protected]>
  10462. * DataGrid.cs: Create columns when the binding context has been
  10463. changed.
  10464. * X11Structs.cs: Keysyms are uints.
  10465. - Add size to fix build.
  10466. 2006-03-21 Peter Dennis Bartok <[email protected]>
  10467. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10468. XplatUIOSX.cs:
  10469. - Added ResetMouseHover method to allow controls to retrigger
  10470. hovering if they need it more than once
  10471. - Implemented MouseHoverTime and MouseHoverSize properties
  10472. * Timer.cs: Start() must reset the interval
  10473. * SystemInformation.cs: Added 2.0 MouseHoverTime and MouseHoverSize
  10474. properties
  10475. 2006-03-21 Jackson Harper <[email protected]>
  10476. * X11Keyboard.cs: improved layout detection. Move the nonchar
  10477. tables into this file.
  10478. * KeyboardLayouts.cs: Move the tables into resource files.
  10479. 2006-03-21 Mike Kestner <[email protected]>
  10480. * ListView.cs: use OnItemActivated to raise events. Fixes #77834.
  10481. 2006-03-21 Alexander Olk <[email protected]>
  10482. * Mime.cs: Various speed optimizations. Looking up mime types
  10483. is now 2 times faster than before
  10484. 2006-03-17 Peter Dennis Bartok <[email protected]>
  10485. * CreateParams.cs: Added internal menu field
  10486. * Control.cs:
  10487. - Switched call order for UpdateBounds; now we always call
  10488. the one that also takes ClientSize, and we're calculating the
  10489. client size via driver method in the others. The previous
  10490. method of tracking client size by difference wasn't working
  10491. for forms where even the starting client size wouldn't match
  10492. the overall form size (due to borders) (Part of fix for #77729)
  10493. - CreateParams(): Do not use parent.Handle unless the handle is
  10494. already created. Causes havoc with Nexxia and throws off our
  10495. creation of controls
  10496. * XplatUIX11.cs:
  10497. - Created new PerformNCCalc method to trigger WM_NCCALCSIZE message
  10498. - Switched handling of ConfigureNotify over to new PerformNCCalc
  10499. method (consolidates code)
  10500. - Changed RequestNCRecalc to use new PerformNCCalc method
  10501. - Added calls to RequestNCRecalc when menus and borders are changed
  10502. to allow app to set NC size. (Part of fix for #77729) This matches
  10503. when MS send a WM_NCRECALC on Win32 windows.
  10504. - Now sending WM_WINDOWPOSCHANGED when toplevel for is made visible
  10505. (Part of fix for #77729). This matches what MS does, they also
  10506. send that message when the form is made visible.
  10507. - XException.GetMessage: Improved usability of X errors by including
  10508. a translation of the window into Hwnd and Control class
  10509. - Improved debug info for window creation, reparenting and destruction
  10510. - Created helper method WindowIsMapped() [Currently not used]
  10511. * XplatUIWin32.cs: Added ToString() debug helper to RECT structure
  10512. * Form.cs:
  10513. - CreateParams: Now setting our menu on the new internal menu field
  10514. - SetClientSizeCore: Now passing cp.menu instead of ActiveMenu to
  10515. avoid calculating the same property twice
  10516. * Hwnd.cs:
  10517. - Improved usability of ToString() for debugging purposes
  10518. - GetWindowRectangle(): Now uses proper CalcMenuBarSize method to
  10519. determine the height of the menu, instead of just the font. This
  10520. required to also create a graphics context and to keep a bmp
  10521. around (for performance reasons)
  10522. 2006-03-17 Peter Dennis Bartok <[email protected]>
  10523. * MenuAPI.cs: Added OnMouseUp method
  10524. * Form.cs:
  10525. - Now remembering the requested client size, avoids size errors
  10526. - WndProc: Now handling WM_xBUTTONUP and passing it to MenuTracker
  10527. instead of base if the menu is active. This is required due to
  10528. control now capturing and releasing on down/up and it would
  10529. prematurely release our menu capture
  10530. 2006-03-17 Jackson Harper <[email protected]>
  10531. * KeyboardLayouts.cs: Add the czech layouts.
  10532. 2006-03-16 Jackson Harper <[email protected]>
  10533. * Control.cs: Use the viewport space when sizing not the controls
  10534. client size, so things like ScrollableControl that effect the
  10535. viewport size (when scrollbars are added) are computed correctly.
  10536. * BindingContext.cs: Cleanup to use the DataSourceEntrys instead
  10537. of ManagerEntrys.
  10538. - Handle creating BindingManagers for null data sources.
  10539. * DataGrid.cs: Bind the cached_currencymgr_events to the real data
  10540. source, otherwise when rows are added they are added to the 'fake'
  10541. datasource and we will crash when trying to set the position in
  10542. those rows.
  10543. - Use Implicit scrollbars on the datagrid so they arent
  10544. selectable.
  10545. 2006-03-16 Jackson Harper <[email protected]>
  10546. * Binding.cs:
  10547. * InternalWindowManager.cs:
  10548. * MdiWindowManager.cs:
  10549. * X11Keyboard.cs: I really want Mike to love me again (fix
  10550. compiler warnings).
  10551. 2006-03-16 Peter Dennis Bartok <[email protected]>
  10552. * DataGrid.cs:
  10553. - OnMouseDown: Switch to editing mode when clicking on the cell
  10554. even if we're clicking on the cell that's currently
  10555. selected
  10556. - ProcessGridKey: Left/Right now wrap like MS.Net does
  10557. - ProcessGridKey: Tab now knows to add a new row when tab is
  10558. pressed in the cell of the last column of the
  10559. last row
  10560. - ProcessGridKey: Enter now adds another row if pressed in the last
  10561. row and selectes the new row, same column cell
  10562. - ProcessGridKey: Home/End navigate columns, not rows, like
  10563. originally implemented
  10564. - Broke ProcessKeyPreview code out into an extra Internal method
  10565. so it can be called from the edit code
  10566. * DataGridTextBox.cs (ProcessKeyMessage):
  10567. - Switched to accept Tab keypresses
  10568. - Added F2 handling to allow jumping to the end of the edited cell
  10569. - Added logic to allow moving caret left/right inside edited cell
  10570. and making the edited cell jump when the caret hits cell borders
  10571. - Tab and Enter are now passed to the datagrid after being handled
  10572. * TextBoxBase.cs:
  10573. - Removed capture code now that Control handles it
  10574. - set_SelectionStart now ensures caret is visible
  10575. 2006-03-16 Jackson Harper <[email protected]>
  10576. * TrackBar.cs: Debackwards the increment/decrement for handling
  10577. mouse clicks on the bar with vertical trackbars.
  10578. * ThemeWin32Classic.cs: Draw vertical trackbars with 0 at the
  10579. bottom to match MS.
  10580. 2006-03-16 Mike Kestner <[email protected]>
  10581. * ListView.cs: make shift/ctrl keyboard and mouse selection
  10582. consistent with the MS control. Fix a bug in
  10583. SelectedListViewItemCollection.Clear that was pissing me off for the
  10584. better part of a day because the collection was being altered
  10585. underneath us as we walked the list.
  10586. 2006-03-16 Peter Dennis Bartok <[email protected]>
  10587. * Control.cs: Not sure how we could miss this so long, but it seems
  10588. that MS.Net has Capture set all the way from before calling
  10589. OnMouseDown through sending the mouse events until after
  10590. OnMouseUp. This will fix DataGrid's selection being set to end
  10591. at the location of the MouseUp.
  10592. 2006-03-15 Jackson Harper <[email protected]>
  10593. * BindingContext.cs: Check the binding after its added so that it
  10594. can initialize the binding managers and hookup to events.
  10595. * Binding.cs: Data members seem to sometimes include rows/cols in
  10596. the format Row.Column we now take this into account.
  10597. - Hookup to the position changed event so we can update the
  10598. control when the position has changed in the data set.
  10599. * CurrencyManager.cs: Take into account the row/col naming
  10600. convention when creating dataset tables.
  10601. * BindingContext.cs: Using a newer better way of storing
  10602. datasource/datamember pairs. Hopefully this better matches MS for
  10603. looking up binding managers.
  10604. 2006-03-15 Jackson Harper <[email protected]>
  10605. * BindingContext.cs: The currency manager needs the data member
  10606. name, if the member is a data set we use the name to find the
  10607. correct table.
  10608. * CurrencyManager.cs: When creating the list prefer an IList over
  10609. an IListSource.
  10610. - Attempt to create a DataTable from a DataSet (TODO: might need
  10611. some better error checking here, although MS doesn't seem to have much)
  10612. - If we have a DataTable create a view and use it as our list.
  10613. 2006-03-15 Mike Kestner <[email protected]>
  10614. * ListView.cs: keep a matrix of the icon mode layout to facilitate
  10615. keyboard navigation. Support Up/Down/Left/Right selection correctly
  10616. for all 4 View modes.
  10617. * ListViewItem.cs: add internal row/col fields for icon layouts.
  10618. 2006-03-15 Jackson Harper <[email protected]>
  10619. * TabControl.cs: Redraw the tabs when we resize so their newly
  10620. calculated sizes are drawn on screen.
  10621. * X11Keyboard.cs: Begginnings of XIM support. We also now support
  10622. composite characters.
  10623. * XplatUIX11.cs: Keyboard driver needs to know about focus changes
  10624. - filter events so that composite characters can be created
  10625. patches by peter
  10626. * X11Structs.cs: Add XIMProperties enum.
  10627. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10628. * Control.cs (BringToFront, SendToBack): Don't use window or handle
  10629. unless it's created
  10630. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10631. * Control.cs (PerformLayout): We don't need to consider visiblity
  10632. for anchoring, only for docking. This fixes 'whacky' alignment
  10633. in listbox and other controls that use implicit scrollbars after
  10634. the previous PerformLayout patch
  10635. * ListBox.cs: Switched to use implicit scrollbars
  10636. 2006-03-14 Mike Kestner <[email protected]>
  10637. * ToolBar.cs:
  10638. * VScrollBar.cs:
  10639. - chain up the "new event" overrides to base and use
  10640. OnEvent to raise them. Part of fix for bug #76509.
  10641. 2006-03-14 Alexander Olk <[email protected]>
  10642. * FileDialog.cs: Do not select an item in the parent directory
  10643. on backspace
  10644. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10645. * Control.cs (PerformLayout): It would seem that we considered
  10646. invisible windows for our layout. Not quite the right thing
  10647. to do. Now we don't any longer, thereby fixing bug #76889.
  10648. 2006-03-14 Peter Dennis Bartok <[email protected]>
  10649. * Control.cs (CanFocus): I goofed. A control can have focus
  10650. even though it's not selectable. Made it match MS docs.
  10651. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10652. * ControlPaint.cs (DrawBorder3D): DrawBorder3D does not fill the
  10653. center by default (fixes #76895)
  10654. * ThemeWin32Classic.cs, ThemeNice.cs, ThemeClearlooks.cs: Replaced
  10655. all uses of Border3DSides.All with the explicit ORd together
  10656. Left|Right|Top|Bottom because I assume that nobody was aware
  10657. that All also implies a center fill. Most places I checked had
  10658. a fill right above.
  10659. * ProgressBarStyle.cs: Added
  10660. 2006-03-13 Mike Kestner <[email protected]>
  10661. * ListView.cs: fix breakage in drag shadow header positioning
  10662. from Peter's csc compilation fix.
  10663. 2006-03-13 Mike Kestner <[email protected]>
  10664. * ListView.cs: fix NRE produced by backspacing twice in a focused
  10665. FileDialog.
  10666. 2006-03-13 Mike Kestner <[email protected]>
  10667. * ListView.cs: proxy Key(Down|Up) from ItemControl to ListView.
  10668. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10669. * Hwnd.cs: Added fixed_size field to track windows whose size cannot
  10670. be changed
  10671. * XplatUIX11.cs: Now setting fixed_size on hwnd and if set, re-setting
  10672. the allowed size before making programmatic size changes
  10673. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10674. * XplatUIX11.cs: Don't call XSetWMNormalHints if no flags are
  10675. set, metacity is broken and will still use the emty sizes in
  10676. the struct. (Fix for #77089)
  10677. 2006-03-13 Peter Dennis Bartok <[email protected]>
  10678. * XplatUIStructs.cs: Split WindowStyles into WindowStyles and
  10679. WindowExStyles and marked both enums as Flags
  10680. * Form.cs, ComboBox.cs, ToolTip.cs, Control.cs, PropertyGridView.cs,
  10681. NotifyIcon.cs, MenuAPI.cs, XplatUIOSX.cs, MonthCalendar.cs: Updated
  10682. to match WindowStyles split
  10683. * XplatUIX11.cs:
  10684. - SetWMStyles: Added cehck to not apply WM attributes to Child windows
  10685. - Updated to match WindowStyles split
  10686. * XplatUIWin32.cs:
  10687. - Fixed FosterParent creation, was using ExStyle on the Style field
  10688. (This should help with Popup focus issues)
  10689. - Updated to match WindowStyles split
  10690. 2006-03-13 Jackson Harper <[email protected]>
  10691. * MdiWindowManager.cs: Use the system menu height. Fixes some
  10692. strange sizing issues.
  10693. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10694. * RichTextBox.cs: Need to scroll to caret after text is inserted (#77672)
  10695. * TextBoxBase.cs:
  10696. - Scroll to caret after inserting text (#77672)
  10697. - Make scroll range one pixel higher, fixes off-by-one error (and
  10698. makes underlines visible on the last line)
  10699. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10700. * XplatUIX11.cs: Added call to new Keyboard.ResetKeyState to prevent
  10701. the keyboard state from being stuck with keys in 'pressed' state when
  10702. focus is switched away via keyboard
  10703. * X11Keyboard.cs: Added new ResetKeyState method to allow drivers to
  10704. reset the keyboard if no X11 KeyUp events are expected to come
  10705. * X11Structs.cs: Switched type of Visible to bool to match driver
  10706. 2006-03-12 Peter Dennis Bartok <[email protected]>
  10707. * TextControl.cs:
  10708. - Switched caret to be just 1 pixel wide, matches MS and looks less
  10709. clunky
  10710. - Moved caret display 1 pixel down from the top of the control
  10711. to improve view
  10712. - InsertCharAtCharet: Update the selection start if moving the caret
  10713. (fixes bug #77696; based on patch suggested by [email protected])
  10714. - No longer always creating the caret when the caret methods are
  10715. called. Only the actual ShowCaret/HideCaret will do that now
  10716. - Only setting caret visible if the owner control has focus
  10717. - UpdateView: Added invalidation-shortcut logic for center and right
  10718. aligned text. Previously we'd update all according to the left
  10719. logic which caused drawing errors. Also fixed height of invalidated
  10720. areas, now properly invalidating the whole area (was off-by-one)
  10721. - owner_HandleCreated: Always generate the document when the
  10722. handle is created; this ensures that
  10723. * TextBoxBase.cs:
  10724. - Fixed situation where caret would disappear under the right
  10725. window border, also improved scrolling behaviour on left-
  10726. aligned textboxes
  10727. - Fixed right-aligned textboxes to have a border to the
  10728. right instead of the caret being under the right border
  10729. * XplatUIX11.cs:
  10730. - Switched from 'nested' to simple visible/not visible tracking
  10731. for caret (part of fix for #77671)
  10732. - No longer passing through translated FocusIn/FocusOut messages
  10733. since we were notifying too often and the wrong windows. Instead
  10734. we just notify our focussed window of receiving or loosing focus
  10735. * XplatUIWin32.cs: Switched from 'nested' show/hide
  10736. counting for caret to simple visible yes/no behaviour (part of
  10737. fix for #77671)
  10738. 2006-03-11 Alexander Olk <[email protected]>
  10739. * Mime.cs: Remove debug code...
  10740. 2006-03-11 Alexander Olk <[email protected]>
  10741. * MimeGenerated.cs: Removed
  10742. * Mime.cs: Mime now reads the mime data (magic, globs, aliases
  10743. and subclasses) from /usr/(local/)share/mime and
  10744. $HOME/.local/share/mime.
  10745. 2006-03-10 Jackson Harper <[email protected]>
  10746. * MdiWindowManager.cs: Recalc the NC area when a window is
  10747. maximized/restored so that the menu area is drawn on forms that
  10748. don't have a menu.
  10749. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10750. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  10751. XplatUIX11.cs: Added RequestNCRecalc method to driver to allow
  10752. us to force a WM_NCCALCRESIZE message being sent. This is needed
  10753. for MDI maximizing.
  10754. 2006-03-10 Jackson Harper <[email protected]>
  10755. * Form.cs: We need to use the ActiveMenu when calculating menu
  10756. height.
  10757. - Fix nullref when the window manager hasn't been created yet.
  10758. * Control.cs: Fix nullref when we try to bring a control to the
  10759. front that has no parent.
  10760. * MdiWindowManager.cs: Use the MaximizedMenu for calculating
  10761. height.
  10762. - Add a dummy item to the maximized menu so it always has the
  10763. correct height. Otherwise when there are no menus we don't get our
  10764. icon and buttons.
  10765. 2006-03-10 Jackson Harper <[email protected]>
  10766. * MenuAPI.cs: Make this available elsewhere. I need it in some MDI
  10767. stuff.
  10768. * Form.cs: Make the window_state internal so the window managers
  10769. can track it.
  10770. - When an MDI child is maximized let its window manager create the
  10771. main menu (so it can add its icon).
  10772. - Notify the window managers of state changes
  10773. - Let the window manager paint its buttons and handle button
  10774. clicks on the menu when it is maximized.
  10775. * InternalWindowManager.cs: Move the prev_bounds into the mdi
  10776. window manager, since tool windows don't use it, only mdi windows.
  10777. - Tell the main form that we don't want it to handle NCPAINT
  10778. itself to avoid extra painting.
  10779. - Handle clicks on a maximized windows menu.
  10780. - Handle window state changes
  10781. - Handle minimize/maximize clicks correctly by setting the window state.
  10782. * MdiWindowManager.cs: Add an icon menu that (the menu you get
  10783. when clicking on the forms icon).
  10784. - New method to create a forms maximized menu. This is its normal
  10785. menu + an icon.
  10786. - Handle window state changes.
  10787. - Handle sizing of maximized windows. Maximized windows are just
  10788. drawn bigger then the parent visible area. All controls are still
  10789. there, they are just outside the visible area (this matches windows).
  10790. * MdiClient.cs: No scrollbars when a child window is maximized.
  10791. - Let the children windows figure out how big they should be when
  10792. sizing maximized windows.
  10793. - Implement a version of ArrangeIconicWindows somewhat similar to
  10794. Windows version. There are some little differences, but I don't
  10795. think any app will rely on the layout of minimized mdi windows.
  10796. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10797. * Padding.cs: Several fixes to allow compiling with csc 2.0
  10798. 2006-03-09 Jackson Harper <[email protected]>
  10799. * Menu.cs:
  10800. * MenuItem.cs: Cheap hack so we can add items to the list without
  10801. the events being raised. This allows adding mdi items during
  10802. drawing. TODO: Should probably find a better time to add the items.
  10803. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10804. * ThemeWin32Classic.cs:
  10805. - CheckBox_DrawText: Added logic to not wrap if not enough space
  10806. is available (Fix for bug #77727)
  10807. - RadioButton_DrawText: Added logic not to wrap if not enough
  10808. space is available (Fix for bug #77727). Also removed some
  10809. duplicate code, DrawString always drawing the regular text
  10810. before hitting the if statement.
  10811. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10812. * XplatUIX11.cs: Handle an unmapped window state in SetWindowState
  10813. 2006-03-10 Peter Dennis Bartok <[email protected]>
  10814. * PictureBox.cs: Implemented ISupportInitialize interface (fixes #77726)
  10815. * ContainerControl.cs: Partial implementation of some 2.0 scaling
  10816. methods. Moved the new 2.0 properties into alphabetical order with
  10817. other properties and added MonoTODO tags
  10818. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10819. * AutoScaleMode.cs: Added. Fix build.
  10820. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10821. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  10822. XplatUIOSX.cs: Removed HWnd argument from CalcuateClientRect, not used
  10823. and was requiring premature handle creation for calls from above
  10824. * Form.cs, Control.cs: Removed handle arguments from calls to
  10825. CalculateClientRect()
  10826. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10827. * ListView.cs (HeaderMouseMove): Fix csc compilation.
  10828. drag_column.column_rect is MarshalByRef and can't be used that way
  10829. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10830. * AxHost.cs: Added deserialization constructor for
  10831. AxHost+State (fixes 77743)
  10832. 2006-03-09 Mike Kestner <[email protected]>
  10833. * ListView.cs:
  10834. - Added column drag reordering for details view.
  10835. - fixed behavior when mouse is dragged off column and
  10836. AllowColumnReorder is false.
  10837. * ColumnHeader.cs: clone the format too in Clone.
  10838. * Theme.cs: add DrawListViewHeaderDragDetails method.
  10839. * ThemeWin32Classic.cs:
  10840. - impl new method for drawing drag column shadows and targets.
  10841. - support column offset for details mode in DrawListViewItem.
  10842. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10843. * TextControl.cs: Reset the char_count when the document is cleared
  10844. (Fixes bug reported on mono-winforms mailing list)
  10845. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10846. * TextBoxBase.cs: Honor the Handled state of KeyPress events. Instead
  10847. of calling base we simply process the key ourselves, since both
  10848. DefWindowProc and the handled method would set m.Result.
  10849. (Fixes #77732)
  10850. 2006-03-09 Peter Dennis Bartok <[email protected]>
  10851. * Form.cs(ScaleCore): No longer calling base.ScaleCore since that
  10852. method also moves the window; instead implemented a copy of
  10853. Control.ScaleCore (Part of fix for #77456)
  10854. * TextBoxBase.cs:
  10855. - Created new CreateGraphicsInternal method to allow providing
  10856. a graphics context when no handle is created without triggering
  10857. handle creation. (Part of fix for #77456)
  10858. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  10859. * TextControl.cs:
  10860. - Switched Constructor to require TextBoxBase instead of Control (to
  10861. allow uncast access to CreateGraphicsInternal)
  10862. - Safeguarded use of owner.Handle property. No longer accessing it
  10863. unless the handle is already created.
  10864. - Replaced use of Control.CreateGraphics with CreateGraphicsInternal
  10865. - Now triggering a recalc when owning control becomes visible
  10866. * TextBox.cs, RichTextBox.cs: Switched to use new internal
  10867. TextBoxBase.CreateGraphicsInternal() method to avoid triggering
  10868. premature handle creation (Part of fix for #77456)
  10869. * Control.cs:
  10870. - We now only destroy our double-buffering buffers when the
  10871. control is resized or disposed, but not when visibility
  10872. changes. (The code even re-created them twice every time)
  10873. - Now requiring a redraw of the buffer on visibility changes
  10874. (fixes bug 77654 part 2)
  10875. - Not passing OnParentVisibleChanged up unless the control
  10876. is visible
  10877. - CanFocus: Fixed to match MS documentation
  10878. - Focus: Fixed to return actual focus state and to check if
  10879. setting focus is legal before setting it
  10880. 2006-03-08 Peter Dennis Bartok <[email protected]>
  10881. * ThemeWin32Classic.cs: TabPages cannot have focus. Determine
  10882. when to draw focus rectangle by looking at parent focus and
  10883. selected state instead. This fixes TabPages on Linux sometimes
  10884. having none or multiple focus rectangles.
  10885. * XplatUIX11.cs (SetFocus):
  10886. - Don't set the focus if the same window already has focus
  10887. - Use SendMessage instead of PostMessage (like it's Win32
  10888. equivalent) and send the WM_SETFOCUS before the WM_KILLFOCUS
  10889. to match MS behaviour
  10890. * TabControl.cs(SelectedIndex): Don't set Focus on TabPage, TabPages
  10891. are not selectable.
  10892. 2006-03-07 Jackson Harper <[email protected]>
  10893. * PictureBox.cs: Revert line I accidently committed last week.
  10894. 2006-03-07 Peter Dennis Bartok <[email protected]>
  10895. * Control.cs:
  10896. - Added new IsRecreating and ParentIsRecreating properties to
  10897. allow testing if RecreateHandle has been called on ourselves
  10898. or one of our parents
  10899. - WndProc(WM_DESTROY): If our control handle is being recreated
  10900. we immediately need to create the handle when receiving the
  10901. destroy, that way our child windows find a valid parent handle
  10902. when they themselves are being recreated upon WM_DESTROY receipt
  10903. (fix for bug #77654 part 1)
  10904. * XplatUIX11.cs:
  10905. - DestroyWindow: WM_DESTROY must be sent to our own window before
  10906. notifying any child windows. MS documents that child windows
  10907. are still valid when WM_DESTROY is received. (Control now relies on
  10908. this behaviour)
  10909. - Added some fine-grain debug options
  10910. 2006-03-06 Jackson Harper <[email protected]>
  10911. * MdiClient.cs: Redid scrolling logic a bit to create a virtual
  10912. box and base calculations off this.
  10913. * MdiChildContext.cs:
  10914. * MdiWindowManager.cs: Don't need to ensure scrollbars here
  10915. anymore.
  10916. 2006-03-06 Peter Dennis Bartok <[email protected]>
  10917. * Splitter.cs: In situations where the affected control is added
  10918. to the parent's control list after the splitter, we would not
  10919. populate affected. Now we try populating it on mousedown, if
  10920. it's not already set, and force it to be re-set whenever our
  10921. parent changes.
  10922. 2006-03-03 Matt Hargett <[email protected]>
  10923. * Control.cs: implement Control.Padding
  10924. * Padding.cs: -Padding.All returns -1 when constructing with the
  10925. implicit default ctor
  10926. -Padding.ToString() matches MS.NET
  10927. * ContainerControl.cs: implement
  10928. ContainerControl.AutoScaleDimensions
  10929. * ListControl.cs: implement ListControl.FormattingEnabled
  10930. * TextBox.cs: Implemented TextBox.UseSystemPasswordChar.
  10931. * ButtonBase.cs:
  10932. * TabPage.cs: Implement UseVisualStyleBackColor.
  10933. * PictureBox.cs: Implement PictureBox.InitialImage.
  10934. 2006-03-03 Mike Kestner <[email protected]>
  10935. * ListView.cs: Refactor into HeaderControl and ItemControl. Fix new
  10936. event declarations to proxy to base event.
  10937. * ListViewItem.cs: update to use ItemControl.
  10938. * Theme.cs: make DrawListViewHeader. s/DrawListView/DrawListViewItems.
  10939. * ThemeWin32Classic.cs: update to new ListView theme API and fix
  10940. column header label rendering for 0 width columns.
  10941. 2006-03-03 Peter Dennis Bartok <[email protected]>
  10942. * Control.cs (ControlCollection.SetChildIndex): Avoid using a call
  10943. that causes the control to be created. Fixes #77476.
  10944. 2006-03-02 Jackson Harper <[email protected]>
  10945. * Hwnd.cs: Clear the nc pending when clearing the NC area, not the
  10946. expose_pending.
  10947. 2006-03-02 Peter Dennis Bartok <[email protected]>
  10948. * Control.cs: Implemented 2.0 feature where OnClick has MouseEventArgs
  10949. passed in for the EventArgs (fixes #77690)
  10950. 2006-03-01 Jackson Harper <[email protected]>
  10951. * ScrollBar.cs: Refresh afterbeing resized.
  10952. 2006-02-28 Mike Kestner <[email protected]>
  10953. * MenuAPI.cs: Call PerformPopup internal method to emit Popup.
  10954. Clean up a tracker compile warning.
  10955. * MenuItem.cs: add internal PerformPopup method.
  10956. [Fixes #77457]
  10957. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10958. * TextBoxBase.cs (set_Text): Recalculate the document (causing an
  10959. implicit expose) when the text is set to null
  10960. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10961. * RichTextBox.cs (FlushText): When newline is true, we always
  10962. need to split the line, even if no text is on it and we may
  10963. never eat newlines. (Fixes #77669)
  10964. 2006-02-28 Mike Kestner <[email protected]>
  10965. * ListView.cs: Add UpdateSelection internal method. Remove SelectItem
  10966. and set Selected instead.
  10967. * ListViewItem.cs: Call owner.UpdateSelection to manipulate the
  10968. collections.
  10969. 2006-02-28 Peter Dennis Bartok <[email protected]>
  10970. * ComboBox.cs: Allow setting SelectedIndex to -1. Fixes #77665
  10971. 2006-02-28 Alexander Olk <[email protected]>
  10972. * FontDialog.cs:
  10973. - Got rid of the panel. All controls are now directly added to
  10974. the dialog form
  10975. - It is now possible to set a font with the Font property
  10976. - MinSize and MaxSize property do now what they should
  10977. - ShowApply, ShowHelp, ShowColor, ShowEffects likewise
  10978. - Searching and selecting a font with the font textbox works now,
  10979. the same applies to the style and size textbox
  10980. - Draw the correct 3D border in the example panel
  10981. - Fixed a little mem leak (unused fonts didn't get disposed)
  10982. - Many other internal updates/rewrites...
  10983. - Fix typo
  10984. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10985. * TextControl.cs:
  10986. - InsertRTFFromStream: Added 'number of characters inserted' argument
  10987. - set_SelectedRTF: Now using the number of characters to calculate
  10988. the new location for the selection and cursor (x/y cannot be used
  10989. due to potentially already wrapped text)
  10990. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10991. * TextControl.cs: Added property and implemented means to allow
  10992. disabling recalculation of a document (can be used to speed up
  10993. multiple inserts and is needed to make RTF inserts predictable, see
  10994. bug #77659)
  10995. * RichTextBox.cs: Using the new NoRecalc property of Document to
  10996. keep x/y insert locations predictable. Also makes it faster inserting
  10997. large chunks of RTF
  10998. 2006-02-27 Peter Dennis Bartok <[email protected]>
  10999. * Control.cs: Separated special WM_SYSKEYUP keyboard handling. That way
  11000. it's easier for a child control to handle the other messages without
  11001. having to duplicate the special functionality
  11002. * TextBoxBase.cs
  11003. - WndProc: Removed calling base handler for WM_KEYDOWN and added
  11004. code to handle processing the key ourselves, in order to get
  11005. access to the result of KeyEventArgs.Handled. We now only call
  11006. ProcessKey if they key hasn't been handled already. Fixes #77526.
  11007. - set_Text: If null or empty string is given, just clear the
  11008. document. Fixes part of #77526
  11009. 2006-02-27 Jackson Harper <[email protected]>
  11010. * SizeGrip.cs: Paint the background color before painting the grip
  11011. so things look right.
  11012. * MdiClient.cs: Add the sizegrip when both scrollbars are used.
  11013. 2006-02-27 Mike Kestner <[email protected]>
  11014. * ListView.cs:
  11015. - Restructure layout and invalidation model to remove a ton of
  11016. flicker from the control and speed up performance in general.
  11017. - Add manual column resize, flickers like crazy, but I already have
  11018. some ideas on how I'll fix that. (#76822)
  11019. - Merge the three Icon-based views into a single layout method.
  11020. - Move item selection interaction logic from the item since
  11021. interaction with the collections is more appropriate to the view.
  11022. - Deselection on non-item clicks.
  11023. * ListViewItem.cs:
  11024. - Encapsulate most of the layout. Add some internal props to trigger
  11025. layout. Move to a model where Items invalidate themselves instead
  11026. of just invalidating the whole control every time something changes.
  11027. - Invalidate on Text/Caption changes.
  11028. - switch to an offset based layout model to avoid having to absolute
  11029. position every element on item moves.
  11030. - correct checkbox layout to conform to MS layout.
  11031. * ThemeWin32Classic.cs:
  11032. - refactor some column header drawing code.
  11033. - fix string justification for column headers (#76821)
  11034. - make SmallIcon labels top justified for compat with MS impl.
  11035. * ThemeClearlooks.cs:
  11036. - adjust to new ListViewItem internal checkbox bounds api.
  11037. 2006-02-27 Jackson Harper <[email protected]>
  11038. * Control.cs: Change where implicit controls fall in the zorder.
  11039. They are now on top of all children.
  11040. - Synced AddImplicit code with Add
  11041. - Removed unused enumerator.
  11042. * SizeGrip.cs: Remove the TODO as its been TODONE.
  11043. 2006-02-26 Peter Dennis Bartok <[email protected]>
  11044. * TextControl.cs(Insert): Combine the last lines unless the insertion
  11045. string ends with \n\n, otherwise we leave one line too many (Fixes
  11046. something I noticed with the testapp for #77526; the bug itself was
  11047. already fixed in the previous checkin)
  11048. 2006-02-26 Peter Dennis Bartok <[email protected]>
  11049. * RichTextBox.cs:
  11050. - SelectionColor and SelectionFont methods no longer set absolute
  11051. styles. Instead, the keep font or color respectively (This
  11052. resolves a long-standing FIXME in the code)
  11053. - When flushing RTF text, the insert code now considers text trailing
  11054. behind the insertion point (Fixes the bug where when replacing
  11055. the selected text via SelectedRTF the remainder of the line behind
  11056. the selection would stay on the first insertion line)
  11057. * TextBoxBase.cs:
  11058. - AppendText now updates the selection points after inserting text
  11059. - AppendText now ensures that the last tag (sometimes 0-length) of
  11060. the document is used for the style information (Fixes part of
  11061. bug #77220)
  11062. * TextControl.cs:
  11063. - Created new FontDefiniton class to allow describing partial style
  11064. changes
  11065. - StreamLine() now takes a lines argument, to allow it to decide
  11066. whether an encountered zero-length tag is the last in the document
  11067. (which must be kept to not loose the font/color contained in it,
  11068. for later appends)
  11069. - Created Combine() and Split() methods for Marker structs, to
  11070. support marker updates due to reformatted documents (soft line
  11071. wraps)
  11072. - Implemented Document.CaretTag setter
  11073. - Fixed MoveCaret(CtrlEnd) handling, now moves to the last character
  11074. of the last line (Not the cause, but also exposed by bug #77220)
  11075. - Added LineTag argument to InsertString method, to allow callers
  11076. to force a certain tag to be used (required to force use of the
  11077. trailing zero-length tag of a document)
  11078. - Now updating markers in Combine(), to avoid stale tag markers
  11079. - Added some method descriptions to aid maintenance
  11080. - Implemented new FormatText concept, allowing additive/subtractive
  11081. formatting by only specifying the components that are to be
  11082. changed. This was needed for resolving the RTB.SelectedColor/
  11083. RTB.SelectedFont fixmes
  11084. - Added Break() support method to allow breaking up linetags (used
  11085. for partial formatting)
  11086. - Added GenerateTextFormat() method. It is used for partial
  11087. formatting and allows to generate a full font/color from given
  11088. attributes and an existing tag.
  11089. 2006-02-26 Jackson Harper <[email protected]>
  11090. * XplatUIX11.cs: Use the correct caption height.
  11091. - Translate hittest coordinates to screen coords to match MS.
  11092. * XplatUIWin32.cs: When we create MDI windows we need to reset
  11093. some of the style flags, so we get a nice blank window, and can
  11094. draw all the decorations ourselves.
  11095. - Set a clipping rectangle on the non client paint event, the
  11096. window manager drawing code needs one.
  11097. * Form.cs: The window manager needs to know when the window state
  11098. has been updated.
  11099. * Hwnd.cs: The window manager stuff now does a proper NCCALC so we
  11100. don't need to factor in border and title sizes in these
  11101. methods. TODO: Remove the args and fix the call points.
  11102. * InternalWindowManager.cs: Handle NCHITTEST and NCCALCAREA
  11103. properly.
  11104. - Let the driver set the cursors.
  11105. - Improve active window handling
  11106. - Correct sizes for title bars and buttons.
  11107. - Match MS drawing better
  11108. * MdiWindowManager.cs: We don't need to handle border style
  11109. updates specially anymore.
  11110. - Check for scrollbars when windows are done moving
  11111. - Handle Active properly.
  11112. * MimeIcon.cs: Don't crash when we can't load the GNOME stuff
  11113. correctly. I am spewing the exception though, so we don't hide the
  11114. bugs.
  11115. 2006-02-26 Pedro Martinez Julia <[email protected]>
  11116. * DataGridViewRowPostPaintEventArgs.cs,
  11117. DataGridViewCellPaintingEventArgs.cs,
  11118. DataGridViewRowCollection.cs,
  11119. DataGridViewRowPrePaintEventArgs.cs,
  11120. DataGridViewCell.cs: Clear a few warnings and implement a few
  11121. exceptions that should be thrown.
  11122. 2006-02-22 Peter Dennis Bartok <[email protected]>
  11123. * ScrollBar.cs (ctor): Explicitly set a cursor to avoid
  11124. 'inheriting' our parent's (non-default) cursor. (Part of
  11125. the fix for #77479)
  11126. 2006-02-22 Peter Dennis Bartok <[email protected]>
  11127. * XplatUIX11.cs: Fixed cast to make csc happy
  11128. 2006-02-22 Peter Dennis Bartok <[email protected]>
  11129. * Control.cs (WndProc): Only handle WM_SETCURSOR messages if
  11130. it's for the client area (part of fix for #77479 and needed
  11131. for MDI window cursor handling)
  11132. * XplatUIX11.cs
  11133. - DefWindowProc: Now handles the WM_SETCURSOR messages, setting
  11134. the appropriate default cursors and also passing the message
  11135. up the parent chain
  11136. - GetMessage: Now generating WM_NCHITTEST and WM_SETCURSOR even
  11137. for non-client areas
  11138. 2006-02-15 Jackson Harper <[email protected]>
  11139. * XplatUIWin32.cs: Since we fake MDI dont tell Windows that this
  11140. is a real MDI window
  11141. 2006-02-14 Alexander Olk <[email protected]>
  11142. * X11DesktopColors.cs: Instead of checking the desktop session
  11143. string for "KDE" check if it starts with "KDE"
  11144. 2006-02-10 Jackson Harper <[email protected]>
  11145. * XplatUIX11.cs: These should be unsigned (fixes crash on 32 bit
  11146. systems).
  11147. 2006-02-10 Alexander Olk <[email protected]>
  11148. * FileDialog.cs: Added Refresh to RunDialog to fix some drawing
  11149. errors
  11150. * ColorDialog.cs:
  11151. - Got rid of the panel. All controls are now directly added to
  11152. the dialog form
  11153. - Changed to mono coding style
  11154. 2006-02-10 Jackson Harper <[email protected]>
  11155. * InternalWindowManager.cs: We don't need the set visibility to
  11156. false hack anymore now that peter has written beautiful shutdown
  11157. code.
  11158. 2006-02-10 Peter Dennis Bartok <[email protected]>
  11159. * XplatUIX11.cs: Ignore DestroyNotify messages for windows that
  11160. where already explicitly destroyed
  11161. 2006-02-10 Jackson Harper <[email protected]>
  11162. * MdiClient.cs: Handle the case where windows are too high or to
  11163. the left and we need scrollbars.
  11164. 2006-02-10 Alexander Olk <[email protected]>
  11165. * MimeIcon.cs: Added some icons
  11166. * FileDialog.cs:
  11167. - Fixed bug #77477
  11168. - Got rid of the panel. All controls are now directly added to
  11169. the dialog form
  11170. - Changed to mono coding style
  11171. - On Linux "My Computer" and "My Network" will now show some
  11172. more usefull information. A new class, MasterMount, gathers
  11173. this information from /proc/mount. Updated MWFFileView to make
  11174. use of this information
  11175. - Fixed a bug that caused FileDialog to crash when
  11176. ".recently_used" file had a zero size
  11177. - FilterIndex does now what it should
  11178. - Some Refactoring
  11179. * OpenFileDialog.cs, SaveFileDialog.cs: Updated to reflect latest
  11180. FileDialog changes
  11181. 2006-02-09 Jackson Harper <[email protected]>
  11182. * ComboBox.cs: Don't touch if null.
  11183. 2006-02-09 Peter Dennis Bartok <[email protected]>
  11184. * Cursor.cs: 64bit safeness fix
  11185. * XplatUIX11.cs: Removed several unneeded and one moronic cast.
  11186. 2006-02-09 Jackson Harper <[email protected]>
  11187. * Form.cs: If a form is made into an MDI form update the styles so
  11188. all the props can get set correctly.
  11189. - Kill the mdi_container when we dont need it anymore.
  11190. * InternalWindowManager.cs: Add missing NOT
  11191. 2006-02-08 Jackson Harper <[email protected]>
  11192. * InternalWindowManager.cs: Respek clipping when drawing MDi
  11193. decorations.
  11194. 2006-02-08 Jackson Harper <[email protected]>
  11195. * Hwnd.cs: Add bits to track non client expose events.
  11196. * XplatUIX11.cs: Track non client expose events on the hwnd. This
  11197. gives us a proper invalid rect and will allow for some nice
  11198. optimizations with NC client drawing
  11199. - MDI windows are children windows, so move their style handling
  11200. into the child window block.
  11201. * InternalWindowManager.cs: Remove a state reset that was
  11202. getting invoked at the wrong time. Fixes managed windows getting
  11203. into a 'stuck' captured state.
  11204. 2006-02-07 Peter Dennis Bartok <[email protected]>
  11205. * TextControl.cs (Document.ctor): Now initializing
  11206. selection_anchor. Fixes #77493
  11207. 2006-02-07 Jackson Harper <[email protected]>
  11208. * TrackBar.cs: The increment/decrements were backwards.
  11209. 2006-02-07 Mike Kestner <[email protected]>
  11210. * Theme*.cs : remove ThemeEngine.Current usage as it just points back
  11211. to the instance itself.
  11212. 2006-02-07 Peter Dennis Bartok <[email protected]>
  11213. * X11DesktopColors.cs, ThemeGtk.cs: The GObject structure is based
  11214. on ulongs and pointers, the size differs between 32bit and 64bit
  11215. systems.
  11216. 2006-02-07 Mike Kestner <[email protected]>
  11217. * XplatUIX11.cs : force the WorkingArea away from XGetWindowProperty
  11218. for 64 bit platforms to work around a metacity bug.
  11219. 2006-02-07 Jackson Harper <[email protected]>
  11220. * TrackBar.cs: Process the input keys we need, and hookup to
  11221. KeyDown instead of using WndProc, so we get key messages.
  11222. 2006-02-06 Peter Dennis Bartok <[email protected]>
  11223. * XplatUIX11.cs: Atoms are only 32bit on the wire, no matter what
  11224. machine we're on.
  11225. * X11Dnd.cs(SetAllowDrop): Since atoms are always 32bit on the wire
  11226. we need to translate the XdndVersion atoms array before sending it
  11227. 2006-02-06 Peter Dennis Bartok <[email protected]>
  11228. * XplatUIX11.cs:
  11229. - The preceeding 64bit fixes had a bug: ChangeProperty expects the
  11230. number of bits for the property, not the number of bytes. The
  11231. change to provide IntPtr.Size broke 32bit. (64bit was also wrong
  11232. but would not crash since it specified 8 bits instead of 4 bits)
  11233. - More 64bit fixes: Switched all atoms from int to IntPtr (they are
  11234. defined as XID -> long in the C headers)
  11235. - Removed 'new IntPtr((int))' and '(IntPtr)' casts from all NetAtoms
  11236. references since those are now IntPtr to begin with
  11237. - Switched all Atom.XXX 'int' casts to IntPtr casts
  11238. - Fixed XGrabPointer DllImport signature to work for 64bit (cursor arg)
  11239. - Fixed XInternAtom signature for 64bit, now returns an IntPtr
  11240. - Added XChangeActivePointerGrab DllImport (for X11DnD)
  11241. * X11Structs.cs:
  11242. - Changed 'int' type for Atoms in XEvent structures to IntPtr
  11243. - Changed atom in HoverStruct to be IntPtr
  11244. * X11DnD.cs:
  11245. - Removed local DllImports, switched code to use those from XplatUIX11
  11246. - Removed/fixed casts related to the switch of Atom to be a IntPtr
  11247. 2006-02-06 Mike Kestner <[email protected]>
  11248. * XplatUIX11.cs : many more 64 bit pinvoke changes. I've audited all the
  11249. method signatures in the import region. There may still be some
  11250. lingering struct marshaling issues, as I didn't drill down into those.
  11251. Yet.
  11252. 2006-02-06 Jackson Harper <[email protected]>
  11253. * ComboBox.cs: Dont manually set the top_item, this is computed
  11254. when the scrollbar position is set.
  11255. 2006-02-06 Mike Kestner <[email protected]>
  11256. * XplatUIX11.cs : 64 bit changes to XGetWindowProperty usage. Fixes
  11257. startup crashes on amd64. There's other fixes needed. All pinvoke
  11258. usage of Atom needs to be mapped to IntPtr for example. And there are
  11259. likely other int/long issues to be addressed.
  11260. 2006-02-04 Alexander Olk <[email protected]>
  11261. * FileDialog.cs: One more...
  11262. 2006-02-03 Alexander Olk <[email protected]>
  11263. * FileDialog.cs: Next try
  11264. 2006-02-03 Alexander Olk <[email protected]>
  11265. * FileDialog.cs: First part of fix for #77464
  11266. 2006-02-03 Alexander Olk <[email protected]>
  11267. * ButtonBase.cs, ContainerControl.cs, Forms.cs,
  11268. ThemeWin32Classic.cs: Fix for #77458. Correct handling of
  11269. AcceptButton border drawing.
  11270. 2006-02-03 Peter Dennis Bartok <[email protected]>
  11271. * Form.cs: Moved positioning of form after auto scaling is applied,
  11272. otherwise it would possibly use wrong form size.
  11273. 2006-02-03 Peter Dennis Bartok <[email protected]>
  11274. * Control.cs (RecreateHandle): No need to re-create any child
  11275. controls, the child windows will get destroyed automatically by
  11276. the windowing system or driver, and re-created when the handle
  11277. is being accessed the first time. Fixes #77456
  11278. * Form.cs: No longer setting the form to closing if the handle is
  11279. being recreated. This seems like the right thing to do, don't
  11280. have a bug or testcase for this, though.
  11281. 2006-02-02 Peter Dennis Bartok <[email protected]>
  11282. * FileDialog.cs: Suspend/Resume layouting when changing sizes of
  11283. controls to avoid unwanted side effects
  11284. 2006-02-02 Peter Dennis Bartok <[email protected]>
  11285. * Control.cs:
  11286. - ScaleCore needs to scale the bounds, not the ClientSize of the
  11287. control. Fixes #77416.
  11288. - DefaultSize is 0,0 for control
  11289. * TextBoxBase.cs:
  11290. - DefaultSize is 100, 20
  11291. - SetBoundsCore: Now enforcing the height, no matter if the provided
  11292. height is more or less than the preferred one, as long as AutoSize
  11293. is on
  11294. * Form.cs: Apply documented fudge factor. Part of item 3 fix for #77416
  11295. 2006-02-02 Peter Dennis Bartok <[email protected]>
  11296. * Control.cs:
  11297. - ResumeLayout: Fixed logic when to call PerformLayout, we may not
  11298. call unless both performLayout is true *and* we have a pending
  11299. layout change
  11300. - ResumeLayout: MS does not completely nest Suspend and Resume,
  11301. they bottom out at 0, fixed our code to match that.
  11302. - UpdateBounds/SetBoundsCore: Moved calling of UpdateDistances() to
  11303. SetBoundsCore, we were updating even when we shouldn't. This fixes
  11304. swf-anchors mis-anchoring when resizing the app fast and lots.
  11305. - UpdateDistances: Now only setting the left and top distance if
  11306. we have a parent and are not suspended, this is based on
  11307. a suggestion by Don Edvaldson in bug #77355.
  11308. - OnVisibleChanged: Fixed logic when to create the control. We may
  11309. not create the control if we have no parent or if it's not visible;
  11310. switched to using Visible property instead of is_visible field
  11311. since the property also considers parent states. This fixes a bug
  11312. when starting Paint.Net
  11313. 2006-02-02 Jackson Harper <[email protected]>
  11314. * Form.cs: If the forms handle hasn't been created yet don't call
  11315. into xplatui to make it top most, just set the topmost flag on the
  11316. form in CreateParams
  11317. * XplatUIX11.cs: Handle WS_EX_TOPMOST.
  11318. 2006-02-01 Jackson Harper <[email protected]>
  11319. * ScrollableControl.cs: Refactored the Recalculate method a
  11320. little, this wasn't handling all the variants of bottom and right
  11321. bars needed to be added and added/removed based on their
  11322. counterparts being added/removed (which changes the drawable
  11323. size). Also we special case client widths and heights of 0 and
  11324. don't add the scrollbar for those.
  11325. 2006-02-01 Peter Dennis Bartok <[email protected]>
  11326. * XplatUIX11.cs:
  11327. - Added method to get AbsoluteGeometry(); currently unused, but might
  11328. be used in the future, if we try again to figure out toplevel
  11329. coordinates with some more crappy window managers
  11330. - Added FrameExtents() method to retrieve the WM set decoration size
  11331. - Tried to fix up AddConfigureNotify and handling of ReparentNotify
  11332. to deal with at least KDE, FVWM and metacity (Fixes #77092)
  11333. * Hwnd.cs:
  11334. - Added whacky_wm tracking var for metacity
  11335. - Added logic to have default menu height if the actual menu height
  11336. has not yet been calculated (part of fix for #77426)
  11337. * Form.cs: Keep track whether client size has been set and re-set
  11338. it if a menu is added/removed afterwards (Fixes #77426)
  11339. 2006-01-31 Jackson Harper <[email protected]>
  11340. * Control.cs: When a new Site is set on the component attempt to
  11341. pull the AmbientProperties from it.
  11342. 2006-01-31 Peter Dennis Bartok <[email protected]>
  11343. * ThemeWin32Classic.cs: Menu background is drawn in ColorMenu, not
  11344. in the background of the owning form. Fixes #77332
  11345. 2006-01-31 Alexander Olk <[email protected]>
  11346. * MimeIcon.cs: Fix for #77409
  11347. 2006-01-31 Alexander Olk <[email protected]>
  11348. * XplatUIX11GTK.cs: Initial import
  11349. 2006-01-31 Jordi Mas i Hernandez <[email protected]>
  11350. * FixedSizeTextBox: fixes class signature
  11351. 2006-01-30 Jackson Harper <[email protected]>
  11352. * FixedSizeTextBox.cs: New internal class that represents a
  11353. textBox that will not be scaled.
  11354. * TreeView.cs:
  11355. * ComboBox.cs:
  11356. * UpDownBase.cs: Use the new FixedSizeTextBox instead of a
  11357. standard TextBox.
  11358. 2006-01-30 Peter Dennis Bartok <[email protected]>
  11359. * XplatUIX11.cs: Retrieve default screen number instead of
  11360. assuming 0. Attempted fix for #77318
  11361. 2006-01-30 Peter Dennis Bartok <[email protected]>
  11362. * XplatUIWin32.cs:
  11363. - GetWindowPos: When a window is parented by FosterParent, use
  11364. the desktop instead of FosterParent as the base to get coordinates
  11365. - CreateWindow: Don't make FosterParent the parent window for Popups
  11366. if we don't want a taskbar entry, Popups automatically don't get one
  11367. * Hwnd.cs: Need to call remove to actually remove the key from the
  11368. hash table
  11369. 2006-01-30 Mike Kestner <[email protected]>
  11370. * MenuAPI.cs: adjust MainMenu item popup location to y=0.
  11371. 2006-01-30 Jackson Harper <[email protected]>
  11372. * TreeView.cs:
  11373. * TreeNode.cs: Raise events no matter how the treenode is
  11374. checked. Patch by Don Edvalson.
  11375. 2006-01-30 Jackson Harper <[email protected]>
  11376. * TreeNode.cs: Signature fix.
  11377. 2006-01-29 Alexander Olk <[email protected]>
  11378. * ThemeClearlooks.cs: Fixed a crash in ProgressBar drawing.
  11379. 2006-01-20 Mike Kestner <[email protected]>
  11380. * Form.cs: Add ActiveTracker property to do Captures and perform mouse
  11381. event forwarding when menus are active.
  11382. * MenuAPI.cs: kill the GrabControl hack. Use Form.ActiveTracker.
  11383. Most of the patch is pdb's with a little rework.
  11384. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11385. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs:
  11386. Removed GetMenuDC and ReleaseMenuDC methods; replaced
  11387. by PaintEventStart(handle, false) and PaintEventEnd(handle, false)
  11388. * Form.cs: Changed WM_NCPAINT handler to use PaintEventStart and End
  11389. * InternalWindowManager.cs: Added use of PaintEventStart/End to
  11390. handling of WM_NCPAINT message, now passing the PaintEventArgs to
  11391. the PaintWindowDecorations method
  11392. * MainMenu.cs: Switched logic from GetMenuDC to PaintEventStart
  11393. * MdiChildContext.cs: Switched logic from GetMenuDC to PaintEventStart
  11394. * MenuAPI.cs: Made tracker window invisible
  11395. * XplatUIWin32.cs:
  11396. - Removed GetMenuDC and ReleaseMenuDC methods
  11397. - Implemented the client=false path for PaintEventStart and
  11398. PaintEventEnd
  11399. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11400. * XplatUIWin32.cs(SetBorderStyle): Fixed3D needs a border
  11401. * XplatUIX11.cs(DeriveWindowStyles): Updated to match fixed Form
  11402. styles
  11403. * Form.cs:
  11404. - MaximizeBox, MinimizeBox: Recreate the handle when setting
  11405. the style
  11406. - CreateParams: Reworked the styles to match MS look'n'feel,
  11407. removed automatic setting of MinimizeBox, MaximizeBox, etc. via
  11408. the WS_OVERLAPPEDWINDOW style. This fixes #76823.
  11409. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11410. * XplatUIX11.cs(GetWindowState): Now throwing an exception when the
  11411. window is not mapped, since otherwise every form that's being
  11412. created is considered minimized, which is wrong.
  11413. * Form.cs: Catching the exception and returning our internal value
  11414. instead
  11415. 2006-01-26 Peter Dennis Bartok <[email protected]>
  11416. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added new driver method
  11417. SetWindowMinMax() to have means to tell the driver about the minimum,
  11418. maximum and maximized state window sizes. (Part of the fix for #76485)
  11419. * Form.cs:
  11420. - Implemented tracking of minimum and maximum window size, now calling
  11421. new SetWindowMinMax() driver method to tell the driver (Part of the
  11422. fix for #76485)
  11423. - Finished handling of WM_GETMINMAXINFO method, now setting all values
  11424. (Completes fix for #76485)
  11425. - Calling new SetWindowMinMax driver method when the handle for a
  11426. form is created, to make sure the driver knows about it even if
  11427. the values have been set before the window was created
  11428. - Now eating the WM_WINDOWPOSCHANGED message if the form is minimized
  11429. to avoid messing up our anchoring calculations (partial fix
  11430. for #77355)
  11431. * XplatUIStructs.cs: Added MINMAXINFO struct (moved from Win32 driver)
  11432. * XplatUIX11.cs:
  11433. - Added _NET_WM_STATE_HIDDEN property for detecting minimized state
  11434. - Improved GetWindowState() to detect 'Minimized' state on Metacity
  11435. (and presumably other freedesktop.org compliant WMs). Left the
  11436. assumption unmapped=minimized, needed for SetVisible to work.
  11437. - Now setting the window state when creating windows
  11438. - Fixed SetVisible to consider/set the window state when mapping
  11439. a Form. We cannot set the state before it's mapped, and we cannot
  11440. use Form.WindowState once it's mapped (since it would ask the
  11441. driver and get 'normal'. Therefore, we grab the state before
  11442. mapping, map, and then set state.
  11443. - Implmemented SetWindowMinMax method; Metacity does not seem to
  11444. honor the ZoomHints, though.
  11445. * XplatUIWin32.cs:
  11446. - Removed MINMAXINFO (moved to XplatUIStructs)
  11447. - Added SetWindowMinMax stub (on Win32 the only way to set that
  11448. information is in response to the WM_GETMINMAXINFO message, which
  11449. is handled in Form.cs)
  11450. - Added logic to SetVisible to set the proper window state when a
  11451. form is made visible (fixes #75720)
  11452. 2006-01-26 Jackson Harper <[email protected]>
  11453. * Control.cs (BeginInvoke): Automagically handle EventHandlers the
  11454. same way we handle them with Invoke.
  11455. 2006-01-25 Peter Dennis Bartok <[email protected]>
  11456. * Form.cs:
  11457. - Added tracking of window state so CreateParams can return
  11458. the appropriate style
  11459. - Moved setting of WS_CAPTION style in CreateParams to allow
  11460. styles without caption
  11461. * DataGridTextBoxColumn.cs: We are now also creating the TextBox
  11462. control if the TextBox property is accessed. Fixes #77345
  11463. * Control.cs:
  11464. - get_Created: now uses is_disposed and is_created to determine
  11465. return value (suggested by Jackson)
  11466. - CreateHandle: No longer exits if the handle is being recreated
  11467. - RecreateHandle: If the handle is not yet created call the
  11468. appropriate method to create either control or handle. If the
  11469. control is already created CreateHandle will simply exit instead
  11470. of just creating the handle
  11471. * Hwnd.cs: Removed expose_pending tracking, no longer needed since we
  11472. now SendMessage WM_DESTROY directly to the control when DestroyWindow
  11473. is called.
  11474. * XplatUIX11.cs:
  11475. - When DestroyWindow is called, instead of waiting for the
  11476. DestroyNotification from X11, we directly post it to the WndProc
  11477. and immediately dispose the hwnd object.
  11478. Same applies to DestroyChildWindows, and this obsoletes the
  11479. expose_pending tracking. Contrary to Win32 behaviour we destroy our
  11480. child windows before our own, to avoid X11 errors.
  11481. - Removed the direct sending of WM_PAINT on UpdateWindow
  11482. * XplatUIWin32.cs:
  11483. - Reworked DoEvents and GetMessage to allow access to internal queue
  11484. even when trying non-blocking access to the queue. Fixes #77335.
  11485. Based on a patch suggestion by Don Edvalson. The new private
  11486. GetMessage can now also be used as a backend for a PeekMessage
  11487. frontend version.
  11488. * XplatUI.cs: Improved debug output for CreateWindow
  11489. 2006-01-25 Jackson Harper <[email protected]>
  11490. * Help.cs: Allow param to be null. Patch by Don Edvalson.
  11491. 2006-01-24 Jackson Harper <[email protected]>
  11492. * ComboBox.cs: Clamp the max value set for the vertical scrollbar
  11493. when we have a MaxDropItems lower then the selected index.
  11494. 2006-01-24 Jackson Harper <[email protected]>
  11495. * Control.cs: Don't allow selection of non visible controls, allow
  11496. selection of controls without parents.
  11497. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  11498. * ThemeWin32Classic.cs: Fixes Datagrid drawing issues
  11499. * DataGridDrawingLogic.cs: Add editing row only when is necessary
  11500. 2006-01-23 Jackson Harper <[email protected]>
  11501. * UpDownBase.cs: Make the textbox handle all the selection and
  11502. tabbing. This fixes tabing to updown controls.
  11503. 2006-01-24 Jordi Mas i Hernandez <[email protected]>
  11504. * TextBoxBase.cs: fixes exception thown the object was null
  11505. 2006-01-23 Jackson Harper <[email protected]>
  11506. * ButtonBase.cs: Just use the base CreateParams. They set
  11507. visibility and enabled correctly.
  11508. * ComboBox.cs:
  11509. * TrackBar.cs:
  11510. * MonthCalendar.cs: Lets let the base set as much of the
  11511. createparams as possible so we don't have duplicate code all over
  11512. the place.
  11513. 2006-01-22 Alexander Olk <[email protected]>
  11514. * ThemeGtk.cs: Added TrackBar and some experimental code to
  11515. get double buffering back
  11516. 2006-01-21 Jordi Mas i Hernandez <[email protected]>
  11517. * DataGrid.cs: Allows row number set internally higher than the last
  11518. when creating a new row. Restores the editing functionality.
  11519. 2006-01-20 Mike Kestner <[email protected]>
  11520. * MimeIcon.cs: delay Image creation until the icons are accessed
  11521. instead of creating 190 scaled images on GnomeHandler startup.
  11522. 2006-01-19 Peter Dennis Bartok <[email protected]>
  11523. * TextBoxBase.cs (WndProc): When handling WM_KEYDOWN we need to
  11524. first call base before processing the event. Fixes #77279
  11525. 2006-01-19 Peter Dennis Bartok <[email protected]>
  11526. * XplatUIWin32.cs, Cursor.cs: Fixed code that wrongly assumed
  11527. that the stride for the GDI bitmap would match the stride of
  11528. a DIB or a Cursor.
  11529. 2006-01-19 Alexander Olk <[email protected]>
  11530. * ThemeGtk.cs: Added ProgressBar, RadioButton, CheckBox
  11531. 2006-01-19 Jackson Harper <[email protected]>
  11532. * ComboBox.cs: Hookup the text controls keydown event so we get
  11533. those when the text control has the focus.
  11534. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11535. * Label.cs: Now using the base events instead of defining new ones;
  11536. this allows us to just call the base properties without having to
  11537. duplicate all base property logic
  11538. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11539. * Label.cs: A label by default is not a tabstop (Fixes one of our
  11540. failing nunit tests)
  11541. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11542. * XplatUIWin32.cs: Fixed wrong DoEvents logic. Fixes #77282
  11543. * XplatUIX11.cs: Removed WM_PAINT check from DoEvents. Fixes #77282
  11544. 2006-01-18 Peter Dennis Bartok <[email protected]>
  11545. * Cursor.cs: Reimplemented creating cursor bitmaps without using
  11546. the Bitmap(Stream) constructor which is semi-broken on MS GDI+.
  11547. This fixes #77218
  11548. * XplatUIWin32.cs:
  11549. - Reimplemented creating Bitmaps from DIBs since the Bitmap(Stream)
  11550. constructor creates images that can't be saved. Part of the fix
  11551. for #76103
  11552. - Added handling of CF_BITMAP as CF_DIB to clipboard code (Fixes #76103)
  11553. - SetWindowState: Switched ShowWindow flags (part of an upcoming
  11554. bug fix for handling window state in forms properly)
  11555. 2006-01-18 Alexander Olk <[email protected]>
  11556. * ThemeGtk.cs: Simplify ScrollBar drawing
  11557. 2006-01-18 Jackson Harper <[email protected]>
  11558. * Splitter.cs: Set the default dock style for the splitter control
  11559. in the constructor.
  11560. 2006-01-18 Alexander Olk <[email protected]>
  11561. * ThemeGtk.cs: Corrected StateType and ShadowType for
  11562. gtk_paint_box
  11563. 2006-01-18 Alexander Olk <[email protected]>
  11564. * Control.cs: Make use of Theme.DoubleBufferingSupported
  11565. * ThemeGtk.cs:
  11566. - Added drawing for flat style buttons
  11567. - Added ScrollBar drawing
  11568. 2006-01-18 Alexander Olk <[email protected]>
  11569. * ThemeClearlooks.cs: Removed some unneeded code.
  11570. * ThemeGtk.cs: First part of ThemeGtk enhancements.
  11571. 2006-01-17 Peter Dennis Bartok <[email protected]>
  11572. * LinkLabel.cs: We need to update the hover drawing when
  11573. leaving the control as well.
  11574. 2006-01-18 Jordi Mas i Hernandez <[email protected]>
  11575. * DataGrid.cs: Clicking on non empty areas in the columns
  11576. area was giving an exception
  11577. 2006-01-17 Jackson Harper <[email protected]>
  11578. * ThemeWin32Classic.cs:
  11579. * ListView.cs: Do not draw/clip the headers when the header style
  11580. is None.
  11581. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  11582. * DataGrid.cs: Fixes 77260
  11583. 2006-01-17 Jordi Mas i Hernandez <[email protected]>
  11584. * DataGrid.cs: Clicking on a column on a empty grid was giving
  11585. an exception
  11586. 2006-01-17 Peter Dennis Bartok <[email protected]>
  11587. * DataGrid.cs (OnKeyDown): Don't use the array if it's empty
  11588. or any keypress will crash the grid.
  11589. 2006-01-17 Mike Kestner <[email protected]>
  11590. * MainMenu.cs (OnMenuChanged): set Height=0 to cause relayout.
  11591. * ThemeWin32Classic.cs (CalcItemSize): clear Height/Width for
  11592. invisible/previously-visible items.
  11593. [Fixes #76909]
  11594. 2006-01-17 Alexander Olk <[email protected]>
  11595. * ThemeClearlooks.cs:
  11596. - Added CL_Draw_Button method; now other theme controls that are
  11597. not derived from button or do not have a button can draw buttons
  11598. too
  11599. - Updated ComboBox drawing
  11600. - Beautified RadioButton drawing
  11601. - Corrected drawing of bottom and left tabs
  11602. - Beautified DateTimePicker and MonthCalendar
  11603. - Added CPDrawButton and CPDrawRadioButton
  11604. 2006-01-16 Jackson Harper <[email protected]>
  11605. * ComboBox.cs: Set the initial value of the scrollbar to the
  11606. current index. Reduce the numbers of refreshs and IndexOfs called.
  11607. 2006-01-14 Alexander Olk <[email protected]>
  11608. * FileDialog.cs: When the file listview is focused hitting the
  11609. backspace key moves the fileview to the parent directory
  11610. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11611. * Form.cs:
  11612. - Added RecreateHandle call when changing taskbar visibility to
  11613. trigger reparenting in Win32 driver (Fixes #75719)
  11614. - If a window has minimize or maximize buttons, it cannot have
  11615. a help button
  11616. * XplatUIWin32.cs:
  11617. - CreateWindow: When no WS_EX_APPWINDOW style is found we parent
  11618. the toplevel form with FosterParent (A toolwindow not on the
  11619. taskbar) (Fixes #75719)
  11620. - Made FosterParent a toolwindow
  11621. 2006-01-13 Alexander Olk <[email protected]>
  11622. * FileDialog.cs: Don't crash if InitialDirectory doesn't exist
  11623. 2006-01-13 Alexander Olk <[email protected]>
  11624. * ToolTip.cs: If SetToolTip is called from a control and the mouse
  11625. is currently over that control, make sure that tooltip_window.Text
  11626. gets updated
  11627. 2006-01-13 Mike Kestner <[email protected]>
  11628. * MimeIcon.cs: size_t on lp64 fix for gdk_pixbuf_save_to_file extern.
  11629. 2006-01-13 Jackson Harper <[email protected]>
  11630. * TreeView.cs: On MS GetNodeAt never actually factors in the X
  11631. value passed. Also redraw the selected node when we recieve
  11632. focus, so tabbing between trees works correctly.
  11633. 2006-01-13 Alexander Olk <[email protected]>
  11634. * MimeIcon.cs: GnomeHandler: older gnome versions don't have
  11635. ~/.gconf/%gconf-tree.xml, so use
  11636. .gconf/desktop/gnome/interface/%gconf.xml
  11637. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11638. * TextControl.cs: Draw text in gray if control is disabled
  11639. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11640. * TreeView.cs: Draw the focus rectangle outside the highlight, to
  11641. make sure it's always visible. Fixes #76680.
  11642. 2006-01-13 Peter Dennis Bartok <[email protected]>
  11643. * TreeView.cs: Implemented Wheel scrolling. Fixes #76531
  11644. 2006-01-13 Jonathan Chambers <[email protected]>
  11645. * PageSetupDialog.cs: Added.
  11646. * PrintDialog.cs: Attributes.
  11647. * PrintPreviewControl.cs: Updates.
  11648. * PrintPreviewDialog.cs: Updates.
  11649. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11650. * Control.cs: Undid my selection check fix, since it's not needed
  11651. * TextBoxBase.cs:
  11652. - Now considering the presence of hscroll/vscroll when sizing
  11653. vscroll/hscroll respectively. Fixed bug #77077
  11654. - Added Left/Up/Down/Right to IsInputKey list to prevent
  11655. ContainerControl from stealing them. This fixes what I broke
  11656. with my last checkin.
  11657. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11658. * ScrollableControl.cs: Implemented dockpadding. Fixes #77166. And
  11659. I finally understand how the property can be set without a setter :-)
  11660. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11661. * Application.cs:
  11662. - Switched RunLoop to use static Message.Create to create a
  11663. Message object
  11664. - Added PreProcessMessage call in runloop for keyboard events; this
  11665. is part of the fix for #77219, I overlooked this originally in the
  11666. MSDN doc for PreProcessMessage
  11667. * Control.cs:
  11668. - Removed call to PreProcessMessage from handling of keyboard
  11669. messages; it's supposed to be done in the message pump
  11670. - Moved call to ProcessKeyEventArgs inside ProcessKeyMessage as
  11671. per MSDN documentation.
  11672. - IsInputChar: All chars are input chars by default; removed the
  11673. parent calling chain, MS does not document that
  11674. - PreProcessMessage: If IsInputChar is true, we want to return false
  11675. to allow dispatching of the message
  11676. - When selecting the next control, now also check that we're not
  11677. selecting ourselves again and therefore return a false positive.
  11678. * TextBoxBase.cs:
  11679. - Tried to match return values for IsInputKey and ProcessDialogKey
  11680. to what MS returns; moved processing of our special keys outside
  11681. ProcessDialogKey since MS does not seem to return true on those.
  11682. - Moved code that previously was in ProcessDialogKey into new private
  11683. ProcessKey method, which gets called upon receipt of WM_KEYDOWN
  11684. - Reworked handling of WM_CHAR to not have to duplicate code from
  11685. Control.cs anymore, instead we simply call down to base.
  11686. 2006-01-12 Jackson Harper <[email protected]>
  11687. * ComboBox.cs: We always need to refresh the text area when
  11688. EndUpdate is called. Fixes the combobox in the file dialog.
  11689. * Control.cs: Don't create the creator_thread until the controls
  11690. handle is created. Also in InvokeRequired we check if the
  11691. creator_thread is null. This gives the effect of InvokeRequired
  11692. returning true if the controls handle is not created yet, and
  11693. matches MS.
  11694. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11695. * XplatUI.cs:
  11696. - Added StartLoop() driver method. This is used to allow drivers to
  11697. prepare for an upcoming GetMessage/TranslateMessage/DispatchMessage
  11698. loop for a particular thread
  11699. - Added EndLoop() driver method. This is called once the message
  11700. pump for the thread is shut down
  11701. - Added SupportsTransparency method to allow the driver to indicate
  11702. opacity support for windows
  11703. * Form.cs:
  11704. - Removed TODO attribute, completed AllowTransparency property
  11705. - Added documented logic to Opacity
  11706. * GroupBox.cs, Label.cs, LinkLabel.cs, PropertyGrid.cs, Control.cs,
  11707. ButtonBase.cs, CheckedListBox.cs: Combined Jackson's and Miguel's
  11708. versions of CompatibleTextRendering
  11709. * X11Structs.cs: Added opacity atom to our atom enumeration
  11710. * Hwnd.cs: Added opacity tracking (we need to track since the opacity
  11711. of a form might be set before it's reparented by the WM, and we need
  11712. the opacity value without calling up to Form)
  11713. * XplatUIDriver.cs: Added StartLoop(), EndLoop() and
  11714. SupportsTransparency() driver methods
  11715. * Application.cs: Now calling StartLoop and EndLoop driver methods
  11716. * XplatUIX11.cs:
  11717. - Added opacity atom registration
  11718. - Added StartLoop()/EndLoop() methods. They're empty right now but
  11719. will need to get implemented when we switch to a per-thread queue
  11720. - Implemented SupportsTransparency() method
  11721. - Implemented SetWindowTransparency() method
  11722. - Added support for setting the opacity value when a window is
  11723. reparented (since the opacity needs to be set on the WM frame)
  11724. * XplatUIOSX.cs, XplatUIWin32.cs:
  11725. - Added SupportsTransparency(), StartLoop() and EndLoop() methods
  11726. 2006-01-12 Alexander Olk <[email protected]>
  11727. * ThemeClearlooks.cs: Don't crash if TabControl.Parent is null.
  11728. 2006-01-12 Alexander Olk <[email protected]>
  11729. * FileDialog.cs: Added ToolTip for MWFFileView
  11730. * MimeIcon.cs: Rewrote GnomeHandler.
  11731. - Get currently used gnome icon theme from
  11732. ($HOME)/.gconf/%gconf-tree.xml
  11733. - Make use of inherited icon themes
  11734. - Support SVG icon themes like Tango via librsvg
  11735. 2006-01-12 Miguel de Icaza <[email protected]>
  11736. Revert's Jackson's revert which broke 2.0 builds. Fix both
  11737. builds.
  11738. * Application.cs: Move the use_compatible_text_rendering outside
  11739. the NET_2_0 define. If we ever need to use the
  11740. use_compatible_text_rendering on the individual controls they will
  11741. access the variable from the common shared code paths.
  11742. 2006-01-12 Peter Dennis Bartok <[email protected]>
  11743. * XplatUI.cs:
  11744. - Added more granular debug options
  11745. - Added method to print both window text and id
  11746. - Switched debug output to use new Window() debug method
  11747. - Added IsEnabled() driver method
  11748. - Added EnableWindow() driver method
  11749. * Form.cs:
  11750. - Removed end_modal; no longer needed, new loop handles termination
  11751. via 'closing' variable
  11752. - If form is modal, setting DialogResult will now initiate loop
  11753. termination via 'closing' variable
  11754. - Added support for is_enabled/WS_DISABLED to CreateParams
  11755. - Close() now just send the WM_CLOSE message; the WM_CLOSE handler
  11756. does all the work
  11757. - Removed code that's now in RunLoop from ShowDialog()
  11758. - Added various documented sanity checks to ShowDialog()
  11759. - Added handling of WM_DESTROY message; we set 'closing' on getting
  11760. the message to indicate the message pump to terminate
  11761. - Added handling of new internal WM_CLOSE_INTERNAL message - it's
  11762. send by the Application.ExitThread method. (We send the message
  11763. to destroy the window after all other events have been
  11764. processed through the queue, instead of destroying the handle
  11765. directly)
  11766. - Moved code from Close() method to WM_CLOSE handler; added logic
  11767. to only send close-related events if the form is not displayed
  11768. modal
  11769. * Splitter.cs (..ctor): Fixed typo in resource name
  11770. * Control.cs:
  11771. - DrawBackgroundImage: Explicitly selecting the wrap mode for the
  11772. brush now
  11773. - set_Cursor: Now only setting calling into XplatUI if the handle for
  11774. the control is already created; this avoids implict handle creation
  11775. or crashes if it's not created
  11776. - set_Enabled: Now setting the enabled state via the new driver method
  11777. instead of just tracking it
  11778. - CreateParams: Added logic to set WS_DISABLED based on enabled state
  11779. - CreateControl: Reordered event firing and method calls to more
  11780. closely fire events in the order MS does. Now setting the
  11781. enabled state in the driver when creating the control.
  11782. - SetVisibleCore: Moved when the OnVisibleChanged event is fired to
  11783. match MS order
  11784. * FolderBrowserDialog.cs, MessageBox.cs, ButtonBase.cs, TrackBar.cs,
  11785. MonthCalendar.cs: get_CreateParams: Added setting of WS_DISABLED
  11786. * XplatUIStructs.cs: Added internal WM_CLOSE_INTERNAL mesage id
  11787. * Hwnd.cs:
  11788. - Added tracking of window enabled state (get_Enabled/set_Enabled)
  11789. - Added EnabledHwnd property to easily allow a driver to find the
  11790. handle of the first enabled window in the parent chain (this is
  11791. used by drivers to pass up input events of disabled windows)
  11792. * XplatUIDriver.cs: Added IsEnabled() method
  11793. * Application.cs:
  11794. - Removed crude and obsolete exiting tracking variable
  11795. - Removed internal ModalRun(); replaced by RunLoop()
  11796. - Implemented private CloseForms() method to allow closing all
  11797. windows owned by a particular (or all) threads
  11798. - Exit() now properly closes all windows without forcing the message
  11799. pump to quit
  11800. - Removed obsolete InternalExit() method
  11801. - Changed Run() methods to use new RunLoop() message pump
  11802. - Implemented new RunLoop() method for both modal and non-modal forms
  11803. * CommonDialog.cs:
  11804. - get_CreateParams: Added setting of WS_DISABLED
  11805. - Simplified ShowDialog(); now all the work is done in RunLoop(),
  11806. invoked via Form.ShowDialog()
  11807. * NativeWindow.cs: We don't remove the window from the collection when
  11808. the handle is destroyed; there might still be messages for it in the
  11809. queue (mainly the resulting WM_DESTROY); instead it will be removed
  11810. when Control calls InvalidateHandle in the WM_DESTROY handler
  11811. * XplatUIX11.cs:
  11812. - CreateWindow: Added logic to handle the WS_DISABLED window style
  11813. - EnableWindow: Implemented based on Hwnd.Enabled
  11814. - GetMessage: Reset PostQuitState so the method can be called again
  11815. - Implemented support for disabled windows (passing messages to the
  11816. first enabled parent) in handling all input messages
  11817. - Added optimizations for handling Expose events
  11818. - Implemeted new driver method IsEnabled()
  11819. - Now always resetting paint pending tracking vars when we start paint
  11820. - Re-implemented UpdateWindow via just sending a WM_PAINT message
  11821. * XplatUIOSX.cs: Added IsEnabled method stub
  11822. * XplatUIWin32.cs: Implemented new IsEnabled() method
  11823. 2006-01-11 Jackson Harper <[email protected]>
  11824. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  11825. LinkLabel.cs, PropertyGrid.cs: Unbreak 1.1 build. Consolidate the
  11826. variables a little.
  11827. * ColorDialog.cs: Clear out the old form before adding the new
  11828. panel.
  11829. 2006-01-11 Jackson Harper <[email protected]>
  11830. * X11Dnd.cs: Make sure to add all the text formats when adding
  11831. strings to the data object.
  11832. * TreeNodeCollection.cs: When adding to a sorted tree we need to
  11833. do some redrawing too. Also change the UpdateNode to an
  11834. UpdateBelow so the newly added node gets painted.
  11835. 2006-01-11 Miguel de Icaza <[email protected]>
  11836. * ButtonBase.cs, CheckedListBox.cs, GroupBox.cs, Label.cs,
  11837. LinkLabel.cs, PropertyGrid.cs: Implement the
  11838. UseCompatibleTextRendering property for 2.x
  11839. * Application.cs (SetCompatibleTextRenderingDefault): Add.
  11840. 2006-01-11 Jackson Harper <[email protected]>
  11841. * TreeView.cs: Use the property for setting the selected node so
  11842. the correct events get raised.
  11843. * TreeNode.cs: Update the tree when the fore/back colours of a
  11844. node are set.
  11845. 2006-01-10 Jackson Harper <[email protected]>
  11846. * TreeView.cs: Allow setting SelectedNode to null.
  11847. 2006-01-9 Jonathan Chambers <[email protected]>
  11848. * Form.cs: Fix support for Form TransparencyKey and Opacity on Windows.
  11849. 2006-01-9 Jonathan Chambers <[email protected]>
  11850. * PrintControllerWithStatusDialog.cs: Update page number in dialog.
  11851. 2006-01-9 Jonathan Chambers <[email protected]>
  11852. * PrintDialog.cs: Added attributes and set default property values.
  11853. 2006-01-9 Jonathan Chambers <[email protected]>
  11854. * PrintControllerWithStatusDialog.cs:
  11855. Added PrintControllerWithStatusDialog.
  11856. 2006-01-9 Jonathan Chambers <[email protected]>
  11857. * XplatUI.cs, Form.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  11858. XplatUIWin32.cs: Added support for Form TransparencyKey and Opacity on Windows.
  11859. 2006-01-9 Jonathan Chambers <[email protected]>
  11860. * ComboBox.cs: Fix crash when there is no selected item (due to last commit)
  11861. 2006-01-09 Jonathan Chambers <[email protected]>
  11862. * ComboBox.cs: Added KeyDown event handler for processing arrow keys
  11863. and PgUp/PgDown. Also, scroll to selected item upon dropdown. Bugs 76857 and 76788.
  11864. 2006-01-08 Alexander Olk <[email protected]>
  11865. * MimeIcon.cs: Added internal class SVGUtil.
  11866. 2006-01-08 Alexander Olk <[email protected]>
  11867. * FileDialog.cs: Don't crash if there are two files with the
  11868. same name but different locations.
  11869. 2006-01-08 John BouAntoun <[email protected]>
  11870. * MonthCalendar.cs: Fixed annoying rendering bug when selecting
  11871. dates across multiple month grids. Used to not highlight entire
  11872. month, but does now.
  11873. 2006-01-06 Jackson Harper <[email protected]>
  11874. * MonthCalendar.cs: Removed DoEvents call to prevent a running
  11875. message loop. Change timer intervals to numbers that seem more
  11876. natural.
  11877. 2006-01-06 John BouAntoun <[email protected]>
  11878. * DateTimePicker.cs: Modified CalculateDropDownLocation to use the screen
  11879. object for location info since screen object is now implemented.
  11880. 2006-01-05 Jackson Harper <[email protected]>
  11881. * AsyncMethodData.cs: Check if the call is complete before doing a WaitOne
  11882. * AsyncMethodResult.cs: We no longer use a WeakReference for the
  11883. AsyncMethodResult, this is because we ALWAYS want the
  11884. ManualResetEvent to get set.
  11885. * Control.cs: When disposing use an async invoke to call shutdown
  11886. code, so that thigns don't block on the finalizer thread. Also
  11887. check if we even have a message loop before trying to send
  11888. messages, if we don't then don't bother sending messages.
  11889. - No more weak references for async methods
  11890. * XplatUIDriver.cs: No more weak references for async methods.
  11891. 2006-01-04 Alexander Olk <[email protected]>
  11892. * FontDialog.cs: Fix, don't throw an exception if FontFamily.Families
  11893. returns two FontFamily with the same name
  11894. 2006-01-04 Peter Dennis Bartok <[email protected]>
  11895. * ThemeWin32Classic.cs, ThemeClearlooks.cs: Dropped stupid scheme of
  11896. drawing disabled text. Instead using the ColorGrayText color
  11897. 2006-01-04 Jackson Harper <[email protected]>
  11898. * TreeNode.cs: redraw the node when its image index is changed.
  11899. 2006-01-04 Peter Dennis Bartok <[email protected]>
  11900. * RichTextBox.cs: Same fix as last, just for SelectionColor. This
  11901. time I checked there are no others like it.
  11902. 2006-01-04 Jackson Harper <[email protected]>
  11903. * AsyncMethodResult.cs: Use a ManualResetEvent instead of a mutex,
  11904. this gives the behavoir I was looking for.
  11905. * Control.cs: Special case Invoking EventHandlers, this matches MS
  11906. and fixes part of bug #76326.
  11907. 2006-01-04 Alexander Olk <[email protected]>
  11908. * ThemeClearlooks.cs, FileDialog.cs:
  11909. - Reflect the latest Theme class changes
  11910. - Remove Mono.Unix.Syscall.time in FileDialg and replace it
  11911. with DateTime
  11912. 2006-01-04 Alexander Olk <[email protected]>
  11913. * Theme.cs: Cache UI resource images and resize them if needed
  11914. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11915. * RichTextBox.cs: FormatText is 1-based, make it so when SelectionFont
  11916. is called. This fixes the crash in Nexxia when setting the font
  11917. attributes in the chat. [However, RTF needs a look-over to make sure
  11918. that all SelectionXXX methods handle the special case that selection
  11919. is empty and therefore the change must be applied to all text starting
  11920. at the cursor/selection start]
  11921. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11922. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  11923. XplatUIOSX.cs: Added SendMessage and PostMessage methods
  11924. * X11Keyboard.cs: Switched to new way of calling PostMessage
  11925. 2006-01-03 Peter Dennis Bartok <[email protected]>
  11926. * Theme.cs: Added theme interface for images to allow the theme to
  11927. control what images are used for things like FileDialog, MessageBox
  11928. icons, etc.
  11929. * MessageBox.cs: Now uses the new Theme icon/image interfaces
  11930. 2006-01-03 Alexander Olk <[email protected]>
  11931. * FileDialog.cs:
  11932. - Removed some dead code
  11933. - Opening a recently used file does work now
  11934. - Small UI enhancements
  11935. - Refactoring
  11936. 2006-01-02 Alexander Olk <[email protected]>
  11937. * FileDialog.cs: Forgot too add __MonoCS__
  11938. 2006-01-02 Alexander Olk <[email protected]>
  11939. * FileDialog.cs: We are able to read recently used files now let's
  11940. go on and write them.
  11941. 2006-01-01 Alexander Olk <[email protected]>
  11942. * FileDialog.cs: Breathe some life into "last open"/"recently used"
  11943. button
  11944. * MimeIcon.cs: Do a check for the top level media type also
  11945. 2005-12-31 Alexander Olk <[email protected]>
  11946. * ThemeClearlooks.cs:
  11947. - Added CPDrawStringDisabled
  11948. - ButtonBase_DrawText: Workaround for a DrawString bug; cut off
  11949. some chars if the text doesn't fit into text_rect
  11950. - DrawListViewItem: If View = View.LargeIcon center the image;
  11951. rewrote the drawing of ListViewItem.Text if View =
  11952. View.LargeIcon
  11953. 2005-12-31 Alexander Olk <[email protected]>
  11954. * MimeIcon.cs: Use default KDE icon theme if there is no
  11955. "48x48" directory for the current icon theme, fixes #77114
  11956. * Mime.cs: Disable not working and actually not used code.
  11957. * ThemeWin32Classic.cs:
  11958. - Replace "new SolidBrush" in GetControlBackBrush and
  11959. GetControlForeBrush with ResPool.GetSolidBrush
  11960. - Changed DrawListViewItem from private to protected virtual
  11961. * FileDialog.cs:
  11962. - Added form.MaximizeBox = true
  11963. - Don't throw an exception if there is a broken symbolic link
  11964. 2005-12-23 Jackson Harper <[email protected]>
  11965. * TabControl.cs: Give the panels focus, keyboard navigation is
  11966. fixed so this works correctly now.
  11967. - We need these key events also.
  11968. * ToolBar.cs: Remove some of the poor mans double buffering.
  11969. 2005-12-24 Alexander Olk <[email protected]>
  11970. * ComboBox.cs: The internal TextBox now returns the focus.
  11971. 2005-12-23 Jackson Harper <[email protected]>
  11972. * ThemeWin32Classic.cs: Draw the text for all tab appearances.
  11973. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11974. * Control.cs: Removed debug code
  11975. * XplatUIX11.cs: Changed DestroyChildWindows to also consider
  11976. implicit children
  11977. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11978. * Control.cs: When creating the control, update the Z-order after
  11979. all it's children are created, too. (Fixes nexxia not showing
  11980. picturebox bug)
  11981. 2005-12-23 Peter Dennis Bartok <[email protected]>
  11982. * Control.cs: Do not update the anchoring distances if layout is
  11983. suspended, instead do it once layout is resumed
  11984. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11985. * Control.cs:
  11986. - After many hours of debugging, for both Jackson and
  11987. myself, it turns out that it helps to set the parent of a control
  11988. if you want to actually see it onscreen. In the spirit of that
  11989. discovery, we're now setting the parent of the control and
  11990. it's children when the control's handle is created. This fix
  11991. will make Lutz Roeder's Reflector run happily.
  11992. - now just creating the handle instead of the whole control when
  11993. getting a graphics context for the control.
  11994. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11995. * ScrollableControl.cs: When calculating the canvas, don't consider
  11996. the scrollbar widths. Instead, predict if horizontal scrollbar
  11997. will affect canvas when deciding on vertical display and vice versa.
  11998. 2005-12-22 Peter Dennis Bartok <[email protected]>
  11999. * RichTextBox.cs: Set default RTF font for documents that don't
  12000. have a font table (Fixes #77076)
  12001. 2005-12-22 Jackson Harper <[email protected]>
  12002. * TextBoxBase.cs: It's difficult to do, but you can have an empty
  12003. clipboard. This prevents a NullRef in that case.
  12004. * XplatUIX11.cs: Use CLIPBOARD not PRIMARY for our
  12005. clipboard. PRIMARY is for the currently selected text only. (We
  12006. should implement PRIMARY at some point.
  12007. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12008. * XplatUIWin32.cs: Fixed the TEXTMETRIC structure, we were calling
  12009. a Unicode function with a structure that was defined in Ansi way.
  12010. This fixes #76942.
  12011. 2005-12-21 Jackson Harper <[email protected]>
  12012. * StatusBar.cs: Statusbar handles its fore/back colours on it's
  12013. on. Because thats how it rolls. (and this avoids it using ambient
  12014. colours).
  12015. * ThemeWin32Classic.cs: Use the proper back color for filling.
  12016. * Menu.cs: Use the system menu bar color for drawing menu
  12017. bars. Using the window back color will bring ambient colours into
  12018. the picture.
  12019. 2005-12-21 Alexander Olk <[email protected]>
  12020. * ColorDialog.cs: Fixed a memory leak that caused a SIGSEV. A lot of
  12021. Bitmaps were created and not disposed.
  12022. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12023. * Control.cs (CreateControl): Don't do anything if the control is
  12024. already created, otherwise we'd fire the OnCreated event more than
  12025. once
  12026. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12027. * ComboBox.cs (FindStringCaseInsensitive): Don't search for emtpy strings,
  12028. will always match. Instead return -1. Fixes #76464.
  12029. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12030. * TextControl.cs (RecalculateLine): Only wrap if the wrap point is
  12031. neither the beginning nor the end of the line (Fixes bug #76479)
  12032. 2005-12-21 Peter Dennis Bartok <[email protected]>
  12033. * Control.cs:
  12034. - ControlNativeWindow.ControlFromHandle(): Now handling situation
  12035. where handle is invalid
  12036. - FromHandle(): Now using hashtable-based ControlFromHandle() lookup
  12037. instead of slower linear search
  12038. * NativeWindow.cs: Don't remove the window from the hashtable until
  12039. after the driver has destroyed it (since the driver might use
  12040. Control.FromHandle to lookup the control object
  12041. * Hwnd.cs: Added DestroyPending property to track if a window is
  12042. already destroyed as far as the driver is concerned and only hasn't
  12043. yet notified the control
  12044. * XplatUIX11.cs:
  12045. - Activate(): Check if the window is still valid before using the
  12046. handle
  12047. - Implemented DestroyChildWindow() method to mark child windows as
  12048. destroyed when a window is destroyed. This prevents situations
  12049. where we might call an X method based on queued events for a
  12050. window that already has been destroyed but we haven't yet pulled
  12051. the destroy method from the queue.
  12052. - Added a call to the new DestroyChildWindow() method to the drivers
  12053. DestroyWindow code. Also now marking the destroyed window itself
  12054. as pending
  12055. 2005-12-20 Jackson Harper <[email protected]>
  12056. * StatusBar.cs:
  12057. * StatusBarPanel.cs: Don't calculate panel sizes on draw
  12058. anymore. Just do them when needed, also track the rects of panels
  12059. so that we can optimize refreshing more in the future.
  12060. 2005-12-20 Alexander Olk <[email protected]>
  12061. * ColorDialog.cs: Fixed focus drawing in small color controls
  12062. 2005-12-19 Jackson Harper <[email protected]>
  12063. * InternalWindowManager.cs:
  12064. * MdiWindowManager.cs: Cleanup some coordinate system changes so
  12065. moving windows works properly.
  12066. 2005-12-19 Peter Dennis Bartok <[email protected]>
  12067. * Control.cs:
  12068. - Removed call to InitLayout() from SetBoundsCore(); doc says
  12069. it's only called when a control is added to a container
  12070. - Split InitLayout logic, moved to separate UpdateDistances() method
  12071. since we need to perform those calculations more often than just
  12072. when adding the control to a container. (Needed to fix #77022)
  12073. - Now calling UpdateDistances() from UpdateBounds() (fixes #77022)
  12074. - Reduced the OnBindingContextChanged events count, don't send them
  12075. unless the control is created, we still aren't totally matching
  12076. MS, but I can't quite figure out some of their rules
  12077. 2005-12-18 Alexander Olk <[email protected]>
  12078. * ThemeClearlooks.cs: Corrected distance between ProgressBar
  12079. stripes
  12080. 2005-12-18 Alexander Olk <[email protected]>
  12081. * ThemeClearlooks.cs:
  12082. - Updated ProgressBar drawing
  12083. - Corrected drawing of ScrollBars and scroll buttons
  12084. - Some temporary fixes for minor pixel artefacts
  12085. 2005-12-18 Peter Dennis Bartok <[email protected]>
  12086. * Control.cs:
  12087. - Reworked Controls.Add(), Controls.Remove() and set_Parent() to
  12088. cause events to be sent in the same order as MS does.
  12089. - Added ChangeParent() method to trigger various OnXXXChanged events
  12090. that need to be fired when a parent changes (This is a reworking
  12091. of the patch from r54254, with the X11 errors fixed)
  12092. - Removed SuspendLayout()/ResumeLayout() calls from Controls.Clear()
  12093. since on MS we get OnLayoutChanged events when calling Clear()
  12094. - Changed Enabled property to consider parent state as well, if a
  12095. parent is not enabled, the control will not be either
  12096. - Changed Parent property to simply call Controls.Add() since that
  12097. now does all the work required, this way we avoid code duplication
  12098. - Threw in a few OnBindingsContextChanged calls to try and match
  12099. when MS sends them. We seem to send a few too many, though.
  12100. - Added call to CreateControl when adding the control to a parent.
  12101. We were never calling CreateControl. Still needs some work, in
  12102. some places we treat HandleCreated and ControlCreated as equal,
  12103. which is wrong
  12104. - Removed obsolete commented out code from UpdateZOrder()
  12105. 2005-12-18 Alexander Olk <[email protected]>
  12106. * ThemeClearlooks.cs: Updated TrackBar drawing.
  12107. 2005-12-17 Alexander Olk <[email protected]>
  12108. * FileDialog.cs: Patch for #76901 by Atsushi Enomoto
  12109. 2005-12-17 Alexander Olk <[email protected]>
  12110. * FileDialog.cs: Add the Help button and the open readonly
  12111. checkbox only if needed
  12112. 2005-12-16 Jackson Harper <[email protected]>
  12113. * Control.cs: Make sure we have an active menu before trying to
  12114. process commands on it. Prevents menu-less forms from crashing
  12115. when Alt is pressed.
  12116. * TreeNodeCollection.cs: Some fixes to prevent null refs. Patch by
  12117. Dieter Bremes.
  12118. * RichTextBox.cs: Expand statement to help out gmcs and fix the
  12119. 2.0 build.
  12120. 2005-12-16 Jackson Harper <[email protected]>
  12121. * InternalWindowManager.cs: Don't translate tool windows screen
  12122. coordinates. This fixes windows 'bouncing' around when being moved.
  12123. 2005-12-15 Peter Dennis Bartok <[email protected]>
  12124. * TextBoxBase.cs:
  12125. - MaxLength now treats 2^31-1 equal to unlimited length (this is
  12126. not quite MS compatible, MS uses that number only for single line
  12127. and 2^32-1 for multi-line, but I figure it won't hurt keeping
  12128. the limit at 2GB)
  12129. - Now enforcing the MaxLength limit when entering characters
  12130. - Added argument to internal Paste() method to track if it's called
  12131. from programatically or via keyboard, since keyboard driven pastes
  12132. need to enforce max-length
  12133. - Added logic to Paste to only paste as many chars as MaxLength
  12134. allows
  12135. * RichTextBox.cs: Updated to use new obey argument for internal Paste()
  12136. * TextControl.cs:
  12137. - Added Length property to return number of characters in document
  12138. - Added private CharCount property which only tracks actual chars
  12139. in the document (no linefeeds) and fires event when CharCount
  12140. changes
  12141. - Added tracking of character count to all methods that alter it
  12142. - Added LengthChanged event to allow applications to subscribe
  12143. to any changes to the document
  12144. 2005-12-15 Peter Dennis Bartok <[email protected]>
  12145. * TextBox.cs:
  12146. - Removed local password_char field (moved to TextBoxBase)
  12147. - Now setting the document's password var when password is
  12148. set
  12149. * TextBoxBase.cs:
  12150. - Added password_char field (needed here so MultiLine can
  12151. access it)
  12152. - Added logic to MultiLine property setter to set the document's
  12153. variable when password display is allowed
  12154. - Removed debug code and made some debug code conditional
  12155. * TextControl.cs:
  12156. - Added RecalculatePasswordLine() method to handle special password
  12157. char only lines
  12158. - Added PasswordChar property, also added related tracking vars
  12159. - Draw() method now uses local text var for grabbing text to draw,
  12160. this var is set to line.text unless we're doing password display,
  12161. then it is set to the pre-generated all-password-chars line
  12162. - Added calling RecalculatePasswordLine() method for password lines
  12163. 2005-12-14 Peter Dennis Bartok <[email protected]>
  12164. * Hwnd.cs:
  12165. - Added Reparented property to allow tracking of Window Manager
  12166. reparenting actions (which affect X/Y calculations of toplevel
  12167. windows)
  12168. - Made ToString() print window handles in hex
  12169. * XplatUIX11.cs:
  12170. - AddConfigureNotify(): Now uses reparented state off Hwnd to
  12171. determine if X/Y needs offsetting
  12172. - AddConfigureNotify(): Fixed offset calculations
  12173. - Now adds ReparentNotify messages into the queue
  12174. - Now processes ReparentNotify messages and causes a
  12175. WM_WINDOWPOSCHANGED message to be sent upstream if a window
  12176. is reparented (as most likely it's X/Y coordinates are changed
  12177. due to that)
  12178. 2005-12-14 Jackson Harper <[email protected]>
  12179. * XplatUIX11.cs: Tool windows still need to respek focus.
  12180. 2005-12-14 Peter Dennis Bartok <[email protected]>
  12181. * Control.cs: Undid 54254 (causing XConfigure errors) so we can
  12182. have a working release
  12183. 2005-12-13 Jackson Harper <[email protected]>
  12184. * Form.cs: Update styles after setting the border style regardless
  12185. of whether or not the window is using a window manager.
  12186. 2005-12-13 Jackson Harper <[email protected]>
  12187. * Form.cs: We now hook into an internal window manager instead of just an
  12188. MDI subsystem, this is so we can have properly behaving tool windows.
  12189. * MdiClient.cs: Naming change, MdiChildContext is now WindowManager
  12190. * InternalWindowManager.cs: New internal class that acts as a
  12191. window manager for tool windows and as a base for mdi windows.
  12192. * MdiWindowManager.cs: New class that acts as a window manager for
  12193. mdi windows.
  12194. 2005-12-12 Jackson Harper <[email protected]>
  12195. * Control.cs: Updates so we match behavoir for for implicit
  12196. controls. Fixes explosions in MDI.
  12197. 2005-12-12 Jackson Harper <[email protected]>
  12198. * Control.cs: Implement Invalidate (Region).
  12199. 2005-12-12 Peter Dennis Bartok <[email protected]>
  12200. * Control.cs:
  12201. - Changed handling of Controls.Add/Controls.Remove to fire (almost)
  12202. the same events as MS does. MS fires events for each property
  12203. except, for unknown reasons, Cursor, when the control is reparented.
  12204. I can't seem to totally match add/remove since MS also fires some
  12205. VisibleChanged events, which makes no sense. Consolidated the
  12206. parenting code into a separate method so it can be called from
  12207. both Add and Remove. set_Parent no longer needs any special logic
  12208. as it calls the parent's add method which implicitly fires
  12209. all events
  12210. - Removed some obsolete code and debug output
  12211. - Enabled state is inherited from parents, if this is enabled
  12212. 2005-12-08 Peter Dennis Bartok <[email protected]>
  12213. * Form.cs: Removed commented out code
  12214. 2005-12-08 Peter Dennis Bartok <[email protected]>
  12215. * Control.cs:
  12216. - Added internal version of Invoke, with additional argument
  12217. indicating if we're calling it from a Dispose() handler. That
  12218. way we can avoid BeginInvoke throwing an exception if we're
  12219. calling for an already destroyed window.
  12220. - Added a dispose argument to BeginInvokeInternal, and made the
  12221. check if a valid window handle chain exists conditional on
  12222. it not being a dispose call
  12223. - Removed code in DestroyHandle to destroy our children. Since we
  12224. now handle the WM_DESTROY message we will catch all our children
  12225. being destroyed.
  12226. - Now calling OnHandleDestroyed from our new WM_DESTROY handler
  12227. * Form.cs:
  12228. - Added a field to track the application context of the form.
  12229. - No need to set closing variable as response to WM_CLOSE, instead
  12230. we destroy the window. We also call PostQuitMessage if the form
  12231. has an application context (which makes it the main app form,
  12232. which, when closed terminates the app)
  12233. * XplatUI.cs:
  12234. - Dropped Exit() method, it's naming was confusing
  12235. - Added PostQuitMessage() which causes GetMessage to return false
  12236. once the message queue is empty
  12237. * XplatUIDriver.cs, XplatUIWin32.cs: Dropped Exit(), added
  12238. PostQuitMessage()
  12239. * XplatUIOSX.cs: Switched signature for Exit method since Exit() is
  12240. no longer a valid XplatUI method, but left it in since it's used
  12241. internally. Added empty PostQuitMessage() method.
  12242. * MenuAPI.cs: Replaced call to Exit() with call to
  12243. PostQuitMessage, even though this is probably no longer needed.
  12244. * Hwnd.cs: Added 'pretty' ToString() to support debugging.
  12245. * X11Structs.cs: Added pretty XEvent.ToString() to support debugging.
  12246. * Application.cs:
  12247. - Replaced call to XplatUI.Exit() with PostQuitMessage()
  12248. - Removed old debug code that would call XplatUI for exception
  12249. display, enabled standard exception handling (Still not enabled
  12250. though, until NativeWindow's ExternalExceptionHandler define
  12251. is removed
  12252. * NativeWindow.cs:
  12253. - Added internal method to allow control to update NativeWindow
  12254. after a window has been destroyed
  12255. - Added handling of already destroyed windows when calling i
  12256. DestroyWindow
  12257. - Added removal of handle from list on ReleaseHandle
  12258. * XplatUIX11.cs:
  12259. - Dropped GetMessageResult var and related code
  12260. - Added PostQuitState to field to track if PostQuitMessage has been
  12261. called
  12262. - Dropped Exit() method
  12263. - Added PostQuitMessage() method
  12264. - GetMessage now will return false if PostQuitState is set and no
  12265. more messages are in the queue.
  12266. - Expose handler will no longer generate WM_PAINT messages if we are
  12267. in PostQuitState since it's very likely any windows have already
  12268. been destroyed, and since Hwnd won't get updated until we have
  12269. processed the DestroyNotify we'd be causing X errors.
  12270. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12271. * Control.cs(WndProc): Apparently I'm suffering from brain cloud.
  12272. Thanks to Mike for pointing out the err of my ways.
  12273. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12274. * Control.cs(PreProcessMessage): Moved menu handling back, but
  12275. after all other key handling, to match MS (who handles Menu in
  12276. DefWndProc)
  12277. * Menu.cs (WndProc): Removed my brainfart
  12278. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12279. * Control.cs(PreProcessMessage): Removed special menu handling
  12280. * Menu.cs (WndProc): Added handling of WM_SYSKEYUP for menu purposes.
  12281. 2005-12-07 Mike Kestner <[email protected]>
  12282. * Control.cs : special case SYSKEYUP so that we can adjust keynav
  12283. state according in tracker.
  12284. * Menu.cs : promote tracker field to base class and provide a tracker
  12285. lookup capability. Add/Remove shortcuts dynamically if the top menu
  12286. has a tracker. Unparent items that are removed from the collection.
  12287. * MenuAPI.cs : implement mnemonic, shortcut, and arrow-based keynav.
  12288. * Theme*.cs: add always_show_hotkeys field to support configurability
  12289. of mnemonic display. win32 doesn't show mnemonics until Alt is
  12290. pressed.
  12291. 2005-12-07 Jackson Harper <[email protected]>
  12292. * MdiChildContext.cs: Use Control.ResetCursor.
  12293. * Control.cs: ResetCursor needs to set the property so that the
  12294. correct XplatUI call gets made.
  12295. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12296. * Control.cs: More fixes to make our key events match MS. We
  12297. were not setting the modifier state on KeyData, and we were
  12298. not generating any events when Alt was pressed with a key
  12299. since handling of WM_SYSxxx was missing for the OnKey methods.
  12300. 2005-12-07 Jackson Harper <[email protected]>
  12301. * MdiChildContext.cs: reenable the sizing code.
  12302. - When the mouse leaves a window reset its cursor.
  12303. 2005-12-07 Alexander Olk <[email protected]>
  12304. * ThemeClearlooks.cs: Reflect latest Hwnd changes
  12305. 2005-12-07 Peter Dennis Bartok <[email protected]>
  12306. * Hwnd.cs: Now using the theme 3d bordersize to calculate
  12307. widths of Fixed3D borders
  12308. 2005-12-07 Jackson Harper <[email protected]>
  12309. * MdiClient.cs: Fix warnings. Earn Mike's love.
  12310. 2005-12-07 Alexander Olk <[email protected]>
  12311. * ThemeClearlooks.cs:
  12312. - Adjusted mouse over button color
  12313. - Added first parts of CheckBox drawing
  12314. - Added correct color for selected text background
  12315. - Fixed ComboBox drawing
  12316. - Added CPDrawBorder3D and CPDrawBorder
  12317. 2005-12-06 Peter Dennis Bartok <[email protected]>
  12318. * XplatUIX11.cs: Added call to XBell for AudibleAlert
  12319. 2005-12-06 Peter Dennis Bartok <[email protected]>
  12320. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIWin32.cs,
  12321. XplatUIOSX.cs: Added AudibleAlert() method to have a means to
  12322. alert users via sound. We could add an enum arg with different
  12323. types of alerts in the future
  12324. 2005-12-06 Peter Dennis Bartok <[email protected]>
  12325. * Control.cs: Fix behaviour problems pointed out by Mike
  12326. 2005-12-05 Mike Kestner <[email protected]>
  12327. * StatusBarPanel.cs: add Invalidate method and hook it into all the
  12328. prop setters. Calls parent.Refresh for now, but could be maybe be
  12329. optimized with an internal method on StatusBar at some point.
  12330. [Fixes #76513]
  12331. 2005-12-05 Peter Dennis Bartok <[email protected]>
  12332. * RichTextBox.cs: Implemented get_SelectionColor
  12333. 2005-12-05 Alexander Olk <[email protected]>
  12334. * ThemeClearlooks.cs:
  12335. - Removed dead code
  12336. - Draw black button border only if button is Form.AcceptButton
  12337. - Draw correct button color for pressed RadioButton if the mouse
  12338. has entered the button
  12339. - Updated ProgressBar drawing!
  12340. - Updated CPDrawSizeGrip drawing
  12341. - Updated StatusBarPanel drawing
  12342. 2005-12-05 Mike Kestner <[email protected]>
  12343. * Control.cs (PreProcessMessage): add Keys.Alt based on LParam value.
  12344. * X11Keyboard.cs (SendKeyboardInput): formal lParam for alt mod.
  12345. 2005-12-04 Alexander Olk <[email protected]>
  12346. * ThemeClearlooks.cs: Initial check-in, activate with
  12347. export MONO_THEME=clearlooks
  12348. * ThemeEngine.cs: Added ThemeClearlooks
  12349. 2005-12-03 Mike Kestner <[email protected]>
  12350. * MenuAPI.cs: deactivate menus prior to calling item.PerformClick.
  12351. [Fixes #76897]
  12352. 2005-12-02 Jackson Harper <[email protected]>
  12353. * Form.cs: If the child form has no menu the default main menu is
  12354. used as the active menu.
  12355. 2005-12-02 Peter Dennis Bartok <[email protected]>
  12356. * ListBox.cs: Check if any items exist before trying to resolve
  12357. coordinates into items
  12358. 2005-12-02 Peter Dennis Bartok <[email protected]>
  12359. * ThemeWin32Classic.cs: Hatchbrush on Win32 seems to always use white
  12360. as the second color for the background hatch
  12361. 2005-12-02 Peter Dennis Bartok <[email protected]>
  12362. * TextBoxBase.cs: Now uses Jackson's new and improved ImplicitScrollbar
  12363. * RichTextBox.cs: FormatText position arguments are 1-based, now making
  12364. sure that what we pass to FormatText is always 1-based. Fixes #76885
  12365. 2005-11-29 Miguel de Icaza <[email protected]>
  12366. * NumericUpDown.cs (EndInit): When we are done initializing,
  12367. reflect any updates on the UI.
  12368. 2005-12-02 Jackson Harper <[email protected]>
  12369. * ImplicitHScrollBar.cs:
  12370. * ImplicitVScrollBar.cs: New scrollbars that don't take focus from
  12371. their container controls.
  12372. * TreeView.cs: Use the new implicit scrollbars.
  12373. 2005-12-02 Jackson Harper <[email protected]>
  12374. * TreeView.cs: Make top_node internal so the TreeNodeCollections
  12375. can play with it.
  12376. * TreeNodeCollection.cs: If we remove the topnode we need to
  12377. update topnode to the next node in line.
  12378. - When clearing nodes go through the same process as removing
  12379. them, so they get depareneted and checked if they are top node.
  12380. 2005-12-01 Jackson Harper <[email protected]>
  12381. * TreeView.cs: When imagelists are used the image area is
  12382. selectable as well as the text.
  12383. - If there are no selected nodes select the first one.
  12384. * TreeNodeCollection.cs: Getting the TreeView is mildly expensive,
  12385. so don't do it more then we need to.
  12386. 2005-12-01 Jackson Harper <[email protected]>
  12387. * ThemeWin32Classic.cs: Reimplement the scroll arrow drawing so
  12388. that arrows can be scaled.
  12389. 2005-12-01 Jackson Harper <[email protected]>
  12390. * TreeNode.cs : Fixed bugs that caused FullPathTest + Traverse to
  12391. fail. Patch by Dieter Bremes
  12392. 2005-11-30 Jackson Harper <[email protected]>
  12393. * Form.cs: Property is 2.0 only
  12394. * PrintDialog.cs: Signature fix.
  12395. 2005-11-30 Peter Dennis Bartok <[email protected]>
  12396. * TextControl.cs:
  12397. - No longer artificially moves text 2 pixels down (now that we have
  12398. borders this is no longer needed)
  12399. - Added calcs for left, hanging and right indent
  12400. 2005-11-23 Mike Kestner <[email protected]>
  12401. * Menu.cs: mark MenuChanged internal, since it's not exposed by MS.
  12402. 2005-11-30 Jackson Harper <[email protected]>
  12403. * MdiChildContext.cs: Set the cloned menus forms, as these don't
  12404. get cloned as part of CloneMenu ().
  12405. * Menu.cs: Make sure the parent of the items get set correctly
  12406. when they are added. And the owners are notified of the changes.
  12407. * Form.cs: Create an ActiveMenu property, so that when MDI is used
  12408. we can change the menu being displayed/handled by the form without
  12409. changing the menu assosciated with the form.
  12410. - Don't let Mdi children draw/handle menus.
  12411. 2005-11-30 Jackson Harper <[email protected]>
  12412. * Menu.cs: Switch the MenuChanged method to OnMenuChanged and add
  12413. a MenuChanged event. Just to make the API a little more
  12414. consistent.
  12415. * MainMenu.cs:
  12416. * MenuItem.cs: Use the new OnMenuChanged
  12417. * MdiChildContext.cs: Handle menu merging.
  12418. * Form.cs: Implement MergedMenu.
  12419. 2005-11-30 Jackson Harper <[email protected]>
  12420. * Menu.cs: We were misusing Add. Add goes behind the specified
  12421. index according to the docs, and does not replace the specified
  12422. index. So I added an Insert method.
  12423. 2005-11-30 Peter Dennis Bartok <[email protected]>
  12424. * TextBoxBase.cs: Implemented Ctrl-Ins (Copy), Shift-Ins (Paste) and
  12425. Shift-Del (Cut), apparently Emacs uses these old Win 2.x keys. This
  12426. is for Jackson
  12427. * RichTextBox.cs: Added calls to base for DnD events
  12428. 2005-11-28 Peter Dennis Bartok <[email protected]>
  12429. * TextControl.cs:
  12430. - Fixed drag-selection related crash; style fixes
  12431. - Implemented undo class
  12432. o Implemented method to capture document state for specified
  12433. range in document tree
  12434. o Implemented method to restore captured document state
  12435. o Implemented cursor tracking
  12436. o Implemented basic undo stack
  12437. - Added undo cursor tracking to methods altering cursor location
  12438. - Added undo tracking to selection deletion (still missing
  12439. other text-altering hookups)
  12440. * RichTextBox.cs:
  12441. - Added SelectionLength property
  12442. - Implemented CanPaste()
  12443. - Implemented Paste()
  12444. - Added missing protected methods
  12445. - Fixed RTF->Document conversion; now uses font index 0 and color
  12446. index 0 as the default font for the parsed text
  12447. - Fixed RTF<->Document font size translation
  12448. - Fixed RTF generation, now properly handles cross-tag boundaries
  12449. for single line selection
  12450. - No longer always appends blank line to generated RTF
  12451. - Removed TODOs
  12452. - Added missing attributes
  12453. - Hooked up undo-related methods
  12454. * TextBoxBase.cs:
  12455. - Implemented Copy()
  12456. - Implemented Paste()
  12457. - Implemented Cut()
  12458. - Fixed caret mis-behaviour on backspace across line-boundaries
  12459. 2005-11-29 Jackson Harper <[email protected]>
  12460. * MdiClient.cs: Add a method for activating mdi children. Very
  12461. basic right now. I imagine someday it might need more girth.
  12462. * MenuItem.cs: Implement MDI lists. When mdilist is true the mdi
  12463. children windows names are added to the menu item.
  12464. * ThemeWin32Classic.cs: Draw the arrow if the item is an
  12465. mdilist. This happens regardless of whether or not there are any
  12466. mdi windows to see in the list, and according to my tests happens
  12467. before the items are even added. Also happens if there isn't even
  12468. an mdi client to get windows from.
  12469. 2005-11-29 Alexander Olk <[email protected]>
  12470. * ThemeWin32Classic.cs: Make DrawFlatStyleRadioButton protected
  12471. * ThemeNice.cs: Fix drawing of flatstyle radiobuttons
  12472. 2005-11-29 Jordi Mas i Hernandez <[email protected]>
  12473. * DataGridTableStyle.cs:
  12474. - Create always the styles for the missing columns even if they are
  12475. provided by the user (not default table style)
  12476. * DataGrid.cs:
  12477. - Fixes bug 76770
  12478. - Fixes SetDataBinding (always re-attach source)
  12479. - Fixes SetNewDataSource (only clear styles if they are not for
  12480. this source)
  12481. - Expands OnTableStylesCollectionChanged to handle style refresh
  12482. and remove properly
  12483. 2005-11-29 Jackson Harper <[email protected]>
  12484. * FileDialog.cs: Implement missing bits, remove some dead
  12485. code.
  12486. * FontDialog.cs: Implement missing Apply stuff, and ToString. Move
  12487. creation of the panel so that the options set on the dialog are
  12488. seen when the panel is created.
  12489. * TreeView.cs: raise a click when items are clicked.
  12490. 2005-11-29 Jackson Harper <[email protected]>
  12491. * MdiClient.cs: Pass some signature methods through to base.
  12492. 2005-11-28 Jackson Harper <[email protected]>
  12493. * ListView.cs: Raise the click event when items are clicked.
  12494. 2005-11-28 Jackson Harper <[email protected]>
  12495. * MdiClient.cs: Make this algorithm even more beautiful. And fix
  12496. a nullref.
  12497. 2005-11-27 Alexander Olk <[email protected]>
  12498. * ThemeNice.cs: - Removed 1 pixel bitmaps
  12499. - Use SmoothingMode.AntiAlias where it makes sense
  12500. (ScrollButton arrow for example)
  12501. - Enhanced Button focus drawing
  12502. - Fixed ComboBox drawing (no artefacts anymore, focus
  12503. rectangle is back again, reduced size of ComboButton, etc.)
  12504. - Fixed RadioButton focus drawing for Appearence.Button
  12505. - Slight ScrollButton redesign
  12506. - Some LinearGradientBrush size fixes
  12507. - GroupBoxes have now rounded edges
  12508. - Fixed StatusBar drawing
  12509. 2005-11-25 Alexander Olk <[email protected]>
  12510. * ThemeNice.cs: - Remove dead code
  12511. - use correct background colors for menus, etc.
  12512. - Fake pixel drawing with 1 pixel bitmaps
  12513. 2005-11-24 Jackson Harper <[email protected]>
  12514. * MdiClient.cs: Size the scrollbars when resizing the window.
  12515. - Resize the maximized windows when the client is resized
  12516. * Form.cs: Make the child context available
  12517. 2005-11-23 Jackson Harper <[email protected]>
  12518. * MdiChildContext.cs: Don't size windows if they are maximized.
  12519. 2005-11-23 Mike Kestner <[email protected]>
  12520. * ContextMenu.cs: use MenuTracker.
  12521. * Control.cs: remove menu handle usage.
  12522. * Form.cs: remove menu handle usage.
  12523. * Hwnd.cs: remove menu handle usage.
  12524. * MainMenu.cs: Draw method moved here from MenuAPI.DrawMenuBar. Proxy
  12525. motion and clicks to the new Tracker handlers.
  12526. * Menu.cs: add sizing accessors, SelectedItem prop, kill CreateItems
  12527. and handle usage.
  12528. * MenuAPI.cs: refactored to combine popup and menubar event handling.
  12529. Killed the MENU and MENUITEM data types and associated collections
  12530. since we now keep the info on Menu and MenuItem. Expanded TRACKER into
  12531. MenuTracker class that exposes the leftovers from the old MenuAPI
  12532. static methods. Restructured Capture handling so that only one grab is
  12533. done for the entire menu hierarchy instead of handing off grabs to
  12534. submenus. Tracker now has an invisible control to Capture when active.
  12535. * MenuItem.cs: add sizing accessors, kill Create
  12536. and handle usage.
  12537. * Theme.cs: remove menu handle and MENU(ITEM) usage.
  12538. * ThemeWin32Classic.cs: use Menu/MenuItem sizing props instead of
  12539. MENU(ITEM). remove menu handle usage, use Menu directly.
  12540. * XplatUIDriver.cs: remove menu handle usage.
  12541. * XplatUIOSX.cs: remove menu handle usage.
  12542. * XplatUIWin32.cs: remove menu handle usage.
  12543. * XplatUIX11.cs: remove menu handle usage.
  12544. 2005-11-22 Jackson Harper <[email protected]>
  12545. * Hwnd.cs: Don't compute the menu size for
  12546. DefaultClientRectangle.
  12547. - Reenable menu sizes being computed for GetClienRectangle.
  12548. * Form.cs: Remove comment of trechery
  12549. 2005-11-22 Jackson Harper <[email protected]>
  12550. * Hwnd.cs: The adjustments for the menu bar are made when it is
  12551. attached to the form.
  12552. 2005-11-19 Jackson Harper <[email protected]>
  12553. * XplatUIX11.cs: Create an HGRN of the invalid area for WM_NCPAINT
  12554. (just like on windows).
  12555. 2005-11-19 Jackson Harper <[email protected]>
  12556. * MdiChildContext.cs: Handle all the buttons ourselves. We can't
  12557. use real buttons anymore because they are in non client area. The
  12558. one TODO here is that I need to somehow invalidate a section of
  12559. the non client area.
  12560. 2005-11-18 Jackson Harper <[email protected]>
  12561. * Control.cs: Put the enum check back in now that MDI doesnt have
  12562. to use this to set border styles.
  12563. * Form.cs: Only set mdi child windows borders if the handle has
  12564. been created.
  12565. * MdiChildContext.cs: Don't set the InternalBorderStyle, just pass
  12566. this directly on to the driver.
  12567. - Get the move start position before adjusting for the titlebar
  12568. height, this fixes the windows "skipping" when they are first
  12569. moved.
  12570. 2005-11-18 Jackson Harper <[email protected]>
  12571. * XplatUIX11.cs: Just compute the mdi borders separately as they
  12572. don't totally match up with normal form borders.
  12573. 2005-11-18 Jackson Harper <[email protected]>
  12574. * Control.cs: Set WS_ styles for borders, so that the driver does
  12575. not have to retrieve the control instance to figure out what kind
  12576. of borders it should have.
  12577. * Form.cs: Set the WS_EX_MDICHILD flag on mdi children, so the
  12578. driver can know its an mdi child easily.
  12579. * XplatUIX11.cs: Get the border styles and whether the window is
  12580. MDI from the Styles and ExStyles params instead of having to get a
  12581. control. This prevents a chicken and egg problem.
  12582. 2005-11-18 Jackson Harper <[email protected]>
  12583. * MdiClient.cs: Fix typo so scrollbars show up correctly.
  12584. 2005-11-18 Jackson Harper <[email protected]>
  12585. * MdiClient.cs: Calculate when to add and remove scrollbars
  12586. correctly.
  12587. * MdiChildContext.cs: Adjust the y position to take the titlebar
  12588. into account.
  12589. - No height for FormBorderStyle.None
  12590. 2005-11-18 Jackson Harper <[email protected]>
  12591. * Control.cs: Allow non enum values to be used for
  12592. InternalBorderStyle. MDI does this to set a special border style.
  12593. - New utility methods for converting points to/from client coords
  12594. - Add the newly created control to the Controls collection before
  12595. updating its style. This way UpdateStyle can walk the control
  12596. heirarchy to find the control if needed.
  12597. so I don't need to create a new Point object all the time.
  12598. * Form.cs: Let MDI windows handle their border styles.
  12599. - Set styles on MDI windows so the correct title style is derived.
  12600. * MdiChildContext.cs: Move all the painting and window handling
  12601. into the non client area.
  12602. - Use correct sizing and put correct buttons on frames based on
  12603. the FormBorderStyle.
  12604. - Notify the mdi client about scrolling
  12605. - Need to handle the buttons ourselves now, because they are all
  12606. in non client areas and we can't add controls there.
  12607. * MdiClient.cs: Halfway to scrolling, this implementation is
  12608. somewhat broken though, we need to check to make sure other
  12609. windows aren't causing scrolling before removing the bars. Also
  12610. the bars need to be drawn on top, maybe I can switch implicit
  12611. controls to be on top.
  12612. * Hwnd.cs: caption_height and tool_caption_height are now
  12613. properties of an hwnd, this way they can be set by the driver
  12614. based on the type of window they are. In X11 the window manager
  12615. handles the decorations so caption_height is zero unless its an
  12616. MDI window.
  12617. - Add 3 pixel borders for MDI windows (0xFFFF).
  12618. - Get rid of some code duplication, have DefaultClientRectanle
  12619. just call GetClientRectangle.
  12620. * XplatUIX11.cs: Pass caption_height and tool_caption_height to
  12621. Hwnd now.
  12622. - Set border styles differently for mdi windows.
  12623. * XplatUIOSX.cs: Pass caption_height and tool_caption_height to
  12624. Hwnd now.
  12625. 2005-11-15 Mike Kestner <[email protected]>
  12626. * Menu.cs: when adding an item to the collection, if item is already
  12627. parented, remove it from the parent.
  12628. 2005-11-13 Alexander Olk <[email protected]>
  12629. * X11DesktopColors.cs: Added KDE support
  12630. 2005-11-11 Peter Dennis Bartok <[email protected]>
  12631. * XplatUIWin32.cs:
  12632. - Clipboard methods now can translate Rtf format
  12633. - No longer removes clipboard contents whenever a new format is added
  12634. to allow placing multiple formats on the clipboard
  12635. * Clipboard.cs: Clipboard now supports getting a IDataObject and
  12636. will place all formats contained in it onto the clipboard. Also
  12637. now cleans the clipboard before placing a new object onto it
  12638. * RichTextBox.cs:
  12639. - Implemented set_Rtf
  12640. - Implemented set_SelectedRtf
  12641. - Created InsertRTFFromStream() method to allow single code base
  12642. for all properties and methods that insert RTF into document
  12643. - Removed debug output
  12644. * TextControl.cs:
  12645. - Fixed Delete(int) to fix up line numbers
  12646. - Fixed ReplaceSelection to combine start and end line
  12647. - Fixed serious DeleteChars bug that would leave the document tree
  12648. broken
  12649. - Improved DumpTree with several logic checks to detect broken
  12650. document trees
  12651. - Removed debug lines
  12652. - Fixed Caret.WordForward/WordBack moving code, now always also
  12653. updates caret.tag (fixes crash when word-selecting across tag
  12654. boundaries via keyboard)
  12655. - Added Insert() method for inserting multiline text into documents
  12656. - Fixed DeleteChars() calculation errors that would cause a broken
  12657. tag chain with multiple tag lines
  12658. - DeleteChars() no longer crashes on multi-tag lines if not all tags
  12659. - Split() no longer moves caret if split is at caret location
  12660. - ReplaceSelection() now updates the cursor and re-displays it
  12661. - ReplaceSelection() now uses new Insert() method to avoid code
  12662. duplication
  12663. - FormatText() can now handle formatting partial lines
  12664. * TextBoxBase.cs:
  12665. - Append now uses new TextControl.Insert() method (this avoids
  12666. duplicate code)
  12667. - Implemented Ctrl-X (Cut) (
  12668. - Implemented Ctrl-C (Copy)
  12669. - Implemented Ctrl-V (Paste) (Still some bugs related to screen
  12670. regeneration when pasting text; roundtripping Copy&Paste within
  12671. edit control still fails due to some calculation bugs in GenerateRTF)
  12672. - The Delete key will now remove the current selection if it is visible
  12673. * TextBox.cs: Removed debug lines
  12674. * XplatUI.cs: Trigger initialization of DataFormats (which requires the
  12675. driver to be initialized and can't therefore be done via a static ctor)
  12676. 2005-11-10 Peter Dennis Bartok <[email protected]>
  12677. * TextControl.cs: Added backend code for finding char arrays and strings
  12678. * TextBoxBase.cs:
  12679. - Added mouse wheel scroll support
  12680. - Added support for VScroll and HScroll events
  12681. * RichTextBox.cs:
  12682. - Implemented all seven Find() variants
  12683. - Implemented GetCharFromPosition()
  12684. - Implemented GetCharIndexFromPosition()
  12685. - Implemented GetLineFromIndex()
  12686. - Implemented GetPositionFromCharIndex();
  12687. - Implemented SaveFile for PlainText and UnicodeText
  12688. - Fixed set_Font, now setting a new font applies that font to
  12689. the whole document
  12690. - Implemented generic Document to RTF converter
  12691. - Implemented SaveFile for RichText format (still missing unicode
  12692. conversion for non-ansi chars)
  12693. - Implemented get_Rtf
  12694. - Implemented get_SelectedRtf
  12695. 2005-11-09 Peter Dennis Bartok <[email protected]>
  12696. * Control.cs (WndProc): Call HandleClick after having sent OnMouseUp
  12697. to allow any captures to be released before triggering OnClick. This
  12698. way a click handler may capture the mouse without interference.
  12699. * XplatUIX11.cs: Always send mouse messages to grab window if one exists.
  12700. This way we send them even though X may not allow a grab (if the window
  12701. isn't visible, for example)
  12702. 2005-11-08 Pedro Martinez Julia <[email protected]>
  12703. * DataGridViewRowEventArgs.cs: DataGridView implementation
  12704. * DataGridViewElement.cs: DataGridView implementation
  12705. * DataGridViewComboBoxCell.cs: DataGridView implementation
  12706. * DataGridViewDataErrorContexts.cs: DataGridView implementation
  12707. * DataGridViewCellErrorTextNeededEventArgs.cs: DataGridView implementation
  12708. * DataGridViewColumnHeadersHeightSizeMode.cs: DataGridView implementation
  12709. * ImageLayout.cs: DataGridView implementation
  12710. * DataGridViewComboBoxColumn.cs: DataGridView implementation
  12711. * DataGridViewCellMouseEventHandler.cs: DataGridView implementation
  12712. * DataGridViewSelectionMode.cs: DataGridView implementation
  12713. * IDataGridViewEditingControl.cs: DataGridView implementation
  12714. * DataGridViewSortCompareEventHandler.cs: DataGridView implementation
  12715. * DataGridViewCellStyleContentChangedEventHandler.cs: DataGridView implementation
  12716. * DataGridViewAutoSizeModeEventHandler.cs: DataGridView implementation
  12717. * DataGridViewColumnStateChangedEventHandler.cs: DataGridView implementation
  12718. * DataGridViewColumnSortMode.cs: DataGridView implementation
  12719. * DataGridView.cs: DataGridView implementation
  12720. * DataGridViewRowStateChangedEventHandler.cs: DataGridView implementation
  12721. * DataGridViewRowPostPaintEventArgs.cs: DataGridView implementation
  12722. * DataGridViewDataErrorEventArgs.cs: DataGridView implementation
  12723. * Padding.cs: DataGridView implementation
  12724. * DataGridViewCellParsingEventArgs.cs: DataGridView implementation
  12725. * DataGridViewCellStateChangedEventHandler.cs: DataGridView implementation
  12726. * DataGridViewRowEventHandler.cs: DataGridView implementation
  12727. * DataGridViewCellPaintingEventHandler.cs: DataGridView implementation
  12728. * DataGridViewCellFormattingEventHandler.cs: DataGridView implementation
  12729. * DataGridViewButtonCell.cs: DataGridView implementation
  12730. * DataGridViewCellStyleContentChangedEventArgs.cs: DataGridView implementation
  12731. * DataGridViewEditMode.cs: DataGridView implementation
  12732. * DataGridViewCellValueEventArgs.cs: DataGridView implementation
  12733. * DataGridViewRowCancelEventArgs.cs: DataGridView implementation
  12734. * DataGridViewRowHeadersWidthSizeMode.cs: DataGridView implementation
  12735. * DataGridViewCheckBoxColumn.cs: DataGridView implementation
  12736. * DataGridViewCellToolTipTextNeededEventHandler.cs: DataGridView implementation
  12737. * DataGridViewAutoSizeColumnsMode.cs: DataGridView implementation
  12738. * DataGridViewCellEventHandler.cs: DataGridView implementation
  12739. * DataGridViewEditingControlShowingEventHandler.cs: DataGridView implementation
  12740. * DataGridViewCellStyleConverter.cs: DataGridView implementation
  12741. * DataGridViewSelectedRowCollection.cs: DataGridView implementation
  12742. * DataGridViewBindingCompleteEventHandler.cs: DataGridView implementation
  12743. * DataGridViewColumnEventArgs.cs: DataGridView implementation
  12744. * DataGridViewRowHeightInfoPushedEventHandler.cs: DataGridView implementation
  12745. * DataGridViewRowContextMenuStripNeededEventHandler.cs: DataGridView implementation
  12746. * QuestionEventArgs.cs: DataGridView implementation
  12747. * IDataGridViewEditingCell.cs: DataGridView implementation
  12748. * DataGridViewTriState.cs: DataGridView implementation
  12749. * DataGridViewColumnDesignTimeVisibleAttribute.cs: DataGridView implementation
  12750. * DataGridViewCellStateChangedEventArgs.cs: DataGridView implementation
  12751. * DataGridViewColumnCollection.cs: DataGridView implementation
  12752. * DataGridViewCellValueEventHandler.cs: DataGridView implementation
  12753. * DataGridViewRowDividerDoubleClickEventHandler.cs: DataGridView implementation
  12754. * DataGridViewCellFormattingEventArgs.cs: DataGridView implementation
  12755. * DataGridViewColumn.cs: DataGridView implementation
  12756. * DataGridViewCellBorderStyle.cs: DataGridView implementation
  12757. * DataGridViewCellContextMenuStripNeededEventHandler.cs: DataGridView implementation
  12758. * DataGridViewCellValidatingEventArgs.cs: DataGridView implementation
  12759. * DataGridViewRow.cs: DataGridView implementation
  12760. * DataGridViewImageCellLayout.cs: DataGridView implementation
  12761. * DataGridViewImageCell.cs: DataGridView implementation
  12762. * DataGridViewTopLeftHeaderCell.cs: DataGridView implementation
  12763. * DataGridViewCheckBoxCell.cs: DataGridView implementation
  12764. * DataGridViewHeaderCell.cs: DataGridView implementation
  12765. * DataGridViewCellErrorTextNeededEventHandler.cs: DataGridView implementation
  12766. * DataGridViewRowHeightInfoPushedEventArgs.cs: DataGridView implementation
  12767. * DataGridViewAutoSizeColumnsModeEventHandler.cs: DataGridView implementation
  12768. * DataGridViewTextBoxColumn.cs: DataGridView implementation
  12769. * QuestionEventHandler.cs: DataGridView implementation
  12770. * DataGridViewCellStyleScopes.cs: DataGridView implementation
  12771. * DataGridViewSortCompareEventArgs.cs: DataGridView implementation
  12772. * DataGridViewCellContextMenuStripNeededEventArgs.cs: DataGridView implementation
  12773. * DataGridViewCell.cs: DataGridView implementation
  12774. * DataGridViewCellEventArgs.cs: DataGridView implementation
  12775. * DataGridViewClipboardCopyMode.cs: DataGridView implementation
  12776. * DataGridViewCellStyle.cs: DataGridView implementation
  12777. * DataGridViewColumnHeaderCell.cs: DataGridView implementation
  12778. * DataGridViewRowPrePaintEventHandler.cs: DataGridView implementation
  12779. * DataGridViewRowCancelEventHandler.cs: DataGridView implementation
  12780. * TextFormatFlags.cs: DataGridView implementation
  12781. * DataGridViewCellToolTipTextNeededEventArgs.cs: DataGridView implementation
  12782. * DataGridViewDataErrorEventHandler.cs: DataGridView implementation
  12783. * DataGridViewAdvancedCellBorderStyle.cs: DataGridView implementation
  12784. * DataGridViewCellPaintingEventArgs.cs: DataGridView implementation
  12785. * DataGridViewButtonColumn.cs: DataGridView implementation
  12786. * DataGridViewRowsRemovedEventArgs.cs: DataGridView implementation
  12787. * HandledMouseEventArgs.cs: DataGridView implementation
  12788. * DataGridViewCellParsingEventHandler.cs: DataGridView implementation
  12789. * DataGridViewColumnDividerDoubleClickEventHandler.cs: DataGridView implementation
  12790. * DataGridViewCellMouseEventArgs.cs: DataGridView implementation
  12791. * DataGridViewAutoSizeRowsMode.cs: DataGridView implementation
  12792. * DataGridViewRowCollection.cs: DataGridView implementation
  12793. * DataGridViewAdvancedBorderStyle.cs: DataGridView implementation
  12794. * DataGridViewCellCancelEventHandler.cs: DataGridView implementation
  12795. * DataGridViewHitTestType.cs: DataGridView implementation
  12796. * DataGridViewAutoSizeModeEventArgs.cs: DataGridView implementation
  12797. * DataGridViewColumnStateChangedEventArgs.cs: DataGridView implementation
  12798. * DataGridViewColumnEventHandler.cs: DataGridView implementation
  12799. * DataGridViewRowDividerDoubleClickEventArgs.cs: DataGridView implementation
  12800. * DataGridViewAutoSizeRowMode.cs: DataGridView implementation
  12801. * DataGridViewRowHeightInfoNeededEventArgs.cs: DataGridView implementation
  12802. * DataGridViewRowsDeletedEventArgs.cs: DataGridView implementation
  12803. * DataGridViewTextBoxEditingControl.cs: DataGridView implementation
  12804. * DataGridViewContentAlignment.cs: DataGridView implementation
  12805. * DataGridViewRowPostPaintEventHandler.cs: DataGridView implementation
  12806. * DataGridViewComboBoxEditingControl.cs: DataGridView implementation
  12807. * DataGridViewCellValidatingEventHandler.cs: DataGridView implementation
  12808. * DataGridViewSelectedColumnCollection.cs: DataGridView implementation
  12809. * DataGridViewPaintParts.cs: DataGridView implementation
  12810. * DataGridViewCellCollection.cs: DataGridView implementation
  12811. * DataGridViewRowsAddedEventArgs.cs: DataGridView implementation
  12812. * DataGridViewImageColumn.cs: DataGridView implementation
  12813. * DataGridViewRowsRemovedEventHandler.cs: DataGridView implementation
  12814. * DataGridViewElementStates.cs: DataGridView implementation
  12815. * DataGridViewRowHeightInfoNeededEventHandler.cs: DataGridView implementation
  12816. * DataGridViewColumnDividerDoubleClickEventArgs.cs: DataGridView implementation
  12817. * DataGridViewRowPrePaintEventArgs.cs: DataGridView implementation
  12818. * DataGridViewRowStateChangedEventArgs.cs: DataGridView implementation
  12819. * DataGridViewEditingControlShowingEventArgs.cs: DataGridView implementation
  12820. * DataGridViewCellCancelEventArgs.cs: DataGridView implementation
  12821. * DataGridViewRowHeaderCell.cs: DataGridView implementation
  12822. * DataGridViewBindingCompleteEventArgs.cs: DataGridView implementation
  12823. * DataGridViewTextBoxCell.cs: DataGridView implementation
  12824. * DataGridViewBand.cs: DataGridView implementation
  12825. * DataGridViewAutoSizeColumnModeEventArgs.cs: DataGridView implementation
  12826. * DataGridViewHeaderBorderStyle.cs: DataGridView implementation
  12827. * DataGridViewRowsAddedEventHandler.cs: DataGridView implementation
  12828. * DataGridViewAutoSizeColumnMode.cs: DataGridView implementation
  12829. * DataGridViewAutoSizeColumnModeEventHandler.cs: DataGridView implementation
  12830. * DataGridViewAutoSizeColumnsModeEventArgs.cs: DataGridView implementation
  12831. * DataGridViewRowErrorTextNeededEventHandler.cs: DataGridView implementation
  12832. * DataGridViewSelectedCellCollection.cs: DataGridView implementation
  12833. * DataGridViewRowContextMenuStripNeededEventArgs.cs: DataGridView implementation
  12834. * DataGridViewRowErrorTextNeededEventArgs.cs: DataGridView implementation
  12835. * DataGridViewComboBoxDisplayStyle.cs: DataGridView implementation
  12836. 2005-11-08 Peter Dennis Bartok <[email protected]>
  12837. * ThemeWin32Classic.cs:
  12838. - Draw the outside focus rectangle around buttons
  12839. - Use CPDrawFocusRectangle to draw focus rectangles until Cairo
  12840. doesn't use end caps for every dash of a line anymore. This
  12841. workaround ignores the forecolor.
  12842. 2005-11-08 Kornél Pál <[email protected]>
  12843. * ImageList.cs: Don't use ArgbColor with LayoutKind.Explicit as it isn't
  12844. endian safe.
  12845. 2005-11-07 Jackson Harper <[email protected]>
  12846. * X11Dnd.cs: Set the X/Y positions on the DragEventArgs correctly.
  12847. 2005-11-07 Jackson Harper <[email protected]>
  12848. * ScrollableControl.cs: Calculate the maximum and change vars
  12849. (more) correctly so that scrollbars appear as a sensible size.
  12850. 2005-11-04 Jackson Harper <[email protected]>
  12851. * TreeNodeCollection.cs: Refresh when nodes are cleared from the
  12852. collection.
  12853. * TreeView.cs: When the tree is sorted null out the top_node so
  12854. that it is recalculated.
  12855. - Use dotted lines instead of dashed lines to match MS better.
  12856. 2005-11-04 Jordi Mas i Hernandez <[email protected]>
  12857. * ListView.cs:
  12858. - Implements key search for items. Useful when browsing files with FileDialog
  12859. - When changing view mode or when clear the items reset scrollbar positions
  12860. 2005-11-04 Jackson Harper <[email protected]>
  12861. * CurrencyManager.cs: Implement the MetaDataChanged event, the
  12862. Reset method, and the CheckEmpty. CheckEmpty is just a total guess
  12863. as to what the method may do as there is no real way of creating a
  12864. derived CurrencyManager and calling the method.
  12865. 2005-11-03 Jackson Harper <[email protected]>
  12866. * ThemeWin32Classic.cs: Implement ownerdrawing in the tab control
  12867. * TabControl.cs: Add Ownerdrawing bits, add the UpdateTabSelection
  12868. method which seems to just be used internally to refresh the tabs.
  12869. 2005-11-03 Jackson Harper <[email protected]>
  12870. * TabControl.cs: Implement the remove method. Fix some broken
  12871. comments.
  12872. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12873. * DateTimePicker.cs:
  12874. - Added missing DateTimePickerAccessibleObject class
  12875. - Added missing events
  12876. - Added OnFontChanged method
  12877. * Form.cs: Added missing attributes
  12878. * TreeView.cs: Added missing attributes
  12879. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12880. * GridItemCollection.cs: Fix signatures
  12881. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12882. * XplatUI.cs: Updated build rev/date
  12883. * ComboBox.cs, DataGridTextBoxColumn.cs Control.cs,
  12884. DataGridTableStyle.cs, DataGrid.cs, DateTimePicker.cs: Signature fixes
  12885. * Application.cs: Trigger context-specific ExitThread events
  12886. 2005-11-03 Jackson Harper <[email protected]>
  12887. * Menu.cs:
  12888. * MainMenu.cs:
  12889. * GridTableStylesCollection.cs:
  12890. * Timer.cs:
  12891. * TabPage.cs:
  12892. * HelpProvider.cs:
  12893. * StatusBar.cs:
  12894. * MonthCalendar.cs: Signature fixes
  12895. 2005-11-03 Jackson Harper <[email protected]>
  12896. * TreeNodeCollection.cs: Remove should not be virtual.
  12897. * TreeView.cs: Implement the last of the missing methods.
  12898. 2005-11-03 Jackson Harper <[email protected]>
  12899. * TreeNodeConverter.cs: Implement to get off my class-status back.
  12900. 2005-11-03 Jackson Harper <[email protected]>
  12901. * TreeView.cs: Hookup the bits for drag and drop.
  12902. * TreeNode.cs: Don't cache the tree_view or index anymore, now
  12903. that nodes can be moved from tree to tree easily this just causes
  12904. all sorts of problems.
  12905. * TreeNodeCollection: Don't need to give treenodes an index and
  12906. treeview anymore when they are added, these are computed on the
  12907. fly. Also make sure to remove a node before its added.
  12908. 2005-11-03 Peter Dennis Bartok <[email protected]>
  12909. * TextControl.cs:
  12910. - Added CaretSelection enum
  12911. - Added comparison methods to Marker struct, makes selection code
  12912. more readable
  12913. - Added SelectionStart and SelectionEnd as 'moveable' location for
  12914. the CaretDirection enum and handler
  12915. - Added selection_prev variable to track optimized invalidation for
  12916. word and line selection
  12917. - Added SelectionVisible property (returns true if there is a valid
  12918. selection)
  12919. - Switched CaretHasFocus to only display the caret if there is no
  12920. visible selection
  12921. - Avoiding StringBuilder.ToString to retrieve a single char, instead
  12922. using the direct character index; should be much faster
  12923. - Added various conditional debug statements
  12924. - Fixed invalidation calculation for selection ranges
  12925. - Added ExpandSelection() method to support word and line selection
  12926. - Switched SetSelectionToCaret to use new Marker compare overloads
  12927. - Added central IsWordSeparator() method to determine word
  12928. separators/whitespace and FindWordSeparator() to streamline common
  12929. usage of IsWordSeparator()
  12930. * TextBoxBase.cs:
  12931. - Removed unneeded grabbed variable, it was just mirroring
  12932. Control.Capture
  12933. - No longer firing OnTextChanged event when Text setter is called,
  12934. since the base will fire the event for us
  12935. - Added handling of Ctrl-Up/Down selection
  12936. - Added handling of Shift-Cursorkey selection
  12937. - Added handling for Ctrl-Delete and Ctrl-Backspace to remove
  12938. words
  12939. - Added handling of Shift and Ctrl-Shift-Home/End selection
  12940. - Removed some debug output
  12941. - Added handling for single/double/tripple-click to place caret/
  12942. select word/select line respectively (Fixes bug #76031)
  12943. - Added support for drag expansion of word/line selection
  12944. * RichTextBox.cs: Handle GotFocus event to trigger redrawing of
  12945. current selection
  12946. 2005-11-02 Jackson Harper <[email protected]>
  12947. * X11Dnd.cs: If the drag is going to and from a MWF window just
  12948. copy the data instead of sending it out through the X Selection
  12949. mechanism.
  12950. 2005-11-02 Jackson Harper <[email protected]>
  12951. * X11Dnd.cs:
  12952. * XplatUIX11.cs: When in a drag we don't want motion notify
  12953. messages to get passed on to the other controls. This prevents
  12954. mouse move messages from showing up in the drag source.
  12955. 2005-11-02 Jackson Harper <[email protected]>
  12956. * X11Dnd.cs: Remove unneeded call to XAllowEvents. Make sure that
  12957. the correct button is release to end a drag.
  12958. * XplatUIX11.cs: Make the button state internal so the drag system
  12959. can access it. Dragging needs to know about all button releases,
  12960. not just left button.
  12961. 2005-11-02 Miguel de Icaza <[email protected]>
  12962. * Form.cs (Icon): If the icon is null, reset the icon to the
  12963. default value.
  12964. * Cursor.cs: When writing the AND-mask bitmap do not include the
  12965. number of colors, but hardcode those to two (black and white),
  12966. fixes the loading of color cursors (Paint Dot Net).
  12967. * Form.cs: To debug, allow MONO_MWF_SCALING=disable variable to
  12968. turn off autoscaling.
  12969. * Cursor.cs: Allow resource type to be 1 or 2 (from ImageMagic).
  12970. 2005-11-02 Jackson Harper <[email protected]>
  12971. * X11Dnd.cs: Make sure to send a status message if the pointer
  12972. enters a control that can not accept a drop, otherwise the cursor
  12973. isn't updated correctly. Also tried to compress the lines of code
  12974. a bit.
  12975. 2005-11-02 Jackson Harper <[email protected]>
  12976. * X11Dnd.cs: Change cursors based on drag action. Also attempt to
  12977. set actions correctly. This isn't perfect as XDND and win32 have
  12978. some differences on how you allow actions. I'll clear this up by
  12979. adding a path for drag from MWF to MWF windows.
  12980. * XplatUIX11.cs: Hook into the dnd system.
  12981. 2005-11-02 Jordi Mas i Hernandez <[email protected]>
  12982. * ListView.cs: Fixes scroll bar visibility. Hide them if they were
  12983. previously shown but they are no longer need it. Very obvious when
  12984. browsing files with FileDialog.
  12985. 2005-11-01 Peter Dennis Bartok <[email protected]>
  12986. * Control.cs: We always need to call OnPaintBackground. We pretty much
  12987. ignore AllPaintingInWmPaint and always do the painting there, whether
  12988. it's set or not, since we always ignore the WM_ERASEBKGND message
  12989. (which we don't generate on X11). This fixes #76616.
  12990. * Panel.cs: Removed unneeded background painting. This happens properly
  12991. in Control.cs already
  12992. 2005-10-31 Mike Kestner <[email protected]>
  12993. * Menu.cs: Add items to collection before setting their index.
  12994. * MenuItem.cs : add range checking with ArgumentException like MS.
  12995. [Fixes #76510]
  12996. 2005-10-31 Jackson Harper <[email protected]>
  12997. * ListBox.cs: Invalidate if the area is visible at all not just
  12998. contained in the visible rect. Fixes unselection of semi visible
  12999. items.
  13000. 2005-10-31 Jackson Harper <[email protected]>
  13001. * Control.cs: Consistently name the dnd methods. Make them
  13002. internal so we can override them to match some MS behavoir
  13003. internally.
  13004. * Win32DnD.cs: Use the new consistent names.
  13005. 2005-10-31 Jackson Harper <[email protected]>
  13006. * TreeView.cs: Don't draw the selected node when we lose focus.
  13007. 2005-10-31 Jackson Harper <[email protected]>
  13008. * X11Dnd.cs: We still need to reset the state even though a full
  13009. reset isn't being done, otherwise status's still get sent all over
  13010. the place.
  13011. 2005-10-31 Jackson Harper <[email protected]>
  13012. * Control.cs: Make the dnd_aware flag internal so the dnd
  13013. subsystem can check it. Catch exceptions thrown in dnd handlers to
  13014. match MS behavoir.
  13015. * Hwnd.cs: Add a flag for whether or not a window is dnd aware.
  13016. * X11Dnd.cs: Handle null data in the converters. Set the XDND
  13017. version when sending a XdndEnter. Use the control/hwnd dnd_aware
  13018. flags to reduce the number of dnd enters/status's sent.
  13019. 2005-10-31 Jackson Harper <[email protected]>
  13020. * X11Dnd.cs: Don't need the sizeof here. Patch by Jordi Mas.
  13021. 2005-10-31 Jordi Mas i Hernandez <[email protected]>
  13022. * PictureBox.cs: Fixes 76512
  13023. 2005-10-28 Jackson Harper <[email protected]>
  13024. * X11Dnd.cs: Early implementation to support winforms being a drag
  13025. source for data on X11. Also restructured the converters so they
  13026. can go both ways now.
  13027. * XplatUIX11.cs: Tie ins to the the Dnd stuff.
  13028. 2005-10-27 Peter Dennis Bartok <[email protected]>
  13029. * XplatUIX11.cs: Fixed FIXME - implemented ASCII encoding for XA_STRING
  13030. clipboard requests
  13031. 2005-10-27 Jackson Harper <[email protected]>
  13032. * TreeNode.cs: Implement serialization so my DnD examples will work.
  13033. 2005-10-24 Kornél Pál <[email protected]>
  13034. * ButtonBase.cs, ListView.cs, NotifyIcon.cs, PictureBox.cs, ToolBar.cs,
  13035. TreeView.cs: Don't dispose objects that are not owned.
  13036. 2005-10-24 Peter Dennis Bartok <[email protected]>
  13037. * Cursor.cs: Defaulting the Current cursor to Cursors.Default. We
  13038. should retrieve the current cursor and report that, but XplatUI
  13039. doesn't (yet) have an interface for that (and I'm not sure I even
  13040. can, on X11)
  13041. * XplatUIWin32.cs: Fixed override behaviour. The override is temporary,
  13042. until any message loop processing is done (and the WM_SETCURSOR
  13043. replaces the cursor to the proper one)
  13044. * XplatUIX11.cs:
  13045. - Fixed override behaviour, we can't set the cursor globally on X11,
  13046. just for our windows.
  13047. - Invalidating the System.Drawing X11 display handle when we are
  13048. shutting down
  13049. * Control.cs: Fix to make csc happy
  13050. 2005-10-23 Peter Dennis Bartok <[email protected]>
  13051. * TextBoxBase.cs:
  13052. - get_Text: Add last line (without trailing newline) to returned
  13053. value (Fixes 76212)
  13054. - get_TextLength: Count last line in returned length
  13055. - ToString: Call Text property instead of duplicating code
  13056. 2005-10-23 Kornél Pál <[email protected]>
  13057. * ImageList.cs: Dispose ImageAttributes objects.
  13058. 2005-10-22 Kornél Pál <[email protected]>
  13059. * ImageList.cs: Use attribute constructors with less arguments where
  13060. possible.
  13061. 2005-10-22 Kornél Pál <[email protected]>
  13062. * ImageList.cs: Added lastKeyIndex field and use in IndexOfKey.
  13063. Use typeof instead of strings when assembly is referenced. Added
  13064. some more comments.
  13065. 2005-10-21 Jackson Harper <[email protected]>
  13066. * ListView.cs: Raise a double click event. Also tried to somewhat
  13067. fix when the selectedindexchanged event is raised. Its still
  13068. broken though.
  13069. 2005-10-21 Jackson Harper <[email protected]>
  13070. * TreeView.cs: New method to invalidate the plus minus area of a
  13071. node without invalidating the whole node (maybe this can be used
  13072. in some more places).
  13073. * TreeNodeCollection.cs: When adding to an empty node we need to
  13074. invalidate its plus minus area so the little block shows up.
  13075. 2005-10-21 Jackson Harper <[email protected]>
  13076. * TreeView.cs: Make sure that when we invalidate a node the bounds
  13077. are big enough to cover the selected box and the focus
  13078. rectangle. Use a different colour for the lines connecting nodes
  13079. so they show up with all themes.
  13080. 2005-10-21 Peter Dennis Bartok <[email protected]>
  13081. * NativeWindow.cs: Don't call anything that could call into the driver,
  13082. we might be on a different thread.
  13083. 2005-10-21 Peter Dennis Bartok <[email protected]>
  13084. * Control.cs(Dispose): Since Dispose might run on a different thread,
  13085. make sure that we call methods that could call into the driver via
  13086. invoke, to avoid thread issues
  13087. 2005-10-21 Peter Dennis Bartok <[email protected]>
  13088. * XplatUI.cs: Removed finalizer
  13089. * XplatUIX11.cs: Removed Destructor, was causing crashes due to X11
  13090. not allowing to be called on the finalizer thread.
  13091. 2005-10-21 Kornél Pál <[email protected]>
  13092. * ImageList.cs:
  13093. - Reverted r51889 and r51891.
  13094. - Added ImageListItem class that stores unmodified image items and image
  13095. properties required to create list images until handle is created.
  13096. - Added AddItem and moved image creation logic to AddItemInternal.
  13097. - Added CreateHandle method that creates images based on unmodified items.
  13098. - Added DestroyHandle that changes state to store unmodified items.
  13099. - Add and AddStrip methods no more create handle.
  13100. - ReduceColorDepth has no return value.
  13101. - Dispose destroys handle.
  13102. - Modified other methods to reflect the above changes.
  13103. - Implemented key support.
  13104. - Added profile 2.0 members and attributes.
  13105. - Added private Reset and ShouldSerialize methods that provide the same
  13106. behavior as MS.NET but the Visual Studio .NET designer seems to ignore
  13107. them as they are private.
  13108. - Added some more comments about implementation details.
  13109. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  13110. * DataGrid.cs: Adds support for vertical scrolling using the mousewheel
  13111. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  13112. * Binding.cs: No PushData/PullData if there is no binding (fixes crash)
  13113. 2005-10-21 Jordi Mas i Hernandez <[email protected]>
  13114. * DataGridDrawingLogic.cs: Fixes column hit calcultation
  13115. * DataGridColumnStyle.cs: Remove debug message
  13116. 2005-10-20 Jackson Harper <[email protected]>
  13117. * TreeView.cs: We can always get input keys regardless of whether
  13118. or not editing is enabled. They are used for navigation.
  13119. 2005-10-20 Jackson Harper <[email protected]>
  13120. * TreeNode.cs: Use the viewport rect for determining if a node
  13121. needs to be moved for visibility. Don't use Begin/End edit. This
  13122. calls a full refresh when its done.
  13123. * TreeView.cs: New SetBottom works correctly. Make the viewport
  13124. rect property internal so the treenodes can see it. When clicking
  13125. on a node we need to ensure that its visible because it might just
  13126. be partly visible when clicked.
  13127. 2005-10-20 Jackson Harper <[email protected]>
  13128. * TreeNodeCollection.cs: Remove debug code.
  13129. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  13130. * Datagrid.cs: Implements column sorting in Datagrid
  13131. * DataGridColumnStyle.cs: Implements column sorting in Datagrid
  13132. 2005-10-20 Jackson Harper <[email protected]>
  13133. * TreeNodeCollection.cs: Remove items properly. Update the correct
  13134. area after removing them.
  13135. 2005-10-20 Jordi Mas i Hernandez <[email protected]>
  13136. * Datagrid.cs: Should not call base.OnPaintBackground
  13137. 2005-10-20 Peter Dennis Bartok <[email protected]>
  13138. * XplatUIX11.cs (GetMessage):
  13139. - Now properly calculates NC_xBUTTONDOWN coordinates off the whole
  13140. window instead of client window
  13141. - Now properly calculates NC_xBUTTONUP message coordinates
  13142. - ScreenToMenu now properly calculates it's coordinates of whole
  13143. window, since menus are in the whole window, not in the client
  13144. window
  13145. - Added WholeToScreen coordinate translation method
  13146. 2005-10-20 Peter Dennis Bartok <[email protected]>
  13147. * XplatUIX11.cs (GetMessage): Don't return in situations where we don't
  13148. want to return a message, loop back to the beginning of the function
  13149. and grab the next real message to process instead.
  13150. 2005-10-20 Peter Dennis Bartok <[email protected]>
  13151. * Splitter.cs: Properly set limits if no filler control is used
  13152. 2005-10-19 Jackson Harper <[email protected]>
  13153. * ColorDialog.cs: Don't show the help button if it is not enabled
  13154. instead of disabling it (this is what MS does). Don't create the
  13155. panel until the dialog is run, otherwise the vars (such as
  13156. ShowHelp) are not set yet.
  13157. 2005-10-19 Jackson Harper <[email protected]>
  13158. * TreeView.cs: Implement Begin/EndEdit more correctly so refreshes
  13159. are reduced when adding nodes.
  13160. * TreeNode.cs:
  13161. * TreeNodeCollection.cs: Use UpdateNode instead of refreshing the
  13162. tree.
  13163. 2005-10-19 Jackson Harper <[email protected]>
  13164. * FolderBrowserDialog.cs: End editing our treeview so the window
  13165. actually gets refreshed.
  13166. 2005-10-18 Peter Dennis Bartok <[email protected]>
  13167. * Control.cs: Fixed logic flip on when to call OnPaintBackground.
  13168. Obsoleted handling of WM_ERASEBKGND, now always draws our background
  13169. inside of WM_PAINT
  13170. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  13171. * MenuAPI.cs: Returns after Hidding window
  13172. * XplatUIX11.cs: Added TODO found while debugging menu issues
  13173. 2005-10-18 Peter Dennis Bartok <[email protected]>
  13174. * XplatUIX11.cs: Do not re-map the whole window when it's size
  13175. becomes non-zero unless it's supposed to be actually visible
  13176. 2005-10-18 Jackson Harper <[email protected]>
  13177. * TreeView.cs: We don't need to keep a count anymore.
  13178. * TreeNodeCollection.cs: Fix off by one in RemoveAt, Insert can
  13179. use the Grow method.
  13180. 2005-10-18 Jackson Harper <[email protected]>
  13181. * TreeNodeCollection.cs: Insert is not supported on arrays, so
  13182. implement it manually here.
  13183. 2005-10-18 Jackson Harper <[email protected]>
  13184. * ImageList.cs: Dont kill the list when the colour depth is
  13185. changed, just change the colour depth of all the images.
  13186. - Same goes for setting the image size. Just resize them all
  13187. instead of killing the list softly.
  13188. 2005-10-18 Jackson Harper <[email protected]>
  13189. * Control.cs: Don't invalidate empty rectangles.
  13190. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  13191. * ListViewItem.cs:
  13192. - Adds checked item to the Checked/Item lists (where empty before)
  13193. - Do not add items to the Selected lists if they are already present
  13194. * ListView.cs:
  13195. - Fixes IsFixedSize, SyncRoot, IsReadOnly in many collections
  13196. - When deleting items make sure that we delete them for the Selected
  13197. and Checked list also.
  13198. 2005-10-18 Jordi Mas i Hernandez <[email protected]>
  13199. * Label.cs: Dispose objects no longer used
  13200. * ThemeWin32Classic.cs: Dispose objects no longer used
  13201. 2005-10-18 Jackson Harper <[email protected]>
  13202. * TabControl.cs: Don't refresh the whole control when the tabs are
  13203. scrolled, we just need to refresh the tab area.
  13204. 2005-10-17 Jackson Harper <[email protected]>
  13205. * XplatUIX11.cs: Compress code a little bit. Only calculate the
  13206. after handle when we need it.
  13207. 2005-10-17 Peter Dennis Bartok <[email protected]>
  13208. * Control.cs: When the parent size changes, recalculate anchor
  13209. positions. Partial fix for #76462
  13210. 2005-10-17 Peter Dennis Bartok <[email protected]>
  13211. * ThemeWin32Classic.cs: Make sure the picturebox has it's background
  13212. drawn. Fixes #76462
  13213. 2005-10-17 Jackson Harper <[email protected]>
  13214. * MonthCalendar.cs: Don't create the numeric up down until our
  13215. handle is created. Otherwise our handle is created in the
  13216. constructor and we don't know if we are a WS_CHILD or WS_POPUP
  13217. yet.
  13218. 2005-10-17 Jackson Harper <[email protected]>
  13219. * TreeView.cs: Merge in patch by Rafael Teixeira to align strings
  13220. correctly.
  13221. 2005-10-17 Rafael Teixeira <[email protected]>
  13222. * TreeNode.cs : small logical fix (was using local var instead of field)
  13223. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  13224. * ThemeWin32Classic.cs: Fixes vert/horz scrollbar colours
  13225. 2005-10-17 Jordi Mas i Hernandez <[email protected]>
  13226. * ThemeWin32Classic.cs: Fixes focus drawing in for non-flat/popup buttons
  13227. 2005-10-16 Peter Dennis Bartok <[email protected]>
  13228. * Control.cs:
  13229. - Re-implemented anchoring code. My first version was really broken.
  13230. This fixes bug #76033. Unlike the previous implementation we will
  13231. no longer have round errors since all numbers are calculated from
  13232. scratch every time. Removed various anchor-related obsolete vars.
  13233. - InitLayout no longer causes layout event firing and layout to be
  13234. performed
  13235. 2005-10-16 Jackson Harper <[email protected]>
  13236. * Hwnd.cs: Compute invalid area correctly (fixes my last commit
  13237. which was broken).
  13238. 2005-10-16 Jackson Harper <[email protected]>
  13239. * TabControl.cs: Remove debug code.
  13240. 2005-10-16 Jackson Harper <[email protected]>
  13241. * XEventQueue.cs: Increase the default queue size (very simple
  13242. apps needed to grow the queue).
  13243. * Hwnd.cs: No finalizer so we don't need to suppress
  13244. finalization. Compute the invalid area manually so a new rectangle
  13245. does not newto be created.
  13246. * ScrollableControl.cs: Don't set any params (otherwise visibility
  13247. isn't set correctly).
  13248. * MdiChildContext.cs: New constructor takes the mdi parent so it
  13249. doesn't have to be computed and avoids a crash on windows. Draw
  13250. the window icon properly, and allow the text to be seen.
  13251. * Form.cs: Use new MdiChildContext constructor. Make sure the
  13252. child context isn't null in wndproc.
  13253. * TabControl.cs: Don't set focus, this is muddling keyboard
  13254. behavoir. Expand the tab rows when a window size increase will
  13255. allow extra tabs to be seen. Don't allow tabs smaller than the
  13256. width of a window to be scrolled out of view.
  13257. * TreeNode.cs:
  13258. * TreeView.cs: Use measure string to calculate a nodes width, the
  13259. width is cached and only updated when the text or the font is
  13260. changed. Don't check for expand/collapse clicks on the first level
  13261. nodes if root lines are disabled.
  13262. 2005-10-16 Ritvik Mayank <[email protected]>
  13263. * TextBoxBase.cs: Fixes #76352 (passing tab key in a multiline textbox)
  13264. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  13265. * DataGridBoolColumn.cs: fixes warning
  13266. 2005-10-16 Jordi Mas i Hernandez <[email protected]>
  13267. * ControlPaint.cs: Fixes methods Dark, DarkDark, Light, LightLight
  13268. to match more to match more precisely the MS Net behavior
  13269. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13270. * Hwnd.cs: Added field to track if window is mapped
  13271. * XplatUIX11.cs:
  13272. - Unmap windows if they become 0-size, re-map when
  13273. they are >0 again; fixes #76035
  13274. - Re-set our error handler after initializing X11Desktop
  13275. to override any error handlers Gtk or whatever was called
  13276. may have set.
  13277. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13278. * CheckedListBox.cs: Removed unused vars
  13279. * ListView.cs: Fixed signatures
  13280. * RichTextBox.cs: Removed unused vars
  13281. * TextBoxBase.cs: Removed unused vars
  13282. * XplatUIWin32.cs: Removed unused vars
  13283. * XplatUIX11.cs: Removed unused vars
  13284. * XplatUI.cs: Updated version and date to latest published
  13285. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13286. * Cursor.cs: Added private .ctor to work around a bug in
  13287. resourceset (Thanks to Geoff Norton for the help on this)
  13288. * SplitterEventArgs.cs: Made fields accessible so we don't
  13289. waste boatloads of objects and can reuse the same one
  13290. in Splitter
  13291. * XplatUIWin32.cs(DrawReversibleLine): Now also considers
  13292. any captions and borders when generating screen coordinates
  13293. * Splitter.cs: Reimplemented control, now fully complete, uses
  13294. rubberband drawing, supports and obeys all properties, has
  13295. proper cursors
  13296. 2005-10-13 Miguel de Icaza <[email protected]>
  13297. * Form.cs (Form): Setup default values for autoscale and
  13298. autoscale_base_size; Make these instance variables, not static
  13299. variables.
  13300. (OnLoad): on the first load, adjust the size of the form.
  13301. 2005-10-13 Peter Dennis Bartok <[email protected]>
  13302. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs: Added
  13303. width argument to DrawReversibleRectangle()
  13304. * XplatUIWin32.cs, XplatUIX11.cs:
  13305. - Implemented width for DrawReversibleRectangle()
  13306. - Added logic to DrawReversibleRectangle that recognizes a zero
  13307. width or height and only draws a line in that situation
  13308. 2005-10-12 Peter Dennis Bartok <[email protected]>
  13309. * XplatUI.cs, XplatUIDriver.cs: Added GetAutoScaleSize()
  13310. * XplatUIOSX.cs: Stubbed GetAutoScaleSize() method
  13311. * XplatUIWin32.cs, XplatUIX11.cs: Implemented GetAutoScaleSize()
  13312. method (it uses our FosterParent window to get a graphics context)
  13313. 2005-10-12 Peter Dennis Bartok <[email protected]>
  13314. * XplatUI.cs, XplatUIDriver.cs: Removed EraseWindowBackground
  13315. and SetWindowBackground methods
  13316. * Control.cs:
  13317. - Setting proper ControlStyles
  13318. - We no longer call XplatUI.SetWindowBackground and XplatUI.
  13319. EraseWindowBackground, instead we draw the window background
  13320. ourselves in PaintControlBackground. This behaviour is
  13321. required to match MS, where, when OnPaintBackground is not
  13322. called, the background is not drawn.
  13323. - Removed unneeded Refresh() in set_Text
  13324. * Hwnd.cs: Dropped the ErasePending support. No longer needed
  13325. * XplatUIX11.cs:
  13326. - Created DeriveStyles method to translate from CreateParams to
  13327. FormBorderStyle and TitleStyle, also handles BorderStyle (which
  13328. matches FormBorderStyle enum values)
  13329. - Consolidated SetHwndStyles and CalculateWindowRect border/title
  13330. style calculations into single DeriveStyles method
  13331. - Fixed CreateWindow to (finally) use Gravity. This prevents X11
  13332. from redrawing the whole window on any resize or expose.
  13333. - Fixed CreateWindow usage of SetWindowValuemask. Before not
  13334. all styles were applied to our whole/client window appropriately
  13335. - Removed EraseWindowBackground() and SetWindowBackground() methods
  13336. - Removed handling of WM_ERASEBKGND message from DefWndProc, we
  13337. no longer clear/redraw the background through X
  13338. - Removed handling of erase_pending bit, we have no use for it (or
  13339. so it seems)
  13340. * XplatUIOSX.cs:
  13341. - Removed generation and handling of WM_ERASEBKGND message
  13342. - Removed EraseWindowBackground() and SetWindowBackground() methods
  13343. - Removed handling of hwnd.ErasePending flag
  13344. * XplatUIWin32.cs:
  13345. - Removed EraseWindowBackground() and SetWindowBackground() methods
  13346. - We no longer call EraseWindowBackground on PaintEventStart, we
  13347. ignore the fErase flag, erasing is handled in Control in the
  13348. background handler
  13349. * Button.cs, GroupBox.cs, Label.cs, CheckBox.cs, ProgressBar.cs,
  13350. LinkLabel.cs, ListControl.cs, TabPage.cs, UpDownBase.cs,
  13351. TextBoxBase.cs, TextBox.cs, ListView.cs, ButtonBase.cs,
  13352. CheckedListBox.cs, MdiClient.cs, Panel.cs, DataGrid.cs,
  13353. DataGridTextBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs,
  13354. TabControl.cs, ScrollableControl.cs, ToolBar.cs, PictureBox.cs,
  13355. DateTimePicker.cs, StatusBar.cs, MonthCalendar.cs: Setting proper ControlStyles
  13356. 2005-10-12 Jonathan Chambers <[email protected]>
  13357. * PropertyGrids.cs: Get sub properties
  13358. * PropertyGridView.cs: Fix drawing code
  13359. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13360. * ListBox.cs: Fixes 76383
  13361. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13362. * DataGridTextBoxColumn.cs: Sets location and size before attachment
  13363. * ThemeWin32Classic.cs: Fixes border drawing and calculations
  13364. * DataGridDrawingLogic.cs: Fixes border drawing and calculations
  13365. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13366. * ComboBox.cs: Fixes border drawing
  13367. 2005-10-10 Miguel de Icaza <[email protected]>
  13368. * MimeIcon.cs: Ignore errors if the file can not be read.
  13369. 2005-10-11 Jordi Mas i Hernandez <[email protected]>
  13370. * Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
  13371. - Fixed border calculations
  13372. - Fixed horizontal scrolling in single column listboxes
  13373. - Fixed drawing issues
  13374. 2005-10-10 Peter Dennis Bartok <[email protected]>
  13375. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched from BorderStyle to
  13376. FormBorderStyle enum
  13377. * XplatUIX11.cs: Switched BorderStyle to FormBorderStyle, added
  13378. code to determine FormBorderStyles from CreateParams
  13379. * Form.cs:
  13380. - Fixed bug where we'd set the wrong window styles if we were
  13381. not creating an MDI window
  13382. - Added call to XplatUI.SetBorderStyle when form borders are set
  13383. * Control.cs: Casting BorderStyles to accommodate changed XplatUI APIs
  13384. * Hwnd.cs:
  13385. - Removed obsolete edge style
  13386. - Switched from BorderStyle to FormBorderStyle
  13387. 2005-10-10 Jackson Harper <[email protected]>
  13388. * Form.cs: Use the property to get the window handle instead of
  13389. accessing it directly. Prevents a null reference exception.
  13390. 2005-10-10 Jackson Harper <[email protected]>
  13391. * TreeView.cs: Don't adjust the rect given to DrawString now that
  13392. our libgdiplus draws correctly.
  13393. 2005-10-08 Jackson Harper <[email protected]>
  13394. * TreeView.cs: Don't try to find the clicked on node if there are
  13395. no nodes in the tree.
  13396. 2005-10-08 Alexander Olk <[email protected]>
  13397. * RichTextBox.cs:
  13398. restore
  13399. 2005-10-08 Alexander Olk <[email protected]>
  13400. * ImageListStreamer.cs, TreeView.cs, UpDownBase.cs, RichTextBox.cs,
  13401. ColorDialog.cs, TextControl.cs, Panel.cs, MdiChildContext.cs,
  13402. ErrorProvider.cs:
  13403. Use ResPool for brushes and dispose System.Drawing objects that
  13404. are not used anymore.
  13405. 2005-10-07 Jackson Harper <[email protected]>
  13406. * MdiChildContext.cs: Use the new borders instead of drawing them
  13407. ourselves.
  13408. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  13409. * Calling UpdateBounds after changing the window's BorderStyle
  13410. since the style can change the ClientSize
  13411. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13412. * Control.cs: Made PaintControlBackground virtual
  13413. * Panel.cs: Overriding PaintControlBackground instead of using paint
  13414. event; paint event method was interfering with 'real' users of the
  13415. event.
  13416. 2005-10-06 Jordi Mas i Hernandez <[email protected]>
  13417. * ThemeWin32Classic.cs: remove border drawing since it is handled
  13418. by the base control class now and was causing double border drawing.
  13419. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13420. * Panel.cs: Redraw our background on paint. Not a pretty solution,
  13421. but it does seem to match MS behaviour. This fixes bug #75324
  13422. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13423. * XplatUIX11.cs: A better DrawReversibleRectangle version, however
  13424. somewhat hackish looking
  13425. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13426. * TextBoxBase.cs:
  13427. - We now accept Enter even if AcceptEnter is false, if the containing
  13428. form does not have an AcceptButton configured (fixes bug #76355)
  13429. - Calculations are now fixed to no longer use Width/Height, but
  13430. ClientSize.Width/Height, since we now support borders (this was
  13431. a result of fixing borders and therefore bug #76166)
  13432. - We no longer show the horizontal scrollbar if TextBox.WordWrap is
  13433. true (fixes bug #76354)
  13434. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13435. * Control.cs:
  13436. - Defaulting BorderStyle and setting it in XplatUI when our window
  13437. is created
  13438. - Added enum check to InternalBorderStyle setter
  13439. * XplatUIX11.cs:
  13440. - Added drawing of window borders
  13441. - Now properly calculates WM decorations offset for toplevel
  13442. windows (fixes bug #74763)
  13443. * XplatUIWin32.cs:
  13444. - Implemented BorderStyles for windows (we're letting win32 draw
  13445. the border for us)
  13446. - Fixed the signature for SetWindowLong
  13447. * PictureBox.cs, DataGrid.cs, TextBoxBase.cs, ToolBar.cs, Panel.cs,
  13448. ListBox.cs, Label.cs: Now uses Control.InternalBorderStyle for
  13449. setting borders
  13450. * UpDownBase.cs: Remove drawing of borders, this is handled by
  13451. the driver, outside the client area
  13452. * ListView.cs: Removed bogus border calculations. The control should
  13453. be oblivious to borders, since those are not part of the client
  13454. area.
  13455. * X11DesktopColors.cs: Commented out (currently) unneeded variables
  13456. * ThemeWin32Classic.cs: Removed border calculations from ListView
  13457. drawing code
  13458. 2005-10-06 Jackson Harper <[email protected]>
  13459. * MdiChildContext.cs: Clear out the old virtual position remove
  13460. all the unneeded calls to CreateGraphics.
  13461. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13462. * TextControl.cs: Use proper color for highlighted text; fixes #76350
  13463. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13464. * Form.cs:
  13465. - Added loading and setting of our new default icon
  13466. - Only set icon if window is already created
  13467. 2005-10-06 Peter Dennis Bartok <[email protected]>
  13468. * Label.cs:
  13469. - Do not explicitly set the foreground and background colors, to
  13470. allow inheriting from parents (fixes #76302)
  13471. - Use Control's InternalBorderStyle property to deal with borders
  13472. 2005-10-06 Jackson Harper <[email protected]>
  13473. * MdiChildContext.cs: Use the new xplatui function to draw a
  13474. reversible rect.
  13475. 2005-10-06 Jackson Harper <[email protected]>
  13476. * Form.cs: Add the parent before creating the child context cause
  13477. we need the parent when setting up the child.
  13478. 2005-10-06 Jackson Harper <[email protected]>
  13479. * FolderBrowserDialog.cs: redo the tree population code so a
  13480. second thread isn't used. Should be a lot faster and more stable
  13481. now.
  13482. 2005-10-05 Jackson Harper <[email protected]>
  13483. * TreeView.cs: There are no expand/collapse boxes if the node has
  13484. no children.
  13485. 2005-10-05 Jackson Harper <[email protected]>
  13486. * X11DesktopColors.cs: Get menu colours for the gtk theme.
  13487. 2005-10-05 Alexander Olk <[email protected]>
  13488. * FileDialog.cs: Fix InitialDirectory
  13489. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  13490. * ComboBox.cs:
  13491. - Fixes changing between styles
  13492. - Fixes simple mode
  13493. - Fixes last item crashing when navigating with keyboard
  13494. 2005-10-05 Jordi Mas i Hernandez <[email protected]>
  13495. * LinkLabel.cs: Related to 76045. Stops the LinkLabel been drawn as a Label
  13496. 2005-10-05 Jackson Harper <[email protected]>
  13497. * TreeView.cs: If updating the root node do a full refresh.
  13498. * TreeNode.cs: The root node should be expanded by default. Also
  13499. added a utility prop to tell if we are the root node.
  13500. * TreeNodeCollection.cs: Only refresh if the node we are being
  13501. added to is expanded. Also added a comment on a potential
  13502. optimization.
  13503. 2005-10-04 Peter Dennis Bartok <[email protected]>
  13504. * Cursor.cs, Hwnd.cs: Added call to GC.SuppressFinalize()
  13505. in dispose method. Fixes #76330
  13506. 2005-10-04 Jordi Mas i Hernandez <[email protected]>
  13507. * ListView.cs, ThemeWin32Classic.cs, ListViewItem.cs:
  13508. - Implements vertical and horizontal scrolling using XplatUI
  13509. - Fixes keyboard navagation
  13510. - Fixes EnsureVisible
  13511. - Drawing fixes
  13512. - Handles and draws focus properly
  13513. 2005-10-04 Kornél Pál <[email protected]>
  13514. * ImageList.cs: Use upper case initials for internal fields. ImageStream:
  13515. Create handle. NET_2_0: Destroy handle when value is null.
  13516. 2005-10-03 Jackson Harper <[email protected]>
  13517. * ScrollBar.cs: My last scrollbar patch was broken. This is a
  13518. revert and a new patch to prevent the thumb from refreshing so
  13519. much.
  13520. 2005-10-02 Jackson Harper <[email protected]>
  13521. * ScrollBar.cs: Don't update position if it hasn't actually
  13522. changed. This occurs when you hold down the increment/decrement
  13523. buttons and the thumb gets to the max/min.
  13524. 2005-10-01 Jackson Harper <[email protected]>
  13525. * Form.cs:
  13526. * MdiChildContext.cs:
  13527. * MdiClient.cs: Implement ActiveMdiChild in Form.
  13528. 2005-10-01 Jordi Mas i Hernandez <[email protected]>
  13529. * ComboBox.cs: Include ComboBoxEdit flag for the edit item
  13530. 2005-10-01 Peter Dennis Bartok <[email protected]>
  13531. * X11DesktopColors.cs: Bow out gracefully if the Gtk libs cannot
  13532. be found
  13533. 2005-09-30 Jackson Harper <[email protected]>
  13534. * ListBox.cs: Don't do a full refresh unless some data has
  13535. actually changed.
  13536. 2005-09-30 Jackson Harper <[email protected]>
  13537. * TreeView.cs: Make sure that the checkboxes size is factored in
  13538. even when not visible.
  13539. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13540. * FileDialog.cs: Fix Jordi's build break
  13541. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  13542. * FileDialog.cs:
  13543. - Use standard the Windows colours for the combobox as espected
  13544. - Dispose objects that use resouces when no longer need them
  13545. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13546. * X11DesktopColors.cs: Initial incomplete implementation
  13547. * XplatUIX11.cs: Added call to initialize X11DesktopColors
  13548. 2005-09-30 Peter Dennis Bartok <[email protected]>
  13549. * Theme.cs:
  13550. - Switched Theme color names to match the names defined in
  13551. System.Drawing.KnownColors. Life's hard enough, no need to make
  13552. it harder.
  13553. - Added setters to all theme color properties so themes can set
  13554. their color schemes. The setters also propagate the color changes
  13555. to System.Drawing.KnownColors via reflection
  13556. * ControlPaint.cs, Label.cs, TextControl.cs, ToolTip.cs, ThemeNice.cs,
  13557. ComboBox.cs, MdiChildContext.cs, TextBoxBase.cs, DateTimePicker.cs
  13558. DataGridColumnStyle.cs, MonthCalendar.cs, TreeView.cs: Updated to
  13559. use the new, more logical theme color names
  13560. * XplatUIWin32.cs: Updated the GetSysColorIndex enum to include new
  13561. post-NT colors
  13562. * ThemeWin32Classic.cs:
  13563. - Removed code to set the old classic Windows colors. Instead it
  13564. now relies on the colors returned by System.Drawing.KnownColors
  13565. which will be either modern static colors (Unix) or colors
  13566. read from the user's configuration (Win32)
  13567. - Updated to use the new, more logical theme color names
  13568. - Switched DataGrid drawing code to use only Theme colors instead of
  13569. a mix of System.Drawing.KnownColors and Theme colors
  13570. - DrawFrameControl(): Removed code that fills the button area, the
  13571. fill would overwrite any previous fill done by a control. This
  13572. fixes bug #75338
  13573. - Added DrawReversibleRectangle() stub
  13574. * ScrollableControl.cs: Set visible state to false when scrollbars
  13575. are removed (pdn fix)
  13576. * XplatUI.cs, XplatUIOSX.cs, XplatUIDriver.cs: Added
  13577. DrawReversibleRectangle() method to allow drawing primitive
  13578. 'rubber bands'
  13579. * XplatUIX11.cs: Implemented DrawReversibleRectangle()
  13580. 2005-09-30 Kornél Pál <[email protected]>
  13581. * ImageList.cs: Add(Icon): Create handle.
  13582. 2005-09-30 Jordi Mas i Hernandez <[email protected]>
  13583. * ListView.cs:
  13584. * ThemeWin32Classic.cs:
  13585. - Fixes detail mode
  13586. - Sets clippings
  13587. - Issues with drawing
  13588. 2005-09-30 Kornél Pál <[email protected]>
  13589. * ImageList.cs: Moved RecreateHandle back to ImageList as event
  13590. source has to be the ImageList.
  13591. 2005-09-30 Kornél Pál <[email protected]>
  13592. * ImageList.cs: Add(Icon): Use Graphics.DrawIcon instead of Icon.ToBitmap.
  13593. 2005-09-30 Kornél Pál <[email protected]>
  13594. * ImageList.cs: ReduceColorDepth: Clean up pointer operations.
  13595. 2005-09-30 Kornél Pál <[email protected]>
  13596. * ImageList.cs: ImageCollection: Removed owner field as it is no more used.
  13597. 2005-09-29 Jonathan Chambers <[email protected]>
  13598. * GridItem.cs: Fixed TODOs
  13599. * GridItemCollection.cs: Added ICollection interface
  13600. 2005-09-30 Kornél Pál <[email protected]>
  13601. * ImageList.cs: Resize icons when needed.
  13602. 2005-09-29 Jordi Mas i Hernandez <[email protected]>
  13603. * ListViewItem.cs
  13604. - Fixes GetBounds and returns on screen rects
  13605. * ListView.cs:
  13606. - Fixes vertical and horzintal scrolling of items
  13607. * ThemeWin32Classic.cs:
  13608. - Fixes drawing
  13609. 2005-09-29 Raja R Harinath <[email protected]>
  13610. * ImageList.cs (ImageStream) [NET_2_0]: Reflect re-factoring.
  13611. 2005-09-29 Kornél Pál <[email protected]>
  13612. * ImageList.cs: Added comments about handle creation. Moved Handle,
  13613. HandleCreated and OnRecreateHandle implementations to ImageCollection.
  13614. Handle is created in Add methods.
  13615. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  13616. * DataGridDrawingLogic.cs:
  13617. - Takes rows into account on Colum calculations
  13618. - Returns the column when clickig
  13619. * DataGrid.cs:
  13620. - Fixes default HitTestInfo values
  13621. - Fixes HitTestInfo.ToString
  13622. - Fixes ResetBackColor
  13623. 2005-09-28 Jackson Harper <[email protected]>
  13624. * MdiChildContext.cs: Obey rules for fixed sized windows (no
  13625. sizing or cursor changes). Also added some temp code to draw the
  13626. titlebars text (Makes dev a little easier).
  13627. 2005-09-28 Kornél Pál <[email protected]>
  13628. * ImageList.cs: AddStrip: Throw ArgumentException when Image is not a Bitmap.
  13629. 2005-09-28 Jordi Mas i Hernandez <[email protected]>
  13630. * ListBox.cs: Fixes bug 76253
  13631. 2005-09-28 Kornél Pál <[email protected]>
  13632. * ImageList.cs: Added comments about the current implementation. Added
  13633. ReduceColorDepth, IndexedColorDepths and GetNearestColor to can use
  13634. Format32bppArgb to preserve transparency and can use Graphics.FromImage
  13635. while using the specified ColorDepth. ReduceColorDepth uses unsafe code
  13636. with Bitmap.LockBits for better performance. Revised the whole file to
  13637. match MS.NET behaviour and provide better performance. Non-public
  13638. interface members are calling public members even when they throw
  13639. NotSupportedException for better maintainability. Moved ColorDepth,
  13640. ImageSize, ImageStream and TransparentColor implementations to
  13641. ImageCollection for better performance as these properties are not used
  13642. by ImageList.
  13643. * ImageListStreamer.cs: Added a new internal constructor that takes an
  13644. ImageList.ImageCollection and serializes Images based on
  13645. ImageCollection.ToArray(). Renamed ImageColorDepth to ColorDepth to
  13646. match ImageList property name.
  13647. 2005-09-28 Kazuki Oikawa <[email protected]>
  13648. * ListBox.cs: Fixes IndexFromPoint for last item
  13649. 2005-09-27 Jackson Harper <[email protected]>
  13650. * Form.cs: Set the position of new mdi children correctly.
  13651. 2005-09-27 Jackson Harper <[email protected]>
  13652. * MdiClient.cs: New mdi children need to be added to the back of
  13653. the controls collection so the zorder is set correctly. Also add a
  13654. count of all the child windows that have been created.
  13655. 2005-09-27 Jackson Harper <[email protected]>
  13656. * Form.cs (CreateParams): Setup MDI forms correctly.
  13657. 2005-09-27 Jackson Harper <[email protected]>
  13658. * MdiChildContext.cs:
  13659. * MonthCalendar.cs:
  13660. * UpDownBase.cs:
  13661. * ListBox.cs:
  13662. * ListView.cs:
  13663. * TextBoxBase.cs:
  13664. * TreeView.cs:
  13665. * ScrollableControl.cs:
  13666. * ComboBox.cs: Add implicit controls using the new implict control
  13667. functionality in ControlCollection. Also try to block multiple
  13668. control add in a suspend/resume layout to save some cycles.
  13669. 2005-09-27 Jackson Harper <[email protected]>
  13670. * Control.cs: Add functionality to the controls collection to add
  13671. 'implicit controls' these are controls that are created by the
  13672. containing control but should not be exposed to the user. Such as
  13673. scrollbars in the treeview.
  13674. * Form.cs: The list var of the ControlsCollection is no longer
  13675. available because of the potential of implicit controls getting
  13676. ignored by someone accessing the list directly.
  13677. 2005-09-26 Peter Dennis Bartok <[email protected]>
  13678. * Control.cs: Fixed SetChildIndex; it no longer causes a child to
  13679. loose it's parent. (Fixed bug introduced in r49103 when we added
  13680. setting the child parent to null on Remove)
  13681. 2005-09-26 Gert Driesen <[email protected]>
  13682. * DataGridBoolColumn.cs: Marked CheckState private to fix public API.
  13683. * Splitter.cs: Added missing attributes for BorderStyle property.
  13684. * TextBoxBase.cs: Marked Calculate* methods internal.
  13685. * TextBox.cs: Fixed DefaultValue for PasswordChar property to match
  13686. MS.NET.
  13687. 2005-09-26 Jordi Mas i Hernandez <[email protected]>
  13688. * ListBox.cs: Fixes navigation to the last item in multicolumn lists
  13689. 2005-09-25 Jackson Harper <[email protected]>
  13690. * TreeView.cs: Update the node bounds correctly regardless of
  13691. whether the node is visible.
  13692. 2005-09-25 Jackson Harper <[email protected]>
  13693. * ImageList.cs: Don't dispose the image after it is added to the
  13694. image list. Only reformat images that need to be resized.
  13695. 2005-09-25 Jackson Harper <[email protected]>
  13696. * ImageList.cs: Don't set the format when changing the image.
  13697. 2005-09-25 Jackson Harper <[email protected]>
  13698. * TreeView.cs: We can't just assume the node has a font. Use the
  13699. treeviews font if no node font is available.
  13700. 2005-09-25 Jackson Harper <[email protected]>
  13701. * TreeView.cs: Allow the scrollbars to be reset with negative
  13702. values.
  13703. - Don't add scrollbars to negative sized windows.
  13704. 2005-09-23 Jackson Harper <[email protected]>
  13705. * XplatUIX11.cs: Update to use Mono.Posix.Native instead of plain
  13706. old Mono.Posix. Also remove some stray code that shouldn't have
  13707. been committed.
  13708. 2005-09-23 Jackson Harper <[email protected]>
  13709. * TreeView.cs: Attempt at proper sizing of the horizontal
  13710. scrollbar. Also don't resize the scrollbars unless they are
  13711. visible.
  13712. 2005-09-23 Jackson Harper <[email protected]>
  13713. * TreeView.cs: We don't need to expand the invalid area when the
  13714. selection changes, as this is all drawn in the node's bounding
  13715. box. The area needs to be expanded (previous typo was contracting
  13716. it) when the focus rect moves.
  13717. 2005-09-23 Jackson Harper <[email protected]>
  13718. * TreeView.cs: Display the selection box under the correct
  13719. circumstances. We were rendering white text with no selection box
  13720. before.
  13721. 2005-09-23 Peter Dennis Bartok <[email protected]>
  13722. * TextControl.cs(Split): Now updates selection start/end if it points
  13723. into a line that's being split. Fixes a FIXME and bug #75258
  13724. 2005-09-23 Jackson Harper <[email protected]>
  13725. * Binding.cs:
  13726. * ListControl.cs: Don't use the path when retrieving binding
  13727. managers from the binding context. My bat sense tells me that the
  13728. path is only used on insertion.
  13729. 2005-09-22 Jackson Harper <[email protected]>
  13730. * Splitter.cs: Set the cursor an easier way. (Thanks peter).
  13731. 2005-09-22 Jackson Harper <[email protected]>
  13732. * Splitter.cs: There are special cursors used for splitting.
  13733. * XplatUIX11.cs: The VSplit and HSplit cursors were backwards.
  13734. 2005-09-22 Jackson Harper <[email protected]>
  13735. * Splitter.cs: Change the cursor appropriately when the splitter
  13736. is moused over, so the user actually knows there is a splitter
  13737. there.
  13738. 2005-09-22 Hisham Mardam Bey <[email protected]>
  13739. * Label.cs : Fix ToString method to give same output as MS.NET
  13740. 2005-09-22 Jackson Harper <[email protected]>
  13741. * TreeView.cs: Create the scrollbars when the handle is created
  13742. and add them right away, just make them invisble. Also account for
  13743. the window being shrunk vertically to the point that the vert
  13744. scrollbar needs to be added.
  13745. - Remove some 0.5 adjustments to get around anti aliasing issues.
  13746. 2005-09-22 Jordi Mas i Hernandez <[email protected]>
  13747. * MainMenu.cs: Fixes default value
  13748. * MenuItem.cs: Fixes default value
  13749. 2005-09-22 Kazuki Oikawa <[email protected]>
  13750. * AsyncMethodResult.cs: Fixes Control.Invoke is blocked infinitely.
  13751. 2005-09-21 Jackson Harper <[email protected]>
  13752. * Control.cs: Don't try to set the border style on the window if
  13753. it hasn't been created. When the window is created the border
  13754. style will be used.
  13755. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13756. * Control.cs (Update): Don't call XplatUI if we don't have a
  13757. window handle yet
  13758. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13759. * ContainerControl.cs: Instead of throwing an exception, print
  13760. a one-time warning about Validate not being implemented
  13761. * XplatUIWin32.cs: Removed debug output
  13762. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13763. * Control.cs: Only set XplatUI background if we expect the windowing
  13764. system to handle the background. This stops controls that draw their
  13765. own background from flickering
  13766. * XplatUIX11.cs: Support custom visuals and colormaps for window
  13767. creation. This allows, amongst other things, using MWF X11 windows
  13768. with OpenGL.
  13769. 2005-09-21 Peter Dennis Bartok <[email protected]>
  13770. * OpenFileDialog.cs, ContentsResizedEventArgs.cs, LibSupport.cs, GridItem.cs,
  13771. CursorConverter.cs, SplitterEventHandler.cs, PropertyGridTextBox.cs,
  13772. GridTablesFactory.cs, MethodInvoker.cs, AccessibleEvents.cs,
  13773. SplitterEventArgs.cs, XplatUI.cs, Mime.cs, PropertySort.cs,
  13774. TreeViewCancelEventHandler.cs, Form.cs, PropertyGridCommands.cs,
  13775. IDataGridEditingService.cs, DateBoldEventHandler.cs, Label.cs,
  13776. KeyboardLayouts.cs, TextControl.cs, ProgressBar.cs, ToolTip.cs,
  13777. RadioButton.cs, OSFeature.cs, LinkLabel.cs, ColorDialog.cs,
  13778. ThemeNice.cs, ErrorIconAlignment.cs, TreeNode.cs, MimeGenerated.cs,
  13779. ComboBox.cs, DataGridTextBoxColumn.cs, ArrangeStartingPosition.cs,
  13780. GridColumnStylesCollection.cs,
  13781. IDataGridColumnStyleEditingNotificationService.cs,
  13782. PropertyGrid.cs, IFeatureSupport.cs, ICommandExecutor.cs,
  13783. MdiLayout.cs, GridEntry.cs, ControlBindingsCollection.cs,
  13784. GridTableStylesCollection.cs, TreeViewCancelEventArgs.cs,
  13785. TreeNodeCollection.cs, AmbientProperties.cs,
  13786. RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  13787. DataObject.cs, ErrorProvider.cs, Splitter.cs,
  13788. DataGridLineStyle.cs, Shortcut.cs, Control.cs,
  13789. FontDialog.cs, SecurityIDType.cs, GridItemType.cs,
  13790. BindingMemberInfo.cs, DataGridCell.cs, MdiChildContext.cs,
  13791. IRootGridEntry.cs, PropertyGridView.cs, DataGridParentRowsLabelStyle.cs,
  13792. FolderBrowserDialog.cs, OpacityConverter.cs, HelpProvider.cs,
  13793. IComponentEditorPageSite.cs, DataGridTableStyle.cs, NavigateEventArgs.cs,
  13794. NotifyIcon.cs, ContentsResizedEventHandler.cs, MenuItem.cs,
  13795. PropertyTabChangedEventHandler.cs, TextBoxBase.cs, OpenTreeNodeEnumerator.cs,
  13796. SelectionMode.cs, TextBox.cs, ListBindingConverter.cs,
  13797. FileDialog.cs, KeysConverter.cs, DomainUpDown.cs,
  13798. DataFormats.cs, SaveFileDialog.cs, GridItemCollection.cs,
  13799. ArrangeDirection.cs, FeatureSupport.cs, SelectionRangeConverter.cs,
  13800. RichTextBoxScrollBars.cs, NodeLabelEditEventHandler.cs, TreeNodeConverter.cs,
  13801. MimeIcon.cs, X11Structs.cs, PropertyGridEntry.cs,
  13802. ImageList.cs, ThemeWin32Classic.cs, X11Keyboard.cs,
  13803. CheckedListBox.cs, HelpNavigator.cs, DateTimePickerFormat.cs,
  13804. MdiClient.cs, DataGridDrawingLogic.cs, DataGridBoolColumn.cs,
  13805. NodeLabelEditEventArgs.cs, Screen.cs, PropertyManager.cs,
  13806. ComponentModel.cs, PropertiesTab.cs, CurrencyManager.cs,
  13807. SizeGrip.cs, DateBoldEventArgs.cs, X11Dnd.cs, Panel.cs,
  13808. Hwnd.cs, OSXStructs.cs, DrawMode.cs, XplatUIDriver.cs,
  13809. RichTextBox.cs, PropertyTabChangedEventArgs.cs, CommonDialog.cs,
  13810. DataGrid.cs, XplatUIX11.cs, RichTextBoxStreamType.cs, Win32DnD.cs,
  13811. ErrorBlinkStyle.cs, TreeViewEventHandler.cs,
  13812. PropertyValueChangedEventHandler.cs, IFileReaderService.cs,
  13813. DataGridTextBox.cs, SelectedGridItemChangedEventArgs.cs, ScrollBar.cs,
  13814. ListBox.cs, TreeViewAction.cs, Help.cs, TrackBar.cs,
  13815. AxHost.cs, PropertyValueChangedEventArgs.cs, XplatUIOSX.cs,
  13816. RichTextBoxFinds.cs, UpDownEventArgs.cs, Cursors.cs,
  13817. CategoryGridEntry.cs, RichTextBoxWordPunctuations.cs, DataGridColumnStyle.cs,
  13818. SelectedGridItemChangedEventHandler.cs, DateTimePicker.cs, NavigateEventHandler.cs,
  13819. Clipboard.cs, UpDownEventHandler.cs, MonthCalendar.cs,
  13820. SendKeys.cs, DataGridPreferredColumnWidthTypeConverter.cs, TreeView.cs,
  13821. ThreadExceptionDialog.cs, ImageListConverter.cs, XplatUIWin32.cs,
  13822. TreeViewEventArgs.cs: Fixed whitespace and set eol-style:native attribute
  13823. 2005-09-21 Jackson Harper <[email protected]>
  13824. * TreeNode.cs: Call Before/After Expand not Collapse when
  13825. expanding.
  13826. 2005-09-20 Jackson Harper <[email protected]>
  13827. * XplatUIX11.cs: Use the more hand looking hand (in most themes).
  13828. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  13829. * ListViewItem.cs:
  13830. - Fixes bug 76120
  13831. - Fixes proper storing of subitems
  13832. - Fixes not updated items
  13833. 2005-09-20 Peter Dennis Bartok <[email protected]>
  13834. * Control.cs, TextBoxBase.cs, TextControl.cs: Don't do certain
  13835. things if our window handle isn't created yet. Also disabled
  13836. debug for TextBoxBase
  13837. 2005-09-20 Peter Dennis Bartok <[email protected]>
  13838. * MenuAPI.cs: Remove filtering of events to allow menu usage
  13839. 2005-09-20 Miguel de Icaza <[email protected]>
  13840. * Cursor.cs: Allow null to be passed to Cursor.Current.
  13841. 2005-09-20 Alexander Olk <[email protected]>
  13842. * ThemeWin32Classic.cs:
  13843. - Change some private methods/fields to protected virtual so that
  13844. they can be accessed and overriden in derived classes
  13845. - First refactoring of some methods. Derived themes now don't
  13846. need to duplicate the complete code from ThemeWin32Classic
  13847. * ThemeNice.cs:
  13848. - Added nice StatusBar
  13849. - Derive from ThemeWin32Classic and not Theme
  13850. - Removed duplicate ThemeWin32Classic code
  13851. 2005-09-20 Miguel de Icaza <[email protected]>
  13852. * Control.cs (ControlCollection.Add): If the value null is passed
  13853. the control is ignored.
  13854. Optimize this loop.
  13855. 2005-09-19 Peter Dennis Bartok <[email protected]>
  13856. * MenuAPI.cs: Replaced Application.Run() with a loop that tracks
  13857. PostQuitMessage state.
  13858. * XplatUIWin32.cs: Removed bogus PostQuitMessage P/Invoke with HWND arg
  13859. 2005-09-19 Peter Dennis Bartok <[email protected]>
  13860. * Application.cs: Our constructor will never get called, move
  13861. initialization to fields; fixes bug #75933
  13862. 2005-09-19 Hisham Mardam Bey <[email protected]>
  13863. * FileDialog.cs :
  13864. - Allow files to be selected properly using file name
  13865. combo box.
  13866. - Add ability to change diretory (absolute / relative)
  13867. using file name combo box.
  13868. 2005-09-16 Jordi Mas i Hernandez <[email protected]>
  13869. * ListBox.cs:
  13870. - Fixes Multicolumn listboxes item wrong calculations
  13871. - Allows to click when only one item is in the listbox
  13872. - Fixes crash when no items using keyboard navigation
  13873. 2005-09-16 Alexander Olk <[email protected]>
  13874. * ComboBox.cs: Reverted almost everything from the latest patch which
  13875. broke ComboBox
  13876. 2005-09-16 Kazuki Oikawa <[email protected]>
  13877. * ToolTip.cs:
  13878. - Fixed #Mtd2 of ToolTipTest.RemoveToolTipTest.
  13879. * ComboBox.cs:
  13880. - When DropDownStyle is Simple, it does not show scrollbar
  13881. to the last item of the list.
  13882. - When DropDownStyle is Simple, it crashed when the list was
  13883. scrolled down with the down cursor key.
  13884. - Fixed a bug that when DropDownStyle is DropDownList, the
  13885. selected item was not shown.
  13886. - The position of the selected item was not preserved when
  13887. the next dropdown happened.
  13888. * ThemeWin32Classic.cs:
  13889. - Items were wrapped at the right end.
  13890. * CheckedListBox.cs:
  13891. - Fixed Add method
  13892. * ListBox.cs:
  13893. - Items should be fully shown.
  13894. - When resizing and vertical scrollbar disappeared, the item
  13895. of index 0 should be on the top of the list.
  13896. - GetItemRectangle should consider the size of ver. scrollbar
  13897. * StatusBar.cs:
  13898. - SizingGrip area should not be allocated when it is not
  13899. displayed.
  13900. - Now it reflects MinWidth of the containing panel and
  13901. fixed a crash that happens when its width becomes so small.
  13902. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  13903. * CheckedListBox.cs: Fixes bug 76028
  13904. * ListBox.cs: Fixes bug 76028
  13905. 2005-09-13 Jordi Mas i Hernandez <[email protected]>
  13906. * ThemeWin32Classic.cs: Sets clipping on DataGridPaintRowsHeaders
  13907. * DataGridDrawingLogic.cs: fixes issues with Datagrid drawing
  13908. 2005-09-12 Jordi Mas i Hernandez <[email protected]>
  13909. * XplatUIX11.cs: fixes System.NullReferenceException in some situations
  13910. 2005-09-09 Jonathan Chambers <[email protected]>
  13911. * IRootGridEntry.cs: Changed namespace to PropertyGridInternal
  13912. 2005-09-09 Jonathan Chambers <[email protected]>
  13913. * IRootGridEntry.cs: Added
  13914. * PropertyGridCommands.cs: Added
  13915. * PropertiesTab.cs: Added missing methods and property
  13916. * PropertyGridView.cs: Made class internal
  13917. * PropertyGridTextBox.cs: Made class internal
  13918. 2005-09-09 Alexander Olk <[email protected]>
  13919. * MimeIcon.cs: Try to check some other environment variables
  13920. if "DESKTOP_SESSION" returns "default"
  13921. 2005-09-09 Alexander Olk <[email protected]>
  13922. * ThemeNice.cs: Corrected background colors (e.g. menus)
  13923. * ColorDialog.cs: Use correct background colors for controls
  13924. 2005-09-09 Alexander Olk <[email protected]>
  13925. * ThemeNice.cs: Merged r49535 from ThemeWin32Classic
  13926. 2005-09-08 Peter Dennis Bartok <[email protected]>
  13927. * RichTextBox.cs: Added initial implementation
  13928. * lang.cs: Removed. Was accidentally checked in long time ago
  13929. * TODO: Removed. Contents were obsolete
  13930. 2005-09-06 Jonathan Chambers <[email protected]>
  13931. * PropertiesTab.cs : Added
  13932. 2005-09-06 Jonathan Chambers <[email protected]>
  13933. * PropertyGrid.cs : Update
  13934. * PropertyGridView.cs : Update
  13935. * System.Windows.Forms.resx : Added images and strings
  13936. 2005-09-06 Peter Dennis Bartok <[email protected]>
  13937. * ThemeNice.cs: Do not dispose Pens retrieved from ResPool
  13938. 2005-09-06 Peter Dennis Bartok <[email protected]>
  13939. * XplatUIX11.cs: Force a flush after Ungrab; if case the app enters
  13940. a busy loop right after the Ungrab the X11 display is otherwise
  13941. blocked
  13942. 2005-09-06 Jordi Mas i Hernandez <[email protected]>
  13943. * ThemeWin32Classic.cs: Optimise the use of clipping
  13944. 2005-09-05 Jordi Mas i Hernandez <[email protected]>
  13945. * DataGrid.cs: fixes recursion bug
  13946. 2005-09-03 Alexander Olk <[email protected]>
  13947. * ThemeNice.cs:
  13948. - Draw RadioButton and CheckBox Buttons with DrawButtonBase
  13949. - Cleanup
  13950. 2005-09-02 Alexander Olk <[email protected]>
  13951. * ThemeNice.cs: Draw nice ProgressBars
  13952. 2005-09-01 Miguel de Icaza <[email protected]>
  13953. * VScrollBar.cs: Another buglet found by Aaron's tool.
  13954. * ProgressBar.cs: Fix three recursive bugs found by Aaron Tomb's
  13955. bug finder.
  13956. 2005-08-30 Alexander Olk <[email protected]>
  13957. * ThemeNice.cs:
  13958. - Added nicer menu drawing
  13959. - Updated DrawTab
  13960. - some refactoring
  13961. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13962. * CreateParams.cs (ToString): Made output match MS
  13963. * Control.cs (Text): Don't set Text or Focus via XplatUI unless
  13964. handle is already created (to avoid forcing window creation)
  13965. * XplatUIX11.cs: Set window text to caption after creating window,
  13966. in case Text was set before window was created
  13967. * Form.cs: Use this.Text instead of a static string as caption
  13968. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13969. * NotifyIcon.cs: Don't set the window to visible; this screws
  13970. up Win32 (causes WM_NCPAINT to be sent on Win32, which calls
  13971. OnPaint without a bitmap)
  13972. * XplatUIX11.cs: Removed Visible optimization in AddExpose; doesn't
  13973. happen very often anyway; we could add the check to the WM_PAINT
  13974. event generation code
  13975. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13976. * NotifyIcon.cs: Fill the icon area with a background color, to
  13977. avoid 'residue' when transparent icons are drawn
  13978. * XplatUIX11.cs:
  13979. - Handle whole_window == client_window when destroying windows
  13980. - SystrayAdd(): Set client_window to whole_window value to
  13981. get mouse and other events passed to NotifyIcon
  13982. 2005-08-30 Peter Dennis Bartok <[email protected]>
  13983. * Form.cs: Set proper default for Opacity property
  13984. * NotifyIcon.cs:
  13985. - ShowSystray(): Don't bother creating telling the OS
  13986. about the systray item if no icon is provided
  13987. - Now handles WM_NCPAINT message to deal with whole/client window
  13988. split
  13989. - Create window as visible to not get caught by Expose optimization
  13990. * Hwnd.cs: Removed debug message
  13991. * ComboBox.cs, ScrollBar.cs, ListBox.cs, TrackBar.cs, TabControl.cs,
  13992. StatusBar.cs, TreeView.cs, XplatUIOSX.cs, XplatUIWin32.cs: Switched
  13993. PaintEventStart/End to use new client argument
  13994. * TextBoxBase.cs:
  13995. - Commented out debug messages
  13996. - Switched PaintEventStart/End to use new client argument
  13997. * XplatUI.cs: Added client window bool to PaintEventStart()/
  13998. PaintEventEnd() calls, to support drawing in non-client areas
  13999. * XplatUIDriver.cs:
  14000. - Added client window bool to PaintEventStart()/PaintEventEnd()
  14001. calls, to support drawing in non-client areas
  14002. - Added conditional compile to allow using MWF BeginInvoke
  14003. on MS runtime
  14004. * XplatUIX11.cs:
  14005. - Added some conditional debug output
  14006. - Fixed SystrayAdd() method to support new (for SystrayAdd, anyway)
  14007. whole/client window split
  14008. - Implemented handling of client argument to PaintEventStart()/End()
  14009. * Control.cs:
  14010. - Throw exception if BeginInvoke() is called and the window handle
  14011. or one of the window's parent handles is not created
  14012. - Added conditional compile to allow using MWF BeginInvoke on
  14013. MS runtime
  14014. - get_Parent(): Only sets parent if handle is created. This avoids
  14015. forcing window handle creation when parent is set.
  14016. - Now fires Layout and Parent changed events in proper order
  14017. - Switched to use Handle instead of window.Handle for Z-Order setting,
  14018. the get_Parent() patch above causes us to possibly get null for 'window'
  14019. - Implemented handling of client argument to PaintEventStart()/End()
  14020. - Now reports back to windows that WM_SETCURSOR was handled (to avoid
  14021. default handling)
  14022. - Now sends a Refresh() to all child windows when Refresh() is called
  14023. 2005-08-29 Peter Dennis Bartok <[email protected]>
  14024. * Form.cs: Added (non-functional) Opacity property
  14025. * XplatUIWin32.cs (SystrayAdd): Removed bogus line of code
  14026. 2005-08-29 Alexander Olk <[email protected]>
  14027. * ThemeNice.cs: New theme for MWF, based on ThemWin32Classic
  14028. use export MONO_THEME=nice to activate it.
  14029. Currently supported controls:
  14030. - Button
  14031. - ComboBox
  14032. - ScrollBar
  14033. - TabControl (TabAlignment.Top only, other will follow)
  14034. * ThemeEngine.cs: Add theme nice
  14035. * ButtonBase.cs: Redraw button on MouseEnter and MouseLeave everytime,
  14036. if enabled
  14037. 2005-08-25 Jonathan Chambers <[email protected]>
  14038. * Splitter.cs: Resize docked control and its neighbor.
  14039. 2005-08-24 Rafael Teixeira <[email protected]>
  14040. -- Making Windows with Menus layout correctly --
  14041. * Form.cs : The first leg of the fix
  14042. Menu setter - adjust Client Size as needed to make space for the menu
  14043. SetClientSizeCore - doesn't call base version to be able to pass the
  14044. menu handle to XplatUI.CalculateWindowRect
  14045. * Hwnd.cs: Fix for menu_height, now gets from MenuAPI.MENU
  14046. * XplatUIX11.cs: The critical second leg of the fix
  14047. GetWindowPos needs to use a recalculated client_rect
  14048. so that resizing the window doesn't break layout of child controls.
  14049. Also a more complete rule to avoid X Server roundtrips in SetWindowPos
  14050. Lots of \t\n killed
  14051. 2005-08-23 Peter Dennis Bartok <[email protected]>
  14052. * Label.cs: Now properly recalculates width and height on Font and Text
  14053. changes if AutoSize is set
  14054. 2005-08-19 Rafael Teixeira <[email protected]>
  14055. * TreeView.cs : Revamped drawing logic, and support for FullRowSelect
  14056. 2005-08-19 Jordi Mas i Hernandez <[email protected]>
  14057. * ImageList.cs: Makes ToString method compatible with MS
  14058. 2005-08-18 Jordi Mas i Hernandez <[email protected]>
  14059. * MenuAPI.cs: fixes bug 75716
  14060. 2005-08-11 Umadevi S <[email protected]>
  14061. * Control.cs: Fixed Remove & RemoveAt to make the parent of the control null.
  14062. 2005-08-11 Umadevi S <[email protected]>
  14063. * Contorl.cs: Fixed ResetRightToLeft and ResetImeMode to work correctly
  14064. 2005-08-10 Umadevi S <[email protected]>
  14065. * CheckedListBox.cs: Fixed event firing on Adding to the CheckedListBox
  14066. 2005-08-07 Jordi Mas i Hernandez <[email protected]>
  14067. * Menu.cs: fixes bug 75700
  14068. * MenuAPI.cs: fixes navigation issues
  14069. 2005-08-09 Umadevi S <[email protected]>
  14070. * CheckedListBox.cs - simple fix for GetItemChecked.
  14071. 2005-08-08 Jordi Mas i Hernandez <[email protected]>
  14072. * ComboBox.cs: Serveral fixes
  14073. * ListBox.cs: Serveral fixes
  14074. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  14075. * ComboBox.cs: Fixes FindString methods and GetItemHeight
  14076. * ListBox.cs: Fixes FindString methods
  14077. 2005-08-05 Jordi Mas i Hernandez <[email protected]>
  14078. * DataGrid.cs: fixes bugs exposed by new tests
  14079. 2005-08-04 Peter Dennis Bartok <[email protected]>
  14080. * Mime.cs: Compile Mono assembly references only if compiling
  14081. with Mono (Allows to build with VS.Net again)
  14082. 2005-07-28 Marek Safar <[email protected]>
  14083. * Control.cs (PaintControlBackground): Draw background image
  14084. corrrectly.
  14085. (CheckForIllegalCrossThreadCalls): Stubbed.
  14086. * Form.cs (OnCreateControl): Center when should be centered.
  14087. * ThemeWin32Classic.cs (DrawPictureBox): Pass size.
  14088. 2005-07-19 Jordi Mas i Hernandez <[email protected]>
  14089. * Binding.cs: Binding to properties should be case unsensitive
  14090. 2005-07-18 [email protected]
  14091. * DataGrid.cs: fixes setmember order
  14092. 2005-07-07 Alexander Olk <[email protected]>
  14093. * MimeIcon.cs: added MimeIcon stuff (MimeIconEngine)
  14094. * FileDialog.cs: FileDialog is now resizable and uses the new
  14095. MimeIconEngine
  14096. 2005-07-06 Jordi Mas i Hernandez <[email protected]>
  14097. * DataGridTextBoxColumn.cs: default value
  14098. * GridColumnStylesCollection.cs: fixes event firing, checking MappingName
  14099. * GridTableStylesCollection.cs: fixes checking MappingName
  14100. * DataGridDrawingLogic.cs: fixes drawing logic issues
  14101. * DataSourceHelper.cs: rewritten to make compatible with more data sources
  14102. * DataGrid.cs: fixes
  14103. 2005-07-06 Alexander Olk <[email protected]>
  14104. * MimeGenerated.cs: Use case sensitive comparer for
  14105. NameValueCollections
  14106. 2005-07-01 Jordi Mas i Hernandez <[email protected]>
  14107. * DataGridTextBoxColumn.cs: bug fixes, code refactoring
  14108. * ThemeWin32Classic.cs: bug fixes, code refactoring
  14109. * DataGridDrawingLogic.cs: bug fixes, code refactoring
  14110. * DataGrid.cs: bug fixes, code refactoring
  14111. * DataGridTextBox.cs: bug fixes, code refactoring
  14112. * DataGridColumnStyle.cs: bug fixes, code refactoring
  14113. * Theme.cs: bug fixes, code refactoring
  14114. 2005-07-01 Peter Bartok <[email protected]>
  14115. * TextControl.cs: Quick fix for the reported crash on ColorDialog
  14116. and other text box usage
  14117. 2005-07-01 Jackson Harper <[email protected]>
  14118. * TabControl.cs: Make sure the bottom of the tab covers the pages
  14119. border.
  14120. 2005-06-30 Peter Bartok <[email protected]>
  14121. * Form.cs (ShowDialog): Assign owner of the dialog
  14122. * TextBoxBase.cs: Always refresh caret size when deleting, caret
  14123. might have been moved to a tag with different height
  14124. 2005-06-30 Jackson Harper <[email protected]>
  14125. * Form.cs: Don't create an infinite loop when setting focus
  14126. * MenuItem.cs: Don't dirty the parents if we don't have any
  14127. 2005-06-29 Ben Maurer <[email protected]>
  14128. * LibSupport.cs: Rename
  14129. 2005-06-29 Peter Bartok <[email protected]>
  14130. * TextBoxBase.cs: Re-align caret after deleting a character
  14131. * TextControl.cs:
  14132. - DeleteChars(): Ensure that tag covers the provided position
  14133. - StreamLine(): Drop reference for dropped tag
  14134. 2005-06-29 Peter Bartok <[email protected]>
  14135. * TextControl.cs:
  14136. - Selections now work properly, anchoring at the initial location
  14137. and properly extending in either direction (SetSelectionToCaret(),
  14138. SetSelectionStart() and SetSelectionEnd())
  14139. - No longer redraws the whole control on selection change, now
  14140. calculates delta between previous and new selection and only
  14141. invalidates/redraws that area
  14142. - Fixed FindPos() math off-by-one errors
  14143. - Changed DeleteChars() to verify the provided tag covers the
  14144. provided position, selections may have a tag that doesn't cover
  14145. the position if the selection is at a tag border
  14146. - Fixed off-by-one errors in DeleteChars()
  14147. - Added missing streamlining check in DeleteChars() to remove
  14148. zero-length tags
  14149. - Implemented Invalidate() method, now properly calculates exposures
  14150. between two given lines/positions
  14151. - Implemented SetSelection()
  14152. - Obsoleted and removed FixupSelection()
  14153. - Improved RecalculateDocument() logic, removing code duplication
  14154. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  14155. * LibSupport.cs: changes to match different input/output arguments.
  14156. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  14157. * LibSupport.cs: added libsupport.so init routine.
  14158. 2005-06-29 Jordi Mas i Hernandez <[email protected]>
  14159. * ControlBindingsCollection.cs
  14160. - Throws an exception on null datasource when adding
  14161. - Checks for duplicated bindings when adding
  14162. 2005-06-28 Jackson Harper <[email protected]>
  14163. * TreeView.cs (OnKeyDown): Support left and right properly
  14164. (navigates as well as expanding and collapsing.
  14165. - Add support for Multiply, this expands all the selected nodes
  14166. children.
  14167. - Fix some tabbing.
  14168. 2005-06-28 Jackson Harper <[email protected]>
  14169. * TreeView.cs: Implement keyboard navigation, currently supports,
  14170. LEFT, RIGHT, UP, DOWN, PGUP, PGDOWN, HOME, END, ADD, SUBTRACT. Add
  14171. support for toggling checkboxes with the space bar.
  14172. 2005-06-28 Jackson Harper <[email protected]>
  14173. * OpenTreeNodeEnumerator.cs: Don't move past the begining of the
  14174. tree.
  14175. 2005-06-28 Jackson Harper <[email protected]>
  14176. * TreeView.cs: Add missing event.
  14177. 2005-06-27 Peter Bartok <[email protected]>
  14178. * TextControl.cs:
  14179. - Made line ending size configurable (now allows for counting
  14180. lineendings as \n or \r\n)
  14181. - Added margin to viewport to keep caret visible on right side
  14182. - Fixed translation routines for line/pos to documentpos to consider
  14183. cr/lf when counting (Fixes RichTextBox.SelectionFont issues)
  14184. - Fixed some line-endings to be unix style
  14185. - Fixed Document.FormatText to perform it's calculations 1-based
  14186. - Added descriptions for a few methods that might otherwise get
  14187. used wrong
  14188. - Added NOTE section with some basic conventions to remember at
  14189. the top of the file
  14190. - Major fixup for RichTextBox selection drawing:
  14191. * Fixed crashes when multiple tags on a single line were selected
  14192. * fixed selection box drawing not overlaying text
  14193. * fixed bogus offset calculation for tags not starting at index 1
  14194. * Switched behaviour from using multiple Substrings of a
  14195. StringBuilder.ToString() to using multiple
  14196. StringBuilder.ToString(start, length) statements, hoping this is
  14197. faster (kept original version commented out in the code, in case
  14198. original version was faster)
  14199. * TextBox.cs (set_TextAlignment): TextBox always needs to wrap if
  14200. alignment != Left
  14201. * TextBoxBase.cs (CalculateDocument): Made protected so RichTextBox can
  14202. call it as well
  14203. 2005-06-27 Jackson Harper <[email protected]>
  14204. * TabControl.cs: Move to the left and right with the arrow
  14205. keys. These keys don't cycle beyond first and last like
  14206. tab. Refresh all the tabs when scrolling them to the left or
  14207. right.
  14208. 2005-06-27 Jackson Harper <[email protected]>
  14209. * TabControl.cs:
  14210. - ToString: Added method
  14211. - CreateParams: Remove TODO and comment
  14212. - OnKeyDown: Cycle through bounds properly.
  14213. - SelectedIndex: Scroll to the right or left if we need to
  14214. display the newly selected tab.
  14215. 2005-06-23 Jackson Harper <[email protected]>
  14216. * TabControl.cs: Stay in bounds when cycling. Make sure Handled is
  14217. set.
  14218. 2005-06-23 Jackson Harper <[email protected]>
  14219. * TabControl.cs: Keyboard handling. We now support CTRL-TAB,
  14220. CTRL-SHIFT-TAB, and HOME, END are there any others?
  14221. 2005-06-23 Jackson Harper <[email protected]>
  14222. * XplatUIX11.cs: Get the modifier keys from the keyboard driver.
  14223. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  14224. * DataGridTextBoxColumn.cs: fixes and enhancements
  14225. * ThemeWin32Classic.cs: fixes and enhancements
  14226. * DataGridBoolColumn.cs: fixes and enhancements
  14227. * DataGridDrawingLogic.cs: fixes and enhancements
  14228. * CurrencyManager.cs: fixes and enhancements
  14229. * DataGrid.cs: fixes and enhancements
  14230. * DataGridColumnStyle.cs: fixes and enhancements
  14231. 2005-06-22 Jackson Harper <[email protected]>
  14232. * TabControl.cs: Add some missing methods that just call into the
  14233. base. Make the TabPageCollection's IList interface behave in the
  14234. same manner as the MS implementation.
  14235. 2005-06-22 Peter Bartok <[email protected]>
  14236. * TextControl.cs: Added sanity check
  14237. * TextBoxBase.cs:
  14238. - Fixed wrapping behaviour, don't set wrap on single line controls
  14239. (this fixes the breakage of colordialog introduced in an earlier
  14240. checkin)
  14241. - Added rudimentary support for autoscrolling right-aligned controls
  14242. (still needs fixing, also, center alignment scroll is missing)
  14243. 2005-06-22 Jordi Mas i Hernandez <[email protected]>
  14244. * ScrollBar.cs: Fixes thumbpos on Maximum values
  14245. 2005-06-21 Jonathan Chambers <[email protected]>
  14246. * PropertyGridView.cs: Pass context information to UITypeEditors
  14247. 2005-06-21 Peter Bartok <[email protected]>
  14248. * TextBoxBase.cs:
  14249. - Now calling PositionCaret with absolute space coordinates
  14250. - Enabled vertical scrolling
  14251. - Better tracking of scrollbar changes, tied into WidthChange
  14252. event
  14253. - Improved cursor tracking
  14254. - Removed debug output
  14255. * TextControl.cs:
  14256. - PositionCaret coordinates are now works in absolute space, not
  14257. the canvas
  14258. - Improved tracking of document size
  14259. - Added events for width and height changes
  14260. 2005-06-21 Peter Bartok <[email protected]>
  14261. * Form.cs: Set focus to active control when form is activated
  14262. * TextControl.cs:
  14263. - Added word-wrap functionality to RecalculateLine()
  14264. - Added some short function descriptions for VS.Net to aid in
  14265. writing dependent controls
  14266. - Added Caret property, returning the current coords of the caret
  14267. - Added ViewPortWidth and ViewPortHeight properties
  14268. - Added Wrap property
  14269. - Added CaretMoved event
  14270. - Removed some old debug code
  14271. - Split() can now create soft splits
  14272. - Added PreviousTag()/NextTag() to allow walking "tag-lists"
  14273. - Added method to format existing text
  14274. - Fixed size/alignment calculations to use viewport
  14275. - RecalculateDocument now can handle changing line-numbers while
  14276. calculating lines
  14277. * TextBox.cs:
  14278. - Added some wrap logic, we don't wrap if alignment is not left
  14279. - Added casts for scrollbar var, base class switched types to
  14280. also support RichTextBoxA
  14281. - Implemented handling of scrollbar visibility flags
  14282. * TextBoxBase.cs:
  14283. - Switched scrollbars type to RichTextBoxScrollBars to support
  14284. RichTextBox
  14285. - Added tracking of canvas width/height
  14286. - Switched scrollbars to be not selectable (to keep focus on text)
  14287. - Added central CalculateDocument() method to handle all redraw
  14288. requirements
  14289. - Added ReadOnly support
  14290. - Added WordWrap support
  14291. - Fixed handling of Enter key (we now treat it as a DialogKey)
  14292. - Fixed caret positioning when h or v scroll is not zero
  14293. - Fixed placing/generation of vertical scrollbar
  14294. - Added CalculateScrollBars() method to allow updating scrollbar
  14295. limits and visibility
  14296. - Fixed handling of horizontal scroll
  14297. - Added handling of vertical scroll
  14298. - Implemented auto-'jump' when caret moves to close to a left or
  14299. right border and there is text to be scrolled into view (currently
  14300. there's the potential for a stack overflow, until a bug in
  14301. scrollbar is fixed)
  14302. 2005-06-21 Geoff Norton <[email protected]>
  14303. * XplatUIOSX.cs: Initial implementation of WM_ERASEBKGND
  14304. 2005-06-19 Alexander Olk <[email protected]>
  14305. * Mime.cs:
  14306. - added inodes.
  14307. - return application/x-zerosize for files with size zero
  14308. (if no extension pattern matches).
  14309. - check matches collection for strings too.
  14310. - return only the first mime type if the name value
  14311. collection has more than one mime type.
  14312. 2005-06-18 Jonathan Chambers <[email protected]>
  14313. * PropertyGrid.cs: Cleaned up some TODOs
  14314. * PropertyGridView.cs: Added support for UITypeEditors
  14315. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  14316. * DataGrid.cs: clears cached value
  14317. 2005-06-17 Jordi Mas i Hernandez <[email protected]>
  14318. * DataGridTextBoxColumn.cs: new rows, speed improvements, fixes, readonly prop.
  14319. * DataGridDrawingLogic.cs: new rows, speed improvements, fixes, readonly prop.
  14320. * DataGrid.cs: new rows, speed improvements, fixes, readonly prop.
  14321. * DataGridColumnStyle.cs: new rows, speed improvements, fixes, readonly prop.
  14322. 2005-06-16 Jordi Mas i Hernandez <[email protected]>
  14323. * ThemeWin32Classic.cs: fixes colour
  14324. 2005-06-15 Peter Bartok <[email protected]>
  14325. * MWFCategoryAttribute.cs: Added (Needed for PropertyGrid designer support)
  14326. * MWFDescriptionAttribute.cs: Added (Needed for PropertyGrid designer support)
  14327. * ButtonBase.cs: Added MWFCategory and MWFDescription attributes
  14328. * Control.cs: Added some MWFCategory and MWFDescription attributes
  14329. * ScrollBar.cs: Added some MWFCategory and MWFDescription attributes
  14330. 2005-06-15 Alexander Olk <[email protected]>
  14331. * Mime.cs, MimeGenerated.cs: First draft of MWF mime stuff, see Mime.cs for
  14332. usage
  14333. 2005-06-14 Jordi Mas i Hernandez <[email protected]>
  14334. * DataGridTextBoxColumn.cs: default datagrid settings for Default Styles, fixes
  14335. * DataGridTableStyle.cs: default datagrid settings for Default Styles, fixes
  14336. * DataGridDrawingLogic.cs: default datagrid settings for Default Styles, fixes
  14337. * DataGridBoolColumn.cs: default datagrid settings for Default Styles, fixes
  14338. * DataGrid.cs: default datagrid settings for Default Styles, fixes
  14339. * DataGridColumnStyle.cs: default datagrid settings for Default Styles, fixes
  14340. 2005-06-13 Jackson Harper <[email protected]>
  14341. * XplatUIX11.cs: Override SetAllowDrop on X11 so an error message
  14342. isn't printed when the user enables dropping. (X11 does accept
  14343. drops).
  14344. 2005-06-13 Jackson Harper <[email protected]>
  14345. * TreeView.cs: Remove some TODOS.
  14346. 2005-06-13 Jackson Harper <[email protected]>
  14347. * Form.cs: Hook into the mdi framework.
  14348. * MdiClient.cs: Use the base control collections add method so
  14349. parents get setup correctly. Set the default back colour and dock
  14350. style.
  14351. * MdiChildContext.cs: New class, this bad actor handles an
  14352. instance of an MDI window. Right now there is only basic
  14353. support. You can drag, close, and resize windows. Minimize and
  14354. Maximize are partially implemented.
  14355. 2005-06-13 Jackson Harper <[email protected]>
  14356. * XplatUIX11.cs: Mash numbers together properly, otherwise we get
  14357. freaky when both vals are negative. NOTE: There are probably other
  14358. places in XplatUIX11 that this needs to be done.
  14359. 2005-06-13 Jordi Mas i Hernandez <[email protected]>
  14360. * DataGrid.cs: implement missing methods, move KeyboardNavigation
  14361. * DataGridColumnStyle.cs: fixes signature
  14362. 2005-06-12 Jackson Harper <[email protected]>
  14363. * XplatUIX11.cs: Use sizing cursors similar to the ones on
  14364. windows.
  14365. 2005-06-11 Jackson Harper <[email protected]>
  14366. * StatusBarPanel.cs: Signature cleanups. Implement
  14367. BeginInit/EndInit.
  14368. 2005-06-10 Jordi Mas i Hernandez <[email protected]>
  14369. * DataGridTextBoxColumn.cs: Honors aligment
  14370. * GridColumnStylesCollection.cs: Contains is case unsensitive
  14371. * GridTableStylesCollection.cs: several fixes
  14372. * DataGridTableStyle.cs: default column creation
  14373. * DataGridDrawingLogic.cs: fixes
  14374. * CurrencyManager.cs: ListName property
  14375. * DataGrid.cs: multiple styles support
  14376. * DataGridColumnStyle.cs: fixes
  14377. 2005-06-10 Peter Bartok <[email protected]>
  14378. * Control.cs(Select): Moved SetFocus call to avoid potential
  14379. loops if controls change the active control when getting focus
  14380. * UpDownBase.cs: Fixes to allow proper keyboard focus after clicking
  14381. the up/down buttons
  14382. 2005-06-10 Matthias Felgner <[email protected]>
  14383. * ImageListConverter.cs: Implemented
  14384. 2005-06-10 John BouAntoun <[email protected]>
  14385. * MonthCalendar.cs: Wired in NumericUpDown control for year
  14386. 2005-06-10 John BouAntoun <[email protected]>
  14387. * MonthCalendar.cs: Removed MonoTodo attributes on Click and
  14388. DoubleClick events, since they are not meant to be fired.
  14389. 2005-06-09 Peter Bartok <[email protected]>
  14390. * UpDownBase.cs, NumericUpDown.cs, DomainUpDown.cs: Integrated
  14391. Jonathan's standalone controls into MWF, implemented missing
  14392. events, attributes and methods; added xxxAccessible classes
  14393. * AccessibleObject.cs: Made fields internal so other classes
  14394. can change them if needed
  14395. 2005-06-09 Jonathan Gilbert <[email protected]>
  14396. * UpDownBase.cs: Complete implementation
  14397. * NumericUpDown.cs: Complete implementation
  14398. * DomainUpDown.cs: Complete implementation
  14399. 2005-06-09 Jordi Mas i Hernandez <[email protected]>
  14400. * DataGridTextBoxColumn.cs: drawing fixes
  14401. * DataGridCell.cs: fixes ToString method to match MSNet
  14402. * DataGridTableStyle.cs: fixes
  14403. * DataGridBoolColumn.cs: fixes, drawing
  14404. * DataGridDrawingLogic.cs: fixes, new methods
  14405. * DataGridTextBox.cs: Keyboard and fixes
  14406. * DataGrid.cs:
  14407. - Keyboard navigation
  14408. - Scrolling fixes
  14409. - Row selection (single, multiple, deletion, etc)
  14410. - Lots of fixes
  14411. 2005-06-07 Jackson Harper <[email protected]>
  14412. * ThemeWin32Classic.cs: Clear the background area when drawing
  14413. buttons.
  14414. 2005-06-06 Peter Bartok <[email protected]>
  14415. * ImageListStreamer.cs: Fixed signature for GetData
  14416. * CheckBox.cs: Fixed base class for CheckBoxAccessibleObject
  14417. * ComboBox.cs:
  14418. - Added missing ChildAccessibleObject class
  14419. - Added missing OnXXXFocus overrides, switched to using those
  14420. instead of the event handler
  14421. * Control.cs:
  14422. - Added Parent property for ControlAccessibleObject
  14423. - Fixed signatures
  14424. - Fixed attributes
  14425. - Added ResetBindings()
  14426. * ListBindingConverter.cs: Implemented some methods
  14427. * ButtonBase.cs: Added missing ButtonBaseAccessibleObject class
  14428. * ImageList.cs: Implemented basic handle scheme, removed TODOs
  14429. * ContainerControl.cs: Fixed signature, now subscribing to the
  14430. ControlRemoved event instead of overriding the handler, LAMESPEC
  14431. * CurrencyManager.cs: Added missing attribute
  14432. * MonthCalendar.cs: Added missing properties
  14433. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  14434. * DataGridColumnStyle.cs: fixes for DataGridColumnStyle
  14435. 2005-06-06 Gaurav Vaish and Ankit Jain
  14436. * DataSourceHelper.cs: Gaurav Vaish and Ankit Jain patch for databinding
  14437. * DataGrid.cs: Gaurav Vaish and Ankit Jain patch for databinding
  14438. 2005-06-06 Jordi Mas i Hernandez <[email protected]>
  14439. * Control.cs: fixes CreateParams Width / Height.
  14440. 2005-06-05 Peter Bartok <[email protected]>
  14441. * Win32DnD.cs: Removed compilation warnings
  14442. 2005-06-05 Peter Bartok <[email protected]>
  14443. * Control.cs (CreateParams): Since we don't know if one of the
  14444. properties we use is overridden, lets make sure if we fail accessing
  14445. we continue with a backup plan
  14446. 2005-06-05 Peter Bartok <[email protected]>
  14447. * Win32DnD.cs:
  14448. - Removed debug output
  14449. - Added MarshalAs attribute to ensure proper marshalling of FORMATETC
  14450. struct
  14451. - Plugged resource leak
  14452. * XplatUIStructs.cs: Changed ClipboardFormats size to ushort, to match
  14453. MS size
  14454. 2005-06-05 Peter Bartok <[email protected]>
  14455. * XplatUIWin32.cs: Removed DnD code
  14456. * Win32DnD.cs: Implemented drop source and drop target functionality
  14457. 2005-06-05 Gonzalo Paniagua Javier <[email protected]>
  14458. * UpDownBase.cs: remove duplicate addition of event, enable some code
  14459. that was commented out.
  14460. * NumericUpDown.cs: added missing attributes and Hexadecimal property.
  14461. Validate input when a key is pressed. It works fine now for every
  14462. combination of Hexadecimal. Only missing some drawing love when sharing
  14463. space with other controls.
  14464. 2005-06-04 Peter Bartok <[email protected]>
  14465. * Control.cs:
  14466. - We need to pass a window for DragDrop, so enable callback events
  14467. - Added DnD callback events when being a DragSource
  14468. * XplatUI.cs (StartDrag): Added window handle argument
  14469. * XplatUIDriver.cs (StartDrag): Added window handle argument
  14470. * QueryContinueDragEventArgs: Made fields internally accessible so
  14471. drivers can set them
  14472. * GiveFeedbackEventArgs: Made fields internally accessible so drivers
  14473. can set them
  14474. 2005-06-03 Jordi Mas i Hernandez <[email protected]>
  14475. * DataGridTextBoxColumn.cs: column text editing
  14476. * DataGridTableStyle.cs: Respect columns styles created by the user
  14477. * DataGridDrawingLogic.cs: lots of drawing fixes and enhanments
  14478. * DataGridBoolColumn.cs: bool column editing
  14479. * DataGrid.cs: fixes to scrolling, properties, etc
  14480. * DataGridTextBox.cs: handle keyboard
  14481. * DataGridColumnStyle.cs: fixes
  14482. 2005-06-02 Jackson Harper <[email protected]>
  14483. * ImageListStreamer.cs: Somewhat broken implementation of
  14484. GetObjectData. The RLE needs some work to match MS properly.
  14485. 2005-06-02 Jackson Harper <[email protected]>
  14486. * X11Dnd.cs: Attempting to keep at least one file in MWF
  14487. monostyled.
  14488. 2005-06-02 Peter Bartok <[email protected]>
  14489. * X11DnD.cs: Use Marshal.SizeOf instead of sizeof, no /unsafe required
  14490. that way
  14491. 2005-06-02 Peter Bartok <[email protected]>
  14492. * Control.cs: Removed MonoTODO from DoDragDrop and added call to Xplat
  14493. * XplatUI.cs: Added DoDragDrop() method
  14494. * XplatUIDriver.cs: Added DoDragDrop() method
  14495. 2005-06-02 Jackson Harper <[email protected]>
  14496. * Splitter.cs: Implement BorderStyle.
  14497. 2005-06-02 Jackson Harper <[email protected]>
  14498. * XplatUIX11.cs: Tie into the X11Dnd subsystem.
  14499. * X11Dnd.cs: New file. A subsystem that handles drag and drop on
  14500. X11 using XDND.
  14501. 2005-06-02 Peter Bartok <[email protected]>
  14502. * DataObject.cs:
  14503. - Added Data setter
  14504. - Fixed broken insertion code for SetData, now also
  14505. overwrites any existing entry of the same format name
  14506. * Hwnd.cs: Added list of pointers that automatically gets
  14507. freed when the window is disposed
  14508. * XplatUI.cs: Call driver initialization method when loading
  14509. a driver
  14510. * Control.cs:
  14511. - OnDragLeave takes EventArgs, not DragEventArgs
  14512. - Added setting of WS_EX_ACCEPTFILES style when dropping is
  14513. supported
  14514. - Forces style update when drop state changes
  14515. * XplatUIWin32.cs: Implemented Drag'n'Drop (as good as possible,
  14516. not perfect since we cannot (yet) call the IDataObject.GetData()
  14517. method, we keep getting 0x80004005 error, dunno why)
  14518. 2005-06-02 Peter Bartok <[email protected]>
  14519. * DragEventArgs.cs: Make fields internal so we can cache the
  14520. object and re-set the fields from XplatUI
  14521. 2005-06-02 Jackson Harper <[email protected]>
  14522. * Control.cs: Add some internal methods so the DnD subsystem can
  14523. raise DnD events. Also call into the driver when AllowDrop is set.
  14524. * XplatUI.cs:
  14525. * XplatUIDriver.cs: New method for setting whether or not a window
  14526. is allowed to accept drag and drop messages.
  14527. 2005-06-01 Jordi Mas i Hernandez <[email protected]>
  14528. * ScrollBar.cs: Make sure that values sent in Scroll events
  14529. are always between Maximum and Minimum.
  14530. 2005-06-01 Marek Safar <[email protected]>
  14531. * Menu.cs: Call MenuChanged when menuitem visibility has been
  14532. changed.
  14533. * MenuItem.cs: Rebuild menu when item is (not) visible.
  14534. * MainMenu.cs: MainMenu has special MenuChanged.
  14535. * Theme.cs: Caption and FrameBorderSize are not fixed.
  14536. * XplatUI.cs: Added CaptionHeight,FrameBorderSize.
  14537. * XplatUIDriver.cs: Introduced Caption and FrameBorderSize.
  14538. * XplatUIX11.cs,
  14539. * XplatUIOSX: Caption and FrameBorderSize not implemented yet.
  14540. * XplatUIWin32.cs: Get Caption and FrameBorderSize from system.
  14541. 2005-05-30 Jackson Harper <[email protected]>
  14542. * DataFormat.cs: We can't statically initialize this stuff because
  14543. it calls into the xplatui and could create a loop. So we lazy init
  14544. it.
  14545. 2005-05-28 Jackson Harper <[email protected]>
  14546. * Control.cs: Proper implementation of Product(Name/Version).
  14547. 2005-05-27 Jackson Harper <[email protected]>
  14548. * DataObject.cs: Dont crash if no data is found.
  14549. 2005-05-26 Rafael Teixeira <[email protected]>
  14550. * MdiClient.cs: Add missing Localizable attribute to BackgroundImage property
  14551. as per status page, guessing it should be set to true
  14552. 2005-05-26 Jordi Mas i Hernandez <[email protected]>
  14553. * DataGridTextBoxColumn.cs: Draws text and basic text formatting
  14554. * DataGridTableStyle.cs: set proper formatting text, def header text
  14555. * ThemeWin32Classic.cs: new themable paramaters
  14556. * DataGridBoolColumn.cs: paint check box, get data, fixes
  14557. * DataGridDrawingLogic.cs: huge improvements in painting, fixes, new methods
  14558. * DataGrid.cs: fixes properties, implements vertical and horizontal scrolling
  14559. * DataGridColumnStyle.cs: fixes
  14560. * Theme.cs: new themable paramaters
  14561. 2005-05-26 Peter Bartok <[email protected]>
  14562. * ContainerControl.cs: Pass AdjustFormScrollbars() call on to base
  14563. 2005-05-24 Jonathan S. Chambers <[email protected]>
  14564. * Control.cs: Fixed LowOrder and HighOrder to preserve sign.
  14565. 2005-05-24 Peter Bartok <[email protected]>
  14566. * OpenFileDialog.cs, Form.cs, Menu.cs, GroupBox.cs, UserControl.cs,
  14567. Label.cs, DataGridTextBoxColumn.cs, PropertyGrid.cs, ErrorProvider.cs
  14568. Splitter.cs, Control.cs, FontDialog.cs, TabPage.cs,
  14569. FolderBrowserDialog.cs, HelpProvider.cs, DataGridTableStyle.cs,
  14570. NotifyIcon.cs, FileDialog.cs, ListView.cs, SaveFileDialog.cs,
  14571. ToolBarButton.cs, ImageList.cs, DataGridBoolColumn.cs, Panel.cs,
  14572. DataGrid.cs, DataGridTextBox.cs, ListBox.cs, TrackBar.cs,
  14573. AxHost.cs, TabControl.cs, ScrollableControl.cs, ToolBar.cs,
  14574. DataGridColumnStyle.cs, PictureBox.cs, DateTimePicker.cs,
  14575. StatusBar.cs, MonthCalendar.cs, TreeView.cs: Added
  14576. missing attributes, etc
  14577. * DataGridPreferredColumnWidthTypeConverter.cs: Added
  14578. 2005-05-24 Peter Bartok <[email protected]>
  14579. * Help.cs: Added, implemented trivial functions, throws up MessageBox
  14580. when user tries to get help
  14581. * DataObject.cs, DataFormats.cs, LinkArea.cs,
  14582. SelectionRangeConverter.cs, Clipboard.cs : Removed unused variables
  14583. to suppress warnings
  14584. * XplatUIWin32.cs, XplatUIOSX.cs, XplatUIX11.cs: Removed unused code to
  14585. avoid unreachable code warning
  14586. 2005-05-20 Peter Bartok <[email protected]>
  14587. * CursorConverter.cs (ConvertTo): Switched to use Cursor.GetObjectData
  14588. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14589. * DataGridTextBoxColumn.cs: Basic painting methods
  14590. * DataGridTableStyle.cs: Set table style in the column
  14591. * ThemeWin32Classic.cs: Use Theme for colors
  14592. * DataGridDrawingLogic.cs: Implement more drawing
  14593. * DataGrid.cs: drawing, theming, enhacements, fixes
  14594. * DataGridColumnStyle.cs: fixes, drawing
  14595. * Theme.cs: theming for Datagrid
  14596. 2005-05-20 Peter Bartok <[email protected]>
  14597. * Cursor.cs: Implemented GetObjectData() method
  14598. 2005-05-20 Peter Bartok <[email protected]>
  14599. * Cursors.cs: Added setting of cursor name
  14600. * Cursor.cs:
  14601. - Implemented constructors
  14602. - Implemented Draw and DrawStretched
  14603. - Implemented Current property
  14604. - Implemented == and != operators
  14605. - Implemented Dispose()
  14606. - Implemented ToString
  14607. - Added missing attributes
  14608. * XplatUIX11.cs:
  14609. - Added missing reset for OverrideCursor when DoEvents is called
  14610. - Fixed creation of cursor, logic was wrong
  14611. * XplatUIWin32.cs:
  14612. - Added missing reset for OverrideCursor when DoEvents is called
  14613. - Fixed creation of cursor, bit arrays were swapped
  14614. * Clipboard.cs: Removed obsolete MonoTODO attribute
  14615. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14616. * ComboBox.cs: fixes OnSelectedItemChanged
  14617. * ControlBindingsCollection.cs: fixes item range check
  14618. 2005-05-20 Jordi Mas i Hernandez <[email protected]>
  14619. * UpDownBase.cs:
  14620. - Calc preferred height properly
  14621. - Implement missing properties
  14622. * NumericUpDown.cs: Implement missing events
  14623. 2005-05-19 Jackson Harper <[email protected]>
  14624. * TabControl.cs: New method that resizes the tab pages before
  14625. redrawing them. This as needed as the control is double buffered
  14626. and sizing will not be recalculated unless ResizeTabPages is
  14627. called.
  14628. * TabPage.cs: Set base.Text instead of Text in the constructor so
  14629. that UpdateOwner does not get called. Use the new Redraw method of
  14630. TabControl instead of Refresh so the sizing is recalculated.
  14631. * ThemeWin32Classic.cs: Draw the text for button tabs.
  14632. 2005-05-19 Jackson Harper <[email protected]>
  14633. * Control.cs: Paint control background images. Fix typo where
  14634. PaintControlBackground was not getting called correctly.
  14635. 2005-05-19 Peter Bartok <[email protected]>
  14636. * ScrollableControl.cs (DisplayRectangle): Undid my last change until
  14637. I can investigate, apparently I broke FileDialog
  14638. 2005-05-19 Marek Safar <[email protected]>
  14639. * AxHost.cs: Some simple properties.
  14640. * Control.cs: window must be accessible after ctor.
  14641. * Form.cs: Added TransparencyKey property.
  14642. * TextBoxBase.cs: Implemented Clear. Text property can be null.
  14643. * XplatUIWin32.cs: SetBorderStyle implemented.
  14644. 2005-05-18 Peter Bartok <[email protected]>
  14645. * DataObject.cs: Entries are not global but particular to the
  14646. DataObject, now it behaves that way
  14647. * XplatUIWin32.cs: Implemented Clipboard methods
  14648. * Clipboard.cs: Implemented
  14649. * ScrollableControl.cs (DisplayRectangle): Fixed calculation
  14650. * XplatUIOSX.cs: Updated to final clipboard prototypes
  14651. * XplatUIX11.cs: Implemented Clipboard methods
  14652. * XplatUIDriver.cs: Updated to final clipboard prototypes
  14653. * XplatUIStructs.cs:
  14654. - Added BITMAPINFOHEADER struct
  14655. - Added ClipboardFormats enum
  14656. * X11Structs.cs:
  14657. - Added ClipboardStruct
  14658. - Added Atom enum items for clipboard types
  14659. - Fixed atom types for Selection event structures
  14660. * DataFormats.cs:
  14661. - Added internal properties and methods for drivers to enumerate
  14662. all known formats
  14663. - Switched initialization method to allow drivers to assign their
  14664. own IDs even for the MS predefined clipboard IDs
  14665. * XplatUI.cs: Updated to final clipboard interface
  14666. 2005-05-18 Jonathan S. Chambers <[email protected]>
  14667. * PropertyGridView.cs: Fixed compiler warnings.
  14668. 2005-05-18 Jonathan S. Chambers <[email protected]>
  14669. * PropertyGrid.cs: Added some event calls
  14670. * PropertyGridView.cs: Change drawing code to use double buffering
  14671. * PropertyGridTextBox.cs: Changed Text property name
  14672. * GridItem.cs: Added Bounds property.
  14673. * GridEntry.cs: Added Bounds property.
  14674. 2005-05-17 Lluis Sanchez Gual <[email protected]>
  14675. * Binding.cs: Use IsInstanceOfType instead of IsAssignableFrom
  14676. since GetType() may not return the correct type if the object is
  14677. a remoting proxy.
  14678. 2005-05-17 Jordi Mas i Hernandez <[email protected]>
  14679. * TreeNodeCollection.cs: fixes get/set item ranges
  14680. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  14681. * ListBox.cs: Kazuki Oikawa's PreferredHeight and ItemHeight fixes
  14682. 2005-05-15 Jordi Mas i Hernandez <[email protected]>
  14683. * ComboBox.cs: Fix item range comparation
  14684. * ListView.cs: Fix item range comparation
  14685. 2005-05-03 Alexander Olk <[email protected]>
  14686. * FontDialog.cs:
  14687. - Clear example panel when OnPaint is called
  14688. - Better solution for displaying the example panel text
  14689. - Select default indexes in the ListBoxes
  14690. 2005-05-11 Geoff Norton <[email protected]>
  14691. * XplatUIOSX.cs: Avoid painting into invisible views. Fixes #74926
  14692. 2005-05-11 Peter Bartok <[email protected]>
  14693. * LinkArea.cs: Added and implemented LinkAreaTypeConverter class
  14694. * SelectionRangeConverter.cs: Implemented
  14695. * PropertyGrid.cs: Fixed attribute value
  14696. * Control.cs:
  14697. - Invoke(): Don't call Begin/EndInvoke if it is not neccessary
  14698. - Added Sebastien Pouliot's CAS Stack Propagation fixes
  14699. * XplatUIDriver.cs: Added new XplatUIDriverSupport class, for code
  14700. that's common to all drivers. First methods to go there are
  14701. Sebastien Pouliot's CAS Stack Propagation helper methods
  14702. * XplatUIWin32.cs, XplatUIX11.cs, AsyncMethodData.cs: Fixes by
  14703. Sebastien Pouliot for CAS Stack Propagation
  14704. 2005-05-11 Geoff Norton <[email protected]>
  14705. * OSXStructs.cs:
  14706. XplatUIOSX.cs: More cosmetic cleanup courtesy of Artyom Tyazhelov ([email protected])
  14707. 2005-05-12 Jordi Mas i Hernandez <[email protected]>
  14708. * DataGridTextBoxColumn.cs: fixed some members
  14709. * GridColumnStylesCollection.cs: indexed column is case insensitive
  14710. * DataGridTableStyle.cs: fixes
  14711. * ThemeWin32Classic.cs: add new theme parameter
  14712. * Theme.cs: add new theme parameter
  14713. * DataGridDrawingLogic.cs: Datagrid's drawing logic
  14714. * DataGrid.cs: fixes, new internal properties, etc.
  14715. * DataGridColumnStyle.cs: allows to set grid value
  14716. *
  14717. 2005-05-10 Peter Bartok <[email protected]>
  14718. * AccessibleObject.cs:
  14719. - Removed MonoTODO attribute on help, method is correct
  14720. - Fixed Bounds property
  14721. * AxHost.cs: Moved MonoTODO
  14722. * ButtonBase.cs: Now setting AccessibleObject properties
  14723. * RadioButton.cs: Setting proper AccessibleObject role
  14724. * CheckBox.cs: Setting proper AccessibleObject role
  14725. * ControlBindingsCollection.cs: Added properties, methods and attributes
  14726. * DataFormats.cs: Fixed awkward internal API, and changed to enable
  14727. userdefined DataFormats.Format items as well
  14728. * ListControl.cs: Removed data_member from the public eye
  14729. * OpenFileDialog.cs:
  14730. - Made class sealed
  14731. - Added missing attributes
  14732. * SaveFileDialog.cs: Added missing attributes
  14733. * ImageListStreamer.cs: Fixed code that caused warnings
  14734. * LinkLabel.cs: Removed unreachable code
  14735. * TreeView.cs: Fixed code that caused warnings
  14736. * PropertyGridView.cs: Fixed code that caused warnings
  14737. * GridColumnStylesCollection.cs: Added missing attributes
  14738. * GridTableStylesCollection: Added missing attribute
  14739. * PropertyManager: Added .ctor
  14740. * SecurityIDType: Added
  14741. * DataObject.cs: Implemented class
  14742. * LinkArea.cs: Added missing attribute
  14743. 2005-05-11 Jordi Mas i Hernandez <[email protected]>
  14744. * RadioButton.cs: call base method to allow to fire OnClick event
  14745. * UpDownBase.cs: OnMouseUp call base method
  14746. * CheckedListBox.cs: call base method before returning
  14747. * TrackBar.cs: call base method before returning
  14748. 2005-05-10 Peter Bartok <[email protected]>
  14749. * XplatUIX11.cs: Fix for #74902, check pending timers when peeking
  14750. for messages
  14751. 2005-05-10 Peter Bartok <[email protected]>
  14752. * DataFormats.cs: Implemented
  14753. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs,
  14754. XplatUIX11.cs: Added Clipboard APIs
  14755. * XplatUIWin32.cs: Implemented Clipboard APIs
  14756. * FolderBrowserDialog.cs: Added missing event, attributes
  14757. 2005-05-10 Jordi Mas i Hernandez <[email protected]>
  14758. * CheckBox.cs: call base method to allow to fire OnClick event
  14759. 2005-05-09 Sebastien Pouliot <[email protected]>
  14760. * XplatUI.cs: Use PlatformID.Unix under NET_2_0.
  14761. 2005-05-06 Peter Bartok <[email protected]>
  14762. * XplatUIX11.cs: Redid Jackson's fix, it was causing a busy loop
  14763. * Screen.cs: Implemented
  14764. * HelpNavigator.cs: Added
  14765. * XplatUIWin32.cs: Added SystemParametersInfo call, fixed WorkArea
  14766. property
  14767. * HelpProvider.cs: Implemented all we can do until we have a CHM
  14768. help library (which means that "What's This" does work now)
  14769. 2005-05-06 Jackson Harper <[email protected]>
  14770. * XplatUIX11.cs: Fix waking up the main loop.
  14771. 2005-05-05 Peter Bartok <[email protected]>
  14772. * XplatUI.cs: Updated revision
  14773. * Form.cs: Removed enless loop
  14774. * GroupBox.cs (OnPaint): Added call to base.OnPaint()
  14775. * Label.cs (OnPaint): Added call to base.OnPaint()
  14776. * ToolTip.cs: Made ToolTipWindow reusable for other controls
  14777. * LinkLabel.cs (OnPaint): Added call to base.OnPaint()
  14778. * UpDownBase.cs (OnPaint): Moved base.OnPaint() call to end of method
  14779. * AxHost.cs: Added
  14780. * ButtonBase.cs: Moved base.OnPaint() call to end of method
  14781. * ThemeWin32Classic.cs: Replaced references to ToolTip with references
  14782. to ToolTip.ToolTipWindow for drawing and size methods; this allows
  14783. reuse of ToolTipWindow by other controls
  14784. * SizeGrip.cs: Moved base.OnPaint() call to end of method
  14785. * XplatUIX11.cs: Now clipping drawing area (experimental)
  14786. * PictureBox.cs: Moved base.OnPaint() call to end of method
  14787. * Theme.cs: Fixed ToolTip abstracts to match new format
  14788. * ErrorProvider.cs: Implemented
  14789. 2005-05-05 Jordi Mas i Hernandez <[email protected]>
  14790. * Label.cs: fire events using OnAutoSizeChanged and OnTextAlignChanged
  14791. * LinkLabel.cs:
  14792. - Adds cursors
  14793. - Handles focus
  14794. - Implements LinkBehavior
  14795. - Fixes many issues
  14796. 2005-05-03 Jackson Harper <[email protected]>
  14797. * ListView.cs: Calculate the scrollbar positioning on resize and
  14798. paint, so they get put in the correct place.
  14799. 2005-05-03 Alexander Olk <[email protected]>
  14800. * ColorDialogs.cs: The small color panels are now handled by
  14801. SmallColorControl. This fixes drawing of the focus rectangle
  14802. and adds a 3D border.
  14803. 2005-05-03 Peter Bartok <[email protected]>
  14804. * Control.cs: Modified version of Jonathan Chamber's fix for
  14805. double-buffering
  14806. 2005-05-03 Jackson Harper <[email protected]>
  14807. * ListView.cs: Remove redraw variable. Control now handles whether
  14808. or not a redraw needs to be done, and will only raise the paint
  14809. event if redrawing is needed.
  14810. 2005-05-03 Jackson Harper <[email protected]>
  14811. * Splitter.cs: No decorations for the splitter form. Cache the
  14812. hatch brush.
  14813. 2005-05-03 Jackson Harper <[email protected]>
  14814. * TreeView.cs: Use dashed lines to connect nodes. Use the
  14815. ControlPaint method for drawing the focus rect instead of doing
  14816. that in treeview.
  14817. 2005-05-02 Peter Bartok <[email protected]>
  14818. * LinkLabel.cs: Fixed the fixes from r43566 and 43521
  14819. 2005-04-29 Jackson Harper <[email protected]>
  14820. * ThemeWin32Classic.cs: Don't clear the GC that will clear the
  14821. entire image buffer. Just clear the clipping rectangle.
  14822. 2005-04-29 Jackson Harper <[email protected]>
  14823. * ThemeWin32Classic.cs: Don't draw list view items that are
  14824. outside the clipping rectangle.
  14825. 2005-04-29 Jordi Mas i Hernandez <[email protected]>
  14826. * ListBox.cs: added horizontal item scroll
  14827. 2005-04-29 Jackson Harper <[email protected]>
  14828. * ThemeWin32Classic.cs: Remove some old debug code that was
  14829. causing flicker with the new double buffering code.
  14830. 2005-04-29 John BouAntoun <[email protected]>
  14831. * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon
  14832. behave like combobox and comboboxlist (still not sure if this is
  14833. correct though).
  14834. 2005-04-28 Jackson Harper <[email protected]>
  14835. * ThemeWin32Classic.cs: Don't fill the middle of progress
  14836. bars. This fills areas outside of the clip bounds that don't need
  14837. to be filled.
  14838. 2005-04-28 Jackson Harper <[email protected]>
  14839. * Control.cs: Don't expose functionality to touch the image buffers.
  14840. * ProgressBar.cs:
  14841. * ListView.cs: We do not need to (and no longer can) manipulate
  14842. the image buffers directly. All of this is handled by Control.
  14843. 2005-04-28 Peter Bartok <[email protected]>
  14844. * RichTextBoxSelectionAttribute.cs, RichTextBoxSelectionTypes.cs,
  14845. RichTextBoxScrollBars.cs, RichTextBoxStreamType.cs,
  14846. RichTextBoxFinds.cs, RichTextBoxWordPunctuations.cs: Added
  14847. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  14848. * Combobox:
  14849. - Adjust control's height for non-simple comboboxes (bug fix)
  14850. - Remove dead code
  14851. * MenuAPI.cs: remove unused var
  14852. * ScrollBar.cs: remove unsed var
  14853. * ListBox.cs: unselect items when clearing
  14854. 2005-04-28 Jordi Mas i Hernandez <[email protected]>
  14855. * ListControl.cs: honors OnPositionChanged and default Selected Item
  14856. * ListBox.cs: unselect items when clearing
  14857. 2005-04-27 Jackson Harper <[email protected]>
  14858. * X11Keyboard.cs: Initialize a default keyboard and give a warning
  14859. if a "correct" keyboard is not found. This will make us not crash,
  14860. but might give some users bad keyboard layouts...seems to be the
  14861. same thing rewind does.
  14862. 2005-04-27 Jackson Harper <[email protected]>
  14863. * BindingManagerBase.cs: Attach the current/position changed
  14864. handlers to their respective events.
  14865. 2005-04-27 Jackson Harper <[email protected]>
  14866. * Control.cs: Make sure that the first WM_PAINT does a full draw,
  14867. not just a blit.
  14868. * ThemeWin32Classic.cs: Don't fill the background for picture
  14869. boxes. This could overright user drawing.
  14870. * ComboBox.cs: Just fill the clipping rect not the entire client
  14871. rect when drawing the background. This prevents pieces of the
  14872. image buffer from getting overwritten and is theoretically faster.
  14873. 2005-04-26 Jordi Mas i Hernandez <[email protected]>
  14874. * ComboBox.cs: Databinding support fixes, fire missing events
  14875. * ListControl.cs: implement missing methods and properties, fixes
  14876. * ThemeWin32Classic.cs: Databiding support on Drawing
  14877. * CheckedListBox.cs: Databinding support fixes, fire missing events
  14878. * ListBox.cs: Databinding support fixes, fire missing events
  14879. 2005-04-25 Peter Bartok <[email protected]>
  14880. * LinkLabel.cs: Length of LinkArea is not allowed to be negative
  14881. 2005-04-25 Jackson Harper <[email protected]>
  14882. * TreeView.cs: Use the horizontal scrollbars height not width when
  14883. determining how much of the client area is available.
  14884. 2005-04-25 Jackson Harper <[email protected]>
  14885. * Control.cs: Double buffering is handled differently now. As per
  14886. the spec, the extra buffer is created in the WM_PAINT message and
  14887. passed down to the control's drawing code.
  14888. * GroupBox.cs:
  14889. * Label.cs:
  14890. * CheckBox.cs:
  14891. * ProgressBar.cs:
  14892. * RadioButton.cs:
  14893. * ColorDialog.cs:
  14894. * ComboBox.cs:
  14895. * PropertyGridView.cs:
  14896. * UpDownBase.cs:
  14897. * MessageBox.cs:
  14898. * MenuAPI.cs:
  14899. * ListView.cs:
  14900. * ButtonBase.cs:
  14901. * SizeGrip.cs:
  14902. * ScrollBar.cs:
  14903. * ListBox.cs:
  14904. * TrackBar.cs:
  14905. * ToolBar.cs:
  14906. * PictureBox.cs:
  14907. * DateTimePicker.cs:
  14908. * StatusBar.cs:
  14909. * TreeView.cs: Update to new double buffering system.
  14910. * MonthCalendar.cs: Uncomment block, as Capture is now
  14911. working. Update to new double buffering
  14912. * LinkLabel.cs: Lazy init the link collection. Update to new double buffering
  14913. * PaintEventArgs.cs: New internal method allows us to set the
  14914. graphics object. This is used for double buffering.
  14915. * ThemeWin32Classic.cs: Give the picture box drawing code a clip
  14916. rectangle. The internal paint_area var has been removed from
  14917. StatusBar. The clipping rect should be used instead.
  14918. * Theme.cs: Give the PictureBox drawing method a clipping rect.
  14919. * TabPage.cs: The RefreshTabs method was removed, so just call the
  14920. tab controls Refresh method now.
  14921. * TabControl.cs: Update to new double buffering. Make sure the
  14922. handle is created before sizing the tab pages, otherwise we will
  14923. get stuck in a loop.
  14924. 2005-04-24 Borja Sanchez Zamorano <[email protected]>
  14925. * LinkLabel.cs: Fix typo, bug #74719; patch
  14926. from Borja Sanchez Zamorano
  14927. 2005-04-22 Jackson Harper <[email protected]>
  14928. * TreeNode.cs: Implement Handle stuff.
  14929. * TreeView.cs: Utility methods so nodes can get/lookup by handle.
  14930. 2005-04-22 Jordi Mas i Hernandez <[email protected]>
  14931. * DataGridTextBoxColumn.cs: call base constructors, fixes
  14932. * GridColumnStylesCollection.cs: missing events, methods, and functionality
  14933. * GridTableStylesCollection.cs: fixes, check duplicate mapping names
  14934. * DataGridTableStyle.cs: implements create default column styles
  14935. * DataGridBoolColumn.cs: which types can handle
  14936. * DataGrid.cs: missing methods, fixes, new functionality
  14937. * DataGridColumnStyle.cs: fixes
  14938. 2005-04-20 Alexander Olk <[email protected]>
  14939. * FolderBrowserDialog.cs:
  14940. - Use a thread to fill the TreeView
  14941. - Adjusted some sizes
  14942. 2005-04-19 Peter Bartok <[email protected]>
  14943. * LinkLabel.cs: (Re-)create the pieces when setting the Text
  14944. property. Fixes #74360.
  14945. 2005-04-19 Jackson Harper <[email protected]>
  14946. * XEventQueue.cs: Lock when getting the lockqueue size.
  14947. * PictureBox.cs: Call base OnPaint
  14948. 2005-04-19 Peter Bartok <[email protected]>
  14949. * XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
  14950. messages were no longer being processed (this broke BeginInvoke)
  14951. 2005-04-18 Jackson Harper <[email protected]>
  14952. * TreeView.cs: buglet that caused node images to get drawn
  14953. regardless of whether or not they were in the clipping rectangle.
  14954. 2005-04-18 Jackson Harper <[email protected]>
  14955. * CurrencyManager.cs: There are four rules for GetItemProperties:
  14956. - If the type is an array use the element type of the array
  14957. - If the type is a typed list, use the type
  14958. - If the list contains an Item property that is not an object, use
  14959. that property
  14960. - use the first element of the list if there are any elements in
  14961. the list.
  14962. 2005-04-17 Jackson Harper <[email protected]>
  14963. * TreeView.cs: Calculate plus minus and checkbox bounds when there is a
  14964. click. This handles offsets for scrolling properly and reduces
  14965. memory. Also fixed GetNode to not offset now that TopNode works
  14966. properly.
  14967. * TreeNode.cs: No longer need to track the plus minus or checkbox bounds.
  14968. 2005-04-17 Jackson Harper <[email protected]>
  14969. * CursorConverter.cs: Initial implementation.
  14970. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  14971. * ListControl.cs: work towards complex data binding support on ListControl
  14972. * CurrencyManager.cs: work towards complex data binding support on ListControl
  14973. * ListBox.cs: work towards complex data binding support on ListControl
  14974. 2005-04-15 Jordi Mas i Hernandez <[email protected]>
  14975. * GridTableStylesCollection.cs: fixes name and constructor
  14976. * DataGridTableStyle.cs: fixes
  14977. * DataGridBoolColumn.cs: fixes names and constructors
  14978. * DataGrid.cs: define methods and properties. Some init implementations
  14979. * DataGridCell.cs: define methods and properties. Some init implementations
  14980. * GridTablesFactory.cs: Define methods and properties
  14981. 2005-04-15 Geoff Norton <[email protected]>
  14982. * XplatUIOSX.cs: Handle proper mouse tracking even if the current
  14983. graphics port changes. We still want the coordinates in global screen
  14984. coordinates.
  14985. 2005-04-14 Jackson Harper <[email protected]>
  14986. * TreeView.cs: Handle clicks when plus minus is disabled. Don't
  14987. check plus minus or checkbox clicks unless those features are enabled.
  14988. 2005-04-14 Jackson Harper <[email protected]>
  14989. * TreeView.cs: Add methods for setting the top and bottom visible
  14990. nodes. TreeNode::EnsureVisible uses these methods.
  14991. * TreeNode.cs: Implement EnsureVisible
  14992. 2005-04-13 Jordi Mas i Hernandez <[email protected]>
  14993. * Form.cs: Pospone menu assignation if the window has not been created yet
  14994. * XplatUIWin32.cs: Fixes Win32SetWindowPos, then does not change window
  14995. size and position
  14996. 2005-04-12 Jackson Harper <[email protected]>
  14997. * TreeView.cs: Set the TopNode properly when scrolling
  14998. occurs. This has the added benifit of reducing the amount of
  14999. walking that needs to be done when drawing. Also removed an old
  15000. misleading TODO.
  15001. * OpenTreeNodeEnumerator.cs: Fix moving backwards.
  15002. 2005-04-11 Jordi Mas i Hernandez <[email protected]>
  15003. * Timer.cs: fixes interval setting when the timer is already enabled
  15004. 2005-04-10 Alexander Olk <[email protected]>
  15005. * FolderBrowserDialog.cs: First approach
  15006. 2005-04-09 Peter Bartok <[email protected]>
  15007. * FolderBrowserDialog: Added
  15008. 2005-04-07 Jordi Mas i Hernandez <[email protected]>
  15009. * LinkLabel.cs: move drawing code into the theme
  15010. * ThemeWin32Classic.cs: drawing code and painting background bugfix
  15011. * Theme.cs: define DrawLinkLabel method
  15012. 2005-04-05 Jackson Harper <[email protected]>
  15013. * BindingContext.cs: Use weak references so these bad actors don't
  15014. stay alive longer then they need to.
  15015. 2005-04-05 Jackson Harper <[email protected]>
  15016. * ListControl.cs: Basic implementation of complex databinding.
  15017. * ComboBox.cs:
  15018. * ListBox.cs: Add calls to ListControl databinding methods.
  15019. 2005-04-05 Alexander Olk <[email protected]>
  15020. * FileDialog.cs:
  15021. - Don't change PopupButtonState to Normal when the
  15022. PopupButton gets pressed several times.
  15023. - Renamed ButtonPanel to PopupButtonPanel
  15024. 2005-04-05 Jordi Mas i Hernandez <[email protected]>
  15025. * ColorDialog.cs: Use cached objects instead of creating them
  15026. * LinkLabel.cs: Use cached objects instead of creating them
  15027. * Splitter.cs: Use cached objects instead of creating them
  15028. * FontDialog.cs: Use cached objects instead of creating them
  15029. * PropertyGridView.cs: Use cached objects instead of creating them
  15030. * MessageBox.cs: Use cached objects instead of creating them
  15031. * FileDialog.cs: Use cached objects instead of creating them
  15032. * ThemeWin32Classic.cs: Use cached objects instead of creating them
  15033. * TreeView.cs: Use cached objects instead of creating them
  15034. 2005-04-04 Jordi Mas i Hernandez <[email protected]>
  15035. * Control.cs: use Equals to compare the font since no == op
  15036. * ScrollBar.cs: use Equals to compare the font since no == op
  15037. 2005-04-04 Alexander Olk <[email protected]>
  15038. * SaveFileDialog.cs: Open stream in OpenFile with FileMode Create
  15039. 2005-04-01 Jackson Harper <[email protected]>
  15040. * Binding.cs: Implement IsBinding.
  15041. * BindingManagerBase.cs:
  15042. * PropertyManager.cs:
  15043. * CurrencyManager.cs: Add IsSuspended property.
  15044. 2005-04-01 Jackson Harper <[email protected]>
  15045. * Binding.cs: Had some IsAssignableFrom calls backwards.
  15046. 2005-04-01 Jackson Harper <[email protected]>
  15047. * Binding.cs: Handle null data members when pulling data.
  15048. * PropertyManager.cs: Handle the data member being a property that
  15049. does not exist.
  15050. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  15051. * DataGridTextBoxColumn.cs: fixes signature
  15052. * DataGrid.cs: calls right constructor
  15053. 2005-04-01 Jordi Mas i Hernandez <[email protected]>
  15054. * DataGridTextBoxColumn.cs: implements DataGridTextBoxColumn class
  15055. * GridColumnStylesCollection.cs: implements GridColumnStylesCollection
  15056. * GridTableStylesCollection.cs: implements GridTableStylesCollection
  15057. * DataGridTableStyle.cs: implements DataGridTableStyle
  15058. * DataGridBoolColumn.cs: implements DataGridBoolColumn
  15059. * DataGridTextBox.cs: implements DataGridTextBox
  15060. * DataGridColumnStyle.cs: implements DataGridColumnStyle
  15061. 2005-03-31 Alexander Olk <[email protected]>
  15062. * FileDialog.cs: Added simple PopupButton class for ButtonPanel
  15063. 2005-03-29 Peter Bartok <[email protected]>
  15064. * Application.cs:
  15065. - Properly implemented CompanyName property
  15066. - Fixed LocalUserAppDataPath and UserAppDataPath, now properly
  15067. returns a path that includes CompanyName, ProductName and
  15068. Version (fixes bug #70330)
  15069. 2005-03-29 Stefan Buehler <[email protected]>
  15070. * TabPage.cs: Don't use Owner.DisplayRectangle unless owner is valid,
  15071. fixes bug #72588.
  15072. 2005-03-28 Alexander Olk <[email protected]>
  15073. * FileDialog.cs, SaveFileDialog.cs OpenFileDialog.cs:
  15074. - Added ReadOnly CheckBox
  15075. - Further refactoring: moved some code from Open-/SaveFileDialog
  15076. to FileDialog
  15077. 2005-03-28 Alexander Olk <[email protected]>
  15078. * OpenFileDialog.cs: Fixed CheckFileExists
  15079. * FileDialog.cs:
  15080. Moved FileView and DirComboBox outside FileDialog class.
  15081. They can now be used outside FileDialog
  15082. 2005-03-27 Alexander Olk <[email protected]>
  15083. * FileDialog.cs: Added a contextmenu to change ShowHiddenFiles
  15084. * SaveDialog.cs, OpenFileDialog.cs: Fixes for Reset() method
  15085. 2005-03-27 Alexander Olk <[email protected]>
  15086. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  15087. - Added missing CreatePrompt property in SaveDialog
  15088. - Overall SaveDialog handling should be better now
  15089. - Added non standard ShowHiddenFiles property
  15090. - Added extension, CreatePrompt and OverwritePrompt support in SaveDialog
  15091. - Added InitialDirectory and RestoreDirectory support
  15092. 2005-03-26 Alexander Olk <[email protected]>
  15093. * FileDialog.cs: Made dirComboBox usable
  15094. 2005-03-24 Alexander Olk <[email protected]>
  15095. * FileDialog.cs: Added Filter support (case sensitiv)
  15096. 2005-03-24 Jackson Harper <[email protected]>
  15097. * TabControl.cs: Need a couple more pixels for the lines.
  15098. 2005-03-23 Jackson Harper <[email protected]>
  15099. * TabControl.cs: Give the tab page focus when it is selected.
  15100. 2005-03-23 Jackson Harper <[email protected]>
  15101. * TabControl.cs: Account for the drawing of tabs borders when
  15102. invalidating. If the slider was clicked dont do click detection on
  15103. the tabs.
  15104. 2005-03-23 Jackson Harper <[email protected]>
  15105. * TabControl.cs: Fix typo, emilinates an unneeded expose event.
  15106. 2005-03-22 Jonathan Chambers <[email protected]>
  15107. * CategoryGridEntry.cs: Added
  15108. * GridItem.cs: Added helper properties
  15109. * PropertyGridTextBox.cs: Custom textbox control for PropertyGrid.
  15110. * GridEntry.cs: Updated code for collection
  15111. * PropertyGrid.cs: Cleaned up some formatting
  15112. * PropertyGridView.cs: Added drop down functionality for enums.
  15113. * GridItemCollection.cs: Added enumerator logic
  15114. * PropertyGridEntry.cs: Added
  15115. 2005-03-19 Alexander Olk <[email protected]>
  15116. * FileDialog.cs:
  15117. - Removed unnecessary commented code
  15118. - Fixed handling for entering the filename manually in the combobox
  15119. 2005-03-19 Alexander Olk <[email protected]>
  15120. * FileDialog.cs, OpenFileDialog.cs: OpenFileDialog Multiselect now works
  15121. 2005-03-18 Peter Bartok <[email protected]>
  15122. * ThemeWin32Classic.cs: Moved listview column headers a bit, to avoid
  15123. them being touching the border
  15124. 2005-03-18 Peter Bartok <[email protected]>
  15125. * TextControl.cs: Quick hack to center text better
  15126. 2005-03-18 Peter Bartok <[email protected]>
  15127. * ControlPaint.cs:
  15128. - Don't throw NotImplemented exceptions, just print a notice once
  15129. instead (requested by Miguel). This makes running existing SWF
  15130. apps a bit easier
  15131. * Control.cs:
  15132. - Commented out Drag'N'Drop XplatUI call (no driver support yet)
  15133. - Added context menu trigger on right click
  15134. * Panel.cs: Trigger invalidate on resize
  15135. * StatusBar.cs:
  15136. - Removed old double-buffer drawing
  15137. - Added ResizeRedraw style to force proper update of statusbar
  15138. * ListView.cs:
  15139. - Removed debug output
  15140. * ThemeWin32Classic.cs:
  15141. - Fixed drawing of status bar, now draws Text property if there
  15142. are no defined panels
  15143. 2005-03-18 Jackson Harper <[email protected]>
  15144. * ImageList.cs: When the image stream is set pull all the images
  15145. from it.
  15146. * ImageListStreamer.cs: Implement reading image list streams.
  15147. 2005-03-18 Peter Bartok <[email protected]>
  15148. * ThemeWin32Classic.cs (DrawPictureBox):
  15149. - Fixed calculations for centered drawing
  15150. - Fixed drawing for normal mode, not scaling the image on normal
  15151. 2005-03-18 Peter Bartok <[email protected]>
  15152. * ComboBox.cs: Now also firing the OnKeyPress events for the embedded
  15153. textbox
  15154. * FileDialog.cs:
  15155. - Made Open/Save button the accept button for FileDialog
  15156. - Tied the cancel button to the IButtonControl cancel button
  15157. - Save/Open now properly builds the pathname
  15158. - Now handles user-entered text
  15159. - Preventing crash on right-click if no item is selected
  15160. - Fixed Text property, now uses contents of textbox
  15161. - Fixed SelectedText property, now just returns the text part that
  15162. is selected in the text box
  15163. 2005-03-18 Jackson Harper <[email protected]>
  15164. * ThemeWin32Classic.cs: Use the proper func for drawing the focus
  15165. rect, make sure to de-adjust the interior rect after drawing the
  15166. tab text.
  15167. 2005-03-18 Peter Bartok <[email protected]>
  15168. * MenuAPI.cs: Remove menu *before* executing selected action to
  15169. prevent the menu from 'hanging around'
  15170. 2005-03-17 Geoff Norton <[email protected]>
  15171. * XplatUIOSX.cs: Implemented WorkingArea property
  15172. 2005-03-17 Peter Bartok <[email protected]>
  15173. * XplatUIX11.cs: Fixed menu coord calculations
  15174. * MenuAPI.cs: Now using new ScreenToMenu()/MenuToScreen() methods
  15175. for calculating offsets
  15176. 2005-03-17 Peter Bartok <[email protected]>
  15177. * Hwnd.cs: Do not consider menu presence for default client
  15178. rectangle location/size
  15179. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs, XplatUIOSX.cs,
  15180. XplatUIWin32.cs: Added MenuToScreen() and ScreenToMenu() coord
  15181. translation functions
  15182. * FileDialog.cs: Fixed (what I presume is a) typo
  15183. 2005-03-17 Jonathan Gilbert <[email protected]>
  15184. * XplatUIX11.cs: Added call to XInitThreads() to allow multi-threaded
  15185. X access (avoids X-Async errors)
  15186. 2005-03-16 Jackson Harper <[email protected]>
  15187. * TabControl.cs: Raise the SelectedIndexChanged event.
  15188. 2005-03-16 Alexander Olk <[email protected]>
  15189. * FileDialog.cs, OpenFileDialog.cs, SaveFileDialog.cs:
  15190. - Removed vertical ToolBar and replaced it with a custom panel
  15191. (desktop and home button already work)
  15192. - Added Help button (some controls get resized or relocated then)
  15193. - Draw correct text depending on Open or Save.
  15194. - Fixed some typos...
  15195. 2005-03-16 Jordi Mas i Hernandez <[email protected]>
  15196. * ScrollBar.cs:
  15197. - Only change Maximum and Minimum when need it (bug fix)
  15198. 2005-03-15 Peter Bartok <[email protected]>
  15199. * Form.cs: Use Handle for icon, to trigger creation if
  15200. the window does not yet exist
  15201. * Control.cs:
  15202. - CanSelect: Slight performance improvement
  15203. - Focus(): Preventing possible recursion
  15204. - Invalidate(): Removed ControlStyle based clear flag setting
  15205. - WM_PAINT: fixed logic for calling OnPaintBackground
  15206. - WM_ERASEBKGND: Fixed logic, added call to new driver method
  15207. EraseWindowBackground if the control doesn't paint background
  15208. * XplatUIWin32.cs:
  15209. - Moved EraseWindowBackground() method to internal methods
  15210. - Removed unused WM_ERASEBKGND handling in GetMessage; msg never comes;
  15211. is sent via SendMessage on BeginPaint call on Win32
  15212. * XplatUIX11.cs:
  15213. - Added EraseWindowBackground() method
  15214. - No longer sends WM_ERASEBKGND on .Expose, but on call to
  15215. PaintEventStart, which more closely matches Win32 behaviour
  15216. - Fixed Invalidate() call, now updates new ErasePending Hwnd property
  15217. - Fixed SetFocus() to properly deal with client and whole windows
  15218. * Hwnd.cs: Added ErasePending property
  15219. * XplatUIOSX.cs: Stubbed EraseWindowBackground() method
  15220. * XplatUI.cs, XplatUIDriver.cs: Added EraseWindowBackground() method
  15221. 2005-03-12 Geoff Norton <[email protected]>
  15222. * XplatUIOSX.cs:
  15223. - Fix hard loop when timers exist.
  15224. - Fix bugs with middle and right click for 3 button mice.
  15225. 2005-03-11 Peter Bartok <[email protected]>
  15226. * XplatUIX11.cs:
  15227. - get_WorkingArea: Need to call X directly, GetWindowPos only
  15228. returns cached data now
  15229. - Added sanity check to GetWindowPos hwnd usage
  15230. 2005-03-11 Jackson Harper <[email protected]>
  15231. * BindingManagerBase.cs: This method isn't used anymore as
  15232. PullData now updates the data in the control.
  15233. 2005-03-11 Jordi Mas i Hernandez <[email protected]>
  15234. * Form.cs: fixes menu drawing on X11
  15235. * MenuAPI.cs: fixes menu drawing on X11
  15236. 2005-03-11 Peter Bartok <[email protected]>
  15237. * Control.cs: Changed OnCreateControl behaviour based on a suggestion
  15238. from Jonathan Gilbert; should fix bug #73606
  15239. * XplatUIX11.cs: Fixed NC Mouse message coordinates, they need to be
  15240. in Screen coordinates. Thanks, Jordi.
  15241. * Form.cs: Added missing attribute
  15242. 2005-03-11 Peter Bartok <[email protected]>
  15243. * Form.cs:
  15244. - Rudimentary Mdi support
  15245. - Removed outdated FormParent code
  15246. - Implemented lots of missing properties and methods, still missing
  15247. transparency support
  15248. - Added missing attributes
  15249. - Implemented support for MaximumBounds
  15250. - Added firing of various events
  15251. * XplatUI.cs: Added SetIcon() method
  15252. * XplatUIDriver.cs: Added SetIcon() abstract
  15253. * XplatUIOSX.cs: Stubbed out SetIcon() method
  15254. * XplatUIX11.cs:
  15255. - Implemented SetIcon() support
  15256. - Moved SetMenu() and SetBorderStyle() to proper alphabetical pos
  15257. - Switched to unix line endings
  15258. * XplatUIWin32.cs:
  15259. - Made POINT internal so for can access it as part of MINMAX
  15260. - Implemented SetIcon() support
  15261. - Implemented support for CLIENTCREATESTRUCT (but might have to drop
  15262. native Mdi support again, might have to go managed)
  15263. * Control.cs: Now fires the StyleChanged event
  15264. * MdiClient.cs: Added; still mostly empty
  15265. 2005-03-10 Peter Bartok <[email protected]>
  15266. * SaveFileDialog.cs: Added emtpy file
  15267. 2005-03-08 Peter Bartok <[email protected]>
  15268. * Control.cs: Fixed bug #73190; now invokes CreateControl (which
  15269. in turn triggers OnCreateContro) when creating a handle for the
  15270. first time.
  15271. * TextControl.cs: Fixed endless loop in certain cases when
  15272. replacing the current selection
  15273. 2005-03-08 Jordi Mas i Hernandez <[email protected]>
  15274. * ScrollBar.cs:
  15275. - Honors NewValue changes in Scroll events allowing apps to change it
  15276. - Adds First and Last Scroll events
  15277. - Fixes Thumb events
  15278. 2005-03-07 Peter Bartok <[email protected]>
  15279. * Hwnd.cs: Added DefaultClientRectangle property
  15280. * XplatUI.cs: Now using the X11 driver Where() method, which provides
  15281. more detailed debug information
  15282. * XplatUIX11.cs:
  15283. - Fixed size-change feedback loop, where we would pull an old size
  15284. off the queue and mistakenly change our window's size to an
  15285. earlier value
  15286. - Now compressing ConfigureNotify events, to reduce looping and
  15287. redraw issues
  15288. * TextBoxBase.cs: Preventing crash when no text is set and ToString()
  15289. is called
  15290. 2005-03-07 Jackson Harper <[email protected]>
  15291. * Binding.cs: Push data pushes from data -> property. Check if the
  15292. property is readonly when attempting to set it.
  15293. 2005-03-07 Jackson Harper <[email protected]>
  15294. * Binding.cs: Format and parse data correctly. Use ASsignableFrom
  15295. instead of IsSubclassOf. Pulling data now sets the value on the
  15296. control.
  15297. * PropertyManager.cs:
  15298. * CurrencyManager.cs: Just need to pull data when updating now,
  15299. because PullData will set the value on the control.
  15300. 2005-03-04 Jackson Harper <[email protected]>
  15301. * Binding.cs: Implement data type parsing and converting on pulled
  15302. data. TODO: Are there more ways the data can be converted?
  15303. 2005-03-04 Jackson Harper <[email protected]>
  15304. * Binding.cs: Support <Property>IsNull checks. Also bind to the
  15305. controls Validating method so we can repull the data when the
  15306. control loses focus.
  15307. 2005-03-03 Jordi Mas i Hernandez <[email protected]>
  15308. * ColumnHeader.cs:
  15309. - Fixes null string format
  15310. * ListView.cs:
  15311. - Adds enum type checks
  15312. - Fixes redrawing and recalc need after changing some properties
  15313. - Fixes on focus_item set after the event
  15314. - Fixes adding columns after the control has been created
  15315. * ThemeWin32Classic.cs:
  15316. - Fixes CheckBox focus rectangle
  15317. - Fixes ColumnHeader drawing
  15318. 2005-03-03 Jackson Harper <[email protected]>
  15319. * Binding.cs: Bind to <Property>Changed events so we can detect
  15320. when properties are changed and update the data.
  15321. 2005-03-02 Jordi Mas i Hernandez <[email protected]>
  15322. * ImageList.cs:
  15323. - Changes 32-bit pixel format to Format32bppArgb to allow transparency
  15324. - Fixes ImageList constructor with ImageList container
  15325. - Fixes image scaling (wrong parameters at DrawImage)
  15326. 2005-02-02 Jackson Harper <[email protected]>
  15327. * Binding.cs: Make property searches case-insensitive. Eliminate
  15328. some duplicated code.
  15329. 2005-03-01 Jordi Mas i Hernandez <[email protected]>
  15330. * ComboBox.cs:
  15331. - Handle focus event
  15332. - Fix scrollbar events
  15333. - Discard highlighted item if remove it
  15334. - Fixes SelectedItem with strings
  15335. 2005-03-01 Peter Bartok <[email protected]>
  15336. * Control.cs:
  15337. - Fixed Visible property, now follows (once again) parent chain
  15338. to return false if any control in the chain is visible=false
  15339. - Fixed OnParentVisibleChanged, now just calls OnVisibleChanged event
  15340. - Fixed several places where is_visible instead of Visible was used
  15341. - Implemented FIXME related to focus selection when setting focused
  15342. control to be invisible
  15343. * XplatUIWin32.cs: Now using proper method to find out if window is
  15344. visible. Thanks to Jordi for pointing it out
  15345. 2005-02-28 Jordi Mas i Hernandez <[email protected]>
  15346. * ComboBox.cs: show/hide scrollbar instead of creating it
  15347. 2005-02-27 Jackson Harper <[email protected]>
  15348. * CurrencyManager.cs: Add PositionChanged stuff.
  15349. 2005-02-27 Peter Bartok <[email protected]>
  15350. * XplatUI.cs, XplatUIDriver.cs: Added new GetMenuOrigin() method
  15351. * XplatUIOSX.cs: Added GetMenuOrigin() stub
  15352. * XplatUIWin32.cs: Implemented GetMenuOrigin()
  15353. * XplatUIX11.cs:
  15354. - Implemented GetMenuDC()
  15355. - Implemented GetMenuOrigin()
  15356. - Implemented ReleaseMenuDC()
  15357. - Implemented generation of WM_NCPAINT message
  15358. - Implemented generation and handling of WM_NCCALCSIZE message
  15359. * Form.cs: Added debug helper message for Jordi's menu work
  15360. * Hwnd.cs:
  15361. - Modified ClientRect property; added setter, fixed getter to handle
  15362. setting of ClientRect
  15363. - Added MenuOrigin property
  15364. 2005-02-26 Peter Bartok <[email protected]>
  15365. * XplatUIX11.cs:
  15366. - Destroys the caret if a window that's being destroyed contains it
  15367. - Ignores expose events coming from the X11 queue for windows that
  15368. already are destroyed
  15369. - Now uses the proper variable for handling DestroyNotify, before we
  15370. marked the wrong window as destroyed
  15371. - Improved/added some debug output
  15372. 2005-02-26 Peter Bartok <[email protected]>
  15373. * X11Keyboard.cs: Fixes to work on 64bit systems
  15374. 2005-02-26 Peter Bartok <[email protected]>
  15375. * Control.cs:
  15376. - Now calling OnHandleDestroyed from DestroyHandle()
  15377. instead of Dispose()
  15378. - Removed bogus call to controls.Remove() from DestroyHandle()
  15379. 2005-02-26 Peter Bartok <[email protected]>
  15380. * Control.cs: Properly destroy child windows when our handle is
  15381. destroyed
  15382. 2005-02-25 Peter Bartok <[email protected]>
  15383. * XplatUI.cs:
  15384. - Added 'DriverDebug' define to allow tracing XplatUI API calls
  15385. - Alphabetized Static Methods and Subclasses
  15386. * XplatUIX11.cs:
  15387. - Added XException class to allow custom handling of X11 exceptions
  15388. - Created custom X11 error handler, tied into XException class
  15389. - Added support for MONO_XEXCEPTIONS env var to allow the user
  15390. to either throw an exception on X errors or continue running
  15391. after displaying the error
  15392. - Added handling of DestroyNotify message
  15393. - Added handler for CreateNotify message (still disabled)
  15394. - Improved (tried to at least) Where method to provide file and lineno
  15395. * X11Structs.cs:
  15396. - Added XErrorHandler delegate
  15397. - Added XRequest enumeration (to suppor translation of errors)
  15398. 2005-02-25 Jackson Harper <[email protected]>
  15399. * PropertyManager.cs: Implement editing features
  15400. * CurrencyManager.cs:
  15401. * Binding.cs: First attempt at UpdateIsBinding
  15402. * BindingManagerBase.cs: Call UpdateIsBinding before
  15403. pushing/pulling data.
  15404. 2005-02-25 Jordi Mas i Hernandez <[email protected]>
  15405. * MenuAPI.cs: Respect disabled items
  15406. * ThemeWin32Classic.cs
  15407. - Caches ImageAttributes creation for DrawImageDisabled
  15408. - Fixes vertical menu line drawing
  15409. - Draws disabled arrows in disable menu items
  15410. 2005-02-24 Peter Bartok <[email protected]>
  15411. * Hwnd.cs:
  15412. - Added UserData property to allow associating arbitrary objects
  15413. with the handle
  15414. - Fixed leak; now removing Hwnd references from static windows array
  15415. * XplatUIWin32.cs:
  15416. - Fixed Graphics leak in PaintEventEnd
  15417. - Removed usage of HandleData, switched over to Hwnd class
  15418. * HandleData.cs: Removed, obsoleted by Hwnd.cs
  15419. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  15420. * ThemeWin32Classic.cs: Adds Cliping to TrackBar drawing
  15421. * ScrollBar.cs: Fixes bug
  15422. * TrackBar.cs: removes death code, clipping, mimize refreshes,
  15423. keyboard navigation enhancements
  15424. 2005-02-24 Jordi Mas i Hernandez <[email protected]>
  15425. * Control.cs: Call DefWndProc at WM_PAINT only if UserPaint not defined
  15426. * GroupBox.cs: Add control styles
  15427. * Label.cs: Add control styles
  15428. * UpDownBase.cs: Add control styles
  15429. * ListBox.cs: Add control styles
  15430. * XplatUIWin32.cs: Fixes wrong parameter order
  15431. 2005-02-23 Chris Bacon <[email protected]>
  15432. * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
  15433. 2005-02-23 Jackson Harper <[email protected]>
  15434. * PropertyManager.cs: Implement property binding. This doesn't
  15435. seem to work yet though as (I think) there are some bugs in
  15436. System.ComponentModel.PropertyDescriptor.
  15437. * BindingContext.cs: Use new PropertyManager constructor.
  15438. 2005-02-23 Jordi Mas i Hernandez <[email protected]>
  15439. * ProgressBar.cs: use clip region in ProgressBar
  15440. * ThemeWin32Classic.cs: use clip region in ProgressBar
  15441. 2004-02-22 Jackson Harper <[email protected]>
  15442. * BindingsCollection.cs: Remove some debug code.
  15443. 2005-02-22 Jackson Harper <[email protected]>
  15444. * BindingContext.cs:
  15445. * ControlBindingsCollection.cs:
  15446. * CurrencyManager.cs:
  15447. * Binding.cs:
  15448. * BindingManagerBase.cs: Initial implementation
  15449. * BindingsCollection.cs: Add an internal contains method that the
  15450. BindingManagerBase uses to ensure bindings aren't added twice to
  15451. the collection.
  15452. * PropertyManager.cs: Stubbed out.
  15453. * Control.cs:
  15454. * ContainerControl.cs: Hook up databinding
  15455. 2005-02-22 Geoff Norton <[email protected]>
  15456. * XplatUIOSX.cs:
  15457. OSXStructs.cs: Refactored to handle the new Hwnd NC logic area.
  15458. Fixed Invalidate/Update chain.
  15459. Fixed tons of other minor bugs (this is almost a complete rewrite).
  15460. 2005-02-22 Jordi Mas i Hernandez <[email protected]>
  15461. * ComboBox.cs: do subcontrol creation when the control is created
  15462. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  15463. * Label.cs: fixes image drawing (image and imagelist)
  15464. * ThemeWin32Classic.cs: cache brushes
  15465. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  15466. * Form.cs: Move menu drawing code to Theme class
  15467. * ComboBox.cs: Move ComboBox drawing code to Theme class
  15468. * MenuItem.cs: Move menu drawing code to Theme class
  15469. * MenuAPI.cs: Move menu drawing code to Theme class
  15470. * ThemeWin32Classic.cs: New methods
  15471. * CheckedListBox.cs: Move CheckedListbox drawing code to Theme class
  15472. * ListBox.cs: Move Listbox drawing code to Theme class
  15473. * Theme.cs: New methods
  15474. 2005-02-20 Peter Bartok <[email protected]>
  15475. * Control.cs:
  15476. - Fixed ProcessKeyEventArgs to also handle WM_SYSKEY messages (and
  15477. only process mnemonics on those)
  15478. - Fixed event sequence for key handling; first calling
  15479. ProcessKeyEventArgs now
  15480. * TextBoxBase.cs:
  15481. - Removed WM_KEYDOWN hook, instead we now use ProcessDialogKey()
  15482. for processing non-character keys
  15483. - Fixed WM_CHAR to generate proper event sequence before processing
  15484. * XplatUIWin32.cs: Added ALT key state to ModifierKeys property
  15485. generation
  15486. 2005-02-19 Peter Bartok <[email protected]>
  15487. * UserControl.cs: Added TextChanged event; added attributes
  15488. * SizeGrip.cs: Implemented resizing and optional display of grip
  15489. * Form.cs: Fixed attribute
  15490. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  15491. Changed meaning of ScrollWindow bool argument; instead of the
  15492. clear attribute (which will be true usually anyway), it gives the
  15493. option of moving child controls as well.
  15494. * XplatUIX11.cs:
  15495. - Changed to match new ScrollWindow argument
  15496. - Fixed GetWindowPos/SetWindowPos behaviour for toplevel controls,
  15497. now handles the implicit parent window a WM puts around us
  15498. * ScrollableControl.cs: Implemented (not the prettiest, but it seems
  15499. to work)
  15500. * TextBoxBase.cs: Adjusted to new ScrollWindow arguments
  15501. * TreeView.cs: Adjusted to new ScrollWindow arguments
  15502. 2005-02-19 Jordi Mas i Hernandez <[email protected]>
  15503. * Form.cs: Menu integration with non-client area
  15504. * MenuItem.cs: Menu integration with non-client area
  15505. * MenuAPI.cs: Menu integration with non-client area
  15506. 2005-02-18 Peter Bartok <[email protected]>
  15507. * MethodInvoker.cs: Added
  15508. * MdiLayout.cs: Added
  15509. * SendKeys.cs: Started implementation
  15510. * ErrorIconAlignment.cs: Added
  15511. 2005-02-18 Peter Bartok <[email protected]>
  15512. * XplatUIWin32.cs: Implemented SetMenu(); fixed GetMenuDC()
  15513. * Form.cs: Added handling for Menu-related Non-client messages
  15514. 2005-02-17 Peter Bartok <[email protected]>
  15515. * UpDownBase.cs: Fixed typo, compilation errors
  15516. * DomainUpDown.cs: Fixed attribute value
  15517. 2005-02-16 Miguel de Icaza <[email protected]>
  15518. * UpDownBase.cs: Attach entry events.
  15519. Propagate events.
  15520. Add ForeColor property, Focused, InterceptArrowKeys (interception
  15521. does not work yet).
  15522. 2005-02-17 Jordi Mas i Hernandez <[email protected]>
  15523. * Form.cs:
  15524. - Redraw non client are on Setmenu
  15525. - Calc proper menu starting point
  15526. 2005-02-17 Peter Bartok <[email protected]>
  15527. * Application.cs: Fixed message_filter check
  15528. 2005-02-17 Peter Bartok <[email protected]>
  15529. * Application.cs: Now calls registered message filters
  15530. * DockStyle.cs: Fixed attribute
  15531. * Form.cs: Fixed attribute
  15532. * Menu.cs: Fixed attribute
  15533. * ToolTip.cs: Fixed attribute
  15534. * TreeNode.cs: Added missing attributes and arranged in regions
  15535. * PropertyGrid.cs: Fixed signatures
  15536. * TreeNodeCollection.cs: Added attributes
  15537. * Splitter.cs: Added missing attributes; arranged into regions
  15538. * TabPage.cs: Added missing attributes; arranged into regions
  15539. * TextBoxBase.cs: Added missing attributes
  15540. * TextBox.cs: Added missing attributes
  15541. * ArrangeDirection.cs: Added missing attributes
  15542. * TreeNodeConverter.cs: Added stub (needed for TreeNode)
  15543. * ToolBarButton.cs: Fixed attributes
  15544. * AnchorStyles.cs: Fixed attribute
  15545. * TrackBar.cs: Fixed attributes
  15546. * TabControl.cs: Added missing attributes and arranged into regions
  15547. * ToolBar.cs: Fixed attribute
  15548. * StatusBar.cs: Fixed signature, organized into regions and added
  15549. attributes
  15550. * StatusBarPanel.cs: Fixed attributes
  15551. * ContentsResizedEventArgs.cs: Implemented
  15552. * ContentsResizedEventHandler.cs: Implemented
  15553. * DateBoldEventArgs.cs: Implemented
  15554. * DateBoldEventHandler.cs: Implemented
  15555. * UpDownEventArgs.cs: Implemented
  15556. * UpDownEventHandler.cs: Implemented
  15557. 2005-02-16 Jordi Mas i Hernandez <[email protected]>
  15558. * Form.cs: first Menu NC refactoring
  15559. * MenuAPI.cs: first Menu NC refactoring
  15560. 2005-02-16 Peter Bartok <[email protected]>
  15561. * ImeMode.cs: Added missing attributes
  15562. * Menu.cs: Fixed attribute
  15563. * GroupBox.cs: Fixed attribute
  15564. * Label.cs: Fixed attribute
  15565. * ColorDialog.cs (RunDialog): Removed TODO attribute
  15566. * ComboBox.cs: Fixed attributes
  15567. * ListControl.cs: Added missing attributes
  15568. * PropertyGrid.cs: Fixed attributes
  15569. * Control.cs: Fixed attributes
  15570. * ListViewItem.cs: Added TypeConverter attribute
  15571. * NotifyIcon.cs: Fixed attributes
  15572. * ListView.cs: Fixed attributes
  15573. * ButtonBase.cs: Fixed attribute
  15574. * ImageList.cs: Added missing attributes
  15575. * ContainerControl.cs: Fixed signature
  15576. * CheckedListBox.cs: Fixed attribute; added missing attributes
  15577. * Panel.cs: Fixed attributes
  15578. * PropertyTabChangedEventArgs.cs: Added missing attribute
  15579. * PropertyValueChangedEventArgs.cs: Added missing attribute
  15580. * Binding.cs: Fixed attribute
  15581. * ListViewItemConverter: Implemented ListViewSubItemConverter class
  15582. * ListBox.cs: Fixed attribute; added missing attributes;
  15583. * ScrollableControl.cs: Added missing attributes
  15584. * PictureBox.cs: Added missing attributes; implemented missing property
  15585. * DateTimePicker.cs: Added missing attributes
  15586. * Theme.cs (ToolWindowCaptionHeight): Fixed type
  15587. * MonthCalendar.cs: Fixed attributes
  15588. * StatusBarPanel.cs: Added missing attributes
  15589. * SystemInformation.cs (ToolWindowCaptionHeight): Fixed type
  15590. 2005-02-16 Peter Bartok <[email protected]>
  15591. * TextBoxBase.cs: The previous method to enforce height yet remember
  15592. the requested high was less than ideal, this is an attempt to do
  15593. it better.
  15594. * Control.cs: Added comment about possible problem
  15595. * Copyright: Updated format
  15596. * GridItemType.cs: Fixed swapped values
  15597. 2005-02-15 Jackson Harper <[email protected]>
  15598. * BaseCollection.cs: Use property so we never access an
  15599. uninitialized list. Also initialize the list in the property.
  15600. 2005-02-15 Peter Bartok <[email protected]>
  15601. * GroupBox.cs (ProcessMnemonic): Implemented
  15602. * Label.cs (ProcessMnemonic): Implemented
  15603. * ThemeWin32Classic.cs (DrawGroupBox): Added stringformat to show
  15604. hotkeys
  15605. 2005-02-15 Peter Bartok <[email protected]>
  15606. * RadioButton.cs (ProcessMnemonic): Implemented
  15607. * CheckBox.cs (ProcessMnemonic): Implemented
  15608. * Control.cs:
  15609. - Added handling of WM_SYSxxx keyboard messages to support mnemonic
  15610. handling
  15611. - Added internal method to allow calling ProcessMnemonic from other
  15612. controls
  15613. * ContainerControl.cs:
  15614. - Started support for handling validation chain handling
  15615. - Implemented ProcessMnemonic support
  15616. - Added Select() call to Active, to make sure the active control
  15617. receives focus
  15618. * Form.cs: Setting toplevel flag for Forms (this was lost in the
  15619. FormParent rewrite)
  15620. * ThemeWin32Classic.cs:
  15621. - DrawCheckBox(): Fixed stringformat to show hotkeys
  15622. - DrawRadioButton(): Fixed stringformat to show hotkeys
  15623. * CommonDialog.cs: Removed WndProc override, not needed
  15624. 2005-02-14 Peter Bartok <[email protected]>
  15625. * XplatUIX11.cs: Fixed NotImplemented exceptions for properties,
  15626. missed those in the rewrite
  15627. 2005-02-14 Miguel de Icaza <[email protected]>
  15628. * NumericUpDown.cs (Increment, ToString): Add.
  15629. (DecimalPlaces): implement.
  15630. Add attributes.
  15631. * UpDownBase.cs: Add the designer attributes.
  15632. 2005-02-13 Peter Bartok <[email protected]>
  15633. * Panel.cs: Removed border_style, now in Control
  15634. * XplatUIDriver.cs: Added SetBorderStyle, SetMenu, GetMenuDC and
  15635. ReleaseMenuDC Methods; renmaed ReleaseWindow to UngrabWindow
  15636. 2005-02-13 Peter Bartok <[email protected]>
  15637. * MouseButtons.cs: Added missing attributes
  15638. * XplatUIStructs.cs: Added enumeration for title styles
  15639. * LeftRightAlignment.cs: Added missing attributes
  15640. * Hwnd.cs: Switched to use client_window as handle (slower, but makes
  15641. it compatible with Graphics.FromHwnd()
  15642. * SelectedGridItemChangedEventArgs.cs: Fixed property type
  15643. * Keys.cs: Added missing attributes
  15644. * SelectionRange.cs: Added missing attributes
  15645. * SelectionRangeConverter.cs: Added
  15646. * XplatUI.cs:
  15647. - Introduced SetBorderStyle, SetMenu, GetMenuDC and
  15648. ReleaseMenuDC methods
  15649. - Renamed ReleaseWindow to UngrabWindow
  15650. - Added proper startup notice to allow version identification
  15651. * Form.cs:
  15652. - Added missing attributes
  15653. - Removed FormParent concept
  15654. * Label.cs: Removed border_style field, now in Control
  15655. * RadioButton.cs: Now properly selects RadioButton when focus is
  15656. received
  15657. * ThemeGtk.cs: Fixed SetDisplay call to match new X11 behaviour
  15658. * Control.cs:
  15659. - Added missing attributes
  15660. - Added borderstyle handling
  15661. - Removed FormParent concept support
  15662. - Fixed calls to XplatUI to match changed APIs
  15663. - Fixed bug that would case us to use disposed Graphics objects
  15664. - Removed unneeded internal methods
  15665. - PerformLayout(): Fixed to handle DockStyle.Fill properly
  15666. - SelectNextControl(): Fixed to properly check common parents
  15667. * TextBoxBase.cs: Removed border_style field (now in Control)
  15668. * MessageBox.cs:
  15669. - Patch by Robert Thompson ([email protected]): Added icon support,
  15670. fixed calculations for form size
  15671. - Added support for localized strings and icons
  15672. - Improved form size calculations, added border
  15673. * ListView.cs: Removed border_style field (now in Control)
  15674. * X11Structs.cs: Moved several structs from X11 driver here
  15675. * X11Keyboard.cs: Changed debug message
  15676. * Application.cs: Removed FormParent concept support
  15677. * CommonDialog.cs:
  15678. - Resetting end_modal flag
  15679. - Removed FormParent concept support
  15680. * NativeWindow.cs: Removed FormParent concept support
  15681. * XplatUIX11.cs: Rewritten, now using the new Hwnd class, implementing
  15682. Client area and Non-Client whole window to allow support for WM_NC
  15683. messages
  15684. * XplatUIOSX.cs: Updated to match latest driver spec; added exception
  15685. prevent using it until it supports Hwnd as per Geoff Norton's request
  15686. * ToolBar.cs: Fixed drawing, was not doing proper drawing
  15687. * PictureBox.cs: Removed border_style field, now in Control
  15688. * XplatUIWin32.cs: Added new driver methods
  15689. 2005-02-12 Peter Bartok <[email protected]>
  15690. * OpacityConverter.cs: Implemented
  15691. * Hwnd.cs: Internal class to support drivers that need to emulate
  15692. client area/non-client area window behaviour
  15693. 2005-02-11 Peter Bartok <[email protected]>
  15694. * KeysConverter.cs: Implemented
  15695. 2005-02-11 Jordi Mas i Hernandez <[email protected]>
  15696. * Menu.cs: fixes methods GetContextMenu, GetMainMenu, ToString
  15697. * LinkLabel: Added missing attributes
  15698. * MainMenu.cs: fixes ToString
  15699. * MenuItem.cs: fixes methods GetContextMenu, GetMainMenu
  15700. * ListBox.cs: fixes event position
  15701. * TrackBar.cs: adds missing attributes and events
  15702. 2005-02-10 Jordi Mas i Hernandez <[email protected]>
  15703. * MenuItem.cs: Use SystemInformation and bug fixes
  15704. * MenuAPI.cs: Use SystemInformation and bug fixes
  15705. 2005-02-09 Jackson Harper <[email protected]>
  15706. * X11Keyboard.cs: We ignore some keys, but still need to set/reset
  15707. their keystate otherwise things like VK_MENU get stuck "on".
  15708. 2005-02-09 Kazuki Oikawa <[email protected]>
  15709. * ListBox.cs: Fixes AddRange bug
  15710. 2005-02-09 Jordi Mas i Hernandez <[email protected]>
  15711. * ProgressBar.cs
  15712. - Add missing attributes
  15713. - Add missing method
  15714. * CheckedListBox.cs: Added missing attributes
  15715. - Add missing attributes
  15716. - Remove extra method
  15717. * ComboBox.cs: Added missing attributes
  15718. * VScrollBar.cs: Added missing attributes
  15719. * ScrollBar.cs: Added missing attributes
  15720. * ListBox.cs: Fixes signature, add missing consts
  15721. * LinkArea.cs: Added missing attributes
  15722. 2005-02-08 Peter Bartok <[email protected]>
  15723. * Menu.cs: Added missing attributes
  15724. * MainMenu.cs: Added missing attributes
  15725. * GroupBox.cs: Added missing attributes
  15726. * Label.cs: Added missing attributes
  15727. * CheckBox.cs: Implemented CheckBoxAccessibleObject class
  15728. * ColorDialog.cs:
  15729. - Added Instance and Options properties
  15730. - Added missing attributes
  15731. * Cursor.cs: Made Serializable
  15732. * NotifyIcon: Added missing attributes
  15733. * MenuItem.cs: Added missing attributes
  15734. * TextBoxBase.cs: Implemented AppendText() and Select() methods
  15735. * Panel.cs: Added Missing attributes
  15736. * MonthCalendar.cs: Fixed CreateParams
  15737. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  15738. * LinkLabel.cs:
  15739. - Fixes signature
  15740. - Fixes issues with links
  15741. - Adds the class attributes
  15742. 2005-02-08 Jordi Mas i Hernandez <[email protected]>
  15743. * ComboBox.cs:
  15744. - Fixes button when no items available in dropdown
  15745. - Fixes repainting problems
  15746. - Adds the class attributes
  15747. 2005-02-07 Geoff Norton <[email protected]>
  15748. * XplatUIOSX.cs: Detect the menu bar and title bar height from
  15749. the current theme. Cache these on startup.
  15750. 2005-02-07 Jackson Harper <[email protected]>
  15751. * ScrollBar.cs: Give the correct clipping rect to the theme. Dirty
  15752. the scrollbar buttons when they are depressed.
  15753. 2005-02-07 Geoff Norton <[email protected]>
  15754. * XplatUIOSX.cs: Really fix working at resolutions not 1024x768.
  15755. Get the display size from the main displayid. We currently dont
  15756. support multiple display configurations.
  15757. 2005-02-07 Geoff Norton <[email protected]>
  15758. * XplatUIOSX.cs: Ensure the window doesn't get stuck behind the statusbar.
  15759. 2005-02-07 Miguel de Icaza <[email protected]>
  15760. * UpDownBase.cs: Add ReadOnly and UpDownAlign properties.
  15761. 2005-02-05 Jonathan Chambers <[email protected]>
  15762. * PropertyGrid.cs: Updated. Patch by Jonathan Chambers
  15763. 2005-02-04 Jackson Harper <[email protected]>
  15764. * ThemeWin32Classic.cs: Respect the clipping rect when
  15765. drawing. Only fill the intersection of clips and rects so there
  15766. isn't a lot of large fills.
  15767. * ScrollBar.cs: Pass the correct clipping rect to the theme
  15768. engine. Remove some debug code.
  15769. 2005-02-05 John BouAntoun <[email protected]>
  15770. * DateTimePicker.cs:
  15771. - Fixed crash on DateTime.Parse, use Constructor instead
  15772. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  15773. * MenuItem.cs:
  15774. * MenuAPI.cs:
  15775. - Owner draw support (MeasureItem and DrawItem)
  15776. 2005-02-04 Jordi Mas i Hernandez <[email protected]>
  15777. * Menu.cs:
  15778. - Implements FindMergePosition and MergeMenu functions (very poor documented)
  15779. - Fixes MenuItems.Add range
  15780. * MenuItem.cs:
  15781. - MergeMenu and Clone and CloneMenu functions
  15782. 2005-02-03 Jackson Harper <[email protected]>
  15783. * ScrollBar.cs: Make abstract
  15784. * ScrollableControl.cs: Create H/V scrollbars now that scrollbar
  15785. is abstract.
  15786. 2005-02-03 Jackson Harper <[email protected]>
  15787. * ScrollBar.cs: First part of my scrollbar fixups. This removes
  15788. all the unneeded refreshes and uses invalidates with properly
  15789. computed rects.
  15790. 2005-02-03 Peter Bartok <[email protected]>
  15791. * ComponentModel.cs: Added
  15792. * IDataGridEditingService.cs: Added
  15793. * Timer.cs: Added missing attributes
  15794. * ToolTip.cs: Added missing attributes
  15795. 2005-02-03 Jonathan Chambers <[email protected]>
  15796. * PropertyGridView.cs: Added. Patch by Jonathan Chambers
  15797. 2005-02-03 Peter Bartok <[email protected]>
  15798. * ListBox.cs: Added missing attributes
  15799. 2005-02-03 Jordi Mas i Hernandez <[email protected]>
  15800. * ListBox.cs:
  15801. - Fixes font height after font change
  15802. - Avoid generating unnecesary OnSelectedIndexChanged on clearing
  15803. 2005-02-02 Peter Bartok <[email protected]>
  15804. * HandleData.cs: Introduced static methods to allow class
  15805. to be more self-contained and track it's own HandleData objects
  15806. * XplatUIOSX.cs, XplatUIWin32.cs, XplatUIX11.cs: Fixed usage of
  15807. HandleData to use new static methods
  15808. 2005-02-02 Jordi Mas i Hernandez <[email protected]>
  15809. * Combobox.cs:
  15810. - Fixes default size and PreferredHeight
  15811. - Missing events
  15812. - ObjectCollection.Insert implementation
  15813. * ListControl.cs
  15814. - Fixes signature
  15815. * ListBox.cs:
  15816. - Several fixes
  15817. - ObjectCollection.Insert implementation
  15818. - No selection after clean
  15819. - Small fixes
  15820. 2005-01-31 John BouAntoun <[email protected]>
  15821. * ThemeWin32Classic.cs: quick fix to comboboxbutton pushed painting
  15822. 2005-02-01 Jordi Mas i Hernandez <[email protected]>
  15823. * Combobox.cs:
  15824. - Caches ItemHeight calculation for OwnerDrawVariable
  15825. - Handles dropdown properly
  15826. - Fixes several minor bugs
  15827. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  15828. * ListBox.cs:
  15829. - Fixes 71946 and 71950
  15830. - Fixes changing Multicolumn on the fly
  15831. - Fixes keyboard navigation on Multicolumn listboxes
  15832. 2005-01-31 Geoff Norton <[email protected]>
  15833. * XplatUIOSX.cs: Call ExitToShell in our teardown to avoid a
  15834. crash reporter log.
  15835. 2005-01-31 Geoff Norton <[email protected]>
  15836. * XplatUIOSX.cs: Allow applications to actually exit.
  15837. 2005-01-31 Geoff Norton <[email protected]>
  15838. * XplatUIOSX.cs: SetWindowStyle implemented. Reposition views in
  15839. their parent at creation time rather than lazily later. Fixes a major
  15840. regression we were experiencing.
  15841. 2005-01-31 John BouAntoun <[email protected]>
  15842. * ThemeWin32Classic.cs: more date time picker painting fixes
  15843. * DateTimePicker.cs: more monthcalendar drop down fixes
  15844. * MonthCalendar.cs: more CreateParams fixes to ensure correct drop down
  15845. 2005-01-31 Jordi Mas i Hernandez <[email protected]>
  15846. * ScrollBar.cs:
  15847. - When moving the thumb going outside the control should stop the moving
  15848. - Adds the firing of missing events
  15849. - Fixes no button show if Size is not specified
  15850. - End / Home keys for keyboard navigation
  15851. 2005-01-30 Peter Bartok <[email protected]>
  15852. * NotifyIcon.cs (CalculateIconRect): Removed debug output and added
  15853. sanity check to prevent theoretical loop
  15854. * XplatUIWin32.cs (SetVisible): Removed debug output
  15855. * XplatUIX11.cs (SystrayChange): Added sanity check
  15856. * ScrollableControl.cs (OnVisibleChanged): Now calls base method
  15857. * Control.cs (OnVisibleChanged): Added workaround for ParentForm
  15858. behaviour, valid until the X11 client window rewrite is done
  15859. * TextBox.cs (ctor): Setting proper default foreground and background
  15860. colors
  15861. 2005-01-30 John BouAntoun <[email protected]>
  15862. * Theme: Added DrawDateTimePicker to interface
  15863. * ThemeWin32Classic.cs: Added DrawDateTimePicker (incomplete)
  15864. * DateTimePicker.cs: Created (still needs keys and painting code)
  15865. * DateTimePickerFormat.cs: added
  15866. * MonthCalendar.cs: fixed CreateParams for popup window mode
  15867. 2005-01-29 Peter Bartok <[email protected]>
  15868. * ControlPaint.cs: Fixed luminace value returned on achromatic colors,
  15869. this should also the calculations for ligher/darker
  15870. * Theme.cs: Fixed defaults for ScrollBar widths/heights
  15871. 2005-01-29 Peter Bartok <[email protected]>
  15872. * ArrangeDirection.cs: Added
  15873. * ArrangeStartingPositon.cs: Added
  15874. * SystemInformation.cs: Implemented
  15875. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  15876. XplatUIX11.cs, Theme.cs: Added/implemented new static properties
  15877. used by SystemInformation class
  15878. * X11Strucs.cs: Added XSizeHints structure
  15879. * MenuAPI.cs:
  15880. - Fixed CreateParams to make sure the menu window is always visible
  15881. - TrackPopupMenu: Added check to make sure we don't draw the
  15882. menu offscreen
  15883. 2005-01-29 Peter Bartok <[email protected]>
  15884. * HandleData.cs: Added method for altering invalid area
  15885. * TextBoxBase.cs: Implemented TextLength
  15886. 2005-01-28 Peter Bartok <[email protected]>
  15887. * XplatUIX11.cs: Improvement over last patch, not sending
  15888. the WM_PAINT directly anymore, instead we scroll any pending
  15889. exposed areas and let the system pick out the WM_PAINT later
  15890. 2005-01-28 Peter Bartok <[email protected]>
  15891. * SWF.csproj: Deleted, no longer used. Instead,
  15892. Managed.Windows.Forms/SWF.csproj should be used
  15893. * XplatUIX11.cs: Instead of posting the WM_PAINT, we send it
  15894. directly, to avoid a potential race condition with the next
  15895. scroll
  15896. 2005-01-28 Peter Bartok <[email protected]>
  15897. * XplatUI.cs: Made class internal
  15898. 2005-01-28 Jordi Mas i Hernandez <[email protected]>
  15899. * CheckedListBox.cs:
  15900. - Draw focus
  15901. - Fixed Drawing
  15902. - Missing methods and events
  15903. 2005-01-27 Peter Bartok <[email protected]>
  15904. * Application.cs (Run): Don't use form if we don't have one
  15905. 2005-01-27 Peter Bartok <[email protected]>
  15906. * TextBoxBase.cs (get_Lines): Fixed index off by one error
  15907. 2005-01-27 Peter Bartok <[email protected]>
  15908. * GridEntry.cs: Added; Patch by Jonathan S. Chambers
  15909. * GridItem.cs: Added; Patch by Jonathan S. Chambers
  15910. * GridItemCollection.cs: Added; Patch by Jonathan S. Chambers
  15911. * GridItemType.cs: Added; Patch by Jonathan S. Chambers
  15912. * PropertyGrid.cs: Added; Patch by Jonathan S. Chambers
  15913. * PropertySort.cs: Added; Patch by Jonathan S. Chambers
  15914. * PropertyTabChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15915. * PropertyTabChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  15916. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15917. * PropertyValueChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15918. * SelectedGridItemChangedEventArgs.cs: Added; Patch by Jonathan S. Chambers
  15919. * SelectedGridItemChangedEventHandler.cs: Added; Patch by Jonathan S. Chambers
  15920. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  15921. * Combobox.cs:
  15922. - Draw focus on Simple Combobox
  15923. - Fixes drawing issues
  15924. - fixes 71834
  15925. 2005-01-27 Peter Bartok <[email protected]>
  15926. * Form.cs:
  15927. - Place window in default location, instead of hardcoded 0/0
  15928. - Send initial LocationChanged event
  15929. * Control.cs:
  15930. - UpdateBounds after creation to find out where the WM placed us
  15931. - Make sure that if the ParentForm changes location the Form
  15932. is notified
  15933. * XplatUIX11.cs: XGetGeometry will not return the coords relative
  15934. to the root, but to whatever the WM placed around us.
  15935. Translate to root coordinates before returning toplevel
  15936. coordinates
  15937. * XplatUIWin32.cs: Removed debug output
  15938. * XplatUIOSX.cs, XplatUI.cs, XplatUIDriver.cs: Added toplevel
  15939. flag to GetWindowPos, to allow translation of coordinates on X11
  15940. 2005-01-27 Jordi Mas i Hernandez <[email protected]>
  15941. * ListBox.cs: connect LostFocus Event
  15942. 2005-01-27 Peter Bartok <[email protected]>
  15943. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  15944. XplatUIX11.cs: Extended the Systray API
  15945. * Form.cs: Removed debug output
  15946. * Application.cs: Fixed focus assignment, always need to call
  15947. XplatUI.Activate() since Form.Activate() has rules that may
  15948. prevent activation
  15949. * NotifyIcon.cs: Should be complete now
  15950. * ToolTip.cs: Worked around possible timer bug
  15951. 2005-01-27 Jackson Harper <[email protected]>
  15952. * TabControl.cs:
  15953. - Only invalidate the effected tabs when the
  15954. selected index changes. This reduces drawing and gets rid of some
  15955. flicker.
  15956. - Only refresh if the tabs need to be shifted, otherwise only
  15957. invalidate the slider button.
  15958. - On windows the tabs are not filled to right if the slider is
  15959. visible.
  15960. 2005-01-27 Jackson Harper <[email protected]>
  15961. * TabControl.cs: Only refresh on mouseup if we are showing the
  15962. slider. Also only invalidate the button whose state has changed.
  15963. 2005-01-26 Peter Bartok <[email protected]>
  15964. * XplatUI.cs, XplatUIDriver.cs: Added Systray methods
  15965. * XplatUIWin32.cs: Implemented SystrayAdd(), SystrayChange()
  15966. and SystrayRemove() methods
  15967. * XplatUIOSX.cs: Stubbed Systray methods
  15968. * XplatUIX11.cs:
  15969. - Implemented SystrayAdd(), SystrayChange() and SystrayRemove()
  15970. methods
  15971. - Fixed broken XChangeProperty calls (marshalling messed up things)
  15972. * X11Structs.cs: Added enums and structs required for Size hinting
  15973. * NotifyIcon.cs: Added & implemented
  15974. 2005-01-26 Jackson Harper <[email protected]>
  15975. * TabControl.cs: Space vertically layed out tabs properly.
  15976. 2005-01-26 Peter Bartok <[email protected]>
  15977. * Form.cs (CreateClientParams): Always set the location to 0,0
  15978. since we're a child window.
  15979. * Control.cs (SetVisibleCore): Always explicitly setting the location
  15980. of a toplevel window, apparently X11 doesn't like to move windows
  15981. while they're not mapped.
  15982. 2005-01-26 Jackson Harper <[email protected]>
  15983. * TabControl.cs: Implement FillToRight size mode with vertically
  15984. rendered tabs.
  15985. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  15986. * ControlPaint.cs, ThemeWin32Classic.cs
  15987. - Fixes DrawFocusRectangle
  15988. 2005-01-26 Jordi Mas i Hernandez <[email protected]>
  15989. * MenuAPI.cs:
  15990. - MenuBar tracking only starts when item is first clicked
  15991. - Fixes menu hidding for multiple subitems
  15992. - Unselect item in MenuBar when item Executed
  15993. - Fixes bug 71495
  15994. 2005-01-25 Jordi Mas i Hernandez <[email protected]>
  15995. * ListControl.cs:
  15996. - IsInputKey for ListBox
  15997. * ListBox.cs:
  15998. - Focus item
  15999. - Shift and Control item selection
  16000. - Implement SelectionMode.MultiExtended
  16001. - Fixes RightToLeft
  16002. * ComboBox.cs:
  16003. - IsInputKey implemented
  16004. - Do not generate OnTextChangedEdit on internal txt changes
  16005. 2005-01-23 Peter Bartok <[email protected]>
  16006. * AccessibleObject.cs: Partially implemented Select()
  16007. * MonthCalendar.cs: Added missing attributes and events
  16008. * Form.cs: Fixed CreateParams behaviour, now controls derived from
  16009. form can properly override CreateParams.
  16010. * XplatUI.cs, XplatUIDriver.cs, XplatUIOSX.cs, XplatUIWin32.cs,
  16011. XplatUIX11.cs: Dropped RefreshWindow method, not needed if
  16012. Control performs Invalidate & Update
  16013. * NativeWindow (CreateHandle): Added special handling for Form
  16014. and Form.FormParent classes to allow overriding of From.CreateParams
  16015. * Control.cs:
  16016. - ControlNativeWindow: Renamed 'control' variable to more intuitive
  16017. name 'owner'
  16018. - ControlNativeWindow: Added Owner property
  16019. - Removed usage of Refresh() on property changes, changed into
  16020. Invalidate(), we need to wait until the queue is processed for
  16021. updates, direct calls might cause problems if not all vars for
  16022. Paint are initialized
  16023. - Added call to UpdateStyles() when creating the window, to set any
  16024. styles that CreateWindow might have ignored.
  16025. - Added support for Form CreateParent overrides to UpdateStyles()
  16026. * MessageBox.cs: Removed no longer needed FormParent override stuff,
  16027. CreateParams are now properly overridable
  16028. * CommonDialog.cs: Removed no longer needed FormParent override stuff,
  16029. CreateParams are now properly overridable
  16030. 2005-01-23 Miguel de Icaza <[email protected]>
  16031. * UpDownBase.cs (ctor): Connect TextChanged in the entry to the
  16032. OnTextBoxChanged.
  16033. Capture LostFocus and OnTextBoxChanged. The later introduces a
  16034. recursive invocation that I have not figured out yet.
  16035. Reset the timer when not using (it was accumulating).
  16036. (OnTextBoxChanged): Set UserEdit to true here to track whether the
  16037. user has made changes that require validation.
  16038. Reset changing to avoid loops.
  16039. 2005-01-22 Miguel de Icaza <[email protected]>
  16040. * NumericUpDown.cs: Display value at startup.
  16041. * UpDownBase.cs (Text): Do not call UpdateEditText here, only call
  16042. ValidateEditText.
  16043. * NumericUpDown.cs: Minimum, Maximum, Text, Value properties
  16044. filled in. Added some basic parsing of text.
  16045. Still missing the OnXXX method overrides, and figuring out the
  16046. events that must be emitted.
  16047. * UpDownBase.cs: Handle UserEdit on the Text property.
  16048. 2005-01-22 Jordi Mas i Hernandez <[email protected]>
  16049. * ComboBox.cs:
  16050. - Fixes IntegralHeight
  16051. - ToString method
  16052. 2005-01-21 Jackson Harper <[email protected]>
  16053. * TabControl.cs: Set the SelectedIndex property when SelectedTab
  16054. is set so that the page visibility is updated and the tabs are
  16055. sized correctly.
  16056. 2005-01-21 Jackson Harper <[email protected]>
  16057. * TabControl.cs: Use cliping rectangle for blitting. Give the
  16058. theme the clipping rect so we can do clipping while
  16059. drawing. Remove some debug code.
  16060. 2005-01-21 Jackson Harper <[email protected]>
  16061. * TabPage.cs: Add a new method so tab pages can force the tab
  16062. control to recalculate the tab page sizes.
  16063. * TabControl.cs: UpdateOwner needs to make the tab control recalc
  16064. sizes.
  16065. 2005-01-20 Jackson Harper <[email protected]>
  16066. * ThemeWin32Classic.cs: Clip text to the staus bar panels rects.
  16067. 2005-01-20 Jackson Harper <[email protected]>
  16068. * TreeView.cs: Set the bounds for nodes properly. They were
  16069. getting screwed up when checkboxes were not enabled, but images
  16070. were.
  16071. 2005-01-20 Jordi Mas i Hernandez <[email protected]>
  16072. * ListBox.cs:
  16073. - Owner draw support
  16074. - Fixes
  16075. 2005-01-20 Jackson Harper <[email protected]>
  16076. * XplatUIStructs.cs: More misc keys
  16077. * X11Keyboard.cs: Ignore some control keys.
  16078. 2005-01-20 Jackson Harper <[email protected]>
  16079. * X11Structs.cs: Add the modmaps to the keymask struct and tabify.
  16080. * X11Keyboard.cs: Set the AltGr mask when we get a key event.
  16081. 2005-01-19 Peter Bartok <[email protected]>
  16082. * Control.cs: Un-selecting the control when it is loosing focus
  16083. 2005-01-19 Jackson Harper <[email protected]>
  16084. * TreeView.cs: Hook up to the text controls leave event so we can
  16085. end editing when the users clicks outside the text box.
  16086. 2005-01-19 Jackson Harper <[email protected]>
  16087. * X11Keyboard.cs: Fix typo that was causing the wrong keycodes to
  16088. get set in the conversion array.
  16089. 2005-01-19 Peter Bartok <[email protected]>
  16090. * Application.cs (ModalRun): Added a call to CreateControl to ensure
  16091. focus is properly set
  16092. * Button.cs:
  16093. - Added missing attributes
  16094. - removed styles, those are already set in the base class
  16095. * ButtonBase.cs:
  16096. - Added missing attributes
  16097. - Added clip window styles
  16098. * CheckBox.cs: Added missing attributes
  16099. * CommonDialog.cs:
  16100. - FormParentWindow.CreateParams: Added required clip styles
  16101. * Form.cs (ProcessDialogKey): Fixed handling of Escape key, now
  16102. also filters modifier keys
  16103. * MessageBox.cs:
  16104. - Added assignment of Accept and Cancel button to enable Enter
  16105. and Esc keys in MessageBox dialogs
  16106. - FormParentWindow.CreateParams: Added required clip styles
  16107. * RadioButton.cs: Added missing attributes
  16108. * TextControl.cs: No longer draws selection if control does not
  16109. have focus
  16110. * TextBoxBase.cs:
  16111. - Now draws simple rectangle around test area to make it obvious
  16112. there's a control. This is a hack until we properly support borders
  16113. - A few simple fixes to support selections better, now erases selected
  16114. text when typing, and resets selection when using movement keys
  16115. 2005-01-19 Miguel de Icaza <[email protected]>
  16116. * UpDownBase.cs: Added some new properties.
  16117. * DomainUpDown.cs: Implement a lot to get my test working.
  16118. 2005-01-19 Geoff Norton <[email protected]>
  16119. * XplatUIOSX.cs: Fix a minor bug to bring the close box back
  16120. 2005-01-19 Geoff Norton <[email protected]>
  16121. * OSXStructs (WindowAttributes): Fixed csc complaints
  16122. 2005-01-19 Geoff Norton <[email protected]>
  16123. * XplayUIOSX.cs:
  16124. OSXStructs.cs: Initial refactor to move enums and consts into
  16125. OSXStructs and use them in the driver for greater readability.
  16126. 2005-01-19 Geoff Norton <[email protected]>
  16127. * XplatUIOSX.cs: Initial support for Standard Cursors.
  16128. * OSXStructs.cs: Move our structs here; added ThemeCursor enum
  16129. 2005-01-19 Jordi Mas i Hernandez <[email protected]>
  16130. * ComboBox.cs: ability to change style when the ctrl is already
  16131. created, missing methods and events, bug fixes, signature fixes
  16132. 2005-01-19 Peter Bartok <[email protected]>
  16133. * Cursors.cs (ctor): Added ctor to fix signature
  16134. 2005-01-18 Peter Bartok <[email protected]>
  16135. * Button.cs: Implemented DoubleClick event
  16136. * ButtonBase.cs:
  16137. - Fixed keyboard handling to behave like MS, where the press of
  16138. Spacebar is equivalent to a mousedown, and the key release is
  16139. equivalent to mouseup. Now a spacebar push will give the same
  16140. visual feedback like a mouse click.
  16141. - Added missing attributes
  16142. - Added ImeModeChanged event
  16143. - Added support for generating DoubleClick event for derived classes
  16144. * CheckBox.cs:
  16145. - Implemented DoubleClick event
  16146. - Added missing attributes
  16147. * CommonDialog.cs: Added missing attribute
  16148. * ContextMenu.cs: Added missing attributes
  16149. * RadioButton.cs:
  16150. - AutoChecked buttons do not allow to be unselected when clicked
  16151. (otherwise we might end up with no selected buttons in a group)
  16152. - Added missing attributes
  16153. - Implemented DoubleClickEvent
  16154. * ThreadExceptionDialog.cs: Enabled TextBox code
  16155. 2005-01-18 Peter Bartok <[email protected]>
  16156. * Form.cs: Removed debug output
  16157. * Button.cs: Added support for DoubleClick method
  16158. 2005-01-18 Peter Bartok <[email protected]>
  16159. * Form.cs:
  16160. - Added method to parent window that allows triggering size
  16161. calculations when a menu is added/removed
  16162. - set_Menu: Cleaned up mess from early days of Form and Control,
  16163. now properly triggers a recalc when a menu is added/removed
  16164. - Added case to select form itself as focused form if no child
  16165. controls exist
  16166. - Added PerformLayout call when showing dialog, to ensure properly
  16167. placed controls
  16168. * Control.cs:
  16169. - Select(): Made internal so Form can access it
  16170. - Focus(): Only call Xplat layer if required (avoids loop), and sets
  16171. status
  16172. * Application.cs (Run): Removed hack and calls PerformLayout instead
  16173. to trigger calculation when Form becomes visible
  16174. 2005-01-18 Jordi Mas i Hernandez <[email protected]>
  16175. * ComboBox.cs: fixes for ownerdraw
  16176. 2005-01-18 Peter Bartok <[email protected]>
  16177. * TextControl.cs:
  16178. - Sentinel is no longer static, each Document gets it's own, this
  16179. avoids locking or alternatively overwrite problems when more
  16180. than one text control is used simultaneously.
  16181. - Switched to use Hilight and HilightText brushes for text selection
  16182. * TextBoxBase.cs (PaintControl): Disabled AntiAliasing to improve looks
  16183. 2005-01-18 Peter Bartok <[email protected]>
  16184. * Control.cs:
  16185. - Hooked up the following events:
  16186. o ControlAdded
  16187. o ControlRemoved
  16188. o HandleDestroyed
  16189. o ImeModeChanged
  16190. o ParentChanged
  16191. o TabStopChanged
  16192. o Invalidated
  16193. o SystemColorsChanged
  16194. o ParentFontChanged
  16195. o Move
  16196. - Removed debug output
  16197. - Added a call to the current theme's ResetDefaults when a color change
  16198. is detected
  16199. * Form.cs: Now setting the proper ImeMode
  16200. * Theme.cs: Defined a method to force recreation of cached resources
  16201. and rereading of system defaults (ResetDefaults())
  16202. * ThemeWin32Classic.cs: Added ResetDefaults() stub
  16203. 2005-01-17 Peter Bartok <[email protected]>
  16204. * Control.cs: Added missing attributes
  16205. 2005-01-17 Jackson Harper <[email protected]>
  16206. * TreeNode.cs: Implement editing. Add missing properties selected
  16207. and visible.
  16208. * TreeView.cs: Implement node editing. Also some fixes to use
  16209. Invalidate (invalid area) instead of Refresh when selecting.
  16210. 2005-01-17 Peter Bartok <[email protected]>
  16211. * Control.cs:
  16212. - Implemented InvokeGotFocus() method
  16213. - Implemented InvokeLostFocus() method
  16214. - Implemented InvokePaint() method
  16215. - Implemented InvokePaintBackground() method
  16216. - Implemented InvokeClick() method
  16217. - Implemented FindForm() method
  16218. - Implemented RectangleToClient() method
  16219. - Implemented ClientToRectangle() method
  16220. - Implemented ResetBackColor() method
  16221. - Implemented ResetCursor() method
  16222. - Implemented ResetFont() method
  16223. - Implemented ResteForeColor() method
  16224. - Implemented ResetImeMode() method
  16225. - Implemented ResetLeftToRight() method
  16226. - Implemented ResetText() method
  16227. - Implemented Scale() methods
  16228. - Implemented ScaleCore() method
  16229. - Implemented Update() method
  16230. - Removed unused variables
  16231. - Stubbed AccessibilityNotifyClients and
  16232. ControlAccessibleObject.NotifyClients() methods (dunno what to do
  16233. with those yet)
  16234. - Now setting proper default for RightToLeft property
  16235. - Fixed bug in SetClientSizeCore that would cause windows to get
  16236. really big
  16237. - Now sending Click/DoubleClick events
  16238. - Now selecting controls when left mouse button is clicked on
  16239. selectable control
  16240. * AccessibleEvents.cs: Added
  16241. * XplatUI.cs, XplatUIDriver.cs: Added UpdateWindow() method
  16242. * XplatUIOSX.cs: Stubbed UpdateWindow() method
  16243. * XplatUIWin32.cs: Implemented UpdateWindow() method
  16244. * XplatUIX11.cs: Implemented UpdateWindow() method
  16245. * Form.cs: Removed stray semicolon causing CS0162 warning
  16246. * ThemeWin32Classic.cs: Fixed unused variable warnings
  16247. * ScrollableControl.cs: Now calls base method for ScaleCore
  16248. * ButtonBase.cs: Now disabling StandardClick and StandardDoubleClick
  16249. style to avoid interference with internal click handler (which is
  16250. different than standard Control click handling)
  16251. * RadioButton.cs:
  16252. - Now unchecks all sibling radio buttons when control is
  16253. selected (Fixes #68756)
  16254. - Removed internal tabstop variable, using the one inherited from
  16255. Control
  16256. 2005-01-17 Jackson Harper <[email protected]>
  16257. * NavigateEventArgs.cs: Fix base type.
  16258. * LinkLabel.cs: Sig fix
  16259. 2005-01-17 Jackson Harper <[email protected]>
  16260. * TreeView.cs: Only invalidate the effected nodes bounds when
  16261. selecting nodes.
  16262. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  16263. * XplatUIWin32.cs: fixes Win32 marshaling
  16264. * XplatUIX11.cs: fixes method signature
  16265. 2005-01-17 Peter Bartok <[email protected]>
  16266. * XplatUIX11.cs: Clean up resources when we no longer need them
  16267. 2005-01-17 Peter Bartok <[email protected]>
  16268. * XplatUI.cs, XplatUIDriver.cs: Added SetCursor(), ShowCursor(),
  16269. OverrideCursor(), DefineCursor(), DefineStdCursor(), GetCursorInfo()
  16270. and DestroyCursor() methods.
  16271. * Cursor.cs: Partially implemented, now supports standard cursors;
  16272. still contains some debug code
  16273. * Cursors.cs: Implemented class
  16274. * Control.cs:
  16275. - WndProc(): Added handling of WM_SETCURSOR message, setting the
  16276. appropriate cursor
  16277. - Implemented Cursor property
  16278. - Replaced break; with return; more straightforwar and possibly
  16279. faster
  16280. - Now properly setting the result for WM_HELP
  16281. * X11Structs.cs: Added CursorFontShape enum
  16282. * XplatUIStructs.cs:
  16283. - Added StdCursor enum (to support DefineStdCursor() method)
  16284. - Added HitTest enum (to support sending WM_SETCURSOR message)
  16285. * XplatUIX11.cs:
  16286. - Now sends the WM_SETCURSOR message
  16287. - Implemented new cursor methods
  16288. * XplatUIOSX.cs: Stubbed new cursor methods
  16289. * XplatUIWin32.cs:
  16290. - Implemented new cursor methods
  16291. - Added GetSystemMetrics function and associated enumeration
  16292. 2005-01-15 Peter Bartok <[email protected]>
  16293. * Control.cs:
  16294. - WndProc(): Now handles EnableNotifyMessage
  16295. - SelectNextControl(): Fixed bug where if no child or sibling
  16296. controls exist we looped endlessly
  16297. 2005-01-14 Jackson Harper <[email protected]>
  16298. * TreeView.cs: Recalculate the tab pages when a new one is added
  16299. so that the proper bounding rects are created.
  16300. 2005-01-14 Jackson Harper <[email protected]>
  16301. * TreeView.cs: Draw a gray box instead of a grip in the lower
  16302. right hand corner when there are both horizontal and vertical
  16303. scroll bars.
  16304. 2005-01-14 Jackson Harper <[email protected]>
  16305. * Control.cs: When erasing backgrounds use FromHwnd instead of
  16306. FromHdc when there is a NULL wparam. This occurs on the X driver.
  16307. * XplatUIX11.cs: Set the wparam to NULL.
  16308. 2005-01-13 Jackson Harper <[email protected]>
  16309. * PictureBox.cs: Implement missing methods (except ToString, need
  16310. to test that on windows) and events. When visibility is changed we
  16311. need to redraw the image because the buffers are killed. When size
  16312. is changed refresh if the sizemode needs it.
  16313. 2005-01-13 Peter Bartok <[email protected]>
  16314. * Control.cs (SelectNextControl): Was using wrong method to select
  16315. a control
  16316. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  16317. * ComboBox.cs: fixes dropstyle
  16318. 2005-01-13 Peter Bartok <[email protected]>
  16319. * Form.cs:
  16320. - Implemented Select() override
  16321. - Now handles WM_SETFOCUS/WM_KILLFOCUS messages
  16322. - Now sets keyboard focus on startup
  16323. * Control.cs (SelectNextControl): Now properly handles directed=true
  16324. * TextBoxBase.cs:
  16325. - WndProc: Now passes tab key on to base if AcceptTabChar=false
  16326. - Added (really bad) focus rectangle (mostly for testing)
  16327. * TextBox.cs: Added code to handle getting/loosing focus and invalidating
  16328. to enforce redraw on focus changes
  16329. * ContainerControl.cs:
  16330. - Fixed detection of Shift-Tab key presses
  16331. - Fixed traversal with arrow keys
  16332. * XplatUIX11.cs: Implemented simulated keyboard focus; not sure if we're
  16333. gonna keep this or if it's complete yet
  16334. 2005-01-13 Jordi Mas i Hernandez <[email protected]>
  16335. * ComboBox.cs: missing properties, fixes
  16336. 2005-01-13 Peter Bartok <[email protected]>
  16337. * Panel.cs (ctor): Setting Selectable window style to off
  16338. * Splitter.cs (ctor): Setting Selectable window style to off
  16339. * GroupBox.cs (ctor): Setting Selectable window style to off
  16340. * Label.cs (ctor): Setting Selectable window style to off
  16341. 2005-01-12 Miguel de Icaza <[email protected]>
  16342. * UpDownBase.cs (InitTimer): If the timer has been already
  16343. created, enable it.
  16344. Use a TextBox instead of a Label.
  16345. 2005-01-12 Jackson Harper <[email protected]>
  16346. * TreeView.cs: Refresh the tree after sorting the nodes. Always
  16347. draw the connecting node lines (when ShowLines is true).
  16348. * TreeNode.cs: The nodes index can now be updated. This is used
  16349. when a node collection is sorted.
  16350. * TreeNodeCollection.cs: Implement sorting. Nodes can be sorted on
  16351. insert or an existing unsorted node collection can be sorted.
  16352. 2005-01-12 Peter Bartok <[email protected]>
  16353. * ContainerControl.cs: Implemented ProcessDialogKeys()
  16354. 2005-01-12 Peter Bartok <[email protected]>
  16355. * Control.cs:
  16356. - Implemented SelectNextControl() method
  16357. - Several focus related bug fixes
  16358. - Fixed Docking calculations to match MS documentation and
  16359. behaviour
  16360. 2005-01-12 Jordi Mas i Hernandez <[email protected]>
  16361. * ContainerControl.cs, ListControl.cs, ListBox.cs: keyboard navigation and
  16362. bug fixes
  16363. 2005-01-12 Peter Bartok <[email protected]>
  16364. * Control.cs:
  16365. - Fixed broken Contains() method
  16366. - Implemented GetNextControl() method. Finally. This is the pre-
  16367. requisite for focus handling.
  16368. 2005-01-12 Peter Bartok <[email protected]>
  16369. * OSXStrucs.cs: Added
  16370. 2005-01-12 Peter Bartok <[email protected]>
  16371. * XplatUIWin32.cs:
  16372. - Removed PeekMessageFlags
  16373. - Implemented SetWindowStyle() method
  16374. * XplatUIStructs.cs: Added PeekMessageFlags
  16375. * X11Structs: Added missing border_width field to XWindowChanges struct
  16376. * XplatUIX11.cs:
  16377. - PeekMessage: Now throws exception if flags which are not yet
  16378. supported are passed
  16379. - Implemented SetWindowStyle() method
  16380. - Fixed SetZOrder to handle AfterHwnd properly
  16381. * XplatUI.cs: Added SetWindowStyle() method
  16382. * XplatUIDriver.cs: Added SetWindowStyle() abstract
  16383. * Control.cs:
  16384. - Implemented UpdateStyles() method
  16385. - Implemented UpdateZOrder() method
  16386. * XplatUIOSX.cs: Added SetWindowStyle() stub
  16387. 2005-01-12 Geoff Norton <[email protected]>
  16388. * XplatUIOSX.cs: Fix SetZOrder (this needs more testing with a 3
  16389. button mouse).
  16390. 2005-01-11 Jackson Harper <[email protected]>
  16391. * TreeView.cs: Still need to draw lines to siblings even if out of
  16392. the current node is out of the clip.
  16393. 2005-01-11 Jackson Harper <[email protected]>
  16394. * TreeView.cs: When setting the hbar/vbar/grip position use
  16395. SetBounds so that perform layout is only called once. Also suspend
  16396. and resume layout so layout is only done once for all controls.
  16397. - Removed some debug fluff
  16398. * SizeGrip.cs: Call base implmentation in overriding methods.
  16399. - When visibility is changed the drawing buffers are killed so we
  16400. need to redraw.
  16401. 2005-01-11 Jackson Harper <[email protected]>
  16402. * TreeView.cs: Calculate the open node count while drawing. This
  16403. saves us an entire tree traversal for every paint operation. Use
  16404. a member var for the open node count so less vars are passed around.
  16405. 2005-01-11 John BouAntoun <[email protected]>
  16406. * MonthCalendar.cs:
  16407. - fixed selection to use mousemove, not mouse polling on timer
  16408. * ThemeWin32Classic.cs
  16409. - removed redundant unused variable "no_more_content"
  16410. 2005-01-11 Peter Bartok <[email protected]>
  16411. * XplatUIX11.cs (DoEvents): Needs to return when no more events
  16412. are pending, so it now calls PeekMessage instead of GetMessage;
  16413. implemented a incomplete version of PeekMessage
  16414. 2005-01-11 Peter Bartok <[email protected]>
  16415. * XplatUIWin32.cs: Switched P/Invokes to unicode charset to avoid
  16416. I18n issues
  16417. * TextBoxBase.cs: Added sending of TextChanged event
  16418. 2005-01-10 Jackson Harper <[email protected]>
  16419. * TreeView.cs: Try not to draw outside the clipping rectangle on
  16420. each node element.
  16421. 2005-01-10 Jordi Mas i Hernandez <[email protected]>
  16422. * ComboBox.cs: keyboard navigation, item navigation, bug fixes
  16423. 2005-01-10 Jackson Harper <[email protected]>
  16424. * TreeView.cs:
  16425. - Implement fast scrolling. Now only the newly
  16426. exposed nodes are drawn and the old image is moved using the
  16427. XplatUI::ScrollWindow method.
  16428. - Factor in height of nodes when calculating whether or not the
  16429. node is in the clipping rect.
  16430. 2005-01-10 Jackson Harper <[email protected]>
  16431. * TreeNodeCollection.cs: Refresh the tree when a new node is added.
  16432. 2005-01-10 Peter Bartok <[email protected]>
  16433. * Application.cs: Added temporary hack to resolve all our resize
  16434. required issues on startup. This will get fixed properly at
  16435. some point in the future
  16436. 2005-01-10 Jackson Harper <[email protected]>
  16437. * SizeGrip.cs: New internal class that is used as a sizing
  16438. grip control...hence the name.
  16439. 2005-01-10 Peter Bartok <[email protected]>
  16440. * Control.cs: Implemented proper TabIndex handling, now assigning
  16441. a tabindex when a control is added to a container
  16442. * GroupBox.cs (ctor): Now sets the Container style bit, required
  16443. for Control.GetNextControl()
  16444. 2005-01-09 Jackson Harper <[email protected]>
  16445. * TextBoxBase.cs: Clear window when scrolling (fixes build).
  16446. 2005-01-09 Peter Bartok <[email protected]>
  16447. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIOSX.cs,
  16448. XplatUIX11.cs: Added ability to control ScrollWindow expose and
  16449. an overload for ScrollWindow to allow only scrolling a rectangle
  16450. 2005-01-09 Peter Bartok <[email protected]>
  16451. * Form.cs:
  16452. - Implemented SetDesktopBounds method
  16453. - Implemented SetDesktopLocation method
  16454. 2005-01-08 Jackson Harper <[email protected]>
  16455. * TreeView.cs: Only set the vbar's Maximum and LargeChange when
  16456. the node count has changed, this removes to VScroll::Refresh calls
  16457. when drawing.
  16458. 2005-01-08 Geoff Norton <[email protected]>
  16459. * XplatUIOSX.cs: Fix GetWindowState & SetWindowState
  16460. 2005-01-07 Jackson Harper <[email protected]>
  16461. * TreeNode.cs: Just update the single node when it is
  16462. checked. Don't refresh after toggling, the Expand/Collapse already
  16463. handles this.
  16464. * TreeView.cs: Respect clipping a little more when drawing. Try
  16465. not to redraw things that don't need to be redrawn. Just hide the
  16466. scrollbars when they are no longer needed instead of removing
  16467. them, so they don't have to be created again and again.
  16468. 2005-01-07 Geoff Norton <[email protected]>
  16469. * XplatUIOSX.cs (SetCaretPos): We need to translate the view
  16470. coordinates to window space to place the caret properly, FIXED.
  16471. Implement GetWindowState & SetWindowState
  16472. 2005-01-06 Peter Bartok <[email protected]>
  16473. * Form.cs:
  16474. - Implemented ClientSize property
  16475. - Implemented DesktopBounds property
  16476. - Implemented DesktopLocation property
  16477. - Implemented IsRestrictedWindow property
  16478. - Implemented Size property
  16479. - Implemented TopLevel property
  16480. - Implemented FormWindowState property
  16481. * Control.cs:
  16482. - Implemented GetTopLevel() method
  16483. - Implemented SetTopLevel() method
  16484. * X11Structs.cs (Atom):
  16485. - Added AnyPropertyType definition
  16486. - Added MapState definiton and updated XWindowAttribute struct
  16487. * XplatUI.cs: Added GetWindowState() and SetWindowState() methods
  16488. * XplatUIDriver.cs: Added GetWindowState() and SetWindowState() methods
  16489. * XplatUIOSX.cs: Stubbed GetWindowState() and SetWindowState() methods
  16490. * XplatUIWin32.cs:
  16491. - Implemented GetWindowState() and SetWindowState() methods
  16492. - Fixed Win32GetWindowLong return type
  16493. * XplatUIX11.cs:
  16494. - Introduced central function for sending NET_WM messages
  16495. - Implemented GetWindowState() and SetWindowState() methods
  16496. * TextBoxBase.cs (set_Lines):
  16497. - Now uses Foreground color for text added via Text property (Duh!)
  16498. - Added code to remember programmatically requested size (fixes
  16499. behaviour when Multiline is set after Size)
  16500. - Added AutoSize logic
  16501. 2005-01-06 Jackson Harper <[email protected]>
  16502. * TreeView.cs: Draw the image after the checkbox if checkboxes are enabled.
  16503. 2005-01-06 Jackson Harper <[email protected]>
  16504. * ListBox.cs: Don't allow the horizontal scrollbars maximum to be
  16505. set to less then 0.
  16506. 2005-01-06 Jackson Harper <[email protected]>
  16507. * ScrollableControl.cs: Lazy init the scrollbars.
  16508. 2005-01-06 Jackson Harper <[email protected]>
  16509. * Theme.cs: Speed up getting pens and solid brushes, by using
  16510. their ARGB as a hash instead of tostring and not calling Contains.
  16511. 2005-01-06 Peter Bartok <[email protected]>
  16512. * Form.cs:
  16513. - Implemented OnActivated and OnDeactivate event trigger
  16514. - Implemented Activate() method
  16515. - Fixed ShowDialog() to activate the form that was active before
  16516. the dialog was shown
  16517. * XplatUIX11.cs:
  16518. - Added global active_window var that tracks the currently active
  16519. X11 window
  16520. - Now always grabs Property changes from the root window to always
  16521. catch changes on the active window property
  16522. - Added code to PropertyNotify handler to send Active/Inactive
  16523. messages when state changes. This puts X11 and Win32 en par on
  16524. WM_ACTIVATE notifications (except for double notifications when
  16525. the user clicks away from our modal window to another one of our
  16526. windows)
  16527. 2005-01-05 Jackson Harper <[email protected]>
  16528. * ImageList.cs: Implment ctor
  16529. 2005-01-05 Geoff Norton <[email protected]>
  16530. * XplatUIOSX.cs: Implement Activate/SetTopmost
  16531. 2005-01-05 Geoff Norton <[email protected]>
  16532. * XplatUIOSX.cs: Implement SetZOrder, minor cleanup
  16533. 2005-01-05 Geoff Norton <[email protected]>
  16534. * XplatUIOSX.cs: Implement GetActive/SetFocus.
  16535. 2005-01-05 Peter Bartok <[email protected]>
  16536. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs,
  16537. XplatUIOSX.cs: Added GetActive method to return the currently
  16538. active window for the application (or null, if none is active)
  16539. * Form.cs:
  16540. - Implemented ActiveForm
  16541. - Commented out owner assignment for modal dialogs (causes problems
  16542. on Win32, since the owner will be disabled)
  16543. - Reworked some Active/Focus handling (still incomplete)
  16544. * CommonDialog.cs: Commented out owner assignment for modal dialogs
  16545. (causes problems on Win32, since the owner will be disabled)
  16546. * IWin32Window: Added ComVisible attribute
  16547. 2005-01-05 Peter Bartok <[email protected]>
  16548. * ToolTip.cs (WndProc): Enable setting focus now that we have the
  16549. required XplatUI functions.
  16550. 2005-01-05 Peter Bartok <[email protected]>
  16551. * XplatUI.cs, XplatUIOSX.cs, XplatUIWin32.cs, XplatUIDriver.cs,
  16552. XplatUIX11.cs, X11Structs.cs, Form.cs: Framework code required
  16553. to implement focus and activation handling; still incomplete and
  16554. with debug output
  16555. 2005-01-04 Peter Bartok <[email protected]>
  16556. * TextBoxBase.cs: Changed access level for Document property to
  16557. match switch to internal for TextControl
  16558. 2005-01-04 Peter Bartok <[email protected]>
  16559. * AccessibleObject: Added ComVisible attribute
  16560. 2005-01-04 Jackson Harper <[email protected]>
  16561. * X11Keyboard.cs: Remove unneeded var.
  16562. 2005-01-04 Jackson Harper <[email protected]>
  16563. * XplatUIX11.cs (DoEvents): Implement, Just cast aside all events
  16564. but PAINT.
  16565. * XplatUIX11.cs (GetMessage): Call Exit when we get an unknown
  16566. ClientMessage. This makes apps exit cleanly (more often).
  16567. 2005-01-04 Jackson Harper <[email protected]>
  16568. * TreeNode.cs: Patches by Kazuki Oikawa ([email protected]) for
  16569. handling focus, return correct colors and fonts,
  16570. * TreeView.cs: Patches by Kazuki Oikawa ([email protected]) to
  16571. handle selection, horizontal scrolling, and mouse interaction.
  16572. 2005-01-04 Peter Bartok <[email protected]>
  16573. * ICommandExecutor.cs: Added
  16574. * IDataGridColumnStyleEditingNotificationService.cs: Added
  16575. * IFeatureSupport.cs: Added
  16576. * IFileReaderService.cs: Added
  16577. * IDataObject.cs: Added ComVisible attribute
  16578. * AmbientProperties.cs: Added
  16579. * BaseCollection.cs: Added missing attributes
  16580. * ListBindingConverter.cs: Added (stubbed, required for certain attributes)
  16581. * BaseCollection.cs: Added missing attributes
  16582. * Binding.cs: Added TypeConverter attribute
  16583. * BindingContext.cs: Added DefaultEvent attribute
  16584. * BindingsCollection.cs: Added DefaultEvent attribute
  16585. * Button.cs: Added DefaultValue attribute
  16586. * DragEventArgs.cs: Added ComVisible attribute
  16587. * GiveFeedbackEventArgs.cs: Added ComVisible attribute
  16588. * KeyEventArgs.cs: Added ComVisible attribute
  16589. * KeyPressEventArgs.cs: Added ComVisible attribute
  16590. * MouseEventArgs.cs: Added ComVisible attribute
  16591. * NavigateEventArgs.cs: Added
  16592. * NavigateEventHandler.cs: Added
  16593. * FeatureSupport.cs: Added
  16594. * OSFeature.cs: Added
  16595. * Theme.cs: Added abstract Version property to support OSFeature
  16596. * ThemeWin32Classic.cs: Added Version property to
  16597. support OSFeature.Themes
  16598. * ProgressBar.cs: Removed OnPaintBackground override, not required since
  16599. the proper styles to avoid background drawing are set, also doesn't
  16600. match MS signature
  16601. * QueryAccessibilityHelpEventArgs.cs: Added ComVisible attribute
  16602. * QueryContinueDragEventArgs.cs: Added ComVisible attribute
  16603. * ScrollEventArgs.cs: Added ComVisible attribute
  16604. * SplitterEventArgs.cs: Added ComVisible attribute
  16605. * AccessibleSelection.cs: Added Flags attribute
  16606. * Appearance.cs: Added ComVisible attribute
  16607. * Border3DSide.cs: Added ComVisible attribute
  16608. * Border3DStyle.cs: Added ComVisible attribute
  16609. * BorderStyle.cs: Added ComVisible attribute
  16610. * DragAction.cs: Added ComVisible attribute
  16611. * ErrorBlinkStyle.cs: Added
  16612. * ScrollEventType.cs: Added ComVisible attribute
  16613. * AnchorStyles.cs: Added Editor attribute
  16614. * DockStyle.cs: Added Editor attribute
  16615. * HorizontalAlignment.cs: Added ComVisible attribute
  16616. * HelpEventArgs.cs: Added ComVisible attribute
  16617. * PaintEventArgs.cs: Added IDisposable
  16618. 2005-01-04 Peter Bartok <[email protected]>
  16619. * TextControl.cs: Switched Line, LineTag and Document classes to
  16620. internal
  16621. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  16622. * ComboBox.cs, ThemeWin32Classic.cs, ListBox.cs, Theme.cs:
  16623. Simple mode, fixes, IntegralHeight, etc.
  16624. 2005-01-04 Peter Bartok <[email protected]>
  16625. * TextBoxBase.cs: Using proper font variable now
  16626. 2005-01-04 Peter Bartok <[email protected]>
  16627. * Form.cs (ShowDialog): Set parent to owner, if provided
  16628. * GroupBox.cs: Removed unused vars
  16629. * TextControl.cs:
  16630. - Added GetHashCode() for Document and LineTag classes
  16631. - Removed unused variables
  16632. - Added CharIndexToLineTag() and LineTagToCharIndex() methods
  16633. to allow translation between continuous char position and line/pos
  16634. * CheckBox.cs: Removed vars that are provided by base class
  16635. * RadioButton.cs: Removed vars that are provided by base class, added
  16636. new keyword where required
  16637. * LinkLabel.cs: Added new keyword where required
  16638. * Control.cs (WndProc): Removed unused variable
  16639. * TextBoxBase.cs:
  16640. - Finished SelectionLength property
  16641. - Implemented SelectionStart property
  16642. - Implemented Text property
  16643. - Removed unused vars
  16644. * MessageBox.cs: Added new keyword where required
  16645. * TextBox.cs: Removed Text property code (now in TextBoxBase), fixed
  16646. WndProc signature
  16647. * MenuAPI.cs: Added new keyword where required
  16648. * ButtonBase.cs: Removed vars that are provided by base class, added
  16649. new keyword where required
  16650. * ThemeWin32Classic.cs (DrawMonthCalendarDate): Now cast Math.Floor
  16651. argument to double, to allow compiling with csc 2.0 (Atsushi ran
  16652. into this)
  16653. * Application.cs (Run): Now triggers the ThreadExit event
  16654. * CommonDialog.cs: Added new keyword where required; now properly sets
  16655. parent (owner) for dialog
  16656. * XplatUIX11.cs: Commented out unused vars
  16657. * StatusBar.cs: Fixed signature for Text property
  16658. * TabPage.cs: Undid Jordi's removal of unused var, now using the var
  16659. 2005-01-04 Jordi Mas i Hernandez <[email protected]>
  16660. * ComboBox.cs, TabPage.cs, MenuAPI.cs, ThemeWin32Classic.cs,
  16661. TrackBar.cs, MonthCalendar.cs: remove unused vars
  16662. 2005-01-03 Jackson Harper <[email protected]>
  16663. * ThemeWin32Classic.cs:
  16664. * X11Keyboard.cs: Remove unused vars.
  16665. 2005-01-03 Peter Bartok <[email protected]>
  16666. * TextBox.cs:
  16667. - set_Text: Tied into TextControl
  16668. - set_TextAlignment: Tied into TextControl
  16669. * TextControl.cs:
  16670. - Added alignment properties and implemented alignment handling
  16671. and drawing (still has a bug, not generating proper expose events)
  16672. - Added new Line() constructor to allow passing the line alignment
  16673. - Fixed selection setting, properly handling end<start now
  16674. - Added aligment considerations to RecalculateDocument()
  16675. * TextBoxBase.cs:
  16676. - Now properly enforces control height for single line controls
  16677. - Added support for CharacterCasing
  16678. - Added IsInputKey override
  16679. - Fixed Keys.Enter logic
  16680. - Added SetBoundsCore override
  16681. - Fixed mouse selection handling
  16682. 2005-01-03 Jackson Harper <[email protected]>
  16683. * TreeView.cs:
  16684. - Collapse and uncheck all nodes when CheckBoxes is disabled.
  16685. - Checkboxes are always aligned to the bottom of the node,
  16686. regardless of item height.
  16687. - Use the node bounds to draw the text so we can center it when
  16688. the item height is greater then the font height.
  16689. - Node::Bounds are only the text part of the node.
  16690. * TreeNode.cs: New method to combine collapsing and unchecking all
  16691. nodes recursively.
  16692. 2005-01-02 Jackson Harper <[email protected]>
  16693. * TreeView.cs: Draw checkmarks, handle detecting check mark clicks
  16694. * TreeNode.cs: Add a bounding box for the checkbox, refresh the
  16695. tree when a check is changed. TODO: Only refresh the checked node.
  16696. 2004-12-30 Jackson Harper <[email protected]>
  16697. * TreeView.cs: Draw checkbox boxes when checkboxes are enabled.
  16698. * TreeNode.cs: When collapsing make sure to never collapse the
  16699. root node.
  16700. 2004-12-29 Jackson Harper <[email protected]>
  16701. * TreeView.cs: Align lines to the bottom of plus minus boxes properly.
  16702. 2004-12-28 Zoltan Varga <[email protected]>
  16703. * X11Structs.cs X11Keyboard.cs XplatUIX11.cs: Fix 64 bit issues.
  16704. 2004-12-28 Peter Bartok <[email protected]>
  16705. * MessageBox.cs (get_CreateParams): Don't use owner var if it's
  16706. not yet assigned
  16707. 2004-12-28 Peter Bartok <[email protected]>
  16708. * Control.cs (WndProc): Added WM_HELP handler, now generates
  16709. HelpRequested event
  16710. * Form.cs: Added HelpButton property and required support code
  16711. * XplatUIStructs.cs: Added HELPINFO structure for WM_HELP handling
  16712. 2004-12-28 Peter Bartok <[email protected]>
  16713. * CommonDialog.cs:
  16714. - Made DialogForm.owner variable internal
  16715. - Added check to ensure owner form is set before setting
  16716. owner properties in CreateParams
  16717. 2004-12-28 Geoff Norton <[email protected]>
  16718. * XplatUIOSX.cs: Implement mouse hovering. Fix QDPoint struct to avoid
  16719. swizzling. Implement ClientToScreen and ScreenToClient. Implement
  16720. GetCursorPos. Fix major visibility issues. Rework the windowing
  16721. system to support borderless/titleless windows (implements menus).
  16722. Fix GetWindowPos. Implement initial background color support for
  16723. views.
  16724. 2004-12-28 Peter Bartok <[email protected]>
  16725. * Form.cs (get_CreateParams): Make sure we have an owner before using
  16726. the owner variable. Implement proper default if no owner exists
  16727. 2004-12-28 Peter Bartok <[email protected]>
  16728. * In preparation for making Managed.Windows.Forms the default build target
  16729. for System.Windows.Forms, the following stubbed files were added.
  16730. Dialogs are currently being implemented by contributors and are only
  16731. short-term place holders.
  16732. * ColorDialog.cs: Initial check-in (minmal stub)
  16733. * DataGrid.cs: Initial check-in (minimal stub)
  16734. * DataGridLineStyle.cs: Initial check-in (minimal stub)
  16735. * DataGridParentRowsLabelStyle.cs: Initial check-in (minimal stub)
  16736. * DataGridTableStyle.cs: Initial check-in (minimal stub)
  16737. * FontDialog.cs: Initial check-in (minimal stub)
  16738. * FileDialog.cs: Initial check-in (minimal stub)
  16739. * GridColumnStylesCollection.cs: Initial check-in (minimal stub)
  16740. * GridTableStylesCollection.cs: Initial check-in (minimal stub)
  16741. * OpenFileDialog: Initial check-in (minimal stub)
  16742. * IComponentEditorPageSite.cs: Initial check-in
  16743. * Splitter.cs: Initial check-in (for Jackson)
  16744. * SplitterEventArgs.cs: Initial check-in (for Jackson)
  16745. * SplitterEventHandler.cs: Initial check-in (for Jackson)
  16746. * TextBox.cs: Initial check-in; still needs some wiring to
  16747. TextControl backend
  16748. * Form.cs: Implemented ControlBox property
  16749. * MessageBox.cs: Added proper coding for Minimize/Maximize/ControlBox
  16750. * CommonDialog.cs: Added proper coding for Minimize/Maximize/ControlBox
  16751. * TextControl.cs: Added selection functionality; added todo header
  16752. * TextBoxBase.cs:
  16753. - Implemented Lines property
  16754. - Implemented TextHeight property
  16755. - Implemented SelectedText property
  16756. - Implemented SelectionLength property
  16757. - Implemented SelectAll method
  16758. - Implemented ToString method
  16759. - Removed and cleaned up some debug code
  16760. - Implemented (still buggy) mouse text selection
  16761. 2004-12-27 Jordi Mas i Hernandez <[email protected]>
  16762. * ComboBox.cs: Complete DropDownList implementation, fixes.
  16763. 2004-12-26 Jordi Mas i Hernandez <[email protected]>
  16764. * ThemeWin32Classic, Theme.cs: ComboBox drawing methods
  16765. * ComboBoxStyle.cs: ComboBoxStyle enum
  16766. * ComboBox.cs: Initial work on ComboBox control
  16767. 2004-12-21 Peter Bartok <[email protected]>
  16768. * Control.cs (ctor, CreateParams): Moved setting of is_visible
  16769. forward so that anything that creates a window gets the default,
  16770. also no longer uses Visible property in CreateParams to avoid
  16771. walking up the parent chain and possibly get the wrong visible
  16772. status. Fixed IsVisible to no longer walk up to the parent.
  16773. 2004-12-21 Peter Bartok <[email protected]>
  16774. * Form.cs (ShowDialog): Unset modality for the proper window
  16775. 2004-12-20 Peter Bartok <[email protected]>
  16776. * CommonDialog.cs: Initial check-in
  16777. 2004-12-20 Peter Bartok <[email protected]>
  16778. * Control.cs (Visible): Now uses the parent window instead of the
  16779. client area window for the property
  16780. * Form.cs
  16781. - ShowDialog(): Now uses the proper window for modality
  16782. - The default visibility state for the form parent is now false. This
  16783. will prevent the user from seeing all the changes to the form and
  16784. its controls before the application hits Application.Run()
  16785. - Removed some stale commented out code
  16786. * NativeWindow.cs:
  16787. - Added FindWindow() method to have a method to check for existence
  16788. of a window handle
  16789. - Added ability to override default exception handling (for example
  16790. when debugging with VS.Net; to do this the ExternalExceptionHandler
  16791. define must be set
  16792. - Removed some useless debug output
  16793. * XplatUIX11.cs:
  16794. - Removed r37929 (SetModal patch from Ashwin Bharambe), was
  16795. not working as expected
  16796. - Implemented modal_window stack and checking for _WM_ACTIVE_WINDOW
  16797. property to allow switching back to the modal window if focus is
  16798. given to another one of our windows (Application Modal)
  16799. - Now only sets override_redirect if we create a window
  16800. without WS_CAPTION
  16801. - Moved EventMask selection before mapping of newly created window
  16802. so we can catch the map event as well
  16803. - Implemented Activate() method via the _WM_ACTIVE_WINDOW property
  16804. - Added various Atom related DllImports
  16805. - Implemented Exit() method
  16806. - .ctor() : No longer shows window if WS_VISIBLE is not defined
  16807. in the CreateParams
  16808. * MessageBox.cs: Now properly deals with the FormParent window by
  16809. providing an override the FormParent CreateParams property to
  16810. set as POPUP instead of OVERLAPPED window.
  16811. 2004-12-19 Geoff Norton <[email protected]>
  16812. * XplatUIOSX.cs: Implement DestroyWindow. Implement ScrollWindow
  16813. Minor code cleanup.
  16814. 2004-12-19 Geoff Norton <[email protected]>
  16815. * XplatUIOSX.cs (SetModal): Implement this method on OSX.
  16816. 2004-12-18 Peter Bartok <[email protected]>
  16817. * XplatUIX11.cs (SetModal): Applied patch from Ashwin Bharambe,
  16818. implementing SetModal() method
  16819. 2004-12-18 Peter Bartok <[email protected]>
  16820. * X11Structs.cs (XGCValues): Fixed type of function element
  16821. * XplatUI.cs: Added ScrollWindow() method
  16822. * XplatUIDriver.cs: Added ScrollWindow() abstract
  16823. * XplatUIWin32.cs: Implemented ScrollWindow() method
  16824. * XplatUIX11.cs: Implemented ScrollWindow() method
  16825. * XplatUIOSX.cs: Stubbed out ScrollWindow() method
  16826. 2004-12-17 Geoff Norton <[email protected]>
  16827. * XplatUIOSX.cs: Fix cursor to use an Invert instead of drawing it
  16828. Some more keyboard support (INCOMPLETE)
  16829. 2004-12-17 Peter Bartok <[email protected]>
  16830. * TextControl.cs:
  16831. - Added color attribute to line tags.
  16832. - Added color argument to all functions dealing with tags
  16833. - Added color argument support to various functions
  16834. - Fixed miss-calculation of baseline/shift in certain circumstances
  16835. * TextBoxBase.cs: Added new color option to test code
  16836. 2004-12-17 Jackson Harper <[email protected]>
  16837. * TreeNode.cs:
  16838. * MonthCalendar.cs: Signature fixes
  16839. 2004-12-17 Geoff Norton <[email protected]>
  16840. * XplatUIOSX.cs: Find the missing caret; caret was dissappearing after a
  16841. keyboard event moved it. Create a new graphics context for each paint resolves this
  16842. 2004-12-17 Geoff Norton <[email protected]>
  16843. * XplatUIOSX.cs: Fix hard cpu eat on loop with existing timers,
  16844. Make caret exist and go blink blink. Initial keyboard support.
  16845. Fix exception handler, Add Invalidate support. Change way RefreshWindow
  16846. works.
  16847. 2004-12-17 Jackson Harper <[email protected]>
  16848. * XplatUIStructs.cs: Updated set of virtual keycodes.
  16849. * KeyboardLayouts.cs: SCROLL_LOCK is now SCROLL
  16850. 2004-12-17 Jackson Harper <[email protected]>
  16851. * XplatUIX11.cs: Prune old keyboard code.
  16852. 2004-12-17 Jackson Harper <[email protected]>
  16853. * XplatUIX11.cs: When generating mouse wparams get the modifier
  16854. keys from the ModifierKeys property.
  16855. 2004-12-17 Jackson Harper <[email protected]>
  16856. * X11Keyboard.cs: Send up/down input when generating
  16857. messages. Remove some unused vars.
  16858. 2004-12-17 Jackson Harper <[email protected]>
  16859. * TabControl.cs:
  16860. * TreeView.cs: get rid of warnings.
  16861. 2004-12-17 Jackson Harper <[email protected]>
  16862. * XplatUIStructs.cs: Fix a couple wrong virtual keycodes.
  16863. 2004-12-17 Jordi Mas i Hernandez <[email protected]>
  16864. * ListBox.cs: bug fixes, changes for CheckedListBox.cs
  16865. CheckedListBox.cs: Implementation
  16866. 2004-12-17 Peter Bartok <[email protected]>
  16867. * TextControl.cs (RecalculateLine): Fixed baseline aligning calcs
  16868. 2004-12-16 Peter Bartok <[email protected]>
  16869. * TextControl.cs:
  16870. - InsertCharAtCaret(): Fixed start pos fixup
  16871. - CaretLine_get: No longer derives the line from the tag, the tag
  16872. could be stale if lines in the document have been added or deleted
  16873. - RebalanceAfterDelete(): Fixed bug in balancing code
  16874. - RebalanceAfterAdd(): Fixed really stupid bug in balancing code
  16875. - Line.Streamline(): Now can also elminate leading empty tags
  16876. - DumpTree(): Added a few more tests and prevented exception on
  16877. uninitialized data
  16878. - Added Debug section for Combining lines
  16879. - Delete(): Now copies all remaining properties of a line
  16880. * TextBoxBase.cs:
  16881. - Left mousebutton now sets the caret (and middle button still acts
  16882. as formatting tester, which must go away soon)
  16883. - Added Debug section for Deleting/Combining lines
  16884. - Fixed calculations for UpdateView after Combining lines
  16885. 2004-12-16 Peter Bartok <[email protected]>
  16886. * TextControl.cs: Now properly aligns text on a baseline, using the
  16887. new XplatUI.GetFontMetrics() method. Simplified several calculations
  16888. * TextBoxBase.cs: Moved #endif to allow compiling if Debug is not
  16889. defined
  16890. 2004-12-16 Peter Bartok <[email protected]>
  16891. * XplatUI.cs: Added GetFontMetrics() method
  16892. * XplatUIDriver.cs: Added GetFontMetrics() abstract
  16893. * XplatUIX11.cs: Implemented GetFontMetrics() method, now calls
  16894. into libgdiplus, our private GetFontMetrics function
  16895. * XplatUIOSX.cs: Implemented GetFontMetrics() method, same as X11
  16896. * XplatUIWin32.cs: Implemented GetFontMetrics() method
  16897. 2004-12-16 Jackson Harper <[email protected]>
  16898. * XplatUIStruct.cs: Add enum for dead keys
  16899. * X11Keyboard.cs: Map and unmap dead keys.
  16900. 2004-12-16 Jackson Harper <[email protected]>
  16901. * X11Keyboard.cs: Detect and use the num lock mask.
  16902. 2004-12-16 Peter Bartok <[email protected]>
  16903. * Control.cs (CreateGraphics): Added check to make sure the
  16904. handle of the window exists before calling Graphics.FromHwnd()
  16905. 2004-12-16 Peter Bartok <[email protected]>
  16906. * TextBoxBase.cs: Initial check-in. DO NOT TRY TO USE THIS YET. It
  16907. contains a lot of code that's not supposed to be there for the
  16908. real thing, but required for developing/testing the textbox
  16909. backend.
  16910. 2004-12-16 Peter Bartok <[email protected]>
  16911. * TextControl.cs:
  16912. - Fixed Streamline method
  16913. - Added FindTag method to Line
  16914. - Added DumpTree method for debugging
  16915. - Added DecrementLines() method for deleting lines
  16916. - Fixed UpdateView to update the cursor to end-of-line on single-line
  16917. updates
  16918. - Added PositionCaret() method
  16919. - Fixed MoveCaret(LineDown) to move into the last line, too
  16920. - Added InsertChar overload
  16921. - Fixed InsertChar tag offset calculations
  16922. - Added DeleteChar() method
  16923. - Added Combine() method for folding lines
  16924. - Fixed Delete() method, no longer allocates wasted Line object and
  16925. now copies all properties when swapping nodes
  16926. - Delete() method now updates document line counter
  16927. 2004-12-15 Jackson Harper <[email protected]>
  16928. * XplatUIX11.cs: Get the modifier keys from the keyboard driver
  16929. * X11Keyboard.cs: Expose the currently selected modifier keys
  16930. through a property.
  16931. 2004-12-15 Peter Bartok <[email protected]>
  16932. * TextControl.cs: Initial check-in. Still incomplete
  16933. 2004-12-15 Jackson Harper <[email protected]>
  16934. * TreeNode.cs:
  16935. * TreeView.cs: Fix build on csc (second time today ;-))
  16936. 2004-12-15 Jackson Harper <[email protected]>
  16937. * TreeView.cs: Store the treenodes plus/minus box bounds when it
  16938. is calculated and use this for click testing.
  16939. * TreeNode.cs: Add functionality to store the nodes plus minus box bounds.
  16940. 2004-12-15 Jackson Harper <[email protected]>
  16941. * TreeView.cs: Pass the nodes image index to the image list when
  16942. drawing that image.
  16943. 2004-12-15 Jackson Harper <[email protected]>
  16944. * X11Keyboard.cs: Set messages hwnd.
  16945. * XplatUIX11.cs: Pass proper hwnd wot keyboard driver. Set hwnd on
  16946. post_message calls.
  16947. 2004-12-15 Jackson Harper <[email protected]>
  16948. * X11Keyboard.cs: Fix to compile with csc.
  16949. 2004-12-15 Jackson Harper <[email protected]>
  16950. * X11Structs.cs: Add key mask values
  16951. * XplatUIStruct.cs: Add keyboard event flags, and keyboard definitions
  16952. * X11Keyboard.cs: New file - Extrapolates and interpolates key
  16953. down/up foo into WM_CHAR foo
  16954. * KeyboardLayouts.cs: Common keyboard layouts
  16955. * XplatUIX11.cs: Add the keyboard driver. Add functionality to
  16956. post messages into the main queue.
  16957. 2004-12-13 Jordi Mas i Hernandez <[email protected]>
  16958. * Button.cs: implement ProcessMnemonic
  16959. * ThemeWin32Classic.cs: use ResPool (caching) instead of creating
  16960. brushes everytime
  16961. * Control.cs: fixes IsMnemonic (support for &&, case insensitive, etc)
  16962. * ButtonBase.cs: Show HotkeyPrefix (not the &)
  16963. 2004-12-12 John BouAntoun <[email protected]>
  16964. * MonthCalendar.cs: Implemented click-hold for next/previous month
  16965. and date selection
  16966. 2004-12-11 Peter Bartok <[email protected]>
  16967. * X11Structs.cs:
  16968. - Added XKeyboardState (moved from XplatUIX11.cs)
  16969. - Added XCreateGC related enums and structures
  16970. - Added GXFunction for XSetFunction
  16971. * XplatUIStructs.cs: Added missing WS_EX_xxx definitions
  16972. * XplatUI.cs: Added CreateCaret(), DestroyCaret(), SetCaretPos() and
  16973. CaretVisible() calls
  16974. * ToolTip.cs: Added code to prevent stealing focus from app windows
  16975. * XplatUIDriver.cs: Added abstracts for caret functions (CreateCaret,
  16976. DestroyCaret, SetCaretPos and CaretVisible)
  16977. * XplatUIX11.cs:
  16978. - Added implementation for caret functions
  16979. - Moved hover variables into a struct, to make it a bit easier
  16980. on the eyes and to debug
  16981. - Removed XKeyboardState (moved to XplatUIX11.cs)
  16982. - Moved Keyboard properties into the properties region
  16983. * Control.cs (get_Region): Control.CreateGraphics is the appropriate
  16984. call to get a graphics context for our control
  16985. * XplatUIOSX.cs: Added empty overrides for the new caret functions
  16986. * TreeView.cs: Fixed bug. No matter what color was set it would always
  16987. return SystemColors.Window
  16988. * XplatUIWin32.cs: Implemented caret overrides
  16989. 2004-12-10 Jordi Mas i Hernandez <[email protected]>
  16990. * ListBox.cs: fire events, implement missing methods and properties,
  16991. sorting.
  16992. 2004-12-10 John BouAntoun <[email protected]>
  16993. * MonthCalendar.cs: invalidation bug fixing
  16994. * ThemeWin32Classic.cs: paint fixing
  16995. 2004-12-09 Geoff Norton <[email protected]>
  16996. * XplatUIOSX.cs: Refactor to pass the real hwnd into Graphics.FromHwnd, we
  16997. prepare the CGContextRef there now.
  16998. 2004-12-09 John BouAntoun <[email protected]>
  16999. * MonthCalendar.cs:
  17000. - optimisationL only invalidate areas that have changed
  17001. * ThemeWin32Classic.cs:
  17002. - only paint parts that intersect with clip_area
  17003. 2004-12-09 Peter Bartok <[email protected]>
  17004. * Application.cs: Undid changes from r37004 which cause problems
  17005. on X11
  17006. 2004-12-09 Ravindra <[email protected]>
  17007. * ToolBar.cs: Added support for displaying ContextMenu
  17008. attached to a button on ToolBar.
  17009. * ToolBarButton.cs: Uncomment/fixed the DropDownMenu
  17010. property.
  17011. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  17012. * Label.cs: autosize works in text change and removes unnecessary
  17013. invalidate
  17014. 2004-12-09 Jordi Mas i Hernandez <[email protected]>
  17015. * ThemeWin32Classic.cs, XplatUIOSX.cs, XplatUIWin32.cs:
  17016. remove warnings
  17017. 2004-12-08 Geoff Norton <[email protected]>
  17018. * XplatUIOSX.cs: Added mouse move/click/grab support
  17019. Remove some debugging WriteLines not needed anymore.
  17020. Add window resizing/positioning.
  17021. Fix visibility on reparenting.
  17022. 2004-12-08 Peter Bartok <[email protected]>
  17023. * XplatUIOSX.cs: Added Idle event, now compiles on VS.Net
  17024. 2004-12-07 Geoff Norton <[email protected]>
  17025. * XplatUIOSX.cs: Initial checkin
  17026. * XplatUI.cs: Use the Quartz driver if the environment is set to use it
  17027. 2004-12-03 Ravindra <[email protected]>
  17028. * ListView.cs: Added some keybindings and fixed scrolling.
  17029. ScrollBars listen to ValueChanged event instead of Scroll
  17030. Event. This would let us take care of all changes being
  17031. done in the scrollbars' values programmatically or manually.
  17032. * ListView.cs (CanMultiselect): Added a check for shift key.
  17033. * ListView.cs (EnsureVisible): Fixed. Do proper scrolling.
  17034. * ListViewItem.cs (Clone): Fixed. We need to make a copy
  17035. of ListViewSubItemCollection as well.
  17036. 2004-12-06 Peter Bartok <[email protected]>
  17037. * Control.cs (Parent): Added check and exception to prevent
  17038. circular parenting
  17039. 2004-12-03 Jordi Mas i Hernandez <[email protected]>
  17040. * ListBox.cs: implemented clipping, selection single and multiple,
  17041. bug fixing
  17042. 2004-12-03 Ravindra <[email protected]>
  17043. * ListView.cs (ListView_KeyDown):
  17044. * ListView.cs (ListView_KeyUp): Fixed multiple selection handling
  17045. when CTRL key is pressed.
  17046. * ListViewItem.cs (Selected): Fixed setting the property.
  17047. 2004-12-03 Marek Safar <[email protected]>
  17048. * Application.cs (OnThreadException): Use ThreadExceptionDialog.
  17049. * Form.cs: Add ActiveForm, FormBorderStyle, MaximizeBox,
  17050. MinimizeBox, ShowInTaskbar, TopMost properties.
  17051. * ThreadExceptionDialog.cs: Implemented (disabled TextBox until
  17052. will be implemented).
  17053. 2004-12-03 Marek Safar <[email protected]>
  17054. * OwnerDrawPropertyBag.cs: New internal parameterless ctor.
  17055. * TreeNode.cs: Implemented ICloneable, Fixed to pass my simple
  17056. tests.
  17057. * TreeNodeCollection.cs: Add exception throwing for Add,AddRange.
  17058. * TreeView.cs: BackColor is Colors.Window.
  17059. 2004-12-01 Jackson Harper <[email protected]>
  17060. * TreeView.cs: When resizing the tree if the user is making it
  17061. smaller we don't get expose events, so we need to handle adding
  17062. the horizontal scrollbar in the size changed handler as well as
  17063. the expose handler.
  17064. 2004-12-02 Jordi Mas i Hernandez <[email protected]>
  17065. * DrawItemState.cs: fixes wrong enum values
  17066. 2004-12-01 Jackson Harper <[email protected]>
  17067. * TreeView.cs: Resize the hbar as well as the vbar on resize.
  17068. 2004-12-01 Jackson Harper <[email protected]>
  17069. * NodeLabelEditEventArgs.cs:
  17070. * NodeLabelEditEventHandler.cs:
  17071. * OpenTreeNodeEnumerator.cs:
  17072. * TreeNode.cs:
  17073. * TreeNodeCollection.cs:
  17074. * TreeView.cs:
  17075. * TreeViewAction.cs:
  17076. * TreeViewCancelEventArgs.cs:
  17077. * TreeViewCancelEventHandler.cs:
  17078. * TreeViewEventArgs.cs:
  17079. * TreeViewEventHandler.cs: Initial implementation.
  17080. 2004-12-01 Ravindra <[email protected]>
  17081. * ListView.cs (CalculateListView): Fixed scrolling related
  17082. calculations. Also, removed some debug statements from other
  17083. places.
  17084. * ListViewItem.cs: Changed access to 'selected' instance variable
  17085. from private to internal.
  17086. * ThemeWin32Classic.cs (DrawListViewItem): Fixed SubItem drawing.
  17087. 2004-12-01 Jordi Mas i Hernandez <[email protected]>
  17088. * ThemeWin32Classic.cs: remove cache of brush and pens for
  17089. specific controls and use the global system, fixes scrollbutton
  17090. bugs (for small sizes, disabled, etc)
  17091. * ScrollBar.cs: does not show the thumb for very small controls
  17092. (as MS) and allow smaller buttons that the regular size
  17093. 2004-12-01 Miguel de Icaza <[email protected]>
  17094. * UpDownBase.cs: Add abstract methods for the interface.
  17095. Add new virtual methods (need to be hooked up to TextEntry when it
  17096. exists).
  17097. Add override methods for most features.
  17098. Computes the size, forces the height of the text entry.
  17099. * NumericUpDown.cs: Put here the current testing code.
  17100. * Set eol-style property on all files that do not have mixed line
  17101. endings, to minimize the future problems. There are still a few
  17102. files with mixed endings, and someone should choose whether they
  17103. want to move it or not.
  17104. 2004-11-30 Jordi Mas i Hernandez <[email protected]>
  17105. * MonthCalendar.cs, ListView.cs: use Theme colours instead of
  17106. System.Colors
  17107. 2004-11-30 Ravindra <[email protected]>
  17108. * ThemeWin32Classic.cs (DrawListViewItem): Fixed selected item
  17109. drawing and replaced use of SystemColors by theme colors.
  17110. * ListView.cs (ListView_Paint): Fixed painting done during scrolling.
  17111. * ListView.cs (ListViewItemCollection.Add): Throw exception when
  17112. same ListViewItem is being added more than once.
  17113. 2004-11-30 John BouAntoun <[email protected]>
  17114. * MonthCalendar.cs:
  17115. - ControlStyles love to make the control not flicker
  17116. 2004-11-30 Peter Bartok <[email protected]>
  17117. * CharacterCasing.cs: Added
  17118. 2004-11-29 Peter Bartok <[email protected]>
  17119. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  17120. TreeViewAction.cs, TreeViewEventArgs.cs: Removed new files.
  17121. I am removing these files as they conflict with already completed
  17122. work. While it is fantastic to get contributions to MWF, I
  17123. respectfully ask that everyone please coordinate their contributions
  17124. through mono-winforms-list or #mono-winforms at this time. We're
  17125. explicitly avoiding stubbing and don't want controls that don't have
  17126. their basic functionality implemented in svn. Please also see
  17127. http://www.mono-project.com/contributing/winforms.html
  17128. 2004-11-29 Marek Safar <[email protected]>
  17129. * Application.cs (ModalRun): Don't hang after exit.
  17130. * Theme.cs: New TreeViewDefaultSize property.
  17131. * ThemeWin32Classic.cs: Replaced hardcoded defaultWindowBackColor
  17132. with less hardcoded SystemColors constant.
  17133. Implemented TreeViewDefaultSize.
  17134. * TreeNode.cs, TreeNodeCollection.cs, TreeView.cs,
  17135. TreeViewAction.cs, TreeViewEventArgs.cs: New files.
  17136. 2004-11-29 John BouAntoun <[email protected]>
  17137. * MonthCalendar.cs:
  17138. - Fix NextMonthDate and PrevMonthDate click moving calendar
  17139. 2004-11-26 John BouAntoun <[email protected]>
  17140. * MonthCalendar.cs:
  17141. - Fix usage of ScrollChange Property when scrolling months
  17142. 2004-11-26 Jordi Mas i Hernandez <[email protected]>
  17143. * Menu.cs, MainMenu.cs, MenuItem.cs, MenuAPI.cs
  17144. - Fixes menu destroying
  17145. - Support adding and removing items on already created menus
  17146. 2004-11-26 John BouAntoun <[email protected]>
  17147. * MonthCalendar.cs:
  17148. - Re-worked all bolded dates handling to match win32
  17149. * ThemeWin32Classic.cs:
  17150. - Fixed rendering with bolded dates
  17151. 2004-11-25 Jordi Mas i Hernandez <[email protected]>
  17152. * ListBox.cs, Theme.cs, ThemeWin32Classic.cs:
  17153. - Horizontal scroolbar
  17154. - Multicolumn
  17155. - Fixes
  17156. 2004-11-25 John BouAntoun <[email protected]>
  17157. * MonthCalendar.cs:
  17158. - Fix Usage of MaxSelectionCount from SelectionRange
  17159. - Fixed Shift + Cursor Selection
  17160. - Fixed Shift + (Pg up/Pg dn, Home/End) selection
  17161. - Fixed normal cursor selection to be compat with win32
  17162. - Fixed Shift + Mouse Click selection
  17163. 2004-11-24 Peter Bartok <[email protected]>
  17164. * XplatUI.cs (DispatchMessage): Switched to return IntPtr
  17165. * XplatUIDriver.cs (DispatchMessage): Switched to return IntPtr
  17166. * XplatUIX11.cs:
  17167. - CreatedKeyBoardMsg now updates keystate with Alt key
  17168. - Added workaround for timer crash to CheckTimers, Jackson will
  17169. develop a proper fix and check in later
  17170. - Implemented DispatchMessage
  17171. - Removed calling the native window proc from GetMessage (call
  17172. now moved to DispatchMessage)
  17173. * KeyEventArgs.cs (Constructor): Now combines modifierkeys into
  17174. the keydata (Fixes bug #69831)
  17175. * XplatUIWin32.cs:
  17176. - (DispatchMessage): Switched to return IntPtr
  17177. - Added DllImport for SetFocus
  17178. 2004-11-24 Ravindra <[email protected]>
  17179. * ThemeWin32Classic.cs: Fixed ListView border and checkbox
  17180. background drawing.
  17181. * ListViewItem.cs: Fixed various properties, calculations
  17182. and Clone() method. Fixed ListViewSubItemCollection.Clear() method.
  17183. * ListView.cs: Fixed calculations, BackColor, ForeColor properties
  17184. and some internal properties. Fixed MouseDown handler and Paint
  17185. method.
  17186. 2004-11-24 John BouAntoun <[email protected]>
  17187. * MonthCalendar.cs: Add TitleMonth ContextMenu handling
  17188. 2004-11-24 John BouAntoun <[email protected]>
  17189. * ContainerControl.cs: correct accidental check in of local changes
  17190. 2004-11-24 John BouAntoun <[email protected]>
  17191. * ThemeWin32Classic.cs:
  17192. - Fixed Drawing Last month in grid (sometimes not showing)
  17193. * MonthCalendar.cs:
  17194. - Fixed title width calculation bug (makeing title small)
  17195. 2004-11-23 Peter Bartok <[email protected]>
  17196. * XplatUIX11.cs:
  17197. - Added generation of WM_MOUSEHOVER event
  17198. - Added missing assignment of async_method atom
  17199. - Fixed WM_ERASEBKGND; now only redraws the exposed area
  17200. 2004-11-23 John BouAntoun <[email protected]>
  17201. * ThemeWin32Classic.cs:
  17202. - Fixed Drawing of today circle when showtodaycircle not set
  17203. - fixed drawing of first and last month in the grid (gay dates)
  17204. * MonthCalendar.cs:
  17205. - Fixed Drawing of today circle
  17206. - Fixed drawing of grady dates
  17207. - Fixed HitTest for today link when ShowToday set to false
  17208. - Fixed DefaultSize to obey ShowToday
  17209. 2004-11-23 John BouAntoun <[email protected]>
  17210. * ThemeWin32Classic.cs: Fixed DrawMonthCalendar and private support methods
  17211. * System.Windows.Forms/Theme.cs
  17212. * MonthCalendar.cs: added for MonthCalendar
  17213. * SelectionRange.cs: added for MonthCalendar
  17214. * Day.cs: added for MonthCalendar: added for MonthCalendar
  17215. * DateRangeEventArgs.cs: added for MonthCalendar
  17216. * DateRangeEventHandler.cs: added for MonthCalendar
  17217. 2004-11-22 Ravindra <[email protected]>
  17218. * ThemeWin32Classic.cs: Fixed ListViewDrawing with 'UseItemStyleForSubItems'
  17219. property.
  17220. 2004-11-22 Miguel de Icaza <[email protected]>
  17221. * UpDownBase.cs (InitTimer): Use prehistoric C# 1.0 notation for
  17222. event handler.
  17223. * NumericUpDown.cs: Added new implementation.
  17224. * UpDownBase.cs: Added new implementation.
  17225. * XplatUIWin32.cs (KeyboardSpeed, KeyboardDelay): added default
  17226. implementations.
  17227. * XplatUIX11.cs (KeyboardSpeed, KeyboardDelay): added default
  17228. implementations.
  17229. * XplatUIDriver.cs ((KeyboardSpeed, KeyboardDelay): added new
  17230. methods.
  17231. 2004-11-21 Miguel de Icaza <[email protected]>
  17232. * Timer.cs (Dispose): Should call the base dispose when
  17233. overriding.
  17234. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  17235. * ScrollBar.cs: updates thumb position when max, min or increment
  17236. is changed
  17237. 2004-11-21 Ravindra <[email protected]>
  17238. * ListView.cs: Implemented item selection, activation and
  17239. column header style. Fixed properties to do a redraw, if
  17240. required. Added support for MouseHover, DoubleClick, KeyDown
  17241. and KeyUp event handling and some minor fixes.
  17242. * ListViewItem.cs: Fixed constructor.
  17243. * ThemeWin32Classic.cs: Improved drawing for ListView.
  17244. 2004-11-19 Jordi Mas i Hernandez <[email protected]>
  17245. * ThemeWin32Classic.cs: initial listbox drawing code
  17246. * DrawMode.cs: new enumerator
  17247. * ListControl.cs: stubbed class
  17248. * ListBox.cs: initial implementation
  17249. * Theme.cs: new methods definitions
  17250. * SelectionMode.cs: new enumerator
  17251. 2004-11-17 Peter Bartok <[email protected]>
  17252. * XplatUIWin32.cs: Added double-click events to the class style
  17253. * Control.cs (WndProc):
  17254. - Added handling of click-count to MouseDown/ MouseUp events.
  17255. - Added handling of middle and right mouse buttons
  17256. - Removed old debug code
  17257. 2004-11-17 Jackson Harper <[email protected]>
  17258. * XplatUIX11.cs: Use the new Mono.Unix namespace.
  17259. 2004-11-17 Ravindra <[email protected]>
  17260. * ListView.cs: Added event handling for MouseMove/Up/Down.
  17261. * ColumnHeader.cs: Added a read-only internal property 'Pressed'.
  17262. * ThemeWin32Classic.cs: We need to clear the graphics context and
  17263. draw column header in a proper state.
  17264. 2004-11-17 Jordi Mas i Hernandez <[email protected]>
  17265. * Menu.cs: fixes signature
  17266. 2004-11-16 Peter Bartok <[email protected]>
  17267. * XplatUIX11.cs (GetMessage): Implemented generation of
  17268. double click mouse messages
  17269. 2004-11-12 Jordi Mas i Hernandez <[email protected]>
  17270. * Form.cs, MainMenu.cs, MenuAPI.cs: tracker should be for tracking session
  17271. not by menu
  17272. 2004-11-11 Peter Bartok <[email protected]>
  17273. * HandleData.cs: Added Visible property
  17274. * XplatUIX11.cs (IsVisible): Now uses Visible property from
  17275. HandleData
  17276. * XplatUIX11.cs: Removed old debug leftovers
  17277. * XplatUIX11.cs (DefWndProc): Added WM_ERASEBKGND handler
  17278. * Control.cs (WndProc): Removed old debug leftovers,
  17279. streamlined handling of WM_WINDOWPOSCHANGED, removed un-
  17280. needed WM_SIZE handling
  17281. 2004-11-11 Jackson Harper <[email protected]>
  17282. * OwnerDrawPropertyBag.cs:
  17283. * TreeViewImageIndexConverter.cs: Initial implementation
  17284. 2004-11-10 Jackson Harper <[email protected]>
  17285. * ThemeWin32Classic.cs:
  17286. * TabControl.cs: instead of moving tabs by the slider pos just
  17287. start drawing at the tab that is offset by the slider. This way
  17288. scrolling always moves by exactly one tab.
  17289. 2004-11-10 Jackson Harper <[email protected]>
  17290. * TabControl.cs: You can only scroll left when the slider has
  17291. already ben moved right.
  17292. 2004-11-10 Jackson Harper <[email protected]>
  17293. * ThemeWin32Classic.cs: Do not draw the selected tab if its not in
  17294. the clip area.
  17295. 2004-11-10 Jackson Harper <[email protected]>
  17296. * ThemeWin32Classic.cs: Don't bother drawing tabs outside of the
  17297. clip area.
  17298. 2004-11-09 Jackson Harper <[email protected]>
  17299. * TabControl.cs (CalcXPos): New helper method so we can determine
  17300. the proper place to start drawing vertical tabs.
  17301. * ThemeWin32Classic.cs (DrawTab): Draw right aligned tabs.
  17302. 2004-11-09 Jackson Harper <[email protected]>
  17303. * TabControl.cs: Calculate sizing and rects for left aligned tabs.
  17304. * ThemeWin32Classic.cs (GetTabControl*ScrollRect): Only handle Top
  17305. and Bottom, left and right are illegal values for this and
  17306. multiline is enabled when the alignment is set to left or right.
  17307. (DrawTab): Each alignment block should draw the text itself now
  17308. because Left requires special love. Also add rendering for Left
  17309. aligned tabs.
  17310. 2004-11-09 Jordi Mas i Hernandez <[email protected]>
  17311. * Form.cs, MainMenu.cs, MenuAPI.cs: fixes menu navigation, fixes popups,
  17312. does not destroy the windows, removes debugging messages
  17313. 2004-11-09 jba <[email protected]>
  17314. * ThemeWin32Classic.cs
  17315. (DrawButtonBase): Fix verticle text rect clipping in windows
  17316. (DrawCheckBox): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  17317. rendering and incorrect text rect clipping
  17318. (DrawRadioButton): Fix CheckAlign.TopCenter and CheckAlign.BottomCenter
  17319. rendering and incorrect text rect clipping
  17320. 2004-11-08 Jackson Harper <[email protected]>
  17321. * ThemeWin32Classic.cs (DrawTabControl): Render tabs from top to
  17322. bottom when they are bottom aligned so the bottoms of the tabs get
  17323. displayed.
  17324. * TabControl.cs (DropRow): Move rows up instead of down when the
  17325. tab control is bottom aligned.
  17326. 2004-11-08 13:59 pbartok
  17327. * XplatUIX11.cs:
  17328. - Added handling for various window styles
  17329. - Added handling for popup windows
  17330. - Added SetTopmost handling
  17331. 2004-11-08 13:55 pbartok
  17332. * XplatUIWin32.cs:
  17333. - Added argument to SetTopmost method
  17334. - Fixed broken ClientToScreen function
  17335. 2004-11-08 13:53 pbartok
  17336. * XplatUIStructs.cs:
  17337. - Added missing WS_EX styles
  17338. 2004-11-08 13:53 pbartok
  17339. * XplatUI.cs, XplatUIDriver.cs:
  17340. - Added argument to SetTopmost
  17341. 2004-11-08 13:52 pbartok
  17342. * X11Structs.cs:
  17343. - Added XSetWindowAttributes structure
  17344. - Improved XWindowAttributes structure
  17345. - Added SetWindowValuemask enum
  17346. - Added window creation arguments enum
  17347. - Added gravity enum
  17348. - Added Motif hints structure
  17349. - Added various Motif flags and enums
  17350. - Added PropertyMode enum for property functions
  17351. 2004-11-08 13:50 pbartok
  17352. * Form.cs:
  17353. - Fixed arguments for updated SetTopmost method
  17354. 2004-11-08 13:49 pbartok
  17355. * ToolTip.cs:
  17356. - Fixed arguments for updated SetTopmost function
  17357. - Fixed usage of PointToClient
  17358. 2004-11-08 13:44 pbartok
  17359. * MenuAPI.cs:
  17360. - Added Clipping of children and siblings
  17361. 2004-11-08 13:41 pbartok
  17362. * MainMenu.cs:
  17363. - Removed SetMenuBarWindow call. We do this in Form.cs
  17364. 2004-11-08 13:40 jackson
  17365. * TabControl.cs, Theme.cs, ThemeWin32Classic.cs: Render the little
  17366. scrolling jimmi in the correct location with bottom aligned tabs
  17367. 2004-11-08 13:36 pbartok
  17368. * ContainerControl.cs:
  17369. - Implemented BindingContext
  17370. - Implemented ParentForm
  17371. 2004-11-08 12:46 jackson
  17372. * TabControl.cs: Put bottom rendered tabs in the right location
  17373. 2004-11-08 07:15 jordi
  17374. * ScrollBar.cs, ThemeWin32Classic.cs: fixes vertical scrollbar and
  17375. removes dead code
  17376. 2004-11-05 17:30 jackson
  17377. * TabControl.cs: When selected tabs are expanded make sure they
  17378. don't go beyond the edges of the tab control
  17379. 2004-11-05 14:57 jackson
  17380. * TabControl.cs: Reset show_slider so if the control is resized to
  17381. a size where it is no longer needed it's not displayed anymore
  17382. 2004-11-05 13:16 jackson
  17383. * TabControl.cs: Make tab pages non visible when added to the
  17384. control
  17385. 2004-11-05 12:42 jackson
  17386. * TabControl.cs: Implement SizeMode.FillToRight
  17387. 2004-11-05 12:16 jackson
  17388. * Control.cs: Do not call CreateHandle if the handle is already
  17389. created
  17390. 2004-11-05 11:46 jackson
  17391. * TabControl.cs: Remove superflous call to CalcTabRows
  17392. 2004-11-05 09:07 jackson
  17393. * XplatUIX11.cs: Update for Mono.Posix changes
  17394. 2004-11-05 07:00 ravindra
  17395. * ListView.cs, ListViewItem.cs: Implemented some methods and fixed
  17396. scrolling.
  17397. 2004-11-04 22:47 jba
  17398. * ThemeWin32Classic.cs:
  17399. - Fix Button rendering for FlatStyle = Flat or Popup
  17400. - Fix RadioButton and CheckBox rendering when Appearance = Button
  17401. (normal and flatstyle).
  17402. - Correct outer rectangle color when drawing focus rectangle
  17403. - Adjust button bounds to be 1 px smaller when focused
  17404. - Make button not draw sunken 3d border when pushed (windows compat)
  17405. - Fix CPDrawBorder3D to not make bottom right hand corner rounded
  17406. - Offset the text in RadioButton and Checkbox when being rendered as
  17407. a button.
  17408. - Hover and Click behaviour for Colored FlatStyle.Flat and Popup
  17409. radiobuttons
  17410. - Fixed disabled rendering for colored flatstyle radiobuttons (both)
  17411. - Fixed disabled text rendering for normally rendered radiobuttons
  17412. 2004-11-04 10:26 jackson
  17413. * TabControl.cs: Recalculate tab rows when resizing
  17414. 2004-11-04 07:47 jordi
  17415. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs:
  17416. collection completion, drawing issues, missing features
  17417. 2004-11-04 05:03 ravindra
  17418. * ScrollBar.cs:
  17419. - We need to recalculate the Thumb area when
  17420. LargeChange/maximum/minimum values are changed.
  17421. - We set the 'pos' in UpdatePos() method to minimum, if it's less
  17422. than minimum. This is required to handle the case if large_change is
  17423. more than max, and use LargeChange property instead of large_change
  17424. variable.
  17425. - We return max+1 when large_change is more than max, like MS does.
  17426. 2004-11-04 04:29 ravindra
  17427. * ColumnHeader.cs, ListView.cs, ListViewItem.cs:
  17428. - Changed default value signatures (prefixed all with ListView).
  17429. - Fixed/implemented layout LargeIcon, SmallIcon and List views for
  17430. ListView.
  17431. - Fixed calculations for ListViewItem and implemented Clone()
  17432. method.
  17433. 2004-11-04 04:26 ravindra
  17434. * Theme.cs, ThemeWin32Classic.cs:
  17435. - Changed default ListView values signatures (prefixed all with
  17436. ListView).
  17437. - Fixed default size values for VScrollBar and HScrollBar.
  17438. - Fixed DrawListViewItem method.
  17439. 2004-11-04 04:05 ravindra
  17440. * ColumnHeaderStyle.cs: Typo. It should be Nonclickable.
  17441. 2004-11-04 04:04 ravindra
  17442. * ImageList.cs: Implemented the missing overload for Draw method.
  17443. 2004-11-03 19:29 jackson
  17444. * TabControl.cs: Handle dropping rows on selection properly
  17445. 2004-11-03 11:59 jackson
  17446. * TabControl.cs: remove debug code
  17447. 2004-11-03 11:52 jackson
  17448. * TabControl.cs, ThemeWin32Classic.cs: Initial implementation of
  17449. the scrolly widgerywoo
  17450. 2004-11-02 13:52 jackson
  17451. * TabControl.cs: Resize the tab pages and tabs when the tab control
  17452. is resized
  17453. 2004-11-02 13:40 jackson
  17454. * TabControl.cs, ThemeWin32Classic.cs: Move the row with the
  17455. selected tab to the bottom
  17456. 2004-11-02 13:39 jackson
  17457. * TabPage.cs: Store the tab pages row
  17458. 2004-11-02 12:33 jordi
  17459. * MenuItem.cs: fixes handle creation
  17460. 2004-11-02 11:42 jackson
  17461. * TabControl.cs: signature fix
  17462. 2004-11-02 08:56 jackson
  17463. * TabControl.cs: Calculate whether the tab is on an edge properly.
  17464. Remove top secret debugging code
  17465. 2004-11-01 19:57 jackson
  17466. * TabControl.cs: Add click handling, and proper sizing
  17467. 2004-11-01 19:47 jackson
  17468. * Theme.cs, ThemeWin32Classic.cs: New rendering and sizing code for
  17469. tab controls
  17470. 2004-11-01 19:39 jackson
  17471. * TabPage.cs: add internal property to store the bounds of a tab
  17472. page
  17473. 2004-10-30 04:23 ravindra
  17474. * Theme.cs, ThemeWin32Classic.cs: Drawing ListView and some default
  17475. values.
  17476. 2004-10-30 04:21 ravindra
  17477. * ListView.cs, ListViewItem.cs: Added support for scrolling and
  17478. fixed calculations.
  17479. 2004-10-30 03:06 pbartok
  17480. * XplatUIX11.cs:
  17481. - Removed extension of DllImported libs
  17482. 2004-10-29 09:55 jordi
  17483. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: Menu key
  17484. navigation, itemcollection completion, menu fixes
  17485. 2004-10-27 22:58 pbartok
  17486. * XplatUIX11.cs:
  17487. - Now throws a nice error message when no X display could be opened
  17488. 2004-10-26 13:51 jordi
  17489. * ListView.cs: removes warning
  17490. 2004-10-26 03:55 ravindra
  17491. * ColumnHeader.cs, ListView.cs, ListViewItem.cs,
  17492. ThemeWin32Classic.cs: Some formatting for my last checkins.
  17493. 2004-10-26 03:36 ravindra
  17494. * ThemeWin32Classic.cs: Implemented DetailView drawing for ListView
  17495. control and default values.
  17496. 2004-10-26 03:35 ravindra
  17497. * Theme.cs: Added some default values for ListView control.
  17498. 2004-10-26 03:33 ravindra
  17499. * ToolBar.cs: ToolBar should use the user specified button size, if
  17500. there is any. Added a size_specified flag for the same.
  17501. 2004-10-26 03:33 ravindra
  17502. * ColumnHeader.cs: Added some internal members and calculations for
  17503. ColumnHeader.
  17504. 2004-10-26 03:32 ravindra
  17505. * ListViewItem.cs: Calculations for ListViewItem.
  17506. 2004-10-26 03:31 ravindra
  17507. * ListView.cs: Added some internal members and calculations for
  17508. ListView.
  17509. 2004-10-22 13:31 jordi
  17510. * MenuAPI.cs: speedup menus drawing
  17511. 2004-10-22 13:16 jackson
  17512. * XplatUIX11.cs: Make sure to update exposed regions when adding an
  17513. expose event
  17514. 2004-10-22 11:49 jackson
  17515. * Control.cs: oops
  17516. 2004-10-22 11:41 jackson
  17517. * Control.cs: Check to see if the window should have its background
  17518. repainted by X when drawing.
  17519. 2004-10-22 11:31 jackson
  17520. * XplatUIX11.cs: When invalidating areas only use XClearArea if
  17521. clear is true, this way we do not get flicker from X repainting the
  17522. background
  17523. 2004-10-22 11:28 jackson
  17524. * XEventQueue.cs: Queue properly
  17525. 2004-10-21 09:38 jackson
  17526. * XEventQueue.cs: Fix access modifier
  17527. 2004-10-21 09:36 jackson
  17528. * XEventQueue.cs: Don't loose messages
  17529. 2004-10-21 09:22 jackson
  17530. * XEventQueue.cs: Don't loose messages
  17531. 2004-10-20 04:15 jordi
  17532. * BootMode.cs: enum need it by SystemInfo
  17533. 2004-10-19 21:58 pbartok
  17534. * XplatUIWin32.cs:
  17535. - Small sanity check
  17536. 2004-10-19 21:56 pbartok
  17537. * Form.cs:
  17538. - Added private FormParentWindow class which acts as the container
  17539. for our form and as the non-client area where menus are drawn
  17540. - Added/Moved required tie-ins to Jordi's menus
  17541. - Fixed/Implemented the FormStartPosition functionality
  17542. 2004-10-19 21:52 pbartok
  17543. * Control.cs:
  17544. - Removed unneeded locals
  17545. - Added code to all size and location properties to understand and
  17546. deal with the parent container of Form
  17547. 2004-10-19 21:33 pbartok
  17548. * Application.cs:
  17549. - Fixed to deal with new Form subclasses for menus
  17550. 2004-10-19 17:48 jackson
  17551. * XEventQueue.cs: commit correct version of file
  17552. 2004-10-19 16:50 jackson
  17553. * XEventQueue.cs, XplatUIX11.cs: New optimized event queue
  17554. 2004-10-19 16:15 jordi
  17555. * MenuAPI.cs: MenuBarCalcSize returns the height
  17556. 2004-10-19 08:31 pbartok
  17557. * Control.cs:
  17558. - Added missing call to PreProcessMessage before calling OnXXXKey
  17559. methods
  17560. 2004-10-19 00:04 ravindra
  17561. * ToolTip.cs: Fixed constructor.
  17562. 2004-10-18 09:31 jordi
  17563. * MenuAPI.cs: menuitems in menubars do not have shortcuts
  17564. 2004-10-18 09:26 jordi
  17565. * MenuItem.cs: fixes MenuItem class signature
  17566. 2004-10-18 08:56 jordi
  17567. * MenuAPI.cs: prevents windows from showing in the taskbar
  17568. 2004-10-18 00:28 ravindra
  17569. * ToolTip.cs: Suppressed a warning message.
  17570. 2004-10-18 00:27 ravindra
  17571. * Control.cs: Default value of visible property must be true.
  17572. 2004-10-17 23:19 pbartok
  17573. * ToolTip.cs:
  17574. - Complete implementation
  17575. 2004-10-17 23:19 pbartok
  17576. * XplatUIX11.cs:
  17577. - Added EnableWindow method
  17578. - Added SetModal stub
  17579. - Added generation of WM_ACTIVATE message (still needs testing)
  17580. - Added SetTopMost stub
  17581. - Changes to deal with VirtualKeys being moved to XplatUIStructs.cs
  17582. 2004-10-17 23:17 pbartok
  17583. * XplatUIWin32.cs:
  17584. - Removed VirtualKeys to XplatUIStructs
  17585. - Implemented SetTopMost method
  17586. - Implemented EnableWindow method
  17587. - Bugfix in ScreenToClient()
  17588. - Bugfixes in ClientToScreen()
  17589. 2004-10-17 22:51 pbartok
  17590. * XplatUIStructs.cs:
  17591. - Added WS_EX styles to WindowStyles enumeration
  17592. 2004-10-17 22:50 pbartok
  17593. * XplatUI.cs, XplatUIDriver.cs:
  17594. - Added method for enabling/disabling windows
  17595. - Added method for setting window modality
  17596. - Added method for setting topmost window
  17597. 2004-10-17 22:49 pbartok
  17598. * ThemeWin32Classic.cs:
  17599. - Added ToolTip drawing code
  17600. 2004-10-17 22:49 pbartok
  17601. * Theme.cs:
  17602. - Added ToolTip abstracts
  17603. 2004-10-17 22:47 pbartok
  17604. * Form.cs:
  17605. - Fixed Form.ControlCollection to handle owner relations
  17606. - Added Owner/OwnedForms handling
  17607. - Implemented Z-Ordering for owned forms
  17608. - Removed unneeded private overload of ShowDialog
  17609. - Fixed ShowDialog, added the X11 incarnation of modal handling (or
  17610. so I hope)
  17611. - Fixed Close(), had wrong default
  17612. - Added firing of OnLoad event
  17613. - Added some commented out debug code for Ownership handling
  17614. 2004-10-17 22:16 pbartok
  17615. * Control.cs:
  17616. - Fixed/implemented flat list of controls
  17617. 2004-10-17 22:14 pbartok
  17618. * Application.cs:
  17619. - Added code to simulate modal dialogs on Win32
  17620. 2004-10-17 16:11 jordi
  17621. * ScrollBar.cs: disabled scrollbar should not honor any keyboard or
  17622. mouse event
  17623. 2004-10-17 13:39 jordi
  17624. * MenuAPI.cs: menu drawing fixes
  17625. 2004-10-15 09:10 ravindra
  17626. * StructFormat.cs: General Enum.
  17627. 2004-10-15 09:09 ravindra
  17628. * SizeGripStyle.cs: Enum for Form.
  17629. 2004-10-15 09:08 ravindra
  17630. * Theme.cs, ThemeWin32Classic.cs: Added ColumnHeaderHeight property
  17631. in Theme for ListView.
  17632. 2004-10-15 09:06 ravindra
  17633. * ColumnHeader.cs: Flushing some formatting changes.
  17634. 2004-10-15 09:05 ravindra
  17635. * ListViewItem.cs: Implemented GetBounds method and fixed coding
  17636. style.
  17637. 2004-10-15 09:03 ravindra
  17638. * ListView.cs: Implemented Paint method and fixed coding style.
  17639. 2004-10-15 07:34 jordi
  17640. * MenuAPI.cs: fix for X11
  17641. 2004-10-15 07:32 ravindra
  17642. * ButtonBase.cs, CheckBox.cs, RadioButton.cs:
  17643. - Renamed Paint() method to Draw() for clarity. Also, moved
  17644. DrawImage() to OnPaint().
  17645. 2004-10-15 07:25 ravindra
  17646. * CheckBox.cs, RadioButton.cs:
  17647. - Removed Redraw (), we get it from ButtonBase.
  17648. - Implemented Paint (), to do class specific painting.
  17649. 2004-10-15 07:16 ravindra
  17650. * ButtonBase.cs:
  17651. - Redraw () is not virtual now.
  17652. - Added an internal virtual method Paint (), so that
  17653. derived classes can do their painting on their own.
  17654. - Modified OnPaint () to call Paint ().
  17655. 2004-10-15 06:43 jordi
  17656. * ContextMenu.cs, DrawItemEventHandler.cs, Form.cs, MainMenu.cs,
  17657. MenuAPI.cs, MenuItem.cs: menu work, mainmenu, subitems, etc
  17658. 2004-10-15 00:30 ravindra
  17659. * MessageBox.cs:
  17660. - MessageBox on windows does not have min/max buttons.
  17661. This change in CreateParams fixes this on Windows. We
  17662. still need to implement this windowstyle behavior in
  17663. our X11 driver.
  17664. 2004-10-14 05:14 ravindra
  17665. * ToolBar.cs:
  17666. - Changed Redraw () to do a Refresh () always.
  17667. - Fixed the MouseMove event handling when mouse is pressed,
  17668. ie drag event handling.
  17669. - Replaced the usage of ToolBarButton.Pressed property to
  17670. ToolBarButton.pressed internal variable.
  17671. 2004-10-14 05:10 ravindra
  17672. * ToolBarButton.cs:
  17673. - Added an internal member 'inside' to handle mouse move
  17674. with mouse pressed ie mouse drag event.
  17675. - Changed 'Pressed' property to return true only when
  17676. 'inside' and 'pressed' are both true.
  17677. - Some coding style love.
  17678. 2004-10-14 00:17 ravindra
  17679. * Form.cs: Fixed class signature. ShowDialog (Control) is not a
  17680. public method.
  17681. 2004-10-14 00:15 ravindra
  17682. * ButtonBase.cs: Redraw () related improvements.
  17683. 2004-10-14 00:14 ravindra
  17684. * MessageBox.cs: Moved InitFormSize () out of Paint method and
  17685. removed unnecessary calls to Button.Show () method.
  17686. 2004-10-13 17:50 pbartok
  17687. * XplatUIX11.cs:
  17688. - Formatting fix
  17689. - Removed destroying of window until we solve the problem of X
  17690. destroying the window before us on shutdown
  17691. 2004-10-13 16:32 pbartok
  17692. * ButtonBase.cs:
  17693. - Now Redraws on MouseUp for FlatStyle Flat and Popup
  17694. 2004-10-13 14:18 pbartok
  17695. * XplatUIX11.cs:
  17696. - Added code to destroy the X window
  17697. 2004-10-13 14:18 pbartok
  17698. * XplatUIWin32.cs:
  17699. - Added code to destroy a window
  17700. 2004-10-13 14:12 pbartok
  17701. * ButtonBase.cs:
  17702. - Added the Redraw on Resize that got dropped in the last rev
  17703. 2004-10-13 09:06 pbartok
  17704. * ThemeWin32Classic.cs:
  17705. - Path from John BouAntoun:
  17706. * Fix check rendering (centre correctly for normal style, offset
  17707. correctly for FlatStyle).
  17708. * Fix border color usage (use backcolor) for FlatStyle.Popup
  17709. * Use checkbox.Capture instead of checkbox.is_pressed when
  17710. rendering flatstyle states.
  17711. 2004-10-12 21:48 pbartok
  17712. * ThemeWin32Classic.cs:
  17713. - Removed all occurences of SystemColors and replaced them with the
  17714. matching theme color
  17715. 2004-10-12 21:41 pbartok
  17716. * ThemeWin32Classic.cs:
  17717. - From John BouAntoun: Added an overload to CPDrawBorder3D to allow
  17718. him using the function for flatstyle drawing
  17719. - Changed functions to use the new version of CPDrawBorder3D
  17720. 2004-10-12 21:15 pbartok
  17721. * ControlPaint.cs:
  17722. - Fixed Dark(), DarkDark(), Light() and LightLight() methods to
  17723. match MS documentation. They need to return defined colors if the
  17724. passed color matches the configured control color. Thanks to John
  17725. BouAntoun for pointing this out.
  17726. 2004-10-12 20:57 pbartok
  17727. * Control.cs:
  17728. - Fix from John BouAntoun: Raise ForeColorChanged event when text
  17729. color is changed
  17730. 2004-10-12 20:46 pbartok
  17731. * CheckBox.cs:
  17732. - Fix from John BouAntoun: Now properly sets the Appearance property
  17733. 2004-10-12 20:45 pbartok
  17734. * ThemeWin32Classic.cs:
  17735. - Fixes from John BouAntoun: now handles forecolors and backcolors
  17736. for flatstyle rendered controls much better; It also fixes normal
  17737. checkbox rendering when pushed or disabled.
  17738. 2004-10-08 02:50 jordi
  17739. * Form.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs: more menu
  17740. work
  17741. 2004-10-07 08:56 jordi
  17742. * ThemeWin32Classic.cs: Removes deletion of cached brushes
  17743. 2004-10-06 03:59 jordi
  17744. * Control.cs, StatusBar.cs, ThemeWin32Classic.cs, ToolBar.cs,
  17745. XplatUIWin32.cs: removes warnings from compilation
  17746. 2004-10-05 12:23 jackson
  17747. * RadioButton.cs: Fix ctor
  17748. 2004-10-05 11:10 pbartok
  17749. * MessageBox.cs:
  17750. - Partial implementation by Benjamin Dasnois
  17751. 2004-10-05 10:15 jackson
  17752. * ThemeWin32Classic.cs: Improve rendering of the radio button patch
  17753. by John BouAntoun
  17754. 2004-10-05 03:07 ravindra
  17755. * ToolBar.cs:
  17756. - Removed a private method, Draw ().
  17757. - Fixed the ButtonDropDown event handling.
  17758. - Fixed MouseMove event handling.
  17759. 2004-10-05 03:04 ravindra
  17760. * ThemeWin32Classic.cs:
  17761. - Added DrawListView method and ListViewDefaultSize property.
  17762. - Changed ControlPaint method calls to CPDrawXXX wherever possible.
  17763. - Changed DOS style CRLF to Unix format (dos2unix).
  17764. 2004-10-05 03:03 ravindra
  17765. * Theme.cs:
  17766. - Added DrawListView method and ListViewDefaultSize property.
  17767. 2004-10-05 02:42 ravindra
  17768. * ToolBarButton.cs: Added an internal member dd_pressed to handle
  17769. clicks on DropDown arrow.
  17770. 2004-10-04 22:56 jackson
  17771. * ButtonBase.cs, Label.cs, MenuAPI.cs, ProgressBar.cs,
  17772. ScrollBar.cs, StatusBar.cs, ToolBar.cs, TrackBar.cs: Let the base
  17773. Control handle the buffers, derived classes should not have to
  17774. CreateBuffers themselves.
  17775. 2004-10-04 21:20 jackson
  17776. * StatusBar.cs: The control handles resizing the buffers now.
  17777. 2004-10-04 21:18 jackson
  17778. * Control.cs: When resizing the buffers should be invalidated. This
  17779. should be handled in Control not in derived classes.
  17780. 2004-10-04 14:45 jackson
  17781. * TabPage.cs: oops
  17782. 2004-10-04 02:14 pbartok
  17783. * LeftRightAlignment.cs:
  17784. - Initial check-in
  17785. 2004-10-04 01:09 jordi
  17786. * ThemeWin32Classic.cs: fixes right button position causing right
  17787. button not showing on horizontal scrollbars
  17788. 2004-10-02 13:12 pbartok
  17789. * XplatUIX11.cs:
  17790. - Simplified the Invalidate method by using an X call instead of
  17791. generating the expose ourselves
  17792. - Added an expose when the window background is changed
  17793. - Implemented ClientToScreen method
  17794. 2004-10-02 13:08 pbartok
  17795. * XplatUIWin32.cs:
  17796. - Added Win32EnableWindow method (test for implementing modal
  17797. dialogs)
  17798. - Added ClientToScreen method and imports
  17799. 2004-10-02 13:07 pbartok
  17800. * XplatUI.cs, XplatUIDriver.cs:
  17801. - Added ClientToScreen coordinate translation method
  17802. 2004-10-02 13:06 pbartok
  17803. * KeyPressEventArgs.cs:
  17804. - Fixed access level for constructor
  17805. 2004-10-02 13:06 pbartok
  17806. * NativeWindow.cs:
  17807. - Changed access level for the window_collection hash table
  17808. 2004-10-02 13:05 pbartok
  17809. * Form.cs:
  17810. - Added KeyPreview property
  17811. - Added Menu property (still incomplete, pending Jordi's menu work)
  17812. - Implemented ProcessCmdKey
  17813. - Implemented ProcessDialogKey
  17814. - Implemented ProcessKeyPreview
  17815. 2004-10-02 13:02 pbartok
  17816. * Control.cs:
  17817. - Added private method to get the Control object from the window
  17818. handle
  17819. - Implemented ContextMenu property
  17820. - Implemented PointToScreen
  17821. - Implemented PreProcessMessage
  17822. - Implemented IsInputChar
  17823. - Implemented IsInputKey
  17824. - Implemented ProcessCmdKey
  17825. - Completed ProcessKeyEventArgs
  17826. - Fixed message loop to call the proper chain of functions on key
  17827. events
  17828. - Implemented ProcessDialogChar
  17829. - Implemented ProcessDialogKey
  17830. - Implemented ProcessKeyMessage
  17831. - Implemented ProcessKeyPreview
  17832. - Added RaiseDragEvent stub (MS internal method)
  17833. - Added RaiseKeyEvent stub (MS internal method)
  17834. - Added RaiseMouseEvent stub (MS Internal method)
  17835. - Added RaisePaintEvent stub (MS Internal method)
  17836. - Added ResetMouseEventArgs stub (MS Internal method)
  17837. - Implemented RtlTranslateAlignment
  17838. - Implemented RtlTranslateContent
  17839. - Implemented RtlTranslateHorizontal
  17840. - Implemented RtlTranslateLeftRight
  17841. - Added generation of KeyPress event
  17842. 2004-10-02 05:57 ravindra
  17843. * ListViewItem.cs: Added attributes.
  17844. 2004-10-02 05:32 ravindra
  17845. * ListView.cs: Added attributes.
  17846. 2004-10-01 11:53 jackson
  17847. * Form.cs: Implement the Close method so work on MessageBox can
  17848. continue.
  17849. 2004-09-30 14:06 pbartok
  17850. * XplatUIX11.cs:
  17851. - Bug fixes
  17852. 2004-09-30 11:34 jackson
  17853. * RadioButton.cs: Fix typo. Patch by John BouAntoun.
  17854. 2004-09-30 07:26 ravindra
  17855. * ListViewItemConverter.cs: Converter for ListViewItem.
  17856. 2004-09-30 07:26 ravindra
  17857. * SortOrder.cs: Enum for ListView control.
  17858. 2004-09-30 07:25 ravindra
  17859. * ColumnHeader.cs: Supporting class for ListView control.
  17860. 2004-09-30 07:24 ravindra
  17861. * ListView.cs, ListViewItem.cs: Initial implementation.
  17862. 2004-09-30 07:20 ravindra
  17863. * ItemActivation.cs: Enum for ListView Control.
  17864. 2004-09-29 20:29 pbartok
  17865. * XplatUIX11.cs:
  17866. - Added lookup of pixel value for background color; tries to get a
  17867. color 'close' to the requested color, it avoids having to create a
  17868. colormap. Depending on the display this could mean the used color
  17869. is slightly off the desired color. Might have to change it to a more
  17870. resource intensive colormap approach, but it will work as a
  17871. workaround to avoid red screens.
  17872. 2004-09-29 14:27 jackson
  17873. * XplatUIX11.cs: Set the X DisplayHandle in System.Drawing
  17874. 2004-09-28 12:44 pbartok
  17875. * ButtonBase.cs, CheckBox.cs, ControlPaint.cs, GroupBox.cs,
  17876. HScrollBar.cs, Label.cs, LinkLabel.cs, Panel.cs, PictureBox.cs,
  17877. ProgressBar.cs, RadioButton.cs, ScrollBar.cs, StatusBar.cs,
  17878. Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs, ToolBar.cs,
  17879. TrackBar.cs, VScrollBar.cs:
  17880. - Streamlined Theme interfaces:
  17881. * Each DrawXXX method for a control now is passed the object for
  17882. the control to be drawn in order to allow accessing any state the
  17883. theme might require
  17884. * ControlPaint methods for the theme now have a CP prefix to avoid
  17885. name clashes with the Draw methods for controls
  17886. * Every control now retrieves it's DefaultSize from the current
  17887. theme
  17888. 2004-09-28 12:17 jackson
  17889. * Button.cs: Do not redraw OnClick MouseUp/Down will handle the
  17890. drawing
  17891. 2004-09-24 14:57 jackson
  17892. * XplatUIX11.cs: Don't lock/enqueue/dequeue for unhandled messages.
  17893. Gives us a nice little performance boost.
  17894. 2004-09-24 12:02 jackson
  17895. * TabAlignment.cs, TabAppearance.cs, TabControl.cs, TabDrawMode.cs,
  17896. TabPage.cs, TabSizeMode.cs: Partial implementation of the Tab
  17897. Control and supporting classes. Initial checkin
  17898. 2004-09-23 13:08 jackson
  17899. * Form.cs: Temp build fixage
  17900. 2004-09-23 01:39 ravindra
  17901. * ItemChangedEventArgs.cs, ItemChangedEventHandler.cs,
  17902. ItemCheckEventArgs.cs, ItemCheckEventHandler.cs,
  17903. ItemDragEventArgs.cs, ItemDragEventHandler.cs,
  17904. LabelEditEventArgs.cs, LabelEditEventHandler.cs: EventArgs and
  17905. EventHandlers needed by ListView Control.
  17906. 2004-09-22 14:12 pbartok
  17907. * ScrollableControl.cs:
  17908. - Implemented DockPadding property
  17909. - Implemented AutoScroll property
  17910. - Implemented AutoScrollMargin property
  17911. - Implemented AutoScrollMinSize property
  17912. - Implemented AutoScrollPosition property
  17913. - Implemented DisplayRectangle property (still incomplete)
  17914. - Implemented CreateParams property
  17915. - Implemented HScroll property
  17916. - Implemented VScroll property
  17917. - Implemented OnVisibleChanged property
  17918. 2004-09-22 14:09 pbartok
  17919. * Form.cs:
  17920. - Added Form.ControllCollection class
  17921. - Added handling for Form owners: Owner, OwnedForms, AddOwnedForm,
  17922. RemoveOwnedForm (still incomplete, missing on-top and common
  17923. minimize/maximize behaviour)
  17924. - Added StartPosition property (still incomplete, does not use when
  17925. creating the form)
  17926. - Added ShowDialog() methods (still incomplete, missing forcing the
  17927. dialog modal)
  17928. 2004-09-22 14:05 pbartok
  17929. * Application.cs:
  17930. - Added message loop for modal dialogs
  17931. 2004-09-22 14:02 pbartok
  17932. * GroupBox.cs:
  17933. - Fixed wrong types for events
  17934. 2004-09-22 14:00 pbartok
  17935. * Shortcut.cs, FormWindowState.cs:
  17936. - Fixed wrong values
  17937. 2004-09-22 12:01 jackson
  17938. * Control.cs: Text is never null
  17939. 2004-09-20 22:14 pbartok
  17940. * XplatUIWin32.cs:
  17941. - Fixed accessibility level for Idle handler
  17942. 2004-09-20 18:54 jackson
  17943. * Application.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17944. XplatUIX11.cs: New message loop that uses poll so we don't get a
  17945. busy loop
  17946. 2004-09-17 10:43 pbartok
  17947. * ScrollBar.cs:
  17948. - Fixed behaviour of arrow buttons. Now properly behaves like
  17949. Buttons (and like Microsoft's scrollbar arrow buttons)
  17950. 2004-09-17 10:14 pbartok
  17951. * ScrollBar.cs:
  17952. - Added missing release of keyboard/mouse capture
  17953. 2004-09-17 06:18 jordi
  17954. * ContextMenu.cs, MainMenu.cs, Menu.cs, MenuAPI.cs, MenuItem.cs,
  17955. Theme.cs: Very early menu support
  17956. 2004-09-16 17:45 pbartok
  17957. * XplatUIWin32.cs:
  17958. - Fixed sending a window to the front
  17959. - Added overload for SetWindowPos to avoid casting
  17960. 2004-09-16 17:44 pbartok
  17961. * Control.cs:
  17962. - Added SendToBack and BringToFront methods
  17963. 2004-09-16 07:00 ravindra
  17964. * Copyright: Added Novell URL.
  17965. 2004-09-16 07:00 ravindra
  17966. * ToolBar.cs: Invalidate should be done before redrawing.
  17967. 2004-09-15 21:19 ravindra
  17968. * ColumnHeaderStyle.cs: Enum for ListView Control.
  17969. 2004-09-15 21:18 ravindra
  17970. * ColumnClickEventArgs.cs, ColumnClickEventHandler.cs: Event for
  17971. ListView Control.
  17972. 2004-09-13 18:26 jackson
  17973. * Timer.cs, XplatUIX11.cs: Remove test code so timers are updated
  17974. properly
  17975. 2004-09-13 18:13 jackson
  17976. * Timer.cs, X11Structs.cs, XplatUIX11.cs: Timers are now handled in
  17977. a second thread and post messages into the main threads message
  17978. queue. This makes timing much more consistent. Both win2K and XP
  17979. have a minimum timer value of 15 milliseconds, so we now do this
  17980. too.
  17981. 2004-09-13 15:18 pbartok
  17982. * X11Structs.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  17983. XplatUIX11.cs:
  17984. - Added Z-Ordering methods
  17985. 2004-09-13 10:56 pbartok
  17986. * Form.cs:
  17987. - Fixed #region names
  17988. - Moved properties and methods into their proper #regions
  17989. 2004-09-13 10:51 pbartok
  17990. * Form.cs:
  17991. - Added Accept and CancelButton properties
  17992. - Added ProcessDialogKey() method
  17993. 2004-09-13 08:18 pbartok
  17994. * IWindowTarget.cs:
  17995. - Initial check-in
  17996. 2004-09-10 21:50 pbartok
  17997. * Control.cs:
  17998. - Added DoDragDrop() [incomplete]
  17999. - Properly implemented 'Visible' handling
  18000. - Added SetVisibleCore()
  18001. - Implemented FindChildAtPoint()
  18002. - Implemented GetContainerControl()
  18003. - Implemented Hide()
  18004. 2004-09-10 19:28 pbartok
  18005. * Control.cs:
  18006. - Moved methods into their appropriate #regions
  18007. - Reordered methods within regions alphabetically
  18008. 2004-09-10 18:57 pbartok
  18009. * XplatUIX11.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18010. - Added method to retrieve text from window
  18011. 2004-09-10 18:56 pbartok
  18012. * Control.cs:
  18013. - Moved some internal functions into the internal region
  18014. - Implemented FontHeight
  18015. - Implemented RenderRightToLeft
  18016. - Implemented ResizeRedraw
  18017. - Implemented ShowFocusCues
  18018. - Implemented ShowKeyboardCues
  18019. - Implemented FromChildHandle
  18020. - Implemented FromHandle
  18021. - Implemented IsMnemonic
  18022. - Implemented ReflectMessage
  18023. - All public and protected Static Methods are now complete
  18024. 2004-09-10 16:54 pbartok
  18025. * Control.cs:
  18026. - Implemented remaining missing public instance properties
  18027. - Alphabetized some out of order properties
  18028. 2004-09-10 05:51 ravindra
  18029. * PictureBox.cs: Added a check for null image.
  18030. 2004-09-10 00:59 jordi
  18031. * GroupBox.cs: remove cvs tag
  18032. 2004-09-09 05:25 ravindra
  18033. * ToolBar.cs: Make redraw accessible from ToolBarButton.
  18034. 2004-09-09 05:23 ravindra
  18035. * ToolBarButton.cs: Changes in ToolBarButton need to make it's
  18036. parent redraw.
  18037. 2004-09-09 02:28 pbartok
  18038. * ThemeWin32Classic.cs:
  18039. - Improve disabled string look
  18040. 2004-09-09 01:15 jordi
  18041. * MeasureItemEventArgs.cs, MeasureItemEventHandler.cs: measureitem
  18042. args and handler
  18043. 2004-09-08 23:56 ravindra
  18044. * ItemBoundsPortion.cs: It's enum, not a class!
  18045. 2004-09-08 23:47 ravindra
  18046. * FormBorderStyle.cs, FormStartPosition.cs, FormWindowState.cs:
  18047. Enums for Form.
  18048. 2004-09-08 21:13 ravindra
  18049. * ItemBoundsPortion.cs, ListViewAlignment.cs, View.cs: Enums for
  18050. ListView control.
  18051. 2004-09-08 21:03 ravindra
  18052. * ThemeWin32Classic.cs: PictureBox would not draw a null image to
  18053. avoid crash.
  18054. 2004-09-08 21:01 ravindra
  18055. * ScrollableControl.cs: Removed unreachable code.
  18056. 2004-09-08 06:45 jordi
  18057. * MenuMerge.cs, Shortcut.cs: enumerations need it by menus
  18058. 2004-09-08 01:00 jackson
  18059. * XplatUIX11.cs: Only run the timers when updating the message
  18060. queue. This effectively gives X messages a higher priority then
  18061. timer messages. Timers still need love though
  18062. 2004-09-07 14:01 jackson
  18063. * XplatUIX11.cs: Do not call XDestroyWindow, X has already done
  18064. this for us and the handle is no longer valid.
  18065. 2004-09-07 13:59 jackson
  18066. * HandleData.cs, XplatUIX11.cs: First steps towards a new X event
  18067. loop that manages to not crash. TODO: Add poll and cleanup timers
  18068. 2004-09-07 11:12 jordi
  18069. * GroupBox.cs, Theme.cs, ThemeWin32Classic.cs: GroupBox control
  18070. 2004-09-07 03:40 jordi
  18071. * Label.cs, LinkLabel.cs, Theme.cs, ThemeWin32Classic.cs: LinkLabel
  18072. fixes, methods, multiple links
  18073. 2004-09-06 06:55 jordi
  18074. * Control.cs: Caches ClientRectangle rectangle value
  18075. 2004-09-05 02:03 jordi
  18076. * ScrollBar.cs, ThemeWin32Classic.cs: fixes bugs, adds flashing on
  18077. certain situations
  18078. 2004-09-04 11:10 jordi
  18079. * Label.cs: Refresh when font changed
  18080. 2004-09-02 16:24 pbartok
  18081. * Control.cs:
  18082. - Added sanity check to creation of double buffer bitmap
  18083. 2004-09-02 16:24 pbartok
  18084. * ButtonBase.cs:
  18085. - Fixed selection of text color
  18086. - Fixed handling of resize event; now properly recreates double
  18087. buffering bitmap
  18088. - Added missing assignment of TextAlignment
  18089. - Added proper default for TextAlignment
  18090. 2004-09-02 14:26 pbartok
  18091. * RadioButton.cs:
  18092. - Added missing RadioButton.RadioButtonAccessibleObject class
  18093. 2004-09-02 14:26 pbartok
  18094. * Control.cs:
  18095. - Added missing Control.ControlAccessibleObject class
  18096. - Started to implement Select()ion mechanisms, still very incomplete
  18097. 2004-09-02 14:25 pbartok
  18098. * AccessibleObject.cs:
  18099. - Added missing methods
  18100. 2004-09-02 14:23 pbartok
  18101. * AccessibleNavigation.cs, AccessibleSelection.cs:
  18102. - Initial check-in
  18103. 2004-09-02 10:32 jordi
  18104. * Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: implements resource
  18105. pool for pens, brushes, and hatchbruses
  18106. 2004-09-01 15:30 jackson
  18107. * StatusBar.cs: Fix typo
  18108. 2004-09-01 14:44 pbartok
  18109. * RadioButton.cs:
  18110. - Fixed state
  18111. 2004-09-01 14:39 pbartok
  18112. * Button.cs, RadioButton.cs:
  18113. - Functional initial check-in
  18114. 2004-09-01 14:01 pbartok
  18115. * CheckBox.cs:
  18116. - Added missing default
  18117. - Added missing region mark
  18118. 2004-09-01 09:10 jordi
  18119. * Label.cs: fixes method signatures, new methods, events, fixes
  18120. autosize
  18121. 2004-09-01 07:19 jordi
  18122. * Control.cs: Init string variables with an empty object
  18123. 2004-09-01 04:20 jordi
  18124. * Control.cs: fires OnFontChanged event
  18125. 2004-08-31 20:07 pbartok
  18126. * ButtonBase.cs:
  18127. - Enabled display of strings
  18128. 2004-08-31 20:05 pbartok
  18129. * Form.cs:
  18130. - Added (partial) implementation of DialogResult; rest needs to be
  18131. implemented when the modal loop code is done
  18132. 2004-08-31 19:55 pbartok
  18133. * CheckBox.cs:
  18134. - Fixed to match the removal of the needs_redraw concept
  18135. 2004-08-31 19:55 pbartok
  18136. * ButtonBase.cs:
  18137. - Removed the rather odd split between 'needs redraw' and redrawing
  18138. - Now handles the events that require regeneration (ambient
  18139. properties and size)
  18140. 2004-08-31 19:41 pbartok
  18141. * Control.cs:
  18142. - Added firing of BackColorChanged event
  18143. - Added TopLevelControl property
  18144. - Fixed handling of WM_ERASEBKGRND message
  18145. 2004-08-31 12:49 pbartok
  18146. * ButtonBase.cs:
  18147. - Removed debug
  18148. - Minor fixes
  18149. 2004-08-31 12:48 pbartok
  18150. * CheckBox.cs:
  18151. - Finished (famous last words)
  18152. 2004-08-31 04:35 jordi
  18153. * ScrollBar.cs: adds autorepeat timer, uses a single timer, fixes
  18154. scrolling bugs, adds new methods
  18155. 2004-08-30 14:42 pbartok
  18156. * CheckBox.cs:
  18157. - Implemented CheckBox drawing code
  18158. 2004-08-30 14:42 pbartok
  18159. * ButtonBase.cs:
  18160. - Made Redraw() and CheckRedraw() virtual
  18161. - Improved mouse up/down/move logic to properly track buttons
  18162. 2004-08-30 09:44 pbartok
  18163. * CheckBox.cs:
  18164. - Updated to fix broken build. Not complete yet.
  18165. 2004-08-30 09:28 pbartok
  18166. * CheckState.cs:
  18167. - Initial checkin
  18168. 2004-08-30 09:17 pbartok
  18169. * Appearance.cs:
  18170. - Initial check-in
  18171. 2004-08-27 16:12 ravindra
  18172. * ToolBarButton.cs: Added TypeConverter attribute.
  18173. 2004-08-27 16:07 ravindra
  18174. * ImageIndexConverter.cs: Implemented.
  18175. 2004-08-27 14:17 pbartok
  18176. * Control.cs:
  18177. - Removed unneeded stack vars
  18178. - First attempt to fix sizing issues when layout is suspended
  18179. 2004-08-25 15:35 jordi
  18180. * ScrollBar.cs: more fixes to scrollbar
  18181. 2004-08-25 14:04 ravindra
  18182. * Theme.cs, ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs:
  18183. Added the missing divider code and grip for ToolBar Control.
  18184. 2004-08-25 13:20 pbartok
  18185. * Control.cs:
  18186. - Control now properly passes the ambient background color to child
  18187. controls
  18188. 2004-08-25 13:20 jordi
  18189. * ScrollBar.cs: small bug fix regarding bar position
  18190. 2004-08-25 12:33 pbartok
  18191. * Timer.cs:
  18192. - Now only calls SetTimer or KillTimer if the enabled state has
  18193. changed
  18194. 2004-08-25 12:33 pbartok
  18195. * XplatUIWin32.cs:
  18196. - Fixed timer handling, now seems to work
  18197. - Improved error message for window creation
  18198. 2004-08-25 12:32 pbartok
  18199. * Control.cs:
  18200. - Fixed generation of MouseUp message
  18201. 2004-08-25 12:29 jordi
  18202. * ProgressBar.cs, ThemeWin32Classic.cs: new methods, properties,
  18203. and fixes for progressbar
  18204. 2004-08-24 18:43 ravindra
  18205. * ThemeWin32Classic.cs, ToolBar.cs: Fixed wrapping related issues
  18206. in ToolBar control.
  18207. 2004-08-24 17:15 pbartok
  18208. * Panel.cs:
  18209. - Added #region
  18210. - Added missing events
  18211. - Alphabetized
  18212. 2004-08-24 17:14 pbartok
  18213. * StatusBar.cs, PictureBox.cs:
  18214. - Now uses Control's CreateParams
  18215. 2004-08-24 16:36 pbartok
  18216. * XplatUIX11.cs:
  18217. - Fixed background color handling
  18218. - Fixed sending of enter/leave events on a grab
  18219. 2004-08-24 16:35 pbartok
  18220. * X11Structs.cs:
  18221. - Refined definitions for CrossingEvent
  18222. 2004-08-24 12:37 jordi
  18223. * ScrollBar.cs, Theme.cs, ThemeGtk.cs, ThemeWin32Classic.cs: fixes
  18224. formmating, methods signature, and adds missing events
  18225. 2004-08-24 12:24 jordi
  18226. * Control.cs: fire OnEnabledChanged event
  18227. 2004-08-24 11:17 pbartok
  18228. * XplatUIWin32.cs:
  18229. - Implemented SetTimer() and KillTimer()
  18230. 2004-08-24 11:16 pbartok
  18231. * XplatUIX11.cs:
  18232. - Now uses Remove instead of Add to kill the timer
  18233. 2004-08-24 10:16 jackson
  18234. * PictureBox.cs, Theme.cs, ThemeWin32Classic.cs: Handle drawing
  18235. picture boxes in the theme now. Draw picture box borders and obey
  18236. sizing modes
  18237. 2004-08-24 05:49 jackson
  18238. * Timer.cs: Remove top secret debugging code
  18239. 2004-08-24 05:34 jackson
  18240. * PictureBox.cs: Temp hack to make picture boxes draw their full
  18241. image
  18242. 2004-08-24 05:29 jackson
  18243. * Timer.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18244. XplatUIX11.cs: Move timers to the driver level. On X they are
  18245. queued by the driver and checked on idle.
  18246. 2004-08-24 01:07 jackson
  18247. * XplatUIX11.cs: Use a queue for async messages instead of passing
  18248. them as ClientMessages since that was totally broken. Also simply
  18249. check for events and return an idle message if none are found. This
  18250. gives us an idle handler, and prevents deadlocking when no messages
  18251. are in the queue.
  18252. 2004-08-23 18:19 ravindra
  18253. * XplatUIWin32.cs: Removed the unwanted destructor.
  18254. 2004-08-23 17:27 pbartok
  18255. * ButtonBase.cs:
  18256. - Finishing touches. Works now, just needs some optimizations.
  18257. 2004-08-23 16:53 jordi
  18258. * ScrollBar.cs: small fix
  18259. 2004-08-23 16:45 pbartok
  18260. * Application.cs:
  18261. - Removed debug output
  18262. - Simplifications
  18263. 2004-08-23 16:43 jordi
  18264. * ScrollBar.cs: [no log message]
  18265. 2004-08-23 16:10 pbartok
  18266. * Form.cs:
  18267. - Fixed handling of WM_CLOSE message
  18268. - Removed debug output
  18269. 2004-08-23 16:09 pbartok
  18270. * Application.cs:
  18271. - Added handling of Idle event
  18272. - Added handling of form closing
  18273. - Fixed reporting of MessageLoop property
  18274. - Removed some unneeded code, should provide a bit of a speedup
  18275. 2004-08-23 15:22 pbartok
  18276. * Control.cs:
  18277. - Added InitLayout() method
  18278. - Added code to properly perform layout when Anchor or Dock property
  18279. is changed
  18280. - Changed 'interpretation' of ResumeLayout. MS seems to have a
  18281. LAMESPEC, tried to do it in a way that makes sense
  18282. 2004-08-23 14:10 jordi
  18283. * HScrollBar.cs, ScrollBar.cs, TrackBar.cs, VScrollBar.cs: fixes
  18284. properties and methods
  18285. 2004-08-23 13:55 pbartok
  18286. * Control.cs:
  18287. - Properly fixed Jordi's last fix
  18288. - Now uses Cursor's Position property instead of calling XplatUI
  18289. directly
  18290. 2004-08-23 13:44 jordi
  18291. * PaintEventHandler.cs: Adding missing attribute
  18292. 2004-08-23 13:39 pbartok
  18293. * Cursor.cs:
  18294. - Implemented Position property
  18295. 2004-08-23 13:39 pbartok
  18296. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18297. - Added method to move mouse cursor
  18298. 2004-08-23 13:39 pbartok
  18299. * XplatUIX11.cs:
  18300. - Fixed setting of background color
  18301. - Added method to move mouse cursor
  18302. 2004-08-23 13:16 jordi
  18303. * Control.cs: avoids null exception
  18304. 2004-08-22 17:46 jackson
  18305. * PictureBox.cs, PictureBoxSizeMode.cs: Initial implementation of
  18306. PictureBox
  18307. 2004-08-22 17:40 jackson
  18308. * XplatUIX11.cs: Add some missing locks
  18309. 2004-08-22 15:10 pbartok
  18310. * Control.cs, Form.cs:
  18311. - Removed OverlappedWindow style from Control, instead it's default
  18312. now is child
  18313. - Made form windows OverlappedWindow by default
  18314. 2004-08-22 13:34 jackson
  18315. * ScrollBar.cs: Update the position through the Value property so
  18316. the OnValueChanged event is raised.
  18317. 2004-08-22 12:04 pbartok
  18318. * SWF.csproj:
  18319. - Added Cursor.cs and UserControl.cs
  18320. 2004-08-22 12:03 pbartok
  18321. * Cursor.cs:
  18322. - Started implementation, not usable yet
  18323. 2004-08-22 12:00 pbartok
  18324. * UserControl.cs:
  18325. - Implemented UserControl (complete)
  18326. 2004-08-21 19:20 ravindra
  18327. * ToolBar.cs: Correcting the formatting mess of VS.NET.
  18328. 2004-08-21 18:49 ravindra
  18329. * ToolBar.cs: Probably this completes the missing attributes in
  18330. toolbar control.
  18331. 2004-08-21 18:03 ravindra
  18332. * ToolBar.cs, ToolBarButton.cs, ToolBarButtonClickEventArgs.cs:
  18333. Fixed toolbar control signatures.
  18334. 2004-08-21 16:32 pbartok
  18335. * LinkLabel.cs:
  18336. - Signature Fixes
  18337. 2004-08-21 16:30 pbartok
  18338. * Label.cs:
  18339. - Signature fixes
  18340. 2004-08-21 16:19 pbartok
  18341. * Control.cs, Label.cs:
  18342. - Signature fixes
  18343. 2004-08-21 15:57 pbartok
  18344. * ButtonBase.cs:
  18345. - Added loads of debug output for development
  18346. - Fixed typo in method name
  18347. 2004-08-21 15:52 pbartok
  18348. * ToolBarButtonClickEventArgs.cs:
  18349. - Added missing base class
  18350. 2004-08-21 14:53 pbartok
  18351. * Control.cs:
  18352. - Updated to match new GrabWindow signature
  18353. 2004-08-21 14:51 pbartok
  18354. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18355. - Added method to get default display size
  18356. 2004-08-21 14:23 pbartok
  18357. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18358. - Added method to query current grab state
  18359. - Added argument to allow confining a grab to a window
  18360. 2004-08-21 14:22 pbartok
  18361. * Keys.cs:
  18362. - Added [Flags] attribute so that modifiers can be used in bitwise
  18363. ops
  18364. 2004-08-21 14:21 pbartok
  18365. * TrackBar.cs, ScrollBar.cs:
  18366. - Replaced direct XplatUI calls with their Control counterpart
  18367. 2004-08-21 13:32 pbartok
  18368. * Control.cs:
  18369. - Implemented Created property
  18370. 2004-08-21 13:28 pbartok
  18371. * Control.cs:
  18372. - Implemented ContainsFocus
  18373. 2004-08-21 13:26 pbartok
  18374. * Control.cs:
  18375. - Implemented CausesValidation
  18376. 2004-08-21 13:21 pbartok
  18377. * Control.cs:
  18378. - Implemented CanFocus
  18379. - Implemented CanSelect
  18380. - Implemented Capture
  18381. 2004-08-21 12:35 pbartok
  18382. * XplatUIWin32.cs:
  18383. - Fixed bug with Async message handling
  18384. - Implemented getting the ModifierKeys
  18385. 2004-08-21 12:32 jackson
  18386. * AsyncMethodResult.cs: Make sure we have the mutex before we
  18387. release it. Fixes BeginInvoke on windows
  18388. 2004-08-21 11:31 pbartok
  18389. * XplatUIWin32.cs, XplatUIX11.cs:
  18390. - Drivers now return proper mouse state
  18391. 2004-08-21 10:54 jackson
  18392. * Control.cs: Implement EndInvoke
  18393. 2004-08-21 10:48 jackson
  18394. * Timer.cs: Remove unneeded finalizer
  18395. 2004-08-20 19:52 ravindra
  18396. * ThemeWin32Classic.cs, ToolBar.cs, ToolBarButton.cs: Improvments
  18397. in mouse event handling in the ToolBar control.
  18398. 2004-08-20 19:50 ravindra
  18399. * ImageList.cs: Changed draw method to use the arguments passed in
  18400. to draw the image.
  18401. 2004-08-20 18:58 pbartok
  18402. * XplatUIStructs.cs:
  18403. - Added private message for async communication
  18404. 2004-08-20 17:38 ravindra
  18405. * Control.cs: Made RightToLeft property virtual and removed a
  18406. Console.WriteLine.
  18407. 2004-08-20 14:39 jordi
  18408. * ThemeGtk.cs: use style_attach
  18409. 2004-08-20 14:39 pbartok
  18410. * XplatUIWin32.cs:
  18411. - Added jackson's Async code from X11 to Win32
  18412. 2004-08-20 14:09 pbartok
  18413. * SWF.csproj:
  18414. - Added all new files
  18415. 2004-08-20 14:09 pbartok
  18416. * Control.cs:
  18417. - Added call to set window background color
  18418. 2004-08-20 14:03 pbartok
  18419. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  18420. - Added method for setting the window background
  18421. 2004-08-20 14:02 pbartok
  18422. * XplatUIWin32.cs:
  18423. - Added method for setting the background color
  18424. - Added handling for erasing the window background
  18425. 2004-08-20 13:45 jordi
  18426. * TrackBar.cs: fixes timer, new properties and methods
  18427. 2004-08-20 13:34 jackson
  18428. * ScrollBar.cs: Use the SWF timer so callbacks are run in the
  18429. correct thread
  18430. 2004-08-20 13:22 jackson
  18431. * Timer.cs: Timer Tick events are now handed through Controls Async
  18432. mechanism so the callbacks are executed in the same thread as X
  18433. 2004-08-20 13:19 jackson
  18434. * XplatUIDriver.cs: Expose functionality to send async messages
  18435. through the driver
  18436. 2004-08-20 13:18 jackson
  18437. * Control.cs: Implement Begininvoke
  18438. 2004-08-20 13:14 jackson
  18439. * XplatUI.cs, XplatUIWin32.cs: Expose functionality to send async
  18440. messages through the driver
  18441. 2004-08-20 13:12 jackson
  18442. * XplatUIX11.cs: Lock before all X operations. Also added Async
  18443. method functionality through XSendEvent
  18444. 2004-08-20 13:11 jackson
  18445. * X11Structs.cs: Use IntPtrs for ClientMessage extra data (TODO:
  18446. This will screw up on 64 bit systems)
  18447. 2004-08-20 13:10 jackson
  18448. * AsyncMethodData.cs, AsyncMethodResult.cs: Classes for sending
  18449. Async messages through X/Win32
  18450. 2004-08-19 19:39 pbartok
  18451. * XplatUIX11.cs:
  18452. - Updated code to match new HandleData.DeviceContext type
  18453. 2004-08-19 19:38 pbartok
  18454. * HandleData.cs:
  18455. - Made DeviceContext a generic object to allow usage from various
  18456. drivers
  18457. - Added support for queueing Windows messages
  18458. 2004-08-19 19:37 pbartok
  18459. * XplatUIWin32.cs:
  18460. - Added generation of MouseEnter, MouseLeave and MouseHover events
  18461. - Added cleanup on EndPaint
  18462. 2004-08-19 19:17 pbartok
  18463. * Control.cs:
  18464. - Added handling of WM_MOUSEHOVER
  18465. - Worked around 'bug' in Win32 WM_MOUSE_ENTER/WM_MOUSE_LEAVE driver
  18466. code
  18467. 2004-08-19 18:55 jordi
  18468. * ThemeGtk.cs: fixes button order
  18469. 2004-08-19 18:12 jordi
  18470. * Theme.cs, ThemeWin32Classic.cs: fixes methods signature
  18471. 2004-08-19 17:09 pbartok
  18472. * Control.cs:
  18473. - Added Right property
  18474. - Added RightToLeft property
  18475. 2004-08-19 16:27 jordi
  18476. * ThemeGtk.cs: experimental GTK theme support
  18477. 2004-08-19 16:26 jordi
  18478. * ITheme.cs, Theme.cs: move themes from an interface to a class
  18479. 2004-08-19 16:25 jordi
  18480. * Control.cs, ScrollBar.cs, ThemeEngine.cs, ThemeWin32Classic.cs:
  18481. theme enhancaments
  18482. 2004-08-19 16:04 pbartok
  18483. * XplatUIX11.cs:
  18484. - Added colormap basics
  18485. - Added a way to re-initialize with a different display handle
  18486. - Fixed setting of the window background color
  18487. - Added various X11 imports related to colors and colormaps
  18488. 2004-08-19 15:51 pbartok
  18489. * X11Structs.cs:
  18490. - Removed packing hints (Paolo suggested this a while back)
  18491. - fixed colormap type
  18492. - Added default Atom types
  18493. - Added Screen and color structs and enums
  18494. 2004-08-19 15:39 pbartok
  18495. * ImageList.cs:
  18496. - Added missing Draw() method
  18497. - Added missing RecreateHandle event
  18498. 2004-08-19 15:30 pbartok
  18499. * Form.cs:
  18500. - Added handling of WM_CLOSE
  18501. 2004-08-18 13:16 jordi
  18502. * ITheme.cs, ThemeWin32Classic.cs, XplatUIWin32.cs: Move colors to
  18503. a table
  18504. 2004-08-18 09:56 jordi
  18505. * ScrollBar.cs: fixes to scrollbar: steps and multiple timers
  18506. 2004-08-17 15:31 ravindra
  18507. * SWF.csproj: Updated project.
  18508. 2004-08-17 15:25 pbartok
  18509. * Control.cs:
  18510. - Drawing improvement; don't call UpdateBounds if we are not visible
  18511. (or have been minimized)
  18512. 2004-08-17 15:24 pbartok
  18513. * XplatUIWin32.cs:
  18514. - Finished IsVisible
  18515. - Added Win32GetWindowPlacement
  18516. 2004-08-17 15:08 jackson
  18517. * Panel.cs: Initial checkin of the Panel
  18518. 2004-08-17 14:25 pbartok
  18519. * Control.cs:
  18520. - Fixed broken handling of default window sizes
  18521. 2004-08-17 13:29 jackson
  18522. * ThemeWin32Classic.cs: Don't use KnownColor to create colours. It
  18523. has a large startup time.
  18524. 2004-08-17 10:25 jackson
  18525. * HandleData.cs: union areas properly
  18526. 2004-08-17 10:12 jackson
  18527. * HandleData.cs: union areas properly
  18528. 2004-08-16 20:00 ravindra
  18529. * ToolBar.cs, ToolBarButton.cs: Added attributes.
  18530. 2004-08-16 18:48 ravindra
  18531. * ToolBar.cs: Added attributes.
  18532. 2004-08-16 17:17 ravindra
  18533. * SWF.csproj: Updated project.
  18534. 2004-08-16 17:16 jackson
  18535. * XplatUIX11.cs: Check for more expose events before sending a
  18536. WM_PAINT so they can all be grouped together. This makes dragging a
  18537. window across another window redraw in a sane way.
  18538. 2004-08-16 15:47 pbartok
  18539. * Control.cs:
  18540. - Added handling of WM_MOUSE_ENTER & WM_MOUSE_LEAVE to
  18541. support OnMouseEnter/Leave()
  18542. - Added WS_CLIPSIBLINGS and WS_CLIPCHILDREN window styles to improve
  18543. exposure handling
  18544. 2004-08-16 15:46 pbartok
  18545. * XplatUIStructs.cs, XplatUIX11.cs:
  18546. - Added WM_MOUSE_ENTER & WM_MOUSE_LEAVE to support
  18547. OnMouseEnter/Leave()
  18548. 2004-08-16 15:34 jackson
  18549. * XplatUIX11.cs: Group multiple expose events in HandleData, make
  18550. sure messages get the message field set to WM_NULL if they are not
  18551. handled.
  18552. 2004-08-16 15:24 jackson
  18553. * HandleData.cs: HandleData is used for storing message information
  18554. for window handles
  18555. 2004-08-15 17:23 ravindra
  18556. * ColorDepth.cs: Added attribute.
  18557. 2004-08-15 17:23 ravindra
  18558. * SWF.csproj: Updated project for ToolBar Control.
  18559. 2004-08-15 17:20 ravindra
  18560. * ITheme.cs, ThemeWin32Classic.cs: Changes to Theme for ToolBar
  18561. control and also dos2unix format.
  18562. 2004-08-15 17:13 ravindra
  18563. * ToolBar.cs, ToolBarAppearance.cs, ToolBarButton.cs,
  18564. ToolBarButtonClickEventArgs.cs,
  18565. ToolBarButtonClickEventHandler.cs, ToolBarButtonStyle.cs,
  18566. ToolBarTextAlign.cs: First Implementation of ToolBar control.
  18567. 2004-08-15 15:31 pbartok
  18568. * ButtonBase.cs:
  18569. - First (mostly) working version
  18570. 2004-08-13 16:15 pbartok
  18571. * Control.cs:
  18572. - Fixed Anchor default
  18573. 2004-08-13 15:43 pbartok
  18574. * Control.cs:
  18575. - Changed GetCursorPos signature
  18576. 2004-08-13 15:42 pbartok
  18577. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs:
  18578. - Changed signature for GetCursorPos
  18579. 2004-08-13 15:25 pbartok
  18580. * XplatUIX11.cs:
  18581. - Cleanup
  18582. - Fixed resizing/exposure handling
  18583. 2004-08-13 15:22 jordi
  18584. * ThemeWin32Classic.cs: removes redundant code and fixes issues
  18585. with tickposition
  18586. 2004-08-13 14:55 jordi
  18587. * TrackBar.cs: change from wndproc to events
  18588. 2004-08-13 13:00 jordi
  18589. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18590. XplatUIX11.cs: implements PointToClient (ScreenToClient)
  18591. 2004-08-13 12:53 pbartok
  18592. * XplatUIWin32.cs:
  18593. - Changed GetWindowPos to also provide client area size
  18594. - Fixed broken prototypes for several win32 functions
  18595. 2004-08-13 12:53 pbartok
  18596. * XplatUI.cs, XplatUIDriver.cs:
  18597. - Changed GetWindowPos to also provide client area size
  18598. 2004-08-13 12:52 pbartok
  18599. * XplatUIX11.cs:
  18600. - Added generation of WM_POSCHANGED
  18601. - Changed GetWindowPos to also provide client area size
  18602. 2004-08-13 12:52 pbartok
  18603. * Control.cs:
  18604. - Added Dispose() and destructor
  18605. - Fixed resizing and bounds calculation
  18606. - Fixed Layout
  18607. - Added memory savings for invisible windows
  18608. 2004-08-13 12:46 jordi
  18609. * TrackBar.cs: adds timer and grap window
  18610. 2004-08-13 10:25 jackson
  18611. * Timer.cs: SWF Timer
  18612. 2004-08-12 16:59 pbartok
  18613. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18614. - Implemented method to get current mouse position
  18615. 2004-08-12 14:29 jordi
  18616. * ITheme.cs, ThemeWin32Classic.cs, TrackBar.cs: Trackbar
  18617. enhancement, fix mouse problems, highli thumb, etc
  18618. 2004-08-12 13:31 pbartok
  18619. * Control.cs:
  18620. - Fixed Anchoring bugs
  18621. 2004-08-12 13:01 jackson
  18622. * StatusBar.cs: Don't forget things
  18623. 2004-08-12 12:54 jackson
  18624. * ThemeWin32Classic.cs: Handle owner draw status bars
  18625. 2004-08-12 12:54 jackson
  18626. * StatusBar.cs: Implement missing properties, events, and methods.
  18627. Handle mouse clicking
  18628. 2004-08-12 10:19 jackson
  18629. * StatusBarPanelClickEventArgs.cs,
  18630. StatusBarPanelClickEventHandler.cs: Classes for handling status
  18631. bar panel click events
  18632. 2004-08-12 10:10 jackson
  18633. * Control.cs: Add missing properties
  18634. 2004-08-12 09:46 pbartok
  18635. * BindingsManagerBase.cs:
  18636. - Name changed to BindingManagerBase.cs
  18637. 2004-08-12 09:25 jordi
  18638. * ScrollableControl.cs: calls ctrlbase instead of exeception
  18639. 2004-08-11 16:28 pbartok
  18640. * InputLanguageChangingEventArgs.cs:
  18641. - Never check in before compiling. Fixes the last check-in
  18642. 2004-08-11 16:26 pbartok
  18643. * InputLanguageChangingEventArgs.cs:
  18644. - More signature fixes
  18645. 2004-08-11 16:20 pbartok
  18646. * BindingManagerBase.cs, BindingMemberInfo.cs, ContainerControl.cs,
  18647. Control.cs, ControlEventArgs.cs, ControlPaint.cs, Form.cs,
  18648. ImageListStreamer.cs, InputLanguage.cs,
  18649. InputLanguageChangedEventArgs.cs,
  18650. InputLanguageChangingEventArgs.cs, Keys.cs, LayoutEventArgs.cs,
  18651. LinkArea.cs, Message.cs, MouseEventArgs.cs, NativeWindow.cs,
  18652. ScrollEventArgs.cs, ScrollableControl.cs, XplatUI.cs,
  18653. XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18654. - Signature fixes
  18655. 2004-08-11 16:16 pbartok
  18656. * Application.cs:
  18657. - Fixed Signature
  18658. - Added .Net 1.1 method
  18659. 2004-08-11 15:25 pbartok
  18660. * SWF.csproj:
  18661. - Fixed BindingManagerBase.cs filename
  18662. 2004-08-11 15:22 pbartok
  18663. * BindingManagerBase.cs:
  18664. - Was checked in with wrong filename
  18665. 2004-08-11 14:50 pbartok
  18666. * SWF.csproj:
  18667. - Updated
  18668. 2004-08-11 13:41 jordi
  18669. * XplatUIWin32.cs: Fixes ClientRect
  18670. 2004-08-11 13:19 pbartok
  18671. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18672. XplatUIX11.cs:
  18673. - We had SetWindowPos and MoveWindow to set window positions and
  18674. size, removed MoveWindow. We have GetWindowPos, so it made sense to
  18675. keep SetWindowPos as matching counterpart
  18676. - Added some X11 sanity checking
  18677. 2004-08-11 12:59 pbartok
  18678. * Control.cs:
  18679. - Major cleanup of my SetBounds/SetBoundsCore/UpdateBounds mess
  18680. (It seems that SetBounds is just a front for SetBoundsCore and
  18681. SetBoundsCore updates the underlying window system and
  18682. UpdateBounds is responsible for updating the variables associated
  18683. with the Control and sending the events)
  18684. - Major cleanup of Size handling; we now have two sizes, client_size
  18685. and bounds. Bounds defines the window with decorations, client_size
  18686. without them.
  18687. 2004-08-11 12:55 pbartok
  18688. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18689. - Added method to calculate difference between decorated window and
  18690. raw client area
  18691. 2004-08-11 12:54 pbartok
  18692. * Label.cs:
  18693. - Forcing redraw on resize
  18694. 2004-08-11 11:43 pbartok
  18695. * ImageList.cs:
  18696. - Removed disposing of the actual images when the list is disposed
  18697. 2004-08-11 09:13 pbartok
  18698. * Control.cs:
  18699. - Now properly reparents windows
  18700. 2004-08-11 08:37 pbartok
  18701. * Control.cs:
  18702. - Duh!
  18703. 2004-08-11 07:47 pbartok
  18704. * Control.cs:
  18705. - Rewrote the collection stuff. Might not be as fast now, not
  18706. keeping the number of children around and accessible directly, but
  18707. it's more straightforward
  18708. 2004-08-11 07:44 pbartok
  18709. * AccessibleObject.cs:
  18710. - Fixed to match ControlCollection rewrite
  18711. 2004-08-11 07:43 pbartok
  18712. * ImageList.cs:
  18713. - Added missing creation of the collection list
  18714. 2004-08-10 20:08 jackson
  18715. * StatusBar.cs: Get the paint message from WndProc
  18716. 2004-08-10 19:31 jackson
  18717. * ThemeWin32Classic.cs: Create Brushes as little as possible
  18718. 2004-08-10 19:20 jackson
  18719. * UICues.cs: Add Flags attribute
  18720. 2004-08-10 19:19 jackson
  18721. * StatusBarPanel.cs: Signature cleanup
  18722. 2004-08-10 19:10 jackson
  18723. * StatusBarDrawItemEventArgs.cs, StatusBarDrawItemEventHandler.cs:
  18724. Initial implementation of status bar item drawing
  18725. 2004-08-10 17:27 jordi
  18726. * TrackBar.cs: add missing methods, properties, and restructure to
  18727. hide extra ones
  18728. 2004-08-10 16:24 jackson
  18729. * AccessibleStates.cs, Border3DSide.cs, Border3DStyle.cs,
  18730. ButtonState.cs, ControlStyles.cs, DragDropEffects.cs: Add flags
  18731. attribute
  18732. 2004-08-10 13:21 jordi
  18733. * ITheme.cs, ScrollBar.cs, ThemeWin32Classic.cs: scrollbar
  18734. enhancements and standarize on win colors defaults
  18735. 2004-08-10 12:52 jackson
  18736. * DrawItemEventArgs.cs, DrawItemState.cs, ITheme.cs,
  18737. ThemeWin32Classic.cs: Implement DrawItem functionality
  18738. 2004-08-10 12:47 jordi
  18739. * XplatUIWin32.cs: Calls InvalidateRect before UpdateWindow
  18740. 2004-08-10 12:32 jordi
  18741. * Control.cs: throw ontextchange event
  18742. 2004-08-10 11:43 pbartok
  18743. * Control.cs:
  18744. - Added more to the still unfinished Dock/Anchor layout code
  18745. 2004-08-10 11:39 pbartok
  18746. * XplatUI.cs, XplatUIDriver.cs, XplatUIX11.cs:
  18747. - Added GetWindowPos method
  18748. 2004-08-10 11:36 pbartok
  18749. * XplatUIWin32.cs:
  18750. - Implemented several methods
  18751. 2004-08-10 09:47 jackson
  18752. * TrackBar.cs: Allow control to handle buffering
  18753. 2004-08-10 09:41 jackson
  18754. * ProgressBar.cs, ScrollBar.cs: Allow control to handle buffering
  18755. 2004-08-10 09:24 jackson
  18756. * Label.cs, LinkLabel.cs: Let Control handle buffering.
  18757. 2004-08-10 09:09 jackson
  18758. * StatusBar.cs: Let Control handle all the buffering.
  18759. 2004-08-10 09:08 jackson
  18760. * Control.cs: Control will now handle the buffering code, so each
  18761. control does not have to implement this.
  18762. 2004-08-10 08:34 jackson
  18763. * XplatUIDriver.cs: Use default colors from the theme
  18764. 2004-08-09 17:12 pbartok
  18765. * ImageList.cs:
  18766. - Fixed several bugs Ravindra pointed out
  18767. 2004-08-09 16:11 pbartok
  18768. * Control.cs:
  18769. - Added incomplete dock layout code
  18770. - Added support for mouse wheel
  18771. 2004-08-09 16:09 pbartok
  18772. * XplatUIX11.cs:
  18773. - Added handling for middle and right mousebutton
  18774. - Added handling for mouse wheel
  18775. - Added handling for key state and mouse state and position
  18776. - Now properly generates WM_xBUTTONx messages and WM_MOUSEWHEEL
  18777. messages
  18778. 2004-08-09 15:40 jackson
  18779. * StatusBarPanel.cs, StatusBarPanelAutoSize.cs,
  18780. StatusBarPanelBorderStyle.cs, StatusBarPanelStyle.cs: Initial
  18781. checkin
  18782. 2004-08-09 15:37 jackson
  18783. * StatusBar.cs: Initial implementation of StatusBar
  18784. 2004-08-09 15:36 jackson
  18785. * ITheme.cs: Add support for drawing status bar and getting status
  18786. bar item sizes
  18787. 2004-08-09 15:35 pbartok
  18788. * MouseButtons.cs:
  18789. - Fixed values
  18790. 2004-08-09 15:34 jackson
  18791. * ThemeWin32Classic.cs: Add support for drawing status bar and get
  18792. status bar item sizes
  18793. 2004-08-09 15:21 jackson
  18794. * ThemeWin32Classic.cs: Use known colors for default control
  18795. colours
  18796. 2004-08-09 15:12 jackson
  18797. * ThemeWin32Classic.cs: Make the default font static, it is static
  18798. in control so this doesn't change functionality and creating fonts
  18799. is sloooooow.
  18800. 2004-08-09 14:56 pbartok
  18801. * X11Structs.cs:
  18802. - Added GrabMode enum
  18803. 2004-08-09 14:55 pbartok
  18804. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18805. - Removed Run method, was only required for initial development
  18806. 2004-08-09 14:51 pbartok
  18807. * XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs, XplatUIX11.cs:
  18808. - Implemented GrabWindow/ReleaseWindow methods to allow pointer
  18809. capture
  18810. 2004-08-09 13:48 pbartok
  18811. * XplatUIX11.cs:
  18812. - Fixed default sizing for child windows
  18813. 2004-08-09 12:56 pbartok
  18814. * XplatUIX11.cs:
  18815. - Added generation of WM_DESTROY message
  18816. - Added handling of window manager induced shutdown
  18817. 2004-08-09 11:31 jackson
  18818. * ThemeWin32Classic.cs: New names for control properties
  18819. 2004-08-09 11:25 jackson
  18820. * Control.cs: Use new color names
  18821. 2004-08-09 11:02 jackson
  18822. * XplatUI.cs: Get default window properties from the theme
  18823. 2004-08-09 11:01 jackson
  18824. * ITheme.cs: The theme engine now controls default window
  18825. properties
  18826. 2004-08-09 11:00 jackson
  18827. * ThemeWin32Classic.cs: Add default window color properties
  18828. 2004-08-09 10:17 jackson
  18829. * ThemeWin32Classic.cs: Use correct default back color
  18830. 2004-08-09 10:05 jackson
  18831. * XplatUIWin32.cs, XplatUIX11.cs: These properties are handled by
  18832. the theme now.
  18833. 2004-08-09 09:56 jackson
  18834. * XplatUI.cs: Remove defaults, these are handled by the theme now.
  18835. 2004-08-09 09:54 jackson
  18836. * Control.cs: Get default properties from the theme.
  18837. 2004-08-09 09:53 jackson
  18838. * ITheme.cs: Themes now handle default control properties
  18839. 2004-08-09 09:53 jackson
  18840. * ThemeWin32Classic.cs: Themes now handle default control
  18841. properties so coloring will be consistent
  18842. 2004-08-08 16:54 jordi
  18843. * ITheme.cs, ThemeWin32Classic.cs: Label BorderStyles
  18844. 2004-08-08 15:08 jordi
  18845. * XplatUIX11.cs: fixes keyboard crash
  18846. 2004-08-08 13:47 jordi
  18847. * Label.cs: add cvs header info
  18848. 2004-08-08 12:09 jackson
  18849. * ThemeWin32Classic.cs: Add pen_buttonface
  18850. 2004-08-08 11:52 jordi
  18851. * Label.cs, LinkLabel.cs: [no log message]
  18852. 2004-08-08 11:34 jordi
  18853. * ThemeWin32Classic.cs: Use Windows Standard Colours
  18854. 2004-08-07 17:32 jordi
  18855. * TrackBar.cs: throw exceptions of invalid enums values
  18856. 2004-08-07 17:31 jordi
  18857. * Label.cs, LinkLabel.cs, ThemeWin32Classic.cs: fixes label bug and
  18858. draw method name
  18859. 2004-08-07 16:56 jackson
  18860. * HorizontalAlignment.cs: Initial checkin
  18861. 2004-08-07 13:16 jordi
  18862. * Label.cs, LinkLabel.cs: throw exceptions, fixes events, missing
  18863. methods
  18864. 2004-08-07 13:05 jordi
  18865. * ITheme.cs, ThemeWin32Classic.cs: Theme colour support and
  18866. GetSysColor defines
  18867. 2004-08-06 18:01 pbartok
  18868. * ThemeWin32Classic.cs:
  18869. - Fixed some rounding issues with float/int
  18870. 2004-08-06 18:00 jackson
  18871. * DockStyle.cs, AnchorStyles.cs:
  18872. Add flags and serializable attributes.
  18873. 2004-08-06 17:46 pbartok
  18874. * XplatUIX11.cs:
  18875. - Implemented GetParent
  18876. 2004-08-06 17:18 pbartok
  18877. * TrackBar.cs:
  18878. - Fixed some rounding issues with float/int
  18879. 2004-08-06 17:17 pbartok
  18880. * X11Structs.cs, XplatUIX11.cs:
  18881. - Fixed Refresh and Invalidate
  18882. 2004-08-06 15:30 pbartok
  18883. * Control.cs, X11Structs.cs, XplatUIX11.cs:
  18884. - Fixed recursive loop when resizing
  18885. - Improved/fixed redrawing on expose messages
  18886. 2004-08-06 09:53 jordi
  18887. * Control.cs, X11Structs.cs, XplatUIWin32.cs, XplatUIX11.cs: X11
  18888. keyboard navigation
  18889. 2004-08-06 08:02 pbartok
  18890. * X11Structs.cs, XplatUIX11.cs:
  18891. - Fixed reparenting
  18892. - Fixed window border creation
  18893. 2004-08-05 15:38 pbartok
  18894. * XplatUIX11.cs:
  18895. - Attempted fix for reparenting problems
  18896. 2004-08-04 15:14 pbartok
  18897. * Control.cs:
  18898. - Fixed Invalidation bug (calculated wrong client area)
  18899. - Added ClientSize setter
  18900. 2004-08-04 15:13 pbartok
  18901. * Form.cs:
  18902. - Added AutoScale properties
  18903. 2004-08-04 15:13 pbartok
  18904. * SWF.csproj:
  18905. - Added latest files
  18906. 2004-08-04 14:11 pbartok
  18907. * Control.cs, XplatUI.cs, XplatUIDriver.cs, XplatUIWin32.cs,
  18908. XplatUIX11.cs:
  18909. - Added Invalidate handling
  18910. 2004-08-03 17:09 jordi
  18911. * XplatUIDriver.cs: fixes spelling mistake
  18912. 2004-07-27 09:53 jordi
  18913. * TrackBar.cs: fixes trackbar events, def classname, methods
  18914. signature
  18915. 2004-07-27 09:29 jordi
  18916. * ScrollBar.cs: fixes scrollbar events
  18917. 2004-07-27 04:38 jordi
  18918. * Control.cs: changes to be able to run winforms samples
  18919. 2004-07-26 11:42 jordi
  18920. * ControlPaint.cs, ITheme.cs, ProgressBar.cs, ScrollBar.cs,
  18921. ThemeEngine.cs, ThemeWin32Classic.cs, TrackBar.cs: Theme support
  18922. 2004-07-26 05:41 jordi
  18923. * MessageBox.cs, MessageBoxButtons.cs, MessageBoxDefaultButton.cs,
  18924. MessageBoxIcon.cs, MessageBoxOptions.cs: initial messagebox
  18925. implementation
  18926. 2004-07-22 09:22 jordi
  18927. * LinkLabel.cs, LinkLabelLinkClickedEventHandler.cs: link label:
  18928. check link overlapping, implement events, and fixes
  18929. 2004-07-21 10:28 jordi
  18930. * DialogResult.cs, IButtonControl.cs: fixes comments filenames
  18931. 2004-07-21 10:19 jordi
  18932. * DialogResult.cs, IButtonControl.cs, Label.cs, LinkArea.cs,
  18933. LinkBehavior.cs, LinkClickedEventArgs.cs, LinkLabel.cs,
  18934. LinkLabelLinkClickedEventArgs.cs,
  18935. LinkLabelLinkClickedEventHandler.cs, LinkState.cs,
  18936. XplatUIWin32.cs, LinkClickedEventHandler.cs: LinkLabel control
  18937. implementation
  18938. 2004-07-19 13:09 jordi
  18939. * Control.cs, Label.cs: label control re-written: added missing
  18940. functionlity, events, and properties
  18941. 2004-07-19 10:49 jordi
  18942. * Control.cs: fixes SetBounds logic
  18943. 2004-07-19 01:29 jordi
  18944. * Control.cs: Call RefreshWindow only if the window has created
  18945. 2004-07-15 14:05 pbartok
  18946. * ColorDepth.cs, ImageList.cs, ImageListStreamer.cs, SWF.csproj:
  18947. - Implemented ImageList and ImageList.ImageCollection classes
  18948. - Added ColorDepth enumeration
  18949. - Updated SWF VS.Net project
  18950. 2004-07-15 11:06 jordi
  18951. * XplatUIStructs.cs: added MsgButons enum
  18952. 2004-07-15 11:03 jordi
  18953. * Control.cs: added basic mouse handeling events
  18954. 2004-07-15 03:38 jordi
  18955. * Orientation.cs, TickStyle.cs, TrackBar.cs: Horizontal and
  18956. Vertical TrackBar control implementation
  18957. 2004-07-13 09:33 jordi
  18958. * HScrollBar.cs, VScrollBar.cs: vertical and hort. classes commit
  18959. 2004-07-13 09:31 jordi
  18960. * Control.cs, Form.cs: commit: new properties and fixes form size
  18961. problems
  18962. 2004-07-09 14:13 miguel
  18963. * ProgressBar.cs: Spelling
  18964. 2004-07-09 11:25 pbartok
  18965. * ProgressBar.cs:
  18966. - Removed usage of Rectangle for drawing. Miguel pointed out it's
  18967. faster
  18968. 2004-07-09 11:17 miguel
  18969. * ProgressBar.cs: 2004-07-09 Miguel de Icaza <[email protected]>
  18970. * ProgressBar.cs: Fixed spelling for `block'
  18971. drawProgressBar: renamed to `DrawProgressBar' to follow the coding
  18972. style guidelines.
  18973. Avoid using the += on rect.X, that exposed a bug in the compiler.
  18974. 2004-07-08 23:21 pbartok
  18975. * AccessibleObject.cs, AccessibleRole.cs, AccessibleStates.cs,
  18976. AnchorStyles.cs, Application.cs, ApplicationContext.cs,
  18977. BaseCollection.cs, Binding.cs, BindingContext.cs,
  18978. BindingMemberInfo.cs, BindingsCollection.cs,
  18979. BindingsManagerBase.cs, Border3DSide.cs, Border3DStyle.cs,
  18980. BorderStyle.cs, BoundsSpecified.cs, ButtonBorderStyle.cs,
  18981. ButtonState.cs, CaptionButton.cs, CheckBox.cs,
  18982. ContainerControl.cs, Control.cs, ControlEventArgs.cs,
  18983. ControlEventHandler.cs, ControlPaint.cs, ControlStyles.cs,
  18984. ConvertEventArgs.cs, ConvertEventHandler.cs, Copyright,
  18985. CreateParams.cs, DockStyle.cs, DragAction.cs, DragDropEffects.cs,
  18986. DragEventArgs.cs, DragEventHandler.cs, FlatStyle.cs, Form.cs,
  18987. FrameStyle.cs, GiveFeedbackEventArgs.cs,
  18988. GiveFeedbackEventHandler.cs, HelpEventArgs.cs,
  18989. HelpEventHandler.cs, IContainerControl.cs, IDataObject.cs,
  18990. IMessageFilter.cs, IWin32Window.cs, ImeMode.cs, InputLanguage.cs,
  18991. InputLanguageChangedEventArgs.cs,
  18992. InputLanguageChangedEventHandler.cs,
  18993. InputLanguageChangingEventArgs.cs,
  18994. InputLanguageChangingEventHandler.cs, InputLanguageCollection.cs,
  18995. InvalidateEventArgs.cs, InvalidateEventHandler.cs,
  18996. KeyEventArgs.cs, KeyEventHandler.cs, KeyPressEventArgs.cs,
  18997. KeyPressEventHandler.cs, Keys.cs, Label.cs, LayoutEventArgs.cs,
  18998. LayoutEventHandler.cs, MenuGlyph.cs, Message.cs, MouseButtons.cs,
  18999. MouseEventArgs.cs, MouseEventHandler.cs, NativeWindow.cs,
  19000. PaintEventArgs.cs, PaintEventHandler.cs, ProgressBar.cs,
  19001. QueryAccessibilityHelpEventArgs.cs,
  19002. QueryAccessibilityHelpEventHandler.cs,
  19003. QueryContinueDragEventArgs.cs, QueryContinueDragEventHandler.cs,
  19004. RightToLeft.cs, SWF.csproj, SWF.csproj.user, ScrollBar.cs,
  19005. ScrollBars.cs, ScrollButton.cs, ScrollEventArgs.cs,
  19006. ScrollEventHandler.cs, ScrollEventType.cs, ScrollableControl.cs,
  19007. TODO, TODOAttribute.cs, UICues.cs, UICuesEventArgs.cs,
  19008. UICuesEventHandler.cs, X11Structs.cs, XplatUI.cs,
  19009. XplatUIDriver.cs, XplatUIStructs.cs, XplatUIWin32.cs,
  19010. XplatUIX11.cs, lang.cs:
  19011. - Initial check-in